/* =========================
   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;
}
html {
  height: 100%;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #faf9f7;
  color: #25304A;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Source Sans Pro', serif;
  color: #25304A;
  background: #faf9f7;
  line-height: 1.66;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #153C7A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #30C1A1;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #1e2c45;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, blockquote {
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
button, .cta-primary {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================
   BRAND VARIABLES
   ========================= */
:root {
  --brand-primary: #153C7A;
  --brand-secondary: #30C1A1;
  --brand-accent: #FFFFFF;
  --bg-muted: #f4f3ef;
  --bg-elevated: #fff;
  --border-card: #e2e3e8;
  --text-main: #25304A;
  --text-muted: #5d6475;
  --shadow-card: 0 6px 32px 0 rgba(47,69,120,0.08), 0 1.5px 4px 0 rgba(21,60,122,0.06);
}

/* =========================
   LAYOUT & STRUCTURE
   ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
/* HERO SECTION */
.hero-section {
  background: var(--bg-muted);
  padding: 60px 0;
  border-bottom: 1px solid #ecece8;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }
}

/* =========================
   NAVIGATION
   ========================= */
header {
  background: var(--brand-accent);
  box-shadow: 0 2px 14px rgba(21,60,122,0.07);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 7px 2px;
  position: relative;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a.cta-primary {
  background: var(--brand-primary);
  color: var(--brand-accent);
  border-radius: 5px;
  padding: 9px 22px;
  font-size: 1.06rem;
  font-weight: 600;
  margin-left: 30px;
  box-shadow: 0 2px 8px rgba(47,69,120,0.08);
  transition: background 0.22s, color 0.22s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-secondary);
  background: #f7fafc;
}

.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
.mobile-menu-toggle:hover { background: var(--brand-secondary); color: var(--brand-primary); }

@media (max-width: 992px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 9px;
  }
  .main-nav a.cta-primary {
    margin-left: 12px;
    padding: 7px 14px;
  }
  header .container {
    height: 65px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,60,122,0.97);
  color: var(--brand-accent);
  box-shadow: 0 12px 48px 0 rgba(21,60,122,0.15);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.4,0.01,0.4,1.05);
  transform: translateX(-100%);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  margin: 25px 30px 10px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 40px 0 0 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--brand-accent);
  padding: 11px 0;
  border-radius: 4px;
  width: 100%;
  display: block;
  transition: background 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
@media (max-width: 370px) {
  .mobile-nav {
    margin-left: 10px;
    gap: 17px;
  }
  .mobile-menu-close {
    font-size: 2rem;
    margin-right: 10px;
  }
}

/* =========================
   CARDS & CONTENT BLOCKS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  border: 1px solid var(--border-card);
  position: relative;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 38px 2px rgba(21,60,122,0.13);
  transform: translateY(-3px) scale(1.01);
}

/* PRICING TABLE */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.pricing-table > div {
  flex: 1 1 290px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  transition: box-shadow 0.18s, border 0.23s;
}
.pricing-table > div:hover {
  box-shadow: 0 8px 38px 2px rgba(21,60,122,0.12);
  border-color: var(--brand-secondary);
}
.pricing-table h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.pricing-table ul {
  margin-bottom: 20px;
}
.pricing-table strong {
  color: var(--brand-primary);
  font-size: 1.35rem;
}
@media (max-width: 880px) {
  .pricing-table {
    gap: 20px;
  }
  .pricing-table > div {
    flex: 1 1 100%;
  }
}
@media (max-width: 576px) {
  .pricing-table {
    flex-direction: column;
    gap: 16px;
  }
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.faq-list > div {
  flex: 1 1 270px;
  background: var(--bg-muted);
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 22px 16px;
  margin-bottom: 20px;
  transition: border 0.19s;
}
.faq-list > div:hover {
  border-color: var(--brand-primary);
}
@media (max-width: 700px) {
  .faq-list {
    flex-direction: column;
    gap: 10px;
  }
  .faq-list > div {
    flex: 1 1 100%;
  }
}

/* FEATURES / VALUES / TEAM / SERVICE GRID */
.feature-grid, .service-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  justify-content: space-between;
}
.feature-grid > div, .service-grid > div, .team-grid > div {
  flex: 1 1 220px;
  min-width: 192px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 11px;
  box-shadow: var(--shadow-card);
  padding: 25px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, border 0.17s;
  position: relative;
}
.feature-grid > div:hover, .service-grid > div:hover, .team-grid > div:hover {
  box-shadow: 0 8px 38px 2px rgba(21,60,122,0.11);
  border-color: var(--brand-secondary);
}
@media (max-width: 900px) {
  .feature-grid > div, .service-grid > div, .team-grid > div {
    flex: 1 1 90%;
  }
}
@media (max-width: 700px) {
  .feature-grid, .service-grid, .team-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-grid > div, .team-grid > div {
    min-width: 100%;
  }
}

/* OL with icons (How it works) */
ol > li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
ol > li img {
  flex: 0 0 28px;
  width: 28px; height: 28px;
}


/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 20px 26px 17px 26px;
  min-width: 270px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
  color: #25304A;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1d273a;
}
.testimonial-card .star-ratings {
  color: #F5B000;
  letter-spacing: 2px;
  font-size: 1.2rem;
}
.testimonial-card p {
  font-size: 0.97rem;
  color: var(--text-muted);
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-weight: bold;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px 3px rgba(48,193,161,0.10);
  border-color: var(--brand-secondary);
}
@media (max-width: 1100px) {
  .testimonial-slider {
    flex-wrap: wrap;
  }
  .testimonial-card {
    min-width: 210px;
    max-width: 100%;
  }
}
@media (max-width: 840px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================
   BUTTONS & CTAs
   ========================= */
.cta-primary {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.13rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 13px 31px;
  margin-top: 14px;
  box-shadow: 0 2px 12px 0 rgba(21,60,122,0.05);
  border: none;
  transition: background 0.22s, color 0.20s, transform 0.17s;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.01);
  outline: none;
  text-decoration: none;
}
button:focus, .cta-primary:focus { outline: 2px solid var(--brand-secondary); }


/* =========================
   SECTIONS & WHITE SPACE
   ========================= */
section {
  background: none;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section,
  section {
    padding: 27px 7px 27px 7px;
    margin-bottom: 36px;
  }
}

/* CONTENT GRID (for FAQs etc.) */
.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

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

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--bg-elevated);
  border-top: 1px solid #ececf2;
  padding: 0;
}
footer .container {
  padding: 25px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 0.97rem;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--brand-secondary);
}
.contact-info {
  color: var(--text-muted);
  font-size: 0.97rem;
  font-family: 'Source Sans Pro', serif;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
}
.contact-info img {
  margin-right: 7px;
  vertical-align: middle;
  width: 18px; height: 18px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-icons img {
  width: 28px;
  height: 28px;
  opacity: 0.87;
  transition: opacity 0.18s, transform 0.18s;
  cursor: pointer;
}
.social-icons img:hover {
  opacity: 1;
  transform: scale(1.07);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 17px;
  }
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes ctmFadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: none; }
}
.card, .testimonial-card, .faq-list > div, .pricing-table > div, .feature-grid > div, .service-grid > div {
  animation: ctmFadeInUp 0.9s cubic-bezier(0.19,1,0.22,1) both;
  animation-delay: 0.04s;
}

/* =========================
   LOCATION MAP
   ========================= */
.location-map {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 15px 0;
}
.location-map img {
  width: 220px;
  max-width: 95vw;
  border-radius: 14px;
  box-shadow: 0 4px 14px 0 rgba(21,60,122,0.11);
}

/* =========================
   UTILITIES
   ========================= */
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 -3px 28px 0 rgba(21,60,122,0.07);
  padding: 24px 18px 17px 18px;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  justify-content: space-between;
  font-size: 1rem;
  animation: ctmFadeInUp 0.45s both;
}
.cookie-banner__text {
  color: #25304A;
  max-width: 580px;
  font-size: 1.07rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 19px 8px 15px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 11px;
  }
}

.cookie-btn {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 1px 5px 0 rgba(21,60,122,0.04);
  margin-right: 2px;
  transition: background 0.19s, color 0.18s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn--secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn--secondary:hover {
  background: #f6fffc;
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-bg {
  position: fixed;
  z-index: 2200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,44,69,0.44);
  animation: fadeIn 0.27s both;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  min-width: 320px;
  max-width: 440px;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 10px 52px 0 rgba(21,60,122,0.19);
  z-index: 2210;
  display: flex;
  flex-direction: column;
}
.cookie-modal__title {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: var(--brand-primary);
  font-size: 1.35rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.cookie-modal__close {
  position: absolute;
  top: 15px; right: 19px;
  background: none;
  color: var(--brand-primary);
  border: none;
  font-size: 1.57rem;
  cursor: pointer;
  z-index: 1;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f6fa;
  padding: 14px 7px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-family: 'Source Sans Pro', serif;
  color: var(--text-main);
  font-weight: 500;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #dbe0e0;
  border-radius: 25px;
  transition: background-color 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--brand-secondary);
}
.toggle-slider:before {
  position: absolute;
  content: '';
  left: 3px;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px 0 rgba(21,60,122,0.02);
  transition: transform 0.20s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(21px);
}
.toggle-switch input:disabled + .toggle-slider {
  background: #e9ecef;
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal__desc, .cookie-modal__hint {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 7px 13px 7px;
    max-width: 97vw;
  }
  .cookie-modal__title {
    font-size: 1.06rem;
  }
}

/* =========================
   RESPONSIVE TYPOGRAPHY
   ========================= */
@media (max-width: 768px) {
  h1 { font-size: 1.74rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.09rem; }
  body { font-size: 15px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.03rem; }
  h3 { font-size: 0.97rem; }
  body { font-size: 14px; }
}

/* =========================
   MISC (FORMS, UTILS)
   ========================= */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 5px;
  background: #faf9f7;
  padding: 8px 11px;
  border: 1px solid #ccd5df;
  transition: border 0.18s;
  color: var(--text-main);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-secondary);
}

/* Hide scrollbars for mobile menu overlay for smooth UX */
.mobile-menu {
  overflow-y: auto;
}

/* Hide mobile menu when not open */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

/* =======================
   ELEGANT CLASSIC ACCENTS
   ======================= */
.card, .testimonial-card, .faq-list > div, .pricing-table > div, .feature-grid > div, .service-grid > div, .team-grid > div {
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  letter-spacing: 0.003em;
}
strong {
  font-weight: bold;
  color: var(--brand-primary);
}

/* =======================
   NO GRID - FLEX ONLY
   (all layout containers above enforced by flex)
   ======================= */
/* grid, grid-*, columns, columns-*, break-inside - are NOT USED (see above) */
