:root {
    --bg-color: #ffffff;
    --text-color: #333;
    --nav-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --nav-text: #ffffff;
    --section-bg: #ffffff;
    --card-bg: #ffffff;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-color: #e2e8f0;
    --hover-bg: #f7fafc;
    --white-bg: #ffffff;
    --light-bg: #f7fafc;
    --table-hover: #f7fafc;
    --heading-color: #2d3748;
    --paragraph-color: #4a5568;
    --muted-color: #718096;
    --intro-bg: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

[data-theme="dark"] {
    --bg-color: #f2f2fe;
    --text-color: #e2e8f0;
    --nav-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --nav-text: #ffffff;
    --section-bg: #1a1a2e;
    --card-bg: #0f0f1a;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --border-color: #2d3748;
    --hover-bg: #2d3748;
    --white-bg: #0f0f1a;
    --light-bg: #2d3748;
    --table-hover: #2d3748;
    --heading-color: #e2e8f0;
    --paragraph-color: #cbd5e0;
    --muted-color: #a0aec0;
    --intro-bg: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    min-width: 320px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body[data-theme="dark"] {
    color-scheme: dark;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.navbar {
    background: var(--nav-bg);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideDown 0.8s ease-out;
    transition: background 0.3s ease;
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white-bg);
    padding: 5px;
    animation: logoPulse 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    }
}

.logo-text h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    }
}

.logo-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    animation: linkFloat 6s ease-in-out infinite;
}

.nav-links a:nth-child(1) {
    animation-delay: 0s;
}

.nav-links a:nth-child(2) {
    animation-delay: 1s;
}

.nav-links a:nth-child(3) {
    animation-delay: 2s;
}

.nav-links a:nth-child(4) {
    animation-delay: 3s;
}

.nav-links a:nth-child(5) {
    animation-delay: 4s;
}

@keyframes linkFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px) scale(1.02);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    animation: arrowBounce 4s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1px);
    }
}

.dropdown:hover .dropdown-arrow {
    animation: none;
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-bg);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    max-width: 250px;
}

/* Fix for last dropdown to prevent overflow */
.nav-links li:last-child .dropdown-menu {
    right: 0;
    left: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--paragraph-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-left: 2rem;
}

/* Hero Video Section */
.hero-video {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.hero-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-content {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 10;
}

.hero-video-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
    color: white;
}

.hero-video-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out 0.5s both;
    color: white;
}

.hero-video-button {
    animation: bounceIn 1s ease-out 1s both;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: url('school-building.jpg');
}

.slide:nth-child(2) {
    background-image: url('school-building.jpg');
}

.slide:nth-child(3) {
    background-image: url('school-building.jpg');
}

.slide-content {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 10;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.floating-element.star {
    animation-delay: 0s;
}

.floating-element.star:nth-child(2) {
    animation-delay: 2s;
    top: 20%;
    left: 10%;
}

.floating-element.star:nth-child(3) {
    animation-delay: 4s;
    top: 60%;
    right: 15%;
}

.floating-element.book {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
    font-size: 2.5rem;
}

.floating-element.grad {
    top: 70%;
    left: 15%;
    animation-delay: 3s;
    font-size: 2.5rem;
}

.floating-element.pencil {
    top: 40%;
    left: 25%;
    animation-delay: 5s;
    font-size: 2rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

/* Animated Title */
.animated-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
    color: white;
}

.school-name-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.school-name-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    animation: expandWidth 2s ease-in-out infinite;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes expandWidth {
    0%, 100% {
        transform: scaleX(0.8);
    }
    50% {
        transform: scaleX(1);
    }
}

/* Animated Subtitle */
.animated-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out 0.5s both;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animated Button */
.animated-button {
    animation: bounceIn 1s ease-out 1s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

.slide-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-content p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: #667eea;
    transform: scale(1.2);
}

.dot:hover {
    background: #667eea;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    animation: fadeIn 1s ease-out;
    background-color: var(--section-bg);
    transition: background-color 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.alt-bg {
    background: var(--hover-bg);
}

.container {
    max-width: 1200px;
    margin: 10px auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

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

.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

.school-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.school-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.program-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--paragraph-color);
}

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

.facility-item {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: scale(1.05);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.facility-item h4 {
    color: var(--heading-color);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item p {
    color: var(--paragraph-color);
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-container {
    width: 100%;
}

.map-iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 10px;
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Popup Modal */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.5s ease-out;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    width: 90%;
    max-width: 550px;
    border-radius: 24px;
    overflow: hidden;
    animation: scaleIn 0.4s ease-out;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.2rem;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: rotate(90deg);
}

.popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.8rem 2rem;
    text-align: center;
    position: relative;
}

.popup-header h2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: none;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 375px;
    max-width: 100%;
    object-fit: contain;
    padding: 10px;
}

.popup-body {
    padding: 1.8rem;
    max-height: 220px;
    overflow-y: auto;
    background: white;
}

.news-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid #e9ecef;
    animation: slideInLeft 0.5s ease-out;
    transition: background 0.3s ease;
}

.news-item:hover {
    background: #f8f9fa;
    padding-left: 0.5rem;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.news-item h3 {
    color: var(--heading-color);
    font-size: 1.15rem;
    margin: 0.5rem 0;
    font-weight: 700;
}

.news-item p {
    color: var(--paragraph-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.popup-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #e9ecef;
}

.popup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.success-popup-content {
    background: var(--white-bg);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease-out;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    animation: checkmark 0.5s ease-out;
}

.success-popup-content h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-popup-content p {
    color: var(--paragraph-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.success-popup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Disclosure Section */
.disclosure-section {
    margin-bottom: 3rem;
}

.disclosure-subtitle {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.result-subtitle {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #667eea;
}

/* Result Page */
.result-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.result-image-wrapper {
    background: var(--white-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.result-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.result-info {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.result-info h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.result-info > p {
    color: var(--paragraph-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.result-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    color: var(--heading-color);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.highlight-item p {
    color: var(--paragraph-color);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.disclosure-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.disclosure-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.disclosure-table th {
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.disclosure-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.disclosure-table tbody tr:hover {
    background-color: var(--table-hover);
}

.disclosure-table tbody tr:last-child {
    border-bottom: none;
}

.disclosure-table td {
    padding: 1rem;
    color: var(--paragraph-color);
}

.view-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Admission Page Styles */
.admission-info {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.admission-subtitle {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.admission-info p {
    color: var(--paragraph-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.admission-rules {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.rules-intro {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rule-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.rule-content h4 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.rule-content p {
    color: var(--paragraph-color);
    line-height: 1.6;
}

.document-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.document-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--paragraph-color);
}

.document-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

.admission-form-section {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admission-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.form-section-title {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
    font-size: 1.2rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 400;
    line-height: 1.6;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

.submit-button,
.reset-button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.reset-button {
    background: var(--light-bg);
    color: var(--paragraph-color);
}

.reset-button:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* Facilities Page Styles */
.facilities-intro {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.facilities-intro p {
    color: var(--paragraph-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.facility-detail-card {
    background: var(--white-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.facility-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.facility-detail-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-content {
    padding: 1.5rem;
}

.facility-content h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

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

.facilities-conclusion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    text-align: center;
}

.facilities-conclusion h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.facilities-conclusion p {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Activities Page Styles */
.activities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
}

.activities-intro p {
    color: var(--paragraph-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.activity-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Feedback Page Styles */
.feedback-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
}

.feedback-intro p {
    color: var(--paragraph-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.feedback-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.feedback-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.feedback-form button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Contact Details Page Styles */
#contact-details {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#contact-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: neonPulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

#contact-details .container {
    position: relative;
    z-index: 1;
}

#contact-details .section-title {
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5),
                 0 0 20px rgba(102, 126, 234, 0.3),
                 0 0 30px rgba(102, 126, 234, 0.2);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.5),
                     0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(102, 126, 234, 0.8),
                     0 0 40px rgba(102, 126, 234, 0.5),
                     0 0 60px rgba(102, 126, 234, 0.3);
    }
}

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

.contact-detail-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2),
                inset 0 0 20px rgba(102, 126, 234, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.contact-detail-card:nth-child(1) {
    animation-delay: 0s;
}

.contact-detail-card:nth-child(2) {
    animation-delay: 1s;
}

.contact-detail-card:nth-child(3) {
    animation-delay: 2s;
}

.contact-detail-card:nth-child(4) {
    animation-delay: 3s;
}

.contact-detail-card:nth-child(5) {
    animation-delay: 4s;
}

.contact-detail-card:nth-child(6) {
    animation-delay: 5s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.2),
                    inset 0 0 20px rgba(102, 126, 234, 0.05);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.4),
                    inset 0 0 30px rgba(102, 126, 234, 0.1);
    }
}

.contact-detail-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6),
                inset 0 0 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.8);
}

.contact-detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.8));
    }
}

.contact-detail-card h3 {
    color: #764ba2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(118, 75, 162, 0.5);
}

.contact-detail-card p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.contact-additional-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(118, 75, 162, 0.3);
    box-shadow: 0 0 20px rgba(118, 75, 162, 0.2),
                inset 0 0 20px rgba(118, 75, 162, 0.05);
    margin-bottom: 3rem;
    animation: infoPulse 4s ease-in-out infinite;
}

@keyframes infoPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(118, 75, 162, 0.2),
                    inset 0 0 20px rgba(118, 75, 162, 0.05);
    }
    50% {
        box-shadow: 0 0 30px rgba(118, 75, 162, 0.4),
                    inset 0 0 30px rgba(118, 75, 162, 0.1);
    }
}

.contact-additional-info h3 {
    color: #8b5cf6;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    animation: headingPulse 3s ease-in-out infinite;
}

@keyframes headingPulse {
    0%, 100% {
        text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.8),
                     0 0 50px rgba(139, 92, 246, 0.5);
    }
}

.info-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-section h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.info-section p {
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.contact-map {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2),
                inset 0 0 20px rgba(139, 92, 246, 0.05);
    animation: mapGlow 5s ease-in-out infinite;
}

@keyframes mapGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.2),
                    inset 0 0 20px rgba(139, 92, 246, 0.05);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.4),
                    inset 0 0 40px rgba(139, 92, 246, 0.1);
    }
}

.contact-map h3 {
    color: #764ba2;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(118, 75, 162, 0.5);
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    height: 300px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(102, 126, 234, 0.3);
    animation: mapPulse 4s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% {
        border-color: rgba(102, 126, 234, 0.3);
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.2);
    }
    50% {
        border-color: rgba(102, 126, 234, 0.6);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    }
}

.map-placeholder p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Dark navbar for contact-details page only */
.navbar.dark-navbar {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%) !important;
}

#contact-details .section-title {
    margin-top: 2rem;
}

/* Theme Toggle Button */
.theme-toggle,
.theme-toggle-fixed {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: white;
}

.theme-toggle {
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.theme-toggle-icon {
    font-size: 1.2rem;
}

.theme-toggle-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .theme-toggle-fixed {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

.theme-toggle-fixed {
    position: fixed;
    top: 100px;
    left: 1rem;
    background: rgba(6, 116, 243, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    color: #333;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle-fixed:hover {
    background: rgba(5, 148, 243, 0.95);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

body[data-theme="dark"] .theme-toggle-fixed {
    background: rgba(26, 26, 46, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

body[data-theme="dark"] .theme-toggle-fixed:hover {
    background: rgba(26, 26, 46, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Book List Page Styles */
.booklist-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
}

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

.booklist-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booklist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.booklist-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booklist-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.booklist-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.booklist-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.booklist-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* TC Page Styles */
.tc-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
}

.tc-table-container {
    overflow-x: auto;
}

.tc-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tc-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tc-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.tc-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.tc-table tbody tr:hover {
    background: var(--light-bg);
}

.tc-table tbody tr:last-child td {
    border-bottom: none;
}

.tc-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tc-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Academics Page Styles */
.academics-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
}

.academics-intro p {
    color: var(--paragraph-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.academic-details {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.academic-details h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.detail-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.download-section {
    margin-top: 5rem;
}

.center-button {
    text-align: center;
}

.detail-section h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-section p {
    color: var(--paragraph-color);
    line-height: 1.6;
}

/* Fee Structure Page Styles */
.fee-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
}

.fee-intro p {
    color: var(--paragraph-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.fee-section {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.fee-section-title {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.fee-table-container {
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.fee-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.fee-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.fee-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.fee-table tbody tr:nth-child(even) {
    background: var(--light-bg);
}

.fee-table tbody tr:hover {
    background: var(--light-bg);
}

.fee-table td {
    padding: 1rem;
    color: var(--paragraph-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.fee-notes {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.notes-list {
    list-style: none;
    padding: 0;
}

.notes-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--paragraph-color);
    line-height: 1.6;
}

.notes-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.payment-methods {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.payment-option {
    text-align: center;
    padding: 1.5rem;
    background: var(--intro-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.payment-option h4 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.payment-option p {
    color: var(--paragraph-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Facility Detail Pages */
.facility-detail {
    background: var(--white-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facility-hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.facility-content-full {
    padding: 2.5rem;
}

.facility-content-full h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.facility-content-full p {
    color: var(--paragraph-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.facility-content-full h4 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    margin-top: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--paragraph-color);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
}

.facility-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.facility-item a:hover {
    transform: scale(1.05);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #007bff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger:hover span {
    background-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        font-size: 1rem;
        line-height: 1.5;
    }

    .navbar {
        padding: 0.7rem 0.9rem;
        min-height: 64px;
    }

    .hero-slider {
        margin-top: 64px;
        height: calc(100svh - 64px);
        min-height: 460px;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 0.8rem;
        top: 0.9rem;
    }

    .logo {
        flex-direction: row;
        gap: 0.7rem;
        align-items: center;
        max-width: calc(100% - 70px);
    }

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

    .logo-text h1 {
        font-size: 0.95rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .logo-text p {
        font-size: 0.72rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white-bg);
        width: 82%;
        max-width: 320px;
        height: 100vh;
        padding-top: 5rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        gap: 0;
        margin-top: 0;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 1rem 1.25rem;
        display: block;
        color: var(--text-color);
        word-break: break-word;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--light-bg);
        width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
    }

    .dropdown-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        color: var(--text-color);
    }

    .dropdown-arrow {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .slide-content {
        padding: 0 1rem;
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .animated-title {
        font-size: 1.7rem;
    }

    .school-name-highlight {
        font-size: 1.5rem;
        display: inline-block;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .animated-subtitle {
        font-size: 1rem;
    }

    .floating-element {
        font-size: 1.4rem;
    }

    .floating-element.book,
    .floating-element.grad {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 1.5rem 0.5rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .container {
        padding: 0 0.5rem;
        width: 100%;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image {
        order: -1;
    }

    .school-photo {
        max-height: 250px;
        object-fit: cover;
    }

    .programs-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .program-card,
    .facility-item {
        padding: 1.1rem;
    }

    .program-icon,
    .facility-icon {
        font-size: 2rem;
    }

    .program-card h3,
    .facility-item h4 {
        font-size: 1.05rem;
    }

    .program-card p {
        font-size: 0.85rem;
    }

    .disclosure-table {
        font-size: 0.85rem;
    }

    .disclosure-table th,
    .disclosure-table td {
        padding: 0.75rem 0.5rem;
    }

    .disclosure-subtitle {
        font-size: 1.2rem;
    }

    .result-subtitle {
        font-size: 1rem;
    }

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

    .admission-subtitle {
        font-size: 1.2rem;
    }

    .rule-item {
        flex-direction: column;
        gap: 1rem;
    }

    .rule-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-button,
    .reset-button {
        width: 100%;
    }

    .facilities-detail-grid {
        grid-template-columns: 1fr;
    }

    .facility-image {
        height: 200px;
    }

    .facilities-conclusion {
        padding: 1.5rem;
    }

    .facilities-conclusion h3 {
        font-size: 1.3rem;
    }

    .facilities-conclusion p {
        font-size: 1rem;
    }

    .facility-hero-image {
        height: 250px;
    }

    .facility-content-full {
        padding: 1.5rem;
    }

    .facility-content-full h3 {
        font-size: 1.3rem;
    }

    .facility-content-full h4 {
        font-size: 1.1rem;
    }

    .facility-content-full p {
        font-size: 0.9rem;
    }

    .feature-list {
        font-size: 0.9rem;
    }

    .feature-list li {
        padding: 0.4rem 0;
    }

    /* Popup improvements for mobile */
    .popup-content {
        width: 95%;
        max-width: none;
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    .popup-header h2 {
        font-size: 1.3rem;
    }

    .popup-image {
        height: auto;
        max-height: none;
    }

    .popup-image img {
        width: auto;
        max-width: 100%;
        max-height: 42vh;
        padding: 0.5rem;
    }

    .popup-body {
        padding: 1rem;
        max-height: none;
    }

    .news-item {
        padding: 0.8rem 0;
    }

    .news-date {
        font-size: 0.85rem;
    }

    .news-item h3 {
        font-size: 1.1rem;
    }

    .news-item p {
        font-size: 0.9rem;
    }

    /* Footer improvements */
    .footer {
        padding: 2rem 1rem;
    }

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

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

    .map-iframe {
        height: 180px;
    }

    .footer-section p {
        font-size: 0.85rem;
        margin: 0.4rem 0;
    }

    .footer-links li {
        margin: 0.4rem 0;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    .footer p {
        font-size: 0.9rem;
    }

    /* Contact form improvements */
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .contact-form button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .gallery-events-grid,
    .gallery-photos-grid {
        grid-template-columns: 1fr;
    }

    .gallery-event-image {
        height: 220px;
    }

    .gallery-lightbox .lightbox-prev,
    .gallery-lightbox .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Result page mobile */
    .result-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .result-image-wrapper {
        padding: 1rem;
    }

    .result-info {
        padding: 1.5rem;
    }

    .result-info h3 {
        font-size: 1.4rem;
    }

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

    .highlight-item {
        padding: 0.8rem;
    }

    .highlight-icon {
        font-size: 1.5rem;
    }

    .highlight-item h4 {
        font-size: 1rem;
    }

    .highlight-item p {
        font-size: 0.85rem;
    }
}

/* Gallery Styles */
.gallery-intro {
    text-align: center;
    color: var(--paragraph-color);
    max-width: 700px;
    margin: -1rem auto 2.5rem;
    line-height: 1.7;
}

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

.gallery-event-card {
    display: block;
    background: var(--white-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.gallery-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-event-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

.gallery-event-card:hover .gallery-event-image img {
    transform: scale(1.05);
}

.gallery-photo-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.gallery-event-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.gallery-event-info h3 {
    color: var(--heading-color);
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0;
}

.gallery-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.gallery-back-link:hover {
    color: #764ba2;
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.gallery-photo-item {
    border: none;
    padding: 0;
    background: var(--white-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-not-found,
.gallery-empty-state {
    text-align: center;
    padding: 2rem;
    background: var(--white-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-empty-state p,
.gallery-not-found p {
    color: var(--paragraph-color);
    margin-bottom: 1.5rem;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-counter {
    color: white;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.gallery-lightbox .lightbox-close,
.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.gallery-lightbox .lightbox-close:hover,
.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox .lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    line-height: 1;
}

.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.gallery-lightbox .lightbox-prev {
    left: 1.5rem;
}

.gallery-lightbox .lightbox-next {
    right: 1.5rem;
}

/* Directors Page */
.directors-intro {
    text-align: center;
    color: var(--paragraph-color);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.directors-subtitle {
    color: var(--heading-color);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.directors-leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto 1rem;
}

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

.director-card {
    background: var(--white-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.director-card-featured {
    max-width: 320px;
    margin: 0 auto;
}

.director-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.director-card-featured .director-photo img {
    height: 320px;
}

.director-info {
    padding: 1.25rem 1rem 1.5rem;
}

.director-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: black;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
body[data-theme="dark"] .director-role {
    color: #ffffff;
}

.director-info h3 {
    color: var(--heading-color);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .directors-leadership-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .directors-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .director-card {
        max-width: 100%;
    }

    .director-photo img {
        height: 220px;
    }

    .director-card-featured .director-photo img {
        height: 260px;
    }

    .director-info h3 {
        font-size: 1rem;
    }

    .director-role {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }
}

/* Principal's Message Page */
 
.principal-message-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    
    margin: top 10px auto;
    padding: 2rem 0;
}

.principal-photo {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.principal-photo img {
    width: 440px;
    height: 313px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 2;
    animation: neon-glow 1.5s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    0% {
        box-shadow: 0 0 10px var(--primary-color),
                    0 0 20px var(--primary-color),
                    0 0 30px var(--primary-color),
                    0 0 40px var(--primary-color),
                    0 0 50px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color),
                    0 0 40px var(--primary-color),
                    0 0 60px var(--primary-color),
                    0 0 80px var(--primary-color),
                    0 0 100px var(--primary-color);
    }
    100% {
        box-shadow: 0 0 30px var(--primary-color),
                    0 0 60px var(--primary-color),
                    0 0 90px var(--primary-color),
                    0 0 120px var(--primary-color),
                    0 0 150px var(--primary-color);
    }
}

.principal-content {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.principal-name {
    color: var(--heading-color);
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.principal-designation {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.principal-text p {
    color: var(--paragraph-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.principal-text .quote {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
    font-size: 1.15rem;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

body[data-theme="dark"] .principal-text .quote {
    background: rgba(255, 255, 255, 0.05);
}

.principal-signature {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-style: italic;
    color: var(--heading-color);
}

@media (min-width: 768px) {
    .principal-message-container {
        flex-direction: column;
        align-items: center;
    }

    .principal-photo {
        flex: 0 0 auto;
        margin-bottom: 2rem;
    }

    .principal-content {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .principal-message-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .principal-name {
        font-size: 1.3rem;
    }

    .principal-designation {
        font-size: 0.9rem;
    }

    .principal-text p {
        font-size: 0.95rem;
    }

    .principal-photo {
        text-align: center;
        margin: 0 auto 1.5rem auto;
    }

    .principal-photo img {
        width: 180px;
        height: 180px;
    }
}

/* Student Strength Table */
.section-subtitle {
    text-align: center;
    color: var(--paragraph-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.student-strength-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: var(--white-bg);
}

.student-strength-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-bg);
    font-size: 0.95rem;
}

.student-strength-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5f7a 100%);
    color: black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .student-strength-table thead {
    color: white;
}

.student-strength-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

.student-strength-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.student-strength-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

body[data-theme="dark"] .student-strength-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.student-strength-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .student-strength-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

.student-strength-table td {
    padding: 12px;
    text-align: center;
    color: var(--paragraph-color);
    font-weight: 500;
}

body[data-theme="dark"] .student-strength-table td {
    color: white;
}

.student-strength-table .class-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.student-strength-table .class-total td {
    color: white;
}

.student-strength-table .category-total {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 3px 12px rgba(17, 153, 142, 0.35);
}

.student-strength-table .category-total td {
    color: white;
}

.student-strength-table .grand-total {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.student-strength-table .grand-total td {
    color: white;
}

.student-strength-table .total-row {
    background: var(--primary-color) !important;
    color: white;
    font-weight: 600;
}

.student-strength-table .total-row td {
    color: white;
}

@media (max-width: 768px) {
    .student-strength-table {
        font-size: 0.75rem;
    }

    .student-strength-table th,
    .student-strength-table td {
        padding: 0.5rem 0.3rem;
    }

    .student-strength-table-container {
        margin: 1rem 0;
        border-radius: 10px;
    }

    .student-strength-table thead {
        font-size: 0.8rem;
    }

    .student-strength-table .class-total,
    .student-strength-table .category-total,
    .student-strength-table .grand-total {
        font-size: 0.85rem;
    }
}

/* Staff Page Styles */
.staff-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.staff-category-title {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin: 3rem 0 2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.staff-category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.staff-card {
    background: var(--white-bg);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.staff-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

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

.staff-photo:hover img {
    transform: scale(1.05);
}

.staff-photo::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.staff-photo:hover::after {
    opacity: 1;
}

/* Staff Lightbox */
.staff-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.staff-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.staff-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.staff-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.staff-lightbox-close:hover {
    transform: rotate(90deg);
    color: #667eea;
}

/* Achievements Page Styles */
.achievement-category {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.category-header h3 {
    font-size: 2rem;
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

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

.achievement-card {
    background: var(--white-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.achievement-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.achievement-placeholder {
    font-size: 4rem;
    opacity: 0.8;
}

.achievement-content {
    padding: 1.5rem;
}

.achievement-content h4 {
    font-size: 1.2rem;
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.achievement-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.staff-principal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left: none;
    padding: 1.5rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    animation: principalGlow 3s ease-in-out infinite;
}

@keyframes principalGlow {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
    }
}

.staff-principal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.principal-badge {
    margin-bottom: 1rem;
    margin-right: 1.5rem;
    display: inline-block;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.principal-icon {
    font-size: 3rem;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.staff-principal .staff-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.staff-principal .staff-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.principal-decoration {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, transparent);
    margin: 0.5rem 0;
    border-radius: 2px;
    animation: decorationPulse 2s ease-in-out infinite;
}

@keyframes decorationPulse {
    0%, 100% {
        width: 80px;
        opacity: 0.7;
    }
    50% {
        width: 120px;
        opacity: 1;
    }
}

.staff-principal .staff-name {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.staff-principal .staff-qualification {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.staff-principal .staff-designation {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.principal-quote {
    display: none;
}

.staff-header {
    margin-bottom: 1rem;
}

.staff-header h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin: 0;
}

.staff-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.staff-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.3rem;
}

.staff-qualification {
    font-size: 0.9rem;
    color: var(--muted-color);
    line-height: 1.4;
}

.staff-designation {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-top: 0.3rem;
}

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

    .staff-photo {
        height: 280px;
        width: 80%;
        margin: 0 auto;
    }

    /* Fee Structure Mobile Styles */
    .fee-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .fee-section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .fee-table-school {
        min-width: 600px;
        font-size: 0.85rem;
    }

    .fee-table-school th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .fee-table-school td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .fee-notes {
        padding: 1.5rem;
    }

    .notes-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

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

    .payment-option {
        padding: 1rem;
    }

    .staff-category-title {
        font-size: 1.5rem;
    }

    .staff-card {
        padding: 1.2rem;
    }

    .staff-name {
        font-size: 1.1rem;
    }

    .staff-qualification {
        font-size: 0.85rem;
    }
}
