/* ================================================== */
/* RESET & BASELINE NORMALIZATION                    */
/* ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #19394B;
  background: #F7FAFC;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
a {
  color: #24546A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #D97E2F;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
}
strong, b {
  font-weight: bold;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 0;
}

/* =============================================== */
/* BRAND FONTS & HEADINGS                         */
/* =============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #24546A;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #D97E2F 30%, #24546A 90%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 16px;
}


/* =============================== */
/* FLEX LAYOUTS (MANDATORY)        */
/* =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(36,84,106,0.10);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 40px 0 rgba(217,126,47,0.16);
}
.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;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(36,84,106,0.10);
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 300px;
  max-width: 480px;
  transition: box-shadow 0.15s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(217,126,47,0.16);
  transform: scale(1.04);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Feature grids, cards etc.: creative styling */
.feature-grid, .service-cards, .service-list, .support-cards, .values-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div, .service-cards > div, .service-list > div, .support-cards > div, .values-grid > div, .blog-list > article {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(36,84,106,0.06);
  padding: 22px 20px 16px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s, box-shadow 0.16s;
}
.feature-grid > div:hover, .service-cards > div:hover, .service-list > div:hover, .support-cards > div:hover, .values-grid > div:hover, .blog-list > article:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 40px 0 rgba(217,126,47,0.09);
}

/* ========================================= */
/* HERO SECTION                             */
/* ========================================= */
.hero {
  display: flex;
  align-items: center;
  min-height: 280px;
  padding: 45px 0 40px 0;
  background: #24546A;
  background-image:
    repeating-linear-gradient(-75deg,rgba(217,126,47,.08) 0,rgba(217,126,47,0.03) 14px,transparent 20px, transparent 48px);
}
.hero h1 {
  color: #fff;
  background: linear-gradient(90deg,#fff 20%,#D97E2F 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero p {
  color: #FAF2EA;
  font-size: 1.18rem;
  margin-bottom: 32px;
}
.hero .btn-primary {
  margin-top: 7px;
}

/* ========================================= */
/* HEADER                                   */
/* ========================================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,84,106,0.07);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 4px 0 2px 0;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: #D97E2F;
  border-bottom: 2px solid #D97E2F;
}
.btn-primary {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  background: #D97E2F;
  color: #fff !important;
  border: none;
  border-radius: 100px;
  padding: 11px 30px;
  margin-left: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 16px 0 rgba(217,126,47,0.15);
  cursor: pointer;
  transition: background .15s, box-shadow .2s, color .18s, transform 0.12s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B25A11;
  color: #fff !important;
  box-shadow: 0 8px 32px 0 rgba(217,126,47,0.2);
  transform: scale(1.04);
}
.btn-secondary {
  background: #24546A;
  color: #fff;
  border-radius: 100px;
  padding: 10px 28px;
  border: none;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  transition: background .15s, box-shadow .2s, color .18s, transform 0.15s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #19394B;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(36,84,106,0.18);
  transform: scale(1.05);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #24546A;
  background: none;
  border: none;
  padding: 7px 10px 7px 12px;
  cursor: pointer;
  z-index: 101;
  transition: background .15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D97E2F;
}

/* ================================== */
/* MOBILE MENU (BURGER NAVIGATION)    */
/* ================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,84,106,0.97);
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.39,0.58,0.57,1), opacity 0.27s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 28px 0 0;
  background: none;
  font-size: 2.3rem;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 2px 10px;
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(217,126,47,0.10);
  border-radius: 50%;
  outline: 2px solid #D97E2F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 50px 36px 32px 32px;
  width: 100%;
  margin-top: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 0 3px 0;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color .2s, border 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D97E2F;
  border-bottom: 2px solid #D97E2F;
}

/* =============================== */
/* TESTIMONIALS (HIGH CONTRAST)    */
/* =============================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 24px;
}
.testimonial-card {
  background: #fff;
  color: #24546A;
  box-shadow: 0 4px 24px 0 rgba(36,84,106,0.10);
}
.testimonial-card .author {
  color: #B25A11;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-card .stars {
  color: #D97E2F;
  font-size: 1.40rem;
}

/* Elevate images in testimonial cards */
.testimonial-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #FFF, 0 2px 12px 0 rgba(36,84,106,0.07);
  background: #F7FAFC;
}

/* =============================== */
/* BLOG LIST + HIGHLIGHT           */
/* =============================== */
.blog-list {
  gap: 24px;
}
.blog-list article {
  box-shadow: 0 2px 12px 0 rgba(36,84,106,0.04);
  min-width: 240px;
  flex: 1 1 280px;
  border-radius: 16px;
  background: #fff;
  padding: 20px 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-cta {
  color: #D97E2F;
  font-weight: 700;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  margin-top: 6px;
  font-size: 1.01rem;
}
.blog-cta:hover {
  color: #24546A;
}
.featured-article {
  background: #24546A;
  color: #fff;
  border-radius: 18px;
  padding: 24px 22px 18px 22px;
  margin-top: 23px;
  box-shadow: 0 3px 20px 0 rgba(36,84,106,.10);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.featured-article h4 {
  font-size: 1rem;
  color: #D97E2F;
  margin-bottom: 10px;
  font-weight: 700;
}
.featured-article h3 {
  color: #fff;
  margin-bottom: 12px;
}

/* =============================== */
/* FAQ ACCORDION                   */
/* =============================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion h3 {
  cursor: pointer;
  color: #D97E2F;
  font-size: 1.05rem;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 0;
  transition: color .13s;
}
.faq-accordion p {
  margin-left: 12px;
  margin-bottom: 8px;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  color: #24546A;
}


/* =============================== */
/* SECTIONS & SPACING              */
/* =============================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 1200px) {
  .container {
    width: 97%;
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}

/* =========================== */
/* FOOTER                      */
/* =========================== */
footer {
  background: #24546A;
  color: #fff;
  padding: 44px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.06rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #fff;
}
.footer-nav a {
  color: #fff;
  opacity: 0.95;
  transition: color .15s, opacity .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D97E2F;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  color: #FAF2EA;
}
.footer-contact img {
  margin-right: 7px;
  vertical-align: middle;
  height: 20px;
  width: 20px;
}
.footer-copy {
  font-size: 0.95rem;
  color: #B2C3CE;
  text-align: center;
  margin-top: 12px;
}

/* ============================== */
/* FORMS & NEWSLETTER CTA         */
/* ============================== */
input, textarea, select {
  border: 1.5px solid #B2C3CE;
  border-radius: 9px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: #1a3a4b;
  margin-bottom: 17px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #D97E2F;
  border-color: #D97E2F;
}

/* ============================== */
/* COOKIE CONSENT BANNER          */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: #24546A;
  color: #fff;
  padding: 24px 10px 24px 20px;
  box-shadow: 0 -2px 24px rgba(36,84,106,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.5,0.07,0.2,1),opacity 0.3s;
  opacity: 1;
  transform: translateY(0%);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-msg {
  flex: 1 1 340px;
  font-size: 1rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 100px;
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 600;
  transition: background .16s, color .16s, box-shadow .21s;
  margin-right: 0;
}
.cookie-banner .accept {
  background: #D97E2F;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(217,126,47,0.16);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #B25A11;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #24546A;
  box-shadow: 0 2px 12px 0 rgba(36,84,106,0.09);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #D97E2F;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #fff;
  color: #24546A;
}

/* Cookie modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2001;
  background: rgba(25,57,75,0.65);
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInModal 0.35s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #24546A;
  width: 95%;
  max-width: 410px;
  border-radius: 22px;
  box-shadow: 0 6px 40px 0 rgba(36,84,106,0.19);
  padding: 34px 24px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideModalIn 0.43s cubic-bezier(.42,1.42,.58,.99);
}
@keyframes slideModalIn {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px; right: 20px;
  background: none;
  font-size: 2rem;
  color: #24546A;
  border: none;
  cursor: pointer;
  padding: 1px 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-category-row label[data-locked] {
  opacity: .7;
  font-style: italic;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 27px;
}
/* Toggle switch styling */
.cookie-toggle {
  position: relative;
  width: 36px; height: 22px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #B2C3CE;
  border-radius: 50px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: background .25s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #D97E2F;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(14px);
}

/* ============================== */
/* LISTS, ICONS, MISC             */
/* ============================== */
ul, ol {
  margin-bottom: 16px;
}
ul li {
  margin-bottom: 8px;
  list-style: disc inside;
}
.text-section ul {
  padding-left: 25px;
}
.text-section {
  margin-bottom: 18px;
}

/* Highlight creative accent in sections/headers */
h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: #D97E2F;
  border-radius: 2px;
  margin: 12px 0 6px 0;
}
h2 {
  position: relative;
  padding-bottom: 8px;
}
.section h2::after {
  margin-left: 0;
}

/* =============================== */
/* RESPONSIVE DESIGN               */
/* =============================== */
@media (max-width: 968px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-cards,
  .service-list,
  .support-cards,
  .values-grid,
  .card-container,
  .blog-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  .hero {
    padding: 26px 0 28px 0;
    min-height: 180px;
  }
  .feature-grid,
  .service-cards,
  .service-list,
  .support-cards,
  .values-grid,
  .card-container,
  .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 17px;
  }
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .section, section {
    padding: 22px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card {
    padding: 21px 13px;
  }
  .blog-list article {
    min-width: 0;
    padding: 14px 10px;
  }
  .featured-article {
    padding: 10px 10px 8px 13px;
    font-size: 0.98rem;
  }
  .mobile-nav {
    padding: 40px 19px 19px 21px;
    gap: 18px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 16px 11px 12px 14px;
  }
  .cookie-modal .close-modal {
    top: 8px; right: 11px;
  }
}

/* Extra narrow mobile adjustments */
@media (max-width: 520px) {
  .container {
    padding: 0 3px;
  }
  .card, .testimonial-card, .featured-article, .blog-list article {
    padding: 11px 6px;
  }
}

/* =============================== */
/* ARTISTIC MICRO-EFFECTS          */
/* =============================== */
.card, .feature-grid > div, .service-cards > div, .values-grid > div, .blog-list > article {
  position: relative;
  overflow: hidden;
}
.card::before, .feature-grid > div::before, .service-cards > div::before, .values-grid > div::before, .blog-list > article::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 60px; height: 60px;
  background: rgba(217,126,47,0.10);
  border-radius: 50%;
  z-index: 0;
  filter: blur(1.5px);
}
.card::after, .feature-grid > div::after, .service-cards > div::after, .values-grid > div::after, .blog-list > article::after {
  content: '';
  position: absolute;
  bottom: -25px; right: -25px;
  width: 44px; height: 44px;
  background: rgba(36,84,106,0.07);
  border-radius: 100%;
  z-index: 0;
  filter: blur(1.0px);
}

/* =============================== */
/* CREATIVE ACCENT BORDERS         */
/* =============================== */
.card, .feature-grid > div, .service-cards > div, .values-grid > div, .blog-list > article {
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 1px 8px 0 rgba(36,84,106,0.08);
  transition: border-color 0.15s;
}
.card:hover, .feature-grid > div:hover, .service-cards > div:hover, .values-grid > div:hover, .blog-list > article:hover {
  border-color: #D97E2F;
}

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