/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Inter',sans-serif;
}

body{
    background:#08111f;
    color:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 8%;
}

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

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(7,15,30,.85);
    backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(255,255,255,.08);
    z-index:1000;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:55px;
    height:55px;
    border-radius:50%;
}

.logo h2{
    color:#3B82F6;
    font-size:28px;
    font-weight:700;
}

.logo span{
    color:#cbd5e1;
    font-size:15px;
}

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

nav ul li a{
    color:white;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#3B82F6;
}

.resume-btn{
    padding:12px 26px;
    background:#3B82F6;
    color:white;
    border-radius:40px;
    transition:.3s;
}

.resume-btn:hover{
    background:#2563eb;
}

.menu-btn{
    display:none;
    font-size:30px;
    cursor:pointer;
}

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

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.hero-left{
    flex:1;
}

.hero-left h4{
    color:#94a3b8;
    font-size:24px;
    margin-bottom:15px;
}

.hero-left h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero-left h1 span{
    color:#3B82F6;
}

.hero-left h2{
    color:#94a3b8;
    font-size:34px;
    font-weight:600;
    margin-bottom:30px;
}

.hero-left p{
    color:#cbd5e1;
    line-height:1.8;
    font-size:18px;
    max-width:650px;
}

/* ===========================
   BUTTONS
=========================== */

.hero-buttons{
    margin-top:40px;
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    background:#3B82F6;
    color:white;
    padding:16px 35px;
    border-radius:40px;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 0 25px #3B82F6;
}

.secondary-btn{
    background:transparent;
    border:2px solid #3B82F6;
    color:#ffffff;
    padding:16px 35px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.secondary-btn:hover{
    background:#3B82F6;
    color:#ffffff;
}

.secondary-btn:hover{
    background:#3B82F6;
}

/* ===========================
   SOCIAL
=========================== */

.social-links{
    margin-top:35px;
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.social-links a{
    padding:13px 28px;
    border:1px solid #3B82F6;
    border-radius:40px;
    color:white;
    transition:.3s;
}

.social-links a:hover{
    background:#3B82F6;
}

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

.hero-right{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-right img{
    width:420px;
    border-radius:50%;
    border:6px solid #3B82F6;
    box-shadow:
    0 0 40px rgba(59,130,246,.5),
    0 0 80px rgba(59,130,246,.35);
}

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

@media(max-width:992px){

.hero{
    flex-direction:column-reverse;
    text-align:center;
    padding-top:90px;
    gap:25px;
}

.hero-left h4{
    font-size:20px;
}

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

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

.hero-right img{
    width:290px;
    max-width:100%;
}

.hero-buttons,
.social-links{
    justify-content:center;
}

nav ul{
    display:flex;
}

@media(max-width:992px){

nav ul{
    position:fixed;
    top:75px;
    right:-270px;
    width:240px;
    background:rgba(17,24,39,.96);
    backdrop-filter:blur(18px);
    border-radius:18px;
    padding:25px;
    display:flex;
    flex-direction:column;
    gap:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.35);
    transition:right .35s ease;
}

nav ul.active{
    right:20px;
}

}
.menu-btn{
    width:30px;
    height:22px;
    display:none;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
    z-index:1002;
}

@media(max-width:992px){
    .menu-btn{
        display:flex;
    }
}

.menu-btn .bar{
    width:100%;
    height:2px;
    background:#fff;
    border-radius:50px;
    transition:all .35s ease;
}

/* Animation */

.menu-btn.open .bar:nth-child(1){
    transform:translateY(10px) rotate(45deg);
}

.menu-btn.open .bar:nth-child(2){
    opacity:0;
}

.menu-btn.open .bar:nth-child(3){
    transform:translateY(-10px) rotate(-45deg);
}

.logo h2{
    font-size:20px;
    white-space: nowrap;
}

.resume-btn{
    display:none;
}

}

@media(max-width:600px){

.hero-left h1{
    font-size:42px;
}

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

.hero-right img{
    width:260px;
}

.logo img{
    width:45px;
    height:45px;
}

.logo h2{
    font-size:18px;
}

.logo span{
    display:none;
}

.resume-btn{
    display:none;
}

}
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}
/* ===========================
   ABOUT
=========================== */

.about{
    padding:100px 8%;
}

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

.section-title h2{
    font-size:42px;
    color:#fff;
}

.section-title p{
    color:#94a3b8;
    margin-top:10px;
}

.about-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-text h3{
    font-size:34px;
    margin-bottom:25px;
    color:#3B82F6;
}

.about-text p{
    color:#cbd5e1;
    line-height:1.9;
    margin-bottom:20px;
    font-size:18px;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.stat-card{
    background:#111827;
    border:1px solid rgba(59,130,246,.2);
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-8px);
    border-color:#3B82F6;
    box-shadow:0 0 25px rgba(59,130,246,.3);
}

.stat-card h3{
    font-size:32px;
    color:#3B82F6;
}

.stat-card p{
    margin-top:10px;
    color:#cbd5e1;
}

@media(max-width:992px){

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

.about-text{
    text-align:center;
}

}
/* ===========================
   EXPERIENCE
=========================== */

.experience{
    padding:100px 8%;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:60px auto 0;
}

.timeline::before{
    content:"";
    position:absolute;
    left:20px;
    top:0;
    width:3px;
    height:100%;
    background:#3B82F6;
}

.timeline-item{
    position:relative;
    padding-left:70px;
    margin-bottom:60px;
}

.timeline-dot{
    position:absolute;
    left:10px;
    top:8px;
    width:22px;
    height:22px;
    background:#3B82F6;
    border-radius:50%;
    box-shadow:0 0 20px rgba(59,130,246,.6);
}

.timeline-content{
    background:#111827;
    padding:30px;
    border-radius:18px;
    border:1px solid rgba(59,130,246,.2);
    transition:.3s;
}

.timeline-content:hover{
    transform:translateY(-6px);
    border-color:#3B82F6;
    box-shadow:0 0 25px rgba(59,130,246,.25);
}

.timeline-date{
    color:#3B82F6;
    font-weight:700;
}

.timeline-content h3{
    margin:12px 0 6px;
    font-size:24px;
}

.timeline-content h4{
    color:#94a3b8;
    margin-bottom:15px;
    font-weight:500;
}

.timeline-content p{
    color:#cbd5e1;
    line-height:1.8;
}

@media(max-width:768px){

.timeline::before{
    left:12px;
}

.timeline-dot{
    left:2px;
}

.timeline-item{
    padding-left:45px;
}

.timeline-content{
    padding:22px;
}

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

.skills{
    padding:60px 6%;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
    margin-top:40px;
}

.skill-card{
    background:#111827;
    padding:25px;
    border-radius:18px;
    border:1px solid rgba(59,130,246,.2);
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-6px);
    border-color:#3B82F6;
    box-shadow:0 0 25px rgba(59,130,246,.25);
}

.skill-card h3{
    margin-bottom:18px;
    font-size:20px;
}

.skill-bar{
    width:100%;
    height:10px;
    background:#1f2937;
    border-radius:30px;
    overflow:hidden;
}

.skill-fill{
    height:100%;
    background:linear-gradient(90deg,#3B82F6,#60A5FA);
    border-radius:30px;
}
/* =======================
   PROJECTS
======================= */

.projects{
    padding:100px 8%;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.project-card{
    background:#121b2d;
    border:1px solid rgba(59,130,246,.15);
    border-radius:20px;
    padding:30px;
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 35px rgba(59,130,246,.25);
}

.project-card h3{
    font-size:28px;
    margin-bottom:18px;
}

.project-card p{
    color:#b8c1d9;
    line-height:1.8;
}

.project-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:25px 0;
}

.project-tags span{
    padding:8px 16px;
    border-radius:30px;
    background:#1b2740;
    color:#4f8cff;
    font-size:14px;
}

.project-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.project-btn{
    padding:12px 22px;
    border-radius:30px;
    background:#3B82F6;
    color:#fff;
    transition:.3s;
}

.project-btn:hover{
    background:#2563eb;
}

.project-btn.outline{
    background:transparent;
    border:2px solid #3B82F6;
}

.project-btn.outline:hover{
    background:#3B82F6;
}
/* ==========================
   CONTACT
========================== */

.contact{
    padding:80px 8% 50px;
}

.contact-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:60px;
}

.contact-card{
    background:#121b2d;
    border:1px solid rgba(59,130,246,.15);
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 35px rgba(59,130,246,.25);
}

.contact-card h3{
    font-size:26px;
    margin-bottom:15px;
}

.contact-card p{
    color:#b8c1d9;
    margin-bottom:25px;
    word-break:break-word;
}

.contact-card a{
    display:inline-block;
    padding:12px 28px;
    background:#3B82F6;
    color:#fff;
    border-radius:30px;
    transition:.3s;
}

.contact-card a:hover{
    background:#2563eb;
}
/* ==========================
   FOOTER
========================== */

.footer{
    background:#060d18;
    padding:70px 8% 30px;
    text-align:center;
    border-top:1px solid rgba(59,130,246,.15);
}

.footer h2{
    font-size:36px;
    color:#3B82F6;
}

.footer p{
    margin-top:15px;
    color:#94a3b8;
}

.footer-socials{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin:35px 0;
}

.footer-socials a{
    color:white;
    border:1px solid #3B82F6;
    padding:12px 24px;
    border-radius:30px;
    transition:.3s;
}

.footer-socials a:hover{
    background:#3B82F6;
}

.copyright{
    margin-top:25px;
    font-size:14px;
    color:#64748b;
}
/* =================================
   ABOUT SECTION - PROFESSIONAL
================================= */

.about {
    padding: 100px 8%;
    position: relative;
}

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

.section-title h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title p {
    color: #94a3b8;
    margin-top: 10px;
    font-size: 17px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding: 35px;
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 22px;
    color: #3b82f6;
}

.about-text p {
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 17px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.stat-card {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.stat-card h3 {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 10px;
}

.stat-card p {
    color: #cbd5e1;
    font-size: 16px;
}


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

@media (max-width: 992px) {

    .about {
        padding: 80px 6%;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .section-title p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-text {
        padding: 28px 22px;
        text-align: center;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-card h3 {
        font-size: 32px;
    }

    .stat-card p {
        font-size: 14px;
    }
}
@media (max-width: 600px) {

    .about {
        padding: 55px 6% 70px;
    }

    .section-title {
        margin-bottom: 45px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .about-text h3 {
        font-size: 29px;
        line-height: 1.2;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-stats {
        gap: 14px;
    }

    .stat-card {
        min-height: 120px;
        padding: 22px 10px;
    }

    .stat-card h3 {
        font-size: 32px;
    }
}
/* =================================
   MOBILE SECTION SPACING
================================= */

@media (max-width: 600px) {

    /* Cleaner end of About section */
    .about {
        padding-bottom: 45px;
    }

    /* Bring Experience closer to About */
    #experience {
        padding-top: 55px;
    }

    /* Keep previous section content contained */
    .hero {
        overflow: hidden;
    }
}
/* =================================
   CLEAN HERO → ABOUT TRANSITION
================================= */

@media (max-width: 600px) {

    .about {
        padding-top: 35px;
    }

    .about .section-title {
        margin-top: 0;
    }

}
/* =================================
   MOBILE HERO HEIGHT FIX
================================= */

@media (max-width: 600px) {

    .hero {
        min-height: auto;
        padding-bottom: 30px;
    }

    .about {
        padding-top: 35px;
    }

}
/* =================================
   ABOUT → EXPERIENCE SPACING
================================= */

@media (max-width: 600px) {

    #experience {
        padding-top: 35px;
        margin-top: 0;
    }

    #experience .section-title {
        margin-bottom: 40px;
    }

}