/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #14213D;
  background: #FAFAFA;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #FCA311;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #14213D;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
strong, b {
  font-weight: 700;
}
.btn, .cta-btn, button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: #FCA311;
  color: #14213D;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(20,33,61,0.04);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  display: inline-block;
}
.btn:hover, .cta-btn:hover, button:hover {
  background: #14213D;
  color: #FCA311;
  box-shadow: 0 6px 24px 0 rgba(20, 33, 61, 0.13);
  transform: translateY(-2px) scale(1.025);
}
.container {
  width: 100%;
  padding: 0 18px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: #14213D;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1.18;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1.07rem;
  color: #14213D;
  font-weight: 400;
  margin-bottom: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER NAVIGATION */
header {
  width: 100%;
  background: #FAFAFA;
  border-bottom: 3.5px solid #FCA311;
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.08);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}
header nav a {
  color: #14213D;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #FCA311;
  border-bottom: 2px solid #FCA311;
}
.cta-btn {
  background: #FCA311;
  color: #14213D;
  margin-left: 24px;
  font-size: 1.09rem;
  box-shadow: 0 2px 8px 0 rgba(252,163,17,0.10);
}
.cta-btn:focus {
  outline: 2px solid #14213D;
  outline-offset: 2px;
}

/* BURGER MENU */
.mobile-menu-toggle {
  position: fixed;
  right: 22px;
  top: 18px;
  z-index: 101;
  display: none;
  background: #FCA311;
  color: #14213D;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(20,33,61,0.14);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.19s, transform 0.10s;
}
.mobile-menu-toggle:active {
  background: #14213D;
  color: #FCA311;
  transform: scale(0.97);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #14213D;
  color: #FAFAFA;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.41,0.26,0.31,1);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 6px 0 32px rgba(20,33,61,0.22);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  margin: 18px 30px 6px 0;
  background: none;
  border: none;
  color: #FCA311;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:focus {
  outline: 2px solid #FCA311;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 35px 0 45px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #FAFAFA;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FCA311;
  background: rgba(252, 163, 17, 0.08);
  border-bottom: 2px solid #FCA311;
}

@media (max-width: 1023px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding-top: 1.4em;
  }
  .mobile-nav {
    padding: 26px 18px 0 25px;
  }
}

/* HERO SECTION */
.hero, .blog-hero {
  background: #14213D;
  color: #FAFAFA;
  position: relative;
  border-radius: 0 0 36px 36px;
  margin-bottom: 44px;
  box-shadow: 0 6px 26px -6px rgba(20,33,61,0.13);
}
.hero .container, .blog-hero .container {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1, .blog-hero h1 {
  color: #FCA311;
  font-size: 2.35rem;
  margin-bottom: 18px;
}
.hero .cta-btn, .blog-hero .cta-btn {
  background: #FCA311;
  color: #14213D;
  margin-top: 18px;
}
.hero p, .blog-hero p {
  color: #FFF;
  max-width: 600px;
}

/* FEATURES & CARDS */
.features-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 10px 0;
}
.features-grid > div, .blog-post-card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(20,33,61,0.10);
  padding: 32px 22px 26px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  border: 3px solid #FCA31122;
  position: relative;
  transition: box-shadow 0.23s, transform 0.15s;
}
.features-grid > div:hover, .blog-post-card:hover {
  box-shadow: 0 12px 32px 0 rgba(20,33,61,0.16);
  transform: translateY(-3px) scale(1.014);
}
.features-grid img, .blog-post-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 3px;
}

/* CTA SECTION */
.cta {
  background: #FCA311;
  border-radius: 22px;
  box-shadow: 0 6px 25px rgba(252,163,17,0.22);
  margin-bottom: 48px;
  color: #14213D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 48px 22px;
  text-align: center;
}
.cta h2 {
  color: #14213D;
  margin-bottom: 11px;
}
.cta .cta-btn {
  margin-top: 19px;
  background: #14213D;
  color: #FCA311;
  font-size: 1.12rem;
}
.cta .cta-btn:hover {
  background: #FFF;
  color: #14213D;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #FFF;
  color: #14213D;
  box-shadow: 0 2px 18px rgba(40,32,33,0.10);
  border-radius: 22px;
  border: 3px solid #FCA31133;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 250px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.19s;
}
.testimonial-card:before {
  content: '"';
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 3.5rem;
  color: #FCA31177;
  position: absolute;
  left: 18px;
  top: 10px;
  z-index: 1;
}
.testimonial-card p {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.testimonial-card div {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  color: #14213D;
  opacity: 0.88;
  position: relative;
  z-index: 2;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(252,163,17,0.19);
  border-color: #FCA311;
  transform: translateY(-2px) scale(1.018);
}

/* FOOTER */
footer {
  background: #14213D;
  color: #FAFAFA;
  padding: 36px 0 14px 0;
  margin-top: 56px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 12px rgba(20,33,61,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #FCA311;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.19s, text-decoration 0.19s;
  text-decoration: underline dashed transparent 2.5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFF;
  text-decoration: underline solid #FCA311 2.5px;
}
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.45;
}
.footer-contact img {
  width: 38px;
  height: 38px;
  margin-right: 12px;
}

/* BLOG PAGE SPECIFIC */
.blog-list {
  /* already flexbox */
  gap: 24px;
  margin-bottom: 22px;
}
.blog-post-card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(20,33,61,0.08);
  padding: 24px 20px 18px 20px;
  flex: 1 1 280px;
  min-width: 225px;
  margin-bottom: 20px;
  border: 2.5px solid #FCA31119;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.12s;
  position: relative;
}
.read-more {
  margin-top: 8px;
  font-size: 1.03rem;
  color: #FCA311;
  border-bottom: 2px solid #FCA31144;
  font-weight: 700;
  transition: color 0.15s, border-bottom 0.14s;
}
.read-more:hover {
  color: #14213D;
  border-bottom: 2px solid #14213D;
}
.categories-filter {
  margin-top: 10px;
  font-size: 1.01rem;
  color: #14213D88;
}
.categories-filter a {
  color: #14213D77;
  font-weight: 700;
  margin-left: 3px;
  margin-right: 3px;
  text-decoration: underline; 
  transition: color 0.13s;
}
.categories-filter a:hover, .categories-filter a:focus {
  color: #FCA311;
  text-decoration: underline solid #FCA311 2px;
}

/* TEAM & FEATURED ITEMS */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-member {
  background: #FFF;
  border: 2.5px solid #FCA31122;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(20,33,61,0.07);
  padding: 26px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 235px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 16px;
  padding: 24px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 6px rgba(20,33,61,0.06);
}

/* FAQ, MAP, CONTACT */
.faq ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-details img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
}
.map {
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map img {
  width: 98%;
  max-width: 360px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(20,33,61,0.15);
}

/* SPECIAL LISTS */
.success-stories, .success-metrics, .before-after-stories {
  background: #FFF;
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(20,33,61,0.09);
}

/* CARD CONTAINER FLEX LAYOUT */
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 11px rgba(20,33,61,0.07);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
}


/* TEXT + IMAGE SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* RESPONSIVE FLEX ADJUSTMENTS */
@media (max-width: 900px) {
  .features-grid, .blog-list, .card-container, .team-list, .content-grid {
    gap: 14px;
  }
  .testimonial-slider {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .hero .container, .blog-hero .container {
    padding: 22px 0;
    min-height: 210px;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.49rem;
  }
  .features-grid, .blog-list, .content-grid, .card-container, .team-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 23px 7px;
  }
  .cta {
    padding: 32px 6px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .features-grid > div, .blog-post-card, .card, .team-member {
    padding: 16px 10px 13px 10px;
    border-radius: 11px;
  }
  .testimonial-card {
    padding: 16px 10px 16px 24px;
    border-radius: 14px;
  }
  .footer-nav {
    gap: 10px;
    flex-direction: column;
  }
}

/* MICRO-INTERACTIONS / ANIMATIONS */
.section, .card, .features-grid > div, .testimonial-card, .team-member, .blog-post-card, .success-stories, .success-metrics, .before-after-stories {
  transition: box-shadow 0.18s, transform 0.12s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4001;
  background: #14213D;
  color: #FAFAFA;
  box-shadow: 0 -2px 18px rgba(20,33,61,0.12);
  padding: 24px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: slideUpCookie 0.35s cubic-bezier(0.5,0.2,0.33,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}
.cookie-banner strong {
  color: #FCA311;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-btn {
  background: #FCA311;
  color: #14213D;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 0;
  transition: background 0.13s, color 0.12s, transform 0.1s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FAFAFA;
  color: #FCA311;
  outline: none;
}
.cookie-btn-outline {
  background: transparent;
  color: #FCA311;
  border: 2px solid #FCA311;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn-outline:hover {
  background: #FCA311;
  color: #14213D;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,33,61,0.63);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.28s cubic-bezier(0.47,0.17,0.37,1);
}
@keyframes fadeInModal {
  from { opacity:0;}
  to { opacity:1;}
}
.cookie-modal {
  background: #FAFAFA;
  color: #14213D;
  border-radius: 24px;
  box-shadow: 0 10px 44px rgba(20,33,61,0.22);
  padding: 32px 26px 28px 32px;
  min-width: 300px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: fadeInModal 0.32s cubic-bezier(0.53,0.21,0.29,1);
  position: relative;
  z-index: 4201;
}
.cookie-modal h2 {
  color: #14213D;
  font-size: 1.35rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 13px;
  background: none;
  border: none;
  color: #14213D;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid #FCA31122;
  font-size: 1rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 25px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 44px;
  height: 25px;
  margin: 0;
}
.cookie-slider {
  position: absolute;
  left: 0; top: 0;
  width: 43px;
  height: 25px;
  border-radius: 14px;
  background: #FCA31144;
  transition: background 0.14s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #FCA311;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 2px rgba(20,33,61,0.07);
  transition: transform 0.15s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-category .desc {
  font-size: 0.99rem;
  color: #14213DBB;
  margin-left: 6px;
}
.cookie-category .essential {
  color: #14213D;
  font-weight: 700;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .cookie-modal {
    min-width: 0;
    max-width: 97vw;
    padding: 15px 6px 11px 13px;
    border-radius: 10px;
    font-size: 0.98rem;
  }
  .cookie-banner {
    padding: 13px 4px 13px 2px;
    font-size: 0.98rem;
    border-radius: 0;
  }
}

/* UTILITIES: SPACING & CONSISTENCY */
.section, .features-grid, .testimonial-card, .card, .content-grid, .team-list, .blog-list, .footer-nav {
  margin-bottom: 20px;
}
/* Mandatory space between cards */
.card, .features-grid > div, .testimonial-card, .team-member, .blog-post-card {
  margin-bottom: 20px !important;
}
.card-container, .card-grid, .content-grid {
  gap: 24px !important;
  margin-bottom: 20px !important;
}
.text-image-section {
  gap: 30px !important;
}

/* FOCUS STYLE */
:focus-visible, .cta-btn:focus, .cookie-btn:focus {
  outline: 2.5px solid #FCA311;
  outline-offset: 2px;
  background: #FFF5E5;
}

/* FORMS (for contact in the future, if present) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  background: #FFF;
  border: 2px solid #FCA31155;
  border-radius: 8px;
  padding: 10px 13px;
  margin-bottom: 16px;
  transition: border 0.14s;
  color: #14213D;
}
input:focus, textarea:focus, select:focus {
  border-color: #FCA311;
  outline: none;
}

/* PRINT BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
