/* ======================================================
   GENERAL
   ====================================================== */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f9f9f9;
    color: #333;
}

body,
button,
input,
select,
textarea {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    font-weight: 600;
}

.btn,
.learn-more-btn {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    font-weight: 600;
}

:root {
    --primary: #2e73b9;
    --accent: #ffd200;
    --light: #ffffff;
    --dark: #0f2233;
}

/* ================================
   SPORTS PAGE STYLES
================================ */

/* -------------------- FEATURED VIDEO -------------------- */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 40%;
    /* keeps short hero strip */
    height: 0;
    overflow: hidden;
    background: #000;
    /* hides any edge gaps cleanly */
}

/* Video behaves like YouTube iframe again */
.video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    /* IMPORTANT — prioritize landscape width */
    transform: translate(-50%, -50%);
    object-fit: contain;
    /* preserve full frame */
}


/* -------------------- FLOATING VIDEO CONTROLS -------------------- */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.video-controls.show {
    opacity: 1;
    pointer-events: auto;
}

.video-controls.show .video-control {
    animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    }
}


.video-control {
    background: rgba(255, 255, 255, 0);
    /* keep transparent */
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    /* Glow effect */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    /* subtle halo blur */
}

.video-control:hover {
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}


.video-control svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.mute-icon,
.unmute-icon {
    width: 100%;
    height: 100%;
}

/* -------------------- SPORTS INFO - PROFESSIONAL + PREMIUM -------------------- */

.sports-info {
    padding: 90px 20px;
    background:
        linear-gradient(135deg, #f0f4ff 0%, #ffffff 60%),
        radial-gradient(circle at top right, rgba(46, 115, 185, .08), transparent 50%);
    color: #222;
}

.sports-info .container {
    max-width: 1200px;
    margin: auto;
}

/* Layout */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Cards */
.info-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 45px 35px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(46, 115, 185, .12);
    transition: all 0.4s cubic-bezier(.2, .8, .2, 1);
    overflow: hidden;
}

/* Gradient border – SAFE version */
.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: 0;
}

/* Inner white layer so content doesn't get covered */
.info-card>* {
    position: relative;
    z-index: 1;
}

/* White background layer inside the gradient border */
.info-card {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2e73b9, #2fb3a3) border-box;
    border: 2px solid transparent;
}


/* Glow */
.info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(46, 115, 185, .15), transparent 60%);
    opacity: 0;
    transition: 0.5s ease;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 115, 185, .25);
}

/* Icon */
.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004aad, #1b4f87);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(46, 115, 185, .35);
}

.info-icon svg {
    width: 34px;
    height: 34px;
    fill: white;
}

/* Headings */
.info-card h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: var(--primary);
    letter-spacing: -0.4px;
}

/* Text */
.info-card p {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
}

/* ===================== Responsive ===================== */

@media (max-width: 1024px) {
    .info-card {
        padding: 38px 28px;
    }

    .info-card h3 {
        font-size: 25px;
    }

    .info-card p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .info-card {
        padding: 32px 24px;
    }

    .info-card h3 {
        font-size: 22px;
    }

    .info-card p {
        font-size: 16px;
    }

    .info-grid {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 26px 18px;
    }

    .info-card h3 {
        font-size: 20px;
    }

    .info-card p {
        font-size: 15px;
    }

    .info-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .info-icon svg {
        width: 28px;
        height: 28px;
    }
}




/* -------------------- SPORTS PROGRAMS SECTION -------------------- */
.sports-programs {
    padding: 80px 20px;
    background-color: var(--light);
    font-family: 'Poppins', sans-serif;
}

.sports-programs h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary);
}

/* Grid layout for cards: 3 in first row, 2 in second row, centered */
.sports-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center rows */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.sport-card {
    background-color: #f8f8f8;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex: 1 1 280px;
    /* Minimum width 280px, flexible */
    max-width: 320px;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.sport-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 15px 15px 0 0;
}

.sport-card .content {
    padding: 15px 20px;
}

.sport-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.sport-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* -------------------- GALLERY MODAL -------------------- */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* spacing on mobile */
}

.gallery-modal.show {
    display: flex;
}

.gallery-content {
    position: relative;
    max-width: 900px;
    /* fixed width */
    width: 100%;
    max-height: 80%;
    /* scale height proportionally */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    /* ensure image never exceeds 80% viewport height */
    border-radius: 12px;
    object-fit: contain;
    display: block;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* allow clicks to pass to buttons only */
}

.gallery-nav button {
    background: rgba(0, 0, 0, 0.4);
    color: var(--light);
    border: none;
    padding: 12px 18px;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    /* re-enable button clicks */
    transition: all 0.3s;
}

.gallery-nav button:hover {
    background: var(--primary);
    color: var(--light);
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 1024px) {
    .gallery-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .gallery-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .gallery-content {
        max-width: 100%;
    }

    .close-modal {
        font-size: 32px;
        top: 10px;
        right: 15px;
    }

    .gallery-nav button {
        padding: 10px 15px;
        font-size: 24px;
    }
}


/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 1024px) {
    .video-control {
        width: 55px;
        height: 55px;
    }

    .video-control svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 40%;
    }

    .video-control {
        width: 50px;
        height: 50px;
    }

    .video-control svg {
        width: 26px;
        height: 26px;
    }

    .video-controls {
        gap: 15px;
        bottom: 15px;
    }

    .sport-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        padding-bottom: 45%;
    }

    .video-control {
        width: 45px;
        height: 45px;
    }

    .video-control svg {
        width: 22px;
        height: 22px;
    }

    .video-controls {
        gap: 10px;
        bottom: 12px;
    }
}


/* -------------------- INSTAGRAM CAROUSEL -------------------- */
.instagram-feed {
    padding: 80px 20px;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
}

.instagram-feed h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.instagram-feed .subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: #555;
}

/* CTA button */
.instagram-cta {
    text-align: center;
    margin-bottom: 30px;
}

.instagram-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instagram-btn:hover {
    background-color: var(--accent);
    color: var(--dark);
}

/* Swiper container */
.swiper.instagram-swiper {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* Individual slide */
.swiper-slide.insta-slide {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image/video inside slide - taller versions */
.swiper-slide.insta-slide img,
.swiper-slide.insta-slide video {
    width: 100%;
    height: 450px;
    /* increased from 250px */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Pop-up effect for center slide */
.swiper-slide-active {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Adjacent slides slightly smaller */
.swiper-slide-next,
.swiper-slide-prev {
    transform: scale(1.01);
    z-index: 1;
}

/* Non-adjacent slides */
.swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
    transform: scale(0.98);
    z-index: 0;
}

/* Hover overlay */
.swiper-slide.insta-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: 12px;
}

.swiper-slide.insta-slide:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

/* Caption & likes below post */
.insta-slide .insta-info {
    padding: 12px 10px;
    background: #fff;
    border-top: 1px solid #ddd;
    border-radius: 0 0 12px 12px;
    text-align: left;
    flex-shrink: 0;
}

.insta-slide .insta-info .caption {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.insta-slide .insta-info .likes {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.insta-slide .insta-info .likes .heart {
    font-size: 14px;
    color: #e74c3c;
}

/* Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
}

/* Disabled left arrow */
.swiper-button-prev.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Pagination bullets */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {

    .swiper-slide.insta-slide img,
    .swiper-slide.insta-slide video {
        height: 260px;
        /* increased from 220px */
    }
}


@media (max-width: 768px) {

    .swiper-slide.insta-slide img,
    .swiper-slide.insta-slide video {
        height: 220px;
    }
}

@media (max-width: 480px) {

    .swiper-slide.insta-slide img,
    .swiper-slide.insta-slide video {
        height: 180px;
    }

    .insta-slide .insta-info .caption {
        font-size: 13px;
    }

    .insta-slide .insta-info .likes {
        font-size: 12px;
    }

    .insta-slide .insta-info .likes .heart {
        font-size: 13px;
    }
}

/* Instagram handle style */
.insta-handle {
    font-weight: 600;
    color: var(--primary);
    margin-right: 5px;
}

/* Compact Inquiry Form Styles */
.inquiry-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

.inquiry-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2e73b9;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 180px;
    padding: 12px;
    margin: 20px auto 0;
    display: block;
    background: #2e73b9;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #245c93;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}