* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  font-family: 'Outfit', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: calc(1.575rem + 2.1vw); }
h2 { font-size: calc(1.425rem + 1.1vw); }
h3 { font-size: calc(1.375rem + .8vw); }
h4 { font-size: calc(1.3rem + .6vw); }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  display: inline-block;
  transition: color .2s ease-in-out, opacity .2s ease-in-out;
  color: var(--primary-color);
}

a:hover {
  opacity: .8;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

input, button, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Display Utilities */
.display-2 {
  font-size: calc(1.625rem + 3.6vw);
  font-weight: 700;
  line-height: 1.15;
}

.display-3 {
  font-size: calc(1.575rem + 3vw);
  font-weight: 600;
  line-height: 1.15;
}

.display-4 {
  font-size: calc(1.475rem + 2.1vw);
  font-weight: 600;
  line-height: 1.2;
}

.display-5 {
  font-size: calc(1.425rem + 1.8vw);
  font-weight: 600;
  line-height: 1.2;
}

.display-6 {
  font-size: calc(1.325rem + .9vw);
  font-weight: 600;
  line-height: 1.2;
}

/* Container */
.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Forms */
.form-label {
  margin-bottom: .75rem;
  display: inline-block;
}

.form-control {
  display: block;
  width: 100%;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  background-color: white;
  border: 1px solid #cbd5e1;
  border-radius: .75rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.3rem rgba(99, 102, 241, 0.2);
}

.form-select {
  display: block;
  width: 100%;
  padding: .925rem 3.75rem .925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  background-color: white;
  border: 1px solid #cbd5e1;
  border-radius: .75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.375rem center;
  background-size: 16px 12px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-select:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.3rem rgba(99, 102, 241, 0.2);
}

.form-check {
  display: block;
  min-height: 1.75rem;
  padding-left: 0;
  margin-bottom: 0;
}

.form-check-input {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0;
  margin-right: .75rem;
  vertical-align: top;
  background-color: white;
  border: 1px solid #cbd5e1;
  appearance: none;
  border-radius: .375rem;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  cursor: pointer;
}

textarea.form-control {
  min-height: calc(1.3em + 1.85rem);
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  border-radius: .75rem;
  transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.btn-action-1 {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-action-1:hover {
  background-color: #5558e3;
  border-color: #5558e3;
  color: white;
  opacity: 1;
}

.btn-outline-light {
  color: white;
  border-color: white;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  opacity: 1;
}

.btn-outline-dark {
  color: var(--text-color);
  border-color: var(--text-color);
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--text-color);
  color: white;
  opacity: 1;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.btn-light:hover {
  background-color: #f1f5f9;
  border-color: #f1f5f9;
  color: var(--primary-color);
  opacity: 1;
}

.btn-lg {
  padding: 1.125rem 1.75rem;
  font-size: 1.125rem;
  border-radius: .875rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: .45em .8em;
  font-size: .875em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .5rem;
}

.bg-action-1 {
  background-color: var(--primary-color);
}

/* Navigation */
.nav-link {
  display: block;
  padding: .75rem 1.25rem;
  transition: color .2s ease-in-out;
  color: var(--text-color);
  font-weight: 400;
}

.nav-link:hover {
  color: var(--primary-color);
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: .875rem;
  padding-bottom: .875rem;
}

.navbar > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: .5rem;
  padding-bottom: .5rem;
  margin-right: 1.25rem;
  font-size: 1.4rem;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text-color);
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: .375rem .875rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .75rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.collapse:not(.show) {
  display: none;
}

/* Utilities */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-stretch { align-items: stretch !important; }
.gap-3 { gap: .875rem !important; }
.gap-4 { gap: 1.25rem !important; }

/* Margins */
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: .375rem !important; }
.mt-3 { margin-top: .875rem !important; }
.mt-4 { margin-top: 1.25rem !important; }
.mt-5 { margin-top: 1.5rem !important; }
.mt-6 { margin-top: 1.75rem !important; }
.mt-9 { margin-top: 2.5rem !important; }
.mt-auto { margin-top: auto !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .75rem !important; }
.mb-3 { margin-bottom: .875rem !important; }
.mb-4 { margin-bottom: 1.25rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-9 { margin-bottom: 2.5rem !important; }
.mb-11 { margin-bottom: 3.25rem !important; }
.mb-12 { margin-bottom: 3.5rem !important; }
.mb-13 { margin-bottom: 3.75rem !important; }
.mb-16 { margin-bottom: 4.5rem !important; }
.ms-auto { margin-left: auto !important; }
.ms-2 { margin-left: .75rem !important; }
.me-2 { margin-right: .75rem !important; }
.me-3 { margin-right: .875rem !important; }
.me-4 { margin-right: 1.25rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-6 { margin-top: 1.75rem !important; margin-bottom: 1.75rem !important; }
.my-7 { margin-top: 2rem !important; margin-bottom: 2rem !important; }

/* Padding */
.p-4 { padding: 1.25rem !important; }
.p-5 { padding: 1.5rem !important; }
.p-6 { padding: 1.75rem !important; }
.p-7 { padding: 2rem !important; }
.p-8 { padding: 2.25rem !important; }
.p-11 { padding: 3.25rem !important; }
.py-3 { padding-top: .875rem !important; padding-bottom: .875rem !important; }
.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.py-10 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.py-11 { padding-top: 3.25rem !important; padding-bottom: 3.25rem !important; }
.px-3 { padding-left: .875rem !important; padding-right: .875rem !important; }
.px-4 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-5 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-6 { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }
.px-7 { padding-left: 2rem !important; padding-right: 2rem !important; }
.pt-5 { padding-top: 1.5rem !important; }
.ps-11 { padding-left: 3.25rem !important; }

/* Font Sizes */
.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }
.fs-4 { font-size: 1.1875rem !important; }
.fs-5 { font-size: 1.125rem !important; }
.small { font-size: .9375rem !important; }

.fw-bold { font-weight: 600 !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.text-white { color: white !important; }
.text-dark { color: var(--text-color) !important; }
.text-muted { color: #64748b !important; }
.text-action-1 { color: var(--primary-color) !important; }

.opacity-75 { opacity: .75 !important; }
.opacity-90 { opacity: .9 !important; }
.opacity-95 { opacity: .95 !important; }
.opacity-25 { opacity: .25 !important; }

.rounded { border-radius: .5rem !important; }
.rounded-2 { border-radius: .75rem !important; }
.rounded-3 { border-radius: .875rem !important; }
.rounded-pill { border-radius: 50rem !important; }
.rounded-circle { border-radius: 50% !important; }

.shadow { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important; }

.border { border: 1px solid #e2e8f0 !important; }
.border-2 { border-width: 2px !important; }
.border-5 { border-width: 5px !important; }
.border-top { border-top: 1px solid #e2e8f0 !important; }
.border-bottom { border-bottom: 1px solid #e2e8f0 !important; }
.border-start { border-left: 1px solid #e2e8f0 !important; }
.border-action-1 { border-color: var(--primary-color) !important; }

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Color Variables */
:root {
  --primary-color: #6366f1;
  --secondary-color: #e2e8f0;
  --accent-color: #8b5cf6;
  --text-color: #1e293b;
  --bg-color: #f8fafc;
  --bg-secondary: #f1f5f9;
}

/* Background Colors */
.bg-white { background-color: white !important; }
.bg-dark { background-color: #1e293b !important; }
.bg-bg-2 { background-color: var(--bg-secondary) !important; }
.bg-bg-3 { background-color: var(--bg-color) !important; }
.bg-gradient { background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important; }
.bg-opacity-10 { --bs-bg-opacity: 0.1; }
.bg-opacity-25 { --bs-bg-opacity: 0.25; }

/* Responsive Breakpoints */
@media (min-width: 576px) {
  .container { max-width: 560px; }
}

@media (min-width: 768px) {
  .container { max-width: 740px; }
  .col-md-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  .flex-md-row { flex-direction: row !important; }
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .p-md-8 { padding: 2.25rem !important; }
  .p-md-11 { padding: 3.25rem !important; }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .75rem;
    padding-left: .75rem;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-13 { margin-bottom: 3.75rem !important; }
  .py-lg-15 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .py-lg-20 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .py-lg-21 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
  .ps-lg-11 { padding-left: 3.25rem !important; }
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
}

@media (min-width: 1200px) {
  .container { max-width: 1160px; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  h1 { font-size: 3.375rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.875rem; }
  h4 { font-size: 1.625rem; }
  .display-2 { font-size: 4.5rem; }
  .display-3 { font-size: 3.875rem; }
  .display-4 { font-size: 3rem; }
  .display-5 { font-size: 2.625rem; }
  .display-6 { font-size: 2rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.33333333%; }
}

/* Custom Components */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.btn:active,
.btn:focus {
  outline: none;
  box-shadow: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: var(--primary-color);
  color: white;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Mobile Optimizations */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .display-2 {
    font-size: calc(1.525rem + 2.4vw) !important;
  }
  
  .display-3 {
    font-size: calc(1.475rem + 2.1vw) !important;
  }
  
  .py-10 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .py-11 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .p-8, .p-md-8 {
    padding: 1.75rem !important;
  }
  
  .p-11, .p-md-11 {
    padding: 2.5rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  footer,
  #cookieBanner {
    display: none !important;
  }
}

/* Cookie Banner Styles */
#cookieBanner {
  z-index: 999999 !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background-color: #1e293b !important;
}

#cookieBanner .btn-action-1 {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
  color: white !important;
}

#cookieBanner .btn-outline-light {
  border-color: white !important;
  color: white !important;
}

#cookieBanner .btn-outline-light:hover {
  background-color: white !important;
  color: #1e293b !important;
}
