@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  height: var(--header-height);
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  width: 60px;
  height: 45px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: var(--bg-white);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.hero {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-primary) 100%);
  position: relative;
  overflow: hidden;
}

/* 👇 Curve add */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background: var(--bg-white);
  border-top-left-radius: 100% 50%;
  border-top-right-radius: 100% 50%;
}


.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  opacity: 0.1;
  border-radius: 0 0 0 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-image {
  animation: fadeInRight 1s ease;
  position: relative;
}

.hero-image img {
 
  width: 100%;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md);
  position: relative;
 display: block; /* Changed */
  text-align: center; /* Added */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-full);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--spacing-lg) auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.service-card {
  background-color: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var( --text-primary), var(--text-secondary));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: var(--text-white);
}

.service-card h3 {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-xl);
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.stats-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
}
.stats-section1 {
 position: relative;
  overflow: hidden;
}
.stats-section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/happy.jpg") center center / cover no-repeat;
  filter: blur(6px); /* image blur intensity */
  z-index: 0;
}

.stats-section1 .container {
  position: relative;
  z-index: 1; /* content blur se upar rahe */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  text-align: center;
}

.stat-item h3 {
  font-size: var(--font-size-5xl);
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

.stat-item p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.feature-item {
  display: flex;
  gap: var(--spacing-lg);
}

.feature-icon {
  width: 40px;
  height: 40px;
 background: linear-gradient(135deg, var( --text-primary), var(--text-secondary));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}


.feature-content h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
    font-size: var(--font-size-xl);
}

.feature-content p {
  color: var(--text-secondary);
}

footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
  color: var(--text-white);
  margin-bottom: var(--spacing-lg);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.footer-section a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

@media (max-width: 768px) {
  
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
  color: var(--text-primary);
}

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image {
    order: -1;
  }

  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }

  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


.nav-menu li.dropdown {
  position: relative;
}

/* 🔸 Dropdown menu box */
.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-light);
 border-top: 3px solid var(--primary-color);
  /* border-radius: 8px; */
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  padding: 6px 0;
  z-index: 999;
}

/* Show dropdown on hover */
.nav-menu li.dropdown:hover > .dropdown-menu {
  display: block;
}

/* 🔹 Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background: var(--bg-hover);
  color: var(--primary-light);
}

/* 🔸 Responsive fix */
@media (max-width: 768px) {
 .mega-menu,
  .dropdown-menu {
    display: none !important;
    flex-direction: column;
    background: #fff;
    padding-left: 20px;
    border-left: 2px solid #eee;
  }

  /* Jab parent li active ho tab show kare */
  .dropdown.open > .mega-menu,
  .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  /* Dropdown Toggle arrow clickable full width */
  .dropdown > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.page-hero{
  height: 250px !important;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem auto;
  padding: 1rem 0;
  width: 100%;
  max-width: 1000px;
}

.partner-card {
  background: var(--bg-light);
  border-radius: 16px;
  width: 230px;            /* fixed equal width */
  height: 180px;           /* fixed equal height */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  background: var(--primary-light);
}

.partner-card img {
  width: 180px;            /* fixed size for equal look */
  height: auto;
  object-fit: contain;
  /* filter: grayscale(100%);
  opacity: 0.8; */
  transition: all 0.3s ease;
}

.partner-card:hover img {
  /* filter: grayscale(0%);
  opacity: 1; */
}

.d-flex{
  display: flex;
  justify-content: center;
  gap: 50px;
}


/* Mega dropdown container */
.mega-dropdown {
  position: relative;
}

.mega-dropdown:hover .mega-menu {
  display: flex;
}

/* Mega menu layout */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 800px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 1000;
  border-top: 3px solid var(--primary-color);
}

/* Each column */
.mega-column {
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid #eee;
}

.mega-column:last-child {
  border-right: none;
}

/* Column title */
.mega-column h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Links inside menu */
.mega-column a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 6px 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mega-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
