/* ===== GLOBAL ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fffaf3;
    color:#333;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

section{
    padding:90px 8%;
}

h2{
    font-size:42px;
    color:#8b5a2b;
    margin-bottom:20px;
}

/* ===== NAVBAR ===== */

.navbar{
    position:sticky;
    top:0;
    z-index:9999;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 8%;

    background:#2b1b10;

    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.nav-logo img{
    height:70px;
    width:auto;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.nav-links a:hover,
.nav-links a.active{
    color:#f4c542;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;

    width:0%;
    height:2px;

    background:#f4c542;
    transition:.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after{
    width:100%;
}

/* ===== HERO ===== */

.hero{
    height:60vh;

    background:
    linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
    url('../images/office.jpg') center/cover;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:#fff;
}

.hero-content h1{
    font-size:56px;
    margin-bottom:15px;
}

.hero-content p{
    font-size:22px;
    color:#f4c542;
}

/* ===== INTRO ===== */

.container{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:center;
}

.intro-text p{
    line-height:1.9;
    margin-bottom:20px;
    font-size:17px;
}

.intro-image img{
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* ===== STATS ===== */

.stats{
    background:#3a2616;
    color:#fff;
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:35px;
    text-align:center;
}

.stat-box{
    padding:20px;
}

.stat-box h3{
    font-size:48px;
    color:#f4c542;
    margin-bottom:10px;
}

.stat-box p{
    font-size:18px;
}

/* ===== FOUNDER ===== */

.founder{
    background:#fff;
    text-align:center;
}

.founder-content-center{
    max-width:900px;
    margin:auto;
}

.founder-content-center p{
    font-size:18px;
    line-height:1.9;
    margin-bottom:20px;
}

.signature{
    margin-top:30px;
    font-size:18px;
    color:#8b5a2b;
}

/* ===== MEDIA SECTION ===== */

.media-section{
    background:#fff3e0;
}

.media-container{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:60px;
    align-items:center;
}

.media-image img{
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.media-content p{
    font-size:17px;
    line-height:1.9;
    margin-bottom:18px;
}

/* ===== TIMELINE ===== */

.timeline-wrapper{
    padding:100px 8%;
    background:#fff;
}

.timeline-title{
    text-align:center;
    margin-bottom:60px;
}

.timeline{
    position:relative;
    max-width:1000px;
    margin:auto;
}

.timeline::before{
    content:"";
    position:absolute;

    left:50%;
    top:0;

    width:4px;
    height:100%;

    background:#8b5a2b;

    transform:translateX(-50%);
}

.timeline-item{
    position:relative;

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:60px;
}

.timeline-item:nth-child(odd){
    flex-direction:row-reverse;
}

.timeline-year{
    background:#8b5a2b;
    color:#fff;

    padding:15px 25px;

    border-radius:40px;

    font-weight:600;
    min-width:120px;
    text-align:center;
}

.timeline-content{
    width:42%;

    background:#fffaf3;
    padding:30px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.timeline-content p{
    line-height:1.8;
}

.timeline-icon{
    font-size:30px;
    margin-bottom:15px;
}

/* ===== CTA ===== */

.cta{
    background:#2b1b10;
    color:#fff;
    text-align:center;
}

.cta p{
    margin-top:15px;
    font-size:18px;
}

.btn{
    display:inline-block;

    margin-top:30px;
    padding:15px 35px;

    background:#f4c542;
    color:#000;

    border-radius:40px;

    text-decoration:none;
    font-weight:600;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
}

/* ===== SCROLL ANIMATION ===== */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ===== FOOTER ===== */

.main-footer{
    background:#2b1b10;
    color:#fff;
    padding:60px 8% 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-grid h3,
.footer-grid h4{
    color:#f4c542;
    margin-bottom:15px;
}

.footer-grid p{
    line-height:1.8;
}

.footer-bottom{
    margin-top:40px;
    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){

    .container,
    .media-container{
        grid-template-columns:1fr;
    }

    .timeline::before{
        left:20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd){
        flex-direction:column;
        align-items:flex-start;
        padding-left:50px;
    }

    .timeline-content{
        width:100%;
    }

    .timeline-year{
        margin-bottom:20px;
    }

    .hero-content h1{
        font-size:38px;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

}

@media(max-width:600px){

    section{
        padding:70px 5%;
    }

    h2{
        font-size:32px;
    }

    .hero-content h1{
        font-size:30px;
    }

}