/* Aurora Rider – Geometric Structured CSS (Flexbox only) */

/* === RESET & NORMALIZE === */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #F3F6F2;
  color: #1B4641;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1B4641;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
p {
  margin: 0 0 18px 0;
}
ul, ol {
  padding-left: 32px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 6px;
}
a {
  color: #1B4641;
  text-underline-position: under;
  text-decoration-thickness: 2px;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #ECC324;
  outline: none;
}

/* =============== GEOMETRIC STRUCTURED BRAND COLORS =============== */
:root {
  --primary: #1B4641;
  --secondary: #F3F6F2;
  --accent: #ECC324;
  --dark-text: #1B4641;
  --light-bg: #F3F6F2;
  --card-bg: #fff;
  --muted: #62837d;
  --shadow: 0 3px 14px rgba(27,70,65,0.08), 0 1.5px 4px rgba(27,70,65,0.04);
  --radius: 14px;
}

body {
  background: var(--secondary);
  color: var(--dark-text);
}

/* === STRUCTURED LAYOUT SYSTEM === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
  position: relative;
  z-index: 21;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 28px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  padding: 6px 0 6px 0;
  letter-spacing: 0.02em;
  border-bottom: 2.5px solid transparent;
  text-decoration: none;
  transition: border .15s, color .15s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
}
header .btn {
  margin-left: 24px;
  min-width: 120px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 9px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .18s, border .18s;
  box-shadow: var(--shadow);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  outline: none;
}
.btn.btn-primary {
  background: var(--primary);
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn:active {
  box-shadow: none;
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  border-color: var(--accent);
  color: var(--accent);
}

/* === FLEXBOX CARD & GRID SYSTEM === */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 18px;
  border: 2px solid var(--secondary);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 6px 26px rgba(27,70,65,0.11), 0 2px 8px rgba(27,70,65,0.07);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* === ICON LISTS & Feature Items === */
.features, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
}
.features ul, .feature-list ul {
  margin: 0;
  padding-left: 0;
}
.features li, .feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style-type: none;
  font-weight: 500;
  margin: 0 0 10px 0;
  letter-spacing: 0.012em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.features li img,
.feature-list li img {
  width: 36px;
  height: 36px;
  margin-right: 7px;
  border-radius: 6px;
  background: var(--secondary);
  box-shadow: 0 2px 7px rgba(27,70,65,0.07);
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  max-width: 660px;
  min-width: 240px;
}
.testimonial-content {
  flex: 1;
  color: var(--dark-text);
}
.testimonial-card p {
  font-size: 1.16rem;
  margin-bottom: 12px;
  color: var(--dark-text);
}
.testimonial-info {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1B4641;
}
.testimonial-info span:last-child {
  color: var(--accent);
  font-size: 1.2rem;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  font-size: 1rem;
}
footer .container {
  padding: 30px 18px 18px 18px;
  flex-direction: column;
  gap: 20px;
}
footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: center;
}
footer .footer-menu a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
footer .footer-menu a:hover, footer .footer-menu a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
footer .brand-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
footer .brand-footer img {
  width: 42px;
  height: auto;
}

/* === TEXT SECTIONS & UTILITY === */
.text-section {
  margin-bottom: 12px;
}
.text-section ul {
  padding-left: 18px;
  margin: 0 0 8px 0;
}
.text-section strong, .text-section h2 {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === SPECIAL: SPACING & FLEX GAPS (MANDATORY) === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .section {
    padding: 34px 10px;
  }
}
@media (max-width: 768px) {
  /* Flex containers column on mobile */
  .content-grid, .card-container, .features, .feature-list {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card {
    min-width: 90%;
    padding: 18px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
    padding: 14px 10px;
  }
  header nav {
    display: none;
  }
  header .btn {
    margin-left: 0;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 38px;
  }
  footer .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  footer .brand-footer {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .btn {
    font-size: 0.96rem;
    padding: 10px 18px;
  }
}

/* === MOBILE MENU STYLES === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1001;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(27,70,65,0.14);
  transition: background .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  z-index: 1100;
  background: rgba(27,70,65,0.91);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 1200;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 74px;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 0 0 0 32px;
}
.mobile-nav a {
  font-size: 1.26rem;
  color: #fff;
  padding: 13px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 2px solid transparent;
  width: 94%;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color .17s, border .15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* Overlay background animation (slide effect) */
.mobile-menu {
  will-change: transform;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -3px 22px rgba(27,70,65,0.13);
  border-top: 3px solid var(--accent);
  z-index: 9999;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 32px;
  animation: cookieSlideUp 0.66s cubic-bezier(.46,0,.32,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-text {
  flex: 1;
  font-size: 1.06rem;
  color: #1B4641;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner .btn {
  min-width: 108px;
  font-size: 0.98rem;
  padding: 9px 18px;
  border-radius: 6px;
}
.cookie-settings-btn {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8px;
  }
  .cookie-consent-actions {
    gap: 10px;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(27,70,65,0.72);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.35s cubic-bezier(.65,.07,.57,.97);
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 34px rgba(27,70,65,0.17), 0 2px 10px rgba(27,70,65,0.08);
  padding: 32px 22px 22px 22px;
  max-width: 410px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookiePopUp 0.34s cubic-bezier(.72,-0.13,.52,1.33);
}
@keyframes cookiePopUp {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 21px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--secondary);
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 500;
}
.cookie-category .toggle-switch {
  margin-left: 22px;
}
/* toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 2px;
  right: 2px; bottom: 2px;
  background: #c5d8d1;
  border-radius: 20px;
  transition: background 0.19s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-slider::before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s cubic-bezier(.5,1.24,.5,0.81);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(18px);
}
.toggle-switch input:disabled + .toggle-slider {
  background: #e0e0e0;
  opacity: 0.7;
}

.cookie-modal .btn {
  width: 100%;
  min-width: unset;
  padding: 12px 0;
  font-size: 1.09rem;
  margin-top: 8px;
}

/* === GEOMETRIC/STRUCTURED EFFECTS === */
.btn, .card, .feature-item, .testimonial-card, .cookie-modal, .cookie-consent-banner {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
section, .section, .container, main {
  box-sizing: border-box;
}

/* === ANIMATIONS === */
.btn, .card, .feature-item, .testimonial-card, .header nav a, .mobile-nav a {
  transition: background 0.2s, color 0.15s, border 0.18s, box-shadow 0.18s;
}
.card:hover, .feature-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(27,70,65,0.13), 0 3px 10px rgba(27,70,65,0.08);
}

/* === FORMS (if present) === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 4px;
  display: block;
}

/* === TYPOGRAPHY SCALE === */
.display-1 { font-size: 2.8rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; }
.display-2 { font-size: 2.0rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.text-lg { font-size: 1.28rem; font-family: 'Montserrat', Arial, sans-serif; }
.text-md { font-size: 1.06rem; }
.text-sm { font-size: 0.98rem; }

/* === ACCESSIBILITY & CONTRAST === */
.testimonial-card, .testimonial-card p, .testimonial-info {
  color: #191e1e;
  background: #fff;
}

/* === SCROLLBAR STYLING (for brand) === */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #c8ccc8;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #F3F6F2;
}

/* === OVERLAY BLOCK SCROLL WHEN MENU/MODAL OPEN === */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* === MISC: Z-INDEX STACKING CONTEXT === */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/* === SUCCESS + INFO STATE (thank you, etc.) === */
.success, .info {
  background: #F3F6F2;
  border-left: 5px solid var(--accent);
  padding: 18px 22px;
  margin: 18px 0;
  border-radius: 8px;
  color: var(--primary);
}

/* === PRINT LAYOUT (if ever) === */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
