/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F8F8F2;
  color: #2E2E2E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A365D;
  text-decoration: none;
  transition: color .2s;
  font-weight: 500;
}
a:hover,
a:focus {
  color: #E6B800;
}
ul, ol {
  list-style: none;
}
button, input, textarea {
  font-family: inherit;
  outline: none;
}

/* FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A365D;
  font-weight: 700;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: #D27D2D;
}

/* CONTAINER & WRAPPERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* LAYOUT - SECTIONS & FLEX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(226,184,0,.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(218,180,61,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
}
.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;
  background: #FFF6E6;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(205,158,50,.12);
  margin-bottom: 24px;
  color: #2E2E2E;
  transition: box-shadow .2s;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  font-style: italic;
  border-left: 5px solid #FFD780;
  padding-left: 16px;
  margin-right: 10px;
  color: #1A365D;
}
.testimonial-card p {
  margin: 0;
  font-size: 1rem;
  color: #444;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(230,184,0,0.05);
  padding: 16px 18px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #FFEDD6 0%, #FFF6E6 80%, #FFFFFF 100%);
  padding: 64px 0 56px 0;
  margin-bottom: 50px;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.25rem;
  color: #1A365D;
}
.hero p {
  max-width: 600px;
  margin-bottom: 16px;
  font-size: 1.14rem;
}

/* NAVIGATION & HEADER */
header {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(220,150,20,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 16px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
header nav a.cta-primary {
  background: #E6B800;
  color: #fff;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  box-shadow: 0 2px 8px rgba(230,184,0,0.14);
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: #D27D2D;
  color: #fff;
}
header nav a:hover:not(.cta-primary),
header nav a:focus:not(.cta-primary) {
  background: #FFF6E6;
  color: #D27D2D;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #FFD780;
  border: none;
  font-size: 2rem;
  padding: 6px 16px 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  line-height: 1;
  color: #1A365D;
  transition: background .18s;
  z-index: 1201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E6B800;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 5px 40px rgba(230, 184, 0, 0.15);
  z-index: 1200;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.36,1.26,.71,.93);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #D27D2D;
  align-self: flex-end;
  margin: 12px 24px 10px 0;
  cursor: pointer;
  transition: color .18s;
  z-index: 1202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E6B800;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 18px;
  padding-left: 28px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #1A365D;
  font-weight: 600;
  padding: 8px 0;
  transition: color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #D27D2D;
}

/* BLOG SEARCH & CATEGORIES */
.blog-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 20px 0 22px 0;
}
.blog-search input[type="text"] {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #FFD780;
  font-size: 1rem;
  transition: border .18s;
  width: 200px;
}
.blog-search input:focus {
  border-color: #E6B800;
}
.blog-search button {
  background: #E6B800;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .18s;
}
.blog-search button:hover,
.blog-search button:focus {
  background: #D27D2D;
}
.blog-categories {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
}
.blog-categories a {
  background: #FFF6E6;
  color: #D27D2D;
  border-radius: 10px;
  padding: 5px 14px;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  background: #FFD780;
  color: #fff;
}

/* BLOG TEASERS */
.blog-post-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.blog-post-teasers article {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(226,184,0,0.06);
  padding: 20px 22px 18px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-post-teasers article h2 {
  font-size: 1.25rem;
  color: #D27D2D;
  margin-bottom: 8px;
}
.blog-post-teasers article p {
  font-size: 1rem;
  color: #464646;
}
.blog-post-teasers article a {
  color: #E6B800;
  font-weight: 600;
  margin-left: 8px;
}
.blog-post-teasers article a:hover {
  text-decoration: underline;
  color: #D27D2D;
}

/* FEATURE GRID (INDEX) & SERVICE CATEGORIES (SERVICES) */
.feature-grid, .service-categories, .process-steps, .timeline, .case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div,
.service-categories > div,
.process-steps > div,
.timeline > div,
.case-studies > div {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(230,184,0,0.07);
  padding: 26px 20px 20px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .2s, transform .13s;
}
.feature-grid > div:hover,
.service-categories > div:hover,
.process-steps > div:hover,
.timeline > div:hover,
.case-studies > div:hover {
  box-shadow: 0 6px 22px 0 rgba(230,184,0,0.15);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img, .service-categories img, .process-steps img, .timeline img, .case-studies img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 16px;
}
.faq-list li {
  background: #FFF6E6;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(226,184,0,0.07);
  padding: 18px 22px;
  color: #2E2E2E;
  transition: box-shadow .18s;
}
.faq-list li h3 {
  color: #1A365D;
  margin-bottom: 10px;
}
.faq-list li p {
  color: #444;
  font-size: 1rem;
}

/* CTA BANNER */
.cta {
  background: linear-gradient(120deg, #FFE7B5 0%, #FFF6E6 80%, #FFF 100%);
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 6px 24px 0 rgba(255,215,128,.09);
}
.cta h2 {
  color: #D27D2D;
}
.cta .cta-primary {
  margin-top: 18px;
}

/* CTA BUTTONS & INTERACTIONS */
.cta-primary {
  background: #E6B800;
  color: #fff;
  padding: 13px 34px;
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 18px 0 rgba(230,184,0,0.16);
  transition: background .17s, color .17s, box-shadow .17s;
  outline: none;
  display: inline-block;
  margin-top: 12px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #D27D2D;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(210,125,45,0.21);
}

/* CARDS */
.card {
  transition: box-shadow .2s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 22px 0 rgba(230,184,0,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* FOOTER */
footer {
  background: #FFF6E6;
  color: #1A365D;
  font-size: 1rem;
  margin-top: 32px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 14px 0 rgba(226,184,0,0.07);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 16px;
  gap: 34px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #D27D2D;
  font-weight: 600;
  font-size: 1rem;
  transition: color .18s;
}
.footer-menu a:hover {
  color: #E6B800;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.brand-footer img {
  width: 110px;
  margin-bottom: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-contact a {
  color: #1A365D;
  font-weight: 500;
  transition: color .18s;
}
.footer-contact a:hover {
  color: #E6B800;
}

/* CONFIRMATION */
.confirmation {
  align-items: center;
  text-align: center;
}
.confirmation h1 {
  color: #D27D2D;
  margin-bottom: 18px;
}
.confirmation a.cta-primary {
  margin-top: 18px;
}

/* CONTACT SECTION */
.contact-details {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin: 22px 0 16px 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* TEXT BLOCKS, UL/LISTS, ADDRESS */
.text-section p,
.text-section ul,
.text-section address {
  margin-bottom: 7px;
  color: #464646;
}
.text-section ul {
  padding-left: 22px;
  list-style: disc;
}
.text-section li {
  margin-bottom: 5px;
}
address {
  font-style: normal;
  color: #464646;
  font-size: 0.96rem;
}

/* MODALS & OVERLAYS - REUSABLE */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 34, 46, 0.28);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  background: #FFF;
  padding: 32px 22px 24px 22px;
  border-radius: 20px;
  min-width: 90vw;
  max-width: 400px;
  box-shadow: 0 11px 48px 0 rgba(230,184,0,0.14);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: modalIn .38s cubic-bezier(.28,.9,.53,1.31);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(36px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #FFF6E6;
  color: #1A365D;
  box-shadow: 0 -2px 16px 0 rgba(230,184,0,0.15);
  border-radius: 22px 22px 0 0;
  padding: 24px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  z-index: 1600;
  animation: slideBottomIn .44s cubic-bezier(.35,1.23,.5,1);
}
@keyframes slideBottomIn {
  from {transform: translateY(90%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  font-size: 1rem;
  margin-right: 8px;
  flex: 1 1 0%;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-size: 1rem;
  border: none;
  padding: 9px 20px;
  border-radius: 11px;
  font-family: 'Montserrat','Roboto',Arial,sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-banner .accept {
  background: #E6B800;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #D27D2D;
  color: #fff;
}
.cookie-banner .reject {
  background: #FFE7B5;
  color: #D27D2D;
  border: 1px solid #FFD780;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #FFD780;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #D27D2D;
  text-decoration: underline;
  padding: 9px 12px;
  border-radius: 8px;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  color: #E6B800;
  background: #FFF6E6;
}

/* COOKIE MODAL */
.cookie-modal {
  background: #fff;
  padding: 28px 18px 22px 18px;
  border-radius: 18px;
  box-shadow: 0 11px 30px 0 rgba(230,184,0,0.14);
  max-width: 360px;
  width: 100%;
  z-index: 1660;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal h2 {
  color: #1A365D;
  font-size: 1.36rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 9px;
  border-radius: 10px;
  background: #FFF6E6;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E6B800;
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-size: 1rem;
  font-family: 'Montserrat','Roboto',Arial,sans-serif;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  padding: 9px 20px;
  cursor: pointer;
  background: #E6B800;
  color: #fff;
  transition: background .13s;
}
.cookie-modal button.secondary {
  background: #FFE7B5;
  color: #D27D2D;
  border: 1px solid #FFD780;
}
.cookie-modal button.secondary:hover {
  background: #FFD780;
}
.cookie-modal button:hover {
  background: #D27D2D;
}

/* RESPONSIVENESS */
@media (max-width: 1000px) {
  .container {
    max-width: 94vw;
    padding: 0 6px;
  }
}
@media (max-width: 900px) {
  .case-studies,
  .feature-grid,
  .service-categories,
  .process-steps,
  .timeline {
    gap: 18px;
  }
  .feature-grid > div,
  .service-categories > div,
  .process-steps > div,
  .timeline > div,
  .case-studies > div {
    min-width: 160px;
    font-size: 0.97rem;
  }
}
@media (max-width: 800px) {
  .case-studies,
  .feature-grid,
  .service-categories,
  .process-steps,
  .timeline {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .blog-post-teasers {
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 0 4vw;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
    text-align: left;
  }
  .brand-footer {
    align-items: flex-start;
    margin-top: 23px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 6vw;
  }
  .contact-details {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0;
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 10px;
  }
  .modal,
  .cookie-modal {
    min-width: 97vw;
    max-width: 98vw;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  h3 {
    font-size: 1.07rem;
  }
}

/* --- MOBILE LAYOUT & NAVIGATION --- */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MISCELLANEOUS / SPACING ENFORCEMENTS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section + section {
  margin-top: 0;
}
.card,
.feature-grid > div,
.service-categories > div,
.process-steps > div,
.timeline > div,
.case-studies > div,
.blog-post-teasers article,
.faq-list li,
.testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .service-categories, .timeline, .process-steps, .case-studies, .blog-post-teasers {
  gap: 20px;
}
/* Utility spacing for no overlaps */
section > *,
.container > * {
  margin-bottom: 20px;
}
.content-wrapper > * {
  margin-bottom: 16px;
}

/* SCROLLBAR STYLING (OPTIONAL) */
::-webkit-scrollbar {
  width: 10px;
  background: #FFECCC;
}
::-webkit-scrollbar-thumb {
  background: #FFD780;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E6B800;
}

/* FOCUS STATES ENHANCEMENT */
a:focus, button:focus, .cta-primary:focus, input:focus {
  outline: 2px solid #FFD780;
  outline-offset: 2px;
}

/* OVERRIDES FOR PRINTING */
@media print {
  header, footer, .cookie-banner { display: none !important; }
  .container { max-width: 100vw !important; }
  body { background: #fff; color: #000; }
}
