/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #f6f8fc 0%, #e9ecfe 100%);
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-left: 1.15em;
  padding-left: 1.15em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #364D9D;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
}
:focus {
  outline: 2px solid #F7B801;
  outline-offset: 2px;
}


/* ===== BRAND VARIABLES (with fallbacks) ===== */
:root {
  --primary: #364D9D;
  --secondary: #F7B801;
  --accent: #FFFFFF;
  --display-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --shadow: 0 4px 20px 0 rgba(54,77,157,0.07);
  --radius: 18px;
}


/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--accent);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-family: var(--display-font);
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  color: var(--primary);
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: #222;
}

.cta-btn {
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: var(--radius);
  padding: 13px 32px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-block;
  margin-left: 16px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--secondary);
  color: #364D9D;
  box-shadow: 0 8px 24px 0 rgba(247,184,1,0.12);
}

header .mobile-menu-toggle {
  display: none;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 6px 16px;
  margin-left: auto;
  position: absolute;
  top: 25px;
  right: 20px;
  z-index: 1002;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(54,77,157,0.08);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 88vw;
  max-width: 400px;
  background: var(--accent);
  box-shadow: -8px 0 48px 0 rgba(54,77,157,0.13);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.76,0,.24,1);
  display: flex;
  flex-direction: column;
  padding: 36px 20px 24px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 30px;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: var(--primary);
  font-family: var(--display-font);
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #364D9D;
}

/* Hamburger visibility on tablet/mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(110deg, #364D9D 0%, #F7B801 70%, #fff 100%);
  padding: 80px 0 60px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: var(--accent);
  letter-spacing: 0.02em;
}
.hero p {
  font-size: 1.18rem;
  color: #f8fafd;
}
.hero .cta-btn {
  margin-top: 12px;
  font-size: 1.1rem;
  padding: 14px 42px;
}

/* ===== GENERAL SECTION STYLES ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-section {
  background: linear-gradient(90deg, #F7B801 30%, #364D9D 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 36px 0 rgba(247,184,1,0.08);
  border-radius: var(--radius);
}
.cta-section h2, .cta-section h1 {
  color: #fff;
}
.cta-section p {
  color: #FDFDEE;
}
.cta-section .cta-btn {
  background: #fff;
  color: var(--primary);
}
.cta-section .cta-btn:hover {
  background: var(--secondary);
  color: #364D9D;
}


/* ===== SERVICE CARDS & FEATURES ===== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 8px;
}
.service-card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px 0 rgba(54,77,157,0.05);
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.2s;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 7px 32px 0 rgba(54,77,157,0.13);
  transform: translateY(-6px) scale(1.025);
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.service-card span {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 7px;
  padding: 3px 10px;
  align-self: flex-start;
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}


/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 16px 0 rgba(54,77,157,0.10);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 650px;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #232323;
  font-size: 1.07rem;
  font-weight: 500;
}
.testimonial-card span {
  color: #364D9D;
  font-size: 0.99rem;
  font-style: italic;
  font-family: var(--display-font);
  margin-left: 12px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(247,184,1,0.18);
}


/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, #364D9D 80%, #F7B801 100%);
  color: #f6f8fc;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 20px 32px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: var(--display-font);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
}
.contact-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f6f8fc;
  font-size: 1rem;
  font-family: var(--body-font);
}
.newsletter h3 {
  color: #fff;
  font-weight: 600;
}
.newsletter p {
  font-size: 1rem;
  margin-top: 6px;
  color: #fff;
  max-width: 290px;
}

/* ===== SECTION PADDING & CARD CONTAINERS ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}


/* ===== CONTENT ARRANGEMENTS (ULs & Info blocks) ===== */
.text-section {
  margin-bottom: 16px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}
.business-hours {
  color: var(--primary);
  font-weight: 600;
}
.location-map p {
  font-size: 1rem;
  color: var(--primary);
  margin-top: 4px;
}

.product-highlights {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-left: 0;
}
.product-highlights ul {
  margin: 0 0 10px 18px;
}


/* ===== BUTTONS & FORM ELEMENTS ===== */
button,
input[type="button"],
input[type="submit"] {
  border: none;
  border-radius: var(--radius);
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-family: var(--display-font);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 14px 0 rgba(54,77,157,0.08);
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
}
button:hover,
button:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 20px 0 rgba(247,184,1,0.10);
}


/* ======= COOKIE CONSENT BANNER & MODAL ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 4px solid var(--primary);
  box-shadow: 0 -5px 20px 0 rgba(54,77,157,0.11);
  padding: 24px 5% 20px 5%;
  z-index: 2100;
  font-size: 1rem;
  color: #222;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  transition: transform 0.35s cubic-bezier(.85,0,.15,1);
}
.cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.cookie-banner .cookie-btn {
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px 26px;
  background: var(--primary);
  color: #fff;
  font-family: var(--display-font);
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  border: none;
  cursor: pointer;
}
.cookie-banner .cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn.reject {
  background: #e6e9ed;
  color: #364D9D;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 20px;
}
.cookie-banner .cookie-btn.settings:focus,
.cookie-banner .cookie-btn.settings:hover {
  background: var(--secondary);
  color: #364D9D;
}

/* Cookie modal styles */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(54,77,157,0.18);
  z-index: 2105;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(54,77,157,0.16);
  padding: 36px 24px 24px 24px;
  min-width: 310px;
  width: 94vw;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookiePop 0.38s cubic-bezier(.64,0,.3,1);
}
@keyframes cookiePop {
  from { transform: scale(0.88) translateY(60px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #364D9D;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
.cookie-category .always-on {
  font-style: italic;
  color: #999;
  font-size: 0.96rem;
  margin-left: 3px;
}

/* ====== RESPONSIVENESS & MOBILE LAYOUTS ====== */
@media (max-width: 900px) {
  .service-list {
    gap: 16px;
    flex-direction: column;
  }
  .footer-nav,
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .hero {
    padding: 42px 0 25px 0;
    margin-bottom: 32px;
  }
  .hero .container {
    padding: 0 10px;
  }
  section {
    margin-bottom: 36px;
    padding: 22px 8px;
  }
  .cta-section {
    border-radius: 10px;
  }
  .card-container,
  .service-list,.content-grid, .footer-nav, .content-wrapper, .testimonial-card {
    flex-direction: column !important;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-nav {
    align-items: flex-start;
    gap: 12px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 16px 12px;
    max-width: 100%;
  }
  .mobile-menu {
    width: 97vw;
    min-width: 0;
    max-width: none;
    padding-left: 14px;
    padding-top: 22px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 16px 5% 16px 5%;
  }
  .cookie-banner .cookie-btns {
    margin-left: 0;
    justify-content: flex-end;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .footer-nav {
    font-size: 0.98rem;
    gap: 7px;
  }
  .mobile-menu {
    padding: 14px 5px 12px 12px;
  }
}
@media (max-width: 400px) {
  .footer-nav, .footer .container, .footer .content-wrapper, .contact-info ul {
    font-size: 0.96rem;
    gap: 8px;
  }
  .cta-btn, .cookie-banner .cookie-btn {
    font-size: 0.98rem;
    padding: 11px 16px;
  }
}

/* ===== ANIMATIONS ===== */
.cta-btn, .service-card, .testimonial-card, .cookie-btn {
  transition: 0.19s cubic-bezier(.64,0,.3,1);
}

/* ===== PRINT, SELECTION & UTILITIES ===== */
::selection {
  background: #FAD962;
  color: #23305B;
}

/* ===== OTHER SMALL UTILITIES ===== */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.text-center { text-align: center!important; }

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