/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#ffffff;
    color:#111827;
    overflow-x:hidden;
    line-height:1.7;
}

:root{
    --primary:#6366f1;
    --primary-dark:#4f46e5;
    --secondary:#8b5cf6;

    --text:#111827;
    --text-light:#6b7280;

    --border:#e5e7eb;
    --bg:#ffffff;
    --bg-light:#f8fafc;

    --shadow:
    0 10px 30px rgba(0,0,0,.08);

    --radius:24px;
}

section{
    padding:100px 8%;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:3rem;
    font-weight:800;
    margin-bottom:10px;
}

.section-header p{
    color:var(--text-light);
}

/* =========================
   NAVBAR
========================= */

header{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(20px);
    z-index:1000;
    border-bottom:1px solid var(--border);
}

nav{
    max-width:1300px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 30px;
}

.logo{
    font-size:1.7rem;
    font-weight:800;
}

.logo span{
    color:var(--primary);
}

nav ul{
    display:flex;
    list-style:none;
    gap:28px;
}

nav ul li a{
    text-decoration:none;
    color:var(--text);
    font-weight:500;
}

nav ul li a:hover{
    color:var(--primary);
}

.portfolio-btn{
    text-decoration:none;
    background:var(--primary);
    color:white;
    padding:12px 22px;
    border-radius:999px;
    font-weight:600;
}

/* =========================
   HERO
========================= */

/* =========================
   HERO
========================= */

#hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:120px;
}

.hero-content{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
}

.hero-badge{
    display:inline-block;
    background:#eef2ff;
    color:var(--primary);
    padding:10px 18px;
    border-radius:999px;
    font-weight:600;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:4.5rem;
    line-height:1.1;
    font-weight:900;
}

.hero-text h2{
    color:var(--primary);
    margin:15px 0;
    font-size:1.5rem;
}

.hero-text p{
    color:var(--text-light);
    margin-top:20px;
    max-width:700px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:30px;
}

.hero-buttons a{
    text-decoration:none;
    padding:14px 24px;
    border-radius:999px;
    font-weight:600;
    transition:.3s;
}

.hero-buttons a:first-child{
    background:var(--primary);
    color:white;
}

.hero-buttons a:last-child{
    border:1px solid var(--border);
    color:var(--text);
}

.hero-buttons a:hover{
    transform:translateY(-3px);
}

/* =========================
   HERO IMAGE SLIDER
========================= */

.hero-image{
    position:relative;
    width:100%;
    max-width:500px;
    height:650px;
    margin:auto;
}

.hero-slider{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:30px;
    box-shadow:var(--shadow);
}

.slide{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;

    opacity:0;
    visibility:hidden;

    transition:opacity 1s ease;
}

.slide.active{
    opacity:1;
    visibility:visible;
    z-index:10;
}

/* Optional premium glow */

.hero-slider::after{
    content:'';
    position:absolute;
    inset:0;
    border-radius:30px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.15),
        transparent
    );
    pointer-events:none;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

    .hero-content{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-image{
        max-width:400px;
        height:500px;
    }

}

@media(max-width:768px){

    .hero-text h1{
        font-size:3rem;
    }

    .hero-text h2{
        font-size:1.2rem;
    }

    .hero-image{
        max-width:320px;
        height:420px;
    }

}
/* =========================
   ABOUT
========================= */

.about-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.about-card{
    background:white;
    padding:35px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.about-card h3{
    margin-bottom:15px;
    color:var(--primary);
}

.about-card p{
    color:var(--text-light);
}

/* =========================
   STATS
========================= */

#stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:white;
    border-radius:var(--radius);
    padding:35px;
    text-align:center;
    box-shadow:var(--shadow);
}

.stat-card h3{
    font-size:3rem;
    color:var(--primary);
}

.stat-card p{
    color:var(--text-light);
}

/* =========================
   TIMELINE
========================= */

.timeline{
    max-width:900px;
    margin:auto;
}

.timeline-item{
    background:white;
    box-shadow:var(--shadow);
    border-left:5px solid var(--primary);
    border-radius:16px;
    padding:25px;
    margin-bottom:25px;
}

.timeline-item h3{
    margin-bottom:8px;
}

.timeline-item p{
    color:var(--text-light);
}

/* =========================
   SKILLS
========================= */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.skill-card{
    background:white;
    box-shadow:var(--shadow);
    padding:30px;
    border-radius:20px;
    text-align:center;
    font-weight:600;
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-6px);
}

/* =========================
   VENTURES
========================= */

.venture-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:25px;
}

.venture-card{
    background:white;
    padding:35px;
    border-radius:24px;
    box-shadow:var(--shadow);
}

.venture-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

.venture-card p{
    color:var(--text-light);
}

/* =========================
   ACHIEVEMENTS
========================= */

.achievement-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.achievement-card{
    background:white;
    padding:35px;
    text-align:center;
    border-radius:24px;
    box-shadow:var(--shadow);
    font-weight:600;
}

/* =========================
   CONTACT
========================= */

.contact-container{
    background:linear-gradient(
        135deg,
        #6366f1,
        #8b5cf6
    );

    color:white;
    padding:70px;
    border-radius:32px;
    text-align:center;
}

.contact-container h2{
    font-size:3rem;
    margin-bottom:15px;
}

.contact-container p{
    opacity:.9;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:30px;
}

.contact-buttons a{
    text-decoration:none;
    background:white;
    color:var(--primary);
    padding:14px 24px;
    border-radius:999px;
    font-weight:700;
}

/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:40px;
    border-top:1px solid var(--border);
}

footer p{
    color:var(--text-light);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

.hero-content{
    grid-template-columns:1fr;
    text-align:center;
}

.hero-buttons{
    justify-content:center;
}

#stats{
    grid-template-columns:repeat(2,1fr);
}

.achievement-grid{
    grid-template-columns:1fr;
}

}

@media(max-width:768px){

nav ul{
    display:none;
}

.hero-text h1{
    font-size:3rem;
}

.section-header h2{
    font-size:2rem;
}

#stats{
    grid-template-columns:1fr;
}

.contact-container{
    padding:40px 25px;
}

.contact-buttons{
    flex-direction:column;
}

}
