/* ================================================================
   RESET & BASELINE NORMALIZATION
================================================================== */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F9FAFB;
  color: #212433;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.05em;
  -webkit-text-size-adjust: 100%;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #2B3D55;
  text-decoration: none;
  transition: color .20s;
}
a:hover, a:focus {
  color: #FCB900;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: bold;
}

/* Montserrat & Roboto font setup */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:300,400,500,700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2B3D55;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2rem;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #222;
  font-style: italic;
  margin-bottom: 12px;
  position: relative;
}
blockquote:before {
  content: '\201C';
  font-size: 2.5rem;
  color: #FCB900;
  position: absolute;
  left: -26px;
  top: -10px;
  opacity: 0.7;
}

/*
==============================================================
  LAYOUT, CONTAINER, FLEXBOX FOUNDATION (Only flex, no grid)
==============================================================
*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card-style Flex Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(43,61,85,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(43,61,85,0.16);
  transform: translateY(-6px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 20px;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/*
======================================================
      HERO AREA (Creative Artistic Flair)
======================================================
*/
section:first-of-type {
  background: linear-gradient(120deg, #F1F5F9 80%, #FCB900 100%);
  border-radius: 0px 0px 50px 50px;
  box-shadow: 0 3px 14px -2px #eee;
}
section:first-of-type .content-wrapper {
  gap: 36px;
}
section:first-of-type h1 {
  font-size: 2.5rem;
  letter-spacing: 1.7px;
  color: #2B3D55;
}
section:first-of-type p {
  color: #343044;
  font-size: 1.17rem;
}

/*
===============================================================
  MAIN NAVIGATION & HEADER
================================================================
*/
header {
  background: #fff;
  border-bottom: 2px solid #F1F5F9;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.main-nav ul li {
  margin: 0 4px;
}
.main-nav ul li a {
  color: #2B3D55;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #FCB900;
  color: #19223b;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 26px;
  background: #FCB900;
  color: #2B3D55;
  font-weight: bold;
  border-radius: 30px;
  font-size: 1.1rem;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.18s;
  box-shadow: 0px 2px 8px rgba(252,185,0,0.10);
  letter-spacing: 0.09em;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #2B3D55;
  color: #FCB900;
  box-shadow: 0px 4px 18px rgba(43,61,85,0.23);
  transform: scale(1.04) translateY(-2px);
  outline: none;
}

/*
==============================================
 MOBILE HAMBURGER MENU, OVERLAY, ANIMATION
==============================================
*/
.mobile-menu-toggle {
  display: none;
  background: #2B3D55;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 102;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FCB900;
  color: #2B3D55;
}

@media (max-width: 1024px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,61,85, 0.97);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.175,1);
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 3px 0 18px rgba(43,61,85, 0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #FCB900;
  color: #2B3D55;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1150;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #FCB900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  margin-top: 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 18px 32px;
  font-size: 1.25rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.18s, color 0.18s;
  width: 100%;
  border-radius: 0 22px 22px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FCB900;
  color: #2B3D55;
}

/*
=========================
 FLEX-BASED GRIDS, LISTS
=========================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 24px 0 0 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(43,61,85,0.08);
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 320px;
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  transition: box-shadow 0.16s, transform 0.16s;
  margin-bottom: 16px;
  position: relative;
}
.feature-grid li:hover {
  box-shadow: 0 8px 26px 0 rgba(252,185,0,0.10), 0 3px 12px 0 rgba(43,61,85,0.13);
  transform: scale(1.041) translateY(-4px);
}
.feature-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 6px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 16px 0 28px 0;
}
.service-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0;
}
.feature-icons img {
  height: 38px;
  width: 38px;
  opacity: 0.88;
}
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.category-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(43,61,85,.10);
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 310px;
  padding: 26px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.category-grid li:hover {
  box-shadow: 0 8px 22px 0 rgba(252,185,0,0.11), 0 3px 8px 0 rgba(43,61,85,0.11);
  transform: scale(1.034) translateY(-4px);
}

.usps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 0 0;
}
.usps-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  max-width: 186px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(43,61,85,0.09);
  padding: 18px 8px 18px 8px;
  font-size: 1rem;
}
.usps-grid li img {
  height: 30px; width: 30px;
}

/* Blog List Styling */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 18px;
}
.blog-list article {
  padding: 22px 18px 20px 18px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 9px -1px rgba(43,61,85,0.09);
  transition: box-shadow 0.17s;
}
.blog-list article:hover {
  box-shadow: 0 9px 32px 0 rgba(252,185,0,0.09), 0 4px 12px 0 rgba(43,61,85,0.12);
}
.search-bar {
  margin: 20px 0;
  display: flex;
  align-items: center;
  width: 100%;
}
.search-bar input[type=text] {
  flex: 1 1 180px;
  font-size: 1rem;
  padding: 13px 17px;
  border-radius: 20px;
  border: 1.5px solid #FCB900;
  background: #fffefa;
  outline: none;
  box-shadow: 0 1px 3px 0 rgba(252,185,0,.07);
  transition: border 0.14s, box-shadow 0.14s;
}
.search-bar input[type=text]:focus {
  border: 1.5px solid #2B3D55;
  box-shadow: 0 2px 8px rgba(43,61,85,0.08);
}
.blog-categories {
  margin: 26px 0 0 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 7px;
}
.blog-categories li {
  background: #FCB900;
  color: #2B3D55;
  padding: 6px 22px;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Case studies */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.case-studies li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 7px 0 rgba(43,61,85, 0.10);
  padding: 28px 18px 18px 18px;
}

/*
=============================
    TESTIMONIALS (CARD FLEX)
=============================*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffdfa;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(43,61,85,0.08);
  min-height: 100px;
  flex-wrap: wrap;
  color: #212433;
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(252,185,0,0.07), 0 3px 16px 0 rgba(43,61,85,0.14);
  transform: scale(1.011) translateY(-2px);
}
.testimonial-card blockquote {
  color: #19223b;
  flex: 1 1 180px;
  margin-left: 16px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card p {
  margin: 0 0 0 14px;
  color: #7A6A1F;
}

/*
============================
 CTA Section Accent
============================ */
.content-wrapper.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(252,185,0,0.09);
  padding: 32px 26px;
}
.content-wrapper.text-section h2 {
  color: #FCB900;
  letter-spacing: 1.1px;
}

/*
===============================================
    FOOTER & NAVIGATION
===============================================*/
footer {
  background: #2B3D55;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 44px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #FCB900;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #2B3D55;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.98rem;
}
.footer-info img {
  margin-top: 8px;
  height: 36px;
  width: auto;
}

/*
=========================================
COOKIE BANNER & MODAL – Modern Artistic
=========================================*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #212433;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 14px 16px;
  box-shadow: 0 -4px 30px rgba(43,61,85,0.16);
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerEnter 0.8s cubic-bezier(.57,.06,.26,1.21);
  gap: 22px;
}
@keyframes cookieBannerEnter {
  0% { transform: translateY(80px); opacity: 0; }
  80% { transform: translateY(-6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 20px;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  margin-right: 4px;
}
.cookie-banner .accept {
  background: #FCB900;
  color: #2B3D55;
  box-shadow: 0 1px 8px rgba(252,185,0,0.10);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #FCB900;
}
.cookie-banner .reject {
  background: #fff;
  color: #2B3D55;
  border: 1.5px solid #FCB900;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FCB900;
  color: #2B3D55;
}
.cookie-banner .settings {
  background: transparent;
  color: #FCB900;
  border: 1.5px solid #FCB900;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FCB900;
  color: #2B3D55;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,54,76,0.81);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.4s cubic-bezier(.57,.06,.26,1.21);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1a233d;
  border-radius: 18px;
  box-shadow: 0 6px 37px 0 rgba(43,61,85,0.20);
  padding: 34px 32px;
  min-width: 320px;
  max-width: 95vw;
  min-height: 180px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn 0.3s cubic-bezier(.57,.06,.26,1.21);
}
@keyframes modalPopIn {
  from {transform: scale(0.84); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: transparent;
  color: #7A6A1F;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2210;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #2B3D55;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #FCB900;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 11px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 18px;
  border: none;
  padding: 8px 18px;
  font-size: 0.99rem;
  font-weight: 600;
  cursor: pointer;
  background: #FCB900;
  color: #2B3D55;
  box-shadow: 0 1px 8px rgba(252,185,0,0.09);
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-actions button.secondary {
  background: #fff;
  border: 1.2px solid #FCB900;
  color: #2B3D55;
}
.cookie-modal-actions button.secondary:hover {
  background: #FCB900;
  color: #1a233d;
}
.cookie-modal-actions button.primary:hover, .cookie-modal-actions button.primary:focus {
  background: #fff;
  color: #FCB900;
}
.cookie-modal .always-on {
  color: #16A34A;
  font-size: 0.97rem;
  margin-left: 10px;
  font-weight: 600;
}

/*
=====================================================================
  RESPONSIVE MEDIA QUERIES (Mobile-First, then desktop enhancements)
======================================================================*/
@media (max-width: 920px) {
  .container {
    max-width: 94vw;
  }
  .feature-grid, .category-grid, .usps-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .main-nav {
    padding: 7px 0;
  }
  .logo img {
    height: 32px;
  }
  .content-wrapper, .content-wrapper.text-section {
    padding: 12px 6px;
  }
  .feature-grid li, .category-grid li, .usps-grid li {
    min-width: 88vw;
    max-width: 100vw;
    padding: 24px 13px;
  }
  .usps-grid {
    flex-direction: column;
  }
  section:first-of-type {
    border-radius: 0 0 32px 32px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    font-size: 0.97rem;
    margin-bottom: 9px;
  }
  .footer-info {
    font-size: 0.93rem;
    gap: 2px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 20px 8px 18px 8px;
    gap: 13px;
    font-size: 0.96rem;
  }
  .cookie-modal {
    padding: 26px 8px 22px 12px;
    min-width: 90vw;
    max-width: 98vw;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.05rem;
    margin-bottom: 13px;
  }
  section {
    padding: 12px 3px;
  }
  .cta-btn {
    padding: 8px 14px;
    font-size: 1rem;
  }
}

/*
===========================================
      CUSTOM SCROLLBAR FOR ARTISTIC FLAIR
===========================================*/
::-webkit-scrollbar {
  height: 10px;
  width: 10px;
  background: #f1f5f9;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #FCB900;
  border-radius: 13px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e3ad10;
}

/*
==============================
   UNIQUE ARTISTIC ELEMENTS
==============================*/
.feature-grid li:before,
.category-grid li:before {
  content: '';
  display: block;
  height: 4px;
  width: 48px;
  background: #FCB900;
  border-radius: 3px 20px 20px 3px;
  margin-bottom: 9px;
  opacity: .14;
}
.category-grid li:before {
  background: #2B3D55;
  opacity: .21;
}

/*
=============================
    ANIMATIONS / MICROINTERACTION
==============================*/
.cta-btn, .card, .feature-grid li, .testimonial-card, .category-grid li, .usps-grid li, .blog-list article {
  transition: box-shadow 0.18s, transform 0.18s, background 0.17s, color 0.17s;
}
.cta-btn:active {
  transform: scale(0.97);
}
.card:active,
.feature-grid li:active,
.category-grid li:active {
  transform: scale(.98) translateY(0) !important;
}

/* Loader, overlays, if needed */
/* ... Add as needed based on JS ... */

/*
========================
   UTILITY CLASSES
========================*/
.d-none { display: none !important; }
.d-block { display: block !important; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }

/*
======================================
    EXTRA: Ensure no content overlaps
======================================*/
.card, .testimonial-card, .content-wrapper, .case-studies li {
  margin-bottom: 20px;
}

/*
=====================================
 ================= END OF CSS =================
=====================================*/
