/* ===========================
   GOOGLE FONT
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
    scroll-behavior:smooth;
}

/* ===========================
   BODY
=========================== */

body{
    background:#f5f9ff;
    color:#1d3557;
    line-height:1.7;
}

/* ===========================
   NAVBAR
=========================== */

header{
    width:100%;
    background:#0f2d52;
    position:sticky;
    top:0;
    z-index:1000;
}

.navbar{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    color:white;
    font-size:24px;
    font-weight:700;
}

.nav-links{
    display:flex;
    list-style:none;
}

.nav-links li{
    margin-left:30px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover,
.nav-links .active{
    color:#8ecae6;
}

.menu-toggle{
    display:none;
    color:white;
    font-size:28px;
    cursor:pointer;
}

/* ===========================
   HERO SECTION
=========================== */

.hero{
    width:90%;
    margin:auto;
    min-height:90vh;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.hero-content{
    flex:1;
}

.hero-content h1{
    font-size:55px;
    margin-bottom:20px;
    color:#0f2d52;
}

.hero-content span{
    color:#4ea8de;
}

.hero-content p{
    font-size:18px;
    color:#4f5d75;
    margin-bottom:30px;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:500px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* ===========================
   BUTTON
=========================== */

.btn{
    display:inline-block;
    background:#4ea8de;
    color:white;
    padding:14px 35px;
    border-radius:50px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#0f2d52;
    transform:translateY(-3px);
}

/* ===========================
   SECTION
=========================== */

section{
    padding:80px 10%;
}

/* ===========================
   WELCOME
=========================== */

.welcome{
    text-align:center;
}

.welcome h2{
    font-size:38px;
    margin-bottom:20px;
    color:#0f2d52;
}

.welcome p{
    max-width:750px;
    margin:auto;
    color:#4f5d75;
}

/* ===========================
   ABOUT
=========================== */

.about-preview{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    max-width:350px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.about-text{
    flex:1;
}

.about-text h2{
    font-size:38px;
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:20px;
    color:#4f5d75;
}

/* ===========================
   HOBBIES
=========================== */

.hobbies{
    text-align:center;
}

.hobbies h2{
    font-size:38px;
    margin-bottom:40px;
}

.hobby-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.hobby-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.hobby-card:hover{
    transform:translateY(-10px);
}

.hobby-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.hobby-card h3{
    padding:20px;
    color:#0f2d52;
}

/* ===========================
   CTA
=========================== */

.cta{
    background:#0f2d52;
    text-align:center;
    color:white;
}

.cta h2{
    font-size:40px;
    margin-bottom:20px;
}

.cta p{
    margin-bottom:30px;
}

.cta .btn{
    background:white;
    color:#0f2d52;
}

.cta .btn:hover{
    background:#8ecae6;
    color:white;
}

/* ===========================
   FOOTER
=========================== */

/* ===========================
   CONTACT FOOTER
=========================== */

footer{

    background:#08213d;
    color:white;
    padding:60px 10%;
    text-align:center;

}

.footer-container{

    max-width:900px;
    margin:auto;

}

.footer-container h2{

    font-size:36px;
    margin-bottom:15px;

}

.footer-container p{

    color:#d9e7f2;
    margin-bottom:10px;

}

.contact-info{

    margin:35px 0;

}

.contact-info p{

    margin:12px 0;
    font-size:17px;

}

.contact-info i{

    color:#8ecae6;
    margin-right:10px;

}

.social-links{

    margin:30px 0;

}

.social-links a{

    color:white;
    font-size:28px;
    margin:0 15px;
    transition:.3s;

}

.social-links a:hover{

    color:#8ecae6;
    transform:translateY(-5px);

}

footer hr{

    border:none;
    height:1px;
    background:rgba(255,255,255,.2);
    margin:30px 0;

}

.copyright{

    font-size:15px;
    color:#b9d2e8;

}


/* ==================================================
   ACHIEVEMENTS PAGE
================================================== */

.achievement-hero{

    background:linear-gradient(135deg,#0f2d52,#4ea8de);

    color:white;

    text-align:center;

    padding:100px 10%;

}

.achievement-hero h1{

    font-size:52px;

    margin-bottom:20px;

}

.achievement-hero p{

    font-size:18px;

    max-width:700px;

    margin:auto;

    line-height:1.8;

}

/* ==========================
   STATISTICS
========================== */

.achievement-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    padding:70px 10%;

}

.stat-box{

    background:white;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.1);

    transition:.35s;

}

.stat-box:hover{

    transform:translateY(-8px);

}

.stat-box h2{

    color:#0f2d52;

    font-size:42px;

    margin-bottom:10px;

}

.stat-box p{

    color:#666;

}

/* ==========================
   FEATURED
========================== */

.featured{

    padding:90px 10%;

}

.featured h2{

    text-align:center;

    font-size:40px;

    color:#0f2d52;

    margin-bottom:50px;

}

.featured-card{

    display:flex;

    align-items:center;

    gap:50px;

    background:white;

    border-radius:25px;

    padding:35px;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.featured-image{

    flex:1;

}

.featured-image img{

    width:100%;

    border-radius:20px;

}

.featured-text{

    flex:1;

}

.featured-text h3{

    color:#0f2d52;

    margin-bottom:20px;

    font-size:30px;

}

.featured-text p{

    margin-bottom:20px;

    color:#555;

}

.featured-text ul{

    padding-left:20px;

}

.featured-text li{

    margin-bottom:12px;

}

/* ==========================
   CERTIFICATES
========================== */

.certificates{

    padding:80px 10%;

}

.certificates h2{

    text-align:center;

    margin-bottom:45px;

    color:#0f2d52;

    font-size:40px;

}

.certificate-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.certificate-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.1);

    transition:.35s;

}

.certificate-card:hover{

    transform:translateY(-10px);

}

.certificate-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.certificate-card h3{

    padding:20px 20px 10px;

    color:#0f2d52;

}

.certificate-card p{

    padding:0 20px 25px;

    color:#666;

}

/* ==========================
   TIMELINE
========================== */

.timeline{

    padding:90px 10%;

}

.timeline h2{

    text-align:center;

    margin-bottom:60px;

    font-size:40px;

    color:#0f2d52;

}

.timeline-container{

    position:relative;

    max-width:900px;

    margin:auto;

}

.timeline-container::before{

    content:"";

    position:absolute;

    left:50%;

    width:4px;

    height:100%;

    background:#4ea8de;

    transform:translateX(-50%);

}

.timeline-item{

    width:50%;

    padding:20px 40px;

    position:relative;

}

.timeline-item:nth-child(odd){

    left:0;

    text-align:right;

}

.timeline-item:nth-child(even){

    left:50%;

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#4ea8de;

    top:35px;

}

.timeline-item:nth-child(odd)::before{

    right:-11px;

}

.timeline-item:nth-child(even)::before{

    left:-9px;

}

.timeline-content{

    background:white;

    padding:25px;

    border-radius:18px;

    box-shadow:0 10px 20px rgba(0,0,0,.1);

}

.timeline-content h3{

    color:#0f2d52;

    margin-bottom:10px;

}

.timeline-content p{

    color:#666;

}

/* ==========================
   IMAGE HOVER
========================== */

.certificate-card img,

.featured-image img{

    transition:.4s;

}

.certificate-card:hover img,

.featured-card:hover img{

    transform:scale(1.05);

}

/* ===========================
   GALLERY
=========================== */

.gallery{

    padding:80px 10%;

}

.gallery-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;

}

.gallery-grid img{

    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    cursor:pointer;

    transition:.4s;

    box-shadow:0 10px 20px rgba(0,0,0,.12);

}

.gallery-grid img:hover{

    transform:scale(1.05);

}


/* ===========================
   LIGHTBOX
=========================== */

.lightbox{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.85);

    display:none;

    justify-content:center;
    align-items:center;

    z-index:9999;

}

.lightbox-img{

    max-width:85%;
    max-height:80%;
    border-radius:15px;

}

.close{

    position:absolute;

    top:30px;
    right:40px;

    color:white;

    font-size:45px;

    cursor:pointer;

}

