/* style.css - Navbar styles (Teal theme) */
:root{
  --teal: #0d9488;     /* main teal */
  --teal-dark: #0b776e;
  --muted: #6b7280;
  --bg: #ffffff;
  --max-width: 1200px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html,body { height:100%; }
body {
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#0f172a;
  background: var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
 
  
}

/* ---------- NAVBAR ---------- */
.site-header {
  width:100%;
  background: #fff;
  border-bottom: 1px solid #eef2f4;
  position: fixed;
  top:0;
  z-index:100;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: 14px 20px;
  position:relative;
}

/* Logo (text inside logo) */
/* Logo (image) */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;   /* adjust as per your logo */
  width: auto;
  display: block;
}


.logo:focus { outline: 3px solid rgba(13,148,136,0.18); }

/* Nav menu wrapper */
.nav-menu {
  display:flex;
  align-items:center;
  gap:1.25rem;
}

/* Nav links */
.nav-links {
  display:flex;
  gap: 10px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:center;
}

.nav-links li a {
  display:inline-block;
  color: #0f172a;
  text-decoration:none;
  padding: 8px 10px;
  border-radius:8px;
  font-weight:500;
  position:relative;
  transition: transform .15s ease, color .18s ease;
}

/* animated underline on hover/focus */
.nav-links li a::after {
  content: "";
  position:absolute;
  left:0;
  bottom:-6px;
  height:3px;
  width:0;
  background: var(--teal);
  border-radius:2px;
  transition: width .22s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: var(--teal-dark);
  transform: translateY(-2px);
}
.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

/* Nav actions (buttons) */
.nav-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight:600;
  text-decoration:none;
  font-size:0.95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Primary CTA */
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 30px rgba(13,148,136,0.12);
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  filter: brightness(.98);
}


/* focus accessibility */
.nav-links li a:focus { outline: 3px solid rgba(13,148,136,0.12); border-radius:6px; }


/* Hero Section */
.hero {
  position: relative;
  max-width: 1200px;     /* Container ki max width */
  margin: 0 auto;        /* Center align */
  height: 80vh;          /* Fixed height */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff; /* White background (red ki jagah) */
  overflow: hidden;
}

.hero-img {
  max-width: 100%;       /* Image kabhi container se badi na ho */
  max-height: 100%;      /* Image kabhi container ki height se badi na ho */
  width: auto;           /* Aspect ratio maintain */
  height: auto;          /* Aspect ratio maintain */
  object-fit: contain;   /* Full image visible, no crop */
  display: block;
}

/* ===== Stats Section ===== */
.stats {
  max-width: 1200px;  
  margin: 0 auto;
  background: #f9f9f9;        /* हल्का बैकग्राउंड */
  padding: 60px 20px;
  text-align: center;
}

.stats .section-title {
  font-size: 2rem;
  font-weight: 700;
  color:#009688;
  margin-bottom: 10px;
}

.stats .section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Individual Stat Card */
.stat-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 300px;
  text-align: center;   /* ✅ ensures h2 & p center aligned */
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* Numbers (H2) */
.stat-card h2 {
  color: #009688;   /* Teal highlight */
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

/* Labels (P) */
.stat-card p {
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  margin: 0;
  text-align: center;
}


/* Icon Styling (optional if you add icons) */
.stat-card i {
  font-size: 2.2rem;
  color: #009688;
  margin-bottom: 12px;
  display: block;
}


/* Happy Providers Section */
.happy-providers {
  max-width: 1200px;
  margin: 0 auto;  
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.happy-providers h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.happy-providers p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

/* Grid Layout */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Provider Card */
.provider-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 320px;
  
  /* ✅ Equal Height Fix */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;  /* top align but consistent */
  min-height: 380px;           /* force same height */
}

.provider-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  min-height: 380px; 
}

/* Provider Image */
.provider-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #009688; /* Teal border */
}

/* Provider Name */
.provider-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Provider Info */
.provider-card p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.badge {
  display: inline-block;
  background: #009688;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 10px 0;
}

/* Rating */
.rating {
  color: #ff9800;  /* Gold stars */
  font-size: 0.9rem;
  margin-bottom: 12px;
}



/* Benefits */
.benefits {
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
}

.benefits-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.30);
}

/* Future Section */
.future {
  max-width: 1200px;
  margin: 0 auto;  
  background: linear-gradient(135deg, #00bfa6, #00897b);
  padding: 20px 20px;   /* 👈 height kam ki */
  text-align: center;
}

.future .container {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.future h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.future .subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.future-card {
  background: #fff;
  color: #333;
  padding: 25px 18px;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.future-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.future-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.future-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #00bfa6;
}

.future-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

/* CTA Section */
.cta {
  color:black;
  text-align: center;
  padding: 80px 20px;
}

.cta .container {
  max-width: 1200px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.cta h2 span {
  color: teal; /* highlight with yellow */
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: teal;
  font-weight: 500;
}

.cta .btn {
  display: inline-block;
  background: goldenrod;
  color: #222;
  padding: 14px 35px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta .btn:hover {
  background: #f08040;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ---------- FOOTER ---------- */
/* Footer (teal box + bottom note) */
.site-footer {
  padding: 30px 16px 10px;            /* outer spacing */
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;               /* page background behind footer */
}

/* teal container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #0d9488;               /* teal */
  color: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(13,148,136,0.12);
}

/* each column */
.footer-col {
  flex: 1 1 250px;                   /* grow/shrink, min width */
  min-width: 220px;
}

/* Left column list should stay left-aligned */
.footer-col:first-child {
  text-align: left;
}

/* Middle column center aligned (contact) */
.footer-col:nth-child(2) {
  text-align: center;
}

/* Developer column right (center content inside) */
.footer-col.developer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Headings */
.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* Quick links list */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: color .18s ease, transform .18s ease;
}

.footer-col ul li a:hover {
  color: #fff3b0; /* subtle warm hover */
  transform: translateX(4px);
}

/* Contact text */
.footer-col:nth-child(2) p {
  margin: 8px 0;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

/* Developer portrait */
.developer-pic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  margin-bottom: 12px;
}

/* Developer name line */
.footer-col.developer p {
  margin: 6px 0 12px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* Social buttons (circular colored backgrounds) */
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* Anchor as circle */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* specific platform colors (first = facebook, second = instagram) */
.social-links a:first-child { background: #1877f2; } /* facebook blue */
.social-links a:last-child  { 
  background: radial-gradient(circle at 30% 30%, #fccc63 0%, #f56040 45%, #d6249f 100%); /* instagram-ish */
}

/* social image/icon inside button */
.social-links a img {
  width: 18px;
  height: 18px;
  display: block;
  filter: none; /* if your icons are colored PNGs; if white icons, try filter: invert(1) */
}

/* hover */
.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Footer bottom note below teal box */
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #6b6b6b;
}


/* ---------- Mobile Navbar Responsive ---------- */

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    width: 100%;
    padding: 14px 20px;
    border-radius: 0;
    color: #0f172a;
  }

  .nav-links li a:hover {
    background: rgba(13,148,136,0.05);
  }

  .nav-actions {
    width: 100%;
    padding: 14px 20px;
  }

  /* Hamburger toggle button */
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--teal);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hide checkbox */
  .nav-toggle {
    display: none;
  }

  /* When checked (menu open) */
  .nav-toggle:checked ~ .nav-menu {
    max-height: 500px;
  }

  /* Animate hamburger to X */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ---------- Footer Base Styles ---------- */

/* ---------- Responsive Footer Styles ---------- */

/* Tablet screens (≤1024px) */
@media (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 28px 24px;
  }

  .footer-col {
    flex: 1 1 45%;
    text-align: center;
  }

  .footer-col:first-child {
    text-align: center;
  }

  .footer-col:nth-child(2) {
    text-align: center;
  }

  .developer-pic {
    width: 80px;
    height: 80px;
  }
}

/* Mobile screens (≤768px) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 22px;
  }

  .footer-col {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center !important;
  }

  .footer-col h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .footer-col ul li a {
    font-size: 0.95rem;
  }

  .footer-col p {
    font-size: 0.95rem;
  }

  .developer-pic {
    width: 72px;
    height: 72px;
  }

  .social-links a {
    width: 34px;
    height: 34px;
  }

  .social-links a img {
    width: 16px;
    height: 16px;
  }

  .footer-bottom {
    font-size: 0.85rem;
    margin-top: 12px;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .footer-container {
    border-radius: 10px;
    padding: 20px 16px;
    gap: 18px;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .footer-col ul li a {
    font-size: 0.9rem;
  }

  .developer-pic {
    width: 65px;
    height: 65px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links a img {
    width: 14px;
    height: 14px;
  }

  .footer-bottom {
    font-size: 0.8rem;
    margin-top: 10px;
  }
}
