/*----- CSS RESET & BASE -----*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C3E57;
  background: #FAFAFA;
  min-height: 100vh;
}
a {
  color: #1C3E57;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, .main-nav a.active, .footer-nav a.active, .mobile-nav a.active {
  color: #FFBD59;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
strong {
  font-weight: 700;
}

/*----- TYPOGRAPHY -----*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 16px;
  color: #1C3E57;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, ul, ol, li, .text-section {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #18324A;
  margin-bottom: 16px;
}

ul, ol {
  margin-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/*----- CONTAINER -----*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

/*----- LAYOUT STRUCTURE -----*/
header {
  background: #1C3E57;
  color: #FAFAFA;
  width: 100%;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
header img {
  width: 155px;
  height: auto;
}

footer {
  background: #F6F6F6;
  color: #1C3E57;
  padding: 32px 0 8px 0;
  border-top: 4px solid #FFBD59;
}
footer .container {
  align-items: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  font-weight: 700;
  color: #1C3E57;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #FFBD59;
}
.footer-info {
  text-align: center;
  font-size: 0.98rem;
  color: #5D6D7E;
}

/*----- NAVIGATION (DESKTOP) -----*/
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  font-size: 1.07rem;
}
.main-nav a {
  color: #FAFAFA;
  font-weight: 700;
  position: relative;
  padding: 8px 0;
  transition: color 0.17s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0%;
  background: #FFBD59;
  transition: width 0.22s;
  margin: 2px auto 0 auto;
  border-radius: 2px;
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: 80%;
}
.main-nav a:hover, .main-nav a.active {
  color: #FFBD59;
}

/* MOBILE NAV TOGGLE */
.mobile-menu-toggle {
  background: #FFBD59;
  color: #1C3E57;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  outline: none;
  background: #ffdca0;
  color: #18324A;
}

/*----- MOBILE MENU -----*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #1C3E57;
  z-index: 999;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,.2,.25,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFBD59;
  font-size: 2.3rem;
  padding: 24px 28px 10px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FFE0A5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 6px;
  padding: 0 32px;
}
.mobile-nav a {
  color: #FAFAFA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 15px 0;
  margin-bottom: 2px;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: color 0.17s, border-color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #FFBD59;
  border-bottom: 2px solid #FFBD59;
}

/* Hide nav on small screens, show burger */
@media (max-width: 1099px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1100px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*----- HERO SECTION -----*/
.hero {
  background: #1C3E57;
  color: #FAFAFA;
  padding: 56px 0 48px 0;
  width: 100%;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
}
.hero h1 {
  color: #FFBD59;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  color: #FAFAFA;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/*----- CTA Buttons -----*/
.cta, a.cta, button.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFBD59;
  color: #1C3E57;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 3px 10px 0 rgba(28,62,87,0.10);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.19s, color 0.13s, box-shadow 0.20s;
  outline: none;
  margin-top: 4px;
  margin-bottom: 8px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #ffd482;
  color: #18324A;
  box-shadow: 0 4px 13px 0 rgba(28,62,87,0.17);
}

.cta.secondary {
  background: #FAFAFA;
  color: #1C3E57;
  border: 2px solid #1C3E57;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #FFBD59;
  color: #1C3E57;
}

/*----- SECTIONS, CARDS & LAYOUTS -----*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  max-width: 950px;
}

/* Feature/Card Grids */
.feature-grid, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid > div, .card {
  flex: 1 1 200px;
  min-width: 240px;
  max-width: 310px;
  background: #FAFAFA;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 rgba(28,62,87,0.07);
  padding: 32px 20px 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.16s;
  border-left: 7px solid #FFBD59;
}
.feature-grid > div:hover, .card:hover {
  box-shadow: 0 7px 28px 0 rgba(28,62,87,0.14);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img, .card img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  border: 2px solid #F3F5F8;
  background: #FFFFFF;
  box-shadow: 0 3px 14px 0 rgba(28,62,87,0.07);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.card:hover {
  box-shadow: 0 7px 28px 0 rgba(28,62,87,0.14);
  border-color: #FFBD59;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** LIST STYLES *****/
.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 3px 10px 0 rgba(28,62,87,0.06);
  padding: 18px 16px;
  margin-bottom: 18px;
  min-width: 250px;
  max-width: 400px;
  border-left: 6px solid #FFBD59;
}
.feature-list img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
}

.service-list {
  list-style: disc inside;
  color: #1C3E57;
  font-size: 1.09rem;
}
.service-list li {
  margin-bottom: 9px;
  padding-left: 4px;
}

/**** TESTIMONIALS ****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAFA;
  border-radius: 16px;
  margin: 0 0 20px 0;
  box-shadow: 0 1.5px 6px rgba(28,62,87,0.09);
  border-left: 7px solid #FFBD59;
  color: #1C3E57;
  min-width: 240px;
  max-width: 600px;
  position: relative;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #1C3E57;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
  flex: 1;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #5D6D7E;
  font-style: italic;
  margin-right: 10px;
}
.testimonial-card img {
  margin-right: 2px;
  width: 21px;
  height: 21px;
}

/**** FAQ, TEXT SECTIONS ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/**** CONTACT DETAILS ****/
.contact-details {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.text-section img {
  width: 21px;
  height: 21px;
  margin-right: 7px;
  vertical-align: middle;
}

/**** SPACING & ALIGNMENT PATTERNS (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 DESIGN ****/
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 11px;
  }
  .feature-grid, .card-container, .feature-list {
    gap: 14px;
  }
  .feature-grid > div, .card, .feature-list li {
    min-width: 170px;
    max-width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
  }
  .contact-details {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  section, .section {
    margin-bottom: 34px;
    padding: 24px 4px;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0 0;
  }
  .feature-grid, .card-container, .feature-list, .card-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div, .card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .feature-list li {
    min-width: unset;
    max-width: 100%;
    padding: 14px 8px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }
  .content-grid, .contact-details {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}
@media (max-width: 500px) {
  .hero .content-wrapper {
    max-width: 98vw;
    padding: 0 2px;
  }
  .footer-nav {
    gap: 13px;
    padding: 0 2px;
  }
  .footer-info {
    font-size: 0.8rem;
  }
}

/*----- INTERACTIONS & MICRO-ANIMATIONS -----*/
.card, .feature-grid > div, .feature-list li, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s, border-color 0.15s;
  will-change: transform, box-shadow;
}
.card:hover, .feature-grid > div:hover, .feature-list li:hover {
  box-shadow: 0 6px 20px 0 rgba(28,62,87,0.15);
  border-left-color: #e1a837;
  transform: translateY(-3px) scale(1.02);
}
.cta, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.19s, background 0.19s;
}

button:focus, .cta:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFBD59;
  outline-offset: 3px;
}

/*----- COOKIE CONSENT BANNER -----*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #1C3E57;
  color: #FAFAFA;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -7px 24px 0 rgba(28,62,87,0.18);
  max-width: 600px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.20s, transform 0.38s cubic-bezier(.91,.02,.38,1.06);
}
.cookie-consent-banner.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.cookie-consent-banner .cookie-text {
  flex: 1;
  font-size: 1rem;
  margin-right: 8px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.12s;
}
.cookie-consent-banner .accept {
  background: #FFBD59;
  color: #1C3E57;
}
.cookie-consent-banner .accept:hover {
  background: #ffd482;
}
.cookie-consent-banner .reject {
  background: #FFE6C2;
  color: #5D6D7E;
  border: 1.5px solid #FFBD59;
}
.cookie-consent-banner .reject:hover {
  background: #ffd482;
  color: #1C3E57;
}
.cookie-consent-banner .settings {
  background: none;
  border: 2px solid #FFBD59;
  color: #FFBD59;
}
.cookie-consent-banner .settings:hover {
  background: #FFBD59;
  color: #1C3E57;
}
@media (max-width: 800px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    max-width: 98vw;
    padding: 16px 8px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner .cookie-actions {
    gap: 7px;
  }
}

/*----- COOKIE PREFERENCES MODAL -----*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(14,31,54,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FAFAFA;
  border-radius: 22px;
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  width: 440px;
  box-shadow: 0 10px 46px rgba(28,62,87,0.22);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  animation: cookie-modal-in 0.35s cubic-bezier(.8,0,.17,1) both;
}
@keyframes cookie-modal-in {
  from { transform: translateY(80px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #1C3E57;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #FFBD59;
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: #1C3E57;
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 0 10px 2px;
  border-bottom: 1px solid #F6F6F6;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  flex: 1;
  color: #1C3E57;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #FFBD59;
  border-radius: 6px;
  margin-right: 3px;
}
.cookie-modal .category-info {
  font-size: 0.97rem;
  color: #5D6D7E;
}
.cookie-modal .save-btn {
  background: #FFBD59;
  color: #1C3E57;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 19px;
  padding: 10px 22px;
  margin-top: 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.17s;
}
.cookie-modal .save-btn:hover {
  background: #ffd482;
}

/***** ERRORS AND ALERTS *****/
.alert, .error-message {
  background: #FFE6C2;
  color: #d37b08;
  border-left: 5px solid #FFBD59;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/**** MISCELLANEOUS ****/
::-webkit-scrollbar {
  width: 8px;
  background: #f0f0f8;
}
::-webkit-scrollbar-thumb {
  background: #FFBD59;
  border-radius: 10px;
}

input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/*----- END CSS -----*/
