@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #F8FAFC;
    color: #1E293B;
    line-height: 1.6;
}

/* ==================== NAVBAR – Professional Dark ==================== */
.navbar {
    padding: 14px 0;
    background: #0F172A !important;        /* very dark navy */
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: #0F172A !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-size: 1.7rem;
    font-weight: 700;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: #F59E0B;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 4px;
    color: #CBD5E1 !important;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #FFFFFF !important;
    background: rgba(255,255,255,0.08);
}

.nav-link.active {
    color: #FFFFFF !important;
    background: rgba(255,255,255,0.12);
}

/* Remove underline indicator from active – clean hover only */

/* Login button – subtle gradient, compact */
.navbar .btn-primary.rounded-pill {
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    border: none;
    border-radius: 8px !important;
    color: white;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(30,58,138,0.3);
}

.navbar .btn-primary.rounded-pill:hover {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30,58,138,0.4);
}

/* Hide the old outline button */
.navbar .btn-outline-light {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==================== OWL CAROUSEL HERO ==================== */
.hero-section {
    margin-top: 76px;
}

.hero-carousel .hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15,23,42,0.7) !important;
    width: 50px;
    height: 80px;
    border-radius: 0 10px 10px 0 !important;
    font-size: 28px !important;
    color: white !important;
    transition: 0.3s;
}

.hero-carousel .owl-nav button:hover {
    background: #0F172A !important;
}

.hero-carousel .owl-prev {
    left: 0;
}

.hero-carousel .owl-next {
    right: 0;
    border-radius: 10px 0 0 10px !important;
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.hero-carousel .owl-dot span {
    background: rgba(255,255,255,0.5);
}

.hero-carousel .owl-dot.active span {
    background: #F59E0B;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #0F172A, #1E3A8A);
    color: white;
}

.stat-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
}

.stat-card i {
    margin-bottom: 12px;
    color: #F59E0B;
}

.stat-card h2 {
    font-size: 3rem;
    font-weight: 700;
    margin: 8px 0;
}

.stat-card p {
    color: #CBD5E1;
    font-weight: 500;
}

/* ==================== GENERAL SECTIONS ==================== */
.section {
    padding: 90px 0;
}

.bg-light {
    background: #F1F5F9;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
    font-size: 2.6rem;
    font-weight: 700;
    color: #0F172A;
    position: relative;
    padding-bottom: 20px;
}

.section-title i {
    color: #1E3A8A;
    margin-right: 12px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1E3A8A;
    border-radius: 2px;
}

/* ==================== CARDS (Notifications, Events, Alumni) ==================== */
.notification-card, .event-card, .alumni-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    border: 1px solid #E2E8F0;
}

.notification-card:hover, .event-card:hover, .alumni-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: #CBD5E1;
}

.notification-card .date, .event-card .event-date {
    font-size: 0.85rem;
    color: #1E3A8A;
    font-weight: 600;
}

/* ==================== FEEDBACK ==================== */
.feedback-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.feedback-item {
    background: white;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-left: 5px solid #1E3A8A;
}

.feedback-name {
    font-weight: 600;
    color: #0F172A;
}

.rating-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0F172A;
    border-left: 4px solid #1E3A8A;
    padding-left: 14px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #1E3A8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.contact-details p {
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #F1F5F9;
    border-radius: 50%;
    margin-right: 10px;
    color: #1E3A8A;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    background: #1E3A8A;
    color: white;
    transform: translateY(-3px);
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card .form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    transition: 0.3s;
}

.contact-form-card .form-control:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.15);
    background: white;
}

.contact-form-card textarea.form-control {
    min-height: 130px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: none;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 45px 0 25px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer a {
    color: #CBD5E1;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #F59E0B;
    padding-left: 4px;
}

/* ==================== BUTTONS & FORMS (Global) ==================== */
.btn-primary {
    background: #1E3A8A;
    border: none;
    padding: 11px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    color: white;
    box-shadow: 0 4px 12px rgba(30,58,138,0.2);
}

.btn-primary:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,58,138,0.35);
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 11px 16px;
    border: 1px solid #CBD5E1;
    background: white;
    transition: 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.15);
    outline: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-carousel .hero-slide {
        height: 70vh;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .stat-card h2 {
        font-size: 2.2rem;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    .navbar-nav {
        background: #0F172A;
        padding: 20px;
        border-radius: 10px;
    }
    .contact-wrapper {
        gap: 30px;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 25px;
    }
    .map-container iframe {
        height: 260px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeInUp {
    animation: fadeInUp 1s ease;
}

/* ==================== STAR RATING ==================== */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: color 0.2s;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: #F59E0B;
}

.feedback-card {
    border-radius: 16px;
    border: none;
    transition: transform 0.3s;
}

.feedback-card:hover {
    transform: translateY(-4px);
}

/* ==================== ALUMNI ==================== */
.alumni-filter .filter-btn {
    background: white;
    border: 1px solid #CBD5E1;
    padding: 7px 20px;
    margin: 4px;
    border-radius: 30px;
    font-weight: 500;
    color: #334155;
    transition: 0.3s;
}

.alumni-filter .filter-btn.active,
.alumni-filter .filter-btn:hover {
    background: #1E3A8A;
    color: white;
    border-color: #1E3A8A;
}

/* ==================== EVENTS ==================== */
.event-card .card-img-top {
    transition: transform 0.3s;
}

.event-card:hover .card-img-top {
    transform: scale(1.03);
}

/* ==================== SPORTS TABS & CARDS ==================== */
.sports-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 0;
    height: 3px;
    background: #1E3A8A;
    transition: width 0.3s;
}

.tab-btn.active {
    color: #1E3A8A;
}

.tab-btn.active::after {
    width: 100%;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.sport-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.sport-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.sport-img {
    height: 200px;
    overflow: hidden;
}

.sport-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sport-card:hover .sport-img img {
    transform: scale(1.06);
}

.sport-info {
    padding: 20px;
}

.sport-coach {
    color: #475569;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.sport-schedule {
    background: #F8FAFC;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.section-title {
    background-image: linear-gradient(135deg, #1E3A8A, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;   /* needed for the gradient to clip correctly */
    margin: 0 auto 50px;
    padding-bottom: 20px;
}