:root {
  --primary: #77ba43;
  --secondary: #77ba43;
  --dark: #000000;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; 
  color: var(--dark); 
  background: var(--white); 
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  min-height: 100vh;
  position: relative;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Full width header */
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.06); width: 100%; margin: 0; padding: 0; }
.topbar { background: #0a0a0a; border-bottom: 2px solid var(--primary); width: 100%; margin: 0; padding: 0; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; margin: 0; width: 100%; }
.topbar .left { display: flex; gap: 16px; font-weight: 600; color: var(--white); font-size: 13px; padding-left: 20px; }
.topbar .social-top { display: flex; gap: 8px; padding-right: 20px; }
.topbar .social-top a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; transition: background 0.3s ease; }
.topbar .social-top a:hover { background: var(--primary); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); width: 100%; margin: 0; }
.nav > .container {
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: Poppins, sans-serif; font-weight: 700; font-size: 20px; color: var(--white); letter-spacing: 0.3px; }
.hamburger { font-size: 22px; background: transparent; border: 1px solid var(--secondary); color: var(--secondary); border-radius: 6px; padding: 6px 10px; display: inline-flex; align-items: center; }
.nav-links { list-style: none; display: none; padding: 0; margin: 0; }
.nav-links li { margin: 0; }
.nav-links a, .dropdown-toggle { display: block; padding: 12px 16px; text-decoration: none; color: var(--white); font-weight: 600; border-radius: 6px; font-size: 16px; position: relative; transition: all 0.3s ease; }
.nav-links a::after, .dropdown-toggle::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-links a:hover, .dropdown-toggle:hover { background: rgba(119,186,67,0.15); color: var(--primary); }
.nav-links a:hover::after, .dropdown-toggle:hover::after { width: 80%; }
.nav-links a.active, .dropdown-toggle.active { background: rgba(119,186,67,0.25); color: var(--primary); }
.nav.open .nav-links { display: block; }
.nav-links .has-dropdown { position: relative; }
.dropdown-toggle { background: transparent; border: 0; cursor: pointer; }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid rgba(119,186,67, 0.3); border-radius: 14px; min-width: 220px; box-shadow: 0 14px 30px rgba(0,0,0,0.25); display: none; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1000; }
.dropdown li a { color: var(--dark); padding: 12px 16px; border-radius: 8px; transition: all 0.3s ease; margin: 4px 8px; }
.dropdown li a:hover { background: rgba(119,186,67,0.2); color: var(--primary); transform: translateX(5px); }
.has-dropdown:hover .dropdown { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:focus-within .dropdown { display: block; opacity: 1; visibility: visible; transform: translateY(0); }

.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; }
.btn.primary { background: var(--primary); border: 2px solid black; color: var(--dark); box-shadow: 0 10px 20px rgba(51,51,51,0.08); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(51,51,51,0.12); }
.btn.outline { background: var(--primary); border: 2px solid black; color: var(--dark); box-shadow: 0 10px 20px rgba(51,51,51,0.08); }
.btn.outline:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(51,51,51,0.12); }
.btn.lg { padding: 14px 24px; font-size: 18px; }

.hero { 
  background: linear-gradient(135deg, var(--primary), var(--secondary)); 
  padding: 0; 
  color: var(--dark); 
  position: relative; 
  overflow: hidden; 
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.slider-container { 
  position: relative; 
  width: 100%; 
  height: 100vh;
  min-height: 700px;
}
.slides-container { 
  position: relative; 
  width: 100%; 
  height: 100%;
  overflow: hidden;
}
.slide-content { 
  display: none; 
  width: 100%; 
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)); /* Subtle dark overlay */
  z-index: 1;
}
.slide-content > div {
  position: relative;
  z-index: 2;
}
.slide-content.active { 
  display: flex;
  align-items: center;
  opacity: 1;
  animation: fadeIn 1s ease-in-out; 
}

.hero-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  align-items: center; 
  gap: 30px; 
  padding: 70px 0; 
  text-align: center;
}
.hero-content { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 20px; 
  text-align: center;
}
.hero h1 { 
  font-family: Poppins, sans-serif; 
  font-size: 30px; 
  line-height: 1.2; 
  margin: 0 0 12px; 
  color: var(--white); /* Changed to white for better readability on dark overlay */
  font-weight: 700;
  font-size: 2.5rem;
}
.highlight-keyword {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 10px 0;
  display: inline-block;
}
.hero .sub { 
  font-size: 16px; 
  margin: 0 0 14px; 
  color: var(--white); /* Changed to white for better readability on dark overlay */
  font-weight: 400;
}
.hero .intro { 
  font-size: 16px; 
  margin: 0 0 20px; 
  max-width: 640px; 
  color: var(--white); /* Changed to white for better readability on dark overlay */
  font-size: 1.1rem;
}
.brand-positioning {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 15px;
  font-style: italic;
}
.hero .cta { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  justify-content: center;
}

/* Hero Slider Styles */
.hero-slider { 
  position: relative; 
  padding: 70px 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 100%; 
  text-align: center;
}
.slider-content {
  max-width: 800px;
  padding: 20px;
}
.slider-content h2 { 
  font-family: Poppins, sans-serif; 
  font-size: 2.5rem; 
  margin: 0 0 15px; 
  color: var(--white); /* White for readability */
  font-weight: 700;
}
.slider-content .highlight-keyword {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 10px 0;
  display: inline-block;
}
.slider-content p { 
  font-size: 1.2rem; 
  margin: 0 0 20px; 
  color: var(--white); /* White for readability */
}
.slider-content .btn {
  margin: 0 auto;
}
/* HEADER HEIGHT FIX */
.nav {
  height: 100px;              /* header height FIX */
}

.nav .container {
  height: 100%;
  display: flex;
  align-items: center;       /* vertically center content */
}

/* BRAND FIX */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 110px;        /* vertical size */
  max-width: 100px;   /* 👈 yahin se width control hogi */
  width: 100%;
  object-fit: contain;
  display: block;
  transform: translateY(9px);
}


/* Slider Pagination Dots */
.slider-dots { 
  position: absolute; 
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  display: flex; 
  gap: 10px; 
  z-index: 10; 
}
.dot { 
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: rgba(255, 255, 255, 0.5); 
  cursor: pointer; 
  transition: background 0.3s ease; 
}
.dot.active { 
  background: var(--white); 
}

.section { padding: 60px 0; width: 100%; margin: 0; }
.section h2 { font-family: Poppins, sans-serif; font-size: 28px; margin: 0 0 20px; text-align: center; }
.section p { font-size: 16px; line-height: 1.7; }

.roles .roles-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.role-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 18px; box-shadow: 0 10px 20px rgba(51,51,51,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.5s ease; position: relative; overflow: hidden; color: var(--dark); }
.role-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: 0; }
.role-card h3,
.role-card p { position: relative; z-index: 1; transition: color 0.5s ease; }
.role-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(51,51,51,0.12); }
.role-card:hover::before { width: 150%; height: 150%; border-radius: 14px; }
.role-card:hover h3,
.role-card:hover p { color: white; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-card { width: 100%; height: 700px!important; border-radius: 18px; background: linear-gradient(135deg, var(--white), rgba(119,186,67,0.3)); border: 2px solid var(--primary); box-shadow: 0 18px 40px rgba(51,51,51,0.1); overflow: hidden; }
.about-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.achievements { background: var(--primary); padding: 50px 0; }
.achievements-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ach-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 20px; box-shadow: 0 14px 28px rgba(51,51,51,0.08); }
.ach-card h3 { margin: 0 0 10px; font-size: 18px; }

.featured .featured-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.featured .logo-badge { background: var(--white); border: 2px solid var(--primary); border-radius: 40px; padding: 16px; text-align: center; font-weight: 700; color: var(--secondary); box-shadow: 0 10px 20px rgba(51,51,51,0.06); }

.teach-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.teach-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 10px 20px rgba(51,51,51,0.06); }
.teach-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(51,51,51,0.12); }
.teach-card .icon { font-size: 28px; margin-bottom: 8px; }

.programs-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.program-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 20px; box-shadow: 0 12px 24px rgba(51,51,51,0.08); }
.program-card ul { margin: 0 0 16px 18px; }
.program-card li { margin: 6px 0; }

.slider { position: relative; }
.slides { display: grid; grid-template-columns: 1fr; }
.slide { display: none; background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 18px; box-shadow: 0 12px 24px rgba(51,51,51,0.08); }
.slide.active { display: block; }
.author { margin-top: 12px; font-weight: 600; color: var(--secondary); }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.slider-controls button { border: 2px solid var(--secondary); background: var(--white); color: var(--secondary); border-radius: 8px; padding: 8px 12px; font-weight: 700; }
.slider-controls button:hover { background: rgba(119,186,67,0.25); }

/* Courses & Packages Section */
.courses-packages-section { background: #f8f9fa; width: 100%; margin: 0; padding: 60px 0; }
.courses-packages-tabs { display: flex; gap: 8px; margin-bottom: 30px; justify-content: center; }
.tab-button { padding: 12px 24px; background: var(--white); border: 2px solid var(--primary); color: var(--dark); font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.tab-button.active { background: var(--primary); color: var(--dark); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.courses-slider-container { position: relative; width: 100%; overflow: hidden; margin-bottom: 30px; }
.courses-slider-wrapper { display: flex; transition: transform 0.5s linear; width: auto; }
.course-slider-card { flex: 0 0 calc((100% / 2) - 12px); margin-right: 24px; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; max-width: 370px; width: 100%; }

.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.slider-btn { padding: 8px 16px; background: var(--primary); color: var(--dark); border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background 0.3s ease; }
.slider-btn:hover { background: var(--secondary); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background 0.3s ease; }
.slider-dot.active { background: var(--primary); }

.course-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.5s ease; position: relative; display: flex; flex-direction: column; height: 100%; }
.course-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: 0; }

.course-image,
.course-content { position: relative; z-index: 1; }
.course-content h4,
.course-meta { position: relative; z-index: 1; transition: color 0.5s ease; }
.course-image { position: relative; width: 100%; height: 140px; overflow: hidden; background: #e0e0e0; }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.course-rating { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.95); padding: 3px 8px; border-radius: 6px; font-size: 11px; }
.course-content { padding: 14px; flex: 1; }
.course-content h4 { font-size: 14px; font-weight: 600; color: var(--dark); margin: 0 0 8px; line-height: 1.3; font-family: Poppins, sans-serif; }
.course-content p { font-size: 13px; line-height: 1.4; color: #666; margin: 0 0 8px; }
.course-features, .package-features { list-style: none; padding: 0; margin: 8px 0; }
.course-features li, .package-features li { font-size: 12px; color: #555; margin: 4px 0; position: relative; padding-left: 16px; }
.course-features li::before, .package-features li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.course-meta { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 12px; color: #666; }
.course-meta .price { font-size: 16px; font-weight: 700; color: var(--primary); }
.btn-join,
.btn-enroll { display: block; width: 100%; text-align: center; min-width: auto; }
.column-footer { text-align: center; padding-top: 20px; margin-top: 8px; border-top: 2px solid #f0f0f0; }
.column-footer .btn { min-width: 220px; padding: 14px 32px; font-size: 15px; font-weight: 600; border-radius: 10px; box-shadow: 0 4px 12px rgba(119,186,67,0.3); transition: all 0.3s ease; letter-spacing: 0.3px; text-transform: uppercase; }


@media (max-width: 767px) {
  .course-slider-card { 
    flex: 0 0 100%; 
    margin-right: 0; 
    max-width: 100%; 
  }
  .courses-slider-wrapper { 
    display: flex; 
    transition: transform 0.5s linear; 
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .course-slider-card { 
    flex: 0 0 calc((100% / 2) - 12px); 
    margin-right: 24px; 
    max-width: 370px; 
    width: 100%; 
  }
  
}

@media (min-width: 1024px) {
  .course-slider-card { 
    flex: 0 0 calc((100% / 2) - 12px); 
    margin-right: 24px; 
    max-width: 370px; 
    width: 100%; 
  }
  
}

.cta-section { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: var(--dark); padding: 60px 0; text-align: center; }
.cta-section h2 { margin: 0 0 18px; font-size: 24px; }

/* What Sandeep Teaches Section */
.teach-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 60px 0; width: 100%; margin: 0; }
.teach-section h2 { color: var(--white);  font-size: 36px; text-align: center; font-family: Poppins, sans-serif; font-weight: 700; }
.teach-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; width: 100%; }
.teach-card { 
  background: #f8f9fa; /* Soft off-white/light pastel background */
  border-radius: 20px; /* Large rounded corners */
  padding: 30px 25px; /* Consistent padding */
  text-align: center; 
  transition: all 0.3s ease-in-out; /* Smooth transition */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Default box shadow */
}
.teach-card:hover { 
  transform: translateY(-6px); /* Slight move up */
  box-shadow: 0 12px 30px rgba(119, 186, 67, 0.3); /* Soft shadow glow with primary color */
}
.teach-image-circle { 
  width: 80px; /* Smaller circular icon container */
  height: 80px; /* Smaller circular icon container */
  margin: 0 auto 15px; /* Reduced space below icon */
  border-radius: 50%; 
  background: var(--primary); /* Primary theme color background */
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 6px 16px rgba(0,0,0,0.15); /* Slightly elevated */
  transition: all 0.3s ease-in-out; /* Smooth transition */
  overflow: hidden; 
  flex-shrink: 0; /* Prevent shrinking */
}
.teach-card:hover .teach-image-circle { 
  transform: scale(1.1); /* Icon circle scales up on hover */
  box-shadow: 0 8px 20px rgba(119, 186, 67, 0.3); /* Enhanced shadow on hover */
}
.teach-image-circle img { 
  width: 60%; /* Proportional size */
  height: 60%; /* Proportional size */
  object-fit: contain; 
  filter: brightness(0) invert(1); /* Make icon white */
}
.teach-card h3 { 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--dark); 
  margin: 0 0 12px; 
  font-family: Poppins, sans-serif; 
  position: relative; /* For accent line */
}
.teach-card h3::after { /* Thin accent line under title */
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary); /* Primary theme color */
}
.teach-card p { 
  font-size: 14px; 
  line-height: 1.6; 
  color: #6c757d; /* Muted color */
  margin: 15px auto 0; /* Space above description */
  flex-grow: 1; /* Take remaining space */
}

/* Responsive adjustments for teach section */
@media (min-width: 768px) {
  .teach-grid { grid-template-columns: repeat(2, 1fr); } /* Tablet: 2 cards per row */
}

@media (min-width: 1024px) {
  .teach-grid { grid-template-columns: repeat(3, 1fr); } /* Desktop: 3 cards per row */
}


.teach-image-circle i { 
  color: white; /* Make Font Awesome icon white */
  font-size: 2.2em; /* Larger Font Awesome icons */
  text-align: center; /* Center the icon */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Homepage helpers */
.dark-hero { color: var(--white); }
.dark-hero .sub, .dark-hero .intro { color: var(--white); }
.roles-stack { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quote-section { background: var(--dark); color: var(--white); padding: 60px 0; text-align: center; }
.quote-section h2 { margin: 0; font-family: Poppins, sans-serif; font-size: 28px; }

/* FAQ Section */
.faq-section { background: #f8f9fa; padding: 60px 0; width: 100%; margin: 0; }
.faq-section h2 { color: var(--dark); margin-bottom: 40px; font-size: 32px; text-align: center; font-family: Poppins, sans-serif; font-weight: 700; }
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.faq-question { width: 100%; text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden; padding: 20px 24px; font-weight: 600; font-size: 16px; color: var(--dark); background: var(--primary); border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s ease; font-family: inherit; }
.faq-question:hover { background: var(--secondary); }
.faq-icon { font-size: 24px; font-weight: 400; transition: transform 0.3s ease; color: var(--dark); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 24px; font-size: 15px; line-height: 1.7; color: #555; background: var(--white); }
.faq-answer p { margin: 0; padding-top: 12px; }
.faq-item.open .faq-answer { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--primary); border-radius: 10px; font-size: 16px; }
.error { color: var(--dark); font-size: 13px; min-height: 16px; margin-top: 6px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; }
.contact-list li { margin: 6px 0; }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--secondary); color: var(--secondary); text-decoration: none; }
.social a:hover { background: rgba(119,186,67,0.25); }

.footer { background: var(--white); border-top: 2px solid var(--primary); padding: 20px 0; text-align: center; color: var(--dark); }

/* Blog Section - Enhanced to match your site's design */
.blogs-section { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); 
  padding: 60px 0; 
  color: var(--white); 
}

.blogs-section h2 { 
  color: var(--white); 
  margin-bottom: 40px; 
  font-size: 32px; 
  text-align: center; 
  font-family: Poppins, sans-serif;
  font-weight: 700;
}

/* Blog Hero Section with Background Image */
.blog-hero-section { 
  background-image: url('assests/unnamed \(1\).jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  position: relative; 
  min-height: 500px; 
  display: flex; 
  align-items: center; 
}

.hero-background-overlay { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%); 
  z-index: 1; 
}

.blog-hero-section .hero-container { 
  position: relative; 
  z-index: 2; 
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.blog-hero-section .hero-content { 
  text-align: center; 
  max-width: 800px; 
  width: 100%;
  padding: 40px 20px; 
}

.blog-hero-section .hero-content h1 { 
  color: var(--white); 
  font-size: 3rem; 
  margin-bottom: 20px; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); 
}

.blog-hero-section .highlight-keyword { 
  color: var(--primary); 
  margin: 20px 0; 
  font-size: 2rem;
}

.blog-hero-section .intro { 
  color: rgba(255, 255, 255, 0.9); 
  font-size: 1.2rem; 
  margin-bottom: 30px; 
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 
}

/* Blog Card Styles - Match your site's design */
.blogs-slider-wrapper { 
  position: relative; 
  width: 100%; 
  overflow: hidden; 
  padding: 10px 0; /* Moved from slider to prevent card clipping */
}

.blogs-slider { 
  display: flex; 
  gap: 24px; 
  overflow: visible; 
  padding: 0; 
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
  width: auto;
  min-width: max-content;
  will-change: transform;
  transform: translateZ(0); /* Enable GPU acceleration */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Mobile first - 1 card full width */
.blog-card { 
  background: var(--white); 
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  flex-shrink: 0; 
  display: flex;
  flex-direction: column;
  width: 100%; /* Fill container */
  height: 480px; /* Fixed height for all cards */
  box-sizing: border-box;
}

.blog-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 16px 35px rgba(119, 186, 67, 0.4) !important; 
  border: 1px solid rgba(119, 186, 67, 0.3);
}

.blog-image { 
  width: 100%; /* Fill the card width */
  height: 220px; 
  overflow: hidden; 
  background: #f0f0f0; 
  flex-shrink: 0; /* Prevent shrinking */
}

.blog-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.3s ease; 
  border-radius: 14px 14px 0 0; /* Respect card's top border-radius */
}

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

.blog-content { 
  padding: 20px; 
  color: var(--dark);
  flex: 1; /* Take remaining space */
  display: flex;
  flex-direction: column;
  width: 100%; /* Fill the card width */
  box-sizing: border-box;
  overflow: hidden;
}

.blog-content h3 { 
  font-size: 18px; 
  margin: 0 0 12px; 
  color: var(--primary); 
  font-weight: 700; 
  line-height: 1.3; 
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-content p { 
  font-size: 14px; 
  line-height: 1.6; 
  margin: 0 0 16px; 
  color: #555;
  flex-grow: 1;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-social { 
  display: flex; 
  gap: 8px; 
  margin-bottom: 16px; 
}

.blog-social a { 
  width: 32px; 
  height: 32px; 
  display: grid; 
  place-items: center; 
  border-radius: 6px; 
  border: 2px solid var(--primary); 
  color: var(--primary); 
  text-decoration: none; 
  font-weight: 700; 
  transition: all 0.3s ease; 
  font-size: 12px;
}

.blog-social a:hover { 
  background: var(--primary); 
  color: var(--white); 
}

.read-more { 
  display: inline-flex; 
  align-items: center; 
  color: var(--primary); 
  font-weight: 700; 
  text-decoration: none; 
  transition: gap 0.3s ease; 
  gap: 4px; 
}

.read-more:hover { 
  gap: 8px; 
  color: var(--secondary); 
}



/* Responsive adjustments for blog - now handled in Responsive Card Widths section */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet - show 2 cards side by side */
  .blog-slider-card { 
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards with 24px gap */
  }
}

@media (min-width: 1024px) {
  /* Desktop - show 3 cards side by side */
  .blog-slider-card { 
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards with 24px gap */
  }
}

@media (max-width: 767px) {
  /* Blog mobile - 1 card full width */
  .blog-slider-card { 
    flex: 0 0 300px; /* Slightly smaller on mobile but still fixed */
  }
  
  .blog-hero-section .hero-content h1 { 
    font-size: 2rem; 
  }
  
  .blog-hero-section .intro { 
    font-size: 1rem; 
  }
}

/* Testimonials Section */
.testimonials-section { background: #f8f9fa; padding: 60px 0; width: 100%; margin: 0; }
.testimonials-section h2 { color: var(--dark); margin-bottom: 50px; font-size: 36px; text-align: center; font-family: Poppins, sans-serif; font-weight: 700; }
.testimonials-slider-wrapper { position: relative; width: 100%; overflow: hidden; }
.testimonials-slider { display: flex; gap: 30px; overflow: visible; padding: 20px 0; transition: transform 0.5s linear; }
/* Mobile first - 1 card */
.testimonial-card { background: var(--white); border-radius: 16px; padding: 40px 30px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); flex-shrink: 0; width: 100%; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.5s ease; position: relative; overflow: hidden; color: var(--dark); }
.testimonial-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: 0; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.testimonial-card:hover::before { width: 150%; height: 150%; border-radius: 16px; }
.testimonial-avatar,
.testimonial-text,
.testimonial-name,
.testimonial-role { position: relative; z-index: 1; transition: color 0.5s ease; }
.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .testimonial-name,
.testimonial-card:hover .testimonial-role { color: white; }
.testimonial-card:hover .testimonial-avatar { border-color: white; }
.testimonial-avatar { width: 120px; height: 120px; margin: 0 auto 25px; border-radius: 50%; border: 5px solid var(--primary); overflow: hidden; background: #e0e0e0; display: flex; align-items: center; justify-content: center; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-text { font-size: 16px; line-height: 1.8; color: #555; margin: 0 0 25px; font-style: italic; }
.testimonial-name { font-size: 20px; font-weight: 700; color: var(--dark); margin: 0 0 8px; font-family: Poppins, sans-serif; }
.testimonial-role { font-size: 14px; color: #777; font-weight: 500; }
.testimonials-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testimonials-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s ease; }
.testimonials-dots .dot.active { background: var(--primary); transform: scale(1.2); }

.site-footer { background: var(--dark); color: var(--white); position: relative; z-index: 1; width: 100%; margin: 0; padding: 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0; width: 100%; margin: 0; }
.site-footer h4 { margin: 0 0 10px; font-family: Poppins, sans-serif; font-size: 20px; position: relative; }
.site-footer h4::after { content: ""; display: block; width: 40px; height: 3px; background: var(--primary); margin-top: 8px; }
.footer-brand p { margin: 10px 0 12px; }
.footer-brand .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 15px; }
.footer-brand .brand img { width: 48px; height: 48px; }
.footer-brand .brand span { font-family: Poppins, sans-serif; font-weight: 700; font-size: 20px; color: var(--white); letter-spacing: 0.3px; }
.site-footer a { color: var(--white); text-decoration: none; transition: color 0.3s ease; }
.site-footer a:hover { color: var(--primary); }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin: 8px 0; }
.footer-top .contact-list { list-style: none; padding: 0; margin: 0; }
.footer-top .contact-list li { margin: 8px 0; color: var(--white); }
.site-footer .social { display: flex; gap: 10px; margin-top: 15px; }
.site-footer .social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--primary); transition: all 0.3s ease; }
.site-footer .social a:hover { background: var(--primary); }
.footer-bottom { border-top: 2px solid var(--primary); padding: 16px 0; text-align: center; width: 100%; margin: 0; }

/* Blog Page Styles */
.blog-hero { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 80px 0 60px; width: 100%; margin: 0; }
.blog-posts-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; width: 100%; }
/* Editorial Blog Card Design */
.editorial-blog-card { 
  display: flex; 
  background: var(--white); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); 
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
  border: 1px solid rgba(119, 186, 67, 0.08); 
  margin-bottom: 30px;
}

.editorial-blog-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 30px rgba(0,0,0,0.1); 
  border-color: rgba(119, 186, 67, 0.15); 
}

.editorial-card-content { 
  flex: 0 0 60%; 
  padding: 32px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
}

.editorial-card-image { 
  flex: 0 0 40%; 
  position: relative; 
  background: linear-gradient(45deg, #f8f9fa, #e9ecef); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden;
}

.editorial-card-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: all 0.5s ease; 
}

.editorial-blog-card:hover .editorial-card-image img { 
  transform: scale(1.03); 
  filter: brightness(1.05); 
}

.editorial-label { 
  font-size: 12px; 
  font-weight: 700; 
  color: #999; 
  text-transform: uppercase; 
  letter-spacing: 1.2px; 
  margin-bottom: 12px; 
}

.editorial-title { 
  font-size: 24px; 
  font-weight: 700; 
  color: var(--dark); 
  margin: 0 0 16px; 
  font-family: Poppins, sans-serif; 
  line-height: 1.3; 
  letter-spacing: -0.2px; 
  transition: color 0.3s ease; 
}

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

.editorial-preview { 
  font-size: 15px; 
  line-height: 1.7; 
  color: #666; 
  margin: 0 0 20px; 
  font-weight: 400; 
}

.editorial-read-more { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: var(--primary); 
  font-weight: 600; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-size: 14px; 
  position: relative; 
  padding-bottom: 2px;
}

.editorial-read-more::after { 
  content: ""; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 0; 
  height: 2px; 
  background: var(--primary); 
  transition: width 0.3s ease; 
}

.editorial-read-more:hover { 
  color: var(--secondary); 
  gap: 10px; 
}

.editorial-read-more:hover::after { 
  width: 100%; 
}

/* Expanded Content */
.editorial-expanded-content { 
  max-height: 0; 
  overflow: hidden; 
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
  opacity: 0; 
  margin-top: 0; 
}

.editorial-expanded-content.expanded { 
  max-height: 1000px; 
  opacity: 1; 
  margin-top: 24px; 
  padding-top: 24px; 
  border-top: 1px solid rgba(119, 186, 67, 0.15); 
}

.expanded-inner { 
  padding: 8px 0; 
}

.expanded-inner p { 
  font-size: 15px; 
  line-height: 1.8; 
  color: #555; 
  margin: 0 0 16px; 
}

.expanded-inner h3 { 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--dark); 
  margin: 24px 0 16px; 
  font-family: Poppins, sans-serif; 
  line-height: 1.4; 
}

.editorial-read-less { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: #777; 
  font-weight: 600; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-size: 14px; 
  margin-top: 16px; 
}

.editorial-read-less:hover { 
  color: var(--primary); 
  gap: 10px; 
}
/* Blog Page Layout */
.blog-main-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }

.blog-posts-column { width: 100%; }

.blog-sidebar { width: 100%; }

/* Blog Pagination */
.blog-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.pagination-btn { padding: 12px 18px; border-radius: 8px; border: 2px solid var(--primary); background: var(--white); color: var(--dark); font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.pagination-btn:hover { background: var(--primary); color: var(--dark); transform: translateY(-2px); }
.pagination-btn.active { background: var(--primary); color: var(--dark); }

/* Sidebar Widgets */
.sidebar-widget { background: var(--white); border-radius: 16px; padding: 28px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); margin-bottom: 28px; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid rgba(119, 186, 67, 0.1); }
.sidebar-widget:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); border-color: rgba(119, 186, 67, 0.2); }
.sidebar-widget h3 { font-family: Poppins, sans-serif; font-size: 22px; font-weight: 700; color: var(--dark); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 2px solid var(--primary); position: relative; }
.sidebar-widget h3::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 1px; }

/* Trending Blogs */
.trending-blog { display: flex; gap: 18px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(119, 186, 67, 0.1); transition: all 0.3s ease; }
.trending-blog:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.trending-blog:hover { background: rgba(119, 186, 67, 0.03); padding: 12px; border-radius: 12px; margin: 0 -12px 22px -12px; }

.trending-blog-image { flex-shrink: 0; width: 85px; height: 85px; border-radius: 12px; overflow: hidden; background: linear-gradient(45deg, #f8f9fa, #e9ecef); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.trending-blog-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; }
.trending-blog:hover .trending-blog-image img { transform: scale(1.08); border-radius: 10px; }

.trending-blog-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.trending-blog-content h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin: 0 0 10px; line-height: 1.5; letter-spacing: -0.2px; transition: color 0.3s ease; }
.trending-blog:hover .trending-blog-content h4 { color: var(--primary); }

.trending-meta { font-size: 13px; color: #777; font-weight: 500; display: flex; align-items: center; gap: 8px; }

/* Market Indices Widget */
.market-index { }
.index-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.index-row:last-child { border-bottom: none; }
.index-name { font-weight: 600; color: var(--dark); font-size: 14px; }
.index-value { font-weight: 700; font-size: 14px; }
.index-value.positive { color: #28a745; }
.index-value.negative { color: #dc3545; }
.index-change { font-size: 12px; font-weight: 600; }

/* Newsletter Widget */
.newsletter-widget p { font-size: 14px; color: #666; margin: 0 0 20px; line-height: 1.6; }
.newsletter-form { margin-bottom: 12px; }
.newsletter-form .field { margin-bottom: 16px; }
.newsletter-form input { width: 100%; padding: 12px 16px; border: 2px solid var(--primary); border-radius: 10px; font-size: 15px; transition: border-color 0.3s ease; }
.newsletter-form input:focus { outline: none; border-color: var(--secondary); }
.form-note { font-size: 12px; color: #999; text-align: center; margin: 0; }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; }
  
  /* Blog Layout - 2 Columns */
  .blog-main-grid { grid-template-columns: 2fr 1fr; gap: 30px; }
  
  /* Editorial cards - horizontal layout on tablet/desktop */
  .editorial-blog-card { flex-direction: row; }
  .editorial-card-content { flex: 0 0 60%; }
  .editorial-card-image { flex: 0 0 40%; }
  
  /* Blog posts grid - 1 column for editorial cards */
  .blog-posts-grid { display: block; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; gap: 4px; }
  .hamburger { display: none; }
  .nav.open .nav-links { display: flex; }
  .has-dropdown:hover .dropdown { display: block; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero h1 { font-size: 40px; }
  .hero .intro { font-size: 18px; }
  .slider-content h2 { font-size: 3rem; }
  .slider-content p { font-size: 1.4rem; }
  .highlight-keyword { font-size: 2.2rem; }
  .slider-content .highlight-keyword { font-size: 2.2rem; }
  
  /* Blog desktop - show 3 cards side by side */
  .blog-card { width: calc((100% - 48px) / 3); } /* 48px = 2 gaps of 24px */
  
  /* Testimonials desktop - show 2 cards side by side */
  .testimonial-card { width: calc((100% - 30px) / 2); } /* 30px = 1 gap */
  
  /* Courses & Packages - two columns side by side */
  .courses-packages-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* What Sandeep Teaches - 3 columns */
  .teach-grid { grid-template-columns: repeat(3, 1fr); gap: 50px; }
  
  /* Blog page - 2 columns */
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nav.open .dropdown { position: static; min-width: 100%; margin-top: 6px; }
  .slider-content h2 { font-size: 2rem; }
  .slider-dots { bottom: 15px; }
  .slider-content { padding: 10px; }
  .hero-grid { padding: 30px 0; }
  .highlight-keyword { font-size: 1.5rem; }
  .slider-content .highlight-keyword { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .slider-content h2 { font-size: 2rem; }
  
  /* Blog Hero Mobile */
  .blog-hero-section .hero-content h1 { font-size: 2rem; }
  .blog-hero-section .intro { font-size: 1rem; }
  
  /* Topbar mobile */
  .topbar .left { flex-direction: column; gap: 4px; font-size: 11px; }
  .topbar .left span { font-size: 11px; }
  
  /* Editorial cards - vertical layout on mobile */
  .editorial-blog-card { flex-direction: column; }
  .editorial-card-content { flex: 0 0 auto; padding: 24px; }
  .editorial-card-image { flex: 0 0 200px; width: 100%; }
  .editorial-title { font-size: 20px; }
  
  /* Blog mobile - 1 card full width */
  .blog-card { width: 100% !important; }
  
  /* Testimonials mobile - 1 card full width */
  .testimonial-card { width: 100% !important; }
}
  .hero { padding: 0; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
  .roles .roles-grid { grid-template-columns: repeat(4, 1fr); }
  .achievements-grid { grid-template-columns: repeat(4, 1fr); }
  .featured .featured-logos { grid-template-columns: repeat(4, 1fr); }
  .teach-grid { grid-template-columns: repeat(3, 1fr); }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }:root {
  --primary: #77ba43;
  --secondary: #77ba43;
  --dark: #000000;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: var(--White);
  color: var(--dark);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
  position: relative;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Full width header */
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 8px 20px rgba(51,51,51,0.06); width: 100%; margin: 0; padding: 0; }
.topbar { background: var(--dark); border-bottom: 2px solid var(--primary); width: 100%; margin: 0; padding: 0; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; margin: 0; width: 100%; }
.topbar .left { display: flex; gap: 16px; font-weight: 600; color: var(--white); font-size: 13px; padding-left: 20px; }
.topbar .social-top { display: flex; gap: 8px; padding-right: 20px; }
.topbar .social-top a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; transition: background 0.3s ease; }
.topbar .social-top a:hover { background: var(--primary); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; background: var(--dark); width: 100%; margin: 0; }
.nav > .container { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: Poppins, sans-serif; font-weight: 700; font-size: 20px; color: var(--white); letter-spacing: 0.3px; }
.hamburger { font-size: 22px; background: transparent; border: 1px solid var(--secondary); color: var(--secondary); border-radius: 6px; padding: 6px 10px; display: inline-flex; align-items: center; }
.nav-links { list-style: none; display: none; padding: 0; margin: 0; }
.nav-links li { margin: 0; }
.nav-links a, .dropdown-toggle { display: block; padding: 12px 16px; text-decoration: none; color: var(--white); font-weight: 600; border-radius: 6px; font-size: 16px; }
.nav-links a:hover, .dropdown-toggle:hover { background: rgba(119,186,67,0.25); }
.nav-links a.active, .dropdown-toggle.active { background: rgba(119,186,67,0.35); }
.nav.open .nav-links { display: block; }
.nav-links .has-dropdown { position: relative; }
.dropdown-toggle { background: transparent; border: 0; cursor: pointer; }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 2px solid var(--primary); border-radius: 10px; min-width: 200px; box-shadow: 0 14px 28px rgba(51,51,51,0.12); display: none; }
.dropdown li a { color: var(--dark); padding: 10px 12px; }
.dropdown li a:hover { background: rgba(119,186,67,0.25); }
.has-dropdown.open .dropdown { display: block; }

.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; }
.btn.primary { background: var(--primary); border: 2px solid black; color: var(--dark); box-shadow: 0 10px 20px rgba(51,51,51,0.08); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(51,51,51,0.12); }
.btn.outline { background: var(--primary); border: 2px solid black; color: var(--dark); box-shadow: 0 10px 20px rgba(51,51,51,0.08); }
.btn.outline:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(51,51,51,0.12); }
.btn.lg { padding: 14px 24px; font-size: 18px; }

.hero { 
  background: linear-gradient(135deg, var(--primary), var(--secondary)); 
  padding: 0; 
  color: var(--dark); 
  position: relative; 
  overflow: hidden; 
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.slider-container { 
  position: relative; 
  width: 100%; 
  height: 100vh;
  min-height: 700px;
}
.slides-container { 
  position: relative; 
  width: 100%; 
  height: 100%;
  overflow: hidden;
}
.slide-content { 
  display: none; 
  width: 100%; 
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)); /* Subtle dark overlay */
  z-index: 1;
}
.slide-content > div {
  position: relative;
  z-index: 2;
}
.slide-content.active { 
  display: flex;
  align-items: center;
  opacity: 1;
  animation: fadeIn 1s ease-in-out; 
}

.hero-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  align-items: center; 
  gap: 30px; 
  padding: 70px 0; 
  text-align: center;
}
.hero-content { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 20px; 
  text-align: center;
}
.hero h1 { 
  font-family: Poppins, sans-serif; 
  font-size: 30px; 
  line-height: 1.2; 
  margin: 0 0 12px; 
  color: var(--white); /* Changed to white for better readability on dark overlay */
  font-weight: 700;
  font-size: 2.5rem;
}
.highlight-keyword {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 10px 0;
  display: inline-block;
}
.hero .sub { 
  font-size: 16px; 
  margin: 0 0 14px; 
  color: var(--white); /* Changed to white for better readability on dark overlay */
  font-weight: 400;
}
.hero .intro { 
  font-size: 16px; 
  margin: 0 0 20px; 
  max-width: 640px; 
  color: var(--white); /* Changed to white for better readability on dark overlay */
  font-size: 1.1rem;
}
.brand-positioning {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 15px;
  font-style: italic;
}
.hero .cta { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  justify-content: center;
}

/* Hero Slider Styles */
.hero-slider { 
  position: relative; 
  padding: 70px 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 100%; 
  text-align: center;
}
.slider-content {
  max-width: 800px;
  padding: 20px;
}
.slider-content h2 { 
  font-family: Poppins, sans-serif; 
  font-size: 2.5rem; 
  margin: 0 0 15px; 
  color: var(--white); /* White for readability */
  font-weight: 700;
}
.slider-content .highlight-keyword {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 10px 0;
  display: inline-block;
}
.slider-content p { 
  font-size: 1.2rem; 
  margin: 0 0 20px; 
  color: var(--white); /* White for readability */
}
.slider-content .btn {
  margin: 0 auto;
}
/* HEADER HEIGHT FIX */
.nav {
  height: 80px;              /* header height FIX */
}

.nav .container {
  height: 100%;
  display: flex;
  align-items: center;       /* vertically center content */
}

/* BRAND FIX */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LOGO ONLY BIG */
.brand img {
  height: 120px;        /* vertical size */
  max-width: 250px;   /* 👈 yahin se width control hogi */
  width: 100%;
  object-fit: contain;
  display: block;
  transform: translateY(8px);
}


/* Slider Pagination Dots */
.slider-dots { 
  position: absolute; 
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  display: flex; 
  gap: 10px; 
  z-index: 10; 
}
.dot { 
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: rgba(255, 255, 255, 0.5); 
  cursor: pointer; 
  transition: background 0.3s ease; 
}
.dot.active { 
  background: var(--white); 
}

.section { padding: 60px 0; width: 100%; margin: 0; }
.section h2 { font-family: Poppins, sans-serif; font-size: 28px; margin: 0 0 20px; text-align: center; }
.section p { font-size: 16px; line-height: 1.7; }

.roles .roles-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.role-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 18px; box-shadow: 0 10px 20px rgba(51,51,51,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.5s ease; position: relative; overflow: hidden; color: var(--dark); }
.role-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: 0; }
.role-card h3,
.role-card p { position: relative; z-index: 1; transition: color 0.5s ease; }
.role-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(51,51,51,0.12); }
.role-card:hover::before { width: 150%; height: 150%; border-radius: 14px; }
.role-card:hover h3,
.role-card:hover p { color: white; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-card { width: 100%; height: 300px; border-radius: 18px; background: linear-gradient(135deg, var(--white), rgba(119,186,67,0.3)); border: 2px solid var(--primary); box-shadow: 0 18px 40px rgba(51,51,51,0.1); overflow: hidden; }
.about-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.achievements { background: var(--primary); padding: 50px 0; }
.achievements-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ach-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 20px; box-shadow: 0 14px 28px rgba(51,51,51,0.08); }
.ach-card h3 { margin: 0 0 10px; font-size: 18px; }

.featured .featured-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.featured .logo-badge { background: var(--white); border: 2px solid var(--primary); border-radius: 40px; padding: 16px; text-align: center; font-weight: 700; color: var(--secondary); box-shadow: 0 10px 20px rgba(51,51,51,0.06); }

.teach-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.teach-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 10px 20px rgba(51,51,51,0.06); }
.teach-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(51,51,51,0.12); }
.teach-card .icon { font-size: 28px; margin-bottom: 8px; }

.programs-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.program-card { background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 20px; box-shadow: 0 12px 24px rgba(51,51,51,0.08); }
.program-card ul { margin: 0 0 16px 18px; }
.program-card li { margin: 6px 0; }

.slider { position: relative; }
.slides { display: grid; grid-template-columns: 1fr; }
.slide { display: none; background: var(--white); border: 2px solid var(--primary); border-radius: 14px; padding: 18px; box-shadow: 0 12px 24px rgba(51,51,51,0.08); }
.slide.active { display: block; }
.author { margin-top: 12px; font-weight: 600; color: var(--secondary); }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.slider-controls button { border: 2px solid var(--secondary); background: var(--white); color: var(--secondary); border-radius: 8px; padding: 8px 12px; font-weight: 700; }
.slider-controls button:hover { background: rgba(119,186,67,0.25); }

/* Courses & Packages Section */
.courses-packages-section { background: #f8f9fa; width: 100%; margin: 0; padding: 60px 0; }
.courses-packages-tabs { display: flex; gap: 8px; margin-bottom: 30px; justify-content: center; }
.tab-button { padding: 12px 24px; background: var(--white); border: 2px solid var(--primary); color: var(--dark); font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.tab-button.active { background: var(--primary); color: var(--dark); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.courses-slider-container { position: relative; width: 100%; overflow: hidden; margin-bottom: 30px; }
.courses-slider-wrapper { display: flex; transition: transform 0.5s linear; width: auto; }
.course-slider-card { flex: 0 0 calc((100% / 2) - 12px); margin-right: 24px; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; max-width: 370px; width: 100%; }

.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.slider-btn { padding: 8px 16px; background: var(--primary); color: var(--dark); border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background 0.3s ease; }
.slider-btn:hover { background: var(--secondary); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background 0.3s ease; }
.slider-dot.active { background: var(--primary); }

.course-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.5s ease; position: relative; display: flex; flex-direction: column; height: 100%; }
.course-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: 0; }

.course-image,
.course-content { position: relative; z-index: 1; }
.course-content h4,
.course-meta { position: relative; z-index: 1; transition: color 0.5s ease; }
.course-image { position: relative; width: 100%; height: 140px; overflow: hidden; background: #e0e0e0; }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.course-rating { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.95); padding: 3px 8px; border-radius: 6px; font-size: 11px; }
.course-content { padding: 14px; flex: 1; }
.course-content h4 { font-size: 14px; font-weight: 600; color: var(--dark); margin: 0 0 8px; line-height: 1.3; font-family: Poppins, sans-serif; }
.course-content p { font-size: 13px; line-height: 1.4; color: #666; margin: 0 0 8px; }
.course-features, .package-features { list-style: none; padding: 0; margin: 8px 0; }
.course-features li, .package-features li { font-size: 12px; color: #555; margin: 4px 0; position: relative; padding-left: 16px; }
.course-features li::before, .package-features li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.course-meta { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 12px; color: #666; }
.course-meta .price { font-size: 16px; font-weight: 700; color: var(--primary); }
.btn-join,
.btn-enroll { display: block; width: 100%; text-align: center; min-width: auto; }
.column-footer { text-align: center; padding-top: 20px; margin-top: 8px; border-top: 2px solid #f0f0f0; }
.column-footer .btn { min-width: 220px; padding: 14px 32px; font-size: 15px; font-weight: 600; border-radius: 10px; box-shadow: 0 4px 12px rgba(119,186,67,0.3); transition: all 0.3s ease; letter-spacing: 0.3px; text-transform: uppercase; }


@media (max-width: 767px) {
  .course-slider-card { 
    flex: 0 0 100%; 
    margin-right: 0; 
    max-width: 100%; 
  }
  .courses-slider-wrapper { 
    display: flex; 
    transition: transform 0.5s linear; 
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .course-slider-card { 
    flex: 0 0 calc((100% / 2) - 12px); 
    margin-right: 24px; 
    max-width: 370px; 
    width: 100%; 
  }
  
}

@media (min-width: 1024px) {
  .course-slider-card { 
    flex: 0 0 calc((100% / 2) - 12px); 
    margin-right: 24px; 
    max-width: 370px; 
    width: 100%; 
  }
  
}

.cta-section { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: var(--dark); padding: 60px 0; text-align: center; }
.cta-section h2 { margin: 0 0 18px; font-size: 24px; }

/* What Sandeep Teaches Section */
.teach-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 80px 0; width: 100%; margin: 0; }
.teach-section h2 { color: var(--white); margin-bottom: 60px; font-size: 36px; text-align: center; font-family: Poppins, sans-serif; font-weight: 700; }
.teach-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; width: 100%; }
.teach-card { 
  background: #f8f9fa; /* Soft off-white/light pastel background */
  border-radius: 20px; /* Large rounded corners */
  padding: 30px 25px; /* Consistent padding */
  text-align: center; 
  transition: all 0.3s ease-in-out; /* Smooth transition */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Default box shadow */
}
.teach-card:hover { 
  transform: translateY(-6px); /* Slight move up */
  box-shadow: 0 12px 30px rgba(119, 186, 67, 0.3); /* Soft shadow glow with primary color */
}
.teach-image-circle { 
  width: 80px; /* Smaller circular icon container */
  height: 80px; /* Smaller circular icon container */
  margin: 0 auto 15px; /* Reduced space below icon */
  border-radius: 50%; 
  background: var(--primary); /* Primary theme color background */
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 6px 16px rgba(0,0,0,0.15); /* Slightly elevated */
  transition: all 0.3s ease-in-out; /* Smooth transition */
  overflow: hidden; 
  flex-shrink: 0; /* Prevent shrinking */
}
.teach-card:hover .teach-image-circle { 
  transform: scale(1.1); /* Icon circle scales up on hover */
  box-shadow: 0 8px 20px rgba(119, 186, 67, 0.3); /* Enhanced shadow on hover */
}
.teach-image-circle img { 
  width: 60%; /* Proportional size */
  height: 60%; /* Proportional size */
  object-fit: contain; 
  filter: brightness(0) invert(1); /* Make icon white */
}
.teach-card h3 { 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--dark); 
  margin: 0 0 12px; 
  font-family: Poppins, sans-serif; 
  position: relative; /* For accent line */
}
.teach-card h3::after { /* Thin accent line under title */
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary); /* Primary theme color */
}
.teach-card p { 
  font-size: 14px; 
  line-height: 1.6; 
  color: #6c757d; /* Muted color */
  margin: 15px auto 0; /* Space above description */
  flex-grow: 1; /* Take remaining space */
}

/* Responsive adjustments for teach section */
@media (min-width: 768px) {
  .teach-grid { grid-template-columns: repeat(2, 1fr); } /* Tablet: 2 cards per row */
}

@media (min-width: 1024px) {
  .teach-grid { grid-template-columns: repeat(3, 1fr); } /* Desktop: 3 cards per row */
}


.teach-image-circle i { 
  color: white; /* Make Font Awesome icon white */
  font-size: 2.2em; /* Larger Font Awesome icons */
  text-align: center; /* Center the icon */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Homepage helpers */
.dark-hero { color: var(--white); }
.dark-hero .sub, .dark-hero .intro { color: var(--white); }
.roles-stack { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quote-section { background: var(--dark); color: var(--white); padding: 60px 0; text-align: center; }
.quote-section h2 { margin: 0; font-family: Poppins, sans-serif; font-size: 28px; }

/* FAQ Section */
.faq-section { background: #f8f9fa; padding: 60px 0; width: 100%; margin: 0; }
.faq-section h2 { color: var(--dark); margin-bottom: 40px; font-size: 32px; text-align: center; font-family: Poppins, sans-serif; font-weight: 700; }
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.faq-question { width: 100%; text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden; padding: 20px 24px; font-weight: 600; font-size: 16px; color: var(--dark); background: var(--primary); border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s ease; font-family: inherit; }
.faq-question:hover { background: var(--secondary); }
.faq-icon { font-size: 24px; font-weight: 400; transition: transform 0.3s ease; color: var(--dark); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 24px; font-size: 15px; line-height: 1.7; color: #555; background: var(--white); }
.faq-answer p { margin: 0; padding-top: 12px; }
.faq-item.open .faq-answer { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--primary); border-radius: 10px; font-size: 16px; }
.error { color: var(--dark); font-size: 13px; min-height: 16px; margin-top: 6px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; }
.contact-list li { margin: 6px 0; }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--secondary); color: var(--secondary); text-decoration: none; }
.social a:hover { background: rgba(119,186,67,0.25); }

.footer { background: var(--white); border-top: 2px solid var(--primary); padding: 20px 0; text-align: center; color: var(--dark); }

/* Blog Section - Enhanced to match your site's design */
.blogs-section { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); 
  padding: 60px 0; 
  color: var(--white); 
}

.blogs-section h2 { 
  color: var(--white); 
  margin-bottom: 40px; 
  font-size: 32px; 
  text-align: center; 
  font-family: Poppins, sans-serif;
  font-weight: 700;
}

/* Blog Hero Section with Background Image */
.blog-hero-section { 
  background-image: url('assests/unnamed \(1\).jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  position: relative; 
  min-height: 500px; 
  display: flex; 
  align-items: center; 
}

.hero-background-overlay { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%); 
  z-index: 1; 
}

.blog-hero-section .hero-container { 
  position: relative; 
  z-index: 2; 
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.blog-hero-section .hero-content { 
  text-align: center; 
  max-width: 800px; 
  width: 100%;
  padding: 40px 20px; 
}

.blog-hero-section .hero-content h1 { 
  color: var(--white); 
  font-size: 3rem; 
  margin-bottom: 20px; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); 
}

.blog-hero-section .highlight-keyword { 
  color: var(--primary); 
  margin: 20px 0; 
  font-size: 2rem;
}

.blog-hero-section .intro { 
  color: rgba(255, 255, 255, 0.9); 
  font-size: 1.2rem; 
  margin-bottom: 30px; 
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 
}

/* Blog Card Styles - Match your site's design */
.blogs-slider-wrapper { 
  position: relative; 
  width: 100%; 
  overflow: hidden; 
  padding: 10px 0; /* Moved from slider to prevent card clipping */
}

.blogs-slider { 
  display: flex; 
  gap: 24px; 
  overflow: visible; 
  padding: 0; 
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
  width: auto;
  min-width: max-content;
  will-change: transform;
  transform: translateZ(0); /* Enable GPU acceleration */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Mobile first - 1 card full width */
.blog-card { 
  background: var(--white); 
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  flex-shrink: 0; 
  display: flex;
  flex-direction: column;
  width: 100%; /* Fill container */
  height: 480px; /* Fixed height for all cards */
  box-sizing: border-box;
}

.blog-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 16px 35px rgba(119, 186, 67, 0.4) !important; 
  border: 1px solid rgba(119, 186, 67, 0.3);
}

.blog-image { 
  width: 100%; /* Fill the card width */
  height: 220px; 
  overflow: hidden; 
  background: #f0f0f0; 
  flex-shrink: 0; /* Prevent shrinking */
}

.blog-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.3s ease; 
  border-radius: 14px 14px 0 0; /* Respect card's top border-radius */
}

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

.blog-content { 
  padding: 20px; 
  color: var(--dark);
  flex: 1; /* Take remaining space */
  display: flex;
  flex-direction: column;
  width: 100%; /* Fill the card width */
  box-sizing: border-box;
  overflow: hidden;
}

.blog-content h3 { 
  font-size: 18px; 
  margin: 0 0 12px; 
  color: var(--primary); 
  font-weight: 700; 
  line-height: 1.3; 
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-content p { 
  font-size: 14px; 
  line-height: 1.6; 
  margin: 0 0 16px; 
  color: #555;
  flex-grow: 1;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-social { 
  display: flex; 
  gap: 8px; 
  margin-bottom: 16px; 
}

.blog-social a { 
  width: 32px; 
  height: 32px; 
  display: grid; 
  place-items: center; 
  border-radius: 6px; 
  border: 2px solid var(--primary); 
  color: var(--primary); 
  text-decoration: none; 
  font-weight: 700; 
  transition: all 0.3s ease; 
  font-size: 12px;
}

.blog-social a:hover { 
  background: var(--primary); 
  color: var(--white); 
}

.read-more { 
  display: inline-flex; 
  align-items: center; 
  color: var(--primary); 
  font-weight: 700; 
  text-decoration: none; 
  transition: gap 0.3s ease; 
  gap: 4px; 
}

.read-more:hover { 
  gap: 8px; 
  color: var(--secondary); 
}



/* Responsive adjustments for blog - now handled in Responsive Card Widths section */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet - show 2 cards side by side */
  .blog-slider-card { 
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards with 24px gap */
  }
}

@media (min-width: 1024px) {
  /* Desktop - show 3 cards side by side */
  .blog-slider-card { 
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards with 24px gap */
  }
}

@media (max-width: 767px) {
  /* Blog mobile - 1 card full width */
  .blog-slider-card { 
    flex: 0 0 300px; /* Slightly smaller on mobile but still fixed */
  }
  
  .blog-hero-section .hero-content h1 { 
    font-size: 2rem; 
  }
  
  .blog-hero-section .intro { 
    font-size: 1rem; 
  }
}

/* Testimonials Section */
.testimonials-section { background: #f8f9fa; padding: 60px 0; width: 100%; margin: 0; }
.testimonials-section h2 { color: var(--dark); margin-bottom: 50px; font-size: 36px; text-align: center; font-family: Poppins, sans-serif; font-weight: 700; }
.testimonials-slider-wrapper { position: relative; width: 100%; overflow: hidden; }
.testimonials-slider { display: flex; gap: 30px; overflow: visible; padding: 20px 0; transition: transform 0.5s linear; }
/* Mobile first - 1 card */
.testimonial-card { background: var(--white); border-radius: 16px; padding: 40px 30px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); flex-shrink: 0; width: 100%; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.5s ease; position: relative; overflow: hidden; color: var(--dark); }
.testimonial-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: 0; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.testimonial-card:hover::before { width: 150%; height: 150%; border-radius: 16px; }
.testimonial-avatar,
.testimonial-text,
.testimonial-name,
.testimonial-role { position: relative; z-index: 1; transition: color 0.5s ease; }
.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .testimonial-name,
.testimonial-card:hover .testimonial-role { color: white; }
.testimonial-card:hover .testimonial-avatar { border-color: white; }
.testimonial-avatar { width: 120px; height: 120px; margin: 0 auto 25px; border-radius: 50%; border: 5px solid var(--primary); overflow: hidden; background: #e0e0e0; display: flex; align-items: center; justify-content: center; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-text { font-size: 16px; line-height: 1.8; color: #555; margin: 0 0 25px; font-style: italic; }
.testimonial-name { font-size: 20px; font-weight: 700; color: var(--dark); margin: 0 0 8px; font-family: Poppins, sans-serif; }
.testimonial-role { font-size: 14px; color: #777; font-weight: 500; }
.testimonials-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testimonials-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s ease; }
.testimonials-dots .dot.active { background: var(--primary); transform: scale(1.2); }

.site-footer { background: var(--dark); color: var(--white); position: relative; z-index: 1; width: 100%; margin: 0; padding: 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0; width: 100%; margin: 0; }
.site-footer h4 { margin: 0 0 10px; font-family: Poppins, sans-serif; font-size: 20px; position: relative; }
.site-footer h4::after { content: ""; display: block; width: 40px; height: 3px; background: var(--primary); margin-top: 8px; }
.footer-brand p { margin: 10px 0 12px; }
.footer-brand .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 15px; }
.footer-brand .brand img {
  height: 140px;        /* vertical size */
  max-width: 250px;   /* 👈 yahin se width control hogi */
  width: 100%;
  object-fit: contain;
  display: block;
  transform: translateY(8px);
}
.footer-brand .brand span { font-family: Poppins, sans-serif; font-weight: 700; font-size: 20px; color: var(--white); letter-spacing: 0.3px; }
.site-footer a { color: var(--white); text-decoration: none; transition: color 0.3s ease; }
.site-footer a:hover { color: var(--primary); }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin: 8px 0; }
.footer-top .contact-list { list-style: none; padding: 0; margin: 0; }
.footer-top .contact-list li { margin: 8px 0; color: var(--white); }
.site-footer .social { display: flex; gap: 10px; margin-top: 15px; }
.site-footer .social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--primary); transition: all 0.3s ease; }
.site-footer .social a:hover { background: var(--primary); }
.footer-bottom { border-top: 2px solid var(--primary); padding: 16px 0; text-align: center; width: 100%; margin: 0; }

/* Blog Page Styles */
.blog-hero { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 80px 0 60px; width: 100%; margin: 0; }
.blog-posts-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; width: 100%; }
/* Editorial Blog Card Design */
.editorial-blog-card { 
  display: flex; 
  background: var(--white); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); 
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
  border: 1px solid rgba(119, 186, 67, 0.08); 
  margin-bottom: 30px;
}

.editorial-blog-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 30px rgba(0,0,0,0.1); 
  border-color: rgba(119, 186, 67, 0.15); 
}

.editorial-card-content { 
  flex: 0 0 60%; 
  padding: 32px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
}

.editorial-card-image { 
  flex: 0 0 40%; 
  position: relative; 
  background: linear-gradient(45deg, #f8f9fa, #e9ecef); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden;
}

.editorial-card-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: all 0.5s ease; 
}

.editorial-blog-card:hover .editorial-card-image img { 
  transform: scale(1.03); 
  filter: brightness(1.05); 
}

.editorial-label { 
  font-size: 12px; 
  font-weight: 700; 
  color: #999; 
  text-transform: uppercase; 
  letter-spacing: 1.2px; 
  margin-bottom: 12px; 
}

.editorial-title { 
  font-size: 24px; 
  font-weight: 700; 
  color: var(--dark); 
  margin: 0 0 16px; 
  font-family: Poppins, sans-serif; 
  line-height: 1.3; 
  letter-spacing: -0.2px; 
  transition: color 0.3s ease; 
}

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

.editorial-preview { 
  font-size: 15px; 
  line-height: 1.7; 
  color: #666; 
  margin: 0 0 20px; 
  font-weight: 400; 
}

.editorial-read-more { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: var(--primary); 
  font-weight: 600; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-size: 14px; 
  position: relative; 
  padding-bottom: 2px;
}

.editorial-read-more::after { 
  content: ""; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 0; 
  height: 2px; 
  background: var(--primary); 
  transition: width 0.3s ease; 
}

.editorial-read-more:hover { 
  color: var(--secondary); 
  gap: 10px; 
}

.editorial-read-more:hover::after { 
  width: 100%; 
}

/* Expanded Content */
.editorial-expanded-content { 
  max-height: 0; 
  overflow: hidden; 
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
  opacity: 0; 
  margin-top: 0; 
}

.editorial-expanded-content.expanded { 
  max-height: 1000px; 
  opacity: 1; 
  margin-top: 24px; 
  padding-top: 24px; 
  border-top: 1px solid rgba(119, 186, 67, 0.15); 
}

.expanded-inner { 
  padding: 8px 0; 
}

.expanded-inner p { 
  font-size: 15px; 
  line-height: 1.8; 
  color: #555; 
  margin: 0 0 16px; 
}

.expanded-inner h3 { 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--dark); 
  margin: 24px 0 16px; 
  font-family: Poppins, sans-serif; 
  line-height: 1.4; 
}

.editorial-read-less { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: #777; 
  font-weight: 600; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-size: 14px; 
  margin-top: 16px; 
}

.editorial-read-less:hover { 
  color: var(--primary); 
  gap: 10px; 
}
/* Blog Page Layout */
.blog-main-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }

.blog-posts-column { width: 100%; }

.blog-sidebar { width: 100%; }

/* Blog Pagination */
.blog-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.pagination-btn { padding: 12px 18px; border-radius: 8px; border: 2px solid var(--primary); background: var(--white); color: var(--dark); font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.pagination-btn:hover { background: var(--primary); color: var(--dark); transform: translateY(-2px); }
.pagination-btn.active { background: var(--primary); color: var(--dark); }

/* Sidebar Widgets */
.sidebar-widget { background: var(--white); border-radius: 16px; padding: 28px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); margin-bottom: 28px; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid rgba(119, 186, 67, 0.1); }
.sidebar-widget:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); border-color: rgba(119, 186, 67, 0.2); }
.sidebar-widget h3 { font-family: Poppins, sans-serif; font-size: 22px; font-weight: 700; color: var(--dark); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 2px solid var(--primary); position: relative; }
.sidebar-widget h3::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 1px; }

/* Trending Blogs */
.trending-blog { display: flex; gap: 18px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(119, 186, 67, 0.1); transition: all 0.3s ease; }
.trending-blog:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.trending-blog:hover { background: rgba(119, 186, 67, 0.03); padding: 12px; border-radius: 12px; margin: 0 -12px 22px -12px; }

.trending-blog-image { flex-shrink: 0; width: 85px; height: 85px; border-radius: 12px; overflow: hidden; background: linear-gradient(45deg, #f8f9fa, #e9ecef); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.trending-blog-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; }
.trending-blog:hover .trending-blog-image img { transform: scale(1.08); border-radius: 10px; }

.trending-blog-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.trending-blog-content h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin: 0 0 10px; line-height: 1.5; letter-spacing: -0.2px; transition: color 0.3s ease; }
.trending-blog:hover .trending-blog-content h4 { color: var(--primary); }

.trending-meta { font-size: 13px; color: #777; font-weight: 500; display: flex; align-items: center; gap: 8px; }

/* Market Indices Widget */
.market-index { }
.index-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.index-row:last-child { border-bottom: none; }
.index-name { font-weight: 600; color: var(--dark); font-size: 14px; }
.index-value { font-weight: 700; font-size: 14px; }
.index-value.positive { color: #28a745; }
.index-value.negative { color: #dc3545; }
.index-change { font-size: 12px; font-weight: 600; }

/* Newsletter Widget */
.newsletter-widget p { font-size: 14px; color: #666; margin: 0 0 20px; line-height: 1.6; }
.newsletter-form { margin-bottom: 12px; }
.newsletter-form .field { margin-bottom: 16px; }
.newsletter-form input { width: 100%; padding: 12px 16px; border: 2px solid var(--primary); border-radius: 10px; font-size: 15px; transition: border-color 0.3s ease; }
.newsletter-form input:focus { outline: none; border-color: var(--secondary); }
.form-note { font-size: 12px; color: #999; text-align: center; margin: 0; }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; }
  
  /* Blog Layout - 2 Columns */
  .blog-main-grid { grid-template-columns: 2fr 1fr; gap: 30px; }
  
  /* Editorial cards - horizontal layout on tablet/desktop */
  .editorial-blog-card { flex-direction: row; }
  .editorial-card-content { flex: 0 0 60%; }
  .editorial-card-image { flex: 0 0 40%; }
  
  /* Blog posts grid - 1 column for editorial cards */
  .blog-posts-grid { display: block; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; gap: 4px; }
  .hamburger { display: none; }
  .nav.open .nav-links { display: flex; }
  .has-dropdown:hover .dropdown { display: block; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero h1 { font-size: 40px; }
  .hero .intro { font-size: 18px; }
  .slider-content h2 { font-size: 3rem; }
  .slider-content p { font-size: 1.4rem; }
  .highlight-keyword { font-size: 2.2rem; }
  .slider-content .highlight-keyword { font-size: 2.2rem; }
  
  /* Blog desktop - show 3 cards side by side */
  .blog-card { width: calc((100% - 48px) / 3); } /* 48px = 2 gaps of 24px */
  
  /* Testimonials desktop - show 2 cards side by side */
  .testimonial-card { width: calc((100% - 30px) / 2); } /* 30px = 1 gap */
  
  /* Courses & Packages - two columns side by side */
  .courses-packages-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* What Sandeep Teaches - 3 columns */
  .teach-grid { grid-template-columns: repeat(3, 1fr); gap: 50px; }
  
  /* Blog page - 2 columns */
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nav.open .dropdown { position: static; min-width: 100%; margin-top: 6px; }
  .slider-content h2 { font-size: 2rem; }
  .slider-dots { bottom: 15px; }
  .slider-content { padding: 10px; }
  .hero-grid { padding: 30px 0; }
  .highlight-keyword { font-size: 1.5rem; }
  .slider-content .highlight-keyword { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .slider-content h2 { font-size: 2rem; }
  
  /* Blog Hero Mobile */
  .blog-hero-section .hero-content h1 { font-size: 2rem; }
  .blog-hero-section .intro { font-size: 1rem; }
  
  /* Topbar mobile */
  .topbar .left { flex-direction: column; gap: 4px; font-size: 11px; }
  .topbar .left span { font-size: 11px; }
  
  /* Editorial cards - vertical layout on mobile */
  .editorial-blog-card { flex-direction: column; }
  .editorial-card-content { flex: 0 0 auto; padding: 24px; }
  .editorial-card-image { flex: 0 0 200px; width: 100%; }
  .editorial-title { font-size: 20px; }
  
  /* Blog mobile - 1 card full width */
  .blog-card { width: 100% !important; }
  
  /* Testimonials mobile - 1 card full width */
  .testimonial-card { width: 100% !important; }
}
  .hero { padding: 0; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
  .roles .roles-grid { grid-template-columns: repeat(4, 1fr); }
  .achievements-grid { grid-template-columns: repeat(4, 1fr); }
  .featured .featured-logos { grid-template-columns: repeat(4, 1fr); }
  .teach-grid { grid-template-columns: repeat(3, 1fr); }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }


@media (min-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .slider-content h2 { font-size: 3.5rem; }
  .highlight-keyword { font-size: 2.5rem; }
  .slider-content .highlight-keyword { font-size: 2.5rem; }
  
  /* Blog Layout - Desktop */
  .blog-main-grid { grid-template-columns: 2fr 1fr; gap: 40px; }
  
  /* Editorial cards - maintain horizontal layout */
  .editorial-blog-card { flex-direction: row; }
  .editorial-card-content { flex: 0 0 60%; padding: 40px; }
  .editorial-card-image { flex: 0 0 40%; }
  .editorial-title { font-size: 26px; }
}

/* Packages Page Styles */
.packages-content { 
  padding: 60px 0; 
  background: linear-gradient(135deg, #1e3a8a, #0f172a); 
  color: white; 
}

.section.stocks-consultancy,
.section.vip-trading,
.section.crypto-vip,
.section.prime-premium,
.section.disclaimer { 
  margin-bottom: 50px; 
}

.section-title { 
  color: white; 
  font-size: 28px; 
  margin: 0 0 30px; 
  text-align: center; 
  font-family: Poppins, sans-serif; 
  font-weight: 700; 
}

.courses-packages-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; 
  margin-bottom: 40px; 
}

.course-card { 
  background: white; 
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.5s ease; 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  height: 100%; 
  color: #333; 
}

.course-card::before { 
  content: ''; 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  width: 0; 
  height: 0; 
  background: radial-gradient(circle, #77ba43 0%, #77ba43 100%); 
  border-radius: 50%; 
  transform: translate(-50%, -50%); 
  transition: width 0.6s ease, height 0.6s ease; 
  z-index: 0; 
}




.course-content { 
  position: relative; 
  z-index: 1; 
  padding: 24px; 
  flex: 1; 
}

.course-content h4 { 
  font-size: 16px; 
  font-weight: 600; 
  color: #000; 
  margin: 0 0 16px; 
  line-height: 1.3; 
  font-family: Poppins, sans-serif; 
}

.course-features, .package-features { 
  list-style: none; 
  padding: 0; 
  margin: 8px 0; 
}

.course-features li, .package-features li { 
  font-size: 14px; 
  color: #555; 
  margin: 8px 0; 
  position: relative; 
  padding-left: 20px; 
}

.course-features li::before, .package-features li::before { 
  content: "✔"; 
  position: absolute; 
  left: 0; 
  color: #28a745; 
  font-weight: bold; 
}

.column-footer { 
  text-align: center; 
  padding-top: 20px; 
  margin-top: 16px; 
  border-top: 2px solid #f0f0f0; 
}

.column-footer .btn { 
  display: block; 
  width: 100%; 
  text-align: center; 
  min-width: auto; 
  background: #77ba43; 
  color: #000; 
  border: 2px solid black; 
  border-radius: 10px; 
  padding: 14px 32px; 
  font-size: 15px; 
  font-weight: 600; 
  box-shadow: 0 4px 12px rgba(119,186,67,0.3); 
  transition: all 0.3s ease; 
  letter-spacing: 0.3px; 
  text-transform: uppercase; 
}



.best-value-badge { 
  background: #ffd700; 
  color: #000; 
  padding: 4px 10px; 
  border-radius: 20px; 
  font-size: 12px; 
  font-weight: bold; 
}

.text-center { 
  text-align: center; 
}

.sub { 
  font-size: 16px; 
  margin: 0 0 14px; 
  color: rgba(255, 255, 255, 0.8); 
  font-weight: 400; 
}

/* Events Section Styles */
.events-section {
  padding: 60px 0;
  width: 100%;
  margin: 0;
}

.event-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 0 20px;
}

.event-intro h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}

.event-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

.event-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  align-items: center;
}

.event-text {
  padding: 20px;
}

.event-text h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}

.event-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.event-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

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

.contribution-section {
  padding: 80px 0;
  background: #fff;
  width: 100%;
  margin: 0;
}

.contribution-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contribution-content h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}

.contribution-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.gallery-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin: 60px 0;
  width: 100%;
  margin: 0;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 250px;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

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

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

.section-title {
  font-size: 36px;
  margin-bottom: 60px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  position: relative;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
}

.stats {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  width: 100%;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--primary);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: Poppins, sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* Clone cards are hidden by default */
.blog-card-clone {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* But they become visible when in the sliding area */
.blogs-slider:has(.blog-card-clone) .blog-card-clone {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Blog slider card specific enhancements */
.blog-slider-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.blog-slider-card .blog-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure equal heights for all blog cards */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-image {
  flex-shrink: 0;
  height: 220px; /* Increased height for images */
  width: 100%;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 14px 14px 0 0; /* Respect card's top border-radius */
}

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

.blog-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.blog-content h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: #555;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Limit to 5 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px; /* Space above read-more */
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Align read more button at the bottom */
.read-more {
  margin-top: auto; /* Push to bottom */
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.3s ease;
  gap: 4px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enhanced hover effects for teach cards */
.teach-card h3::after {
  transition: width 0.3s ease;
}

.teach-card:hover h3::after {
  width: 70% !important;
}

/* Enhance box shadow on hover */
.teach-card:hover {
  box-shadow: 0 16px 35px rgba(119, 186, 67, 0.4) !important;
}

/* Custom section heading style with underline */
.section-heading {
  text-transform: uppercase;
  font-weight: 700;
  color: #1e3a8a; /* Deep blue color */
  text-align: center;
  font-family: Poppins, sans-serif;
  position: relative;
  display: inline-block;
  margin: 0 auto 30px;
  padding-bottom: 15px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; /* Shorter than text width */
  height: 3px; /* Thin line */
  background: #1e3a8a; /* Same deep blue color */
}

/* Alternative class for larger headings */
.section-title {
  text-transform: uppercase;
  font-weight: 700;
  color: #1e3a8a; /* Deep blue color */
  text-align: center;
  font-family: Poppins, sans-serif;
  position: relative;
  display: inline-block;
  margin: 0 auto 30px;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px; /* Slightly wider for main titles */
  height: 4px; /* Slightly thicker for main titles */
  background: #1e3a8a; /* Same deep blue color */
}

/* Global heading hover effects with underline - excluding section headings */
h1:not(.section-heading, .section-title),
h2:not(.section-heading, .section-title),
h3:not(.section-heading, .section-title),
h4:not(.section-heading, .section-title),
h5:not(.section-heading, .section-title),
h6:not(.section-heading, .section-title) {
  display: inline-block;
  position: relative;
}

/* Add pseudo-element for underline */
h1:not(.section-heading, .section-title)::after,
h2:not(.section-heading, .section-title)::after,
h3:not(.section-heading, .section-title)::after,
h4:not(.section-heading, .section-title)::after,
h5:not(.section-heading, .section-title)::after,
h6:not(.section-heading, .section-title)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

/* Show underline on hover */
h1:not(.section-heading, .section-title):hover::after,
h2:not(.section-heading, .section-title):hover::after,
h3:not(.section-heading, .section-title):hover::after,
h4:not(.section-heading, .section-title):hover::after,
h5:not(.section-heading, .section-title):hover::after,
h6:not(.section-heading, .section-title):hover::after {
  width: 100%;
}

/* Social Media Sidebar */
.social-sidebar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  gap: 10px;
  padding: 20px 5px;
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
  padding: 16px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-link i {
  font-size: 18px;
  color: white;
  z-index: 2;
  margin-right: 8px;
}

.social-text {
  position: relative;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  color: white;
  padding-left: 10px;
}

/* Hover Effects */
.social-link:hover {
  width: 130px;
  border-radius: 20px;
}

/* Brand Colors */
.facebook {
  background-color: #1877F2; /* Facebook blue */
}

.twitter {
  background-color: #000000; /* Black for X */
}

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); /* Instagram gradient */
}

.youtube {
  background-color: #FF0000; /* YouTube red */
}

.whatsapp {
  background-color: #25D366; /* WhatsApp green */
}

.linkedin {
  background-color: #0077B5; /* LinkedIn blue */
}

/* Default icon colors - white */
.facebook i {
  color: white;
}

.twitter i {
  color: white;
}

.instagram i {
  color: white;
}

.youtube i {
  color: white;
}

.whatsapp i {
  color: white;
}

.linkedin i {
  color: white;
}

/* Icon colors stay white on hover */
.facebook:hover i,
.twitter:hover i,
.instagram:hover i,
.youtube:hover i,
.whatsapp:hover i,
.linkedin:hover i {
  color: white;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* New Testimonial Slider Styles */
.new-testimonials-section { 
  background: #f8f9fa; 
  padding: 60px 0; 
  width: 100%; 
  margin: 0; 
}

.new-testimonials-section h2 { 
  color: var(--dark); 
  margin-bottom: 50px; 
  font-size: 36px; 
  text-align: center; 
  font-family: Poppins, sans-serif; 
  font-weight: 700; 
}

.new-testimonials-slider-wrapper { 
  position: relative; 
  width: 100%; 
  overflow: hidden; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

.new-testimonials-slider { 
  display: flex; 
  gap: 30px; 
  transition: transform 0.5s linear; 
  position: relative; 
}

/* Testimonial Card Design */
.new-testimonial-card {
  background: #fefefe; /* Light off-white background */
  border-radius: 12px; /* Slightly rounded corners */
  padding: 40px 30px 30px; /* Comfortable padding */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(119, 186, 67, 0.05); /* Layered shadow effect */
  flex-shrink: 0;
  width: calc((100% - 60px) / 3); /* 3 cards on desktop */
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid transparent;
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center;
  z-index: 1;
}

/* Theme-adaptive hover effect */
.new-testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 
    0 12px 30px rgba(119, 186, 67, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(119, 186, 67, 0.15); /* Multi-layered shadow effect */
  border: 1px solid rgba(119, 186, 67, 0.3);
  z-index: 10;
}

/* Middle card highlighting */
.new-testimonial-card.middle-card {
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(119, 186, 67, 0.08); /* Enhanced middle card shadow */
  transform: scale(1.05); /* Slight scale up */
}

/* Side cards fading effect */
.new-testimonial-card.side-card {
  opacity: 0.7;
  transform: scale(0.95);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(119, 186, 67, 0.03); /* Subtle side card shadow */
}

.new-testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white; /* White circular border */
  overflow: visible; /* Prevent image cutting during hover */
  margin: -40px auto 20px; /* Partially overlapping the card */
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.05); /* Enhanced base shadow */
  background: #f0f0f0;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 2; /* Ensure avatar stays above card content */
}

.new-testimonial-card:hover .new-testimonial-avatar {
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 
    0 8px 16px rgba(119, 186, 67, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 0 0 2px rgba(255, 255, 255, 0.9); /* Multi-layered avatar shadow */
}

.new-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  border-radius: 50%; /* Maintain circular shape */
  display: block;
}

.new-testimonial-card:hover .new-testimonial-avatar img {
  transform: scale(1.1); /* Increased scale to match avatar scaling */
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8); /* White glow effect */
}

.new-testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 20px;
  font-style: italic;
  position: relative;
  padding: 0 15px;
  transition: all 0.3s ease-in-out;
}

.new-testimonial-card:hover .new-testimonial-text {
  color: var(--dark);
  transform: translateY(-2px);
}

/* Quote icon at the beginning */
.new-testimonial-text::before {
  content: "\201C"; /* Left double quotation mark */
  font-size: 48px;
  color: var(--primary);
  position: absolute;
  left: -15px;
  top: -15px;
  font-family: Georgia, serif;
  opacity: 0.3;
  transition: all 0.3s ease-in-out;
}

.new-testimonial-card:hover .new-testimonial-text::before {
  color: var(--primary);
  opacity: 0.5;
  transform: scale(1.1);
}

.new-testimonial-name {
  font-size: 18px;
  font-weight: 700;
  color: #d4af37; /* Orange/golden color */
  margin: 0 0 5px;
  font-family: Poppins, sans-serif;
  transition: all 0.3s ease-in-out;
}

.new-testimonial-card:hover .new-testimonial-name {
  color: var(--primary);
  transform: translateY(-1px);
}

.new-testimonial-role {
  font-size: 14px;
  color: #888; /* Muted text */
  font-weight: 500;
  margin: 0;
  transition: all 0.3s ease-in-out;
}

.new-testimonial-card:hover .new-testimonial-role {
  color: #666;
  transform: translateY(-1px);
}

/* Responsive breakpoints */
@media (min-width: 768px) and (max-width: 1023px) {
  .new-testimonial-card { 
    width: calc((100% - 30px) / 2); 
  }
  
  /* Adjust middle card highlighting for tablet */
  .new-testimonial-card.middle-card {
    transform: scale(1.03);
  }
  
  .new-testimonial-card.side-card {
    transform: scale(0.97);
  }
}

@media (max-width: 767px) {
  .new-testimonial-card { 
    width: 100% !important; 
    padding: 30px 20px 20px;
  }
  
  /* Mobile: single card - no highlighting effects */
  .new-testimonial-card.middle-card,
  .new-testimonial-card.side-card {
    transform: none;
    opacity: 1;
  }
  
  .new-testimonial-text {
    font-size: 14px;
    padding: 0 10px;
  }
  
  .new-testimonial-name {
    font-size: 16px;
  }
}

/* Missing Blog Post Card Styles */
.blog-post-card {
  background: var(--white); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); 
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
  border: 1px solid rgba(119, 186, 67, 0.08);
  margin-bottom: 30px;
}

.blog-post-card:hover {
  transform: translateY(-4px); 
  box-shadow: 0 12px 30px rgba(0,0,0,0.1); 
  border-color: rgba(119, 186, 67, 0.15);
}

.blog-post-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.blog-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: var(--dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.blog-post-content {
  padding: 24px;
}

.blog-post-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #777;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
  font-family: Poppins, sans-serif;
  line-height: 1.4;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.blog-post-card:hover .blog-post-content h2 {
  color: var(--primary);
}

.blog-post-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 20px;
}

.blog-post-social {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-post-social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 12px;
}

.blog-post-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  position: relative;
  padding-bottom: 2px;
}

.read-more-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.read-more-btn:hover {
  color: var(--secondary);
  gap: 8px;
}

.read-more-btn:hover::after {
  width: 100%;
}

/* ====================
   ENHANCED INFINITE SLIDER STYLES
   ==================== */

/* Enhanced Infinite Slider Container */
.courses-slider-container, .packages-slider-container, .blogs-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 20px 0;
  will-change: transform;
  padding-left: 12px;
  padding-right: 12px;
  display: block;
}

/* Enhanced Slider Wrapper with GPU Acceleration */
.courses-slider-wrapper, .packages-slider-wrapper, .blogs-slider-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: auto;
  min-width: max-content;
  will-change: transform;
  transform: translateZ(0); /* Enable GPU acceleration */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Enhanced Card Styling */
.course-slider-card, .package-slider-card, .blog-slider-card {
  flex: 0 0 calc((100% - 48px) / 3); /* Exactly 3 cards with 24px gap between */
  margin-right: 24px;
  display: flex;
  flex-direction: column;
  height: 480px; /* Fixed height to match blog card */
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Blog Card Specific Enhancements */
.blogs-slider .blog-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 480px;
}

/* Responsive Card Widths */
@media (min-width: 1024px) {
  .course-slider-card, .package-slider-card, .blog-slider-card {
    flex: 0 0 calc((100% - 48px) / 3); /* Exactly 3 cards with 24px gap between */
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .course-slider-card, .package-slider-card, .blog-slider-card {
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards with 24px gap */
    max-width: none;
  }
}

@media (max-width: 767px) {
  .course-slider-card, .package-slider-card, .blog-slider-card {
    flex: 0 0 100%; /* Single card takes full width */
    max-width: none;
    margin-right: 24px;
  }
}

/* Enhanced Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  padding: 0 20px;
}

.slider-btn {
  padding: 10px 18px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(119, 186, 67, 0.3);
  min-width: 44px;
  min-height: 44px;
  will-change: transform;
}

.slider-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(119, 186, 67, 0.4);
}

.slider-btn:active {
  transform: translateY(0);
}

/* Enhanced Navigation Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  will-change: transform;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
  border-color: var(--dark);
}

.slider-dot:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

/* Clone Styling for Infinite Loop */
.slider-clone, .blog-card-clone {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Performance Optimizations */
.courses-slider-wrapper, .packages-slider-wrapper, .blogs-slider-wrapper {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;
}

/* Smooth Scrolling Prevention */
.courses-slider-container, .packages-slider-container, .blogs-slider-container {
  -webkit-overflow-scrolling: touch;
}

/* Focus States for Accessibility */
.slider-btn:focus, .slider-dot:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .courses-slider-wrapper, .packages-slider-wrapper, .blogs-slider-wrapper {
    transition: none;
  }
  
  .slider-btn, .slider-dot {
    transition: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .slider-dot {
    border: 2px solid #000;
  }
  
  .slider-dot.active {
    border-width: 3px;
  }
}
