/* ===== Root Colors ===== */
:root {
    --primary: #0B1E3F;
    --gold: #D4AF37;
    --gold-light: #F5D77A;
    --white: #FFFFFF;
}

/* ===== General Styling ===== */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    background-color: var(--primary);
}

.navbar-brand,
.nav-link {
    color: var(--white) !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gold-light) !important;
}

/* ===== Slider Section ===== */
.carousel {
    position: relative;
}

.carousel-item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 63, 0.75);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.slider-2 {
    background: rgba(11, 30, 63, 0.70);
}

.slider-3 {
    background: rgba(11, 30, 63, 0.80);
}

.slider-content h1 {
    color: var(--gold);
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.slider-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(212, 175, 55, 0.7);
    border-radius: 50%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(212, 175, 55, 0.9);
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold);
    opacity: 0.6;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--gold);
}

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

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

@media (max-width: 768px) {
    .carousel-item {
        height: 450px;
    }
    
    .slider-content h1 {
        font-size: 2rem;
    }
    
    .slider-content p {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 400px;
    }
    
    .slider-content h1 {
        font-size: 1.5rem;
    }
    
    .slider-content p {
        font-size: 0.95rem;
    }
}

/* ===== Hero Section ===== */
.hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: var(--gold);
    font-weight: 700;
}

/* ===== Buttons ===== */
.btn-gold {
    background-color: var(--gold);
    color: var(--primary);
    font-weight: 600;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: var(--primary);
}

/* ===== Section Titles ===== */
.section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* ===== Footer ===== */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.text-gold {
    color: var(--gold);
    font-weight: 600;
}

.developer-credit {
    font-size: 0.95rem;
    opacity: 0.9;
}


/* Slider */
.slider-img {
    height: 85vh;
    object-fit: cover;
    filter: brightness(70%);
}

.carousel-caption {
    bottom: 30%;
}

/* Gold Text */
.text-gold {
    color: #D4AF37;
}

/* Admissions CTA */
.admissions-cta {
    background-color: #0B1E3F;
}

/* Director */
.director-img {
    max-height: 400px;
    object-fit: cover;
}

/* Stats */
.stats-section {
    background-color: #0B1E3F;
}

.stat-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    font-weight: 600;
}

/* Programs */
.program-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Gallery */
.gallery-section img {
    transition: 0.3s;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-section {
    background-color: #0B1E3F;
}

.testimonial-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
}

/* Admissions CTA */
.admissions-cta {
    background: linear-gradient(rgba(11,30,63,0.95), rgba(11,30,63,0.95)),
                url('../images/slider1.jpeg') center/cover no-repeat;
    color: #ffffff;
}

.cta-title {
    font-weight: 700;
    color: #D4AF37;
}

.cta-text {
    opacity: 0.9;
    max-width: 600px;
}

/* Countdown */
.countdown .time-box {
    background: #ffffff;
    color: #0B1E3F;
    padding: 20px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
    font-weight: 600;
}

.countdown h3 {
    margin-bottom: 5px;
    font-weight: 700;
}

/* Gold Button */
.btn-gold {
    background-color: #D4AF37;
    color: #0B1E3F;
    font-weight: 600;
    border: none;
}

.btn-gold:hover {
    background-color: #F5D77A;
    color: #0B1E3F;
}

/* Director Section */
.director-section {
    background-color: #ffffff;
}

.director-image-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px;
    border: 3px solid #D4AF37;
    border-radius: 12px;
}

.director-img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.director-name {
    font-weight: 700;
    color: #0B1E3F;
}

.director-title {
    color: #D4AF37;
    font-weight: 500;
}

.director-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* Why Choose Section */
.why-choose {
    background-color: #f8f9fa;
}

.why-subtitle {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Card */
.why-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s ease;
    border-top: 4px solid #D4AF37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Icons */
.why-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #0B1E3F;
}

.why-card h5 {
    font-weight: 700;
    color: #0B1E3F;
    margin-bottom: 10px;
}

.why-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Vision & Mission */
.vision-mission {
    background-color: #0B1E3F;
}

.vm-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border-left: 5px solid #D4AF37;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.vm-title {
    color: #0B1E3F;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Core Values */
.core-values {
    background-color: #f8f9fa;
}

.value-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 35px;
    margin-bottom: 15px;
    color: #D4AF37;
}

.value-card h5 {
    font-weight: 700;
    color: #0B1E3F;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Admissions Process */
.admissions-process {
    background-color: #f8f9fa;
}

.process-subtitle {
    color: #6c757d;
}

/* Cards */
.process-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid #D4AF37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-title {
    font-weight: 700;
    color: #0B1E3F;
    margin-bottom: 15px;
}

.process-card ul {
    padding-left: 18px;
}

.process-card ul li {
    margin-bottom: 8px;
    color: #444;
}

/* Page Hero */
.page-hero {
    background-color: #0B1E3F;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 63, 0.75);
    z-index: 1;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 350px;
        background-attachment: scroll;
    }
    
    .page-hero h1 {
        font-size: 2rem !important;
    }
}

/* About Sections */
.about-section {
    background-color: #ffffff;
}

.about-highlight {
    background-color: #f8f9fa;
}

/* Highlight Cards */
.highlight-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-top: 4px solid #D4AF37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* About Cards */
.about-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #D4AF37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Principal Section */
.principal-section {
    background-color: #f8f9fa;
}

.principal-image-wrapper {
    padding: 8px;
    border: 3px solid #D4AF37;
    display: inline-block;
    border-radius: 50%;
}

.principal-img {
    width: 230px;
    height: 230px;
    object-fit: cover;
}

.principal-signature {
    font-size: 1rem;
    color: #0B1E3F;
}

.principal-signature span {
    color: #D4AF37;
    font-weight: 500;
}

/* Principal Section */
.principal-section{
    background:#f8f9fa;
}

.principal-image-wrapper{
    border:4px solid #D4AF37;
    padding:10px;
    border-radius:50%;
    display:inline-block;
}

.principal-img{
    width:230px;
    height:230px;
    object-fit:cover;
}

.principal-signature{
    font-size:1rem;
    color:#0B1E3F;
}

.principal-signature span{
    color:#D4AF37;
    font-weight:600;
}

/* Administration Section */
.administration-section{
    background:#ffffff;
}

.admin-subtitle{
    color:#6c757d;
}

/* Admin Cards */
.admin-card{
    background:#f8f9fa;
    padding:25px;
    border-radius:12px;
    transition:0.3s;
    border-top:4px solid #D4AF37;
}

.admin-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 25px rgba(0,0,0,0.1);
}

/* Images */
.admin-img{
    width:160px;
    height:160px;
    object-fit:cover;
    border-radius:50%;
    border:3px solid #0B1E3F;
}

/* Role */
.admin-role{
    color:#D4AF37;
    font-weight:600;
    margin-top:-5px;
}

/* Director Page */

.director-profile{
background:#ffffff;
}

.director-img-wrapper{
border:4px solid #D4AF37;
padding:10px;
border-radius:10px;
display:inline-block;
}

.director-img{
max-height:350px;
object-fit:cover;
}

.director-role{
color:#D4AF37;
font-weight:600;
margin-bottom:15px;
}

.director-message{
background:#f8f9fa;
}

.director-text{
max-width:850px;
margin:auto;
line-height:1.8;
}

.director-philosophy{
background:#ffffff;
}

.philosophy-card{
background:#f8f9fa;
padding:30px;
border-radius:10px;
border-top:4px solid #D4AF37;
}

.director-responsibilities{
background:#f8f9fa;
}

.director-list li{
margin-bottom:10px;
}

.director-cta{
background:#0B1E3F;
}


/* Academic Hero */
.academic-hero{
height:60vh;
background:linear-gradient(rgba(11,30,63,0.7),rgba(11,30,63,0.7)),
url('../images/banner2.jpeg') center/cover no-repeat;
}

/* Program Cards */
.program-card{
background:#f8f9fa;
padding:30px;
border-radius:10px;
border-top:4px solid #D4AF37;
}

/* Requirement Cards */
.requirement-card{
background:white;
padding:25px;
border-left:4px solid #D4AF37;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* Calendar */
.calendar-card{
background:white;
padding:25px;
text-align:center;
border-radius:10px;
border-top:4px solid #0B1E3F;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* Admission Hero */
.admission-hero{
height:60vh;
background:linear-gradient(rgba(11,30,63,0.75),rgba(11,30,63,0.75)),
url('../images/banner2.jpeg') center/cover no-repeat;
}

/* Admission Cards */
.admission-card{
background:white;
padding:25px;
border-radius:10px;
border-top:4px solid #D4AF37;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* Requirements List */
.requirements-list{
max-width:700px;
margin:auto;
line-height:1.9;
}

/* CTA */
.admission-cta{
background:#0B1E3F;
}

/* Gallery Hero */
.gallery-hero{
height:60vh;
background:linear-gradient(rgba(11,30,63,0.7),rgba(11,30,63,0.7)),
url('../images/campuslife2.jpeg') center/cover no-repeat;
}

/* Gallery Images */
.gallery-img{
border-radius:10px;
transition:0.3s;
cursor:pointer;
}

.gallery-img:hover{
transform:scale(1.05);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* Contact Hero */
.contact-hero{
height:60vh;
background:linear-gradient(rgba(11,30,63,0.75),rgba(11,30,63,0.75)),
url('../images/campuslife1.jpeg') center/cover no-repeat;
}

/* Contact Cards */
.contact-card{
background:#ffffff;
padding:25px;
border-radius:10px;
border-top:4px solid #D4AF37;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* Map */
.map-responsive{
overflow:hidden;
border-radius:10px;
}

/* ============================================
   MODERN PROFESSIONAL DESIGN ENHANCEMENTS
   ============================================ */

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

body {
    font-family: 'Poppins', sans-serif !important;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
    color: #FFF;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* Enhanced Navbar with Scroll Effect */
.navbar {
    background: var(--primary) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(11, 30, 63, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-scrolled {
    background: rgba(11, 30, 63, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(11, 30, 63, 0.3);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(360deg) scale(1.1);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    margin: 0 5px;
}

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

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

/* Enhanced Buttons */
.btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77A 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #F5D77A 0%, #D4AF37 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Modern Card Designs */
.card, .program-card, .stat-card, .testimonial-card, 
.highlight-card, .about-card, .vm-card, .value-card,
.process-card, .philosophy-card, .admin-card, .contact-card,
.admission-card, .requirement-card, .calendar-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.card::before, .program-card::before, .stat-card::before,
.highlight-card::before, .about-card::before, .vm-card::before,
.value-card::before, .process-card::before, .philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::before, .program-card:hover::before, .stat-card:hover::before,
.highlight-card:hover::before, .about-card:hover::before, .vm-card:hover::before,
.value-card:hover::before, .process-card:hover::before, .philosophy-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover, .value-card:hover, .admin-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 30, 63, 0.15) !important;
}

/* Enhanced Images */
img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.director-img, .principal-img, .admin-img {
    transition: all 0.5s ease;
    filter: grayscale(0%);
}

.director-img-wrapper:hover .director-img,
.principal-image-wrapper:hover .principal-img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.1);
}

/* Hero Section Enhancements */
.carousel-item {
    animation: fadeIn 1s ease-in;
}

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

.carousel-caption h1 {
    animation: slideInUp 1s ease-out;
}

.carousel-caption p {
    animation: slideInUp 1.2s ease-out;
}

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

/* Page Hero Modern Design */
.page-hero {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 63, 0.85) 0%, rgba(11, 30, 63, 0.7) 100%);
    backdrop-filter: blur(2px);
}

.page-hero h1 {
    animation: fadeInDown 1s ease-out;
    font-size: 3.5rem;
    font-weight: 800;
}

.page-hero p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Section Animations */
section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Stats Counter Animation */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 35px rgba(11, 30, 63, 0.2);
}

/* Countdown Timer Enhancement */
.countdown .time-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.countdown .time-box:hover {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Gallery Image Enhanced */
.gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(11, 30, 63, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-img:hover::after {
    opacity: 1;
}

/* Text Gradient Effect */
.text-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77A 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Section Title Enhancement */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

/* CTA Sections */
.admissions-cta, .director-cta, .admission-cta {
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.admissions-cta::before, .director-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

/* Footer Enhancement */
footer {
    position: relative;
    background: linear-gradient(135deg, #0B1E3F 0%, #162d50 100%);
    padding: 40px 0 30px !important;
}

footer .container {
    padding: 0 15px;
}

footer p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

.developer-credit {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-top: 15px;
}

.developer-credit a {
    font-weight: 600;
    color: var(--gold);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (max-width: 768px) {
    footer {
        padding: 30px 0 25px !important;
        text-align: center;
    }

    footer p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    footer .container {
        padding: 0 10px;
    }

    .developer-credit {
        font-size: 0.8rem;
        margin-top: 12px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 25px 0 20px !important;
    }

    footer p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    footer .container {
        padding: 0 8px;
    }

    .developer-credit {
        font-size: 0.75rem;
        margin-top: 10px;
    }

    .developer-credit a {
        word-break: break-word;
    }

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

@media (max-width: 400px) {
    footer {
        padding: 20px 0 15px !important;
    }

    footer p {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .developer-credit {
        font-size: 0.7rem;
        margin-top: 8px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 12px;
        right: 12px;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--primary) 100%);
}

/* Loading Animation for Images */
img[data-src] {
    filter: blur(10px);
    transition: filter 0.5s;
}

img[data-loaded="true"] {
    filter: blur(0);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    .page-hero h1 {
        font-size: 2.2rem !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    .page-hero h1 {
        font-size: 1.8rem !important;
    }
}

/* Additional Fade Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

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

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

/* Hover Effects for Links */
a {
    transition: all 0.3s ease;
}

a:not(.btn):hover {
    color: var(--gold) !important;
}

/* Form Inputs Modern Style */
input, textarea, select {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    outline: none;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Mobile Navbar Optimization */
@media (max-width: 992px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        width: 40px;
    }

    .nav-link {
        padding: 8px 0 !important;
        margin: 5px 0 !important;
        font-size: 0.95rem;
    }

    .btn-gold {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

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

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        width: 35px;
    }

    .collapse > .navbar-nav {
        text-align: center;
    }

    .nav-link {
        padding: 6px 0 !important;
        margin: 3px 0 !important;
        font-size: 0.9rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        color: var(--gold-light) !important;
    }

    .ms-3 {
        margin-left: 0 !important;
        margin-top: 10px;
    }
}

/* Mobile Hero Slider */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }

    .slider-img {
        height: 400px;
    }

    .carousel-caption {
        bottom: 20%;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .carousel-caption .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 350px;
    }

    .slider-img {
        height: 350px;
    }

    .carousel-caption h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .carousel-caption .btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0.6;
    }
}

/* Mobile Section Titles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .section-title::after {
        width: 60px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
    }
}

/* Mobile Buttons */
@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .w-100 {
        margin-bottom: 8px;
    }
}

/* Mobile Cards */
@media (max-width: 768px) {
    .program-card, .stat-card, .why-card, .value-card,
    .process-card, .philosophy-card, .highlight-card,
    .admin-card, .contact-card, .calendar-card,
    .admission-card, .requirement-card, .about-card,
    .vm-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .program-card h4, .requirement-card h5,
    .calendar-card h5, .admission-card h4,
    .philosophy-card h5 {
        font-size: 1.1rem;
    }

    .program-card p, .requirement-card ul li,
    .calendar-card p, .admission-card ul li {
        font-size: 0.85rem;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }

    .stat-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .program-card, .stat-card, .why-card, .value-card,
    .process-card, .philosophy-card, .highlight-card,
    .admin-card, .contact-card, .calendar-card,
    .admission-card, .requirement-card, .about-card,
    .vm-card {
        padding: 15px;
        margin-bottom: 12px;
    }

    .program-card h4, .requirement-card h5,
    .calendar-card h5, .admission-card h4,
    .philosophy-card h5 {
        font-size: 1rem;
    }

    .program-card p, .requirement-card ul li,
    .calendar-card p, .admission-card ul li {
        font-size: 0.8rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .stat-card p {
        font-size: 0.75rem;
    }
}

/* Mobile Countdown Timer */
@media (max-width: 768px) {
    .countdown {
        justify-content: center !important;
    }

    .countdown .time-box {
        min-width: 70px;
        padding: 12px;
    }

    .countdown .time-box h3 {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }

    .countdown .time-box small {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .countdown .time-box {
        min-width: 60px;
        padding: 10px;
    }

    .countdown .time-box h3 {
        font-size: 1.3rem;
        margin-bottom: 1px;
    }

    .countdown .time-box small {
        font-size: 0.65rem;
    }
}

/* Mobile Typography */
@media (max-width: 768px) {
    .display-3, .display-4 {
        font-size: 2rem;
    }

    h1, .h1 {
        font-size: 1.8rem;
    }

    h2, .h2 {
        font-size: 1.5rem;
    }

    h3, .h3 {
        font-size: 1.3rem;
    }

    h4, .h4 {
        font-size: 1.1rem;
    }

    h5, .h5 {
        font-size: 1rem;
    }

    .lead {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .display-3, .display-4 {
        font-size: 1.6rem;
    }

    h1, .h1 {
        font-size: 1.5rem;
    }

    h2, .h2 {
        font-size: 1.3rem;
    }

    h3, .h3 {
        font-size: 1.1rem;
    }

    h4, .h4 {
        font-size: 1rem;
    }

    h5, .h5 {
        font-size: 0.95rem;
    }

    .lead, p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .display-3, .display-4 {
        font-size: 1.3rem;
    }

    h1, h2 {
        font-size: 1.15rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4, h5, p, .lead {
        font-size: 0.85rem;
    }
}

/* Mobile Page Heroes */
@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        background-attachment: scroll;
    }

    .page-hero h1 {
        font-size: 1.8rem !important;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .academic-hero, .admission-hero, .contact-hero, .gallery-hero {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        min-height: 250px;
    }

    .page-hero h1 {
        font-size: 1.4rem !important;
    }

    .page-hero p {
        font-size: 0.85rem;
    }

    .academic-hero, .admission-hero, .contact-hero, .gallery-hero {
        min-height: 250px;
    }
}

/* Mobile Spacing */
@media (max-width: 768px) {
    .row {
        margin-bottom: 20px;
    }

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    section {
        padding: 40px 0;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 576px) {
    .row {
        margin-bottom: 15px;
    }

    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    section {
        padding: 30px 0;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mb-4, .mb-5 {
        margin-bottom: 1rem !important;
    }

    .mt-3, .mt-4, .mt-5 {
        margin-top: 1rem !important;
    }
}

@media (max-width: 400px) {
    section {
        padding: 20px 0;
    }

    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mb-5, .mt-5 {
        margin-bottom: 0.75rem !important;
        margin-top: 0.75rem !important;
    }
}

/* Mobile Forms */
@media (max-width: 768px) {
    input, textarea, select {
        font-size: 1rem;
        padding: 0.5rem;
    }

    textarea {
        min-height: 120px;
    }
}

@media (max-width: 576px) {
    input, textarea, select {
        font-size: 0.95rem;
        padding: 0.4rem;
        border-radius: 5px;
    }

    textarea {
        min-height: 100px;
    }

    .col-md-6, .col-md-12 {
        margin-bottom: 12px;
    }

    .form-control {
        margin-bottom: 10px;
    }
}

/* Mobile Images */
@media (max-width: 768px) {
    .director-img-wrapper, .principal-image-wrapper,
    .admin-img {
        padding: 6px;
        margin-bottom: 15px;
    }

    .director-img, .principal-img {
        max-height: 280px;
    }

    .admin-img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 576px) {
    .director-img-wrapper, .principal-image-wrapper {
        padding: 5px;
        margin-bottom: 12px;
    }

    .director-img, .principal-img {
        max-height: 240px;
    }

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

    .admin-img {
        width: 120px;
        height: 120px;
    }

    img-fluid {
        max-width: 100%;
    }
}

/* Mobile Tables */
@media (max-width: 768px) {
    .table {
        font-size: 0.9rem;
    }

    .table th, .table td {
        padding: 0.6rem;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        font-size: 0.8rem;
    }

    .table th, .table td {
        padding: 0.5rem;
        word-break: break-word;
    }
}

/* Mobile Gallery */
@media (max-width: 768px) {
    .gallery-grid .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .gallery-img {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .gallery-grid .col-md-4,
    .gallery-grid .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .gallery-img {
        border-radius: 8px;
        height: 200px;
        object-fit: cover;
    }
}

/* Mobile Lists */
@media (max-width: 768px) {
    ul li, ol li {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .director-list li, .requirements-list li {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    ul li, ol li {
        margin-bottom: 6px;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .director-list li, .requirements-list li {
        margin-bottom: 8px;
    }
}

/* Mobile Text Alignment */
@media (max-width: 768px) {
    .text-md-start {
        text-align: center !important;
    }

    .justify-content-md-start {
        justify-content: center !important;
    }

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

/* Mobile Animations */
@media (max-width: 576px) {
    [data-aos] {
        opacity: 1 !important;
    }
}

/* Mobile Map */
@media (max-width: 576px) {
    .map-responsive {
        height: 300px;
    }

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