/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF9F4;
  color: #324050;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
a {
  color: #20406B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #F7B32B;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 12px;
}

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #20406B;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, .service-price {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #324050;
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
  color: #20406B;
}


/* --- LAYOUT --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(231, 151, 50, 0.10);
  padding: 28px 24px;
  flex: 1 1 320px;
  min-width: 270px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(31,82,193,0.10),0 2px 8px #F7B32B44;
}

.content-grid,
.feature-grid,
.service-list,
.service-grid,
.blog-feed,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
@media (max-width: 900px) {
  .content-grid,
  .feature-grid,
  .service-list,
  .service-grid,
  .blog-feed,
  .testimonial-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .feature-grid,
  .service-list,
  .service-grid,
  .blog-feed,
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(247,179,43,0.06);
  padding: 24px 20px;
  min-width: 210px;
  max-width: 340px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fffdfa;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(32,64,107,0.09);
  padding: 28px 28px 20px 28px;
  min-width: 260px;
  max-width: 390px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #414A57;
  margin-bottom: 6px;
  text-align: center;
}
.testimonial-card strong {
  color: #ce8902;
  font-size: 1.02rem;
  font-weight: 700;
}
.stars {
  color: #F7B32B;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px #F7B32B33, 0 2px 12px #20406B19;
}

/* --- HERO --- */
.hero {
  background: #fffdfa;
  border-bottom: 4px solid #F7B32B22;
  padding: 60px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #20406B;
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.hero p {
  color: #324050;
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 22px 0;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}

.cta {
  background: #FFF3E4;
  border-radius: 24px;
  margin: 45px 0 0 0;
  box-shadow: 0 2px 16px #F7B32B18;
  padding: 40px 0 36px 0;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  margin-bottom: 10px;
  margin-top: 0;
}
.cta p {
  margin-bottom: 16px;
}

/* --- BUTTONS --- */
.btn-primary {
  background: #F7B32B;
  color: #20406B;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 13px 32px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.19s, color 0.19s;
  box-shadow: 0 2px 12px #F7B32B19;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-top: 10px;
  text-align: center;
  outline: none;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #20406B;
  color: #fff;
  box-shadow: 0 4px 18px #20406B1a;
}
.btn-secondary {
  background: #fff;
  color: #20406B;
  border: 2px solid #F7B32B;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 22px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, border 0.19s;
  margin-top: 8px;
  box-shadow: 0 2px 6px #F7B32B13;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F7B32B;
  color: #20406B;
  border: 2px solid #20406B;
}

button,
input[type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  box-shadow: 0 2px 8px #20406B10;
  background: #fffdfa;
  border-bottom: 3px solid #F7B32B22;
  position: relative;
  z-index: 1010;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px 14px 20px;
  position: relative;
}
.main-nav img {
  height: 40px;
  border-radius: 7px;
  margin-right: 16px;
}
.main-nav a {
  color: #20406B;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 16px;
  transition: color 0.17s, background 0.17s;
  margin-right: 0;
}
.main-nav a:hover:not(.btn-primary), .main-nav a:focus:not(.btn-primary) {
  color: #fff;
  background: #F7B32B;
}
.main-nav .btn-primary {
  margin-left: 18px;
  font-size: 1rem;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F7B32B;
    color: #20406B;
    font-size: 2rem;
    border: none;
    border-radius: 22px;
    width: 46px;
    height: 46px;
    position: absolute;
    right: 24px;
    top: 16px;
    cursor: pointer;
    z-index: 1051;
    transition: background 0.17s, color 0.17s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #20406B;
    color: #F7B32B;
    outline: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 97vw;
  max-width: 380px;
  height: 100vh;
  background: #fffdfa;
  z-index: 1200;
  transform: translateX(105%);
  transition: transform 0.36s ease;
  box-shadow: -2px 0 30px #20406B29;
  padding: 0 0 0 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F7B32B;
  color: #20406B;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 22px;
  right: 20px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.13s, color 0.13s;
  z-index: 1301;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #20406B;
  color: #F7B32B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 80px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #20406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 15px;
  margin-right: 0;
  transition: background .17s, color .17s;
  min-width: 70%;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7B32B;
  color: #20406B;
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay for mobile menu (slide effect) */
.mobile-menu-overlay {
  content: '';
  display: block;
  z-index: 1190;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32,64,107,.25);
  transition: opacity .3s;
  opacity: 1;
}

/* --- BLOG & SEARCH COMPONENTS --- */
.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.blog-actions input[type="text"] {
  font-size: 1rem;
  border: 1.5px solid #F7B32B66;
  border-radius: 18px;
  padding: 10px 16px;
  background: #fffdfa;
  transition: border 0.15s;
  outline: none;
  min-width: 210px;
  box-shadow: 0 2px 6px #F7B32B11;
}
.blog-actions input[type="text"]:focus {
  border: 1.5px solid #F7B32B;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
}
.category-list a {
  background: #F7B32B22;
  color: #20406B;
  padding: 7px 16px;
  border-radius: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.14s, color 0.14s;
}
.category-list a:hover, .category-list a.active {
  background: #F7B32B;
  color: #fff;
}

.blog-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-feed article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #20406B0a;
  padding: 24px 20px 20px 20px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s;
}
.blog-feed article h3 {
  margin-bottom: 6px;
  font-size: 1.14rem;
}
.blog-feed article a {
  color: #61B5E6;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 6px;
  transition: color 0.14s;
}
.blog-feed article a:hover {
  color: #F7B32B;
  text-decoration: underline;
}
.blog-feed article:hover {
  box-shadow: 0 5px 20px #F7B32B1b, 0 2px 8px #20406B12;
}

/* --- SERVICES & FEATURE GRIDS --- */
.feature-grid > div,
.service-list > div,
.service-grid > div {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 10px #20406B0a, 0 2px 8px #F7B32B09;
  padding: 28px 20px 18px 20px;
  flex: 1 1 235px;
  min-width: 215px;
  max-width: 335px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, border 0.15s;
  margin-bottom: 0;
}
.feature-grid > div:hover,
.service-list > div:hover,
.service-grid > div:hover {
  box-shadow: 0 5px 22px #F7B32B1b, 0 2px 14px #20406B13;
  border: 1.5px solid #F7B32B44;
}
.feature-grid img, .service-list img, .service-grid img {
  height: 44px;
  width: 44px;
  border-radius: 10px;
  background: #FFF3E4;
  padding: 5px;
}
.service-price {
  color: #F7B32B;
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 7px;
}

/* --- CASE STUDIES & SPECIAL SECTIONS --- */
.case-studies, .detailed-services {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.case-study {
  background: #fffdfa;
  border-radius: 16px;
  box-shadow: 0 2px 10px #20406B12, 0 2px 8px #F7B32B09;
  padding: 22px 16px;
}
.result-stats {
  margin: 19px 0 7px 0;
  padding-left: 32px;
  color: #20406B;
}

.experience-stats ul,
.usp ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: disc inside;
}
.experience-stats li,
.usp li {
  background: #F7B32B15;
  border-radius: 9px;
  padding: 7px 12px;
  color: #20406B;
  font-size: 0.97rem;
  font-weight: 500;
  margin-bottom: 0;
}

/* --- CONTACT & FORMS --- */
.contact-info-highlight {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 10px #F7B32B10;
  padding: 22px 18px;
  margin: 11px 0 0 0;
}
.contact-info-highlight a {
  text-decoration: underline;
  color: #20406B;
}
.contact-info-highlight a:hover {
  color: #F7B32B;
}
.contact-form-info {
  background: #FFF3E4;
  border-radius: 15px;
  padding: 14px 14px;
  box-shadow: 0 2px 7px #F7B32B10;
  margin-top: 10px;
}

/* --- FOOTER --- */
footer {
  background: #fffdfa;
  border-top: 3px solid #F7B32B18;
  padding: 38px 20px 15px 20px;
  margin-top: 60px;
  box-shadow: 0 -2px 8px #20406B10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #20406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 700;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #F7B32B;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 4px;
}
.footer-brand img {
  height: 36px;
  width: 36px;
  border-radius: 7px;
}
.footer-brand span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20406B;
  font-size: 1.06rem;
  font-weight: 600;
}
footer small {
  color: #5b6878;
  font-size: 0.97rem;
}
@media (max-width: 700px) {
  footer {
    padding: 28px 8px 12px 8px;
    gap: 12px;
  }
  .footer-nav {
    gap: 13px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
}

/* --- THANK YOU SECTION --- */
.thank-you {
  padding: 80px 0 70px 0;
  background: #FFF3E4;
  border-radius: 32px;
  margin: 35px 0 35px 0;
  box-shadow: 0 2px 14px #F7B32B12;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #fffdfa;
  color: #20406B;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 22px 20px 24px 20px;
  box-shadow: 0 -2px 12px #20406B22;
  z-index: 1500;
  gap: 24px;
  font-size: 1rem;
  border-radius: 14px 14px 0 0;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(105%);
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #F7B32B;
  color: #20406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 10px 20px;
  border: none;
  border-radius: 24px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #20406B;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #20406B;
  border: 2px solid #F7B32B;
  margin-left: 5px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #F7B32B;
  color: #20406B;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 9px 18px 9px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2450;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,107,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.24s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 6px 32px #20406B29;
  padding: 31px 24px 25px 24px;
  position: relative;
  z-index: 2460;
  animation: cookiePopIn 0.25s;
}
@keyframes cookiePopIn {
  0% { opacity: 0; transform: translateY(48px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 7px;
  color: #20406B;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 13px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid #f0e6d9;
  padding-bottom: 9px;
  gap: 14px;
}
.cookie-modal li:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #324050;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 40px;
  height: 23px;
  border-radius: 19px;
  background: #F7B32B44;
  border: 1.5px solid #F7B32B99;
  position: relative;
  transition: background 0.13s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s;
  box-shadow: 0 2px 4px #F7B32B33;
}
.cookie-toggle input:checked ~ .cookie-toggle-slider {
  left: 19px;
  background: #F7B32B;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #F7B32B;
  color: #20406B;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  background: #20406B;
  color: #fff;
}

/* --- SCROLLBARS --- */
body::-webkit-scrollbar {
  width: 14px;
  background: #FFF3E4;
}
body::-webkit-scrollbar-thumb {
  background: #F7B32B77;
  border-radius: 12px;
}

/* --- HELPERS & UTILITIES --- */
.text-section {
  padding: 12px 0 0 0;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a, .category-list a,
input[type="text"], .cookie-banner button, .cookie-toggle-slider, .testimonial-card, .card, .feature-grid > div, .service-list > div, .service-grid > div, .blog-feed article {
  transition: background 0.16s, color 0.14s, box-shadow 0.18s, border 0.17s, transform 0.16s;
}
.testimonial-card:hover, .card:hover, .feature-grid > div:hover, .service-list > div:hover, .service-grid > div:hover, .blog-feed article:hover {
  transform: translateY(-3px) scale(1.02);
}

/* --- RESPONSIVE UTILITY --- */
@media (max-width: 576px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.02rem; }
  .container {
    padding: 0 7px;
  }
}

/* --- IMPORTANT: FLEXBOX ONLY! NO GRID/COLUMNS --- */
/* --- No display: grid, grid-*, columns or column-count anywhere --- */
