/* --- Variables & Reset --- */
:root {
    --primary-color: #2563eb; /* blue */
    --dark-bg: #0f172a; /* dark navy */
    --accent-color: #fbbf24; /* softer amber for CTA */
    --text-light: #f8fafc; /* off white */
    --text-dark: #0f172a;
    --gray-bg: #64748b;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--text-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-buttons .btn-primary {
  font-size: 1.5rem;
  padding: 15px 30px;
  background-color: #007BFF; /* Blue button */
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px; /* Emoji aur text ke beech gap */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Hero Phone Button */
.hero-buttons .btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;               /* Bold text */
  padding: 12px 25px;
  background-color: #fbbf24;      /* Bright amber */
  color: #0f172a;                 /* Dark text for contrast */
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.hero-buttons .btn-phone:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  background-color: #facc15;      /* Thoda brighter amber on hover */
  cursor: pointer;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title span {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
}

/* Navbar Layout */
.navbar {
    position: fixed;       /* Fix the navbar */
    top: 0;                /* Always at top */
    left: 0;               /* Start from left */
    width: 100%;           /* Full width */
    z-index: 9999;         /* On top of everything */
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo + Text */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 60px;
    height: auto;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.logo-text .tagline {
    font-size: 0.75rem;
    margin: 0;
    color: #64748b;
}

/* Right: Social + Menu */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-social {
    display: flex;
    gap: 10px;
}

.header-social a {
    color: #0f172a;
    font-size: 1rem;
    transition: 0.3s;
}

.header-social a:hover { color: #2563eb; }

.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Links */
.nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    height: calc(100vh - 70px);
    width: 100%;
    background: #fff;
    flex-direction: column;
    text-align: center;
    padding: 50px 0;
    transition: all 0.35s ease;
    z-index: 999;
    display: flex;
    gap: 20px;
}

.nav-links.active { right: 0; }

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    color: #0f172a;
}

.nav-links a:hover { color: #2563eb; }

/* Desktop button for phone */
.desktop-btn {
    font-weight: 700;
    color: #fff;
    background: #2563eb;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.desktop-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-right {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .logo-text h1 { font-size: 1rem; }
    .logo-text .tagline { font-size: 0.65rem; }
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    color: var(--text-light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* offset for navbar */
}

.hero-trust p {
    margin-top: 25px;
    font-size: 1rem;
    opacity: 0.85;
}

.hero-trust {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Animated Background Shapes */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional delay classes */
.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }

/* About Us Section */
.about-us {
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    padding: 100px 0;
    position: relative;
}

.about-us::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(37,99,235,0.1);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.about-us .container { position: relative; z-index: 1; }

.about-us h2.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-bg);
}

.about-us h2.section-title span {
    color: var(--primary-color);
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 5px;
}

.about-us h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-us p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: #333;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* About Points / Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.about-features li {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.about-features li.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-us h2.section-title { font-size: 2.2rem; }
    .about-us h3 { font-size: 1.5rem; }
    .about-us p { font-size: 1rem; }
    .about-features { grid-template-columns: 1fr; }
}

/* --- Features Section --- */
.features { padding: 80px 0; background: #fff; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Courses Section --- */
.courses { padding: 80px 0; background: #f1f5f9; }

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-meta {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #475569;
}

.course-meta li {
    margin-bottom: 6px;
}

.course-card:hover { transform: translateY(-12px); }

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover::before { opacity: 1; }

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(91, 50, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.highlight-card {
    border: 2px solid var(--accent-color);
    position: relative;
}

.highlight-card::after {
    content: 'Popular';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #000;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Stats Section --- */
.stats {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.stat-item p { font-size: 1.2rem; margin-top: 5px; }

/* --- Contact Section --- */
.contact { padding: 80px 0; background: #f1f5f9; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.info-item {
    font-size: 1.2rem;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.info-item i { color: var(--primary-color); }

/* Popup form button */
#popupForm button {
  background-color: #1e40af; /* Dark blue */
  color: #fff;
  font-size: 1.3rem;        /* Thoda bada text */
  font-weight: 700;         /* Mota text */
  padding: 15px 25px;       /* Bada button */
  border-radius: 10px;      /* Rounded corners */
  box-shadow: 0 6px 15px rgba(0,0,0,0.2); /* Thoda shadow */
  transition: transform 0.3s, background-color 0.3s;
}

/* Hover effect */
#popupForm button:hover {
  background-color: #2563eb; /* Thoda brighter blue */
  transform: scale(1.05);    /* Thoda bada hover effect */
  cursor: pointer;
}

.btn-highlight {
  background-color: #0d6efd; /* Bright blue */
  color: #fff;
  font-weight: 700; /* Bold */
  padding: 12px 24px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.admission-form h3 { margin-bottom: 20px; color: var(--primary-color); }

.form-group { margin-bottom: 20px; }

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.form-group input:focus { border-color: var(--primary-color); }

.full-width { width: 100%; text-align: center; }

/* --- Footer --- */
footer {
  background: #0f0518;
  color: #fff;
  padding: 60px 0 20px;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
}

.footer-brand h3 { 
  color: var(--accent-color); 
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.footer-brand p { 
  color: #ccc; 
  margin: 5px 0; 
  font-size: 0.95rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-brand-text h3 {
  color: var(--accent-color);
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.footer-brand-text p {
  color: #ccc;
  margin: 4px 0;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 { 
  margin-bottom: 15px; 
  font-weight: 700; 
  color: var(--primary-color);
}

.footer-links ul,
.footer-contact ul { list-style: none; padding: 0; }

.footer-links li,
.footer-contact li { margin-bottom: 10px; }

.footer-links a,
.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.footer-links a:hover,
.footer-contact a:hover { 
  color: var(--accent-color); 
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Animations for Footer Sections ===== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional delays for sequential animation */
.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 50px 0;
        transition: var(--transition);
    }

    .nav-links.active { right: 0; }
    .menu-toggle { display: block; }
    .desktop-btn { display: none; }
    .mobile-btn { display: inline-block; }

    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp green */
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.branches { padding: 80px 0; background: #f1f5f9; }
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.branch-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.branch-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--dark-bg);}
.branch-card p { font-size: 1rem; margin-bottom: 15px; color: #64748b;}
.branch-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.branch-card a:hover { text-decoration: underline; }

#facilities {
    padding: 80px 0;
    background: #fff;
}

#facilities .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

#facilities .section-title span {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
}

#facilities .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

#facilities .feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    transition: var(--transition);
}

#facilities .feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#facilities .feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    #facilities .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PW-Style Background for Popup ===== */
.popup-content {
    background: linear-gradient(135deg, #f8fafc, #e0e7ff); /* soft gradient */
    position: relative;
    overflow: hidden;
}

/* Abstract Shapes */
.popup-content::before,
.popup-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.popup-content::before {
    width: 180px;
    height: 180px;
    background: #2563eb;
    top: -40px;
    right: -50px;
}

.popup-content::after {
    width: 120px;
    height: 120px;
    background: #fbbf24;
    bottom: -30px;
    left: -40px;
}

/* Ensure content stays above shapes */
.popup-content * {
    position: relative;
    z-index: 1;
}

input, select, button {
    transition: all 0.25s ease;
}

input:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* --- Director's Desk Section with Abstract Shapes --- */
.directors-desk {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.directors-desk::before,
.directors-desk::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.directors-desk::before {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: -50px;
    left: -50px;
    filter: blur(100px);
}

.directors-desk::after {
    width: 180px;
    height: 180px;
    background: var(--accent-color);
    bottom: -40px;
    right: -30px;
    filter: blur(80px);
}

.directors-desk .director-card {
    position: relative; /* keep content above shapes */
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.directors-desk .director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.directors-desk .director-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
    transition: transform 0.35s ease;
}

.directors-desk .director-card:hover .director-photo {
    transform: scale(1.05);
}

.directors-desk h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--dark-bg); }

.directors-desk .designation {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 500;
}

.directors-desk .mission {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

.directors-desk .director-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

.directors-desk .stat-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.directors-desk .stat-item p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .directors-desk .director-card {
        width: 90%;
        padding: 25px;
    }

    .directors-desk .director-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #2563eb;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
  .directors-desk .director-photo {
    width: 200px;
    height: 200px;
  }
}

    .directors-desk .director-stats {
        flex-direction: column;
        gap: 15px;
    }
}

.branch-photo {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.branch-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.branch-card:hover img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

.free-bag-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Bag Image */
.bag-image-wrapper {
  position: relative;
  width: 300px; /* Fixed size */
  height: 350px;
}

.bag-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  display: block;
}

/* Animated Effects Around Bag */
.bag-effect {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  animation: bubbleMove 4s ease-in-out infinite;
}

.effect-1 {
  width: 40px;
  height: 40px;
  background: #1e90ff;
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.effect-2 {
  width: 25px;
  height: 25px;
  background: #fbbf24;
  bottom: -15px;
  right: -15px;
  animation-delay: 1s;
}

.effect-3 {
  width: 30px;
  height: 30px;
  background: #10b981;
  top: 50%;
  left: -15px;
  animation-delay: 2s;
}

@keyframes bubbleMove {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.6; }
  50% { transform: translate(15px,-15px) scale(1.2); opacity: 0.8; }
}

/* Bag Content Animation */
.bag-content {
  flex: 1;
  opacity: 0;
  transform: translateX(50px);
  transition: transform 1s ease, opacity 1s ease;
}

.bag-content.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Text Styling */
.free-bag h2 span {
  color: #1e90ff;
  font-weight: 700;
}

.free-bag p {
  font-size: 18px;
  margin: 20px 0;
  color: #333;
}

.studybag-btn {
    font-size: 1.4rem;            /* Thoda bada text */
    font-weight: 700;             /* Bold */
    padding: 16px 35px;           /* Bada button */
    background-color: #2563eb;    /* Bright blue */
    color: #fff;
    border-radius: 50px;          /* Rounded */
    display: inline-flex;
    align-items: center;
    gap: 10px;                    /* Emoji aur text ke beech */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    cursor: pointer;
}

.studybag-btn:hover {
    transform: scale(1.05);          /* Slight grow effect */
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    background-color: #1e40af;       /* Thoda darker blue on hover */
}

/* Fees Section CTA Buttons */
.fee-card .btn-primary {
  margin-top: 20px;
  font-size: 1.3rem;           /* Thoda bada font */
  font-weight: 700;            /* Bold text */
  padding: 15px 30px;          /* Thoda bada button */
  border-radius: 50px;
  background-color: #007BFF;   /* Bright blue */
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2); /* Shadow for highlight */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.fee-card .btn-primary:hover {
  transform: scale(1.08);            /* Slightly bigger on hover */
  box-shadow: 0 10px 25px rgba(0,0,0,0.3); /* More shadow */
  background-color: #2563eb;          /* Slightly darker blue */
  cursor: pointer;
}

.admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fbbf24;        /* bright amber */
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    animation: bounceBadge 1.5s infinite;
    text-transform: uppercase;
}

@keyframes bounceBadge {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== GLIMPSES SECTION ===== */
.glimpses {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  overflow: hidden; /* right side cut fix */
}

.glimpse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.glimpse-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glimpse-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.glimpse-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* Caption */
.glimpse-caption {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0f172a;
  background: #ffffff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* Show caption on hover */
.glimpse-card:hover .glimpse-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .glimpse-card img {
    height: 200px;
  }
}

.about-image {
  padding: 40px 0;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.35s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Chatbot Icon */
.chatbot-icon {
  position: fixed;
  bottom: 90px; /* WhatsApp ke upar */
  right: 20px;
  width: 60px;
  height: 60px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s, background 0.3s;
}

.chatbot-icon:hover {
  transform: scale(1.1);
  background: #1e40af;
}

/* Chatbot Panel */
#ai-chatbot {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  max-width: 90%;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  animation: fadeIn 0.5s ease forwards;
}

/* Header */
.chatbot-header {
  background: #2563eb;
  color: #fff;
  padding: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header span {
  cursor: pointer;
  font-size: 20px;
}

/* Body */
.chatbot-body {
  max-height: 400px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.bot-message, .user-message {
  padding: 10px 14px;
  margin: 6px 0;
  border-radius: 15px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: messageIn 0.5s forwards;
}

.bot-message {
  background: #f1f5f9;
  align-self: flex-start;
}

.user-message {
  background: #2563eb;
  color: #fff;
  align-self: flex-end;
}

/* Footer */
.chatbot-footer {
  display: flex;
  padding: 8px;
  border-top: 1px solid #ddd;
}

.chatbot-footer input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.chatbot-footer button {
  margin-left: 8px;
  background: #2563eb;
  border: none;
  color: #fff;
  padding: 0 14px;
  border-radius: 50%;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from {opacity:0; transform: translateY(20px);}
  to {opacity:1; transform: translateY(0);}
}

@keyframes messageIn {
  from {opacity:0; transform: translateY(20px);}
  to {opacity:1; transform: translateY(0);}
}

/* Price Badge Styling */
.price-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 12px;
  background: #fbbf24;        /* Yellow background */
  color: #fff;
  font-weight: 700;
  border-radius: 25px;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

/* Animation */
.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Optional: Glow effect */
.price-badge::after {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.6; }
}

.footer-credit {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  padding: 10px 0 30px 0;
  font-style: italic;
}

/* ===== SUCCESS STORIES ===== */
.success-stories {
  padding: 90px 20px;
  background: #f8fafc;
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.section-title span {
  color: #2563eb;
  border-bottom: 4px solid #2563eb;
}

.story-slider {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.story-track {
  display: flex;
  transition: transform 0.7s ease;
}

.story-card {
  min-width: 320px;
  margin: 0 15px;
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  animation: fadeUp 1s ease;
}

.story-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;   /* 🔥 IMPORTANT FIX */
  background: #f1f5f9;
  border-radius: 12px;
}

.story-card h3 {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: 700;
}

.rank {
  color: #2563eb;
  font-weight: 600;
  margin: 6px 0;
}

.praise {
  font-size: 0.95rem;
  color: #444;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2563eb;
  color: #fff;
  border: none;
  font-size: 26px;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.nav-arrow.left { left: 10px; }
.nav-arrow.right { right: 10px; }

.nav-arrow:hover {
  background: #1e40af;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== FREE T-SHIRT SECTION ===== */
.free-tshirt {
  padding: 100px 20px;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  text-align: center;
}

.free-tshirt .section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.free-tshirt .section-title span {
  color: var(--primary-color);
  border-bottom: 4px solid var(--accent-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.tshirt-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.tshirt-card {
  width: 280px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: tshirtFloat 4s ease-in-out infinite;
}

.tshirt-card:nth-child(2) {
  animation-delay: 1.5s;
}

.tshirt-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;   /* IMPORTANT: no image cutting */
  display: block;
}

/* Floating animation */
@keyframes tshirtFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* CTA Button */
.tshirt-cta {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 18px 45px;
  border-radius: 60px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tshirt-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* Animate on scroll */
.free-tshirt.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.free-tshirt.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-app-download {
    background: #ffffff;
    padding: 50px 20px;
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.footer-app-download h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a; /* Dark black-blue */
    margin-bottom: 12px;
}

.footer-app-download h4 span {
    color: #2563eb; /* Primary blue */
}

.footer-app-download p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af; /* Deep blue */
    margin-bottom: 25px;
}

.footer-app-download .btn-app {
    display: inline-block;
}

.footer-app-download .btn-app img {
    width: 190px;
    max-width: 100%;
    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.footer-app-download .btn-app img:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.trip-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  text-align: center;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
}

.section-title span {
  color: #2563eb;
}

.section-subtitle {
  margin: 15px 0 40px;
  font-size: 1.1rem;
  color: #555;
}

.trip-slider {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.trip-slides {
  position: relative;
}

.trip-image {
  width: 100%;
  height: 450px;
  object-fit: contain;   /* image cut nahi hogi */
  display: none;
  background: #000;
}

.trip-image.active {
  display: block;
  animation: fadeSlide 0.8s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.trip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 26px;
  padding: 14px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.trip-arrow.left {
  left: 15px;
}

.trip-arrow.right {
  right: 15px;
}

.trip-arrow:hover {
  background: #2563eb;
}

/* ===== CTA GLOW EFFECT ===== */
.btn-primary,
.studybag-btn,
.cta-btn,
.nav-cta,
button.cta {
  position: relative;
  box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.studybag-btn:hover,
.cta-btn:hover,
.nav-cta:hover,
button.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 15px rgba(37, 99, 235, 0.6),
    0 0 30px rgba(37, 99, 235, 0.4);
}

/* Continuous soft glow animation (optional but classy) */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
  }
  100% {
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  }
}

.btn-primary.glow,
.studybag-btn.glow,
.cta-btn.glow {
  animation: glowPulse 2.5s infinite ease-in-out;
}

.hero-glow {
  position: relative;
  color: #fff;
  text-align: center;
  font-weight: 800;

  /* Yellow glow */
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.6),
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 200, 0, 0.4);

  animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 8px rgba(255, 215, 0, 0.4),
      0 0 16px rgba(255, 215, 0, 0.3);
  }
  50% {
    text-shadow:
      0 0 18px rgba(255, 215, 0, 0.8),
      0 0 40px rgba(255, 200, 0, 0.6);
  }
  100% {
    text-shadow:
      0 0 8px rgba(255, 215, 0, 0.4),
      0 0 16px rgba(255, 215, 0, 0.3);
  }
}