﻿/* Hero Section - Completely Revamped */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -80px;
}

.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transform: scale(1);
    transition: transform 8s ease-out, filter 0.5s ease;
    z-index: 0;
}

.carousel-item.active .carousel-bg {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.carousel-caption {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.carousel-caption h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #fff, #f1f1f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.carousel-caption p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    bottom: 30px;
    z-index: 2;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        margin: 0 8px;
        transition: all 0.3s ease;
    }

    .carousel-indicators .active {
        background-color: var(--secondary-color);
        transform: scale(1.3);
    }

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    cursor: pointer;
    animation-duration: 2s;
}

/* Enhanced Buttons */
.btn-donate {
    background: var(--gradient-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-donate::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-blue);
        z-index: -1;
        opacity: 0;
        transition: var(--transition);
    }

    .btn-donate:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6);
    }

        .btn-donate:hover::before {
            opacity: 1;
        }

.btn-pulse {
    animation: pulse 2s infinite;
}

/* youtube video section */
.youtube-video-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height:100%;
        border: none;
    }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 75%; /* Taller aspect ratio for mobile */
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .video-hero {
        padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed */
    }
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Enhanced Cards */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-green);
        transition: var(--transition);
        z-index: -1;
    }

    .info-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

        .info-card:hover::before {
            height: 100%;
        }

        .info-card:hover .icon-wrapper {
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .info-card:hover h3,
        .info-card:hover p {
            color: white !important;
        }

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

    .icon-wrapper i {
        font-size: 2rem;
        color: var(--secondary-color);
        transition: var(--transition);
    }

.info-card:hover .icon-wrapper i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .hero-section {
        min-height: 550px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
    }

    .carousel-caption {
        padding: 1.5rem;
        bottom: 10%;
    }

        .carousel-caption h1 {
            font-size: clamp(2rem, 5vw, 3rem);
        }

        .carousel-caption p {
            font-size: clamp(1rem, 2.5vw, 1.5rem);
        }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 450px;
        margin-top: -60px;
    }

    .carousel-caption {
        width: 95%;
        padding: 1rem;
        bottom: 5%;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 400px;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-donate {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Quick Info Cards - Mechanical Theme */
/* Mechanical Background */
.quick-info {
    background: linear-gradient(180deg, #f4cfae 0%, #daebde 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/*    .quick-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 70%, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
        animation: backgroundShift 20s ease-in-out infinite alternate;
    }*/

@keyframes backgroundShift {
    0% {
        transform: translateX(-50px) translateY(-30px) rotate(0deg);
    }

    100% {
        transform: translateX(50px) translateY(30px) rotate(2deg);
    }
}

/* Floating Gears Background */
.gear {
    position: absolute;
    color: var(--secondary-color);
    opacity: 0.1;
    animation: floatRotate 15s linear infinite;
    pointer-events: none;
}

    .gear:nth-child(1) {
        top: 10%;
        left: 5%;
        font-size: 4rem;
        animation-duration: 12s;
    }

    .gear:nth-child(2) {
        top: 20%;
        right: 10%;
        font-size: 3rem;
        animation-duration: 18s;
        animation-direction: reverse;
    }

    .gear:nth-child(3) {
        bottom: 30%;
        left: 8%;
        font-size: 3.3rem;
        animation-duration: 20s;
    }

    .gear:nth-child(4) {
        bottom: 15%;
        right: 5%;
        font-size: 2.2rem;
        animation-duration: 14s;
        animation-direction: reverse;
    }

    .gear:nth-child(5) {
        top: 50%;
        left: 3%;
        font-size: 2.3rem;
        animation-duration: 16s;
    }

    .gear:nth-child(6) {
        top: 60%;
        right: 8%;
        font-size: 2.6rem;
        animation-duration: 22s;
        animation-direction: reverse;
    }

@keyframes floatRotate {
    0% {
        transform: rotate(0deg) translateY(0px);
    }

    25% {
        transform: rotate(90deg) translateY(-10px);
    }

    50% {
        transform: rotate(180deg) translateY(0px);
    }

    75% {
        transform: rotate(270deg) translateY(10px);
    }

    100% {
        transform: rotate(360deg) translateY(0px);
    }
}

/* Enhanced Cards */
.info-card {
    background: var(--secondary-color);
    border: 1px solid beige;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
}

    .info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: left 0.6s;
    }



.info-card:hover {
    transform: translateY(-20px) rotateX(5deg) scale(1.05);
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(52, 152, 219, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

    .info-card:hover::before {
        left: 100%;
    }

    .info-card:hover::after {
        opacity: 1;
    }

/* Icon Wrapper Enhancements */
.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #3498db, #2980b9);
    border-radius: 50%;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 8px 16px rgba(52, 152, 219, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .icon-wrapper::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 50%;
        background: conic-gradient(#3498db, #e74c3c, #f39c12, #2ecc71, #3498db);
        z-index: -1;
        opacity: 0;
        transition: all 0.5s ease;
        animation: iconGlow 3s ease-in-out infinite alternate;
    }

@keyframes iconGlow {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(180deg) scale(1.1);
    }
}

.info-card:hover .icon-wrapper {
    transform: rotateY(360deg) scale(1.2);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.8);
}

    .info-card:hover .icon-wrapper::before {
        opacity: 1;
    }

.icon-wrapper i {
    color: #ffffff;
    font-size: 2.5rem;
    transition: all 0.5s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.info-card:hover .icon-wrapper i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* Card-specific colors */
.info-card:nth-child(1) .icon-wrapper {
    background: linear-gradient(135deg, #f4cfae 0%, #315941 100%);
}

.info-card:nth-child(2) .icon-wrapper {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
}

.info-card:nth-child(3) .icon-wrapper {
    background: linear-gradient(145deg, #f39c12, #e67e22);
}

/* Typography Enhancements */
.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    transition: all 0.4s ease;
}

    .info-card h3::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #3498db, #e74c3c);
        transition: all 0.4s ease;
        transform: translateX(-50%);
    }

.info-card:hover h3 {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

    .info-card:hover h3::after {
        width: 60px;
    }

.info-card p {
    font-size: 1.1rem;
    color: beige;
    line-height: 1.6;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.info-card:hover p {
    color: #34495e;
    transform: translateY(-3px);
}

/* Staggered Animation for Cards */
.info-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

    .info-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .info-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .info-card:nth-child(3) {
        animation-delay: 0.3s;
    }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mechanical Details */
.mechanical-detail {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 50%;
    opacity: 0.1;
}

    .mechanical-detail:nth-child(1) {
        top: 20px;
        right: 20px;
    }

    .mechanical-detail:nth-child(2) {
        bottom: 20px;
        left: 20px;
    }

    .mechanical-detail:nth-child(3) {
        top: 50%;
        right: 10px;
    }

.info-card:hover .mechanical-detail {
    opacity: 0.3;
    animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* Section Title Enhancement */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

    .section-title h2 {
        color: black;
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12);
        transform: translateX(-50%);
        border-radius: 2px;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .quick-info {
        padding: 4rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .info-card {
        margin-bottom: 2rem;
    }

    .gear {
        font-size: 1.5rem !important;
    }
}


/* About Section */
.about-section {
    padding: 5rem 0;
    /*    background: linear-gradient(180deg, #507860 0%, #f4cfae 100%);*/
    background: linear-gradient(180deg, #daebde 0%, #e0d3c8 100%);
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

    .about-image img {
        transition: transform 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

.experience-badge {
    bottom: -15px;
    right: 15px;
    width: 110px;
    text-align: center;
    background: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

    .experience-badge h2 {
        font-size: 1.75rem;
        font-weight: 700;
    }

    .experience-badge p {
        font-size: 0.9rem;
    }

.about-features .fas {
    color: var(--primary-color);
}

.lead {
    color: black;
}

/*.fa-check-circle:before, .fa-circle-check:before {
    content: "\f058";
    color: var(--root-color);
}*/

/* Admissions Section - Enhanced with Animations */
.admissions-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #e0d3c8 0%,#daebde 100%);
    overflow: hidden;
}

.admission-card {
    position: relative;
    background: var(--secondary-color);
    border: 1px solid beige;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden; 
    z-index: 1;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .admission-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, #f4cfae 0%, #315941 100%);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.6s ease, transform 0.6s ease;
        transform: scale(0.8);
    }

    .admission-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
        color: white;
        border: none;
    }

        .admission-card:hover::before {
            opacity: 1;
            transform: scale(1);
        }

        .admission-card:hover h3 {
            color: white;
            animation: textPop 0.6s ease forwards;
        }

        .admission-card:hover p {
            color: rgba(255, 255, 255, 0.9) !important;
            transform: translateY(0);
        }

    .admission-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        transition: color 0.4s ease, transform 0.4s ease;
        position: relative;
        display: inline-block;
        color: white;
    }

        .admission-card h3::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: white;
            transition: width 0.4s ease;
        }

    .admission-card:hover h3::after {
        width: 100%;
    }

    .admission-card p {
        font-size: 1rem;
        color: beige;
        transition: all 0.5s ease 0.1s;
        transform: translateY(5px);
    }

.admission-card:hover .btn-donate::before {
    left: 0;
}

/* Floating elements animation */
.admission-card:hover {
    animation: float 3s ease-in-out infinite;
}

/* Keyframes for animations */
@keyframes float {
    0%, 100% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes textPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Glow effect on hover */
.admission-card:hover {
    filter: drop-shadow(0 0 8px rgba(244, 207, 174, 0.6));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admission-card {
        margin-bottom: 1.5rem;
    }

        .admission-card:hover {
            transform: translateY(-5px);
        }
}
/* Leadership Messages - Next Level Effects */
.leadership-section {
    background: linear-gradient(180deg,#daebde 0%,#e0d3c8 100%);
    position: relative;
    overflow: hidden;
}

.message-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    background: beige;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid var(--secondary-color) !important;
}

    .message-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--secondary-color);
        z-index: -1;
        opacity: 0;
        transition: all 0.6s ease;
        transform: scale(0.9) rotateX(15deg);
    }

    .message-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
        color: white;
        border: none !important;
    }

        .message-card:hover::before {
            opacity: 1;
            transform: scale(1) rotateX(0);
        }

    .message-card .card-header {
        padding-bottom: 4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: beige;
        transition: all 0.6s ease;
        position: relative;
        overflow: hidden;
        border: none;
        color: var(--secondary-color);
    }

    .message-card:hover .card-header {
        background: transparent;
        background-image: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
        color: beige !important;
    }

    .message-card .card-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: scale(0);
        transition: transform 0.6s ease;
        opacity: 0;
    }

    .message-card:hover .card-header::after {
        transform: scale(2);
        opacity: 1;
    }

    .message-card .card-header img {
        height: 170px;
        width: 170px;
        border: 4px solid var(--secondary-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        transition: all 0.6s ease;
        transform: translateZ(20px);
        filter: grayscale(20%);
    }

    .message-card:hover .card-header img {
        transform: scale(1.05) translateZ(30px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        filter: grayscale(0%);
        border-color: rgba(255,255,255,0.8);
    }

    .message-card .card-body {
        padding-top: 1rem;
        transition: all 0.6s ease;
        transform: translateZ(0);
        background: none;
        
    }

    .message-card:hover .card-body {
        transform: translateZ(10px);
    }

    .message-card blockquote p {
        font-size: 1rem;
        font-style: italic;
        color: var(--secondary-color);
        transition: all 0.4s ease;
    }

    .message-card:hover blockquote p {
        color: beige;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

/* News Cards - Revolutionary Effects */
.news-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #e0d3c8 0%,#daebde 100%);
    position: relative;
    overflow: hidden;
}

.news-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    background: beige;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid var(--secondary-color) !important;
}

    .news-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--secondary-color);
        z-index: -1;
        opacity: 0;
        transition: all 0.6s ease;
        transform: scale(0.95) rotateY(10deg);
    }

    .news-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        color: black;
        border: none !important;
    }

        .news-card:hover::before {
            opacity: 1;
            transform: scale(1) rotateY(0);
        }

    .news-card .card-img-top {
        object-fit: cover;
        height: 200px;
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        transform-origin: center center;
    }

    .news-card:hover .card-img-top {
        transform: scale(1.1) rotateZ(1deg);
        filter: brightness(0.8) contrast(1.1);
    }

.badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.4s ease;
    transform: translateZ(10px);
    z-index: 2;
}

.news-card:hover .badge-overlay {
    transform: translateZ(30px) scale(1.05);
}

.news-card .card-body {
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
    background: none;
    color: var(--secondary-color);
}

.news-card:hover .card-body {
    transform: translateZ(20px);
}

.news-card:hover .small {
    color: beige;
}

.news-card .card-title {
    transition: all 0.4s ease;
    position: relative;
    color: var(--secondary-color);
}

.news-card:hover .card-title {
    color: beige;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-card .card-text {
    transition: all 0.4s ease 0.1s;
    color: var(--secondary-color);
}

.news-card:hover .card-text {
    color: beige !important;
}

/* Floating Particles Effect */
.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.news-card:hover::after {
    opacity: 1;
}

/* 3D Parallax Effect */
.news-card .card-img-top-wrapper {
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .message-card:hover,
    .news-card:hover {
        transform: translateY(-5px);
    }

        .message-card:hover .card-header img,
        .news-card:hover .card-img-top {
            transform: none;
        }
}

/* Continuous Wobble Effect */
@keyframes subtleWobble {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(0.5deg);
    }

    75% {
        transform: translateY(2px) rotate(-0.5deg);
    }
}

.message-card,
.news-card {
    animation: subtleWobble 8s ease-in-out infinite;
}

    .message-card:nth-child(2n),
    .news-card:nth-child(2n) {
        animation-delay: 0.3s;
    }

    .message-card:nth-child(3n),
    .news-card:nth-child(3n) {
        animation-delay: 0.6s;
    }

/* Enhanced Events Section CSS */
.events-section {
    padding: 4rem 0;
    background: linear-gradient(180deg,#daebde 0%,#e0d3c8 100%);
    overflow: hidden;
}

.event-card {
    position: relative;
    background: var(--secondary-color);
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    z-index: 1;
    animation: gentleWobble 3s ease-in-out infinite;
    color: white;
    border: 1px solid beige;
}

    .event-card:nth-child(odd) {
        animation-delay: 0.5s;
    }

    .event-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, #f4cfae 0%, #315941 100%);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.6s ease, transform 0.6s ease;
        transform: scale(0.8);
    }

    .event-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
        color: white;
        animation: none;
        border: none;
    }

        .event-card:hover::before {
            opacity: 1;
            transform: scale(1);
        }

        .event-card:hover h4,
        .event-card:hover .event-date h3,
        .event-card:hover .event-date h2 {
            color: white;
            animation: textPop 0.6s ease forwards;
        }

        .event-card:hover p {
            color: rgba(255, 255, 255, 0.9) !important;
        }

        .event-card:hover .text-muted {
            color: rgba(255, 255, 255, 0.7) !important;
        }

.event-date {
    min-width: 80px;
    background: var(--gradient-green);
    transition: all 0.6s ease;
    z-index: 2;
}

.event-card:hover .event-date {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-date h3 {
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.event-date h2 {
    font-size: 1.75rem;
    font-weight: 700;
    transition: color 0.4s ease;
}


/* Keyframes for animations */
@keyframes gentleWobble {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes textPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .event-card {
        animation: gentleWobbleMobile 6s ease-in-out infinite;
    }

    @keyframes gentleWobbleMobile {
        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-3px);
        }
    }
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #daebde 0%,#e0d3c8 100%);
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

    .gallery-item img {
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Media Coverage Section */
.media-coverage-section {
    background: linear-gradient(180deg, #e0d3c8 0%, #daebde 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 400;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.media-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    aspect-ratio: 3/4;
}

    .media-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

.news-cutting {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.media-card:hover .news-cutting {
    transform: scale(1.03);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.media-card:hover .news-overlay {
    padding-bottom: 1.8rem;
}

.news-date {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.media-card:hover .news-date {
    opacity: 1;
}

.news-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.media-card:hover .news-title {
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal.show {
        display: flex;
        opacity: 1;
    }

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    width: 900px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-bottom: 3px;
}

    .modal-close:hover {
        color: #e74c3c;
        background: white;
        transform: rotate(90deg);
    }

.modal-image-container {
    flex: 1;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    padding: 2rem;
}

.modal-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.modal-text {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.modal-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        width: 700px;
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .media-card {
        aspect-ratio: 3/2;
    }

    .modal-content {
        width: 90%;
    }

    .modal-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-date {
        font-size: 0.8rem;
    }

    .modal-image-container {
        padding: 1rem;
    }

    .modal-text {
        padding: 1rem;
    }
}


/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(180deg,#daebde 0%,#e0d3c8 100%);
}

.testimonial-item {
    padding: 2rem;
}

.testimonial-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
}

.rating {
    font-size: 1.1rem;
}

/* Call to Action */
.cta-section {
    position: relative;
    background: linear-gradient(180deg, #e0d3c8 0%,#daebde 100%);
    padding: 5rem 0;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
/*        background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;*/
        opacity: 0.1;
        z-index: 0;
    }

    .cta-section .container {
        position: relative;
        z-index: 1;
    }

    .cta-section .btn {
        font-weight: 600;
        padding: 0.75rem 2rem;
    }

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
}

.section-subtitle {
    font-size: 1.1rem;
    color: beige;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .hero-section .carousel-caption h1 {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .hero-section .carousel-caption p {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: 50vh;
        max-height: 500px;
    }

        .hero-section .carousel-caption {
            bottom: 15%;
            padding: 1rem;
        }

    .experience-badge {
        width: 100px;
        padding: 0.75rem;
    }

        .experience-badge h2 {
            font-size: 1.5rem;
        }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 45vh;
        max-height: 450px;
    }

        .hero-section .carousel-caption {
            bottom: 10%;
            text-align: center;
            left: 5%;
            right: 5%;
        }

            .hero-section .carousel-caption h1 {
                font-size: clamp(1.5rem, 3vw, 2rem);
            }

            .hero-section .carousel-caption p {
                font-size: clamp(0.85rem, 1.5vw, 1rem);
            }

    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 40vh;
        max-height: 400px;
    }

        .hero-section .carousel-caption h1 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem);
        }

    .section-title {
        font-size: clamp(1.5rem, 3vw, 1.8rem);
    }

    .cta-section {
        padding: 3rem 0;
    }
}

/* Transport Section - Ultra Modern Styling */
.transport-section {
    background: linear-gradient(180deg, #daebde 0%, #e0d3c8 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: black;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Transport Card - Crazy Hover Effects */
.transport-card {
    background: beige;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    height: 100%;
    transform-style: preserve-3d;
    border: 1px solid var(--secondary-color);
}

    .transport-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--secondary-color);
        z-index: -1;
        opacity: 0;
        transition: all 0.6s ease;
        transform: scale(0.9) rotateX(10deg);
    }

    .transport-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        border: none;
    }

        .transport-card:hover::before {
            opacity: 1;
            transform: scale(1) rotateX(0);
        }

/* Card Image Effects */
.transport-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

    .transport-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

.transport-card:hover .transport-img img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(0.9) contrast(1.1);
}

.transport-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--root-color);
    color: #315941;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 2;
}

.transport-card:hover .transport-badge {
    transform: translateY(-5px) scale(1.05);
    background: beige;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Card Content Styling */
.transport-content {
    padding: 20px;
    transition: all 0.6s ease;
}

.transport-card:hover .transport-content {
    transform: translateZ(10px);
}

.transport-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.transport-card:hover .transport-content h3 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.transport-content p {
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.transport-card:hover .transport-content p {
    color: rgba(255, 255, 255, 0.9);
}

.transport-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
    transition: all 0.4s ease;
}

.transport-card:hover .transport-meta {
    color: rgba(255, 255, 255, 0.8);
}

.transport-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
}


/* Floating Particles Effect */
.transport-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.transport-card:hover::after {
    opacity: 1;
}

.transport-card:hover span {
    color: beige;
}
/* Continuous Wobble Effect */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.transport-card {
    animation: subtleFloat 6s ease-in-out infinite;
}

    .transport-card:nth-child(2n) {
        animation-delay: 0.3s;
    }

    .transport-card:nth-child(3n) {
        animation-delay: 0.6s;
    }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .transport-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .transport-card:hover {
        transform: translateY(-5px);
    }

    .transport-img {
        height: 180px;
    }
}

/* Ultimate Facilities Section CSS */
.facilities-section {
    padding: 5rem 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #e0d3c8 0%,#daebde 100%);
}

/* Facility Cards - Ultimate Hover Effects */
.facility-card {
    background: var(--secondary-color);
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    height: 100%;
    position: relative;
}

.card-imagee {
    height: 220px;
    position: relative;
    overflow: hidden;
}

    .card-imagee img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    transition: all 0.5s ease;
}

.card-content {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: beige;
    
}

.content-wrapper {
    padding: 1.5rem;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
}

.card-content p {
    color: var(--secondary-color);
    margin-bottom: 0;
    line-height: 1.6;
    transition: all 0.4s ease;
}

.hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hover-wrapper {
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.hover-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.hover-content li {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

    .hover-content li i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
        color: var(--root-color) !important;
    }

    .hover-content li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .hover-content li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .hover-content li:nth-child(3) {
        transition-delay: 0.3s;
    }


/* Hover Effects - Perfected */
.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: none;
}

    .facility-card:hover .card-image img {
        transform: scale(1.1) rotate(1deg);
    }

    .facility-card:hover .image-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    }

    .facility-card:hover .content-wrapper {
        transform: translateY(-20px);
        opacity: 0;
    }

    .facility-card:hover .hover-content {
        opacity: 1;
        transform: translateY(0);
    }

    .facility-card:hover .hover-wrapper {
        transform: translateY(0);
    }

    .facility-card:hover .hover-content li {
        opacity: 1;
        transform: translateX(0);
    }





/* Responsive Design */
@media (max-width: 1200px) {
    .card-content {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .card-image {
        height: 200px;
    }

    .card-content {
        height: auto;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .card-image {
        height: 180px;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .facility-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* News Ticker Section CSS */

.news-ticker-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(325deg, #315941 0%, #315941 100%);
    color: beige;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .news-ticker-container::before,
    .news-ticker-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
        z-index: 2;
        pointer-events: none;
    }

    .news-ticker-container::before {
        left: 0;
        background: linear-gradient(90deg, rgba(15, 32, 39, 1) 0%, rgba(15, 32, 39, 0) 100%);
    }

    .news-ticker-container::after {
        right: 0;
        background: linear-gradient(90deg, rgba(15, 32, 39, 0) 0%, rgba(15, 32, 39, 1) 100%);
    }

.news-ticker-track {
    display: flex;
    align-items: center;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.news-ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    .news-ticker-item:hover {
        transform: scale(1.02);
        opacity: 0.9;
    }

    .news-ticker-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
    }

    .news-ticker-item:last-child::after {
        display: none;
    }

.ticker-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.15);
    animation: pulse 2s infinite;
}

.ticker-anc {
    text-decoration: none;
    color: inherit; 
    padding-left: 8px;
    display: inline;
}

.ticker-anc:hover {
        text-decoration: underline !important;
        color: var(--root-color);

}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .news-ticker-item {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .news-ticker-track {
        animation-duration: 30s;
    }

    .news-ticker-item {
        padding: 0 15px;
    }

    .ticker-badge {
        font-size: 0.6rem;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .news-ticker-track {
        animation-duration: 25s;
    }

    .news-ticker-item {
        padding: 0 12px;
    }

    .ticker-badge {
        display: none;
    }

    .news-ticker-item::after {
        width: 4px;
        height: 4px;
    }
}

/* Excellence Section - Modern Redesign */
.excellence-showcase {
    background: linear-gradient(180deg, #daebde 0%,#e0d3c8 100%);
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #212529;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}


.excellence-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.achievements-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.achievement-stat {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

    .achievement-stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: #f9a743;
    }

    .achievement-stat:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--root-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.85rem;
    color: beige;
    line-height: 1.4;
}

.performance-chart {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
}

.chart-label {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-weight: 500;
}

.toppers-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-left: auto;
}

.toppers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .toppers-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: black;
        margin: 0;
    }

.carousel-controls {
    display: flex;
    gap: 0.5rem;
}

    .carousel-controls button {
        background: var(--root-color);
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
    }

        .carousel-controls button:hover {
            background: #f1f3f5;
            transform: scale(1.05);
        }

        .carousel-controls button svg {
            fill: var(--secondary-color);
        }

.toppers-carousel-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.toppers-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.topper-card {
    flex: 0 0 calc(100% - 1.5rem);
    background: linear-gradient(135deg, var(--secondary-color), var(--root-color));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-medal {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
    z-index: 2;
}

.card-score {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
}

.card-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa, #e4e8ed);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--secondary-color);
}

.card-details {
    width: 100%;
}

.card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.card-subjects {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.subject-badge {
    background: #f1f5f9;
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-rank {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding-top: 0.75rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: #dee2e6;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }

        .carousel-indicators button.active {
            background: var(--secondary-color);
            transform: scale(1.2);
        }



/* Responsive Design */
@media (max-width: 1024px) {
    .excellence-content {
        flex-direction: column;
    }

    .toppers-container {
        max-width: 100%;
    }

    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .topper-card {
        flex: 0 0 calc(100% - 1rem);
    }

    .carousel-track {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .excellence-showcase {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .toppers-header h3 {
        font-size: 1.25rem;
    }

    .card-name {
        font-size: 1.1rem;
    }
}

/* Animation classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/*Notification Section*/
.notifications-section {
    background: linear-gradient(180deg,#daebde 0%, #e0d3c8 100%);
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #1a1a1a;
        position: relative;
        display: inline-block;
    }

.header-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    margin: 0 auto;
    border-radius: 2px;
}

.notifications-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.notifications-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    animation: scroll 40s linear infinite;
}

.notification-card {
    flex: 0 0 360px;
    background:var(--secondary-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0.92;
}

.notifications-track:hover .notification-card {
    opacity: 1;
}

.notification-card:nth-child(2n) {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 2;
    opacity: 1;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.notification-date {
    color: beige;
    font-weight: 500;
}

.notification-badge {
    background: var(--root-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.notification-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.notification-excerpt {
    font-size: 0.9375rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 0;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 0.75rem 1.75rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .view-all-btn:hover {
        background: #3b82f6;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    .view-all-btn svg {
        transition: transform 0.3s ease;
    }

    .view-all-btn:hover svg {
        transform: translateX(3px);
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-360px * 4 - 1.5rem * 3));
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .notifications-section {
        padding: 3rem 1.5rem;
    }

    .notification-card {
        flex: 0 0 320px;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-320px * 4 - 1.5rem * 3));
        }
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.875rem;
    }

    .notification-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }

    .notification-title {
        font-size: 1.125rem;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-280px * 4 - 1.5rem * 3));
        }
    }
}

@media (max-width: 640px) {
    .notifications-section {
        padding: 2.5rem 1rem;
    }

    .notification-card {
        flex: 0 0 240px;
        padding: 1.25rem;
    }

    .notification-title {
        font-size: 1rem;
    }

    .notification-excerpt {
        font-size: 0.875rem;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-240px * 4 - 1.5rem * 3));
        }
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.625rem;
    }

    .header-divider {
        width: 60px;
        height: 3px;
    }

    .notification-card {
        flex: 0 0 200px;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-200px * 4 - 1.5rem * 3));
        }
    }
}

/* YouTube Shorts Section */
.shorts-section {
    background: linear-gradient(180deg, #e0d3c8 0%, #daebde 100%);
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #1a1a1a;
}

.shorts-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.shorts-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.short-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.short-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.short-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.short-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .shorts-container {
        max-width: 900px;
    }

    .shorts-track {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .shorts-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .shorts-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .shorts-track {
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }
}

@media (max-width: 640px) {
    .shorts-track {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .shorts-section {
        padding: 2.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.625rem;
    }

    .header-divider {
        width: 60px;
        height: 3px;
    }
}

/* Resources Section */
.resources-section {
    background: linear-gradient(180deg, #daebde 0%,#e0d3c8 100%);
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.resources-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.resource-card {
    position: relative;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.prospectus-card .card-background {
    background: var(--gradient-green);
}

.magazine-card .card-background {
    background: var(--gradient-green);
}

.calendar-card .card-background {
    background: var(--gradient-green);
}

.cardcontent {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-icons {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

    .card-icons svg {
        stroke: var(--root-color);
    }

.cardtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: beige;
    transition: all 0.4s ease;
}

.card-description {
    font-size: 1rem;
    color: beige;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.card-hover-content {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: var(--root-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

.hover-link {
    font-weight: 600;
    color: var(--secondary-color);
}

.hover-arrow {
    stroke: var(--secondary-color);
    transition: transform 0.3s ease;
}

/* Hover Effects */
.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

    .resource-card:hover .card-background {
        transform: scale(1.1);
        filter: brightness(1.1);
    }

    .resource-card:hover .card-icons {
        transform: scale(1.1) translateY(-10px);
    }

    .resource-card:hover .cardtitle {
        transform: translateY(-10px);
    }

    .resource-card:hover .card-description {
        transform: translateY(-5px);
    }

    .resource-card:hover .card-hover-content {
        bottom: 0;
        opacity: 1;
    }

    .resource-card:hover .hover-arrow {
        transform: translateX(5px);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .resource-card {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .resource-card {
        height: 260px;
    }

    .resources-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .resources-grid {
        gap: 1.25rem;
    }

    .cardcontent {
        padding: 1.5rem;
    }

    .cardtitle {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.9rem;
    }
}

/* Floating Scroll Buttons */
.floating-scroll-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--root-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.8;
}

    .scroll-btn:hover {
        opacity: 1;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .scroll-btn:active {
        transform: translateY(1px);
    }

.scroll-up {
    background: var(--secondary-color);
}

.scroll-down {
    background: var(--secondary-color);
}

/* Hide buttons when not needed */
.scroll-btn.hidden {
    display: none;
}

/* Responsive design */
@@media (max-width: 768px) {
    .floating-scroll-buttons {
        right: 15px;
        bottom: 15px;
    }

    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}