/* --------------------
   CSS RESET & NORMALIZE
-------------------- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; }
html { font-size: 16px; }
body { min-height: 100vh; background: #fff; color: #153347; font-family: 'Roboto', Arial, Helvetica, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; }
:focus { outline: 2px solid #97B4CC; outline-offset: 2px; }

/* GOOGLE FONTS (import in actual / or @import) */
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUOjIg1_i6t8kCHKm45_QphziTn89dtpQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: local('Roboto'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf') format('truetype');
}


/* --------------------
   COLOR VARIABLES
-------------------- */
:root {
  --color-primary: #153347;
  --color-secondary: #97B4CC;
  --color-accent: #E0E4E8;
  --color-bg: #fff;
  --color-dark: #153347;
  --color-light: #fff;
  --color-danger: #D92E4A;
  --shadow-main: 0 4px 24px rgba(21, 51, 71, 0.10);
  --shadow-card: 0 2px 8px rgba(21, 51, 71, 0.08);
  --shadow-bold: 0 8px 32px rgba(21, 51, 71, 0.16);
  --radius-main: 14px;
  --radius-pill: 40px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}


/* --------------------
   TYPOGRAPHY
-------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

@media (min-width: 481px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
}
@media (min-width: 992px) {
  h1 { font-size: 3.6rem; }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 1.5rem; }
}
p,
ul,
ol {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 400;
}
strong { font-weight: 700; }
a { color: var(--color-secondary); font-weight: 600; transition: color 0.2s; }
a:hover, a:focus { color: var(--color-primary); text-decoration: underline; }


/* --------------------
   LAYOUT CONTAINERS
-------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
}

@media (min-width: 992px) {
  .section {
    padding: 60px 32px;
    margin-bottom: 80px;
  }
}


/* --------------------
   HEADER & NAVIGATION
-------------------- */
header {
  background: var(--color-primary);
  color: var(--color-light);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  transition: filter 0.2s;
}
.logo:focus-visible img {
  filter: drop-shadow(0 0 2px #fff);
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-light);
  letter-spacing: 0.04em;
  padding: 4px 0;
  position: relative;
  transition: color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.cta-button {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  margin-left: 20px;
  border: none;
  box-shadow: var(--shadow-card);
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.03em;
  text-align: center;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-light);
  color: var(--color-primary);
  box-shadow: var(--shadow-bold);
}

.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border-radius: var(--radius-pill);
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-left: 14px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
    margin-left: 10px;
  }
  .cta-button { margin-left: 8px; }
}

@media (max-width: 900px) {
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ------------------------------
   MOBILE NAVIGATION (OFFCANVAS)
------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(21, 51, 71, 0.97);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(.53,.04,.32,.84), opacity 0.38s;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 28px 0 0;
  font-size: 2.1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-main);
  transition: background 0.22s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 44px;
  align-items: center;
  width: 100vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-light);
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: background 0.18s, color 0.18s;
  width: 70vw;
  text-align: center;
  margin: 0 auto;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Hide mobile menu in desktop */
@media (min-width: 901px) {
  .mobile-menu { display: none!important; }
}


/* --------------------
   HERO/BANNER STYLES
-------------------- */
.hero {
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  min-height: 320px;
  padding: 60px 0 40px 0;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: var(--color-primary);
  margin-bottom: 6px;
  font-size: 2.1rem;
  word-break: break-word;
}
.hero p {
  color: #1a2839;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
@media (min-width: 600px) {
  .hero .content-wrapper {
    gap: 16px;
  }
  .hero h1 { font-size: 2.7rem; }
}
@media (min-width: 1000px) {
  .hero { padding: 88px 0 68px 0; min-height: 340px; }
  .hero h1 { font-size: 3rem; }
}


/* -------------------------
   FLEX LAYOUT PATTERNS
------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-bold);
  transform: translateY(-2px) scale(1.015);
}
.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;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  flex-direction: column;
  transition: box-shadow 0.16s, transform 0.18s;
}
.testimonial-card p {
  color: #153347;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #223a51;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-top: 8px;
  align-self: flex-end;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-bold);
  transform: scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-light);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  min-width: 200px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0;
}
.feature-item p {
  color: var(--color-dark);
  font-size: 1.06rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-bold);
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.01);
}

/* List feature grid for .features section */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .features .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}

/* -------------------------
   SECTIONS & PAGE LAYOUT
------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
}
.about-short, .about, .legal, .services, .features, .contact-info, .thank-you {
  background: var(--color-light);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
}
.cta {
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom: 40px;
}
.cta h2 { color: var(--color-primary); }
.cta .cta-button {
  margin-top: 12px;
}

ul li, .features ul li, .about ul li, .services ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
  color: var(--color-primary);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
ul li::before, .features ul li::before, .about ul li::before, .services ul li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0; top: calc(50% - 7px);
}


/* -------------------------
   CONTACT INFO SECTION
------------------------- */
.contact-info .text-section ul li img {
  width: 20px; height: 20px; margin-right: 9px; vertical-align: middle; }
.contact-info .text-section ul li { display: flex; align-items: center; gap: 8px; padding-left: 0; }


/* -------------------------
   LEGAL/INFORMATION PAGE
------------------------- */
.legal h2 { margin-top: 34px; margin-bottom: 8px; font-size: 1.35rem; }
.legal p, .legal ul { margin-bottom: 16px; }
.legal ul li {
  font-size: 1.01rem;
  color: var(--color-dark);
  margin-bottom: 10px;
}

/* --------------------
   FOOTER STYLES
-------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 36px 0 18px 0;
  font-size: 1rem;
  margin-top: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  justify-content: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.17s, color 0.16s;
}
.footer-links a:hover, .footer-links a:focus { background: var(--color-accent); color: var(--color-primary); }

.footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.footer-contact img {
  width: 18px; height: 18px; vertical-align: middle;
}
.footer-contact a { color: var(--color-secondary); margin-right: 12px; font-weight: 600; font-size: 1rem; }
.footer-brand { font-size: 1rem; color: rgba(255,255,255,0.75); }

@media (max-width: 700px) {
  footer .container, .footer-links, .footer-contact { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { gap: 12px; }
  .footer-contact { gap: 10px; }
}


/* -------------------
   BUTTONS & FORMS
------------------- */
button, .cta-button {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
}
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


/* -------------------
   RESPONSIVE DESIGN
------------------- */
@media (max-width: 900px) {
  .hero { min-height: 240px; padding: 34px 0 22px 0; }
  .hero .content-wrapper h1 { font-size: 1.55rem; }
  .feature-item, .card {
    min-width: 180px;
    padding: 20px 13px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; }
  .content-grid { flex-direction: column; gap: 22px; }
  .features .feature-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 580px) {
  .container { padding-left: 3vw; padding-right: 3vw; }
  section { padding: 28px 1vw; }
  .footer-brand { font-size: 0.95rem; }
  .cta-button { font-size: 0.98rem; padding: 12px 16px; }
}


/* -------------------
   ANIMATIONS & EFFECTS
------------------- */
.cta-button,
.feature-item,
.card, .testimonial-card,
.mobile-nav a,
.footer-links a {
  transition: box-shadow 0.2s, background 0.18s, color 0.15s, transform 0.2s;
}
.cta-button:hover, .cta-button:focus {
  transform: scale(1.05);
  box-shadow: var(--shadow-bold);
}
.feature-item:hover, .feature-item:focus-within, .card:hover, .card:focus-within {
  transform: scale(1.03);
}


/* -------------------
   COOKIE CONSENT STYLES
------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2500;
  background: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 -8px 28px rgba(21, 51, 71, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 18px 20px 18px;
  font-size: 1rem;
  gap: 14px;
  animation: slideUpBanner 0.5s cubic-bezier(.51,.02,.73,.76);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-consent-banner .consent-btns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-consent-banner button {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
  transition: background 0.17s, color 0.14s, box-shadow 0.17s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-bold);
}
.cookie-consent-banner .cookie-settings-btn {
  background: none;
  color: var(--color-secondary);
  box-shadow: none;
  text-decoration: underline;
  padding: 9px 13px;
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: var(--color-light);
  color: var(--color-primary);
  text-decoration: underline;
}


/* --------- COOKIE MODAL --------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,51,71,0.44);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s cubic-bezier(.53,.04,.32,.84);
  pointer-events: auto;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-dialog {
  background: var(--color-light);
  color: var(--color-dark);
  padding: 36px 28px 28px 28px;
  border-radius: var(--radius-main);
  max-width: 420px;
  min-width: 290px;
  box-shadow: var(--shadow-bold);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInModal 0.25s;
}
.cookie-modal-dialog h2 {
  font-size: 1.28rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 1.03rem;
  font-family: var(--font-body);
}
.cookie-category input[type='checkbox'] {
  width: 20px; height: 20px; accent-color: var(--color-secondary); }
.cookie-category input[disabled] { opacity: 0.65; }
.cookie-category .cookie-essential {
  font-weight: 700;
  color: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
  border: none;
  transition: background .17s, color .13s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus { background: var(--color-secondary); color: var(--color-primary); }


/* -------------------
   THANK YOU SECTION
------------------- */
.thank-you {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you .content-wrapper {
  align-items: center;
  gap: 16px;
  text-align: center;
}

.thank-you h1 { color: var(--color-secondary); }

/* -------------------
   UTILITY CLASSES
------------------- */
.d-none { display: none!important; }
.text-center { text-align: center; }
.w-100 { width: 100%!important; }

/* -------------------
   VISUAL BOLD ACCENTS
------------------- */
/* Geometric accent circles (add as decoration in hero, cards if desired) */
.accent-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.17;
  z-index: 0;
}
/* Example use only; add classes in HTML for true decoration */

/* -------------------
   OVERRIDES FOR COLOR CONTRAST IN TESTIMONIALS & REVIEW SECTIONS
------------------- */
.testimonials, .testimonial-card, .review-section, .testimonial-card p, .testimonial-card span, .testimonials h2 {
  background: none;
  color: var(--color-primary) !important;
}

/* ------ END OF STYLE ------ */
