/* =========================================
   1. General Settings
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body { 
    background: #f4f4f4; 
    color: #333; 
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   2. Header & Sticky Nav (Mobile Optimized)
   ========================================= */
header { 
    background: #fff; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
}

.top-bar { 
    background: #003366; 
    color: white; 
    padding: 8px 5%; 
    font-size: 13px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 5%; 
    background: #fff;
    position: relative;
}

/* Logo Styling */
.logo { 
    font-size: 22px; 
    font-weight: 800; 
    color: #d32f2f; 
    text-transform: uppercase;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
    flex-wrap: wrap;
}

.logo span { color: #003366; }

/* Navigation Links (Desktop) */
nav ul { 
    display: flex; 
    list-style: none; 
    align-items: center;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

nav ul li { 
    margin-left: 25px; 
}

nav ul li a { 
    text-decoration: none; 
    /* Text ko dark aur extra bold banaya gaya hai */
    color: #000000;          
    font-weight: 800;       /* Sabse zyada bold (800 ya 900 use karein) */
    font-size: 16px;        /* Thoda bada size behtar visibility ke liye */
    text-transform: uppercase; /* Sabhi words capital rahenge (Optional) */
    
    transition: 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

/* Hover Effect: Mouse le jane par color change aur underline */
nav ul li a:hover { 
    color: #0fa339; /* Red color on hover */
}

/* Red Underline Animation on Hover */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e60000;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Toggle Icon */
.menu-toggle { 
    display: none; 
    font-size: 26px; 
    cursor: pointer; 
    color: #003366;
}

/* =========================================
   3. Mobile Responsive Fixes
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .top-bar {
        font-size: 11px;
        justify-content: center;
        gap: 8px;
        padding: 5px;
        flex-direction: column;
        text-align: center;
    }

    nav ul { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%;
        left: 0; 
        width: 100%; 
        background: #ffffff; 
        padding: 10px 0; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        text-align: center;
        border-top: 1px solid #eee;
        max-height: 80vh; 
        overflow-y: auto; 
        z-index: 1001;
    }

    nav ul.active { 
        display: flex; 
        animation: slideIn 0.3s ease-out;
    }

    nav ul li { 
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        font-size: 16px;
        border-bottom: 1px solid #f9f9f9;
    }

    nav ul li a::after { display: none; }

    .logo { font-size: 18px; }
    
    .logo img {
        max-width: 40px;
        height: auto;
    }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Hero Section Container
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background: #000;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; 
    object-position: center;
    transition: transform 0.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.hero-content {
    max-width: 90%;
    width: 100%;
}

.hero-content h1 {
    font-size: 1.6rem; 
    color: #fff;
    margin-bottom: 8px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.hero-content p {
    font-size: 0.95rem;
    color: #eee;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ffcc00;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: scale(1.05);
    background: #ffdd33;
}

/* Desktop Hero */
@media (min-width: 768px) {
    .hero { height: 85vh; }
    .hero-content h1 { font-size: 3.5rem; margin-bottom: 15px; }
    .hero-content p { font-size: 1.5rem; }
    .hero-content .btn { padding: 15px 35px; font-size: 1.1rem; }
}

/* Small Mobile Hero */
@media (max-width: 480px) {
    .hero { height: 50vh; }
    .hero-content h1 { font-size: 1.3rem; }
    .hero-content p { font-size: 0.8rem; }
}

/* Zoom Animation */
.swiper-slide-active img {
    animation: zoomEffect 8s linear infinite alternate;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

/* =========================================
   Cards / Highlights
   ========================================= */
.highlights { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    padding: 50px 5%; 
    flex-wrap: wrap; 
}

.card { 
    background: white; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    width: 300px; 
    text-align: center; 
    border-top: 5px solid #d32f2f; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .highlights { gap: 15px; padding: 30px 5%; }
    .card { width: 100%; max-width: 320px; }
}

/* =========================================
   Footer - Fully Responsive
   ========================================= */
footer {
    background-color: #0b1c3c;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Segoe UI', Arial, sans-serif;
    border-top: 4px solid #d32f2f;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

/* School Info Section */
.footer-school-info h2 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-school-info h2 span { color: #d32f2f; }
.footer-school-info p {
    font-size: 14.5px;
    color: #cfd8dc;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Social Icons */
.social-icons-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-icon-f {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon-f:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.facebook:hover { background: #1877F2; color: white; }
.youtube:hover { background: #FF0000; color: white; }
.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: white; }
.linkedin:hover { background: #0077B5; color: white; }
.twitter:hover { background: #000000; color: white; }

/* Footer Section Titles */
.footer-section h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #d32f2f;
}

/* Footer Links */
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a {
    color: #eceff1;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i {
    color: #d32f2f;
    font-size: 12px;
}
.footer-links a:hover {
    color: #d32f2f;
    transform: translateX(8px);
}

/* Map Section */
.footer-map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Directions Button */
.directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    background-color: #d32f2f;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.4s;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.directions-btn:hover {
    background-color: #ffffff;
    color: #d32f2f;
    transform: scale(1.05);
}

/* Contact Card Footer */
.contact-card-footer p {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.contact-card-footer strong { color: #d32f2f; margin-right: 5px; }

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 13px;
    color: #90a4ae;
    letter-spacing: 0.5px;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    footer { padding: 50px 0 20px; }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons-footer { justify-content: center; }
    .footer-links a { justify-content: center; }
    .footer-links a:hover { transform: translateX(0) scale(1.05); }
    .footer-map-container { height: 200px; margin: 0 10px; }
    .contact-card-footer p { justify-content: center; text-align: center; }
    .directions-btn { margin: 10px auto; }
}

/* =========================================
   Floating Buttons Container
   ========================================= */
.floating-container {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-btn {
    background-color: #25d366;
    animation: pulse-whatsapp 2s infinite;
}
.call-btn {
    background-color: #007bff;
    animation: pulse-call 2s infinite;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes pulse-call {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

@media (max-width: 768px) {
    .floating-container { bottom: 15px; right: 15px; gap: 12px; }
    .float-btn { width: 52px; height: 52px; font-size: 24px; }
    .whatsapp-btn, .call-btn { animation-duration: 2.5s; }
}

/* =========================================
   Logo Container
   ========================================= */
.logo-container {
    display: flex;
    align-items: center; 
    gap: 15px;           
    flex: 1;
}

.school-logo {
    width: 70px;         
    height: auto;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #d32f2f;
    line-height: 1.2;
}

.sub-text {
    color: #003366;
    display: block;
    font-size: 18px;
}

@media (max-width: 768px) {
    .logo-container { gap: 8px; }
    .school-logo { height: 45px; }
    .logo-text { font-size: 18px; }
    .sub-text { font-size: 12px; }
}

/* =========================================
   News Ticker
   ========================================= */
.news-ticker {
    display: flex;
    background: #fff;
    border-bottom: 2px solid #d32f2f;
    height: auto;
    min-height: 40px;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
}

.ticker-title {
    background: #d32f2f;
    color: white;
    padding: 0 20px;
    height: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-weight: bold;
    z-index: 10;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-wrap {
    display: flex;
    white-space: nowrap;
    animation: marquee-infinite 30s linear infinite;
}

.ticker-item {
    padding-left: 20px;
    color: #003366;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}

.ticker-wrap:hover { animation-play-state: paused; }

@keyframes marquee-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .ticker-title { display: none; }
    .ticker-item { font-size: 13px; padding-left: 15px; }
    .news-ticker { min-height: 36px; }
}

/* =========================================
   Welcome Bar
   ========================================= */
.welcome-bar {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Brush Script MT', cursive;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .welcome-bar { font-size: 14px; padding: 6px 0; }
}

/* =========================================
   Header & Nav Additional Styles
   ========================================= */
.brand-details {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-size: 26px;
    font-weight: 800;
    color: #003366;
    white-space: nowrap;
}

.red-text { color: #d32f2f; }

.contact-info {
    font-size: 14px;
    color: #555;
    font-weight: 600;
    margin-top: -5px;
}

@media (max-width: 768px) {
    .school-name { font-size: 18px; white-space: normal; }
    .contact-info { font-size: 10px; margin-top: 0; }
    .brand-details { gap: 2px; }
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials-section {
    padding: 60px 5%;
    background: #fdfdfd;
    text-align: center;
    overflow: hidden;
}

.section-title { 
    color: #003366; 
    margin-bottom: 10px; 
    font-size: 2rem; 
    font-weight: 800;
}
.section-subtitle { 
    color: #d32f2f; 
    font-weight: bold; 
    margin-bottom: 40px; 
}

.testimonial-swiper {
    padding: 20px 10px 60px 10px;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    border-bottom: 5px solid #d32f2f;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.quote-icon {
    font-size: 30px;
    color: #d32f2f;
    margin-bottom: 20px;
    opacity: 0.6;
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.parent-info h4 {
    color: #003366;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}
.parent-info span { color: #777; font-size: 13px; }

@media (max-width: 768px) {
    .testimonials-section { padding: 40px 5%; }
    .section-title { font-size: 1.8rem; }
    .testimonial-card { padding: 20px; text-align: center; }
    .testimonial-card p { font-size: 14px; }
    .quote-icon { margin-bottom: 15px; }
}

/* =========================================
   Vision & Mission
   ========================================= */
.vision-mission {
    position: relative;
    padding: 80px 5%;
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    overflow: hidden;
    color: white;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.vm-card {
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.vm-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: #d32f2f;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.vm-icon {
    font-size: 40px;
    color: #ffcc00;
    margin-bottom: 20px;
    display: inline-block;
}

.vm-card h2 {
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.vm-card p {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}

.vm-card h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #d32f2f;
    margin: 10px auto 0;
    transition: 0.3s;
}
.vm-card:hover h2::after { width: 80px; }

@media (max-width: 768px) {
    .vision-mission { padding: 50px 5%; }
    .vm-grid { grid-template-columns: 1fr; gap: 20px; }
    .vm-card { padding: 30px 20px; }
    .vm-card h2 { font-size: 20px; }
    .vm-card p { font-size: 14px; }
}

/* =========================================
   Pedagogy Section
   ========================================= */
.pedagogy {
    padding: 80px 5%;
    background: #ffffff;
    text-align: center;
}

.pedagogy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    text-align: left;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border-color: #d32f2f;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.step-num {
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 51, 102, 0.1);
}
.step-header i { font-size: 30px; color: #003366; }
.step-card h4 { color: #003366; font-size: 20px; margin-bottom: 12px; }
.step-card p { color: #666; font-size: 15px; line-height: 1.6; }
.step-card:hover .step-header i { color: #d32f2f; }

@media (max-width: 768px) {
    .pedagogy { padding: 50px 5%; }
    .pedagogy-grid { gap: 20px; }
    .step-card { padding: 25px 20px; text-align: center; }
    .step-header { justify-content: center; gap: 15px; }
    .step-card h4 { font-size: 18px; }
}

/* =========================================
   Comparison Table
   ========================================= */
.comparison-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom, #fdfdfd, #f4f7fa);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
}

.comparison-table thead th {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 25px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 3px solid #eee;
}

.comparison-table .highlight-col {
    background: #003366 !important;
    color: #ffffff !important;
    text-align: center !important;
}

.comparison-table tbody tr:hover { background-color: #f9f9fb; }
.comparison-table td {
    padding: 20px;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.comparison-table tbody td:first-child {
    font-weight: 700;
    color: #003366;
    background: #fcfcfc;
}
.comparison-table tbody td:last-child {
    background: #f0f7ff;
    font-weight: 700;
    color: #003366;
    text-align: center;
}

.fa-check-circle { color: #28a745; }
.fa-times-circle { color: #d32f2f; }
.fa-minus-circle { color: #ffc107; }

@media (max-width: 768px) {
    .comparison-section { padding: 50px 5%; }
    .comparison-table th, .comparison-table td { padding: 12px 8px; font-size: 12px; }
    .comparison-table thead th { padding: 12px 8px; font-size: 10px; }
    .highlight-col { font-size: 11px !important; }
    .table-responsive::after {
        content: '← Scroll to see more →';
        display: block;
        text-align: center;
        font-size: 10px;
        color: #999;
        margin-top: 10px;
    }
}

/* =========================================
   Toppers Section
   ========================================= */
.toppers-modern {
    padding: 80px 5%;
    background: linear-gradient(to bottom, #f4f7fa, #ffffff);
    text-align: center;
}

.topper-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.topper-card-modern {
    background: #fff;
    width: 280px;
    padding: 35px 20px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.topper-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.15);
}

.pic-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pic-container img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.color-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #00c6ff, #0072ff, #00c6ff);
    background-size: 200% 200%;
    animation: rotateRing 3s linear infinite, glowPulse 2s ease-in-out infinite alternate;
    z-index: 1;
}
@keyframes rotateRing {
    0% { transform: rotate(0deg); background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { transform: rotate(360deg); background-position: 0% 50%; }
}
@keyframes glowPulse {
    from { opacity: 0.7; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1.05); }
}

.topper-info h4 { font-size: 24px; color: #003366; margin-bottom: 8px; font-weight: 700; }
.status { color: #d32f2f; font-weight: 700; font-size: 15px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.year { font-size: 13px; color: #003366; font-weight: 600; background: rgba(0, 51, 102, 0.08); padding: 5px 15px; border-radius: 50px; display: inline-block; }

@media (max-width: 768px) {
    .toppers-modern { padding: 50px 5%; }
    .section-title { font-size: 26px; margin-bottom: 40px; }
    .topper-grid { gap: 25px; }
    .topper-card-modern { width: 100%; max-width: 320px; padding: 25px 15px; }
    .pic-container { width: 130px; height: 130px; }
    .pic-container img { width: 110px; height: 110px; }
    .topper-info h4 { font-size: 20px; }
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    background: linear-gradient(135deg, #0f172a, #7f1d1d);
    padding: 60px 5%;
    color: white;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item { flex: 1; padding: 10px; min-width: 120px; }
.stat-item h2 {
    display: inline-block;
    font-size: 1.8rem;
    color: #ffcc00;
    font-weight: 800;
    margin: 0;
}
.suffix {
    font-size: 1.4rem;
    color: #ffcc00;
    font-weight: 800;
}
.stat-item p {
    font-size: 0.75rem;
    margin-top: 5px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .stat-item h2 { font-size: 3.5rem; }
    .suffix { font-size: 2.5rem; }
    .stat-item p { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .stats-section { padding: 40px 5%; }
    .stats-container { gap: 15px; }
    .stat-item h2 { font-size: 1.5rem; }
    .suffix { font-size: 1.2rem; }
    .stat-item p { font-size: 0.65rem; }
}

/* =========================================
   Preparation Section
   ========================================= */
.prep-new { 
    padding: 60px 5%; 
    display: grid; 
    grid-template-columns: 1.5fr 1fr;
    gap: 40px; 
    background: #ffffff; 
    margin-top: 40px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    align-items: center;
}
.prep-new h3 { margin-bottom: 25px; font-size: 28px; color: #003366; font-weight: 800; }
.prep-list-new { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; list-style: none; }
.prep-list-new li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: #444; }
.prep-list-new li i { color: #d32f2f; font-size: 20px; }
.prep-right {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.prep-right h3 { color: #ffcc00; margin-bottom: 10px; font-size: 24px; }
.mob-bold { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.btn-prep {
    display: inline-block;
    padding: 12px 30px;
    background: #d32f2f;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
    border: 2px solid transparent;
}
.btn-prep:hover { background: transparent; border-color: #ffffff; transform: translateY(-3px); }

@media (max-width: 768px) {
    .prep-new { grid-template-columns: 1fr; padding: 40px 5%; text-align: center; margin-top: 20px; }
    .prep-list-new { grid-template-columns: 1fr; text-align: left; max-width: 280px; margin: 0 auto 20px; }
    .prep-new h3 { font-size: 24px; }
    .prep-right { padding: 30px 20px; }
    .prep-right h3 { font-size: 20px; }
}

/* =========================================
   Additional Utility Styles
   ========================================= */
.swiper-pagination-bullet-active { background: #d32f2f !important; }

.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a i { color: #ff4d4d; margin-right: 12px; font-size: 14px; }
.footer-links ul li a:hover { color: #ffcc00; padding-left: 5px; }

/* Gallery Item */
.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    transition: all 0.5s ease;
    width: 100%;
    height: auto;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(80%);
}
.gallery-item:hover {
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
    border-radius: 10px;
}

/* Journey Step */
.journey-step {
    flex: 1;
    min-width: 200px;
    padding: 30px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid #003366;
    transition: 0.3s;
}
.journey-step:hover { border-top-color: #d32f2f; transform: translateY(-5px); }
.j-icon { font-size: 30px; color: #d32f2f; margin-bottom: 15px; display: inline-block; }
.journey-step h4 { color: #003366; margin-bottom: 10px; }
.journey-step p { font-size: 14px; color: #666; }

/* Course Card */
.course-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    transition: all 0.3s ease;
}
.course-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(13, 33, 78, 0.1); border-color: #d32f2f; }
.course-badge { position: absolute; top: 20px; right: 20px; background: #d32f2f; color: #fff; font-size: 11px; font-weight: bold; padding: 5px 12px; border-radius: 50px; text-transform: uppercase; }
.course-icon { width: 60px; height: 60px; background: #eef2f7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #003366; margin-bottom: 20px; }
.course-card h3 { font-size: 22px; margin-bottom: 15px; color: #003366; }
.course-card p { font-size: 15px; color: #666; margin-bottom: 20px; line-height: 1.6; }
.course-features { list-style: none; padding: 0; }
.course-features li { font-size: 14px; color: #444; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.course-features li i { color: #28a745; }

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 204, 0, 0.3);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::after {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffcc00;
}
.time-box { font-weight: bold; color: #ffcc00; font-size: 18px; margin-bottom: 5px; }
.activity-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}
.activity-box:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(10px); }
.activity-box h4 { margin-bottom: 10px; color: #fff; }
.activity-box p { font-size: 14px; color: #ccc; line-height: 1.5; }

@media (max-width: 768px) {
    .timeline { padding-left: 30px; }
    .timeline::before { left: 10px; }
    .timeline-item::after { left: -24px; }
    .course-card { padding: 30px 20px; }
    .course-card h3 { font-size: 18px; }
    .journey-step { min-width: 100%; margin-bottom: 15px; }
}

/* Pulse Animations for Icons */
.fl-icon { animation: pulse-blue 2s infinite; }
.whatsapp-bg { animation: pulse-green 2s infinite; }

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   Final Mobile Safety - No Content Breakage
   ========================================= */
@media (max-width: 480px) {
    body { font-size: 14px; }
    .container, section { overflow-x: hidden; }
    img, video, iframe { max-width: 100%; height: auto; }
    .footer-map-container iframe { height: 180px; }
    .stats-container { flex-direction: column; gap: 25px; }
    .stat-item { width: 100%; }
}