
/* ========== ROOT VARIABLES ========== */
:root {
    /* Light Theme Colors */
    --primary-color: #1e3a8a;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --bg-color: #f3f4f6;
    --card-bg: rgba(255, 255, 255, 0.7);
    --header-bg: rgba(255, 255, 255, 0.1);
    --header-height: 150px;
    
    /* Fonts */
    --font-primary: "SN Pro", sans-serif;
    --font-secondary: "SN Pro", sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #ddd6f1;
    --accent-color: #fbbf24;
    --text-color: #f3f4f6;
    --bg-color:black;
    --card-bg: rgba(31, 41, 55, 0.7);
    --header-bg:rgba(17, 23, 39, 0.1);
}


/* Skip Content */
a[href="#main-content"],
a[href="#main"],
a.skip-link,
.skip-to-content {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}





/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
    position: relative;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== PARTICLES BACKGROUND ========== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}



/* ========== GLASS MORPHISM HEADER ========== */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    padding: 0;                 /* Remove extra vertical padding */

    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    display: flex;
    align-items: center;/* Perfect vertical alignment */
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-left, .nav-right {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.9rem 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    padding-top: 20px;
}

body {
    padding-top: var(--header-height);
}



/* ========== THEME TOGGLE ========== */
.theme-toggle {
    position: absolute;
    right: 25px;       /* distance from right edge */
    top: 50%;          /* vertical center */
    transform: translateY(-50%);
    z-index: 1001;
    width: 60px;
    height: 30px;
    background: var(--card-bg);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 5px;
    transition: var(--transition);
}

.theme-toggle i {
    font-size: 1rem;
    transition: var(--transition);
}

.sun-icon {
    color: #f59e0b;
}

.moon-icon {
    color: #6366f1;
}

[data-theme="dark"] .sun-icon {
    opacity: 0.3;
}

[data-theme="light"] .moon-icon,
body:not([data-theme]) .moon-icon {
    opacity: 0.3;
}






/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    height: 100vh;
    margin-top:0;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-top: 40px;
    margin: 0;

}

.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(0, 0, 0);
    z-index: 10;
    width: 90%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}







/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    height: 400px;
    margin-top:0;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-overlay p {
    font-size: 1.5rem;
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-section {
    margin-top: 40px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
}


/* ========== WELCOME SECTION ========== */
.welcome-section {
     transform: none;
     animation: none;
     will-change: auto;
}

.welcome-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px;
    font-size:18px;
}

.welcome-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.highlight {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.location {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.location i {
    margin-right: 0.5rem;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}


/* ========== GLASS CARDS ========== */
.glass-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
     transform: none;
     animation: none;
     will-change: auto;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
     transform: none;
     animation: none;
     will-change: auto;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-icon:hover {
    animation: rotateIcon 0.6s ease-in-out;
}

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

.glass-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.85;
}


/* ========== ACADEMICS SECTION ========== */
.academics-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
}

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

.academic-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.academic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.2);
}

.academic-card .card-icon {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.academic-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.academic-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* ========== ACADEMICS PAGE SPECIFIC ========== */
.academics-content-section {
    padding: 100px 0;
}

.academics-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.academics-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-menu {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.menu-item {
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.menu-item:hover, .menu-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.menu-item i {
    font-size: 1.3rem;
}

.academic-content {
    display: none;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.academic-content.active {
    display: block;
}

.academic-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-color);
}

.subjects-section, .activities-section, .description-section {
    margin-bottom: 3rem;
}

.subjects-section h3, .activities-section h3, .description-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.subjects-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.subjects-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subjects-list li i {
    color: var(--accent-color);
}

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

.activity-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.activity-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.activity-item strong {
    color: var(--primary-color);
}

.description-section p {
    line-height: 1.8;
    color: var(--text-color);
}



/* ========== ADMISSION SECTION ========== */
.admission-section {
    padding: 100px 0;
}

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

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.step-icon:hover {
    animation: rotateIcon 0.6s ease-in-out;
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}



/* ========== FACILITIES SECTION ========== */
.facilities-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
}

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

.facility-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.2);
}

.facility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.facility-icon:hover {
    animation: rotateIcon 0.6s ease-in-out;
}

.facility-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.facility-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}


/* ========== BLOGS/EVENTS SECTION ========== */
.blogs-section {
    padding: 100px 0;
}

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

.blog-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    gap: 1rem;
}



/* ========== REVIEWS SECTION ========== */
.reviews-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
    overflow: hidden;
}

.reviews-slider {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.review-track {
    display: flex;
    gap: 2rem;
    animation: scroll 50s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.review-track:hover {
    animation-play-state: paused;
}

.review-card {
    position: relative;
    overflow: hidden;
    flex: 0 0 350px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../Images/Reviewbg.png") center center / 110px no-repeat;
    opacity: 0.12;   /* Adjust transparency here */
    pointer-events: none;
    z-index: 0;
}

.avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.parent-name {
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.parent-designation {
    text-align: center;
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    font-style: italic;
}

.tamil-text {
    font-family: 'Noto Sans Tamil', var(--font-primary);
}

.review-card h4 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0) translateZ(0);
    }
    100% {
        transform: translateX(calc(-350px * 5 - 10rem)) translateZ(0);
    }
}

@keyframes rotateIcon {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}



/* ========== ENQUIRY SECTION ========== */
.enquiry-section {
    padding: 100px 0;
}

.enquiry-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid var(--primary-color);
}

.enquiry-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.enquiry-form .form-group {
    margin-bottom: 1.5rem;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
    color: var(--text-color);
    opacity: 0.6;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}


/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 1;
    animation: none;
    transform: none
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0 0;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-bottom-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-right {
    margin: -50px;
}


.footer-right a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    pointer-events: auto;
}

.footer-right a:hover {
    color: var(--accent-color);
}



/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    animation: float3D 3s ease-in-out infinite;
}

.scroll-top:hover {
    transform: translateY(-5px) rotateX(15deg) rotateY(15deg) rotateZ(10deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.scroll-top:active {
    transform: translateY(-3px) rotateX(10deg) rotateY(10deg) scale(1.05);
}


/* ========== CHAT WIDGET ========== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    touch-action: none;
    user-select: none;
    animation: float3D 3s ease-in-out infinite;
}

.chat-widget:hover {
    transform: scale(1.15) rotateZ(10deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124, 58, 237, 0.6);
    cursor: pointer;
}

.chat-widget:active {
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.8);
}

.chat-widget::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    }
}

.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    display: none;
    z-index: 998;
    border: none;
    box-shadow: none;
}

.chat-popup.active {
    display: block;
    animation: none;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    flex-direction: column;
    perspective: 1200px;
    align-items: flex-end;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-links a:nth-child(1) {
    animation: flipIn3D 0.6s ease-out 0.1s backwards;
    background: #25D366;
}

.social-links a:nth-child(2) {
    animation: flipIn3D 0.6s ease-out 0.2s backwards;
    background: #0084FF;
}

.social-links a:nth-child(3) {
    animation: flipIn3D 0.6s ease-out 0.3s backwards;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a:nth-child(4) {
    animation: flipIn3D 0.6s ease-out 0.4s backwards;
    background: #EA4335;
}

.social-links a::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.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: rotateY(360deg) rotateX(15deg) scale(1.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

.social-links a:active {
    transform: rotateY(360deg) rotateX(15deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.social-links a i {
    font-size: 1.5rem;
    z-index: 10;
}

@keyframes flipIn3D {
    from {
        opacity: 0;
        transform: rotateX(90deg) rotateY(90deg) translateZ(50px);
    }
    to {
        opacity: 1;
        transform: rotateX(0deg) rotateY(0deg) translateZ(0px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}









/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .academics-layout {
        grid-template-columns: 1fr;
    }
    
    .academics-sidebar {
        position: static;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
    }
    
    .menu-item {
        flex: 0 0 auto;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .logo-text h2 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.6rem;
    }
    
    .glass-cards-container,
    .academics-grid,
    .admission-steps,
    .facilities-grid,
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col iframe {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ===============================
   HAMBURGER MENU
=================================*/
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 2100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Animate Hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ===============================
   OVERLAY FOR MOBILE MENU
=================================*/
.overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: 0.4s ease;
    z-index: 1050;
}

.overlay.active {
    left: 0;
}

/* ===============================
   MOBILE MENU
=================================*/
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    opacity: 0;
    width: 260px;
    height: 100vh;
    background: rgba(96, 165, 250, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 2000;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu a {
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.mobile-menu a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Close Button */
.mobile-close {
    position: absolute;
    top: 25px;
    right: 20px;
    background: rgba(255,255,255,0.3);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 2100;
}

.mobile-close:hover {
    background: var(--accent-color);
    color: white;
}


/* ===============================
   BOTTOM NAV (Mobile Only)
=================================*/
.bottom-nav {
    display: none;
}

/* ===============================
   RESPONSIVE DESIGN
=================================*/
@media (max-width: 992px) {

    .nav-left,
    .nav-right {
        display: none;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 20px;
        top: 25px;
    }

    .theme-toggle {
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .logo-container {
        margin: 0 auto;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(96, 165, 250, 0.20);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .bottom-nav a {
        text-decoration: none;
        color: var(--text-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
        color: white;
        font-weight: 600;
        transition: var(--transition);
    }

    .bottom-nav i {
        font-size: 18px;
        margin-bottom: 3px;
        color: var(--primary-color);
    }

    .bottom-nav a:hover {
        color: var(--accent-color);
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}


/* Remove conflicting hamburger.open styles */
