/* ==== CSS RESET & NORMALIZE ==== */
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #234058;
  font-family: 'Lato', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #FDBB27; outline-offset: 1px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,400i,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #234058;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, li, span, td, th, blockquote {
  font-family: 'Lato', Arial, sans-serif;
  color: #234058;
  font-size: 1rem;
  line-height: 1.7;
}

blockquote {
  margin: 32px 0 32px 0;
  padding-left: 24px;
  border-left: 4px solid #FDBB27;
  font-style: italic;
  color: #315677;
}

/* ==== CONTAINERS ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 20px 0 rgba(35,64,88,0.06);
}

/* ==== HERO SECTION w/ GRADIENT ==== */
.hero {
  background: linear-gradient(104deg,#F5F6FA,#e7eaf7 70%,#fabb53 100%);
  border-radius: 0 0 40px 40px;
  padding: 48px 0 56px 0;
  margin-bottom: 60px;
  box-shadow: 0 4px 24px 0 rgba(240,178,53,0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 32px 0;
    border-radius: 0 0 18px 18px;
    margin-bottom: 32px;
  }
}

/* ==== FLEX UTILITY CLASSES AS PER REQUIREMENTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px 0 rgba(35,64,88,0.07);
  padding: 30px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 6px 28px 0 rgba(35,64,88,0.12);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(35,64,88,0.07);
  border-left: 5px solid #FDBB27;
  transition: box-shadow 0.24s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(35,64,88,0.13);
}
.testimonial-card p, .testimonial-card span, .testimonial-card strong {
  color: #234058;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== FEATURE / MODULE LISTS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature-grid li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(35,64,88,0.07);
  flex: 1 1 240px;
  min-width: 220px;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.22s;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  box-shadow: 0 3px 32px 0 rgba(35,64,88,0.13);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

/* ==== TABLES ==== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(35,64,88,0.08);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  font-family: 'Lato', Arial, sans-serif;
  padding: 14px 12px;
  text-align: left;
  font-size: 1rem;
  color: #234058;
}
.pricing-table thead {
  background: #f6ebcd;
}
.pricing-table th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #234058;
}
.pricing-table tbody tr:nth-child(even) {
  background: #f8f8f8;
}

/* ==== FAQ ==== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1.5px 8px 0 rgba(35,64,88,0.06);
  transition: box-shadow 0.18s;
}
.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.faq-item p {
  color: #234058;
}

/* ==== BUTTONS ==== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(97deg,#FDBB27 30%,#fa9a21 100%);
  color: #234058;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  border-radius: 28px;
  padding: 14px 32px;
  font-size: 1.075rem;
  border: none;
  box-shadow: 0 2px 7px 0 rgba(253,187,39,0.09);
  outline: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  min-width: 180px;
  transition: background 0.24s, color 0.21s, box-shadow 0.21s, transform 0.21s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(101deg,#fa9a21 10%,#FDBB27 90%);
  color: #234058;
  box-shadow: 0 1.5px 16px 0 rgba(253,187,39,0.22);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary,
.cookie-banner .btn-secondary {
  background: #234058;
  color: #FDBB27;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  padding: 13px 26px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 1.5px 7px 0 rgba(35,64,88,0.09);
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s, transform 0.22s;
}
.btn-secondary:hover,
.cookie-banner .btn-secondary:hover,
.btn-secondary:focus {
  background: #FDBB27;
  color: #234058;
  box-shadow: 0 2.5px 16px 0 rgba(35,64,88,0.19);
  transform: translateY(-2px) scale(1.03);
}

/* ==== HEADER & NAV ==== */
header {
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(35,64,88,0.07);
  position: relative;
  z-index: 30;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 70px;
  padding: 16px 0;
}
.logo img {
  max-height: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #234058;
  letter-spacing: 0.01em;
  padding: 4px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FDBB27;
}

/* HIGHLIGHT CURRENT LINK IF NEEDED
.main-nav a.active {
  color: #FDBB27;
} */

/* ===== MOBILE HEADER NAVIGATION ===== */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #234058;
  cursor: pointer;
  margin-left: 12px;
  display: none;
  align-items: center;
  transition: color 0.18s;
  z-index: 102;
}
.mobile-menu-toggle:focus {
  color: #FDBB27;
  outline: 2px solid #FDBB27;
  outline-offset: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,64,88,0.92);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #FDBB27;
  margin: 24px 24px 12px 24px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  margin-left: 32px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #FDBB27;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .btn-primary {
    min-width: 120px;
    font-size: 1rem;
    padding: 11px 18px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  .header-main {
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==== TEAM LIST ==== */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.team-list li {
  background: #fff;
  border-radius: 11px;
  padding: 20px 19px 20px 22px;
  box-shadow: 0 1.1px 8px 0 rgba(35,64,88,0.05);
  margin-bottom: 8px;
}
.team-list strong { color: #234058; }

/* ==== TABLES (GENERIC) ==== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
th, td {
  padding: 11px 7px;
  border-bottom: 1px solid #ececec;
}
th {
  background: #f3f5fa;
  font-family: 'Montserrat', sans-serif;
}

/* ==== STAR RATINGS ==== */
.star-ratings {
  color: #FDBB27;
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
}

/* ==== FOOTER ==== */
footer {
  background: #234058;
  color: #f5f6fa;
  margin-top: 60px;
  padding: 44px 0 0 0;
  border-radius: 40px 40px 0 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
  align-items: center;
  justify-content: center;
}
.footer-menu a {
  color: #FDBB27;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #fff;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-align: center;
  font-family: 'Lato', Arial, sans-serif;
  color: #f5f6fa;
}
.text-section img {
  vertical-align: middle;
  max-height: 28px;
  margin-right: 6px;
}
.copyright {
  font-size: 0.95rem;
  color: #eee4cb;
  text-align: center;
  padding: 13px 0 14px 0;
  background: #21374a;
  border-radius: 0 0 38px 38px;
}
footer p { color: #f5f6fa; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #234058;
  color: #fffbe8;
  padding: 22px 20px 20px 20px;
  box-shadow: 0 -2px 20px 0 rgba(35,64,88,0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  z-index: 120;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  min-width: 140px;
  font-size: 0.98rem;
  margin: 0 7px;
  padding: 10px 22px;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #234058;
  border-radius: 20px;
}
.cookie-banner .btn-secondary:hover,
.cookie-banner .btn-secondary:focus {
  background: #FDBB27;
  color: #234058;
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,64,88,0.78);
  z-index: 140;
  display: none;
}
.cookie-modal-backdrop.active { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.92);
  background: #fff;
  color: #234058;
  border-radius: 19px;
  box-shadow: 0 6px 40px 0 rgba(35,64,88,0.22);
  z-index: 150;
  width: 95vw;
  max-width: 400px;
  padding: 36px 24px 28px 24px;
  transition: transform 0.19s cubic-bezier(.77,0,.18,1), opacity 0.18s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.active {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal label {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-family: 'Lato', sans-serif;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #FDBB27;
  width: 18px; height: 18px;
  margin-right: 4px;
}
.cookie-modal .modal-btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 21px;
}

/* ==== MISC UTILITIES ==== */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }


/* ==== RESPONSIVE & MOBILE-FIRST ADAPTATIONS ==== */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
  .feature-grid li, .card, .faq-item {
    padding: 16px 11px 12px 11px;
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .hero .content-wrapper, .content-wrapper {
    gap: 14px;
    padding: 0;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .team-list {
    gap: 16px;
  }
  .footer-menu {
    gap: 14px;
    font-size: 0.9rem;
  }
  footer {
    padding: 28px 0 0 0;
    border-radius: 20px 20px 0 0;
    margin-top: 36px;
  }
  .cookie-banner {
    padding: 14px 4px;
    flex-direction: column;
    gap: 13px;
    font-size: 0.97rem;
  }
.cookie-banner span {
    color: white;
}
  .btn-primary {
    font-size: 0.98rem; padding: 10px 17px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.124rem; }
  .section { margin-bottom: 24px; padding: 16px 2px; border-radius: 10px; }
  .testimonial-card, .feature-grid li, .card {
    border-radius: 9px;
    padding: 13px 7px;
    font-size: 0.95rem;
  }
  .footer-menu { flex-direction: column; gap: 6px; }
  .text-section {
    font-size: 0.98rem; gap: 6px;
  }
  footer { padding: 18px 0 0 0; border-radius: 6px 6px 0 0; }
}

/* ==== FORM ELEMENTS ==== */
input, select, textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 10px 15px;
  border: 1px solid #e0e6ed;
  border-radius: 7px;
  outline: none;
  margin-bottom: 16px;
  background: #f5f6fa;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: #FDBB27;
  background: #fff;
}

/* ==== VISUAL HIERARCHY: SPACING & LAYOUT ==== */
main > section,
.section {
  margin-bottom: 60px;
}
.section + .section {
  margin-top: 18px;
}

/* ==== TRANSITIONS & MICRO-INTERACTIONS ==== */
button, .btn-primary, .btn-secondary, a {
  transition: background 0.21s, color 0.18s, box-shadow 0.19s, transform 0.19s;
}

/* ==== ACCESSIBILITY ==== */
:focus {
  outline-color: #FDBB27;
}

/* ==== OVERRIDE BROWSER AUTO-FILL ==== */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  box-shadow: 0 0 0 30px #F5F6FA inset !important;
  color: #234058 !important;
}

/* ==== HIDE INACTIVE STATE (E.G. JS ADDS .hide) ==== */
.hide {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
