/* CSS RESET & NORMALIZATION */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
html, body { height: 100%; margin: 0; padding: 0; }
body { line-height: 1.55; background: #F9FAFB; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ull, ol { padding-left: 24px; margin-bottom: 16px; }
ul li, ol li { margin-bottom: 6px; }
hr { border: none; border-top: 1px solid #E0E2EB; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; margin: 24px 0; }
th, td { padding: 12px 8px; border-bottom: 1px solid #E0E2EB; text-align: left; font-size: 16px; }
th { background: #2D3047; color: #fff; font-weight: 700; }

/* FONT FAMILY */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');
body { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; color: #23253A; background: #F9FAFB; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; color: #2D3047; font-weight: 700; margin-bottom: 12px; }
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, .text-section p { font-size: 1rem; margin-bottom: 12px; max-width: 850px; }
strong, b { font-weight: 700; }

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

/* HEADER & NAVIGATION */
header { background: #fff; border-bottom: 1px solid #E0E2EB; position: sticky; top: 0; z-index: 90; }
header .container { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 16px; gap: 24px; }
header img { height: 50px; }
.main-nav { display: flex; flex-direction: row; gap: 32px; align-items: center; }
.main-nav a { font-size: 1.05rem; color: #2D3047; font-weight: 600; position: relative; padding-bottom: 4px; transition: color 0.2s; }
.main-nav a:hover, .main-nav a:focus { color: #3258A9; border-bottom: 2px solid #CFCFEA; }
.cta-btn {
  background: #2D3047;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(45,48,71,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.13s;
  display: inline-block;
  margin-left: 18px;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #3258A9;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(45,48,71,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #2D3047;
  margin-left: 12px;
  cursor: pointer;
  z-index: 110;
  border-radius: 6px;
  padding: 7px 12px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #CFCFEA; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45, 48, 71, 0.96);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.33,.33,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  z-index: 122;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: rgba(207,207,234,0.10); }
.mobile-nav { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 14px 0;
  font-weight: 600;
  border-bottom: 1px solid #40518833;
  transition: color 0.25s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #F6D6C9; background: #2D3047; }

/* MAIN SECTIONS */
main { min-height: 60vh; margin-bottom: 60px; }
section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px 0 rgba(45,48,71,0.07); position: relative; }

/* FLEX LAYOUT HELPERS */
.card-container, .feature-grid, .content-grid, .team-list, .usp-grid, .service-list, .benefit-columns, .package-overview, .capabilities-list, .testimonial-snippets, .faq-list, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(45,48,71,0.04);
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(45,48,71,0.10);
}
.content-wrapper { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.text-section { margin-bottom: 16px; }
.team-list > div, .usp-grid > div, .package-overview > div, .benefit-columns > div,
.capabilities-list > div, .faq-list > div, .faq-accordion > div, .service-list > div { flex: 1 1 220px; background: #f7f8fa; border-radius: 8px; padding: 28px 20px; margin-bottom: 20px; min-width: 220px; box-shadow: 0 1px 4px 0 rgba(45,48,71,0.04); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 12px; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  background: #f7f8fa;
  border-radius: 8px;
  padding: 28px 20px;
  box-shadow: 0 1px 4px 0 rgba(45,48,71,0.04);
  margin-bottom: 20px;
  min-width: 220px;
}
.feature-item img { width: 42px; height: 42px; }

.benefit-columns, .package-overview {
  gap: 20px;
  margin-top: 20px;
}

.story-highlight { background: #F6D6C9; border-radius: 8px; padding: 24px 18px; margin-bottom: 16px; min-width: 220px; flex: 1 1 250px; box-shadow: 0 1px 4px 0 rgba(45,48,71,0.03); }

.visual-separator { border: none; border-top: 2px solid #CFCFEA; width: 40px; margin: 18px 0; }

/* TESTIMONIALS */
.testimonial-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #F6F8FB;
  border: 1px solid #CFCFEA;
  border-radius: 10px;
  padding: 20px 24px;
  min-width: 260px;
  max-width: 350px;
  box-shadow: 0 2px 8px 0 rgba(45,48,71,0.07);
  color: #2D3047;
  line-height: 1.5;
  font-size: 1.05rem;
  transition: background 0.15s, border 0.18s;
}
.testimonial-card p {
  color: #2D3047;
}
.testimonial-card strong {
  color: #2D3047;
  font-weight: 700;
}
.stars { display: flex; flex-direction: row; gap: 2px; }

/* FOOTER */
footer { background: #2D3047; color: #fff; padding: 36px 0 0 0; }
footer .container { flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #CFCFEA;
  padding: 4px 10px;
  border-radius: 3px;
  transition: background 0.17s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus { background: #405188; color: #fff; }
.footer-contact {
  font-size: 1rem;
  color: #E8EBFF;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.8;
}
.footer-contact a { color: #F6D6C9; transition: color 0.2s; }
.footer-contact a:hover, .footer-contact a:focus { color: #fff; }
.brand-footer { color: #CFCFEA; font-size: 13px; padding: 18px 0 10px 0; }
footer img { display: inline-block; vertical-align: middle; margin-right: 5px; height: 20px; width: 20px; }

/* TABLE */
.comparison-table { margin: 32px 0 16px 0; width: 100%; overflow-x: auto; }
.comparison-table table { min-width: 420px; }
.comparison-table td, .comparison-table th { font-size: 1rem; }

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2D3047;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 10px 22px 10px;
  box-shadow: 0 -2px 16px 0 rgba(45,48,71,0.15);
  z-index: 1300;
  gap: 28px;
  transition: transform 0.35s cubic-bezier(.7,.33,.33,1), opacity 0.22s;
  font-size: 1rem;
}
.cookie-consent-banner.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-left: 20px;
}
.cookie-consent-banner button {
  background: #CFCFEA;
  color: #2D3047;
  font-weight: 700;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 1rem;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.12s;
}
.cookie-consent-banner button:focus, .cookie-consent-banner button:hover { background: #F6D6C9; color: #2D3047; }
.cookie-consent-banner .cookie-settings-btn { background: none; color: #F6D6C9; border: 1.5px solid #F6D6C9; padding: 9px 18px; }
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus { background: #F6D6C9; color: #2D3047; }

.cookie-modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: rgba(45,48,71,0.64);
  align-items: center; justify-content: center;
  animation: cookieModalFadeIn 0.33s ease;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  color: #2D3047;
  border-radius: 12px;
  padding: 34px 28px 26px 28px;
  min-width: 320px;
  min-height: 180px;
  max-width: 94vw;
  box-shadow: 0 6px 36px 0 rgba(45,48,71,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPop 0.25s cubic-bezier(.7,.33,.33,1);
}
@keyframes cookieModalPop {
  from { transform: scale(0.92); opacity: 0.55; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: 8px; }
.cookie-modal .category {
  display: flex;
  align-items: center;
  margin: 9px 0;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] { width: 20px; height: 20px; margin: 0; }
.cookie-modal .essential { font-weight: 700; color: #2D3047; }
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal button {
  background: #2D3047; color: #fff; border: none; padding: 10px 22px; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.17s; }
.cookie-modal button:hover, .cookie-modal button:focus { background: #3258A9; }
.cookie-modal .cookie-modal-close {
  background: none;
  color: #2D3047;
  font-size: 1.7rem;
  border: none;
  position: absolute;
  right: 12px;
  top: 8px;
  cursor: pointer;
}

/* CONTENT STYLES */
ul, ol { margin-bottom: 18px; }
ul li, ol li { margin-bottom: 6px; }
section ul li { font-size: 1rem; line-height: 1.6; color: #2D3047; }

/* SPACING & VISUAL SEPARATORS */
.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; }

/* ACCORDION FAQ */
.faq-accordion > div {
  background: #FAFAFA;
  border-radius: 7px;
  box-shadow: 0 2px 8px 0 rgba(45,48,71,0.04);
  margin-bottom: 20px;
  padding: 22px 18px;
  transition: box-shadow 0.14s, background 0.18s;
}
.faq-accordion > div:focus-within, .faq-accordion > div:hover { box-shadow: 0 4px 14px 0 rgba(45,48,71,0.08); background: #f2f7fc; }
.faq-accordion h2 { font-size: 1.15rem; margin-bottom: 8px; }

/* UTILITY */
.hide { display: none !important; }

/* BUTTONS SECONDARY */
.btn-secondary {
  background: #CFCFEA;
  color: #2D3047;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 1rem;
  margin-left: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.12s;
}
.btn-secondary:hover, .btn-secondary:focus { background: #F6D6C9; color: #2D3047; }

/* ANIMATIONS & TRANSITIONS */
section, .card, .feature-item, .faq-accordion > div, .team-list > div, .usp-grid > div, .service-list > div, .story-highlight, .testimonial-card {
  transition: box-shadow 0.18s, background 0.15s, border 0.15s;
}
.cta-btn, button, .btn-secondary { transition: background 0.19s, color 0.15s, box-shadow 0.14s, transform 0.13s; }

/* MEDIA QUERIES: RESPONSIVENESS */
@media (max-width: 1000px) {
  .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-btn { margin-left: 0; }
  header .container { gap: 8px; }
}
@media (max-width: 900px) {
  .team-list, .usp-grid, .feature-grid, .testimonial-snippets, .benefit-columns, .content-grid, .service-list, .package-overview, .capabilities-list {
    flex-direction: column; gap: 20px;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  .container { padding: 0 5px; }
  section, .section { padding: 32px 6px; margin-bottom: 38px; }
  .team-list > div, .usp-grid > div, .feature-item, .card, .service-list > div, .package-overview > div, .benefit-columns > div, .capabilities-list > div, .faq-accordion > div, .story-highlight {
    padding: 18px 8px; min-width: 0; max-width: 100%;
  }
  .testimonial-card {
    padding: 16px 10px;
    min-width: 140px;
    max-width: 100%;
  }
  .cookie-modal { min-width: unset; max-width: 94vw; padding: 18px 4vw 18px 4vw; }
  .cookie-consent-banner { flex-direction: column; gap: 16px; padding: 18px 8px; font-size: 0.95rem; }
  .cookie-consent-banner .cookie-btns { margin-left: 0; gap: 9px; }
  .footer-nav { gap: 10px; flex-wrap: wrap; font-size: 0.97rem; }
  footer .container { gap: 16px; }
}

/* FOCUS STYLES FOR ACCESSIBILITY */
a:focus, button:focus, .cta-btn:focus, input:focus, select:focus {
  outline: 2px solid #3258A9;
  outline-offset: 1px;
}

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