/* Root Variables */
:root {
    /* Core Brand Colors */
    --brand-orange: #bd202d;
    --brand-deep-orange: #a01c26;
    --brand-light-orange: #d73541;
    --brand-bright-orange: #e04a56;
    --brand-coral: #e85f6b;
    --brand-peach: #f07480;

    /* Supporting Colors */
    --warm-gray: #5a5a5a;
    --cool-gray: #3e3e3d;
    --light-gray: #f8f9fa;
    --medium-gray: #6b7280;
    --border-gray: #e5e7eb;

    /* Accent Colors */
    --accent-gold: #fbbf24;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;

    /* Main Theme Variables */
    --primary-color: var(--brand-orange);
    --secondary-color: var(--brand-light-orange);
    --accent-color: var(--accent-gold);
    --dark-color: var(--cool-gray);
    --light-color: var(--light-gray);
    --border-color: var(--border-gray);

    /* Beautiful Red-Based Gradients */
    --gradient-primary: linear-gradient(135deg, #bd202d 0%, #d73541 100%);
    --gradient-secondary: linear-gradient(135deg, #d73541 0%, #e04a56 100%);
    --gradient-warm: linear-gradient(135deg, #bd202d 0%, #c92a37 100%);
    --gradient-earth: linear-gradient(135deg, #a01c26 0%, #bd202d 100%);
    --gradient-sunset: linear-gradient(135deg, #bd202d 0%, #e04a56 50%, #fbbf24 100%);
    --gradient-golden: linear-gradient(135deg, #c92a37 0%, #fbbf24 100%);
    --gradient-hero: linear-gradient(135deg, #bd202d 0%, #d73541 50%, #e04a56 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Enhanced Shadows with Red Tint */
    --shadow: 0 4px 6px -1px rgba(189, 32, 45, 0.15);
    --shadow-medium: 0 8px 25px rgba(189, 32, 45, 0.2);
    --shadow-heavy: 0 15px 35px rgba(189, 32, 45, 0.25);
    --shadow-warm: 0 10px 30px rgba(189, 32, 45, 0.3);
    --shadow-golden: 0 10px 30px rgba(201, 42, 55, 0.2);
    --shadow-light: 0 2px 10px rgba(189, 32, 45, 0.08);

    --transition: all 0.3s ease;
    --border-radius: 12px;

    /* Text Colors */
    --text-dark: var(--cool-gray);
    --text-light: var(--medium-gray);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure proper viewport handling */
html {
    font-size: 16px;
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 13px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1000;
    transition: width 0.25s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    flex-shrink: 0;
    max-width: 60%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-text {
    min-width: 0;
    flex: 1;
}

.logo-text h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.logo-text span {
    color: var(--text-light);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    font-size: 1rem;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link i {
    width: 16px;
    margin-right: 0.6rem;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-color);
    background: rgba(189, 32, 45, 0.1);
    transform: translateY(-2px);
    border-color: rgba(189, 32, 45, 0.2);
    box-shadow: 0 4px 15px rgba(189, 32, 45, 0.2);
}

.nav-link:active {
    transform: translateY(0);
}

/* Active state for current page */
.nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(189, 32, 45, 0.3);
}

.nav-link.active::before {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 12px;
    background: rgba(189, 32, 45, 0.05);
    border: 2px solid rgba(189, 32, 45, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1001;
    gap: 3px;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
}

.nav-toggle:hover {
    background: rgba(189, 32, 45, 0.15);
    border-color: rgba(189, 32, 45, 0.3);
    transform: scale(1.05);
}

.nav-toggle .bar {
    width: 22px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-toggle.active .bar {
    background: white;
}

/* Animated hamburger to X */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Styling */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }

    .nav-container {
        height: 65px;
        padding: 0 1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 2rem 1rem;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-20px);
        overflow-y: auto;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-link {
        margin: 0.8rem 0;
        font-size: 1.3rem;
        font-weight: 600;
        width: 85%;
        max-width: 320px;
        text-align: center;
        padding: 1.2rem 1.5rem;
        border-radius: 15px;
        background: white;
        color: var(--dark-color);
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 2px solid transparent;
        transform: translateY(30px);
        opacity: 0;
        animation: slideInMenu 0.5s ease forwards;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(189, 32, 45, 0.1), transparent);
        transition: left 0.6s;
    }

    .nav-link:hover::before {
        left: 100%;
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideInMenu {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .nav-link:hover, .nav-link:focus {
        background: var(--gradient-primary);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 30px rgba(189, 32, 45, 0.25);
    }

    .nav-link:active {
        transform: translateY(-1px) scale(0.98);
    }

    .nav-link.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close button for mobile menu */
.nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(189, 32, 45, 0.1);
    border: 2px solid rgba(189, 32, 45, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.nav-close:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Enhanced mobile optimizations */
@media (max-width: 480px) {
    html {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }

    * {
        box-sizing: border-box;
        word-wrap: break-word;
        max-width: 100%;
    }

    /* Prevent horizontal scroll */
    .container, .contact-main-grid, .contact-card, .form-card, .contact-form {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Fix form elements to prevent overflow */
    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    /* Ensure contact cards don't overflow */
    .contact-card {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    /* Fix text overflow in cards */
    .card-header h3,
    .card-content p,
    .btn-title,
    .btn-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .navbar {
        padding: 0.5rem 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-container {
        padding: 0 1rem;
        height: 60px;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-logo {
        flex-shrink: 0;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        max-width: 75%;
    }

    .nav-logo h2 {
        font-size: 1.5rem;
        white-space: nowrap;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
        letter-spacing: 0.3px;
    }

    .logo-img {
        height: 45px;
        width: 45px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .nav-toggle {
        padding: 0.5rem;
        margin-right: 0;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .nav-toggle .bar {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    .nav-menu {
        top: 60px;
        padding: 2rem 1rem;
        width: 100%;
        left: -100%;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 0.5rem 0;
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Hero Section Mobile Fixes */
    .hero {
        padding: 70px 0 30px;
        min-height: 90vh;
    }

    .hero-container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        min-height: calc(90vh - 100px);
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .admission-open {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
        white-space: nowrap;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .hero-main-title h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        white-space: normal;
        word-break: normal;
        hyphens: auto;
        padding: 0 0.5rem;
    }

    .title-underline {
        width: 60px;
        height: 3px;
        margin: 1rem auto;
    }

    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        white-space: normal;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        white-space: normal;
        padding: 0 0.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        white-space: normal;
    }

    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin: 2rem 0;
        padding: 0 1rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        white-space: nowrap;
        border-radius: 25px;
        text-align: center;
    }

    .hero-badges {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
        align-items: center;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
        text-align: center;
        min-width: 180px;
        max-width: 90%;
    }

    /* Container fixes */
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    /* Section spacing */
    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        white-space: normal;
        margin-bottom: 1.5rem;
        text-align: center;
        padding: 0 0.5rem;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }

    /* About section improvements */
    .about {
        padding: 3rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
        text-align: left;
        border-radius: 15px;
        margin-bottom: 1.5rem;
    }

    .story-card h3,
    .story-card h4,
    .vision-card h3,
    .mission-card h3 {
        text-align: left;
        margin-bottom: 1.5rem;
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .story-card p,
    .vision-card p,
    .mission-card p {
        text-align: left;
        line-height: 1.7;
        margin-bottom: 1.2rem;
        font-size: 1rem;
    }

    /* Grid layouts mobile fixes */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .future-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .excellence-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Card improvements */
    .value-card,
    .future-course-card,
    .excellence-card,
    .facility-card,
    .benefit-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
        min-height: 180px;
        text-align: center;
    }

    .achievement-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        min-height: 150px;
        text-align: center;
    }

    .value-card h4,
    .achievement-card h4,
    .future-course-card h4,
    .excellence-card h4,
    .facility-card h4,
    .benefit-card h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .value-card p,
    .achievement-card p,
    .future-course-card p,
    .excellence-card p,
    .facility-card p,
    .benefit-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Courses section mobile */
    .courses {
        padding: 3rem 0;
    }

    .course-features-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .course-name {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .course-curriculum {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .course-curriculum h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .course-curriculum li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        line-height: 1.4;
    }

    .course-meta {
        gap: 0.8rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .course-meta span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Contact section mobile */
    .contact {
        padding: 3rem 0;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .quick-contact-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .quick-contact-btn {
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }

    .btn-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .btn-title {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .btn-subtitle {
        font-size: 0.9rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        margin-bottom: 0.8rem;
        font-size: 1rem;
        font-weight: 600;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 1rem;
        border-radius: 8px;
        border: 2px solid #e5e7eb;
    }

    .submit-btn {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    /* Footer mobile and tablet responsiveness */
@media (max-width: 1024px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
        background: #000000;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
        margin-bottom: 2rem;
        padding: 0 2rem;
    }

    .footer-section {
        margin-bottom: 2rem;
        text-align: left;
    }

    .footer-section h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        line-height: 1.2;
        color: white;
        font-weight: 700;
        text-align: left;
    }

    .footer-section h4 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        color: white;
        font-weight: 600;
        text-align: left;
    }

    .footer-section p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        padding: 0;
        color: rgba(255, 255, 255, 0.9);
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-section ul {
        text-align: left;
    }

    .footer-section ul li {
        margin-bottom: 1.2rem;
        text-align: left;
    }

    .footer-section ul li a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        justify-content: flex-start;
        gap: 1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.8;
        display: flex;
        align-items: flex-start;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-section ul li a i {
        flex-shrink: 0;
        margin-top: 0.2rem;
        width: 20px;
        font-size: 1.1rem;
    }

    .footer-section ul li a:hover {
        color: white;
    }

    .footer-logo {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .footer-logo img {
        width: 55px;
        height: 55px;
    }

    .footer-logo h3 {
        font-size: 1.6rem;
        text-align: center;
        line-height: 1.3;
        color: white;
    }

    .social-links {
        gap: 1.2rem;
        margin-top: 2rem;
        justify-content: center;
    }

    .social-link {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .footer-bottom {
        padding: 2.5rem 2rem 0;
        margin-top: 2.5rem;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 1.1rem;
        line-height: 1.7;
        padding: 0 1rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 2rem;
        background: #000000;
    }

    .footer-content {
        gap: 2.5rem;
        padding: 0 1.5rem;
        text-align: left;
    }

    .footer-section {
        margin-bottom: 2rem;
        text-align: left;
        padding: 0 0.5rem;
    }

    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: white;
        font-weight: 700;
        text-align: left;
        line-height: 1.3;
    }

    .footer-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1.3rem;
        color: white;
        font-weight: 600;
        text-align: left;
        line-height: 1.3;
    }

    .footer-section p {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 1.3rem;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .footer-section ul {
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .footer-section ul li {
        margin-bottom: 1rem;
        text-align: left;
        list-style: none;
    }

    .footer-section ul li a {
        font-size: 1rem;
        padding: 0.5rem 0;
        gap: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        display: flex;
        align-items: flex-start;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .footer-section ul li a i {
        flex-shrink: 0;
        margin-top: 0.2rem;
        width: 18px;
        font-size: 1rem;
    }

    .footer-logo {
        gap: 1.2rem;
        margin-bottom: 2rem;
        text-align: center;
        align-items: center;
    }

    .footer-logo img {
        width: 48px;
        height: 48px;
    }

    .footer-logo h3 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
        color: white;
        text-align: center;
        line-height: 1.3;
    }

    .social-links {
        gap: 1rem;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .footer-bottom {
        padding: 2rem 1.5rem 0;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 1rem;
        padding: 0 0.5rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

    /* WhatsApp button */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-widget {
        width: 280px;
        bottom: 85px;
        right: 20px;
    }

    /* Additional mobile fixes */
    .certification-section,
    .approvals-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .certification-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cert-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cert-icon {
        margin: 0 auto;
    }

    .approval-tags {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .approval-tag {
        padding: 1.2rem;
        min-height: 60px;
        font-size: 0.95rem;
    }

    /* Special Features mobile */
    .special-features {
        margin: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .feature-card h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .nav-container {
        height: 75px;
        padding: 0 2rem;
    }

    .nav-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        margin: 0 0.3rem;
    }

    .logo-img {
        height: 45px;
        width: 45px;
    }

    .logo-text h2 {
        font-size: 1.05rem;
    }

    .nav-logo {
        max-width: 55%;
    }

    .footer-content {
        padding: 0 2rem;
    }

    .footer-bottom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Large screens desktop optimizations */
@media (min-width: 1025px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        height: 80px;
        padding: 0 3rem;
    }

    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0 0.5rem;
    }

    .logo-img {
        height: 50px;
        width: 50px;
    }

    .logo-text h2 {
        font-size: 1.2rem;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-content {
        padding: 0 3rem;
        gap: 4rem;
    }

    .footer-bottom {
        padding: 2rem 3rem 0;
    }
}

/* Large mobile (481px-600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .nav-container {
        padding: 0 1.2rem;
        height: 65px;
    }

    .nav-logo h2 {
        font-size: 1.05rem;
    }

    .logo-img {
        height: 42px;
        width: 42px;
    }

    .hero-main-title h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-btn {
        max-width: 300px;
        padding: 1rem 1.8rem;
    }

    .container {
        padding: 0 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .values-grid,
    .achievements-grid,
    .future-courses-grid,
    .excellence-grid,
    .facilities-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-contact-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .quick-contact-btn {
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .nav-link, .nav-toggle, .nav-menu {
        transition: none;
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link {
        border: 2px solid;
    }

    .nav-link:hover {
        background: var(--primary-color);
        color: white;
    }
}


/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 120px 0 80px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        padding: 90px 0 50px;
    }
}

/* Hero Stats - Hidden by default since they were removed */
.hero-stats {
    display: none;
}



/* Hero Background Effects */
.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.liquid-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float-move 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(16, 185, 129, 0.2));
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: 5s;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.2), rgba(255, 255, 255, 0.1));
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: 10s;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(255, 255, 255, 0.1));
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
    animation-delay: 15s;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(255, 255, 255, 0.1));
}

@keyframes float-move {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) translateX(-20px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) translateX(-40px) rotate(270deg);
    }
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-dots 15s linear infinite;
}

.dot:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.dot:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.dot:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.dot:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 13s;
}

.dot:nth-child(5) {
    left: 80%;
    animation-delay: 8s;
    animation-duration: 15s;
}

.dot:nth-child(6) {
    left: 90%;
    animation-delay: 10s;
    animation-duration: 18s;
}

@keyframes float-dots {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.admission-open {
    background: linear-gradient(45deg, var(--accent-gold), #fcd34d, var(--accent-gold));
    background-size: 200% 200%;
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 800;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.6),
        0 0 40px rgba(251, 191, 36, 0.4),
        0 0 60px rgba(251, 191, 36, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    animation: admission-glow 2s ease-in-out infinite, gradient-shift 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.hero-main-title h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 12;
    line-height: 1.1;
    white-space: nowrap;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 160px;
    justify-content: center;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 3px solid transparent;
}

.hero-btn.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.hero-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
}

.hero-btn.secondary:hover {
    background: linear-gradient(135deg, #ee9ca7 0%, #ffdde1 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(240, 147, 251, 0.4);
}

.hero-btn.primary {
    animation: pulse-blue 2s infinite;
}

.hero-btn.secondary {
    animation: pulse-pink 2s infinite;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

@keyframes pulse-pink {
    0% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(240, 147, 251, 0.7);
    }
    70% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(240, 147, 251, 0);
    }
    100% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(240, 147, 251, 0);
    }
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    white-space: nowrap;
}

/* Quick Actions */
.quick-actions {
    padding: 2rem 0;
    background: var(--light-color);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.call-btn {
    background: #22c55e;
    color: white;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.email-btn {
    background: #3b82f6;
    color: white;
}

.courses-btn {
    background: #8b5cf6;
    color: white;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Sections */
section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
}

/* Desktop container improvements */
@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 4rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Desktop specific section header improvements */
@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 5rem;
        padding: 0;
    }

    .section-header h2 {
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }

    .section-header h3 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .section-header p {
        font-size: 1.2rem;
        max-width: 800px;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--light-color);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23e2e8f0" fill-opacity="0.5"><circle cx="10" cy="10" r="1.5"/></g></g></svg>') repeat;
    opacity: 0.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .about {
        padding: 3rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-cards-right {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 2rem 0;
    }

    .about-card {
        padding: 1.5rem;
        text-align: left;
        border-radius: 12px;
    }

    .about-card h3,
    .about-card h4 {
        text-align: left;
        margin-bottom: 1rem;
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .about-card p {
        text-align: left;
        line-height: 1.6;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .card-icon {
        margin-bottom: 1rem;
    }
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-warm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-card {
    grid-row: 1 / -1;
}

.about-cards-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-icon i {
    color: white;
    font-size: 1.5rem;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Core Values */
.core-values {
    background: white;
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.value-card {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-warm);
    text-align: center;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-card:nth-child(2) {
    background: var(--gradient-secondary);
}

.value-card:nth-child(3) {
    background: var(--gradient-earth);
}

.value-card:nth-child(4) {
    background: var(--gradient-warm);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(251,227,139,0.1) 0%, rgba(240,204,127,0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-golden);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.value-icon i {
    color: white;
    font-size: 2rem;
}

.value-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Achievements */
.achievements {
    background: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-gray);
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.achievement-icon i {
    color: white;
    font-size: 2rem;
}

.achievement-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.achievement-card p {
    color: var(--text-light);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Courses */
.courses {
    padding: 5rem 0;
    background: white;
    position: relative;
}

@media (max-width: 768px) {
    .courses {
        padding: 3rem 0;
    }

    .course-features-banner {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .course-card {
        padding: 1.2rem;
    }

    .course-name {
        font-size: 1rem;
    }

    .course-curriculum li {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }

    .course-meta {
        gap: 0.5rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }

    .course-meta span {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .courses {
        padding: 2rem 0;
    }

    .course-features-banner {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .course-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .course-curriculum h4 {
        font-size: 0.9rem;
    }

    .course-curriculum li {
        font-size: 0.8rem;
    }
}

.courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="%23e2e8f0" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.course-features-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.course-category-section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-category-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.category-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50px, -50px);
}



.category-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.category-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.category-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.course-card {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: white;
    border-left-color: var(--secondary-color);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover::before {
    opacity: 1;
}

.course-card::after {
    content: '→';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.course-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.course-name {
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.5;
    display: block;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.course-curriculum {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.course-curriculum h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.course-curriculum ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-curriculum li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
}

.course-curriculum li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f4f8;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: #f7fafc;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.course-meta .duration i {
    color: #3182ce;
}

.course-meta .level i {
    color: #ed8936;
}

.course-meta .certificate i {
    color: #38a169;
}

/* Special Features */
.special-features {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem 1.2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Future Ready Section */
.future-ready-section {
    background: var(--light-color);
    padding: 5rem 0;
    margin: 0;
}

.future-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.future-course-card {
    background: white;
    padding: 1.5rem 1.2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.future-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.future-course-card:hover::before {
    opacity: 1;
}

.future-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ai-card .course-visual {
    background: var(--gradient-primary);
}

.programming-card .course-visual {
    background: var(--gradient-secondary);
}

.digital-card .course-visual {
    background: var(--gradient-earth);
}

.data-card .course-visual {
    background: var(--gradient-warm);
}

.course-visual {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-visual i {
    color: white;
    font-size: 2.5rem;
}

.future-course-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.future-course-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
    background: white;
    padding: 5rem 0;
}

.why-choose-grid {
    display: grid;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.certification-section, .approvals-section {
    background: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.certification-section h3, .approvals-section h3 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.certification-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-height: 120px;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.cert-icon i {
    color: white;
    font-size: 1.5rem;
}

.cert-content {
    flex: 1;
}

.cert-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.cert-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.approval-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.approval-tag {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    font-weight: 600;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 1rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approval-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: var(--light-color);
    border-color: var(--primary-color);
}

/* Academic Excellence, Facilities, Additional Benefits */
.academic-excellence, .facilities, .additional-benefits {
    background: var(--light-color);
    padding: 5rem 0;
}

.facilities {
    background: white;
}

.excellence-grid, .facilities-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Desktop specific improvements */
@media (min-width: 1024px) {
    .excellence-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .excellence-grid, .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.excellence-card, .facility-card, .benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.excellence-card:hover, .facility-card:hover, .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.excellence-icon, .facility-icon, .benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-light);
    flex-shrink: 0;
}

.excellence-icon i, .facility-icon i, .benefit-icon i {
    color: white;
    font-size: 1.8rem;
}

.excellence-card h4, .facility-card h4, .benefit-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.excellence-card p, .facility-card p, .benefit-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* CTA Section */
.cta-section-1 {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background: white;
    color: var(--primary-color);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Student Query Form */
.student-query {
    background: var(--light-color);
    padding: 5rem 0;
}

.query-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.form-icon i {
    color: white;
    font-size: 2rem;
}

.form-header h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.form-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
}

.form-top {
    text-align: center;
    margin-bottom: 2rem;
}

.form-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row:has(.form-group:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-warm);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.submit-btn:hover {
    background: var(--gradient-golden);
    transform: translateY(-2px);
    box-shadow: var(--shadow-golden);
}

.response-guarantee {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.guarantee-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-icon i {
    color: white;
    font-size: 1.2rem;
}

.guarantee-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.guarantee-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 2rem 0;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23bd202d" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></g></svg>') repeat;
    pointer-events: none;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.contact-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-medium);
    animation: float 3s ease-in-out infinite;
}

.header-icon i {
    color: white;
    font-size: 2rem;
}

.contact-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Quick Contact Actions */
.quick-contact-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .quick-contact-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .quick-contact-actions {
        margin-bottom: 3rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .quick-contact-actions {
        margin-bottom: 2rem;
        gap: 1rem;
        padding: 0 1rem;
    }
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.quick-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: var(--transition);
}

.quick-contact-btn.call::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.quick-contact-btn.whatsapp::before {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.quick-contact-btn.email::before {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.quick-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.quick-contact-btn:hover::before {
    height: 100%;
    opacity: 0.1;
}

.btn-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.quick-contact-btn.call .btn-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.quick-contact-btn.whatsapp .btn-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.quick-contact-btn.email .btn-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.btn-icon i {
    color: white;
    font-size: 1.5rem;
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.btn-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.btn-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Main Contact Grid */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-main-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-main-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.contact-card.institute-card {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 1rem;
}

@media (max-width: 768px) {
    .card-header {
        padding: 1.5rem 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .card-header {
        padding: 1.2rem 1rem 0.8rem;
        gap: 0.6rem;
    }
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .card-icon {
        width: 45px;
        height: 45px;
    }
}

.contact-card:not(.institute-card) .card-icon {
    background: var(--gradient-primary);
    border: none;
}

.card-icon i {
    color: white;
    font-size: 1.3rem;
}

@media (max-width: 480px) {
    .card-icon i {
        font-size: 1.1rem;
    }
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .card-header h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .card-header h3 {
        font-size: 1.2rem;
    }
}

.contact-card:not(.institute-card) .card-header h3 {
    color: var(--primary-color);
}

.card-content {
    padding: 1rem 2rem 2rem;
}

@media (max-width: 768px) {
    .card-content {
        padding: 1rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 0.8rem 1rem 1.2rem;
    }
}

/* Institute Card Content */
.institute-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.institute-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlight-item i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    width: 20px;
}

/* Address Card Content */
.address-info {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.address-line {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.address-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    justify-content: center;
}

.directions-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.working-hours {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.working-hours i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.info-card:nth-child(1) .info-icon {
    background: #3b82f6;
}

.info-card:nth-child(2) .info-icon {
    background: #6366f1;
}

.info-card:nth-child(3) .info-icon {
    background: #8b5cf6;
}

.info-icon i {
    font-size: 1.2rem;
    color: white;
}

.info-content {
    flex: 1;
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.info-card p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design for Contact Info Cards */
@media (max-width: 768px) {
    .contact-info-cards {
        gap: 1.2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 1.3rem;
    }

    .info-card h4 {
        font-size: 1.2rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }
}

/* Responsive Design for Visit Center */
@media (max-width: 1024px) {
    .center-details {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .visit-actions {
        flex-direction: column;
        align-items: center;
    }

    .visit-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .visit-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .visit-header h3 {
        font-size: 1.8rem;
    }

    .visit-icon {
        width: 70px;
        height: 70px;
    }

    .visit-icon i {
        font-size: 2rem;
    }

    .visit-content {
        padding: 2rem 1.5rem 1.5rem;
    }

    .center-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-item {
        padding: 1.2rem;
    }

    .detail-icon {
        width: 45px;
        height: 45px;
    }

    .detail-icon i {
        font-size: 1.1rem;
    }

    .detail-info h4 {
        font-size: 1.1rem;
    }

    .detail-info p {
        font-size: 0.9rem;
    }

    .visit-features {
        gap: 0.8rem;
    }

    .feature-tag {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .visit-header {
        padding: 1.5rem 1rem 1rem;
    }

    .visit-header h3 {
        font-size: 1.5rem;
    }

    .visit-content {
        padding: 1.5rem 1rem 1rem;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .detail-icon {
        margin: 0 auto 1rem;
    }

    .visit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .visit-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-tag {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .info-card.director-card {
        grid-column: 1 / -1;
    }
}

    .info-card .card-header {
        padding: 1.2rem;
    }

    .info-card .card-content {
        padding: 1.2rem;
    }

    .info-card .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

/* Form Card */
.form-card .card-header p {
    margin: 0.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .contact-form {
        gap: 1rem;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(189, 32, 45, 0.1);
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        margin-top: 1.5rem;
    }
}

.submit-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

@media (max-width: 480px) {
    .submit-btn:hover {
        transform: translateY(-1px);
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.submit-btn:hover .btn-shine {
    left: 100%;
}

/* Response Guarantee */
.response-guarantee {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guarantee-content i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.guarantee-content strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.guarantee-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.85rem;
}

/* Map Card */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--border-color);
}

.map-container iframe {
    filter: hue-rotate(10deg) saturate(1.1);
}

/* Contact Features */
.contact-features {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.features-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.3rem;
}

.feature-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .quick-contact-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }

    .contact-header h2 {
        font-size: 2.2rem;
    }

    .contact-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .header-icon {
        width: 70px;
        height: 70px;
    }

    .header-icon i {
        font-size: 1.8rem;
    }

    .quick-contact-actions {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .quick-contact-btn {
        padding: 1.5rem;
        gap: 1rem;
    }

    .btn-icon {
        width: 50px;
        height: 50px;
    }

    .btn-icon i {
        font-size: 1.3rem;
    }

    .contact-card {
        margin-bottom: 1.5rem;
    }

    .card-header,
    .card-content {
        padding: 1.5rem;
    }

    .card-header {
        padding-bottom: 1rem;
    }

    .card-content {
        padding-top: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 1.2rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .institute-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .highlight-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 2rem 0;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-header h2 {
        font-size: 1.8rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .header-icon {
        width: 60px;
        height: 60px;
    }

    .header-icon i {
        font-size: 1.5rem;
    }

    .quick-contact-actions {
        margin-bottom: 2rem;
    }

    .quick-contact-btn {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .btn-content {
        align-items: center;
    }

    .btn-title {
        font-size: 1.1rem;
    }

    .btn-subtitle {
        font-size: 0.85rem;
    }

    .contact-main-grid {
        gap: 2rem;
    }

    .contact-card {
        margin-bottom: 1rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }

    .card-content {
        padding: 1rem 1.2rem 1.5rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .card-header h3 {
        font-size: 1.3rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .response-guarantee {
        padding: 0.8rem;
    }

    .guarantee-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .contact-features {
        padding: 2rem 1.5rem;
    }

    .features-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon i {
        font-size: 1.1rem;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }

    .map-container iframe {
        height: 250px;
    }

    .working-hours {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .address-actions {
        gap: 0.8rem;
    }
}

/* Hero Stats Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }

    .hero-container {
        padding: 0 1.5rem;
        min-height: calc(90vh - 160px);
    }

    .admission-open {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 1.2rem;
    }

    .hero-main-title h1 {
        font-size: 2.4rem;
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
        white-space: normal;
        text-align: center;
    }

    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: 2.5rem 0 2rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.8rem;
        font-size: 0.95rem;
    }

    .hero-badges {
        gap: 1rem;
        margin-top: 2rem;
    }

    .badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 0 50px;
        min-height: 85vh;
    }

    .hero-container {
        padding: 0 1rem;
        min-height: calc(85vh - 140px);
    }

    .admission-open {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
        letter-spacing: 1.5px;
        margin-bottom: 1rem;
    }

    .hero-main-title h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        letter-spacing: 0.3px;
        white-space: normal;
        line-height: 1.2;
    }

    .title-underline {
        width: 80px;
        height: 3px;
        margin: 1rem auto;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.5px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }

    .hero-action-buttons {
        margin: 2rem 0 1.5rem;
        gap: 1.2rem;
    }

    .hero-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
        max-width: 260px;
        letter-spacing: 0.3px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        text-align: center;
        min-width: 200px;
    }
}

/* Very Small Mobile Screens (280px - 360px) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .nav-container {
        padding: 0 0.8rem;
        height: 55px;
    }

    .nav-logo {
        max-width: 70%;
    }

    .nav-logo h2 {
        font-size: 0.95rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .logo-img {
        height: 35px;
        width: 35px;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
    }

    .nav-toggle .bar {
        width: 18px;
        height: 2px;
        margin: 1.5px 0;
    }

    .container {
        padding: 0 0.8rem;
    }

    .hero {
        padding: 65px 0 25px;
        min-height: 85vh;
    }

    .hero-container {
        padding: 0 0.8rem;
        min-height: calc(85vh - 90px);
    }

    .admission-open {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.8rem;
        letter-spacing: 0.5px;
        max-width: 95%;
    }

    .hero-main-title h1 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
        padding: 0 0.2rem;
    }

    .title-underline {
        width: 50px;
        height: 2px;
        margin: 0.8rem auto;
    }

    .hero-tagline {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        padding: 0 0.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        padding: 0 0.2rem;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding: 0 0.2rem;
    }

    .hero-action-buttons {
        gap: 0.6rem;
        margin: 1.5rem 0;
        padding: 0 0.2rem;
    }

    .hero-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
        max-width: 240px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        min-width: 150px;
        max-width: 90%;
    }

    .section-header {
        padding: 0 0.8rem;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 0.2rem;
    }

    .section-header p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0;
    }

    .about-card {
        padding: 1.5rem 1.2rem;
        margin-bottom: 1.2rem;
    }

    .about-card h3,
    .about-card h4 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .about-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .value-card,
    .achievement-card,
    .future-course-card,
    .excellence-card,
    .facility-card,
    .benefit-card {
        padding: 1.2rem 0.8rem;
        min-height: 160px;
    }

    .value-card h4,
    .achievement-card h4,
    .future-course-card h4,
    .excellence-card h4,
    .facility-card h4,
    .benefit-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .value-card p,
    .achievement-card p,
    .future-course-card p,
    .excellence-card p,
    .facility-card p,
    .benefit-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .course-card {
        padding: 1rem;
    }

    .course-name {
        font-size: 1rem;
        line-height: 1.3;
    }

    .course-curriculum li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .course-meta span {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .quick-contact-btn {
        padding: 1rem 0.8rem;
        gap: 0.6rem;
    }

    .btn-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto;
    }

    .btn-title {
        font-size: 1rem;
    }

    .btn-subtitle {
        font-size: 0.8rem;
    }

    .contact-form {
        gap: 0.8rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 15px;
    }

    .submit-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Footer specific mobile fixes */
    .footer {
        padding: 2rem 0 1.5rem;
        background: #000000;
    }

    .footer-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
        text-align: left;
    }

    .footer-section {
        padding: 0 0.3rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: white;
        font-weight: 700;
        text-align: left;
        line-height: 1.2;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: white;
        font-weight: 600;
        text-align: left;
        line-height: 1.2;
    }

    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0.8rem;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .footer-section ul {
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
        text-align: left;
        list-style: none;
    }

    .footer-section ul li a {
        font-size: 0.8rem;
        padding: 0.3rem 0;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.4;
        display: flex;
        align-items: flex-start;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .footer-section ul li a i {
        flex-shrink: 0;
        margin-top: 0.1rem;
        width: 14px;
        font-size: 0.8rem;
    }

    .footer-logo {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
        align-items: center;
    }

    .footer-logo img {
        width: 40px;
        height: 40px;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
        padding: 0 0.3rem;
        color: white;
        text-align: center;
        line-height: 1.2;
    }

    .social-links {
        gap: 0.8rem;
        margin-top: 1rem;
        justify-content: center;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .footer-bottom {
        padding: 1.5rem 0.5rem 0;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 0.3rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.5;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
}

/* Ultra Small Screens (under 320px) */
@media (max-width: 319px) {
    html {
        font-size: 12px;
    }

    .nav-container {
        padding: 0 0.5rem;
        height: 50px;
    }

    /* Contact form specific fixes for ultra small screens */
    .contact-card {
        border-radius: 15px;
        margin-bottom: 1rem;
    }

    .card-header {
        padding: 1rem 0.8rem 0.5rem;
    }

    .card-content {
        padding: 0.5rem 0.8rem 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 14px;
        border-radius: 6px;
    }

    .submit-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .quick-contact-btn {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }

    .btn-icon {
        width: 35px;
        height: 35px;
    }

    .btn-title {
        font-size: 0.85rem;
    }

    .btn-subtitle {
        font-size: 0.7rem;
    }

    /* Footer fixes for ultra small screens */
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }

    .footer-section ul li a {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }

    .footer-logo h3 {
        font-size: 1.2rem !important;
    }

    .footer-bottom p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    .nav-logo {
        max-width: 65%;
    }

    .nav-logo h2 {
        font-size: 0.9rem;
        max-width: 100%;
        font-weight: 700;
        letter-spacing: 0.1px;
    }

    .logo-img {
        height: 32px;
        width: 32px;
    }

    .nav-toggle {
        width: 32px;
        height: 32px;
        padding: 0.3rem;
    }

    .nav-toggle .bar {
        width: 16px;
        height: 2px;
        margin: 1.5px 0;
    }

    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 60px 0 20px;
        min-height: 80vh;
    }

    .hero-container {
        padding: 0 0.5rem;
        min-height: calc(80vh - 80px);
    }

    .admission-open {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.6rem;
        letter-spacing: 0.3px;
    }

    .hero-main-title h1 {
        font-size: 1.2rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
        padding: 0;
    }

    .title-underline {
        width: 40px;
        height: 2px;
        margin: 0.6rem auto;
    }

    .hero-tagline {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
        padding: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
        padding: 0;
    }

    .hero-description {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        padding: 0;
    }

    .hero-action-buttons {
        gap: 0.6rem;
        margin: 1.2rem 0;
        padding: 0 0.2rem;
    }

    .hero-btn {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
        max-width: 200px;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        min-width: 130px;
    }

    .section-header {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        padding: 0;
    }

    .section-header p {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0;
    }

    .about-card {
        padding: 1.2rem 1rem;
        margin-bottom: 1rem;
    }

    .about-card h3,
    .about-card h4 {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .about-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .value-card,
    .achievement-card,
    .future-course-card,
    .excellence-card,
    .facility-card,
    .benefit-card {
        padding: 1.2rem 0.8rem;
        min-height: 140px;
    }

    .value-card h4,
    .achievement-card h4,
    .future-course-card h4,
    .excellence-card h4,
    .facility-card h4,
    .benefit-card h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .value-card p,
    .achievement-card p,
    .future-course-card p,
    .excellence-card p,
    .facility-card p,
    .benefit-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .course-card {
        padding: 1rem;
    }

    .course-name {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .course-curriculum h4 {
        font-size: 0.9rem;
    }

    .course-curriculum li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }

    .course-meta span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .quick-contact-btn {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
    }

    .btn-title {
        font-size: 0.9rem;
    }

    .btn-subtitle {
        font-size: 0.75rem;
    }

    .contact-form {
        gap: 0.6rem;
    }

    .form-group {
        margin-bottom: 0.6rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 14px;
    }

    .submit-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-section {
        padding: 0 0.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 12px;
        font-size: 1.2rem;
    }

    .whatsapp-widget {
        width: 260px;
        bottom: 65px;
        right: 12px;
    }
}

/* Additional responsive fixes for all screen sizes */
@media (max-width: 1024px) {
    .hero-main-title h1 {
        font-size: 2.5rem;
        white-space: normal;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Ensure proper spacing on tablets */
    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Fix grid layouts on tablets */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .future-courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Extra responsive fixes for very small screens */
@media (max-width: 360px) {
    .admission-open {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

    .hero-main-title h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
        max-width: 250px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Desktop and large screen optimizations */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        padding: 0 3rem;
        max-width: 1200px;
    }

    .nav-container {
        padding: 0 3rem;
        max-width: 1200px;
    }

    .hero-container {
        padding: 0 3rem;
        max-width: 1100px;
    }

    .hero-main-title h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 2.4rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }

    .future-courses-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .excellence-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .quick-contact-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1000px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .container {
        padding: 0 4rem;
        max-width: 1300px;
    }

    .nav-container {
        padding: 0 4rem;
        max-width: 1300px;
    }

    .hero-container {
        padding: 0 4rem;
        max-width: 1200px;
    }

    .hero-main-title h1 {
        font-size: 3.8rem;
    }

    .hero-subtitle {
        font-size: 2.6rem;
    }

    .section-header h2 {
        font-size: 3.2rem;
    }
}

@media (min-width: 1441px) {
    .container {
        padding: 0 5rem;
        max-width: 1400px;
    }

    .nav-container {
        padding: 0 5rem;
        max-width: 1400px;
    }

    .hero-container {
        padding: 0 5rem;
        max-width: 1300px;
    }

    .hero-main-title h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 3.5rem;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
        background: #000000;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .footer-section {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: white;
        line-height: 1.3;
        word-break: normal;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: white;
        line-height: 1.3;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding: 0 0.5rem;
    }

    .footer-section ul li {
        margin-bottom: 0.8rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0.4rem 0;
    }

    .footer-logo {
        margin-bottom: 1.5rem;
        gap: 1rem;
    }

    .footer-logo img {
        width: 40px;
        height: 40px;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }

    .social-links {
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></g></svg>') repeat;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.2rem 0;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section ul li a i {
    width: 16px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom p {
    opacity: 0.8;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    color: white;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.whatsapp-widget.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.widget-header {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-header .header-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.widget-header .status {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.widget-body {
    padding: 15px;
    background: #f8f9fa;
}

.chat-message {
    background: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.widget-actions {
    padding: 15px;
    background: white;
    display: flex;
    gap: 10px;
    align-items: center;
}

.whatsapp-btn {
    flex: 1;
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.close-widget {
    width: 30px;
    height: 30px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-widget:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Utility Classes */
.pulse-glow {
    animation: pulse-glow 2s infinite;
}

.admission-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2.5s infinite;
}

.admission-open::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    animation: bounce 1.5s infinite;
}

@keyframes admission-glow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(251, 191, 36, 0.6),
            0 0 40px rgba(251, 191, 36, 0.4),
            0 0 60px rgba(251, 191, 36, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(251, 191, 36, 0.8),
            0 0 60px rgba(251, 191, 36, 0.6),
            0 0 90px rgba(251, 191, 36, 0.4),
            0 8px 25px rgba(0, 0, 0, 0.3);
        transform: scale(1.05);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-50%);
    }
    40% {
        transform: translateY(-60%);
    }
    60% {
        transform: translateY(-55%);
    }
}

.wobble:hover {
    animation: wobble 0.8s ease;
}

@keyframes wobble {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    75% { transform: translateX(5px) rotate(2deg); }
}

.micro-hover:hover {
    transform: translateY(-2px);
}

.elastic:hover {
    animation: elastic 0.6s ease;
}

@keyframes elastic {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Enhanced Course Cards */
.detailed-course {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detailed-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.detailed-course:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-badge.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.course-details {
    margin-top: 1.5rem;
}

.course-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.syllabus-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.syllabus-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.syllabus-list li:last-child {
    border-bottom: none;
}

.course-benefits {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.benefit-tag {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.course-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--secondary-color);
}

/* Student Success Gallery */
.student-gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item.text-only {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item.text-only .gallery-overlay {
    position: static;
    background: transparent;
    transform: none;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    opacity: 0.9;
}

/* Institute Gallery */
.institute-gallery {
    background: var(--light-color);
}

.institute-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.institute-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.institute-item.text-only {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid var(--primary-color);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.institute-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.institute-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.institute-content {
    padding: 1.5rem;
}

.institute-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.institute-content p {
    color: var(--text-light);
}