/********** Ladliji Institution - Complete CSS **********/

/* ===== CSS Variables & Reset ===== */
:root {
    /* Primary Color Palette */
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #34495e;
    --secondary: #3498db;
    --secondary-dark: #2980b9;
    --secondary-light: #5dade2;
    
    /* Supporting Colors */
    --accent: #e74c3c;
    --accent-dark: #c0392b;
    --accent-light: #ec7063;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #17a2b8;
    
    /* Neutral Colors */
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.18);
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-pill: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Typography */
    --font-family-base: 'Heebo', sans-serif;
    --font-family-heading: 'Nunito', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-xxl: 1.5rem;
    --font-size-xxxl: 2rem;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--gray-700);
    background-color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* ===== Top Bar - Improved ===== */
.top-bar {
    padding: 6px 0 !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    font-size: 0.85rem;
}

.marquee-text {
    font-weight: 500;
}

.marquee-text i {
    color: var(--secondary-light);
}

.contact-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}

.contact-numbers a {
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.contact-numbers a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ===== Navbar - Improved with Larger Logo ===== */
.navbar {
    padding: 8px 0;
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 6px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo-img {
    transition: transform var(--transition-normal);
    display: flex;
    align-items: center;
}

.logo-image {
    width: 260px; /* Increased from 60px */
    height: 85px; /* Increased from 60px */
    object-fit: contain;
    transition: all var(--transition-normal);
}

.navbar-brand:hover .logo-image {
    transform: scale(1.05);
}

/* ===== Navbar Links ===== */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-normal);
    color: var(--gray-700);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: var(--gray-100);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 8px 0;
    margin-top: 8px;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: white;
    padding-left: 25px;
}

.btn-apply {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-normal);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Hero Carousel ===== */
.header-carousel {
    position: relative;
}

.owl-carousel-item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.owl-carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.95) 100%);
    display: flex;
    align-items: center;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.carousel-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--primary);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    pointer-events: none;
}

.owl-nav button {
    pointer-events: all;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 28px !important;
    transition: all var(--transition-normal) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.owl-nav button:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: scale(1.1);
}

/* ===== Stats Section ===== */
.stats {
    background: linear-gradient(135deg, var(--gray-100) 0%, white 100%);
}

.stat-box {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all var(--transition-normal);
}

.stat-box:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-box h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.stat-box p {
    color: var(--gray-600);
    font-weight: 500;
    margin: 0;
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about {
    background: white;
}

.section-title h6 {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.section-title h1 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-lg);
    margin-bottom: 0;
}

.section-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--border-radius-pill);
}

.about-img {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    transition: transform var(--transition-slow);
}

.about-img:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.experience-badge h3 {
    font-size: 2rem;
    color: white;
    margin: 0;
}

.experience-badge p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.btn-primary-square {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* ===== Programs Section - Full Width ===== */
.programs {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.program-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card-img-top {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.program-card:hover .card-img-top img {
    transform: scale(1.1);
}

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.program-badge .badge {
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
}

.program-card .card-title {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    line-height: 1.4;
    min-height: 56px;
}

.program-card .card-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-meta {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

.program-meta .text-primary {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== Why Choose Us Section ===== */
.feature-card {
    background: white;
    transition: all var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-card h5 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonial-card {
    background: white;
    transition: all var(--transition-normal);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    color: var(--warning);
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-700);
}

.testimonial-author img {
    object-fit: cover;
}

/* ===== Contact CTA ===== */
.contact-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* ===== Footer - Improved ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding-top: var(--spacing-xxl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.footer-item h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: var(--border-radius-pill);
}

.footer-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.social-icons {
    gap: 10px;
}

.btn-social {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-normal);
}

.btn-social:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-bottom: 8px;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    transform: translateX(5px);
}

.footer-links i {
    color: var(--secondary);
    font-size: 0.875rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.contact-info i {
    color: var(--secondary);
    margin-right: 10px;
    width: 20px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xxl);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.copyright a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

.footer-menu {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: white;
}

/* ===== Floating Buttons ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 3px solid white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    color: white;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 100px;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== Responsive Design - Logo Adjustments ===== */
@media (max-width: 1200px) {
    .logo-image {
        width: 85px;
        height: 85px;
    }
    
    .owl-carousel-item {
        height: 500px;
    }
    
    .carousel-content h1 {
        font-size: 3rem;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 992px) {
    .logo-image {
        width: 180px;
        height: 70px;
    }
    
    .contact-numbers {
        justify-content: flex-start;
        margin-top: 5px;
    }
    
    .navbar-nav {
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        margin: 2px 0;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin: 5px 0;
    }
    
    .owl-carousel-item {
        height: 400px;
    }
    
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.125rem;
    }
    
    .btn-apply {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .logo-image {
        width: 70px;
        height: 70px;
    }
    
    .top-bar {
        padding: 4px 0 !important;
        font-size: 0.8rem;
    }
    
    .contact-numbers {
        flex-direction: column;
        gap: 5px;
    }
    
    .owl-carousel-item {
        height: 350px;
    }
    
    .carousel-content {
        padding: var(--spacing-lg);
    }
    
    .carousel-content h1 {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title h1 {
        font-size: 2rem;
    }
    
    .stats,
    .about,
    .programs,
    .why-choose,
    .testimonials,
    .contact-cta {
        padding: var(--spacing-xl) 0 !important;
    }
    
    .footer {
        padding-top: var(--spacing-xl);
    }
    
    .copyright .row > div {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-menu {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 20px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        width: 150px;
        height: 50px;
    }
    
    .owl-carousel-item {
        height: 300px;
    }
    
    .carousel-content h1 {
        font-size: 1.75rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
    
    .stat-box h2 {
        font-size: 2.5rem;
    }
    
    .experience-badge {
        padding: 10px;
    }
    
    .experience-badge h3 {
        font-size: 1.5rem;
    }
    
    .program-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
}

@media (max-width: 400px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .top-bar {
        font-size: 0.75rem;
    }
    
    .owl-carousel-item {
        height: 250px;
    }
    
    .carousel-content h1 {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 0.875rem;
    }
    
    .stat-box {
        padding: var(--spacing-lg);
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
}

/* ===== Utility Classes ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: box-shadow var(--transition-normal);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-xl {
    border-radius: var(--border-radius-xl);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-md {
    border-radius: var(--border-radius-md);
}

/* ===== Loading Animation ===== */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(44, 62, 80, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--border-radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    .top-bar,
    .navbar,
    .owl-nav,
    .whatsapp-float,
    .back-to-top,
    .social-icons,
    .btn-apply {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .stat-box,
    .program-card,
    .feature-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none !important;
    }
}