/* =========================================
   GOOGLE FONT
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================
   ROOT VARIABLES
========================================= */
:root{
    --bg-main:#050816;
    --bg-secondary:#0f172a;

    --primary:#38bdf8;
    --secondary:#0ea5e9;

    --white:#ffffff;
    --light:#cbd5e1;
    --gray:#94a3b8;

    --glass:rgba(15,23,42,0.75);
    --border:rgba(255,255,255,0.08);

    --shadow-blue:rgba(56,189,248,0.35);
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
        135deg,
        var(--bg-main),
        var(--bg-secondary)
    );

    color:var(--white);

    overflow-x:hidden;
}

/* =========================================
   CUSTOM SCROLLBAR
========================================= */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#020617;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

/* =========================================
   NAVBAR
========================================= */
.navbar{
    width:100%;
    height:85px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;

    position:fixed;
    top:0;
    left:0;

    z-index:1000;

    background:rgba(5,8,22,0.9);

    backdrop-filter:blur(12px);

    border-bottom:1px solid var(--border);
}

.logo{
    font-size:32px;
    font-weight:700;

    color:var(--primary);
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    text-decoration:none;

    color:var(--light);

    font-size:16px;
    font-weight:500;

    position:relative;

    transition:0.4s ease;
}

.nav-links a:hover{
    color:var(--primary);
}

.nav-links a::after{
    content:'';

    position:absolute;

    left:0;
    bottom:-6px;

    width:0%;
    height:2px;

    background:var(--primary);

    transition:0.4s;
}

.nav-links a:hover::after{
    width:100%;
}

/* =========================================
   HERO SECTION
========================================= */
.hero{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:140px 8% 80px;

    position:relative;

    overflow:hidden;
}

/* Background Glow */
.hero::before{
    content:'';

    position:absolute;

    width:600px;
    height:600px;

    background:
    radial-gradient(
        circle,
        rgba(56,189,248,0.15),
        transparent 70%
    );

    top:-200px;
    right:-150px;

    animation:glowMove 8s infinite alternate;
}

.hero-container{
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:70px;

    flex-wrap:wrap;

    position:relative;
    z-index:2;
}

/* =========================================
   HERO TEXT
========================================= */
.hero-text{
    flex:1;
    min-width:320px;

    animation:fadeLeft 1.2s ease;
}

.hero-text h1{
    font-size:68px;
    line-height:1.1;
    margin-bottom:20px;

    background: linear-gradient(
        90deg,
        #ffffff,
        var(--primary)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2{
    font-size:30px;

    color:var(--primary);

    margin-bottom:20px;
}

.hero-text p{
    color:var(--light);

    font-size:17px;

    line-height:1.9;

    max-width:600px;

    margin-bottom:35px;
}

/* =========================================
   BUTTONS
========================================= */
.hero-buttons{
    display:flex;
    gap:20px;

    flex-wrap:wrap;
}

.btn,
.btn-outline{
    padding:15px 34px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:0.4s ease;

    display:inline-block;
}

.btn{
    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#000;

    box-shadow:
    0 10px 25px var(--shadow-blue);
}

.btn:hover{
    transform:
    translateY(-5px)
    scale(1.03);
}

.btn-outline{
    border:2px solid var(--primary);

    color:var(--primary);
}

.btn-outline:hover{
    background:var(--primary);

    color:#000;

    transform:translateY(-5px);
}

/* =========================================
   HERO IMAGE
========================================= */
.hero-image{
    flex:1;

    display:flex;
    justify-content:center;

    min-width:320px;

    animation:fadeRight 1.2s ease;
}

.profile-img{
    width:380px;
    height:380px;

    object-fit:cover;

    border-radius:50%;

    border:5px solid var(--primary);

    box-shadow:
    0 0 35px rgba(56,189,248,0.4);

    animation:
    floating 5s ease-in-out infinite,
    pulseGlow 4s infinite;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about-preview{
    padding:100px 8%;
}

.about-container{
    background:var(--glass);

    border:1px solid var(--border);

    border-radius:30px;

    padding:60px;

    text-align:center;

    backdrop-filter:blur(12px);

    transition:0.5s ease;
}

.about-container:hover{
    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:
    0 20px 50px var(--shadow-blue);
}

.about-container h2{
    font-size:48px;

    color:var(--primary);

    margin-bottom:25px;
}

.about-container p{
    max-width:850px;

    margin:0 auto 18px;

    color:var(--light);

    line-height:1.9;

    font-size:16px;
}

/* =========================================
   ABOUT HIGHLIGHTS
========================================= */
.about-highlights{
    margin-top:45px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;
}

.highlight{
    background:rgba(255,255,255,0.04);

    border:1px solid var(--border);

    border-radius:20px;

    padding:30px;

    transition:0.5s ease;
}

.highlight:hover{
    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:
    0 15px 35px var(--shadow-blue);
}

.highlight h3{
    color:var(--primary);

    margin-bottom:15px;

    font-size:22px;
}

.highlight p{
    color:var(--light);

    font-size:15px;
}

/* =========================================
   ACHIEVEMENTS
========================================= */
.achievements{
    padding:100px 8%;
}

.achievements-container h2{
    text-align:center;

    font-size:52px;

    color:var(--primary);

    margin-bottom:15px;
}

.subtitle{
    text-align:center;

    color:var(--gray);

    max-width:700px;

    margin:0 auto 60px;

    line-height:1.8;
}

.achievements-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.card{
    background:var(--glass);

    border:1px solid var(--border);

    border-radius:25px;

    padding:35px;

    transition:0.5s ease;

    position:relative;

    overflow:hidden;

    backdrop-filter:blur(12px);
}

.card::before{
    content:'';

    position:absolute;

    width:180px;
    height:180px;

    background:
    radial-gradient(
        circle,
        rgba(56,189,248,0.12),
        transparent 70%
    );

    top:-60px;
    right:-60px;
}

.card:hover{
    transform:
    translateY(-12px)
    scale(1.02);

    border-color:var(--primary);

    box-shadow:
    0 20px 40px var(--shadow-blue);
}

.card h3{
    color:var(--primary);

    font-size:22px;

    margin-bottom:16px;
}

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

    line-height:1.8;

    font-size:15px;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-cta{
    padding:100px 8%;

    text-align:center;
}

.contact-cta h2{
    font-size:52px;

    color:var(--primary);

    margin-bottom:20px;
}

.contact-cta p{
    color:var(--gray);

    margin-bottom:35px;

    font-size:18px;
}

/* =========================================
   FOOTER
========================================= */
.footer{
    background:#020617;

    border-top:1px solid var(--border);
}

.footer-container{
    padding:70px 8%;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:40px;
}

.footer-about h2,
.footer-links h3,
.footer-social h3{
    color:var(--primary);

    margin-bottom:20px;
}

.footer-about p{
    color:var(--gray);

    line-height:1.8;
}

.footer-links{
    display:flex;
    flex-direction:column;
}

.footer-links a{
    text-decoration:none;

    color:var(--light);

    margin-bottom:12px;

    transition:0.4s ease;
}

.footer-links a:hover{
    color:var(--primary);

    transform:translateX(5px);
}

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:48px;
    height:48px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,0.08);

    font-size:22px;

    text-decoration:none;

    transition:0.4s ease;
}

.social-icons a:hover{
    background:var(--primary);

    color:#000;

    transform:
    translateY(-5px)
    rotate(8deg);

    box-shadow:
    0 10px 25px var(--shadow-blue);
}

.footer-bottom{
    text-align:center;

    padding:22px;

    border-top:1px solid var(--border);
}

.footer-bottom p{
    color:var(--gray);
}

/* =========================================
   REVEAL ANIMATION
========================================= */
.reveal{
    opacity:0;

    transform:translateY(60px);

    transition:1s ease;
}

.reveal.active{
    opacity:1;

    transform:translateY(0);
}

.reveal-left{
    transform:translateX(-80px);
}

.reveal-right{
    transform:translateX(80px);
}

.reveal.active.reveal-left,
.reveal.active.reveal-right{
    transform:translateX(0);
}

/* =========================================
   DELAYS
========================================= */
.reveal-delay-1{
    transition-delay:0.2s;
}

.reveal-delay-2{
    transition-delay:0.4s;
}

.reveal-delay-3{
    transition-delay:0.6s;
}

.reveal-delay-4{
    transition-delay:0.8s;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes fadeLeft{
    from{
        opacity:0;
        transform:translateX(-80px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes fadeRight{
    from{
        opacity:0;
        transform:translateX(80px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes floating{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0px);
    }
}

@keyframes pulseGlow{
    0%{
        box-shadow:0 0 15px rgba(56,189,248,0.3);
    }

    50%{
        box-shadow:0 0 40px rgba(56,189,248,0.55);
    }

    100%{
        box-shadow:0 0 15px rgba(56,189,248,0.3);
    }
}

@keyframes glowMove{
    0%{
        transform:translateY(0px);
    }

    100%{
        transform:translateY(60px);
    }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media(max-width:992px){

    .hero-container{
        flex-direction:column-reverse;

        text-align:center;
    }

    .hero-text p{
        margin:auto auto 35px;
    }

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

    .profile-img{
        width:320px;
        height:320px;
    }
}

@media(max-width:768px){

    .navbar{
        flex-direction:column;

        height:auto;

        padding:20px;
    }

    .nav-links{
        margin-top:15px;

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;
    }

    .hero{
        padding-top:180px;
    }

    .hero-text h1{
        font-size:48px;
    }

    .hero-text h2{
        font-size:26px;
    }

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

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:40px;
    }
}

@media(max-width:500px){

    .hero-text h1{
        font-size:36px;
    }

    .hero-text h2{
        font-size:22px;
    }

    .profile-img{
        width:250px;
        height:250px;
    }

    .btn,
    .btn-outline{
        width:100%;

        text-align:center;
    }

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:32px;
    }

    .card{
        padding:25px;
    }
}

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

/* ================= LAPTOP ================= */
@media screen and (max-width:1200px){

    .hero-text h1{
        font-size:56px;
    }

    .hero-container{
        gap:40px;
    }

    .profile-img{
        width:340px;
        height:340px;
    }

    .about-container,
    .card{
        padding:30px;
    }
}

/* ================= TABLET ================= */
@media screen and (max-width:992px){

    .navbar{
        padding:0 5%;
    }

    .hero{
        padding:150px 5% 80px;
    }

    .hero-container{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-text{
        width:100%;
    }

    .hero-text p{
        margin:0 auto 35px;
    }

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

    .hero-text h1{
        font-size:50px;
    }

    .hero-text h2{
        font-size:28px;
    }

    .profile-img{
        width:300px;
        height:300px;
    }

    .about-preview,
    .achievements,
    .contact-cta{
        padding:80px 5%;
    }

    .about-container{
        padding:40px 30px;
    }

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:42px;
    }

    .footer-container{
        padding:60px 5%;
    }
}

/* ================= MOBILE NAVBAR ================= */
@media screen and (max-width:768px){

    .navbar{
        height:auto;

        flex-direction:column;

        padding:18px 5%;
    }

    .logo{
        margin-bottom:15px;
    }

    .nav-links{
        flex-wrap:wrap;

        justify-content:center;

        gap:15px;
    }

    .nav-links a{
        font-size:15px;
    }

    .hero{
        padding-top:200px;
    }

    .hero-text h1{
        font-size:42px;
        line-height:1.2;
    }

    .hero-text h2{
        font-size:24px;
    }

    .hero-text p{
        font-size:15px;
        line-height:1.8;
    }

    .hero-buttons{
        flex-direction:column;

        align-items:center;
    }

    .btn,
    .btn-outline{
        width:220px;
        text-align:center;
    }

    .profile-img{
        width:260px;
        height:260px;
    }

    .about-highlights{
        grid-template-columns:1fr;
    }

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

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:36px;
    }

    .subtitle{
        font-size:15px;
    }

    .card h3{
        font-size:20px;
    }

    .footer-container{
        grid-template-columns:1fr;

        text-align:center;
    }

    .footer-links{
        align-items:center;
    }

    .social-icons{
        justify-content:center;
    }
}

/* ================= SMALL MOBILE ================= */
@media screen and (max-width:500px){

    .hero{
        padding:190px 20px 70px;
    }

    .hero-text h1{
        font-size:34px;
    }

    .hero-text h2{
        font-size:20px;
    }

    .hero-text p{
        font-size:14px;
    }

    .profile-img{
        width:220px;
        height:220px;

        border-width:4px;
    }

    .about-preview,
    .achievements,
    .contact-cta{
        padding:70px 20px;
    }

    .about-container{
        padding:30px 20px;
    }

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:30px;
    }

    .highlight{
        padding:25px 20px;
    }

    .card{
        padding:25px 20px;
    }

    .card p,
    .highlight p{
        font-size:14px;
    }

    .btn,
    .btn-outline{
        width:100%;
    }

    .footer-container{
        padding:50px 20px;
    }

    .footer-bottom{
        padding:18px;
    }

    .footer-bottom p{
        font-size:14px;
    }
}

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

.menu-toggle{
    display:none;

    font-size:32px;

    color:var(--primary);

    cursor:pointer;
}

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

@media screen and (max-width:768px){

    .navbar{
        padding:20px 5%;

        flex-direction:row;

        height:auto;
    }

    .menu-toggle{
        display:block;
    }

    .nav-links{

        position:absolute;

        top:85px;
        left:0;

        width:100%;

        background:#020617;

        flex-direction:column;

        align-items:center;

        gap:25px;

        padding:30px 0;

        border-top:1px solid rgba(255,255,255,0.1);

        display:none;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links a{
        font-size:18px;
    }
}

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

/* =========================
   LARGE TABLET
========================= */
@media screen and (max-width:992px){

    .hero-container{
        flex-direction:column-reverse;

        text-align:center;

        gap:50px;
    }

    .hero-text p{
        margin:0 auto 30px;
    }

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

    .profile-img{
        width:300px;
        height:300px;
    }

    .about-container,
    .card{
        padding:30px;
    }

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:42px;
    }

    .hero-text h1{
        font-size:52px;
    }

    .hero-text h2{
        font-size:28px;
    }
}

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

.menu-toggle{
    display:none;

    font-size:32px;

    color:var(--primary);

    cursor:pointer;
}

/* =========================
   TABLET & MOBILE
========================= */
@media screen and (max-width:768px){

    /* NAVBAR */

    .navbar{
        padding:18px 5%;

        height:auto;
    }

    .menu-toggle{
        display:block;
    }

    .nav-links{

        position:absolute;

        top:80px;
        left:0;

        width:100%;

        background:#020617;

        flex-direction:column;

        align-items:center;

        gap:22px;

        padding:30px 0;

        border-top:1px solid rgba(255,255,255,0.1);

        display:none;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links a{
        font-size:18px;
    }

    /* HERO */

    .hero{
        padding:170px 5% 80px;
    }

    .hero-text h1{
        font-size:42px;
        line-height:1.2;
    }

    .hero-text h2{
        font-size:24px;
    }

    .hero-text p{
        font-size:15px;
    }

    .profile-img{
        width:250px;
        height:250px;
    }

    /* BUTTONS */

    .hero-buttons{
        flex-direction:column;

        align-items:center;
    }

    .btn,
    .btn-outline{
        width:220px;

        text-align:center;
    }

    /* ABOUT */

    .about-preview,
    .achievements,
    .contact-cta{
        padding:80px 5%;
    }

    .about-container{
        padding:35px 25px;
    }

    .about-highlights{
        grid-template-columns:1fr;
    }

    /* ACHIEVEMENTS */

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

    .card{
        padding:28px;
    }

    /* FOOTER */

    .footer-container{
        grid-template-columns:1fr;

        text-align:center;
    }

    .footer-links{
        align-items:center;
    }

    .social-icons{
        justify-content:center;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media screen and (max-width:500px){

    .hero{
        padding-top:180px;
    }

    .hero-text h1{
        font-size:34px;
    }

    .hero-text h2{
        font-size:20px;
    }

    .hero-text p{
        font-size:14px;
        line-height:1.8;
    }

    .profile-img{
        width:210px;
        height:210px;
    }

    .btn,
    .btn-outline{
        width:100%;
    }

    .about-container h2,
    .achievements-container h2,
    .contact-cta h2{
        font-size:30px;
    }

    .about-container{
        padding:28px 18px;
    }

    .card{
        padding:22px;
    }

    .card h3{
        font-size:20px;
    }

    .card p{
        font-size:14px;
    }

    .footer-container{
        padding:50px 20px;
    }

    .footer-bottom p{
        font-size:14px;
    }
}

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

.menu-toggle{
    display:none;

    font-size:34px;

    color:#38bdf8;

    cursor:pointer;
}

/* MOBILE */
@media screen and (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .navbar{
        position:fixed;

        width:100%;

        top:0;
        left:0;

        z-index:1000;
    }

    .nav-links{

        position:absolute;

        top:85px;
        left:0;

        width:100%;

        background:#020617;

        flex-direction:column;

        align-items:center;

        gap:25px;

        padding:30px 0;

        display:none;
    }

    .nav-links.active{
        display:flex;
    }
}