﻿body {
    background: #ffffff;
    overflow-x: hidden;
}

/* ========================= */
/* HERO SECTION */
/* ========================= */

.achievement-hero {
    position: relative;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
    padding: 120px 0;
}

    /* LIGHT MODERN BACKGROUND EFFECTS */

    .achievement-hero::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: rgba(0,212,255,0.08);
        border-radius: 50%;
        top: -150px;
        left: -150px;
        filter: blur(100px);
    }

    .achievement-hero::after {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        background: rgba(0,159,242,0.08);
        border-radius: 50%;
        bottom: -150px;
        right: -150px;
        filter: blur(100px);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
}

/* ========================= */
/* HERO CONTENT */
/* ========================= */

.hero-tag {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(0,212,255,0.10);
    border: 1px solid rgba(0,212,255,0.25);
    color: #009ff2;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-title {
    color: #081120;
    font-size: 74px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
}

    .hero-title span {
        color: #00b7ff;
        text-shadow: 0 0 18px rgba(0,183,255,0.20);
    }

.hero-text {
    color: #5c6672;
    font-size: 18px;
    line-height: 1.9;
    max-width: 650px;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.hero-buttons {
    margin-top: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 16px 38px;
    border-radius: 50px;
    background: linear-gradient(135deg,#009ff2,#00d4ff);
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,212,255,0.25);
}

    .hero-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 35px rgba(0,212,255,0.35);
        color: #fff;
    }

.hero-btn-outline {
    display: inline-block;
    padding: 16px 38px;
    border-radius: 50px;
    border: 1px solid rgba(8,17,32,0.10);
    background: #ffffff;
    color: #081120;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
}

    .hero-btn-outline:hover {
        background: #081120;
        color: #fff;
    }

/* ========================= */
/* IMAGE CARD */
/* ========================= */

.hero-image-card {
    position: relative;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 32px;
    padding: 25px;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    overflow: hidden;
}

    .hero-image-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(0,212,255,0.08), transparent );
    }

.hero-machine {
    border-radius: 24px;
    position: relative;
    z-index: 2;
    animation: floating 5s ease-in-out infinite;
}

@keyframes floating {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ========================= */
/* STATS SECTION */
/* ========================= */

.stats-section {
    padding: 110px 0;
    background: #f7fbff;
}

.stats-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 28px;
    padding: 45px 35px;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

    .stats-card:hover {
        transform: translateY(-10px);
        border-color: rgba(0,212,255,0.35);
        box-shadow: 0 25px 50px rgba(0,212,255,0.15);
    }

    .stats-card h2 {
        color: #00b7ff;
        font-size: 56px;
        font-weight: 900;
    }

    .stats-card p {
        color: #5f6875;
        margin-top: 12px;
        font-size: 16px;
    }

/* ========================= */
/* PROJECTS SECTION */
/* ========================= */

.projects-section {
    padding: 120px 0;
    background: #ffffff;
}

.section-title span {
    color: #00b7ff;
    letter-spacing: 3px;
    font-weight: 700;
}

.section-title h2 {
    color: #081120;
    font-size: 52px;
    font-weight: 900;
    margin-top: 14px;
}

/* ========================= */
/* PROJECT CARD */
/* ========================= */

.project-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 30px;
    padding: 42px 35px;
    overflow: hidden;
    transition: 0.45s;
    min-height: 320px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.05);
}

    .project-card::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        background: rgba(0,212,255,0.06);
        border-radius: 50%;
        top: -60px;
        right: -60px;
        transition: 0.4s;
    }

    .project-card:hover {
        transform: translateY(-12px);
        border-color: rgba(0,212,255,0.30);
        box-shadow: 0 28px 55px rgba(0,212,255,0.14);
    }

        .project-card:hover::before {
            transform: scale(1.2);
        }

.project-number {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 68px;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
}

.project-card h4 {
    color: #081120;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.project-card p {
    color: #5c6672;
    line-height: 1.9;
    position: relative;
    z-index: 2;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:991px) {

    .hero-title {
        font-size: 48px;
    }

    .section-title h2 {
        font-size: 38px;
    }

    .achievement-hero {
        padding: 100px 0;
    }

    .hero-buttons a {
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
}
/* REMOVE GAP BELOW NAVBAR */

.achievement-hero {
    margin-top: 0 !important;
    padding-top: 40px !important;
}

/* REMOVE DEFAULT BOOTSTRAP SPACE */

.container,
.container-fluid {
    margin-top: 0 !important;
}

/* REMOVE PAGE TOP SPACE */

body,
html {
    margin: 0 !important;
    padding: 0 !important;
}

/* REMOVE SPACE BETWEEN SECTIONS */

.achievement-hero {
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
}

.stats-section {
    margin-top: 0 !important;
    padding-top: 40px !important;
}
.achievement-hero {
    padding-bottom: 0 !important;
}

.stats-section {
    padding-top: 0 !important;
}

/* ========================= */
/* SMOOTH SCROLL ANIMATION */
/* ========================= */

.fade-up {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 1s ease, transform 1s ease;
}

    /* SHOW EFFECT */

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

/* AUTO IMAGE SMOOTH EFFECT */

.hero-machine {
    transition: opacity 0.5s ease-in-out;
}

.hero-image-card {
    width: 100%;
    max-width: 500px;
    height: 420px; /* FIX CARD HEIGHT */
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FIX IMAGE SIZE */
.hero-machine {
    width: 100%;
    height: 100%;
    object-fit: cover; /* AUTO FIT IMAGE */
    border-radius: 30px;
    transition: 0.4s ease;
}

/* OPTIONAL HOVER EFFECT */
.hero-image-card:hover .hero-machine {
    transform: scale(1.05);
}