/* HOMEPAGE CSS */

/* HERO SECTION */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
    margin-top: 150px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 36.458%; /* 700/1920 = 36.458% (maintain original aspect ratio) */
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Responsive Adjustments - Portrait Mode for Mobile */
@media (max-width: 1024px) {
    .carousel-container {
        padding-bottom: 50%; /* Slightly taller on tablets */
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
/* Base */
.slide-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Desktop default */
.desktop-video{ display:block; }
.mobile-image{ display:none; }

/* Hide desktop and show mobile images on small screens */
@media (max-width: 768px) {
    .hero-carousel {
        margin-top: 0; /* Reduced margin for mobile */
    }
    
    .carousel-container {
        padding-bottom: 150%; /* Taller aspect ratio for portrait images */
        height: auto;
    }
    
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
        object-fit: contain; /* Ensures full image is visible */
        background-color: #f8f9fa; /* Fallback background if image has transparent areas */
    }
    
    .carousel-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    .hero-carousel {
        margin-top: 100px;
    }
    
    .carousel-container {
        padding-bottom: 130%; /* Shorter aspect ratio for landscape */
    }
}


/* Mobile: show image, disable video */
@media (max-width:768px){
  .desktop-video{ display:none !important; }
  .mobile-image{ display:block; object-fit:contain; background:#f8f9fa; }
}

.hero-desktop-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:2;
}

/* Slides stay underneath (for links / fallback) */
.carousel-slides{ z-index:1; position:absolute; inset:0; }

/* IMPORTANT: On desktop, hide mobile images (otherwise they'll cover video) */
@media (min-width:769px){
  .mobile-image{ display:none !important; }
}

/* Mobile: hide video, show images */
@media (max-width:768px){
  .hero-desktop-video{ display:none !important; }
  .mobile-image{ display:block; }
}

.hero-desktop-video{
  pointer-events: none; /* allow clicks to pass through video */
}

.slide-link{
  position: absolute;
  inset: 0;
  z-index: 3; /* above everything inside slide */
}


/* 2nd section */

/* Main Section */
.mcmf-intro-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Badge */
.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

/* Title */
.intro-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #140342;
}

.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Divider */
.intro-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin: 20px 0 30px 0;
    border-radius: 4px;
}

/* Description */
.intro-description {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

.intro-description strong {
    color: #1e293b;
    font-weight: 600;
}

/* Features Grid */
.intro-features {
    margin: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #2563eb;
    font-size: 20px;
}

.feature-box span {
    font-size: 14px;
    font-weight: 600;
    color: #140342;
    line-height: 1.4;
}

/* CTA Buttons */
.intro-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.intro-btn-primary,
.intro-btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.intro-btn-primary {
    background: #2563eb;
    color: white;
}

.intro-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    color: white;
}

.intro-btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.intro-btn-secondary:hover {
    background: #eff6ff;
    color: #2563eb;
}

/* Visual Card */
.visual-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 32px;
}

.card-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #140342;
    margin-bottom: 24px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #140342;
}

.benefits-list i {
    color: #22c55e;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 16px;
}

.trust-item {
    flex: 1;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    color: #d97706;
    font-size: 20px;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.trust-value {
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .intro-title {
        font-size: 36px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mcmf-intro-section {
        padding: 60px 0;
    }
    
    .intro-title {
        font-size: 28px;
    }
    
    .intro-description {
        font-size: 15px;
    }
    
    .intro-cta {
        flex-direction: column;
    }
    
    .intro-btn-primary,
    .intro-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
    }
    
    .card-image {
        height: 220px;
    }
}

.intro-btn-primary {
    background: #2563eb;
    color: white !important;
}

.intro-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    color: white !important;
}

.intro-btn-primary span {
    color: white;
}

.intro-btn-primary:hover span {
    color: white;
}

.card-image img{ display:block; }

@media (hover:hover){
  .feature-box:hover{
    border-color:#2563eb;
    box-shadow:0 4px 12px rgba(37,99,235,0.1);
    transform:translateY(-2px);
  }
}

/* STATE-WISE SECTION */

  /* State-wise Section - SEO Optimized */
.state-wise-section {
  background-color: var(--bg);
  padding: 60px 20px;
}

.state-wise-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.state-wise-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.state-wise-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  text-align: justify;
}

.state-wise-section p:last-child {
  margin-bottom: 0;
}

.state-wise-section a {
  color: var(--primary-end);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.state-wise-section a:hover {
  color: var(--primary-start);
  text-decoration: underline;
}

.state-wise-section a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .state-wise-section {
    padding: 40px 15px;
  }

  .state-wise-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .state-wise-section p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .state-wise-section .container {
    padding: 0 10px;
  }
}

/* MCMF - TESTIMONIAL SECTION */


.mcmf-testimonial-section {
  background: linear-gradient(180deg, #f9f9f9 0%, #e8e8f5 50%, #343585 100%);
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.mcmf-testimonial-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 200, 53, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.mcmf-testimonial-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 35, 126, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-20px) translateX(10px); }
}

.mcmf-testimonial-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* HEADER */
.mcmf-testimonial-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInDown 0.8s ease-out;
}

.mcmf-testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFC835 0%, #ffdb6e 100%);
  color: #1A237E;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(255, 200, 53, 0.35);
  animation: pulse 2s ease-in-out infinite;
}

.mcmf-testimonial-badge svg {
  width: 18px;
  height: 18px;
  fill: #1A237E;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.mcmf-testimonial-title {
  font-size: 52px;
  font-weight: 700;
  color: #1A237E;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mcmf-testimonial-subtitle {
  font-size: 18px;
  color: #333;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* MAIN CONTENT - VIDEO HERO */
.mcmf-testimonial-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

/* VIDEO HERO SECTION */
.mcmf-video-hero {
  position: relative;
  animation: fadeInLeft 0.9s ease-out 0.2s backwards;
}

.mcmf-video-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  background: #000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mcmf-video-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

/* Glowing border effect */
.mcmf-video-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, #FFC835, #1A237E, #FFC835);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.7;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.mcmf-video-container > div:first-child {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.mcmf-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Play overlay */
.mcmf-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.mcmf-video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.mcmf-play-button {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #FFC835 0%, #ffdb6e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(255, 200, 53, 0.5);
  transition: all 0.3s ease;
  animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(255, 200, 53, 0.5); }
  50% { transform: scale(1.1); box-shadow: 0 15px 50px rgba(255, 200, 53, 0.7); }
}

.mcmf-video-play-overlay:hover .mcmf-play-button {
  transform: scale(1.15);
  box-shadow: 0 15px 50px rgba(255, 200, 53, 0.7);
}

.mcmf-play-button svg {
  width: 40px;
  height: 40px;
  fill: #1A237E;
  margin-left: 5px;
}

.mcmf-video-hint {
  margin-top: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Floating stats on video */
.mcmf-video-stats {
  position: static;          /* removes overlay behavior */
  display: flex;
  gap: 15px;
  margin-top: 20px;          /* spacing below video */
}

.mcmf-stat-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mcmf-stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1A237E;
  line-height: 1;
  margin-bottom: 4px;
}

.mcmf-stat-label {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

/* SIDEBAR */
.mcmf-testimonial-sidebar {
  animation: fadeInRight 0.9s ease-out 0.3s backwards;
}

.mcmf-highlight-box {
  background: linear-gradient(135deg, #fff 0%, #f8f8ff 100%);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  border: 2px solid #FFC835;
  display: flex;
  gap: 16px;
  align-items: start;
}

.mcmf-highlight-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.mcmf-highlight-text {
  font-size: 16px;
  color: #1A237E;
  line-height: 1.6;
  font-weight: 500;
}

.mcmf-highlight-text strong {
  font-weight: 700;
  color: #1A237E;
}

/* Testimonial cards */
.mcmf-testimonial-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mcmf-testimonial-card {
  background: rgba(255, 255, 255, 0.97);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #FFC835;
  transition: all 0.3s ease;
}

.mcmf-testimonial-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.mcmf-card-featured {
  border-left-color: #1A237E;
  background: linear-gradient(135deg, #fff 0%, #f0f0ff 100%);
}

.mcmf-quote-mark {
  color: #FFC835;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.mcmf-card-text {
  font-size: 14px;
  color: #333;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 10px;
}

.mcmf-card-author {
  font-size: 12px;
  color: #1A237E;
  font-weight: 600;
  text-align: right;
}

/* Features list */
.mcmf-features-list {
  list-style: none;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.mcmf-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.mcmf-feature-item:not(:last-child) {
  border-bottom: 1px solid rgba(26, 35, 126, 0.1);
}

.mcmf-feature-item svg {
  width: 20px;
  height: 20px;
  fill: #1A237E;
  background: linear-gradient(135deg, #FFC835 0%, #ffdb6e 100%);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
}

/* CTA Button */
.mcmf-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FFC835 0%, #ffdb6e 100%);
  color: #1A237E;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(255, 200, 53, 0.4);
  width: 100%;
  justify-content: center;
}

.mcmf-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 200, 53, 0.6);
  background: linear-gradient(135deg, #ffdb6e 0%, #FFC835 100%);
}

.mcmf-cta-button svg {
  width: 20px;
  height: 20px;
  fill: #1A237E;
  transition: transform 0.3s ease;
}

.mcmf-cta-button:hover svg {
  transform: translateX(5px);
}

.mcmf-cta-microcopy {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85); /* visible on dark bg */
  text-align: center;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .mcmf-testimonial-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mcmf-video-stats {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .mcmf-testimonial-section {
    padding: 60px 20px;
  }
  
  .mcmf-testimonial-title {
    font-size: 36px;
  }
  
  .mcmf-testimonial-subtitle {
    font-size: 16px;
  }
  
  .mcmf-play-button {
    width: 80px;
    height: 80px;
  }
  
  .mcmf-play-button svg {
    width: 32px;
    height: 32px;
  }
  
  .mcmf-video-stats {
    flex-direction: column;
  }
  
  .mcmf-stat-number {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .mcmf-testimonial-title { font-size: 28px; }
  .mcmf-highlight-box { padding: 18px; }
  .mcmf-highlight-text { font-size: 14px; }
  .mcmf-card-text { font-size: 13px; }
}

/* Keeps video area 16:9 */
.mcmf-video-frame{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

/* Premium YouTube placeholder */
.mcmf-yt-placeholder{
  position:absolute;
  inset:0;
  border-radius: 24px;
  overflow:hidden;
  cursor:pointer;
  user-select:none;
  outline:none;
  background:#000;
}

/* Background layer */
.mcmf-yt-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(255,200,53,.35), transparent 60%),
    radial-gradient(1000px 500px at 80% 70%, rgba(26,35,126,.35), transparent 60%),
    linear-gradient(135deg, rgba(26,35,126,.85), rgba(255,200,53,.75));
  filter: saturate(1.1);
  transform: scale(1.02);
}

/* If thumb is loaded by JS */
.mcmf-yt-placeholder.has-thumb .mcmf-yt-bg{
  background:
    linear-gradient(135deg, rgba(26,35,126,.80), rgba(255,200,53,.45)),
    var(--yt-thumb) center/cover no-repeat;
}

/* Dark overlay for readability */
.mcmf-yt-placeholder::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.45));
}

/* UI content */
.mcmf-yt-ui{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 28px;
  color:#fff;
}

.mcmf-yt-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  font-weight: 800;
  margin-bottom: 18px;
}

.mcmf-yt-badge svg{
  width:18px;
  height:18px;
  color: #FFC835;
}

.mcmf-yt-title{
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.15;
  font-weight: 900;
  margin: 0 0 10px 0;
  text-shadow: 0 12px 35px rgba(0,0,0,.35);
  color: #fccb0c;
}

.mcmf-yt-subtitle{
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
  opacity: .92;
  margin: 0 0 22px 0;
  font-weight: bold;
}

.mcmf-yt-cta{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.mcmf-yt-play{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #FFC835, #ffdb6e);
  color: #1A237E;
  box-shadow: 0 14px 40px rgba(255,200,53,.35);
}

.mcmf-yt-play svg{
  width:22px;
  height:22px;
  margin-left:2px;
}

.mcmf-yt-cta-text{
  font-weight: 900;
  letter-spacing: .2px;
}

.mcmf-yt-placeholder:hover .mcmf-yt-play{ transform: scale(1.06); }
.mcmf-yt-placeholder:hover .mcmf-yt-cta{ background: rgba(0,0,0,.33); }

.mcmf-yt-placeholder:focus-visible{
  box-shadow: 0 0 0 3px rgba(255,200,53,.5);
}

/* Reduce animation cost for people who prefer it */
@media (prefers-reduced-motion: reduce){
  .mcmf-testimonial-section::before,
  .mcmf-testimonial-section::after,
  .mcmf-testimonial-badge,
  .mcmf-video-container::before,
  .mcmf-play-button{
    animation: none !important;
  }
  .mcmf-video-container:hover,
  .mcmf-testimonial-card:hover{
    transform: none !important;
  }
}

/* NRI QUOTA MBBS ADMISSION 2026 SECTION */
  /* NRI Quota Section - YMYL Optimized */
.nri-quota-section {
  background-color: var(--bg);
  padding: 60px 20px;
}

.nri-quota-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.nri-quota-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.nri-quota-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
  text-align: justify;
}

.nri-quota-section p:last-child {
  margin-bottom: 0;
}

.nri-quota-section a {
  color: var(--primary-end);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nri-quota-section a:hover {
  color: var(--primary-start);
  text-decoration: underline;
}

.nri-quota-section a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .nri-quota-section {
    padding: 40px 15px;
  }

  .nri-quota-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .nri-quota-section p {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .nri-quota-section .container {
    padding: 0 10px;
  }

  .nri-quota-section h2 {
    font-size: 24px;
  }
}



/* MOSAIC SECTION */

:root {
      --mcmf-primary-start: #1A064F;
      --mcmf-primary-end: #343585;
      --mcmf-accent: #fccb0c;
      --mcmf-ink: #1b1b1b;
      --mcmf-muted: #6a6b80;
      --mcmf-soft: #f6f7fb;
    }

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

    .mcmf-mosaic-section {
      width: 100%;
      padding: 80px 20px;
      background: linear-gradient(135deg, var(--mcmf-soft) 0%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }

    .mcmf-mosaic-container {
      max-width: 1400px;
      margin: 0 auto;
      background: #fefefe;
      padding: 12px;
      border-radius: 8px;
      box-shadow: 0 20px 60px rgba(26, 6, 79, 0.12);
      position: relative;
    }

    .mcmf-mosaic-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 8px;
      background: linear-gradient(45deg, #e0e0e8 0%, #d5d5dd 100%);
      padding: 8px;
      border-radius: 4px;
    }

    .mcmf-mosaic-tile {
      position: relative;
      aspect-ratio: 1;
      border: none;
      background-size: cover;
      background-position: center;
      cursor: pointer;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: 
        inset 0 0 0 2px rgba(255, 255, 255, 0.6),
        0 4px 12px rgba(26, 6, 79, 0.15);
    }

    .mcmf-mosaic-tile:hover {
      transform: translateY(-6px) scale(1.02);
      box-shadow: 
        inset 0 0 0 2px rgba(252, 203, 12, 0.8),
        0 12px 32px rgba(252, 203, 12, 0.25),
        0 0 0 4px rgba(252, 203, 12, 0.1);
      z-index: 10;
    }

    .mcmf-mosaic-tile::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, 
        rgba(26, 6, 79, 0.7) 0%, 
        rgba(52, 53, 133, 0.5) 100%);
      transition: opacity 0.3s ease;
    }

    .mcmf-mosaic-tile:hover::before {
      opacity: 0.85;
    }

    .mcmf-tile-content {
        position: absolute;
        inset: 14px;                 /* ✅ SAFE AREA so clip-path won’t cut text */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 22px;
        color: white;
        z-index: 1;
        overflow: hidden;
        }

    .mcmf-tile-quote {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;

    /* ✅ helps avoid weird side clipping with long words */
    word-break: break-word;
    hyphens: auto;
    }

    .mcmf-tile-meta {
      flex-shrink:0;
      display: flex;
      flex-direction: column;
      gap: 2px;
      font-size: 12px;
      opacity: 0.95;

    }

    .mcmf-tile-family {
      font-weight: 600;
      color: var(--mcmf-accent);
    }

    .mcmf-tile-location {
      font-weight: 400;
      opacity: 0.9;
    }

    .mcmf-hub-tile {
      background: linear-gradient(135deg, var(--mcmf-primary-start) 0%, var(--mcmf-primary-end) 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 32px;
      text-align: center;
      gap: 24px;
      clip-path: polygon(5% 5%, 95% 8%, 92% 92%, 8% 95%);
      box-shadow: 
        inset 0 0 0 2px rgba(252, 203, 12, 0.3),
        0 8px 24px rgba(26, 6, 79, 0.2);
      aspect-ratio: 1;
    }

    .mcmf-hub-title {
      font-size: 24px;
      font-weight: 700;
      line-height: 1.3;
      color: white;
      margin: 0;
    }

    .mcmf-hub-highlight {
      color: var(--mcmf-accent);
    }

    .mcmf-hub-cta {
      background: var(--mcmf-accent);
      color: var(--mcmf-primary-start);
      border: none;
      padding: 14px 32px;
      font-size: 16px;
      font-weight: 700;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 16px rgba(252, 203, 12, 0.3);
    }

    .mcmf-hub-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(252, 203, 12, 0.5);
    }

    .mcmf-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(26, 6, 79, 0.92);
      backdrop-filter: blur(8px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      padding: 20px;
      animation: mcmf-fadeIn 0.3s ease;
    }

    .mcmf-modal-overlay.active {
      display: flex;
    }

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

    .mcmf-modal-content {
      position: relative;
      width: 100%;
      max-width: 500px;
      aspect-ratio: 9/16;
      background: black;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
      animation: mcmf-slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes mcmf-slideUp {
      from { transform: translateY(40px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .mcmf-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.95);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: all 0.2s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      font-size: 24px;
      color: #1A064F;
    }

    .mcmf-modal-close:hover {
      background: var(--mcmf-accent);
      transform: rotate(90deg);
    }

    .mcmf-modal-iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    @media (max-width: 768px) {
      .mcmf-mosaic-section {
        padding: 60px 16px;
      }

      .mcmf-mosaic-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 6px;
      }

      .mcmf-tile-content {
        inset: 10px;
        padding: 16px;
    }

      .mcmf-tile-quote {
        font-size: 13px;
      }

      .mcmf-hub-tile {
        padding: 32px 24px;
      }

      .mcmf-hub-title {
        font-size: 20px;
      }

      .mcmf-hub-cta {
        padding: 12px 24px;
        font-size: 14px;
      }
    }

    @media (min-width: 1100px) {
    .mcmf-mosaic-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    }

    /* The “& Many More” filler block */
   .mcmf-manymore {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    font-size: clamp(26px, 2.2vw, 38px);
    letter-spacing: 0.5px;
    color: var(--mcmf-primary-start); /* ✅ big blue */
    opacity: 0.9;

    text-align: center;
    padding: 20px;
    }

    .mcmf-manymore {
    pointer-events: none;
    }

    /* Place it exactly under the CTA tile on large screens */
    @media (min-width: 1100px) {
    .mcmf-manymore {
        grid-column: 4;
        grid-row: 2;
        aspect-ratio: 1;
    }
    }

    /* On smaller screens it will just flow normally (or you can hide it) */
    @media (max-width: 1099px) {
    .mcmf-manymore {
        display: none; /* optional: hide on tablet/mobile */
    }
}

@media (prefers-reduced-motion: reduce){
  .mcmf-mosaic-tile,
  .mcmf-mosaic-tile:hover{
    transition: none !important;
    transform: none !important;
  }
}
@media (max-width: 768px){
  .mcmf-mosaic-tile,
  .mcmf-hub-tile{
    clip-path: none !important;
    border-radius: 14px;
  }
}
.mcmf-mosaic-tile:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(26, 6, 79, 0.20);
}

/* BEST MBBS COUNSELLORS IN INDIA SECTION */

  /* Best MBBS Counsellors Section - Local Authority */
.counsellors-section {
  background-color: var(--bg);
  padding: 60px 20px;
}

.counsellors-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.counsellors-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.counsellors-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
  text-align: justify;
}

.counsellors-section p:last-child {
  margin-bottom: 0;
}

.counsellors-section a {
  color: var(--primary-end);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.counsellors-section a:hover {
  color: var(--primary-start);
  text-decoration: underline;
}

.counsellors-section a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .counsellors-section {
    padding: 40px 15px;
  }

  .counsellors-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .counsellors-section p {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .counsellors-section .container {
    padding: 0 10px;
  }

  .counsellors-section h2 {
    font-size: 24px;
  }
}

/* NEET College Predictor Section - Product Explanation */

.predictor-section {
  background-color: var(--bg);
  padding: 60px 20px;
}

.predictor-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.predictor-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.predictor-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
  text-align: justify;
}

.predictor-section p:last-child {
  margin-bottom: 0;
}

.predictor-section a {
  color: var(--primary-end);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.predictor-section a:hover {
  color: var(--primary-start);
  text-decoration: underline;
}

.predictor-section a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .predictor-section {
    padding: 40px 15px;
  }

  .predictor-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .predictor-section p {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .predictor-section .container {
    padding: 0 10px;
  }

  .predictor-section h2 {
    font-size: 24px;
  }
}

/* Google Reviews Section Styles */

.google-reviews-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Section Header */
.reviews-section-header {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.reviews-section-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
    
}

.reviews-section-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Google Rating Badge */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.google-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-logo i {
    color: white;
    font-size: 20px;
}

.rating-info {
    text-align: left;
}

.stars {
    color: #fbbf24;
    margin-bottom: 4px;
}

.stars i {
    margin-right: 2px;
}

.rating-text {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.rating-value {
    font-weight: 700;
    color: #0f172a;
}

/* Reviews Slider */
.reviews-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.reviews-slider-wrapper {
    overflow: hidden;
    margin: 0 -10px;
}

.reviews-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 24px;
    padding: 20px 10px;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display:flex;
    flex-direction:column;
    height: 420px; 
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar{
  width:56px; height:56px; border-radius:50%; overflow:hidden;
  display:flex; align-items:center; justify-content:center; margin-right:16px; flex-shrink:0;
  background: #eef2ff;
}

.reviewer-avatar-img{
  width:100%; height:100%; object-fit:cover; display:block;
}

.reviewer-avatar-initials{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, #2563eb, #7c3aed); color:#fff; font-weight:600; font-size:18px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.review-date {
    font-size: 14px;
    color: #64748b;
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 16px;
}

.review-stars i {
    margin-right: 2px;
}

.review-content {
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}
.review-content{
  flex:1;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp: 10;     /* show ~10 lines on desktop */
  -webkit-box-orient: vertical;
  position: relative;
}

.review-content:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0; height:48px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}


.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-top:auto;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.google-badge i {
    color: #4285f4;
}

.review-card--more{
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:#f8fafc; border:2px dashed #cbd5e1;
}
.review-card--more .more-inner{max-width:260px}
.review-card--more .more-g{font-size:36px; color:#4285F4; margin-bottom:12px}
.review-card--more h3{font-size:18px; font-weight:700; color:#0f172a; margin:6px 0}
.review-card--more p{color:#64748b; font-size:14px; margin:0 0 16px}
.review-card--more .more-btn{
  display:inline-block; padding:10px 16px; border-radius:8px; background:#2563eb; color:#fff !important; 
  text-decoration:none; font-weight:600;
}
.review-card--more .more-btn:hover{ background:#1e40af }

/* Loading State */
.loading-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    width: 100%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -24px;
}

.slider-nav.next {
    right: -24px;
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.slider-nav:disabled:hover {
    background: white;
    border-color: #e2e8f0;
    color: inherit;
    transform: translateY(-50%);
}

/* Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

/* CTA Button */
.reviews-cta {
    text-align: center;
    margin-top: 40px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.review-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #2563eb;
    color: white !important;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
}

.review-cta-button:hover {
    background: white;
    color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
        height: 380px;
    }
    
    .review-content{ -webkit-line-clamp: 8; }
}

@media (max-width: 768px) {
    .google-reviews-section {
        padding: 60px 0;
    }
    
    .reviews-section-title {
        font-size: 32px;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 20px);
        height: 360px;
    }
    
    .review-content{ -webkit-line-clamp: 7; }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    
    
    .slider-nav.prev {
        left: -10px;
    }
    
    .slider-nav.next {
        right: -10px;
    }
    
    .google-rating-badge {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .rating-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 24px;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .reviewer-avatar {
        margin-right: 0;
        margin-bottom: 12px;
    }
}

.reviews-slider-wrapper{ overflow:hidden; }
.reviews-slider{ align-items:stretch; }

.read-more-link {
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}
.read-more-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

  /* MBBS Counselling Notifications Section - Informational */

.notifications-section {
  background-color: var(--bg);
  padding: 60px 20px;
}

.notifications-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.notifications-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.notifications-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
  text-align: justify;
}

.notifications-section p:last-child {
  margin-bottom: 0;
}

.notifications-section a {
  color: var(--primary-end);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.notifications-section a:hover {
  color: var(--primary-start);
  text-decoration: underline;
}

.notifications-section a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .notifications-section {
    padding: 40px 15px;
  }

  .notifications-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .notifications-section p {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .notifications-section .container {
    padding: 0 10px;
  }

  .notifications-section h2 {
    font-size: 24px;
  }
}

/* STATE-WISE NRI SECTION */

 :root {
    --start: #1A064F;
    --end: #343585;
    --accent: #6C63FF;
    --accent-light: #8A85FF;
    --white: #fff;
    --ink: #201f2b;
    --muted: #686781;
    --soft: #f7f7fb;
    --card-bg: #ffffff;
    --border: rgba(26, 6, 79, 0.08);
    --shadow: 0 4px 12px rgba(26, 6, 79, 0.06);
    --shadow-hover: 0 8px 24px rgba(26, 6, 79, 0.12);
  }
  
  .state-nri-wrap {
    background: linear-gradient(135deg, #f9f9ff 0%, #f0f2ff 100%);
    padding: 60px 18px;
    position: relative;
    overflow: hidden;
  }
  
  .state-nri-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .state-nri-head {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--start), var(--end));
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .state-nri-head h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 12px;
    line-height: 1.2;
  }
  
  .state-nri-head h2 span {
    background: linear-gradient(135deg, var(--start), var(--end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .state-nri-head p {
    color: var(--muted);
    margin: 0 auto 28px;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .state-nri-search {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .state-nri-search svg {
    width: 18px;
    height: 18px;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    fill: var(--accent);
    z-index: 2;
  }
  
  .state-nri-search input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }
  
  .state-nri-search input:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1), var(--shadow);
  }
  
  .state-grid-container {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
  
  .state-grid {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .state-grid li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    background: var(--soft);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
  }
  
  .state-grid li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--start), var(--end));
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .state-grid li a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
    border-color: rgba(108, 99, 255, 0.2);
  }
  
  .state-grid li a:hover::before {
    opacity: 1;
  }
  
  .state-name {
    font-weight: 600;
    font-size: 15px;
    color: linear-gradient(135deg, var(--start), var(--end)) !important;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 8px;
  }
  
  .state-grid li a:hover .state-name {
    color: var(--accent);
    padding-left: 12px;
  }
  
  /* Add a subtle arrow on hover */
  .state-grid li a::after {
    content: "→";
    position: absolute;
    right: 16px;
    color: var(--muted);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  
  .state-grid li a:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
  }
  
  @media (max-width: 768px) {
    .state-nri-wrap {
      padding: 40px 16px;
    }
    
    .state-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 10px;
    }
    
    .state-grid li a {
      padding: 12px 14px;
    }
    
    .state-name {
      font-size: 14px;
    }
    
    .state-grid-container {
      padding: 20px;
    }
  }
  
  @media (max-width: 540px) {
    .state-grid {
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .state-grid li a {
      padding: 10px 12px;
    }
    
    .state-name {
      font-size: 13px;
    }
  }
  
  @media (max-width: 400px) {
    .state-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

/* NEET PG Counselling Section - Academic Authority */

.pg-counselling-section {
  background-color: var(--bg);
  padding: 60px 20px;
}

.pg-counselling-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.pg-counselling-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.pg-counselling-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
  text-align: justify;
}

.pg-counselling-section p:last-child {
  margin-bottom: 0;
}

.pg-counselling-section a {
  color: var(--primary-end);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.pg-counselling-section a:hover {
  color: var(--primary-start);
  text-decoration: underline;
}

.pg-counselling-section a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .pg-counselling-section {
    padding: 40px 15px;
  }

  .pg-counselling-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .pg-counselling-section p {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .pg-counselling-section .container {
    padding: 0 10px;
  }

  .pg-counselling-section h2 {
    font-size: 24px;
  }
}

/* FAQ SECTION */ 

:root{
    /* MCMF Brand Colors */
    --primary-start:#1A064F;       /* Deep Indigo */
    --primary-end:#343585;         /* Blue-Purple */
    --accent:#fccb0c;              /* Golden Yellow */
    --text:#1b1b1b;                /* Neutral text */
    --muted:#5f5f7a;               /* Secondary text */
    --bg:#ffffff;                  /* White background */
    --soft:#f7f8fc;                /* Light section bg */
  }

  body { background: var(--bg); }

  .faq-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
  }

  /* Header Section */
  .faq-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 40px;
    position: relative;
  }

  .faq-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
    border-radius: 3px;
  }

  .faq-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .faq-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
  }

  /* FAQ Items */
  .faq-item {
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 6, 79, 0.08);
    box-shadow: 0 3px 10px rgba(26, 6, 79, 0.06);
    transition: all 0.3s ease;
  }

  .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 6, 79, 0.1);
  }

  .faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-start);
    background: var(--bg);
    transition: background 0.3s ease;
    position: relative;
  }

  .faq-question:hover {
    background-color: var(--soft);
  }

  .faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, var(--accent), var(--primary-end));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 3px 3px 0;
  }

  .faq-item.active .faq-question::before {
    opacity: 1;
  }

  .faq-icon {
    font-size: 1.4rem;
    color: var(--primary-end);
    transition: all 0.3s ease;
  }

  .faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: linear-gradient(to bottom, #fafaff, #ffffff);
    color: var(--muted);
  }

  .faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 1000px;
  }

  .faq-answer p {
    margin-bottom: 15px;
    font-size: 1.05rem;
  }

  .faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .faq-answer li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
  }

  .faq-answer li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: -10px;
  }

.highlight {
  background: var(--accent);
  color: var(--primary-start);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

  /* Contact Section */
  .contact-section {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(26, 6, 79, 0.25);
    position: relative;
    overflow: hidden;
  }

  .contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 203, 12, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(25deg);
  }

  .faq-contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: white !important;
  }

  .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    position: relative;
    z-index: 1;
    margin-top: 10px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .contact-item:hover {
    background: rgba(255, 203, 12, 0.25);
    transform: translateY(-3px);
  }

  .contact-icon {
    font-size: 1.2rem;
    color: var(--accent);
  }

  /* Search Bar */
  .search-container {
    margin-bottom: 30px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .search-box {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid rgba(52, 53, 133, 0.2);
    border-radius: 50px;
    background: var(--bg);
    box-shadow: 0 4px 12px rgba(52, 53, 133, 0.08);
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .search-box:focus {
    outline: none;
    box-shadow: 0 5px 18px rgba(26, 6, 79, 0.2);
    border-color: var(--accent);
  }

  .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-end);
    font-size: 1.1rem;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .faq-title { font-size: 2.2rem; }
    .faq-subtitle { font-size: 1rem; }
    .faq-question { padding: 20px; font-size: 1.05rem; }
    .faq-answer { padding: 0 20px; }
    .faq-item.active .faq-answer { padding: 0 20px 20px; }
    .contact-info { flex-direction: column; gap: 15px; }
    .contact-section { padding: 30px 20px; }
  }