/* ================= GLOBAL RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f5f5f5;
    line-height:1.6;
    overflow-x:hidden;
}

/* ================= HEADER ================= */
header{
    width:100%;
    background:#111;
    color:white;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 5%;

    position:sticky;
    top:0;
    z-index:1000;
}

/* ================= LOGO ================= */
.logo{
    display:flex;
    align-items:center;
    gap:5px;
    color:white;
}
.logo-img{
    width:80px;
    height:80px;
}

/* ================= NAVIGATION ================= */
nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-weight:500;
    padding:8px 14px;
    border-radius:5px;
    transition:0.3s ease;
}

nav ul li a:hover,
nav ul li a.active{
    background:#c89b3c;
}

/* ================= ABOUT SECTION ================= */
.about-section{
    width:100%;
    min-height:100vh;

    display:flex;
    align-items:flex-start;
    justify-content:center;

    gap:50px;
    padding:80px 8%;

    position:relative;
}

/* ================= IMAGE WRAPPER ================= */
/* ================= ABOUT SECTION ================= */
.about-section{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;
    padding:80px 8%;
}

/* ================= IMAGE STACK ================= */
.about-image{
    position:relative;
    width:900px;
}

/* MAIN IMAGE */
.main-img{
    width:100%;
    height:1000px;
    object-fit:cover;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,0.3);
}
/* HOVER */
.main-img:hover,
.main-img:hover{
    transform:scale(1.05);
    transition:0.4s;
}

/* ================= CONTENT ================= */

.content{
    max-width:650px;
}

/* ================= HEADING ================= */
.slide-text{
    font-size:55px;
    color:#8a7740;
    margin-bottom:30px;
    animation:slideLeft 1.5s ease;
}

/* ================= TYPING TEXT ================= */
#typing-text{
    font-size:20px;
    line-height:1.8;
    color:#444;
    white-space:pre-line;
}

/* Cursor */
#typing-text::after{
    content:"|";
    animation:blink 1s infinite;
    margin-left:5px;
}

/* ================= BOXES ================= */
.vision-box,
.mission-box,
.promise-box,
.why-box{
    background:white;
    padding:25px;
    margin-top:25px;

    border-left:6px solid #8a7740;
    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.4s ease;
}

.vision-box:hover,
.mission-box:hover,
.promise-box:hover,
.why-box:hover{
    transform:translateY(-8px);
}

/* Special */
.promise-box{
    border-left:6px solid #c89b3c;
}

.promise-box h2{
    color:#c89b3c;
}

/* ================= TEXT ================= */
.content h2{
    color:#8a7740;
    margin-bottom:10px;
}

.content p{
    font-size:18px;
    color:#444;
}

/* ================= LIST ================= */
.why-box ul{
    list-style:none;
}

.why-box ul li{
    font-size:18px;
    margin-bottom:10px;
}

/* ================= ANIMATIONS ================= */
@keyframes slideLeft{
    from{
        transform:translateX(100px);
        opacity:0;
    }
    to{
        transform:translateX(0);
        opacity:1;
    }
}

@keyframes zoomImage{
    from{ transform:scale(1); }
    to{ transform:scale(1.05); }
}

@keyframes blink{
    0%,100%{opacity:1;}
    50%{opacity:0;}
}
/* INITIAL HIDDEN STATE */
.reveal{
    opacity:0;
    transform:translateY(80px);
    transition:all 0.3s ease;
}

/* WHEN VISIBLE */
.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* DELAY FOR EACH BOX (ONE BY ONE EFFECT) */
.vision-box.active{ transition-delay:0.2s; }
.mission-box.active{ transition-delay:0.4s; }
.promise-box.active{ transition-delay:0.6s; }
.why-box.active{ transition-delay:0.8s; }

/* ================= FOOTER ================= */
footer{
    background:#00539C;
    color:white;
    text-align:center;
    padding:15px;
    margin-top:40px;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    header{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    nav ul{
        flex-direction:column;
        gap:10px;
    }

    .about-section{
        flex-direction:column;
        align-items:center;
    }

    .about-image img{
        width:100%;
        height:auto;
    }

    .extra-image,
    .extra-image2{
        position:relative;
        top:0;
        margin-top:20px;
    }

    .slide-text{
        font-size:38px;
        text-align:center;
    }

    #typing-text{
        font-size:17px;
    }
}