/* ============================================================
   Sports Page — Sports.css
   Extends: style.css (Satyadeo College Gouripur)
   ============================================================ */

/* ============================================================
   INNER PAGE BANNER  (same pattern as Principal-Message.css)
   ============================================================ */
.inner-page-banner {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue), var(--primary-blue-light)),
                url('../images/mini-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}

.inner-page-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(253, 163, 27, 0.10);
    pointer-events: none;
}

.inner-page-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.inner-banner-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-orange-light);
    margin-bottom: 14px;
}

.inner-banner-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.inner-banner-title span { color: var(--primary-orange-light); }

.inner-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.inner-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.inner-banner-breadcrumb a:hover { color: var(--primary-orange-light); }

.inner-banner-breadcrumb .separator {
    color: var(--primary-orange);
    font-size: 0.7rem;
}

.banner-dots {
    position: absolute;
    right: 8%; top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    opacity: 0.18;
}

.banner-dots span {
    display: block;
    width: 7px; height: 7px;
    background: var(--white);
    border-radius: 50%;
}

/* ============================================================
   SHARED TYPOGRAPHY
   ============================================================ */
.sp-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.sp-section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 12px;
}

.sp-section-title span { color: var(--primary-blue); }

.sp-section-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 0;
}

.sp-body-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 18px;
}

/* ============================================================
   INTRO / VISION STRIP
   ============================================================ */
.sp-intro-strip {
    padding: 80px 0 75px;
    background: var(--white);
}

/* Highlight points */
.sp-highlight-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--light-bg);
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid var(--light-grey);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(16px);
}

.sp-highlight-point.sp-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-highlight-point:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(17,110,99,0.18);
    transform: translateY(-3px);
}

.sp-hp-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    flex-shrink: 0;
}

.sp-hp-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sp-hp-text strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
}

.sp-hp-text span {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.5;
}

/* Stat cards */
.sp-stat-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.sp-stat-card.sp-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}

.sp-stat-1::before { background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-dark)); }
.sp-stat-2::before { background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark)); }
.sp-stat-3::before { background: linear-gradient(90deg, #1a7a6e, #27ae89); }
.sp-stat-4::before { background: linear-gradient(90deg, #6c3483, #9b59b6); }

.sp-stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.sp-stat-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin: 0 auto 14px;
}

.sp-stat-1 .sp-stat-icon { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); }
.sp-stat-2 .sp-stat-icon { background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark)); }
.sp-stat-3 .sp-stat-icon { background: linear-gradient(135deg, #1a7a6e, #27ae89); }
.sp-stat-4 .sp-stat-icon { background: linear-gradient(135deg, #6c3483, #9b59b6); }

.sp-stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.sp-stat-num span {
    font-size: 1.3rem;
    color: var(--primary-orange);
}

.sp-stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   SPORTS CATEGORIES
   ============================================================ */
.sp-categories-section {
    padding: 80px 0;
    background: var(--light-bg);
}

/* Department-style header */
.sp-cat-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.sp-cat-outdoor {
    background: linear-gradient(135deg, rgba(17,110,99,0.07), rgba(39,174,137,0.04));
    border: 1px solid rgba(17,110,99,0.18);
}

.sp-cat-indoor {
    background: linear-gradient(135deg, rgba(108,52,131,0.07), rgba(155,89,182,0.04));
    border: 1px solid rgba(108,52,131,0.18);
}

.sp-cat-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}

.sp-cat-outdoor .sp-cat-icon { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); }
.sp-cat-indoor  .sp-cat-icon { background: linear-gradient(135deg, #6c3483, #9b59b6); }

.sp-cat-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.sp-cat-sub {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

.sp-cat-badge {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 30px;
    flex-shrink: 0;
}

.sp-cat-badge.outdoor { background: rgba(17,110,99,0.12); color: var(--primary-blue); }
.sp-cat-badge.indoor  { background: rgba(108,52,131,0.12); color: #6c3483; }

/* Sport cards */
.sp-sport-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.sp-sport-card.sp-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-sport-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(17,110,99,0.2);
}

.sp-sport-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.sp-sport-outdoor::before { background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange)); }
.sp-sport-indoor::before  { background: linear-gradient(90deg, #6c3483, #9b59b6); }

.sp-sport-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17,110,99,0.06), rgba(253,163,27,0.04));
}

.sp-sport-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.sp-sport-card:hover .sp-sport-img { transform: scale(1.08); }

.sp-sport-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,110,99,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sp-sport-card:hover .sp-sport-img-overlay { opacity: 1; }

.sp-sport-body {
    padding: 16px 14px 18px;
    text-align: center;
}

.sp-sport-icon-wrap {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    margin: 0 auto 10px;
}

.sp-sport-icon-wrap.outdoor { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); }
.sp-sport-icon-wrap.indoor  { background: linear-gradient(135deg, #6c3483, #9b59b6); }

.sp-sport-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.sp-sport-type {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.sp-gallery-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--light-grey);
}

.sp-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.96);
}

.sp-gallery-item.sp-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.sp-gallery-tall { height: 380px; }
.sp-gallery-item:not(.sp-gallery-tall) { height: 175px; }

.sp-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.sp-gallery-item:hover .sp-gallery-img { transform: scale(1.06); }

.sp-gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, transparent 100%);
    color: var(--white);
    padding: 28px 16px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sp-gallery-item:hover .sp-gallery-caption { opacity: 1; }

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.sp-achievements-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.sp-achievement-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(22px);
}

.sp-achievement-card.sp-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.sp-achievement-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.sp-ach-year-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--light-bg);
    border: 1px solid var(--light-grey);
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
}

.sp-ach-icon-wrap {
    width: 62px; height: 62px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 28px 24px 0;
    flex-shrink: 0;
}

.sp-ach-icon-wrap.gold   { background: linear-gradient(135deg, #f39c12, #e67e22); box-shadow: 0 6px 18px rgba(243,156,18,0.35); }
.sp-ach-icon-wrap.silver { background: linear-gradient(135deg, #95a5a6, #7f8c8d); box-shadow: 0 6px 18px rgba(149,165,166,0.35); }
.sp-ach-icon-wrap.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); box-shadow: 0 6px 18px rgba(205,127,50,0.35); }

.sp-ach-body {
    padding: 18px 24px;
    flex: 1;
}

.sp-ach-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sp-ach-sport {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.sp-ach-desc {
    font-size: 0.87rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

.sp-ach-footer {
    padding: 12px 24px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.sp-ach-footer.level-univ  { background: rgba(17,110,99,0.08); color: var(--primary-blue); border-top: 1px solid rgba(17,110,99,0.1); }
.sp-ach-footer.level-inter { background: rgba(253,163,27,0.08); color: var(--primary-orange-dark); border-top: 1px solid rgba(253,163,27,0.15); }
.sp-ach-footer.level-dist  { background: rgba(108,52,131,0.08); color: #6c3483; border-top: 1px solid rgba(108,52,131,0.12); }

/* ============================================================
   ANNUAL SPORTS DAY SECTION
   ============================================================ */
.sp-sportsday-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--light-grey);
}

/* Timeline steps */
.sp-sday-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
    position: relative;
}

.sp-sday-timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-orange));
    border-radius: 2px;
}

.sp-sday-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-16px);
}

.sp-sday-step.sp-visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-sday-step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(17,110,99,0.35);
}

.sp-sday-step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
}

.sp-sday-step-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
}

.sp-sday-step-text span {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Sports Day photo grid */
.sp-sday-img-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    opacity: 0;
    transform: scale(0.95);
}

.sp-sday-img-wrap.sp-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.sp-sday-img-tall { height: 320px; }
.sp-sday-img-wrap:not(.sp-sday-img-tall) { height: 150px; }

.sp-sday-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sp-sday-img-wrap:hover .sp-sday-img { transform: scale(1.05); }

/* ============================================================
   INFRASTRUCTURE SECTION
   ============================================================ */
.sp-infra-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.sp-infra-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 26px;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.sp-infra-card.sp-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-infra-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
}

.sp-infra-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.sp-infra-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.sp-infra-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sp-infra-desc {
    font-size: 0.87rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 16px;
    flex: 1;
}

.sp-infra-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(17,110,99,0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(17,110,99,0.15);
}

/* ============================================================
   CLOSING STRIP
   ============================================================ */
.sp-closing-strip {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    position: relative;
    overflow: hidden;
}

.sp-closing-strip::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.sp-strip-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 14px;
}

.sp-strip-sub {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    font-weight: 500;
    margin: 0;
}

.btn-sp-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(253, 163, 27, 0.4);
    letter-spacing: 0.03em;
}

.btn-sp-home:hover {
    background: var(--primary-orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(253, 163, 27, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .inner-banner-title   { font-size: 2.2rem; }
    .sp-section-title     { font-size: 1.85rem; }

    .sp-cat-header        { flex-wrap: wrap; gap: 12px; }
    .sp-cat-badge         { margin-left: 0; }

    .sp-gallery-tall                             { height: 300px; }
    .sp-gallery-item:not(.sp-gallery-tall)       { height: 155px; }

    .sp-sday-img-tall     { height: 260px; }
    .sp-sday-img-wrap:not(.sp-sday-img-tall)     { height: 120px; }

    .sp-strip-title       { font-size: 1.45rem; }
}

@media (max-width: 767px) {
    .inner-page-banner    { padding: 52px 0 44px; }
    .inner-banner-title   { font-size: 1.75rem; }
    .banner-dots          { display: none; }

    .sp-intro-strip       { padding: 55px 0; }
    .sp-categories-section{ padding: 55px 0; }
    .sp-gallery-section   { padding: 55px 0; }
    .sp-achievements-section { padding: 55px 0; }
    .sp-sportsday-section { padding: 55px 0; }
    .sp-infra-section     { padding: 55px 0; }
    .sp-closing-strip     { padding: 44px 0; }

    .sp-section-title     { font-size: 1.6rem; }

    .sp-sport-img-wrap    { height: 110px; }

    .sp-gallery-tall                              { height: 240px; }
    .sp-gallery-item:not(.sp-gallery-tall)        { height: 140px; }

    .sp-sday-img-tall     { height: 200px; }
    .sp-sday-img-wrap:not(.sp-sday-img-tall)      { height: 100px; }

    .sp-strip-title       { font-size: 1.25rem; }
    .btn-sp-home          { padding: 12px 24px; }
}

@media (max-width: 480px) {
    .sp-stat-card         { padding: 20px 14px; }
    .sp-stat-num          { font-size: 1.75rem; }
    .sp-sport-img-wrap    { height: 100px; }
    .sp-gallery-tall      { height: 200px; }
}
