/* ===================================================
   CSS RESET & NORMALIZATION (Mobile First)
=================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #19304A;
  background: #F5F6F7;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  margin: 0;
  padding: 0 0 0 24px;
}
li+li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  color: #19304A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p { margin-bottom: 12px; }
strong { font-weight: 700; }
em { font-style: italic; }

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

/* ================
   HEADER STYLES
================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(25,48,74,0.04);
  border-bottom: 1px solid #E6EAF0;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: none;
}
.main-nav a {
  margin: 0 12px;
  font-weight: 500;
  color: #19304A;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2EB472;
}
.cta-btn {
  background: #2EB472;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(46,180,114,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.2s;
  cursor: pointer;
  outline: none;
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #19304A;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(25,48,74,0.11);
  transform: translateY(-2px) scale(1.04);
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MOBILE MENU (Burger) */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  right: 20px;
  top: 18px;
  z-index: 99;
  height: 40px;
  width: 40px;
  border: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(25,48,74,0.09);
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #19304A;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
.mobile-menu-toggle:active {
  background: #F5F6F7;
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}
/* ==========
   MOBILE MENU
============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,48,74,0.97);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 20px; right: 24px;
  cursor: pointer;
  z-index: 101;
  outline: none;
}
.mobile-nav {
  margin-top: 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  width: 100%;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2EB472;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding-left: 8px;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================
   HERO SECTION
================== */
.hero {
  background: linear-gradient(120deg, #f5f6f7 65%, #e6eaf0 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 48px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: #19304A;
  margin-bottom: 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.hero .subheadline {
  font-size: 1.18rem;
  color: #3E5066;
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.4;
}

/* ================
   FEATURES/GRID
================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-card {
  flex: 1 1 290px;
  min-width: 270px;
  max-width: 350px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(25,48,74,0.06);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #E6EAF0;
}
.feature-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  filter: grayscale(25%);
}
.feature-card h3 {
  font-size: 1.19rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #19304A;
}
.feature-card p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #3E5066;
  min-height: 55px;
}
.feature-card .price {
  margin-top: auto;
  font-weight: 600;
  color: #2EB472;
  border-radius: 14px;
  font-size: 0.98rem;
  background: #F6FBF8;
  padding: 6px 14px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 6px 22px 0 rgba(25,48,74,0.12);
  transform: translateY(-3px) scale(1.03);
  z-index: 2;
  border-color: #C4D4E8;
}

/* == SECTION SPACING == */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.features, .services-list, .case-study-grid, .blog-list {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* == ABOUT/DIFFERENTIATOR == */
.about-section, .about, .values, .contact-snippet, .contact-details, .service-details, .confirmation-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(25,48,74,.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #3E5066;
  font-size: 1rem;
  max-width: 790px;
}
.text-section ul {
  padding-left: 24px;
  margin-bottom: 0;
}
.text-section ul li {
  margin-bottom: 4px;
}

/* ================
   TESTIMONIALS/CARDS
================== */
.testimonials, .testimonial-quotes {
  background: #F5F6F7;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonials h2, .testimonial-quotes h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  text-align: center;
}
.testimonial-slider, .testimonial-quotes .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.testimonial-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  min-width: 260px;
  max-width: 390px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(25,48,74,0.06);
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #E0E6EE;
  color: #19304A;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(25,48,74,0.12);
  transform: translateY(-2px) scale(1.025);
  z-index: 2;
}
.testimonial-card p {
  color: #19304A;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.97rem;
  color: #3E5066;
  flex-wrap: wrap;
}
.stars {
  color: #2EB472;
  margin-left: 7px;
  font-size: 1.05rem;
  letter-spacing: 1.2px;
  font-family: 'Montserrat',Arial,sans-serif;
}

/* ================
   CTA SECTION
================== */
.cta {
  background: #19304A;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 0;
}
.cta .container {
  align-items: center;
}
.cta h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}
.cta p {
  color: #C4D4E8;
  font-size: 1.13rem;
  margin-bottom: 20px;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta .cta-btn {
  background: #2EB472;
  color: #fff;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 24px;
  margin: 10px auto 0 auto;
  display: inline-block;
}
.cta .cta-btn:hover,
.cta .cta-btn:focus {
  background: #43A686;
  color: #fff;
}

/* ================
   FORMS
================== */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin-top: 10px;
}
label {
  font-size: 0.99rem;
  color: #19304A;
  font-weight: 500;
}
input[type="text"],
input[type="email"],
textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #C4D4E8;
  background: #F5F6F7;
  padding: 10px 14px;
  transition: border 0.15s, box-shadow 0.15s;
  margin-bottom: 2px;
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #2EB472;
  box-shadow: 0 0 0 2px rgba(46,180,114,.13);
}
button[type="submit"],
.newsletter-form button {
  background: #2EB472;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 10px 32px;
  font-size: 1.04rem;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.16s, transform 0.17s;
  margin-top: 10px;
}
button[type="submit"]:hover,
.newsletter-form button:hover {
  background: #19304A;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 2px 12px 0 rgba(25,48,74,0.08);
}
.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.newsletter-form input[type="email"] {
  flex: 1 1 160px;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .newsletter-form input[type="email"] {
    width: 100%;
  }
  .newsletter-form button {
    width: 100%;
  }
}

/* ================
   FOOTER
================== */
footer {
  background: #19304A;
  color: #fff;
  padding: 30px 0 18px 0;
  border-top: 2px solid #C4D4E8;
}
.footer-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #C4D4E8;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2EB472;
}
.brand-info {
  text-align: center;
  color: #A0B1C7;
  font-size: 0.98rem;
}

/* ================
   LEGAL SECTION
================== */
.legal-section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px 0 rgba(25,48,74,.05);
  color: #19304A;
}
.legal-section h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.legal-section h2 {
  font-size: 1.22rem;
  margin-top: 18px;
  margin-bottom: 9px;
  color: #19304A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.legal-section p, .legal-section ul {
  color: #3E5066;
  font-size: 1.01rem;
}

/* ================
   LAYOUT FLEX PATTERNS
================== */
.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: 1024px) {
  header .container {
    flex-direction: row;
    height: 64px;
    padding: 0 12px;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature-card {
    padding: 26px 16px 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  header .container {
    gap: 12px;
    height: 56px;
  }
  .main-nav {
    display: none !important;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-card {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 90%;
  }
  .text-image-section, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .cta {
    padding: 28px 0;
  }
  .cta h2, .cta p {
    text-align: center;
  }
  .section, section {
    padding: 26px 6px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .section, section, .about-section, .legal-section {
    padding: 18px 3px;
  }
  .feature-card, .testimonials, .testimonial-card {
    padding: 16px 8px;
  }
}

/* ================
   COOKIE CONSENT BANNER
================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #19304A;
  color: #fff;
  padding: 22px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 14px 0 rgba(25,48,74,0.16);
  z-index: 220;
  animation: cookiebanner-show 0.4s cubic-bezier(.48,.91,.54,1.16);
  font-size: 1rem;
}
@keyframes cookiebanner-show {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-banner button {
  min-width: 70px;
  background: #2EB472;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  padding: 6px 18px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.14s, transform 0.15s;
  box-shadow: 0 1px 6px 0 rgba(46,180,114,0.14);
}
.cookie-banner button.reject {
  background: #E14D4D;
}
.cookie-banner button.settings {
  background: #fff;
  color: #19304A;
  border: 1px solid #C4D4E8;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #43A686;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #c53434;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #F5F6F7;
  color: #2EB472;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,48,74,0.45);
  display: flex;
  z-index: 321;
  align-items: center;
  justify-content: center;
  animation: modalshow 0.3s cubic-bezier(.48,.91,.54,1.16);
}
@keyframes modalshow {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 2px rgba(25,48,74,0.19);
  max-width: 390px;
  width: 90vw;
  padding: 26px 20px 20px;
  color: #19304A;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  color: #19304A;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #2EB472;
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 16px; top: 18px;
  background: none;
  border: none;
  font-size: 1.36rem;
  color: #19304A;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: #2EB472; }
@media (max-width: 400px) {
  .cookie-modal {
    padding: 14px 4px 10px 4px;
  }
}

/* ================================
   UTILITY CLASSES AND MICRO-ANIMS
=================================== */
.mb-0 { margin-bottom: 0 !important; }  .mb-2 { margin-bottom: 2px !important; }  .mb-8 { margin-bottom: 8px !important; }  .mb-16 { margin-bottom: 16px !important; }  .mb-24 { margin-bottom: 24px !important; }  .mb-32 { margin-bottom: 32px !important; }  .fade-in {
  animation: fadein 0.8s cubic-bezier(.53,.03,.15,1) 0.06s 1;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* =============================
   BRANDING: FONTS (Web-safe fallback for demo)
============================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400|Roboto:400,500,700&display=swap');

/* =============================
   NO ABSOLUTE CONTENT LAYOUTS
============================= */
/* Only strictly for icons/buttons allowed above */

/* =============================
   ACCESSIBILITY
============================= */
:focus {
  outline: 2px solid #2EB472;
  outline-offset: 1px;
}

/* =============================
   END
============================= */
