/* ==========================================
   CLUBS PAGE - ENHANCED VERSION
   Advanced animations and styling
========================================== */

/* Import AOS */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

* {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

/* ==========================================
   ENHANCED HERO SECTION
========================================== */
.clubs-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    padding: 90px 20px 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubs-hero h1 {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin: 20px 0 !important;
    color: #333 !important;
}

.clubs-hero p {
    color: #333 !important;
}

/* Background shapes with enhanced animations */
.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    filter: blur(60px);
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #2c4c9c, #6096b4);
    top: -200px;
    right: -200px;
    animation: morphShape 25s ease-in-out infinite;
}

.bg-circle-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #6096b4, #2c4c9c);
    bottom: -150px;
    left: -150px;
    animation: morphShape 30s ease-in-out infinite reverse;
}

/* Enhanced floating shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.shape-float {
    position: absolute;
    background: linear-gradient(135deg, rgba(44, 76, 156, 0.1), rgba(96, 150, 180, 0.15));
    backdrop-filter: blur(10px);
    opacity: 0.7;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%;
    top: 10%;
    left: 8%;
    animation: floatShape 20s ease-in-out infinite, rotate 30s linear infinite;
}

.shape-2 {
    width: 160px;
    height: 160px;
    border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
    top: 15%;
    right: 10%;
    animation: floatShape 25s ease-in-out infinite reverse, rotate 40s linear infinite reverse;
    animation-delay: 2s;
}

.shape-3 {
    width: 140px;
    height: 140px;
    border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%;
    bottom: 20%;
    left: 12%;
    animation: floatShape 22s ease-in-out infinite, rotate 35s linear infinite;
    animation-delay: 4s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 15%;
    right: 15%;
    animation: floatShape 28s ease-in-out infinite reverse, rotate 45s linear infinite reverse;
    animation-delay: 6s;
}

/* Dots decoration */
.dot-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #2c4c9c;
    border-radius: 50%;
    opacity: 0.2;
    animation: dotFloat 10s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.dot:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.dot:nth-child(2) { top: 30%; right: 20%; animation-delay: 2s; }
.dot:nth-child(3) { bottom: 25%; left: 18%; animation-delay: 4s; }
.dot:nth-child(4) { bottom: 35%; right: 25%; animation-delay: 6s; }
.dot:nth-child(5) { top: 50%; left: 50%; animation-delay: 8s; }

/* Corner accents with glow */
.corner-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}

.corner-top-left {
    top: 40px;
    left: 40px;
    border-top: 3px solid rgba(44, 76, 156, 0.2);
    border-left: 3px solid rgba(44, 76, 156, 0.2);
    animation: expandCorner 4s ease-in-out infinite;
}

.corner-bottom-right {
    bottom: 40px;
    right: 40px;
    border-bottom: 3px solid rgba(44, 76, 156, 0.2);
    border-right: 3px solid rgba(44, 76, 156, 0.2);
    animation: expandCorner 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.wave-decoration {
    width: 180px;
    opacity: 0.2;
    margin: 0 auto 20px;
    display: block;
    animation: wave 3s ease-in-out infinite;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 700;
    color: #2c4c9c;
    letter-spacing: 3px;
    margin-bottom: 25px;
    opacity: 0.9;
    text-transform: uppercase;
}

.clubs-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.clubs-hero h1 span {
    color: #2c4c9c;
    position: relative;
    display: inline-block;
    background: #2c4c9c;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clubs-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a6c8f;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.clubs-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-hero,
.btn-hero-filled {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero {
    background: linear-gradient(135deg, #2c4c9c, #4a6bb5);
    color: #fff;
    box-shadow: 0 8px 25px rgba(44, 76, 156, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Remove default focus outline */
.btn-hero:focus,
.btn-hero:focus-visible {
    outline: none !important;
}

/* Custom focus ring with premium glow */
.btn-hero:focus-visible {
    box-shadow: 
        0 8px 25px rgba(44, 76, 156, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.3),
        0 0 0 6px rgba(44, 76, 156, 0.8),
        0 0 25px rgba(44, 76, 156, 0.5);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero::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;
}

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

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 76, 156, 0.4);
    color: #fff;
}

.btn-hero-filled {
    background: rgba(44, 76, 156, 0.1);
    color: #2c4c9c;
    border: 2px solid #2c4c9c;
}

.btn-hero-filled:hover {
    background: #2c4c9c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 76, 156, 0.3);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(44, 76, 156, 0.1);
}

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

.hero-stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c4c9c;
    margin-bottom: 5px;
    line-height: 1;
}

.hero-stat-item p {
    font-size: 0.9rem;
    color: #5a6c8f;
    font-weight: 600;
    margin: 0;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #2c4c9c;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
    opacity: 0.6;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #2c4c9c;
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

/* ==========================================
   CLUBS SECTION - ENHANCED
========================================== */
.clubs-section {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

.clubs-section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.clubs-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.clubs-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 40px 0;
}

/* Enhanced filter section */
.club-filter-section {
    margin-bottom: 50px;
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 25px;
    background: rgba(44, 76, 156, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(44, 76, 156, 0.1);
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.filter-label i {
    color: #2c4c9c;
}

.custom-select {
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid rgba(44, 76, 156, 0.2);
    border-radius: 10px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.custom-select:focus {
    border-color: #2c4c9c;
    box-shadow: 0 0 0 4px rgba(44, 76, 156, 0.1);
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid rgba(44, 76, 156, 0.1);
}

.view-btn {
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #5a6c8f;
}

.view-btn.active {
    background: #2c4c9c;
    color: #fff;
}

.view-btn:hover:not(.active) {
    background: rgba(44, 76, 156, 0.1);
}

.clubs-count {
    font-weight: 700;
    color: #333;
    padding: 12px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(44, 76, 156, 0.1);
}

.clubs-count span {
    color: #2c4c9c;
    font-size: 1.3rem;
}

/* Enhanced Club Cards */
.club-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 76, 156, 0.08);
    border: 1px solid rgba(44, 76, 156, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.club-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c4c9c, #6096b4, #2c4c9c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 2;
}

.club-card:hover::before {
    transform: scaleX(1);
}

.club-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(44, 76, 156, 0.2);
}

/* Club badge corner */
.club-badge-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.badge-corner {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.badge-corner.central {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.badge-corner.departmental {
    background: linear-gradient(135deg, #2c4c9c, #6096b4);
}

.club-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.club-card:hover .club-image img {
    transform: scale(1.15) rotate(2deg);
}

.image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 1;
}

.club-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 76, 156, 0.95), rgba(96, 150, 180, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.club-card:hover .club-overlay {
    opacity: 1;
}

.btn-learn-more {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c4c9c;
    padding: 16px 36px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(44, 76, 156, 0);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
}

/* Remove ALL default focus outlines */
.btn-learn-more:focus,
.btn-learn-more:focus-visible {
    outline: none !important;
}

/* Custom focus ring with glow effect */
.btn-learn-more:focus-visible {
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.9),
        0 0 0 6px rgba(44, 76, 156, 0.6),
        0 0 20px rgba(44, 76, 156, 0.4);
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Enhanced hover state */
.btn-learn-more:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e8eef5 100%);
    transform: translateY(-3px) scale(1.05);
    gap: 16px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(44, 76, 156, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Nested link styles */
.btn-learn-more .btn-view-details {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    outline: none !important;
    position: relative;
    z-index: 1;
}

/* Remove focus from nested link */
.btn-learn-more .btn-view-details:focus,
.btn-learn-more .btn-view-details:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Icon animation on hover */
.btn-learn-more:hover .fa-arrow-right {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.btn-learn-more .fa-arrow-right {
    transition: transform 0.3s ease;
}

.club-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.club-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.club-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    flex: 1;
}

.club-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 193, 7, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    flex-shrink: 0;
}

.club-rating i {
    color: #FFC107;
    font-size: 14px;
}

.club-rating span {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
}

.club-content p {
    font-size: 0.95rem;
    color: #5a6c8f;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.club-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid rgba(44, 76, 156, 0.1);
}

.club-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.club-type-badge,
.club-dept {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.club-type-badge {
    background: rgba(44, 76, 156, 0.1);
    color: #2c4c9c;
}

.club-dept {
    background: rgba(96, 150, 180, 0.1);
    color: #6096b4;
}

.club-members {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5a6c8f;
    font-size: 0.9rem;
    font-weight: 600;
}

.club-members i {
    color: #2c4c9c;
}

/* No clubs message enhanced */
.no-clubs-message {
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 60px 20px;
}

.no-clubs-content {
    text-align: center;
    padding: 50px;
    background: rgba(44, 76, 156, 0.03);
    border-radius: 20px;
    border: 2px dashed rgba(44, 76, 156, 0.2);
}

.no-clubs-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(44, 76, 156, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-clubs-icon i {
    font-size: 3rem;
    color: #2c4c9c;
}

.no-clubs-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.no-clubs-content p {
    color: #5a6c8f;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Enhanced Modal */
.enhanced-modal .modal-header {
    background: linear-gradient(135deg, #2c4c9c 0%, #4a6bb5 100%);
    color: #fff;
    border-radius: 20px 20px 0 0;
    border: none;
    padding: 25px 35px;
}

.enhanced-modal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.enhanced-modal .modal-body {
    padding: 35px;
}

.club-modal-header {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(44, 76, 156, 0.1);
}

.club-modal-image {
    flex-shrink: 0;
    position: relative;
}

.club-modal-image img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modal-logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(44, 76, 156, 0.1), transparent);
}

.club-modal-info {
    flex-grow: 1;
}

.badge-type {
    display: inline-block;
    background: rgba(44, 76, 156, 0.15);
    color: #2c4c9c;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-quick-info {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6c8f;
    font-size: 0.9rem;
}

.quick-info-item i {
    color: #2c4c9c;
}

.club-modal-details .detail-item h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.club-modal-details .detail-item h6 i {
    color: #2c4c9c;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.fee-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #2c4c9c !important;
}

.fee-amount small {
    font-size: 1rem;
    font-weight: 600;
    color: #5a6c8f;
}

.payment-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333 !important;
    font-family: 'Courier New', monospace !important;
}

.enhanced-modal .modal-footer {
    padding: 25px 35px;
    border-top: 2px solid rgba(44, 76, 156, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eligibility-message {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dc3545;
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
}

.btn-apply {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
}

/* Stats Section Enhanced */
.stats-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f9fafb 100%);
    overflow: hidden;
    isolation: isolate;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.stats-header p {
    font-size: 1.2rem;
    color: #5a6c8f;
}

.stat-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(44, 76, 156, 0.08);
    border: 1px solid rgba(44, 76, 156, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #2c4c9c;
    transform: scaleX(0);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(44, 76, 156, 0.2);
}

.stat-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.stat-card:hover .stat-icon-wrapper {
    background: #2c4c9c;
    transform: scale(1.1) rotate(10deg);
}

.stat-icon i {
    color: #2c4c9c;
    transition: all 0.5s ease;
}

.stat-card:hover .stat-icon i {
    color: #ffffff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: #5a6c8f;
    font-weight: 600;
    margin: 0;
}

/* About Section Enhanced */
.about-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f9fafb 100%);
    overflow: hidden;
    isolation: isolate;
}

.about-tabs .nav-tabs {
    border: none;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.about-tabs .nav-link {
    background: #ffffff;
    border: 2px solid rgba(44, 76, 156, 0.2);
    color: #5a6c8f;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-tabs .nav-link i {
    font-size: 18px;
}

.about-tabs .nav-link.active {
    background: linear-gradient(135deg, #2c4c9c, #4a6bb5);
    color: #ffffff;
    border-color: #2c4c9c;
    box-shadow: 0 8px 25px rgba(44, 76, 156, 0.3);
}

.about-tabs .nav-link:hover:not(.active) {
    border-color: #2c4c9c;
    color: #2c4c9c;
    transform: translateY(-2px);
}

.about-tab-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content-wrapper {
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(44, 76, 156, 0.1);
    border: 1px solid rgba(44, 76, 156, 0.08);
}

.about-content-wrapper h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c4c9c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-content-wrapper p {
    color: #5a6c8f;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.vision-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vision-list li {
    padding: 15px 0;
    color: #5a6c8f;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.vision-list li:hover {
    padding-left: 10px;
    color: #2c4c9c;
}

.vision-list i {
    color: #2c4c9c;
    font-size: 20px;
    flex-shrink: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c4c9c, #4a6bb5);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(44, 76, 156, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(44, 76, 156, 0.4);
}

/* ==========================================
   ANIMATIONS
========================================== */
@keyframes morphShape {
    0%, 100% { border-radius: 50%; transform: scale(1) rotate(0deg); }
    33% { border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%; transform: scale(1.1) rotate(5deg); }
    66% { border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%; transform: scale(0.95) rotate(-5deg); }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-15px) translateX(-15px); }
    75% { transform: translateY(-25px) translateX(15px); }
}

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

@keyframes dotFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.2; }
    50% { transform: translateY(-25px); opacity: 0.4; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(44, 76, 156, 0.3); }
    50% { box-shadow: 0 0 20px rgba(44, 76, 156, 0.6); }
}

@keyframes expandCorner {
    0%, 100% { width: 80px; height: 80px; opacity: 0.2; }
    50% { width: 100px; height: 100px; opacity: 0.4; }
}

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

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 992px) {
    .clubs-hero { padding: 100px 20px 80px; min-height: 75vh; }
    .clubs-hero h1 { font-size: 3rem; }
    .hero-stats { gap: 25px; padding: 25px; }
    .hero-stat-item h4 { font-size: 2rem; }
    .clubs-section, .about-section, .stats-section { padding: 80px 0; }
    .clubs-section-header h2, .stats-header h2 { font-size: 2.5rem; }
    .filter-wrapper { flex-direction: column; align-items: stretch; }
    .filter-left, .filter-right { width: 100%; justify-content: space-between; }
    .detail-row { grid-template-columns: 1fr; }
    .about-tabs .nav-tabs { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .clubs-hero { padding: 80px 20px 60px; min-height: 70vh; }
    .clubs-hero h1 { font-size: 2.2rem; }
    .clubs-description { font-size: 1rem; }
    .clubs-buttons { flex-direction: column; align-items: center; }
    .btn-hero, .btn-hero-filled { width: 100%; max-width: 300px; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .clubs-section, .about-section, .stats-section { padding: 60px 0; }
    .clubs-section-header { margin-bottom: 40px; }
    .clubs-section-header h2, .stats-header h2 { font-size: 2rem; }
    .club-image { height: 220px; }
    .floating-shapes, .dot-decoration { display: none; }
    .about-tabs .nav-link { padding: 12px 20px; font-size: 14px; }
    .about-content-wrapper { padding: 30px 20px; }
    .club-modal-header { flex-direction: column; align-items: center; text-align: center; }
    .modal-quick-info { justify-content: center; }
    .enhanced-modal .modal-body { padding: 25px; }
    .enhanced-modal .modal-footer { flex-direction: column; gap: 15px; }
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}

@media (max-width: 576px) {
    .hero-tagline { font-size: 11px; letter-spacing: 2px; }
    .clubs-hero h1 { font-size: 1.8rem; }
    .clubs-section-header h2, .stats-header h2 { font-size: 1.75rem; }
    .clubs-subtitle, .stats-header p { font-size: 1rem; }
    .filter-wrapper { padding: 20px; }
    .custom-select { min-width: 100%; }
    .club-content { padding: 22px; }
    .club-content h3 { font-size: 1.2rem; }
    .stat-card { padding: 35px 25px; }
    .stat-number { font-size: 2.5rem; }
    .about-tabs .nav-link { padding: 10px 16px; font-size: 13px; gap: 6px; }
    .about-tabs .nav-link i { font-size: 16px; }
}

/* Print Styles */
@media print {
    .floating-shapes, .dot-decoration, .bg-shapes,
    .about-bg-shapes, .campus-bg-shapes, .rundown-bg-shapes,
    .about-floating-dots, .campus-floating-dots, .rundown-floating-dots,
    .back-to-top, .scroll-indicator { display: none; }

    .club-card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #2c4c9c, #6096b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading States */
.loading {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Smooth Transitions */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Focus States for Accessibility */
a:focus, button:focus, select:focus {
    outline: 3px solid rgba(44, 76, 156, 0.5);
    outline-offset: 3px;
}

/* Selection Color */
::selection {
    background: rgba(44, 76, 156, 0.2);
    color: #333;
}
