:root {
    --primary-color: #0a66c2;
    --secondary-color: #004182;
    --accent-color: #ff9900;
    --text-color: #333;
    --light-bg: #f4f7fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --bottom-nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--glass);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 9999; /* Ensure header is above everything */
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9999;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10002; /* Above nav-links overlay */
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Floating Enquiry Form */
.enquiry-btn {
    position: fixed;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px 30px 0 0;
    font-weight: 800;
    cursor: pointer;
    z-index: 9999;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    border: none;
    transition: var(--transition);
}

.enquiry-btn:hover {
    right: -45px;
    background: var(--secondary-color);
}

.form-popup {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 40px;
    overflow-y: auto;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.form-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.form-popup h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.form-popup input, .form-popup select, .form-popup textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
}

.form-popup button {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.form-popup button:hover {
    background: var(--secondary-color);
}

.inquiry-form-scrollable {
    display: flex;
    flex-direction: column;
}

.academic-details {
    display: flex;
    gap: 10px;
}

.academic-details input {
    flex: 1;
    min-width: 0;
}


/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 100%; /* No gap between parent and menu */
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 15px 0;
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-content a {
    display: block;
    padding: 12px 25px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #f8faff;
    color: var(--primary-color);
    padding-left: 30px;
}

.dropdown i {
    font-size: 0.8rem;
    margin-left: 5px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 20px rgba(10, 102, 194, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 102, 194, 0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.phone-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-btn:hover {
    background: #e68a00;
    transform: scale(1.05);
}

/* Hero Section Redesign */
.hero-section {
    position: relative;
    height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000; /* Fallback */
    color: var(--white);
    padding-top: 80px; /* Offset for sticky header */
    box-sizing: border-box;
}

.hero-main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease-in-out, background-image 0.8s ease-in-out;
    z-index: 1;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(10, 102, 194, 0.3) 100%);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-text-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-text-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.highlight {
    color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Swiper Styles */
.hero-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: auto;
    filter: blur(1px) grayscale(0.5);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.swiper-slide-active {
    filter: blur(0) grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.course-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: var(--transition);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 15px 10px;
    text-align: left;
}

.card-info h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 75vh;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .hero-text-content h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        padding: 0 15px;
    }
    
    .hero-text-content p {
        font-size: 1.1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .swiper-slide {
        width: 280px;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        padding: 0 30px;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin: 0;
    }
    
    .btn-outline {
        margin-left: 0;
    }
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Cards (Services, Countries) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 102, 194, 0.1);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Why Choose Us */
.why-choose {
    background-color: var(--light-bg);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('assets/graduation.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.2rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info div {
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
footer {
    background: #051930;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-links h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Responsive */
/* Card & Image Animations */
.card, .service-card, .course-card {
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover, .service-card:hover, .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.image-box {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-box:hover img {
    transform: scale(1.05) rotate(1deg);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-text-content h1 {
        font-size: 3.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Full width for premium feel */
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
        z-index: 10001;
        padding: 60px 20px;
    }

    .nav-links.active {
        right: 0;
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for links */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.6s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.7s; }

    .nav-links a {
        font-size: 1.8rem; /* Larger links on mobile overlay */
        font-weight: 800;
        color: var(--secondary-color);
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        display: none;
        padding: 10px 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown i {
        transition: transform 0.3s ease;
    }

    .dropdown.active i {
        transform: rotate(180deg);
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .about-grid, .services-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .about-image {
        order: -1;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-about {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-logo {
        justify-content: center;
        display: flex;
    }

    /* Bottom Navigation Bar Styles */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: var(--bottom-nav-height);
        background: var(--white);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 9998;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
        border-radius: 20px 20px 0 0;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #888;
        font-size: 0.7rem;
        font-weight: 600;
        transition: var(--transition);
        flex: 1;
    }

    .bottom-nav-item i {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .bottom-nav-item.active {
        color: var(--primary-color);
    }

    /* Sticky Mobile Contact Bar */
    .sticky-contact-bar {
        position: fixed;
        bottom: calc(var(--bottom-nav-height) + 15px);
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 9997;
        width: 90%;
        max-width: 400px;
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        border-radius: 50px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        transition: var(--transition);
        font-size: 0.9rem;
    }

    .sticky-whatsapp {
        background: #25D366;
        color: white;
    }

    .sticky-call {
        background: var(--primary-color);
        color: white;
    }

    /* Hide Desktop Floating Button on Mobile if using Bottom Bar */
    .enquiry-btn {
        display: none;
    }

    /* Bottom Sheet Modal for Forms on Mobile */
    .form-popup {
        width: 100%;
        height: auto;
        max-height: 85vh;
        top: auto;
        bottom: 0;
        border-radius: 30px 30px 0 0;
        padding: 30px 20px 40px;
        transform: translateY(100%);
        animation: slideUp 0.5s forwards;
    }

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

/* Hide Bottom Nav on Desktop */
@media (min-width: 769px) {
    .bottom-nav, .sticky-contact-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text-content h1 {
        font-size: 2rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .phone-btn {
        padding: 8px 15px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* Large Image-Based Rolling Book Loader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ffffff 0%, #f4f7fa 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10005;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content {
    text-align: center;
}

.book-loader-img {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    animation: rollAndBounce 2.5s infinite ease-in-out;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

@keyframes rollAndBounce {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) translateY(-10px) scale(1.05); }
    50% { transform: rotate(-5deg) translateY(0) scale(1); }
    75% { transform: rotate(5deg) translateY(-10px) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

/* --- New UI Sections CSS --- */
.new-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.new-stat-card, .category-card {
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.new-stat-card:hover, .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.icon-circle i {
    font-size: 2rem;
}

.new-stat-card h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 800;
}

.new-stat-card p {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

.category-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 10px;
}

/* Marquee Section */
.partners-section {
    background: #ffffff;
    overflow: hidden;
}

.marquee-container {
    background: #ffeb3b;
    padding: 15px 0;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #fbc02d;
    border-bottom: 1px solid #fbc02d;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 800;
    color: #333;
    margin-right: 50px;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    text-align: center;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo p {
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials-section {
    position: relative;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin: 20px;
    position: relative;
    border: 1px dashed #e1e8f0;
}

.stars {
    color: #ffb400;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px dashed #eee;
    padding-top: 20px;
    position: relative;
}

.student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.student-info h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}

.quote-icon {
    position: absolute;
    right: 0;
    top: 20px;
    font-size: 3rem;
    color: #f0f4f8;
    z-index: 0;
}

/* Fix Testimonials Swiper White Space */
.testimonials-section {
    padding-bottom: 40px; /* Reduce massive bottom padding */
}

.testimonials-swiper {
    padding-bottom: 50px; /* Space for pagination dots */
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    top: 40%; /* Move arrows up to align with cards visually */
    transform: translateY(-50%);
}

.testimonials-swiper .swiper-pagination {
    bottom: 0px; /* Move pagination dots up */
}

@media (max-width: 768px) {
    .new-stats-grid {
        grid-template-columns: 1fr;
    }
    .partner-logos {
        gap: 30px;
    }
}

/* Interactive Tools Modals */
.tool-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.tool-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tool-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.tool-form input, .tool-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* --- Global Loader --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    transition: opacity 0.6s ease;
}

.book {
    width: 120px;
    height: auto;
    animation: flip 1s infinite ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes flip {
    0% { transform: perspective(600px) rotateY(0deg); }
    50% { transform: perspective(600px) rotateY(180deg); }
    100% { transform: perspective(600px) rotateY(360deg); }
}

/* Scrollable Inquiry Form */
.inquiry-form-scrollable {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding-right: 10px;
}

.inquiry-form-scrollable::-webkit-scrollbar {
    width: 6px;
}
.inquiry-form-scrollable::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
/ *   L o a d e r   A n i m a t i o n   * / 
 # l o a d e r   { 
     p o s i t i o n :   f i x e d ; 
     w i d t h :   1 0 0 % ; 
     h e i g h t :   1 0 0 % ; 
     b a c k g r o u n d :   # 0 b 0 f 1 a ; 
     d i s p l a y :   f l e x ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     a l i g n - i t e m s :   c e n t e r ; 
     z - i n d e x :   9 9 9 9 9 ; 
 } 
 
 . b o o k   { 
     w i d t h :   1 8 0 p x ; 
     a n i m a t i o n :   f l i p   1 s   i n f i n i t e ; 
 } 
 
 @ k e y f r a m e s   f l i p   { 
     0 %   {   t r a n s f o r m :   p e r s p e c t i v e ( 6 0 0 p x )   r o t a t e Y ( 0 d e g ) ;   } 
     5 0 %   {   t r a n s f o r m :   p e r s p e c t i v e ( 6 0 0 p x )   r o t a t e Y ( 4 0 d e g ) ;   } 
     1 0 0 %   {   t r a n s f o r m :   p e r s p e c t i v e ( 6 0 0 p x )   r o t a t e Y ( 0 d e g ) ;   } 
 } 
 
 \n\n/* =========================================
   DYNAMIC PAGE HEADER (PARALLAX + GLASS)
   ========================================= */
.page-header {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9)), url('assets/graduation.jpg') center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.page-header .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(238,242,247,0.2) 100%);
}

.header-content {
  position: relative;
  z-index: 2;
  background: rgba(5, 42, 81, 0.95); /* Solid deep blue */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px 70px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: fadeSlideUp 0.8s ease forwards;
}

.header-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
  text-transform: capitalize;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content .breadcrumb {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
}

.header-content .breadcrumb a {
  color: var(--accent-color, #ff9900);
  text-decoration: none;
  transition: 0.3s;
}

.header-content .breadcrumb a:hover {
  color: #fff;
}

/* SVG Floating Icons Removed to prevent jitter */
.floating-icons {
  display: none;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .header-content { padding: 25px 40px; }
  .header-content h1 { font-size: 32px; }
  .page-header { height: 240px; }
}

/* Contact Form Responsive Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Detailed Contact Form Styles */
.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
}

.contact-form-input {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e6ed;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: #f8fafc;
    box-sizing: border-box;
    transition: 0.3s;
}

.contact-form-input:focus {
    border-color: #0a66c2;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.1);
}

.contact-info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 5px;
}

/* Logo Ticker Section */
.logo-ticker-section {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.logo-ticker-container::before,
.logo-ticker-container::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker-container::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.logo-ticker-container::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.logo-ticker-track {
    display: flex;
    width: calc(250px * 52); /* Double the logos for infinite loop */
    animation: ticker-scroll 60s linear infinite;
    align-items: center;
}

.logo-ticker-track:hover {
    animation-play-state: paused;
}

.logo-item {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 26)); }
}

@media (max-width: 768px) {
    .logo-ticker-container::before, 
    .logo-ticker-container::after {
        width: 60px;
    }
    .logo-item {
        width: 160px;
        padding: 0 20px;
    }
    @keyframes ticker-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-160px * 26)); }
    }
}


/* About Page Premium Redesign - Fixed Alignment */
.about-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.about-card-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.about-card-premium:nth-child(even) {
    flex-direction: row-reverse;
}

.about-card-premium .card-img {
    flex: 0 0 45%;
    height: 350px;
}

.about-card-premium .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card-premium .card-content {
    flex: 1;
    padding: 40px 50px;
}

.about-card-premium h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e67e22;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
}

.about-card-premium p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .about-card-premium .card-img {
        flex: 0 0 40%;
    }
    .about-card-premium .card-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .about-card-premium, .about-card-premium:nth-child(even) {
        flex-direction: column;
    }
    .about-card-premium .card-img {
        width: 100%;
        height: 250px;
        flex: none;
    }
    .about-card-premium .card-content {
        padding: 30px 20px;
    }
    .about-card-premium h3 {
        font-size: 1.3rem;
    }
}

/* --- Premium About Page Sections --- */
.about-hero-dark {
    background: linear-gradient(rgba(5, 25, 48, 0.9), rgba(5, 25, 48, 0.9)), url('assets/about-hero.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.about-hero-dark h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: #ff9900; /* Brighter accent color */
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-hero-dark p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-contact-section {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    margin: 80px auto;
    max-width: 1000px;
    border: 1px solid rgba(0, 65, 130, 0.1);
    box-shadow: 0 30px 60px rgba(0, 65, 130, 0.1);
    position: relative;
    overflow: hidden;
}

.about-contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 8px;
    background: linear-gradient(90deg, #004182, #ff9900);
}

.about-contact-section h2 {
    color: #004182;
    margin-bottom: 15px;
    font-size: 2.8rem;
    font-weight: 800;
}

.about-contact-section p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: #ff9900;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(255, 153, 0, 0.3);
}

.about-call-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background: #e68a00;
    box-shadow: 0 20px 40px rgba(255, 153, 0, 0.4);
}

.about-call-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .about-contact-section {
        padding: 50px 20px;
        margin: 40px 15px;
    }
    .about-contact-section h2 {
        font-size: 2rem;
    }
    .about-call-btn {
        font-size: 1.1rem;
        padding: 15px 30px;
        width: 100%;
        justify-content: center;
    }
}

/* Abroad Page Specific Responsive Grid */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}
