:root {
  --primary-green: #6BBF59;
  --dark-green: #4A9B3A;
  --light-green: #E8F5E6;
  --primary-gold: #B8860B;
  --dark-gold: #8B6914;
  --light-gold: #FFF8DC;
  --accent-brown: #8B6F47;
  --text-dark: #2C3E2C;
  --text-light: #5A6B5A;
  --bg-cream: #FDFDF8;
  --white: #FFFFFF;
  --shadow: rgba(75, 155, 58, 0.15);
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 4px 20px var(--shadow);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 280px;
  box-shadow: 0 10px 40px var(--shadow);
  border-radius: 12px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  list-style: none;
  border-top: 3px solid var(--primary-green);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega Menu Styles */
.mega-dropdown {
  position: static !important;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 15px 50px var(--shadow);
  border-radius: 0 0 24px 24px;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-top: 4px solid var(--primary-green);
  z-index: 999;
}

.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  display: flex !important;
  flex-direction: column;
  gap: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0 !important;
  background: transparent !important;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .img-wrapper {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-card span {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.3;
  transition: color 0.3s ease;
  font-family: 'Manrope', sans-serif;
}

.blog-card:hover span {
  color: var(--primary-green);
}

.mega-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-green);
  text-align: center;
}

.mega-footer a {
  color: var(--primary-green) !important;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.mega-footer a:hover {
  transform: translateX(5px);
  color: var(--dark-green) !important;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 0.8rem 1.5rem;
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.dropdown-menu a::after { display: none; }

.dropdown-menu a:hover {
  background: var(--light-green);
  color: var(--primary-green);
  padding-left: 2rem;
}

.get-involved-btn {
  background: var(--primary-green);
  color: white !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.get-involved-btn:hover {
  background: var(--dark-green);
  transform: scale(1.05);
}

.get-involved-btn::after { display: none !important; }

@media (max-width: 968px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    box-shadow: none;
    background: var(--light-green);
    margin-top: 0.5rem;
    border-top: none;
    padding: 0.5rem 0;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO CAROUSEL ===== */
.hero-section {
  position: relative;
  height: 75vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 4, 0, 0.85), rgba(2, 14, 1, 0.104));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: orange;
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-gold);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s both;
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.5);
  background: var(--dark-gold);
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--white);
  width: 35px;
  border-radius: 6px;
}

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

/* ===== SECTION STYLES ===== */
.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-gold));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 2rem auto 4rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--bg-cream) 100%);
  padding: 6rem 2rem;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236BBF59' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.about-text {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow);
  border-left: 5px solid var(--primary-green);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light-green), var(--light-gold));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-green);
  box-shadow: 0 15px 50px var(--shadow);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  padding: 5rem 2rem;
  color: white;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.impact-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.impact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.impact-label {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 500;
}

/* ===== OFFERINGS SECTION ===== */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.offering-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.4s ease;
}

.offering-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow);
}

.offering-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.offering-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(107, 191, 89, 0.3) 100%);
}

.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offering-card:hover .offering-image img {
  transform: scale(1.1);
}

.offering-content {
  padding: 2rem;
}

.offering-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.offering-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== HINDI SECTION ===== */
.hindi-section {
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--bg-cream) 100%);
  padding: 5rem 2rem;
}

.hindi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.hindi-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  border-top: 4px solid var(--primary-gold);
  transition: all 0.3s ease;
}

.hindi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px var(--shadow);
}

.hindi-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hindi-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hindi-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.scroll-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.scroll-link:hover {
  gap: 1rem;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
  padding: 5rem 2rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.why-choose-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.why-choose-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.why-choose-section a {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.why-choose-section a:hover {
  color: var(--dark-green);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 5rem 2rem;
  background: var(--light-green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 1;
  box-shadow: 0 5px 20px var(--shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 191, 89, 0.6), rgba(184, 134, 11, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== NEWS CAROUSEL ===== */
.news-section {
  padding: 5rem 2rem;
  background: var(--bg-cream);
}

.carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 3rem auto 0;
  overflow: hidden;
  padding: 0 60px;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.news-card {
  min-width: calc(33.333% - 1.5rem);
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--primary-green);
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: var(--primary-green);
  color: white;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--primary-green);
  width: 30px;
  border-radius: 5px;
}

/* ===== WHY TREECAMPUS SECTION ===== */
.why-treecampus-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--light-green), var(--light-gold));
  text-align: center;
}

.why-treecampus-content {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 15px 50px var(--shadow);
}

.why-treecampus-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.why-treecampus-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
}

/* ===== FEATURES DETAIL SECTION ===== */
.features-detail-section {
  padding: 5rem 2rem;
  background: var(--bg-cream);
}

.features-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  align-items: center;
}

.features-text h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-green);
}

.feature-item {
  margin-bottom: 2rem;
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-family: 'Manrope', sans-serif;
}

.feature-item p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.features-image {
  position: relative;
}

.features-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow);
  margin: 0 auto;
  display: block;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
  color: white;
}

.certifications-content {
  max-width: 1200px;
  margin: 0 auto;
}

.certifications-content h3 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.certifications-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.certifications-lists ul {
  list-style: none;
}

.certifications-lists li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
}

.certifications-lists li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== FREE APP SECTION ===== */
.free-app-section {
  padding: 5rem 2rem;
  background: var(--light-green);
}

.free-app-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.free-app-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.free-app-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.free-app-content a {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--primary-green);
  transition: all 0.3s ease;
}

.free-app-content a:hover {
  color: var(--dark-green);
  border-bottom-color: var(--dark-green);
}

/* ===== AI LEARNING SECTION ===== */
.ai-learning-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--light-gold), var(--bg-cream));
}

.ai-learning-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.ai-left h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.ai-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.ai-left .cta {
  background: var(--primary-green);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  font-weight: 600;
  display: inline-block;
}

.ai-right img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow);
}

/* ===== LIVE CLASSES SECTION ===== */
.live-classes-section {
  padding: 5rem 2rem;
  background: var(--bg-cream);
  text-align: center;
}

.live-classes-content {
  max-width: 1000px;
  margin: 0 auto;
}

.live-classes-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.live-classes-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.live-classes-content a {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.live-classes-content a:hover {
  color: var(--dark-green);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--text-dark), #1a2a1a);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
}

.footer-section p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-green);
  opacity: 1;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(107, 191, 89, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 20px var(--shadow);
    transition: right 0.4s ease;
    align-items: flex-start;
  }

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

  .mega-menu {
    position: relative;
    top: 0;
    width: 100%;
    box-shadow: none;
    padding: 1.5rem 0;
    display: none;
    transform: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
  }
  
  .mega-dropdown.active .mega-menu {
    display: block;
  }
  
  .mega-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-card {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }
  
  .blog-card .img-wrapper {
    width: 100px;
    height: 70px;
    border-radius: 12px;
    flex-shrink: 0;
  }
  
  .blog-card span {
    font-size: 1rem;
  }
  
  .mega-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: left;
  }

  .hamburger {
    display: flex;
  }

  .about-grid,
  .features-detail-grid,
  .ai-learning-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .certifications-lists {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-card {
    min-width: calc(50% - 1rem);
  }

  .carousel-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 1.5rem;
  }

  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .features-grid,
  .offerings-grid,
  .hindi-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .news-card {
    min-width: 100%;
  }

  .carousel-wrapper {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ===== BLOG LISTING PAGE ===== */
.blog-hero {
  background: linear-gradient(135deg, var(--text-dark), #1a2a1a);
  padding: 100px 2rem 140px;
  text-align: center;
  color: white;
  margin-bottom: -60px;
}

.blog-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Playfair Display', serif;
}

.blog-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  opacity: 0.9;
}

.blog-container {
  max-width: 1300px;
  margin: 0 auto 80px;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.blog-card-item {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(75, 155, 58, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(107, 191, 89, 0.05);
}

.blog-card-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(75, 155, 58, 0.15);
  border-color: rgba(107, 191, 89, 0.2);
}

.blog-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card-item:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-category-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary-green);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 5;
}

.blog-card-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.blog-card-meta i {
  color: var(--primary-green);
  margin-right: 5px;
}

.blog-card-title {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.blog-card-title:hover {
  color: var(--primary-green);
}

.blog-card-excerpt {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f5f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: var(--dark-green);
  gap: 12px;
}

.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 5rem;
}

.page-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.page-link:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-3px);
}

.page-link.active {
  background: var(--primary-green);
  color: white;
}

.page-link.wide {
  width: auto;
  padding: 0 1.8rem;
  border-radius: 50px;
}

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero { padding: 80px 1.5rem 120px; }
  .blog-hero h1 { font-size: 2.8rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-container { padding: 0 1.5rem; }
  .blog-card-content { padding: 1.5rem; }
}

/* ===== SINGLE BLOG POST ===== */
.article-container {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 0 1.5rem;
}

.article-post {
  background: var(--white);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-meta i {
  color: var(--primary-green);
  margin-right: 6px;
}

.article-title {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  margin-bottom: 2rem;
}

.article-hero-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.article-body p {
  margin-bottom: 1.8rem;
}

.article-body h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin: 3rem 0 1.5rem;
  font-family: 'Playfair Display', serif;
}

.article-body h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
}

.article-body ul {
  margin: 0 0 2rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .article-post { padding: 1.5rem; }
  .article-title { font-size: 2rem; }
  .article-container { margin: 30px auto 60px; }
}

/* Stretched link to make whole card clickable */
.blog-card-item {
  position: relative;
}

.blog-card-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
