/* Global Styles & Design Tokens */
:root {
  /* Brand Colors from Logo */
  --primary: #1e3a8a; /* Navy Blue */
  --primary-dark: #1e40af;
  --accent: #dc2626; /* Red */
  --accent-dark: #b91c1c;

  /* Neutrals */
  --background: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;

  /* Semantic */
  --success: #16a34a;
  --warning: #eab308;

  /* Spacing */
  --radius: 0.5rem;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: white;     
  border: 2px solid white;   
  color: navy;        
}

.btn-outline:hover {
  background: var(--primary); /* primary color on hover */
  border-color: var(--primary);
  color: white;
}

/* Navigation */
.navigation {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Poster Section */
.poster {
    max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
color: white;
  padding: 4rem 1rem;
}

.cashless-marquee {
  width: 100%;
  background: #191970;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.cashless-marquee__inner {
  width: 100%;
  overflow: hidden;
}

.cashless-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  padding: 10px 0;
  will-change: transform;
  animation: cashless-marquee-move 38s linear infinite;
}

.cashless-marquee__item {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: #fff;
}

.cashless-marquee__dot {
  color: #fff;
  font-weight: 700;
}

.cashless-marquee:hover .cashless-marquee__track {
  animation-play-state: paused;
}

@keyframes cashless-marquee-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .cashless-marquee__track {
    padding: 9px 0;
    animation-duration: 34s;
  }
  .cashless-marquee__item {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cashless-marquee__track {
    animation: none;
    justify-content: center;
    width: 100%;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #60a5fa 100%);
  color: white;
  padding: 4rem 1rem;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text .accent {
  color: red;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 400px;
  height: 400px;
  border-radius: 24px;
}


/* Trust Indicators */
.trust-indicators {
  background: #ffffff;
  padding: 2rem 1rem;
}

.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  font-size: 2rem;
  color: var(--primary);
}

.trust-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.trust-text p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Services Section */
.services-section {
  padding: 4rem 1rem;
  background-image: linear-gradient(53deg, #FF9E0A 11.33%, rgba(255, 158, 10, .41) 85.25%, rgba(255, 158, 10, 0) 95.21%);
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.services-section > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.services-grid {
   display: grid; /* or flex if already */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: flex-start; /* 🔥 KEY FIX */
}

.accordion {
  align-self: flex-start; /* 🔥 prevents stretching */
}

.service-card {
  background: #fff7f7;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.insurance-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #e6fbff 0%, #3e2b87 100%);
}

.insurance-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 10px;
  text-align: center;
}

.insurance-subtitle {
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #526B8C;
  text-align: center;
  margin: 0 0 34px;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 18px;
}

.insurance-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.insurance-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e9f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insurance-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #14b8a6;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insurance-text {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0f2b5b;
  line-height: 1.35;
}

.insurance-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .insurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .insurance-section {
    padding: 50px 0;
  }

  .insurance-title {
    font-size: 30px;
  }

  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .insurance-card {
    padding: 16px 16px;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 1rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Default icon color */
.social-links svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  transition: fill 0.3s ease;
}

/* Default background for all icons */
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2); /* same as FB & YouTube */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* ========== HOVER EFFECTS ========== */

/* YouTube - Red icon */
.social-links a:nth-child(1):hover {
  background-color: #ffffff; /* hover background same as FB */
}
.social-links a:nth-child(1):hover svg {
  fill: #ff0000;
}

/* Facebook - Blue icon */
.social-links a:nth-child(2):hover {
  background-color: #ffffff; /* hover background same as YouTube */
}
.social-links a:nth-child(2):hover svg {
  fill: #1877f2;
}

/* Instagram - Gradient icon */
.social-links a:nth-child(3):hover {
  background-color: #ffffff; /* same hover background as others */
}
.social-links a.instagram .ig-path {
  fill: #ffffff; /* default icon white */
  transition: fill 0.3s ease;
}
.social-links a.instagram:hover .ig-path {
  fill: url(#igGradient); /* icon turns Instagram gradient */
}



/* Mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  gap: 0.5rem;
}

.mobile-cta .btn {
  flex: 1;
  padding: 0.875rem;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-image {
    display: none;
  }

  .mobile-cta {
    display: flex;
  }

  .services-section {
    padding-bottom: 6rem;
  }
}
