/* ================================
   Global Variables & Reset
================================ */
:root {
  --primary: #1a73e8;   /* Blue */
  --secondary: #32cd32; /* Green */
  --dark: #0f172a;
  --gray: #6b7280;
  --light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  text-align: left;
  background: white;
}

/* ================================
   Header
================================ */
.site-header {
  background: #f0f7ff;
  box-shadow: 0 2px 13px rgba(0,0,0,0.06);
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: auto;
  height: 80px;
}

/* Logo */
.logo img {
  height: 60px;
  width: auto;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease;
  padding: 8px 12px;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
}

/* Underline Hover Effect */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 21px rgba(0,0,0,0.1);
  list-style: none;
  padding: 10px 0;
  min-width: 220px;
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: #f8fafc;
  color: var(--primary);
}

.dropdown:hover > .dropdown-menu {
  display: block;
  animation: dropdownFade 0.3s ease-in-out;
}

.dropdown:focus-within > .dropdown-menu,
.dropdown:hover > .dropdown-menu {
  display: block;
}


/* Fade Animation */
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 12px 28px;
  border-radius: 34px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-left: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26,115,232,0.4);
}

/* Mobile Menu */
.mobile-menu {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: white;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--primary);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 10px;
}

/* ================================
   Hero Section
================================ */
.hero {
  min-height: 55vh;  /* instead of vh-based */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(270deg, #667eea, #764ba2, #1a73e8);
  background-size: 600% 600%;
  color: white;
  text-align: center;
  padding: 60px 20px;
  contain: layout paint;
}

.hero.animated {
  background: linear-gradient(270deg, #667eea, #764ba2, #1a73e8);
  background-size: cover;
}

.hero-content {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start; /* changed from "left" → valid value */
}

/* Explicit override to kill UA font-size deprecation */
.hero-text h1 {
  font-size: 3rem;          /* explicit size for desktop */
  line-height: 1.2;         /* stable line-height */
  font-weight: 800;
  margin: 0 0 20px 0;       /* reset UA margin */
  color: white;             /* ensure text is visible instantly */
  text-align: left;
}

.hero-text p {
  font-size: 1.2rem;        /* explicit size */
  line-height: 1.5;         /* add stable line-height */
  margin: 0 0 20px 0;       /* reset UA margin */
  color: white;             /* ensure visibility without delay */
  text-align: left;
}


.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: white;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 34px;
  font-weight: 600;
  text-decoration: none;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
  padding: 12px 28px;
  border-radius: 34px;
  font-weight: 600;
  text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-text h1,
  .hero-text p {
    text-align: center;
  }

  /* Explicit size for mobile H1 */
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr; /* single column layout */
    text-align: center; /* center text + buttons */
  }

  .hero-buttons {
    justify-content: center;
  }

  /* 🚀 LCP fix: simplify hero for mobile */
  .hero {
    background: #1e3a8a; /* flat static color instead of animated gradient */
    background-size: auto;
    min-height: 480px;   /* keep enough space reserved */
  }
}

/* ================================
   Accordion Component
================================ */
.accordion {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.accordion-item {
  border-bottom: 1px solid #e2e8f0;
 }
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
    background: #fff;
  color: #0f172a;
  border: none;
  outline: none;
  cursor: pointer;
    display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.accordion-button::after {
  content: "›";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #64748b;
  }

.accordion-button.active::after {
  transform: rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: #475569;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.3s ease;
  }

.accordion-button.active + .accordion-body {
  padding: 1rem 1.25rem;
  }
.accordion-button.active + .accordion-body {
  padding: 1rem 1.25rem 2rem; /* more bottom padding inside answer */
  margin-bottom: 16px;        /* bigger gap below answer */
}


.faq-link {
  color: #4338ca;
  font-weight: 600;
  text-decoration: none;
}
.faq-link:hover {
  text-decoration: underline;
}

/*================================
   CTA Section
================================ */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f1f5f9;
}
  
/* ================================
   Footer
================================ */
.site-footer {
  background: #0f172a;
  color: #e5e7eb; /* lighter gray for better contrast */
  padding: 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1140px;
  margin: auto;
}

.footer-section h3,
.footer-subtitle {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #ffffff; /* keep headings fully white */
}

.footer-section p,
.footer-section a {
  color: #e5e7eb; /* improved contrast */
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary); /* keep hover effect */
}

/* Footer logo spacing */
.site-footer .footer-section img {
  margin-bottom: 1rem;
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.social-icon img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s, filter 0.2s;
}

.social-icon:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #e5e7eb; /* updated to meet contrast ratio */
  margin-top: 20px;
}
/* ================================
   Cookie Consent Banner (CLS Safe)
================================ */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 99999;
  max-width: 600px;
  margin: auto;
  font-size: 14px;

  /* CLS safe hidden state */
  opacity: 0;
  transform: translateY(20px); 
  pointer-events: none; 
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#cookie-banner p {
  margin: 0 0 12px;
  color: #333;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

#accept-cookies { background: #1a73e8; color: #fff; }
#reject-cookies { background: #dc3545; color: #fff; }

/* Manage button as floating circle */
#cookie-manage-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

#cookie-manage-btn:hover {
  background: #1558b0;
  transform: scale(1.05);
}

.hidden {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.footer-section.contact-clean address p {
  line-height: 1.6;
  margin: 0;
}

.footer-section.contact-clean strong {
  font-weight: 600;
  font-style: normal; /* <-- stops italic inside <address> */
  margin-right: 6px;
  display: inline-block;
  min-width: 70px; /* keeps Email: / Phone: aligned */
}
.breadcrumbs {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
}

.breadcrumbs a {
  text-decoration: none;
  color: #4f46e5; /* your brand purple */
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #111;
  font-weight: 500;
}
