/* =====================================================
   DAYO MAJOR ACHIEVEMENTS PAGE CSS
===================================================== */

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #F9F7F3;
    color: #000000;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/* =========================
   DAYO COLORS
========================= */

:root {
    --dayo-sky: #87CEEB;
    --dayo-green: #1B5E20;
    --dayo-black: #000000;
    --dayo-white: #FFFFFF;
    --dayo-grey: #A9A9A9;
    --dayo-soft: #F9F7F3;
}

/* =========================
   SHARED
========================= */

.sectionTag {
    display: inline-block;
    background: rgba(135, 206, 235, 0.38);
    color: var(--dayo-green);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* =====================================================
   HERO SECTION
===================================================== */

.achieveHero {
    position: relative;
    height: 72vh;
    min-height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: var(--dayo-white);
}

.achieveHeroImg {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    animation: achieveHeroZoom 15s ease-in-out infinite alternate;
}

.achieveHeroOverlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(27, 94, 32, 0.86),
            rgba(0, 0, 0, 0.62)
        ),
        radial-gradient(
            circle at top left,
            rgba(135, 206, 235, 0.25),
            transparent 45%
        );
    z-index: 1;
}

.achieveHero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    background: rgba(135, 206, 235, 0.2);
    border-radius: 50%;
    filter: blur(120px);
    top: -150px;
    left: -110px;
    z-index: 2;
    animation: achieveFloatGlow 8s ease-in-out infinite;
}

.achieveHeroContent {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    padding: 20px;
    animation: achieveFadeUp 1s ease both;
}

.achieveHeroContent span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--dayo-white);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}

.achieveHeroContent h1 {
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.38);
}

.achieveHeroContent p {
    max-width: 760px;
    margin: auto;
    color: #eeeeee;
    font-size: 16px;
    line-height: 1.9;
}

/* =====================================================
   INTRO SECTION
===================================================== */

.achieveIntro {
    padding: 80px 6% 55px;
    background: var(--dayo-soft);
}

.achieveIntroContent {
    max-width: 920px;
    margin: auto;
    text-align: center;
}

.achieveIntroContent h2 {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--dayo-green);
    line-height: 1.25;
    margin-bottom: 16px;
}

.achieveIntroContent p {
    max-width: 820px;
    margin: auto;
    color: #555;
}

/* =====================================================
   ACHIEVEMENTS SECTION
===================================================== */

.achievementsSection {
    padding: 70px 6% 95px;
    background: var(--dayo-soft);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.achievementCard {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 25px;
    background: var(--dayo-white);
    border-radius: 26px;
    padding: 35px;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.07);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.achievementCard::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(135, 206, 235, 0.22);
    border-radius: 50%;
    top: -110px;
    right: -110px;
}

.achievementCard.featured {
    border-left: 7px solid var(--dayo-green);
}

.achievementCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.13);
}

.achievementIcon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--dayo-green), #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dayo-white);
    font-size: 30px;
    box-shadow: 0 12px 25px rgba(27, 94, 32, 0.25);
    position: relative;
    z-index: 2;
}

.achievementContent {
    position: relative;
    z-index: 2;
}

.achievementContent span {
    display: inline-block;
    font-size: 42px;
    font-weight: 800;
    color: rgba(27, 94, 32, 0.18);
    line-height: 1;
    margin-bottom: 8px;
}

.achievementContent h2 {
    font-size: clamp(23px, 3vw, 32px);
    color: var(--dayo-green);
    line-height: 1.25;
    margin-bottom: 14px;
}

.achievementContent p {
    color: #444;
    margin-bottom: 12px;
    line-height: 1.9;
}

/* =====================================================
   STATS SECTION
===================================================== */

.achievementStats {
    padding: 75px 6%;
    background: var(--dayo-white);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.achievementStatBox {
    background: linear-gradient(145deg, #ffffff, #f4fbfd);
    text-align: center;
    padding: 32px 20px;
    border-radius: 22px;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
    position: relative;
    overflow: hidden;
    transition: 0.35s ease;
}

.achievementStatBox::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -55px;
    right: -45px;
    background: rgba(135, 206, 235, 0.32);
    border-radius: 50%;
}

.achievementStatBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.achievementStatBox h2 {
    position: relative;
    z-index: 2;
    color: var(--dayo-green);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 6px;
}

.achievementStatBox p {
    position: relative;
    z-index: 2;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

/* =====================================================
   CTA SECTION
===================================================== */

.achieveCTA {
    position: relative;
    padding: 95px 6%;
    background:
        linear-gradient(
            135deg,
            rgba(27, 94, 32, 0.97),
            rgba(0, 0, 0, 0.82)
        );
    color: var(--dayo-white);
    text-align: center;
    overflow: hidden;
}

.achieveCTA::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: rgba(135, 206, 235, 0.18);
    border-radius: 50%;
    filter: blur(120px);
    top: -170px;
    left: 50%;
    transform: translateX(-50%);
}

.achieveCTAContent {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
}

.achieveCTAContent span {
    display: inline-block;
    color: var(--dayo-sky);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.achieveCTAContent h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.25;
    margin-bottom: 18px;
}

.achieveCTAContent p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #eeeeee;
    line-height: 1.9;
}

.achieveCTAContent a {
    display: inline-flex;
    background: var(--dayo-sky);
    color: var(--dayo-black);
    padding: 14px 32px;
    border-radius: 35px;
    font-weight: 800;
    transition: 0.3s ease;
}

.achieveCTAContent a:hover {
    background: var(--dayo-white);
    color: var(--dayo-green);
    transform: translateY(-4px);
}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes achieveFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes achieveHeroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes achieveFloatGlow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(35px);
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {
    .achievementStats {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievementCard {
        grid-template-columns: 1fr;
    }

    .achievementIcon {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .achieveHero {
        height: 65vh;
        min-height: 420px;
    }

    .achieveHeroContent h1 {
        font-size: 38px;
    }

    .achieveHeroContent p {
        font-size: 14px;
    }

    .achieveIntro {
        padding: 65px 5% 40px;
    }

    .achievementsSection,
    .achievementStats,
    .achieveCTA {
        padding: 65px 5%;
    }

    .achievementCard {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .achievementStats {
        grid-template-columns: 1fr;
    }

    .achievementContent span {
        font-size: 34px;
    }
}