/* Modern School Website Styles */
:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0284c7;
    --accent-color: #38bdf8;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0f9ff;
    --border-color: #e0f2fe;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0icmdiYSgwLDAsMCwwLjAyKSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PC9zdmc+');
    opacity: 0.6;
    z-index: 1;
}

.video-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-preview:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.video-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.video-preview:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.play-button-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.video-preview:hover .play-button-wrapper {
    opacity: 1;
    visibility: visible;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    transform: scale(0.8);
    opacity: 0;
    animation: pulse 2s infinite;
}

.video-preview:hover .play-button {
    transform: scale(1);
    opacity: 1;
}

.play-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
    opacity: 0.7;
}

.play-button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(14, 165, 233, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

.video-content {
    position: relative;
    z-index: 2;
    padding-right: 30px;
    animation: fadeInLeft 0.8s ease-out;
}

.video-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.video-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.video-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #495057;
}

.video-features {
    margin: 30px 0;
    text-align: left;
}

.video-features li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #343a40;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-features li:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.video-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.video-content .lead {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.video-features li {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    color: #495057;
    display: flex;
    align-items: center;
}

.video-features i {
    margin-right: 0.75rem;
    font-size: 1.2em;
}

@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);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .video-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .video-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .video-preview {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-content h2 {
        font-size: 2rem;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

/* Modal Video */
.modal-content {
    border: none;
    background: transparent;
}

.modal-backdrop.show {
    opacity: 0.9;
    background: #000;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close-white:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animation Keyframes */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

/* Animation Classes */
.animate-slide-in-left {
    animation: slideInFromLeft 1s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInFromRight 1s ease-out forwards;
}

.animate-slide-in-bottom {
    animation: slideInFromBottom 1s ease-out forwards;
}

.animate-fade-out {
    animation: fadeOut 0.8s ease-out forwards;
}

/* Hero Content Animation */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: transparent !important;
    transition: all 0.5s ease;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#heroCarousel {
    height: 100%;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

/* Light hero variant: use when hero has no dark background image */
.hero-section.light {
    color: #1a1a1a; /* dark text */
}

.hero-section.light .hero-badge,
.hero-section.light .hero-title,
.hero-section.light .hero-subtitle {
    color: #1a1a1a;
}

/* Soft hero: subtle background and divider for pages with plain hero */
.hero-section.soft {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.hero-section.light .hero-title {
    font-weight: 700;
    color: #0f1724;
}

.hero-section.light .hero-subtitle {
    color: #475569;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title.display-4 {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .hero-subtitle.lead {
        font-size: 1rem;
    }

    .hero-content-wrapper {
        padding: 1.5rem;
    }

    .hero-stats .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title.display-4 {
        font-size: 1.6rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .stat-item .stat-number {
        font-size: 1.4rem;
    }

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

/* Make images scale nicely */
img.img-fluid, .card img {
    max-width: 100%;
    height: auto;
}

/* Improve card spacing on small screens */
@media (max-width: 767.98px) {
    .card.h-100 {
        min-height: auto;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    animation: fadeInUp 0.8s ease-out;
    background: transparent !important;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: floatBadge 3s ease-in-out infinite;
}

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

.hero-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .text-gradient {
    background: linear-gradient(90deg, #fff, #e0f2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 600px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0 30px;
    perspective: 1000px;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.12));
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #fff, #e0f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    margin: 35px 0 25px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.features-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.1rem;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

/* Sports Highlight */
.sports-highlight {
    margin: 30px 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.sports-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.2), rgba(255, 215, 0, 0.15));
    color: #ffd700;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.25);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sports-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

.sports-badge i {
    margin-right: 8px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-buttons .btn:hover::before {
    opacity: 1;
}

.hero-buttons .btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    backdrop-filter: blur(5px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for CTA button */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.pulse-btn {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.pulse-btn:hover {
    animation: none;
}

.hero-buttons .btn i {
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    height: 100%;
    min-height: 400px;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.achievement-card {
    top: 20px;
    left: -20px;
    width: 180px;
    text-align: center;
    animation-delay: 0.5s;
}

.rating-card {
    bottom: 20px;
    right: -20px;
    width: 140px;
    text-align: center;
    animation-delay: 1s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    /* Ensure the container takes full viewport */
    width: 100%;
    height: 100%;
    /* Add a subtle overlay to ensure text is readable */
    background: rgba(0,0,0,0.3);
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: #000; /* Fallback background */
    /* Force hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Ensure video is always visible */
    min-width: 100%;
    min-height: 100%;
    /* Center the video */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.video-control-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5; /* Higher z-index to ensure it's clickable */
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-control-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.video-control-btn i {
    font-size: 1.2rem;
}

/* Ensure content stays above video */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Fallback for mobile devices */
@media (max-width: 768px) {
    #hero-video {
        display: none;
    }
    
    .hero-background {
        background: linear-gradient(135deg, #0c7db9 0%, #02669e 50%, #0ea5e9 100%);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(2n) {
    animation-direction: reverse;
}

.floating-icon:nth-child(3n) {
    animation-duration: 8s;
}

.hero-badge {
    display: inline-block;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item-inline {
    text-align: center;
}

.stat-number-inline {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-label-inline {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.image-frame:hover .hero-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.achievement-card {
    top: 20px;
    right: -20px;
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation-delay: 1s;
}

.rating-card {
    bottom: 20px;
    left: -20px;
    width: 180px;
    text-align: center;
    animation-delay: 2s;
}

.card-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.card-content h6 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

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

.stars {
    color: #ffc107;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.rating-text strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.rating-text small {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
}

.pulse-btn {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

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

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

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #38bdf8 100%); }
    50% { background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%); }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 1.5rem 0 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: rgba(255,255,255,0.95);
    max-width: 640px;
    line-height: 1.7;
    font-weight: 400;
}

/* Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Features Grid */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-tag i {
    margin-right: 0.5rem;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Sports Highlight */
.sports-highlight {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.sports-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
}

.card:hover::before {
    left: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(14,165,233,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.enhanced-stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Features Grid */
.feature-item {
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.feature-item:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

/* News Cards */
.news-card {
    overflow: hidden;
    height: 100%;
}

.news-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px -5px rgba(14, 165, 233, 0.5);
    animation: buttonGlow 0.6s ease-in-out;
}

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

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 15px 35px -5px rgba(14, 165, 233, 0.5); }
    50% { box-shadow: 0 20px 40px -5px rgba(14, 165, 233, 0.7); }
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

/* Page Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    z-index: 1000;
    transition: width 0.1s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

.bg-light {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%) !important;
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(14,165,233,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bg-gradient {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.shadow-custom {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

/* Slide In Animations */
@keyframes slideInLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Gallery Preview Cards for Carousel */
.gallery-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 250px;
}

.gallery-preview-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.gallery-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-preview-card:hover img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-preview-card:hover .preview-overlay {
    transform: translateY(0);
}

.preview-overlay h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.preview-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Carousel Custom Styling */
.carousel-indicators {
    margin-bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .row {
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonials-section .col-lg-4,
.testimonials-section .col-md-6 {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.testimonial-card {
    background: white !important;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    margin-bottom: 2rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
    transition: left 0.6s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(14, 165, 233, 0.2);
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.testimonial-card:hover .testimonial-image {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

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

.testimonial-info h6 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-rating {
    margin-left: auto;
    color: #ffc107;
    font-size: 0.9rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-content p {
    margin: 0;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    bottom: -30px;
    right: 10px;
    opacity: 0.3;
    font-family: serif;
}

/* Responsive Design Updates */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-content-wrapper {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin: 1.5rem auto 2.5rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
    
    .floating-card {
        position: relative;
        margin: 1rem auto;
        width: 100%;
        max-width: 250px;
    }
    
    .achievement-card,
    .rating-card {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        margin: 1rem 0;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonial-rating {
        margin-left: 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Interactive Features */
.interactive-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.6s ease;
}

.interactive-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.25);
    border-color: rgba(14, 165, 233, 0.3);
}

.interactive-card:hover::before {
    left: 100%;
}

.card-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.interactive-card:hover .card-icon-large {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.interactive-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.interactive-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-action {
    position: relative;
    z-index: 2;
}

.card-action .btn {
    transition: all 0.3s ease;
}

.interactive-card:hover .card-action .btn {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Enhanced CTA Section - Improved Contrast */
.section.bg-gradient,
.cta-section, /* fallback for any .cta-section class */
.cta-section.bg-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 100%) !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(14,165,233,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-content, .cta-section .cta-content {
    position: relative;
    z-index: 2;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cta-content h2, .cta-content p, .cta-content .stat-number-cta, .cta-content .stat-label-cta {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cta-stats .stat-item-cta {
    color: #fff !important;
}

.cta-features .feature-highlight {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.cta-features .feature-highlight i {
    color: #38bdf8 !important;
}

.cta-content .btn,
.cta-content .btn.btn-outline-light {
    color: #fff !important;
    border-color: #fff !important;
}

.cta-content .btn.btn-light {
    color: #0ea5e9 !important;
    background: #fff !important;
    border: none;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    .cta-content p {
        font-size: 1rem;
    }
}

/* Enhanced Carousel */
.enhanced-carousel {
    position: relative;
}

.enhanced-carousel .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.enhanced-carousel .carousel-item {
    transition: transform 0.8s ease-in-out;
}

.enhanced-carousel .carousel-item.active {
    transform: scale(1.02);
}

/* Interactive Map Placeholder */
.interactive-map-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-legend {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

/* Live Chat Function */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.live-chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.6);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .interactive-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .cta-stats {
        gap: 1.5rem;
    }
    
    .stat-number-cta {
        font-size: 2rem;
    }
    
    .cta-features {
        gap: 1rem;
    }
    
    .feature-highlight {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .shape {
        display: none;
    }
}

/* Enhanced Stats Section */
.stats-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #38bdf8 100%) !important;
    position: relative !important;
    overflow: visible !important;
    padding: 80px 0 !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

.stats-section .container {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.stats-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.enhanced-stat-item {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    padding: 2rem 1.5rem !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: auto !important;
    min-height: 200px !important;
    position: relative !important;
    overflow: visible !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
    margin-bottom: 30px !important;
}

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

.enhanced-stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.enhanced-stat-item:hover::before {
    left: 100%;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.enhanced-stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin: 0.5rem 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0.5rem 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

/* Enhanced Features Section */
.features-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(14,165,233,0.05)" points="0,0 100,0 50,100"/><polygon fill="rgba(56,189,248,0.03)" points="0,100 100,100 50,0"/></svg>');
    animation: float 25s ease-in-out infinite;
}

.section-header {
    position: relative;
    z-index: 2;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.divider-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 1rem;
    animation: pulse 2s infinite;
}

.enhanced-feature-card {
    background: white !important;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    margin-bottom: 2rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.enhanced-feature-card .card-body {
    padding: 0;
}

.enhanced-feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

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

.enhanced-feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.enhanced-feature-card:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

.enhanced-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
    transition: left 0.6s ease;
}

.enhanced-feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.25);
    border-color: rgba(14, 165, 233, 0.3);
}

.enhanced-feature-card:hover::before {
    left: 100%;
}

.enhanced-feature-card .feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
}

.enhanced-feature-card .feature-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
}

.enhanced-feature-card:hover .feature-icon-bg {
    width: 120px;
    height: 120px;
}

.enhanced-feature-card .feature-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
}

.enhanced-feature-card .feature-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.enhanced-feature-card .feature-highlight {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.1));
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-block;
    position: relative;
    z-index: 2;
    margin-top: 1rem;
}

.enhanced-feature-card .highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Enhanced News Section */
.news-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.news-section .container {
    position: relative;
    z-index: 2;
}

.news-section .row {
    visibility: visible !important;
    opacity: 1 !important;
}

.news-section .col-lg-4,
.news-section .col-md-6 {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.enhanced-news-card {
    background: white !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(14, 165, 233, 0.1);
    margin-bottom: 2rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.enhanced-news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.2);
}

.news-image-container {
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.enhanced-news-card:hover .news-image {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: visible !important;
}

.enhanced-news-card:hover .news-overlay {
    opacity: 1;
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

.news-category.sports {
    background: #10b981;
}

.news-category.education {
    background: #f59e0b;
}

.news-actions {
    display: flex;
    gap: 0.5rem;
}

.news-actions .btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    visibility: visible !important;
    opacity: 1 !important;
}

.news-date, .news-author {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-views {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Enhanced Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.gallery-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gallery-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(14,165,233,0.1)"/><circle cx="75" cy="75" r="2" fill="rgba(56,189,248,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(14,165,233,0.05)"/><circle cx="10" cy="90" r="1" fill="rgba(56,189,248,0.05)"/></svg>');
    animation: float 30s ease-in-out infinite;
}

/* Mobile Responsive Updates for Enhanced Sections */
@media (max-width: 768px) {
    .enhanced-stat-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .enhanced-feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .enhanced-news-card {
        margin-bottom: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .divider-line {
        width: 30px;
    }
    
    .divider-icon {
        margin: 0 0.5rem;
    }
}

/* Explore Section */
.explore-section .container {
    position: relative;
    z-index: 2;
}

.explore-section .row {
    visibility: visible !important;
    opacity: 1 !important;
}

.explore-section .col-lg-4,
.explore-section .col-md-6 {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.explore-section .interactive-card {
    background: white !important;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    margin-bottom: 2rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.explore-section .interactive-card * {
    visibility: visible !important;
    opacity: 1 !important;
}
