@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary-color: #0F172A;
    --text-color: #0F172A;
    --text-muted: #64748B;
    --bg-color: #F8FAFC;
    --white: #ffffff;
    --accent-color: #F59E0B;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Mesh Gradient Background (Light Mode) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #F8FAFC 0%, #EFF6FF 100%);
    z-index: -1;
}

.modern-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px;
}

@media (max-width: 768px) {
    .modern-container {
        padding: 20px;
    }
}

.modern-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.modern-header {
    background:
        /* Modern Sporty Diagonal Grid */
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 20px),
        /* Darker Gradient for Premium Sporty Look */
        linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 58, 138, 0.6) 100%),
        /* Stadium Background Image */
        url('image/stadium_bg.png');
    background-size: 40px 40px, 40px 40px, cover, cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 20px;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Dynamic Light Streak */
.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-15deg);
    animation: lightStreak 8s infinite linear;
}

@keyframes lightStreak {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

.modern-header h1 {
    margin: 0;
    font-size: clamp(2rem, 10vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.modern-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 400;
    margin-top: 15px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    padding: 0 15px;
}



/* Typography & Content */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 0;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.label.btn {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: none;
    pointer-events: none;
    margin: 0 auto 25px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    display: block;
    width: fit-content;
}

/* Member Card Redesign */
.member-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.member-card h4 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.member-card h4 a:hover {
    color: var(--primary-color);
}

/* Director's Spotlight Card */
.director-spotlight-card {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 40px auto;
}

.director-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
    z-index: 0;
}

.director-spotlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.director-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 1;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    animation: pulseBorder 3s infinite ease-in-out;
}

@keyframes pulseBorder {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.director-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    transition: all 0.5s ease;
}

.director-spotlight-card:hover .director-image-wrapper img {
    transform: rotate(5deg) scale(1.1);
}

.director-info {
    text-align: center;
    z-index: 1;
}

.director-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.director-info .designation {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.director-info .credentials {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.director-action {
    z-index: 1;
    margin-top: 1rem;
}

.director-action .btn {
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    font-size: 0.95rem;
}

/* Footer */
.modern-footer {
    background: #ffffff;
    padding: 60px 20px 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
    text-align: center;
}

.footer-content p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Utility */
center h4.btn {
    background: linear-gradient(90deg, var(--primary-color), #3B82F6);
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 1.3rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.column.left {
    flex: 0 0 300px;
}

.column.middle {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 992px) {
    .column.left {
        flex: 1 1 100%;
        order: 2;
    }

    .column.middle {
        flex: 1 1 100%;
        order: 1;
    }

    .modern-sidebar {
        position: static;
        margin-top: 30px;
    }
}

/* Modern Grid Utility */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* List Styles */
ul {
    padding-left: 20px;
    color: var(--text-muted);
}

ul li {
    margin-bottom: 12px;
    position: relative;
}

ul li::marker {
    color: var(--primary-color);
}

/* Specific Navigation Alignment & Sidebar Styling */
.modern-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: sticky;
    top: 40px;
    box-shadow: var(--shadow);
}

.modern-sidebar h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.3rem;
    text-align: center;
}

.modern-sidebar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.modern-sidebar ul li {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.modern-sidebar ul li::marker,
.modern-sidebar ul li::before {
    display: none !important;
    content: none !important;
}

.modern-sidebar a.btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Consistent left alignment for text */
    width: 100%;
    background: var(--white);
    color: var(--text-color);
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-sidebar a.btn:hover,
.modern-sidebar a.btn.active {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
    transform: translateX(5px);
    /* Professional slide effect */
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.modern-sidebar a.btn i {
    margin-right: 12px;
}

/* Home Page Redesign Components */
.about-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-section-grid {
        grid-template-columns: 1fr;
    }
}

.about-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-visual:hover img {
    transform: scale(1.1);
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modern-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(360deg);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 60px 0;
}

/* Modern Image Carousel */
.modern-carousel-container {
    max-width: 1200px;
    margin: -30px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.modern-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--secondary-color);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.active .carousel-caption {
    transform: translateY(0);
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    width: 30px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .modern-carousel {
        height: 350px;
    }

    .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .modern-carousel-container {
        margin-top: -20px;
        margin-bottom: 40px;
    }
}