/* Professional Color Scheme */
:root {
    --primary-blue: #003060;
    /* Deep Professional Blue */
    --accent-orange: #ff6b35;
    /* Energy & Action color */
    --light-bg: #f8f9fa;
    --text-dark: #2d3436;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Puray page par smooth scrolling apply karne ke liye */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 70px;
    background-color: #fff;
    /* Optional: text-rendering ko behtar banane ke liye */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: "Oswald", sans-serif;
    /* text-transform: uppercase; */
}
/* Logo Styling */
.logo-icon-wrap {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: white;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    /*Modernroundedlook*/font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 48, 96, 0.1);
    transition: 0.3s ease; 
}
 

.logo-text {
    font-family: "Oswald", sans-serif; /* Agar aapne pehle use kiya hai */
}
/* Professional Navbar */
.navbar {
    /* Glassy background with slight transparency */
    background: rgba(255, 255, 255, 0.7) !important;

    /* This is the magic line for glassy blur */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* Thin white border for glass edge */

    /* Box shadow ko thoda light rakhenge taaki glass look clean lage */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Jab page scroll ho, toh thoda dark ya solid karna chahen toh JS se 'scrolled' class add kar sakte hain */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 3px solid var(--primary-blue);
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: 0.3s;
}

/* Dropdown Custom Styling */
.dropdown-menu {
    margin-top: 10px;
    border-radius: 12px !important;
}

.dropdown-item {
    font-weight: 500;
    color: var(--primary-blue);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(0, 48, 96, 0.05);
    color: var(--accent-orange);
    padding-left: 25px; /* Hover par halka sa slide effect */
}

/* Slide-in Animation */
@media (min-width: 992px) {
    .animate {
        animation-duration: 0.3s;
        animation-fill-mode: both;
    }
}

@keyframes slideIn {
    0% { transform: translateY(1rem); opacity: 0; }
    100% { transform: translateY(0rem); opacity: 1; }
}

.slideIn { animation-name: slideIn; }

/* Auth Dropdown Enhancements */
.bg-primary-soft { background: rgba(0, 48, 96, 0.1); }
.bg-success-soft { background: rgba(16, 185, 129, 0.1); }
.bg-info-soft { background: rgba(0, 158, 247, 0.1); }
.bg-warning-soft { background: rgba(255, 107, 53, 0.1); }

.icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Mobile Responsive adjustment */
@media (max-width: 991px) {
    .ms-lg-3 {
        margin-top: 15px;
        width: 100%;
    }
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    .dropdown-menu {
        text-align: left;
    }
}

/* Active Link Styling */
.navbar-nav .nav-link.active {
    color: var(--accent-orange) !important;
    /* Orange color for active section */
    position: relative;
}

/* Optional: Active link ke niche ek choti line (Modern look) */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--accent-orange) !important;
    transform: translateY(-2px);
    /* Chota sa hover effect */
}

/* Hero Section - Mix of both Aspire sites */
.hero-coaching {
    background:
        linear-gradient(rgba(0, 48, 96, 0.85), rgba(0, 48, 96, 0.85)),
        url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=2070&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: #fff;
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* Hero Buttons Hover Animation */
.hero-btn {
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2) !important;
}

.hero-btn-outline {
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Arrow Animation */
.small-icon-move {
    transition: transform 0.3s ease;
}

.hero-btn-outline:hover .small-icon-move {
    transform: translateX(5px); /* Arrow halka sa aage slide hoga */
}

/* Responsive Fix for Mobile */
@media (max-width: 576px) {
    .d-flex.gap-3 {
        justify-content: center; /* Mobile par buttons center honge */
    }
    .btn-lg {
        font-size: 0.9rem;
        padding: 12px 20px !important;
    }
}

.enquiry-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

/* Notes Card Styling */
.notes-card {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.notes-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 48, 96, 0.1) !important;
    border-color: var(--accent-orange) !important;
}

.notes-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
}

.notes-card h4 {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.text-accent-orange {
    color: var(--accent-orange);
}

/* Badge Glow Effect */
.notes-card .badge {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Single Button Styling */
.view-notes-btn {
    background: var(--primary-blue);
    border: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.view-notes-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3) !important;
}

.view-notes-btn .small-icon {
    transition: transform 0.3s ease;
}

.view-notes-btn:hover .small-icon {
    transform: translateX(5px); /* Arrow halka sa aage move hoga */
}

/* Mobile Adjustment */
@media (max-width: 576px) {
    .view-notes-btn {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* Stats Section */
/* Stats Box Custom Styling */
.stat-box {
    padding: 30px 20px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 5px solid rgba(0,0,0,0.05);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 48, 96, 0.15) !important;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 48, 96, 0.05);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.stat-box[style*="background: var(--accent-orange)"] .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.stat-box:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive Fix */
@media (max-width: 576px) {
    .stat-box h2 {
        font-size: 1.5rem;
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* Stats Section Custom Styling End */

/* Action Button Styling */
.btn-action {
    background: var(--accent-orange);
    color: #fff;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    transition: 0.3s;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.btn-action:hover {
    background: #e55a2b;
    color: #fff;
    transform: scale(1.05);
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 100;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Classes Card Styling */
.class-card {
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.class-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.class-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.class-card h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
}

/* Background Decoration */
#classes {
    position: relative;
    overflow: hidden;
}

#classes::before {
    content: "ASPIRE EDUCATION";
    position: absolute;
    top: 15%;
    /* Initial position */
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12rem;
    /* Thoda bada size coaching sites par achha lagta hai */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    /* Light grey/shadow effect */
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
    /* Taaki text click na ho */
    transition: transform 0.1s ease-out;
    /* Smooth scrolling transition */
    text-transform: uppercase;
    transform: translateY(var(--scroll-offset, 0));
    /* JS se aane wali value */
}

/* About Section Styling */
.exp-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--primary-blue);
    border-radius: 15px;
    min-width: 150px;
    border-left: 5px solid var(--accent-orange);
}

.icon-box-small {
    width: 45px;
    height: 45px;
    background: rgba(0, 48, 96, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#about img {
    transition: transform 0.5s ease;
}

#about img:hover {
    transform: scale(1.02);
}
/* Learn More Button Custom Styling */
.learn-more-btn {
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 48, 96, 0.2) !important;
}

/* Arrow Animation Logic */
.animate-arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.learn-more-btn:hover .animate-arrow {
    transform: translateX(6px); /* Arrow halka sa right side move hoga hover par */
}

/* Mobile responsive padding fix */
@media (max-width: 576px) {
    .learn-more-btn {
        padding: 10px 20px !important;
        font-size: 0.85rem;
    }
}
.text-success {
    color: #28a745 !important;
}

/* why choose us Feature Box Styling */
.feature-box {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    background: #fff;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.8rem;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-box h5 {
    color: var(--primary-blue);
    margin-top: 15px;
}



/* What We Offer Card Styling */
.offer-card {
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--primary-blue) !important;
}

.offer-icon-bg {
    width: 60px;
    height: 60px;
    background: rgba(0, 48, 96, 0.1);
    /* Light version of primary blue */
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.offer-card:hover .offer-icon-bg {
    transform: scale(1.1);
}

.offer-card h4 {
    color: var(--primary-blue);
    transition: 0.3s;
}

.offer-card:hover h4 {
    color: var(--accent-orange);
}

/* Admission Process Timeline Styling */
.timeline-container {
    position: relative;
    padding-left: 50px;
    /* Space for central line and icons */
}

/* Central Line */
.timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: rgba(0, 48, 96, 0.1);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

/* Timeline Icons */
.timeline-icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    position: absolute;
    left: -30px;
    /* Perfectly aligns icon on central line */
    z-index: 2;
    transition: transform 0.4s ease;
    border: 5px solid #fff;
}

/* Timeline Content Card */
.timeline-content {
    background: #fff;
    border-radius: 15px;
    margin-left: 60px;
    /* Space from central line */
    width: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    position: relative;
    overflow: hidden;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-left: 5px solid var(--primary-blue) !important;
}

/* Special hover effect for icon */
.timeline-item:hover .timeline-icon-box {
    transform: rotateY(180deg) scale(1.1);
}

/* Floating Step Number */
.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.timeline-item:hover .step-number {
    opacity: 1;
    top: 10px;
    right: 10px;
}

/* Decorative Background Text */
.bg-text-process {
    position: absolute;
    top: 20%;
    right: -5%;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
}

/* Multi-Card Testimonial Styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 48, 96, 0.1) !important;
}

.topper-badge-small {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent-orange);
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    border: 2px solid #fff;
}

.testimonial-text-small {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Custom Navigation Controls */
.custom-ctrl {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    color: #fff;
}

.carousel-control-prev.custom-ctrl {
    left: -25px;
}
.carousel-control-next.custom-ctrl {
    right: -25px;
}

@media (max-width: 991px) {
    .custom-ctrl {
        display: none;
    } /* Hide arrows on mobile for cleaner look */
}

/* FAQ Accordion Styling */
.custom-faq .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.custom-faq .accordion-button {
    background-color: #fff;
    color: var(--primary-blue);
    font-size: 1.1rem;
    box-shadow: none !important;
}

.custom-faq .accordion-button:not(.collapsed) {
    background-color: rgba(0, 48, 96, 0.03);
    color: var(--accent-orange);
}

.custom-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003060'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-faq .accordion-item:hover {
    border-color: var(--primary-blue) !important;
    transform: scale(1.01);
}

.accordion-body {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Inquiry Form Styling */
.inquiry-form-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.custom-input {
    border: 1px solid rgba(0, 48, 96, 0.1) !important;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: var(--accent-orange) !important;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.1) !important;
    background-color: #fff;
}

.icon-box-glass {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--accent-orange);
}

/* Background Circles Decoration */
.bg-circle-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.bg-circle-2 {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

/* Form Label Color Fix */
.form-label {
    color: var(--primary-blue);
}

/* Footer Premium Styling */
.footer-premium {
    background: #050a30;
    /* Very deep professional blue */
    color: #fff;
    position: relative;
    border-top: 4px solid var(--accent-orange);
}

.footer-heading {
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    letter-spacing: 1px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 10px;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--accent-orange);
    padding-left: 8px;
}

/* Social Circles with Glow */
.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-circle:hover {
    background: var(--accent-orange);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.map-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding: 20px 0;
}

/* Scroll to Top Button Styling */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Right mein WhatsApp hai, isliye ise Left mein rakhna best hai */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255);
    /* Glassy Transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s ease;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-top-btn.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.1);
}

/* Progress Ring Logic */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    margin: auto;
    padding: 0;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s;
    stroke-dasharray: 138.23;
    /* 2 * PI * r (r=22) */
    stroke-dashoffset: 138.23;
}

/* Courses Section - Modern Upgrade */
.course-modern-card {
    background: #fff;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f1f1;
}

.course-modern-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 48, 96, 0.12) !important;
}

.course-thumb {
    height: 170px;
    border-radius: 15px 15px 0 0;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-modern-card:hover .course-thumb img {
    transform: scale(1.15);
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
}

.course-overlay {
    background: rgba(0, 48, 96, 0.7);
    backdrop-filter: blur(3px);
}

.course-title {
    color: var(--primary-blue);
    font-size: 1.1rem;
    height: 2.8rem;
    /* Fix height for alignment */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bg-primary-soft {
    background: rgba(0, 48, 96, 0.08);
    font-size: 0.7rem;
    font-weight: 700;
}

.extra-small {
    font-size: 0.75rem;
}

.course-meta span {
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-outline-primary.rounded-circle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Gallery Premium Styling */
.gallery-card {
    height: 250px;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 48, 96, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    bottom: 0;
}
.gallery-card:hover .gallery-overlay {
        opacity: 1 !important;
    }
    .gallery-card img {
        transition: transform 0.5s ease;
    }
    .gallery-card:hover img {
        transform: scale(1.1);
    }
    .gallery-item {
        transition: all 0.4s ease;
    }
    .gallery-item.hide {
        display: none !important;
    }
    .zoom-icon {
        transform: scale(0.5) translate(-100%, -100%);
        transition: all 0.3s ease;
    }
    .gallery-card:hover .zoom-icon {
        transform: scale(1) translate(-50%, -50%);
    }



.filter-btn.active {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* For Masonry Look */
@media (min-width: 992px) {
    .col-lg-8.gallery-item {
        height: 300px;
    }
}

/* Result Section Custom Styling */
.result-card {
    background: #fff;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.result-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 48, 96, 0.15) !important;
    border-color: var(--accent-orange) !important;
}

.topper-profile-wrap {
    width: 150px;
    height: 150px;
}

.topper-profile-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-circle {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    font-size: 1.2rem;
}

.score-pill {
    background: rgba(255, 107, 53, 0.1);
    display: inline-block;
    border: 1px dashed var(--accent-orange);
}

.result-watermark {
    position: absolute;
    top: 10%;
    right: -5%;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
}
  .swiper-pagination-bullet {
        background-color: var(--primary-blue, #0d6efd); /* Replace with your theme color */
        opacity: 0.5;
    }
    .swiper-pagination-bullet-active {
        opacity: 1;
        width: 25px;
        border-radius: 10px;
    }