/* ===================================================== */
/* ROOT VARIABLES & GENERAL STYLES                       */
/* ===================================================== */

:root {
    --navy: #001634;
    --navy-light: #071f3d;
    --navy-card: #08213f;

    --gold: #d9a448;
    --gold-light: #efc66d;

    --white: #ffffff;

    --text-dark: #1c2b3c;
    --text-muted: #697586;

    --light-bg: #f4f6f8;
    --border-light: #dde3e9;
}

body {
    background: var(--light-bg);
}

section {
    position: relative;
}

/* ===================================================== */
/* SECTION HEADING                                       */
/* ===================================================== */

.section-heading {
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading p {
    max-width: 620px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.section-heading.text-center p {
    margin-right: auto;
    margin-left: auto;
}

/* ===================================================== */
/* HERO SECTION                                          */
/* ===================================================== */

.achievements-hero {

    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 90px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 30%, rgba(217, 164, 72, 0.15), transparent 28%),
        linear-gradient(135deg, #001634, #031d3b 55%, #06172c);
}

.hero-content {
    padding-top: 20px;
    position: relative;
    z-index: 3;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-label i {
    font-size: 16px;
}

.hero-content h1 {
    max-width: 700px;
    margin-bottom: 22px;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.08;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.9;
}

/* Hero Decoration */

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(217, 164, 72, 0.15);
    border-radius: 50%;
}

.decoration-one {
    width: 650px;
    height: 650px;
    top: -250px;
    right: -150px;
}

.decoration-two {
    width: 420px;
    height: 420px;
    bottom: -220px;
    left: 35%;
}

/* ===================================================== */
/* HERO AWARD VISUAL & TROPHY                            */
/* ===================================================== */

.hero-award-visual {
    position: relative;
    width: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(217, 164, 72, 0.12);
    filter: blur(45px);
}

.main-award-icon {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(217, 164, 72, 0.4);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(217, 164, 72, 0.15), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 70px rgba(217, 164, 72, 0.1);
}

.main-award-icon i {
    color: var(--gold);
    font-size: 95px;
}

.award-circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.circle-one {
    width: 310px;
    height: 310px;
}

.circle-two {
    width: 410px;
    height: 410px;
}

/* Floating Badges */

.award-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 26, 50, 0.85);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
}

.award-badge i {
    color: var(--gold);
    font-size: 16px;
}

.badge-top {
    top: 15%;
    right: 15%;
}

.badge-left {
    bottom: 20%;
    left: 0;
}

.badge-right {
    bottom: 12%;
    right: 5%;
}

/* Hero Trophy Effects */

.hero-trophy {
    position: relative;
    animation: trophyFloat 5s ease-in-out infinite;
}

.hero-trophy::before {
    content: "";
    position: absolute;
    width: 130%;
    height: 130%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(217, 164, 72, 0.35);
    animation: trophyPulse 3s ease-out infinite;
}

.hero-trophy::after {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(217, 164, 72, 0.12);
    animation: trophyPulse 3s ease-out infinite 1s;
}

.hero-trophy i {
    position: relative;
    z-index: 2;
}

/* ===================================================== */
/* STATISTICS                                            */
/* ===================================================== */

.achievement-statistics {
    padding: 110px 0;
    background: linear-gradient(180deg, #ffffff, #f3f5f7);
}

.achievement-statistics .section-heading {
    margin-bottom: 55px;
}

.achievement-stat-card {
    position: relative;
    height: 100%;
    padding: 38px 30px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s ease;
}

.achievement-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 22, 52, 0.1);
}

.achievement-stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 12px;
    background: rgba(217, 164, 72, 0.1);
    color: var(--gold);
    font-size: 27px;
}

.achievement-stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
}

.achievement-stat-card h5 {
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
}

.achievement-stat-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* ===================================================== */
/* FEATURED ACHIEVEMENT                                  */
/* ===================================================== */

.featured-achievement {
    padding-bottom: 110px;
    background: #f3f5f7;
}

.featured-card {
    position: relative;
    padding: 65px;
    overflow: hidden;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, #001634, #06284b);
}

.featured-pattern {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -220px;
    right: -100px;
    border: 70px solid rgba(217, 164, 72, 0.04);
    border-radius: 50%;
}

.featured-icon {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border: 1px solid rgba(217, 164, 72, 0.35);
    border-radius: 50%;
    color: var(--gold);
    font-size: 90px;
    background: rgba(255, 255, 255, 0.03);
}

.featured-label {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.featured-label i {
    margin-right: 8px;
}

.featured-card h2 {
    max-width: 700px;
    margin-bottom: 20px;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
}

.featured-card h2 span {
    color: var(--gold);
}

.featured-card p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.9;
}

.featured-line {
    width: 90px;
    height: 3px;
    margin-top: 30px;
    background: var(--gold);
}

/* ===================================================== */
/* CERTIFICATES                                          */
/* ===================================================== */

.certificates-section {
    padding: 110px 0;
    background: var(--white);
}

.certificate-highlight-card {
    position: relative;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff, #f6f7f8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 22, 52, 0.08);
}

.certificate-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.certificate-top i {
    color: var(--gold);
    font-size: 25px;
}

.certificate-score {
    margin: 40px 0;
}

.certificate-score small {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
}

.certificate-score strong {
    color: var(--gold);
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
}

.certificate-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 11px;
}

.certificate-bottom i {
    color: var(--gold);
}

/* ===================================================== */
/* SAT HIGHLIGHT                                         */
/* ===================================================== */

.sat-highlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
    padding: 35px 45px;
    overflow: hidden;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, #031a34, #0a2d52);
}

.sat-icon {
    position: relative;
    z-index: 2;
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(217, 164, 72, 0.12);
    color: var(--gold);
    font-size: 35px;
}

.sat-content {
    position: relative;
    z-index: 2;
}

.sat-content>span {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.sat-content h3 {
    margin: 5px 0 8px;
    font-size: 35px;
    font-weight: 800;
}

.sat-content h3 strong {
    color: var(--gold);
    font-size: 48px;
}

.sat-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.sat-decoration {
    position: absolute;
    right: 30px;
    color: rgba(255, 255, 255, 0.04);
    font-size: 150px;
    font-weight: 800;
}

/* ===================================================== */
/* OLYMPIADS                                             */
/* ===================================================== */

.olympiads-section {
    padding: 110px 0;
    background: linear-gradient(180deg, #f3f5f7, #ffffff);
}

.olympiad-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
}

.olympiad-summary i {
    color: var(--gold);
    font-size: 35px;
}

.olympiad-summary strong {
    display: block;
    color: var(--gold);
    font-size: 42px;
    line-height: 1;
}

.olympiad-summary span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

/* ===================================================== */
/* PLACE CARDS                                           */
/* ===================================================== */

.place-card {
    position: relative;
    min-height: 360px;
    padding: 35px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.place-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 22, 52, 0.1);
}

.place-medal {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 28px;
}

.place-number {
    margin-bottom: 12px;
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
}

.place-card h4 {
    margin-bottom: 25px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 800;
}

.place-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.place-card li {
    position: relative;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid rgba(0, 22, 52, 0.08);
    color: var(--text-dark);
    font-size: 13px;
}

.place-card li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

/* First place */

.first-place {
    border: 1px solid rgba(217, 164, 72, 0.45);
}

.first-place .place-number,
.first-place .place-medal {
    color: var(--gold);
}

.first-place li::before {
    background: var(--gold);
}

/* Second place */

.second-place {
    border: 1px solid #c5cbd2;
}

.second-place .place-number,
.second-place .place-medal {
    color: #7f8b97;
}

.second-place li::before {
    background: #7f8b97;
}

/* Third place */

.third-place {
    border: 1px solid rgba(166, 111, 71, 0.35);
}

.third-place .place-number,
.third-place .place-medal {
    color: #a66f47;
}

.third-place li::before {
    background: #a66f47;
}

/* ===================================================== */
/* SPORTS                                                */
/* ===================================================== */

.sports-section {
    padding: 110px 0;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(217, 164, 72, 0.1), transparent 35%),
        linear-gradient(135deg, #001634, #061e3a);
}

.sports-section .section-heading h2 {
    color: var(--white);
}

.sports-section .section-heading p {
    color: rgba(255, 255, 255, 0.6);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 55px;
}

.sport-achievement-card {
    position: relative;
    min-height: 340px;
    padding: 35px 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    transition: background 0.3s ease, transform 0.3s ease;
}

.sport-achievement-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
}

.sport-year {
    position: absolute;
    top: 25px;
    right: 25px;
    color: rgba(255, 255, 255, 0.12);
    font-size: 35px;
    font-weight: 800;
}

.sport-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    border-radius: 50%;
    background: rgba(217, 164, 72, 0.12);
    color: var(--gold);
    font-size: 30px;
}

.sport-achievement-card>span {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.sport-achievement-card h4 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.sport-achievement-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.8;
}

/* ===================================================== */
/* TIMELINE                                              */
/* ===================================================== */

.achievements-timeline-section {
    padding: 110px 0;
    background: var(--white);
}

.achievement-timeline {
    position: relative;
    max-width: 900px;
    margin: 70px auto 0;
}

.achievement-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 150px;
    width: 1px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.timeline-year {
    position: relative;
    color: var(--gold);
    font-size: 32px;
    font-weight: 800;
    text-align: right;
}

.timeline-year::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -45px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(217, 164, 72, 0.12);
}

.timeline-content {
    padding: 25px 30px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: #fafbfc;
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
}

.timeline-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* ===================================================== */
/* FINAL CTA                                             */
/* ===================================================== */

.achievement-cta {
    padding: 70px 0;
    color: var(--white);
    background: linear-gradient(135deg, #001634, #08294b);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content span {
    display: block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.cta-content h2 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(26px, 4vw, 45px);
    font-weight: 800;
}

.cta-content strong {
    color: var(--gold);
}

.cta-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(217, 164, 72, 0.35);
    border-radius: 50%;
    color: var(--gold);
    font-size: 45px;
}

/* ===================================================== */
/* ANIMATIONS & SCROLL REVEAL                            */
/* ===================================================== */

@keyframes trophyPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    40% {
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes trophyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-down {
    transform: translateY(-50px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-scale {
    transform: scale(0.88);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

.achievement-card,
.stat-card,
.result-card,
.sport-card {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.3s ease;
}

.achievement-card.is-visible,
.stat-card.is-visible,
.result-card.is-visible,
.sport-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-active {
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18),
        0 0 25px rgba(217, 164, 72, 0.12);
}

/* ===================================================== */
/* RESPONSIVE MEDIA QUERIES                              */
/* ===================================================== */

@media (max-width: 1199px) {

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .badge-left {
        left: 5%;
    }
}

@media (max-width: 991px) {
    .achievements-hero {
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-award-visual {
        margin-top: 60px;
    }

    .featured-card {
        padding: 50px;
    }

    .featured-icon {
        width: 170px;
        height: 170px;
        font-size: 70px;
    }

    .olympiad-summary {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .achievements-hero {
        padding: 130px 0 70px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-award-visual {
        min-height: 330px;
    }

    .main-award-icon {
        width: 160px;
        height: 160px;
    }

    .main-award-icon i {
        font-size: 70px;
    }

    .circle-one {
        width: 230px;
        height: 230px;
    }

    .circle-two {
        width: 300px;
        height: 300px;
    }

    .badge-top {
        top: 0;
        right: 0;
    }

    .badge-left {
        bottom: 5%;
    }

    .badge-right {
        right: 0;
    }

    .achievement-statistics,
    .certificates-section,
    .olympiads-section,
    .sports-section,
    .achievements-timeline-section {
        padding: 80px 0;
    }

    .featured-card {
        padding: 35px 25px;
    }

    .sat-highlight {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .sat-decoration {
        font-size: 100px;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 35px;
    }

    .achievement-timeline::before {
        left: 5px;
    }

    .timeline-year {
        text-align: left;
    }

    .timeline-year::after {
        top: 14px;
        left: -35px;
        right: auto;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .award-badge {
        padding: 8px 10px;
        font-size: 8px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .achievement-stat-card strong {
        font-size: 48px;
    }

    .featured-icon {
        width: 130px;
        height: 130px;
        font-size: 55px;
    }

    .certificate-score strong {
        font-size: 60px;
    }
}