/* ========================================
   Google Font
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* ================ */

@import url("project-detail.css");

/* ======================================
        PROJECT DETAIL
======================================== */

/* Hero Project */
/* CSS Step 8.5.1 */
/* ==========================
    PROJECT HERO
========================== */

.project-hero{

    padding:150px 0 80px;

}

.back-link{

    color:var(--primary);

    display:inline-block;

    margin-bottom:25px;

}

.back-link:hover{

    color:white;

}

.project-category{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:rgba(0,198,255,.15);

    color:var(--primary);

    margin-bottom:20px;

}

.project-title{

    font-size:58px;

    font-weight:700;

}

.project-description{

    margin:25px 0;

    color:var(--text2);

    line-height:1.9;

}

.project-badges{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.project-badges span{

    padding:8px 18px;

    border-radius:30px;

    background:#1d2634;

    color:white;

}


/* ========================================
   Root
======================================== */

:root{

    --primary:#00C6FF;
    --secondary:#0072FF;

    --bg:#0d1117;
    --bg2:#161b22;

    --card:#1f2937;

    --text:#ffffff;
    --text2:#b5b5b5;

}


/* ========================================
   Global
======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

}


/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        var(--primary),
        var(--secondary)
    );

    border-radius:20px;

}


/* ========================================
   Section
======================================== */

section{

    padding:100px 0;

    position:relative;

}


/* ========================================
   Title
======================================== */

.section-title{

    text-align:center;

    font-size:40px;

    font-weight:700;

    margin-bottom:15px;

}

.section-subtitle{

    color:var(--text2);

    text-align:center;

    margin-bottom:70px;

}


/* ========================================
   Card
======================================== */

.glass{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

}


/* ========================================
   Button
======================================== */

.btn-primary-custom{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

    padding:14px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

    display:inline-block;

}

.btn-primary-custom:hover{

    transform:translateY(-4px);

    color:white;

    box-shadow:0 10px 30px rgba(0,198,255,.35);

}


/* ========================================
   Background Effect
======================================== */

body::before{

    content:"";

    position:fixed;

    width:500px;
    height:500px;

    background:#00c6ff22;

    border-radius:50%;

    filter:blur(120px);

    left:-200px;

    top:-100px;

    z-index:-1;

}

body::after{

    content:"";

    position:fixed;

    width:600px;
    height:600px;

    background:#0072ff22;

    border-radius:50%;

    filter:blur(150px);

    right:-250px;

    bottom:-250px;

    z-index:-1;

}


/* ========================================
   Link
======================================== */

a{

    text-decoration:none;

}


/* ========================================
   Image
======================================== */

img{

    max-width:100%;

}


/* ========================================
   Responsive
======================================== */

@media(max-width:768px){

    section{

        padding:70px 0;

    }

    .section-title{

        font-size:30px;

    }

}

/* ========================================
   Navbar
======================================== */

#mainNavbar{

    transition:.4s;

    padding:20px 0;

}

#mainNavbar.scrolled{

    background:rgba(22,27,34,.75);

    backdrop-filter:blur(20px);

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    padding:12px 0;

}

.logo{

    font-size:34px;

    font-weight:700;

    color:white;

}

.logo span{

    color:var(--primary);

}

.logo:hover{

    color:white;

}

.navbar-nav .nav-link{

    color:white;

    margin-left:20px;

    position:relative;

    transition:.3s;

    font-weight:500;

}

.navbar-nav .nav-link:hover{

    color:var(--primary);

}

.navbar-nav .nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-5px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.navbar-nav .nav-link:hover::after{

    width:100%;

}


/* Mobile */

@media(max-width:991px){

    #navbarMenu{

        background:#161b22;

        border-radius:15px;

        padding:25px;

        margin-top:15px;

    }

    .navbar-nav .nav-link{

        margin:15px 0;

    }

}

/* ========================================
   Hero Section & Interactive Canvas
======================================== */

#hero{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:radial-gradient(circle at 80% 25%, rgba(0, 198, 255, 0.08) 0%, transparent 50%),
               radial-gradient(circle at 20% 75%, rgba(0, 114, 255, 0.06) 0%, transparent 50%),
               var(--bg);
}

#heroCanvas{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:block;
    z-index:1;
    pointer-events:none;
    opacity:0.9;
    /* Fade the network softly toward the edges so it blends into the section */
    -webkit-mask-image:radial-gradient(ellipse 85% 80% at 50% 45%, #000 55%, transparent 100%);
            mask-image:radial-gradient(ellipse 85% 80% at 50% 45%, #000 55%, transparent 100%);
}

@media (prefers-reduced-motion: reduce){
    #heroCanvas{ opacity:0.6; }
}

#hero .container{
    position:relative;
    z-index:2;
}


/* Status Pill */
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-top: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
    position: relative;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-top {
    color: var(--text2);
    font-size: 17px;
    font-weight: 500;
    display: block;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.hero-top strong {
    color: var(--primary);
    font-weight: 600;
}

/* Highlight chips under the description */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 5px;
    border-radius: 40px;
    font-size: 13.5px;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.hero-highlight i {
    color: var(--primary);
    font-size: 15px;
}

.hero-highlight:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.06);
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-job {
    margin: 16px 0 20px;
    min-height: 48px;
    color: #38bdf8;
    font-family: 'Poppins', monospace, sans-serif;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt-symbol {
    color: var(--primary);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.6);
}

.hero-desc {
    max-width: 620px;
    color: var(--text2);
    line-height: 1.85;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-desc strong {
    color: #f1f5f9;
    font-weight: 600;
}

.hero-button {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-outline-custom {
    border: 1px solid var(--primary);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 198, 255, 0.05);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #0b1120;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3);
}

/* Hero Social Links */
.hero-social {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-social-label {
    color: var(--text2);
    font-size: 14px;
    font-weight: 500;
    margin-right: 4px;
}

.hero-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-social a:hover {
    background: var(--primary);
    color: #0b1120;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.35);
    border-color: var(--primary);
}

/* ========================================
   Right Column: Avatar & Visual Elements
======================================== */


.hero-image::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    background:linear-gradient(
        var(--primary),
        var(--secondary)
    );

    border-radius:50%;

    filter:blur(90px);

    opacity:.5;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

}

.hero-image img{

    width:360px;

    position:relative;

    animation:float 4s ease-in-out infinite;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ========================================
   Hero Visual: Avatar Card + Floating Badges
======================================== */

.hero-visual-wrapper{
    position:relative;
    min-height:480px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-glow-backdrop{
    position:absolute;
    width:340px;
    height:340px;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius:50%;
    filter:blur(90px);
    opacity:.35;
    animation:glowPulse 6s ease-in-out infinite;
    z-index:0;
}

@keyframes glowPulse{
    0%,100%{ opacity:.25; transform:translate(-50%,-50%) scale(1); }
    50%{ opacity:.45; transform:translate(-50%,-50%) scale(1.08); }
}

/* Concentric orbit rings that slowly rotate */
.hero-orbit-ring{
    position:absolute;
    top:50%;
    left:50%;
    border-radius:50%;
    border:1px dashed rgba(0, 240, 255, 0.22);
    transform:translate(-50%,-50%);
    z-index:0;
    pointer-events:none;
}

.hero-orbit-ring.orbit-1{
    width:400px;
    height:400px;
    animation:spin 26s linear infinite;
}

.hero-orbit-ring.orbit-2{
    width:500px;
    height:500px;
    border-color:rgba(59, 130, 246, 0.16);
    animation:spin 40s linear infinite reverse;
}

/* small node on each ring */
.hero-orbit-ring::before{
    content:"";
    position:absolute;
    top:-4px;
    left:50%;
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--primary);
    box-shadow:0 0 12px var(--primary);
    transform:translateX(-50%);
}

@keyframes spin{
    from{ transform:translate(-50%,-50%) rotate(0deg); }
    to{ transform:translate(-50%,-50%) rotate(360deg); }
}

/* Avatar card */
.hero-avatar-card{
    position:relative;
    z-index:2;
    width:300px;
    height:360px;
    border-radius:24px;
    overflow:hidden;
    background:linear-gradient(160deg, rgba(31,41,55,.9), rgba(13,17,23,.9));
    border:1px solid rgba(0, 240, 255, 0.25);
    box-shadow:0 25px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
    animation:float 5s ease-in-out infinite;
}

.hero-avatar-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
}

/* Floating info badges */
.floating-badge{
    position:absolute;
    z-index:3;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 16px;
    border-radius:16px;
    background:rgba(22,27,34,.82);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 12px 30px rgba(0,0,0,.4);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    max-width:250px;
    opacity:0;
    animation:badgeIn .7s ease forwards, floatBadge 5s ease-in-out infinite;
}

.floating-badge i{
    font-size:22px;
    flex-shrink:0;
}

.floating-badge div{
    display:flex;
    flex-direction:column;
    line-height:1.3;
}

.floating-badge .badge-text{
    font-size:14px;
    font-weight:600;
    color:#f1f5f9;
}

.floating-badge .badge-sub{
    font-size:11.5px;
    color:var(--text2);
}

/* positions + staggered timings */
.floating-badge.fb-1{
    top:14%;
    left:-6%;
    animation-delay:.2s, .2s;
}

.floating-badge.fb-2{
    top:46%;
    right:-8%;
    animation-delay:.45s, 1.2s;
}

.floating-badge.fb-3{
    bottom:10%;
    left:0%;
    animation-delay:.7s, 2.1s;
}

@keyframes badgeIn{
    from{ opacity:0; transform:translateY(14px) scale(.95); }
    to{ opacity:1; transform:translateY(0) scale(1); }
}

@keyframes floatBadge{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
}

@media (prefers-reduced-motion: reduce){
    .hero-glow-backdrop,
    .hero-orbit-ring,
    .hero-avatar-card,
    .floating-badge{
        animation:none !important;
    }
    .floating-badge{ opacity:1; }
}

/* ---- Tablet & below: center the hero, tidy the visual ---- */
@media(max-width:991px){

    #hero{
        min-height:auto;
    }

    #hero .row.min-vh-100{
        min-height:auto !important;
    }

    /* Center all the text content */
    #hero .col-lg-7{
        text-align:center;
    }

    .hero-highlights,
    .hero-button,
    .hero-social{
        justify-content:center;
    }

    .hero-desc{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-title{
        font-size:44px;
    }

    .hero-visual-wrapper{
        margin-top:60px;
        min-height:420px;
    }

    /* Outer ring is too wide for these screens */
    .hero-orbit-ring.orbit-2{ display:none; }

    /* Keep badges inside the viewport (no negative offsets) */
    .floating-badge.fb-1{ left:0; }
    .floating-badge.fb-2{ right:0; }
}

/* ---- Phones: simplify so nothing overflows ---- */
@media(max-width:575px){

    .hero-top{
        font-size:15px;
    }

    .hero-title{
        font-size:32px;
        line-height:1.2;
    }

    .hero-job{
        font-size:18px;
        min-height:auto;
        justify-content:center;
    }

    .prompt-symbol{
        font-size:20px;
    }

    .hero-desc{
        font-size:14.5px;
        line-height:1.7;
    }

    .hero-highlight{
        font-size:12.5px;
        padding:6px 12px;
    }

    .hero-status-pill{
        font-size:12px;
        padding:7px 14px;
    }

    /* Full-width, comfortable tap targets */
    .hero-button{
        gap:12px;
    }

    .hero-button .btn-primary-custom,
    .hero-button .btn-outline-custom{
        width:100%;
        justify-content:center;
        text-align:center;
    }

    /* Visual: keep the avatar + glow, drop the elements that overflow */
    .hero-visual-wrapper{
        margin-top:45px;
        min-height:340px;
    }

    .hero-avatar-card{
        width:230px;
        height:290px;
    }

    /* Orbit rings and floating badges cause horizontal overflow on
       narrow screens, so hide them and let the avatar shine */
    .hero-orbit-ring{ display:none; }
    .floating-badge{ display:none; }
}


/* ========================================
   About
======================================== */

#about{

    background:#111827;

}

#about p{

    color:var(--text2);

    line-height:1.9;

}

.stat-card{

    text-align:center;

    padding:35px 20px;

    transition:.3s;

    height:100%;

}

.stat-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,198,255,.15);

}

.stat-card h2{

    font-size:42px;

    font-weight:700;

    color:var(--primary);

}

.stat-card p{

    margin-top:10px;

    color:var(--text2);

    margin-bottom:0;

}


/* ========================================
   Skills
======================================== */

#skills{

    background:#0d1117;

}

.skill-item{

    margin-bottom:25px;

}

.progress{

    height:10px;

    background:#2b3442;

    border-radius:30px;

    overflow:hidden;

    margin-top:8px;

}

.progress-bar{

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

}

.skill95{

    width:95%;

}

.skill90{

    width:90%;

}

.skill80{

    width:80%;

}

.skill65{

    width:65%;

}

.skill70{

    width:70%;

}

/* Tech Grid */

.tech-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.tech-card{

    background:rgba(255,255,255,.05);

    border-radius:15px;

    text-align:center;

    padding:25px 10px;

    transition:.3s;

}

.tech-card{

    position:relative;

    overflow:hidden;

}

.tech-card::before{

    content:"";

    position:absolute;

    width:180px;
    height:180px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    top:-120px;
    left:-120px;

    transition:.5s;

}

.tech-card:hover::before{

    top:-40px;
    left:-40px;

}

.tech-card i{

    font-size:55px;

    transition:.35s;

}

.tech-card span{

    display:block;

    margin-top:12px;

}

.tech-card:hover{

    transform:translateY(-8px);

    background:rgba(0,198,255,.12);

    box-shadow:0 10px 30px rgba(0,198,255,.2);

}

.tech-card:hover i{

    transform:scale(1.18) rotate(5deg);

}

@media(max-width:768px){

    .tech-grid{

        grid-template-columns:repeat(2,1fr);

        margin-top:30px;

    }

}

/* ========================================
   Experience
======================================== */

#experience{

    background:#111827;

}

.timeline{

    position:relative;

    max-width:900px;

    margin:auto;

}

.timeline::before{

    content:"";

    position:absolute;

    left:25px;

    top:0;

    width:3px;

    height:100%;

    background:linear-gradient(
        var(--primary),
        var(--secondary)
    );

}

.timeline-item{

    position:relative;

    padding-left:70px;

    margin-bottom:50px;

}

.timeline-dot{

    position:absolute;

    left:15px;

    width:22px;

    height:22px;

    background:var(--primary);

    border-radius:50%;

    border:4px solid #111827;

    box-shadow:0 0 20px rgba(0,198,255,.5);

}

.timeline-content{

    padding:30px;

}

.timeline-year{

    display:inline-block;

    background:rgba(0,198,255,.15);

    color:var(--primary);

    padding:6px 16px;

    border-radius:30px;

    margin-bottom:15px;

    font-size:14px;

}

.timeline-content h4{

    margin-bottom:5px;

}

.timeline-content h6{

    color:var(--text2);

    margin-bottom:20px;

}

.timeline-content ul{

    padding-left:20px;

    margin:0;

}

.timeline-content li{

    margin-bottom:10px;

    color:var(--text2);

}

.timeline-content:hover{

    transform:translateY(-6px);

    transition:.3s;

    box-shadow:0 15px 35px rgba(0,198,255,.15);

}

/* ---- Section heading (Experience header) ---- */
.section-label{
    display:inline-block;
    padding:6px 16px;
    border-radius:30px;
    background:rgba(0,198,255,.12);
    border:1px solid rgba(0,198,255,.25);
    color:var(--primary);
    font-size:13px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
    margin-bottom:16px;
}

.section-heading{
    margin-bottom:60px;
}

.section-heading .section-subtitle{
    max-width:640px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:0;
}

/* ---- Timeline card header (title + current badge) ---- */
.timeline-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:16px;
}

.timeline-content h3{
    font-size:22px;
    font-weight:700;
    margin:6px 0 4px;
    color:var(--text);
}

.timeline-content h5{
    font-size:15px;
    font-weight:500;
    color:var(--primary);
    margin:0;
}

/* "Current" pill on the right of the header */
.timeline-header > .timeline-year{
    margin-bottom:0;
    flex-shrink:0;
    background:rgba(16,185,129,.15);
    color:#10b981;
    font-weight:600;
}

.timeline-description{
    color:var(--text2);
    line-height:1.85;
    margin-bottom:20px;
    font-size:15px;
}

/* ---- Technical focus tags (chips) ---- */
.experience-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px;
}

.experience-tags span{
    display:inline-flex;
    align-items:center;
    padding:6px 14px;
    border-radius:30px;
    background:rgba(0,198,255,.1);
    border:1px solid rgba(0,198,255,.22);
    color:#cbeafe;
    font-size:13px;
    font-weight:500;
    line-height:1.4;
    transition:.25s ease;
}

.experience-tags span:hover{
    background:rgba(0,198,255,.2);
    border-color:rgba(0,198,255,.45);
    color:#fff;
    transform:translateY(-2px);
}

/* ---- Key responsibilities ---- */
.experience-details{
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.08);
}

.experience-details h6{
    font-size:13px;
    font-weight:600;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:var(--primary);
    margin-bottom:14px;
}

.experience-details ul{
    list-style:none;
    padding-left:0;
    margin:0;
}

.experience-details li{
    position:relative;
    padding-left:26px;
    margin-bottom:10px;
    color:var(--text2);
    line-height:1.75;
    font-size:14.5px;
}

/* Blue circle bullet instead of default number/disc marker */
.experience-details li::before{
    content:"";
    position:absolute;
    left:0;
    top:9px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--primary);
    box-shadow:0 0 8px rgba(0,198,255,.6);
}

.experience-details li:last-child{
    margin-bottom:0;
}

@media(max-width:768px){

    .timeline::before{

        left:15px;

    }

    .timeline-dot{

        left:5px;

    }

    .timeline-item{

        padding-left:50px;

    }

    .timeline-content{
        padding:24px 20px;
    }

    .timeline-header{
        flex-direction:column;
        gap:10px;
    }

    .timeline-content h3{
        font-size:19px;
    }

    .section-heading{
        margin-bottom:45px;
    }
}

/* ========================================
   Projects
======================================== */

#projects{

    background:#0d1117;

}

.project-card{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

}

.project-card img{

    width:100%;

    height:270px;

    object-fit:cover;

    transition:.5s;

}

.project-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.95),

        rgba(0,0,0,.35)

    );

    display:flex;

    flex-direction:column;

    justify-content:end;

    padding:25px;

    opacity:0;

    transition:.4s;

}

.project-card:hover img{

    transform:scale(1.1);

}

.project-card:hover .project-overlay{

    opacity:1;

}

.project-overlay h4{

    color:white;

}

.project-overlay p{

    color:#d0d0d0;

}

.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:10px;

}

.project-tech span{

    background:rgba(0,198,255,.18);

    color:var(--primary);

    padding:5px 15px;

    border-radius:30px;

    font-size:13px;

}

.project-link{
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.project-link:hover{
    color: inherit;
}

.project-card{
    height: 100%;
    cursor: pointer;
}

.project-link:hover .project-card{
    transform: translateY(-8px);
    transition: .3s ease;
}

.project-link:hover .btn-primary-custom{
    transform: translateX(5px);
}

/* ========================================
   PROJECT DETAIL
======================================== */

/* Hero Project */
/* CSS Step 8.5.1 */
/* ==========================
    PROJECT HERO
========================== */

.project-hero{

    padding:150px 0 80px;

}

.back-link{

    color:var(--primary);

    display:inline-block;

    margin-bottom:25px;

}

.back-link:hover{

    color:white;

}

.project-category{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:rgba(0,198,255,.15);

    color:var(--primary);

    margin-bottom:20px;

}

.project-title{

    font-size:58px;

    font-weight:700;

}

.project-description{

    margin:25px 0;

    color:var(--text2);

    line-height:1.9;

}

.project-badges{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.project-badges span{

    padding:8px 18px;

    border-radius:30px;

    background:#1d2634;

    color:white;

}

.project-info{

    padding:30px;

}

.info-item small{

    color:var(--text2);

}

.status-live{

    background:#16a34a;

    color:white;

    padding:8px 18px;

    border-radius:30px;

}

.project-info hr{

    border-color:rgba(255,255,255,.1);

}

/* Showcase */
/* CSS Step 8.5.2 */
/* ==========================
    SHOWCASE
========================== */

.project-showcase{

    padding-top:20px;

}

.project-mockup{

    background:#1b2431;

    padding:20px;

    border-radius:25px;

    box-shadow:0 30px 60px rgba(0,0,0,.4);

    transition:.4s;

}

.project-mockup:hover{

    transform:translateY(-10px);

}

.project-mockup img{

    border-radius:15px;

}


/* ==========================
    Gallery
========================== */

.project-gallery{

    background:#111827;

}

.gallery-card{

    background:#1d2634;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

}

.gallery-card img{

    width:100%;

    height:180px;

    object-fit:cover;

    transition:.35s;

}

.gallery-card h6{

    padding:18px;

    text-align:center;

    margin:0;

}

.gallery-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 35px rgba(0,198,255,.15);

}

.gallery-card:hover img{

    transform:scale(1.08);

}

/* Gallery */
/* CSS Step 8.5.2 */

/* ==========================
    SHOWCASE
========================== */

.project-showcase{

    padding-top:20px;

}

.project-mockup{

    background:#1b2431;

    padding:20px;

    border-radius:25px;

    box-shadow:0 30px 60px rgba(0,0,0,.4);

    transition:.4s;

}

.project-mockup:hover{

    transform:translateY(-10px);

}

.project-mockup img{

    border-radius:15px;

}

/* ==========================
    Gallery
========================== */

.project-gallery{

    background:#111827;

}

.gallery-card{

    background:#1d2634;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

}

.gallery-card img{

    width:100%;

    height:180px;

    object-fit:cover;

    transition:.35s;

}

.gallery-card h6{

    padding:18px;

    text-align:center;

    margin:0;

}

.gallery-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 35px rgba(0,198,255,.15);

}

.gallery-card:hover img{

    transform:scale(1.08);

}

/* ======================================
        FOOTER
====================================== */

#footer{

    background:#06090f;

    padding:70px 0;

    text-align:center;

}

#footer h3{

    color:white;

    margin-bottom:15px;

}

#footer p{

    color:var(--text2);

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:35px 0;

}

.footer-social a{

    width:50px;

    height:50px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#1b2431;

    color:white;

    text-decoration:none;

    transition:.3s;

}

.footer-social a:hover{

    background:var(--primary);

    transform:translateY(-6px);

}

.copyright{

    margin-top:25px;

    font-size:14px;

}

/* ======================================
        BACK TO TOP
====================================== */

#backToTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(0,198,255,.3);

    transition:.3s;

}

#backToTop:hover{

    transform:translateY(-5px);

}

/* ======================================
        CONTACT
====================================== */

#contact{

    background:#111827;

}

.contact-wrapper{

    max-width:700px;

    margin:50px auto;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:20px;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.contact-item:last-child{

    border:none;

}

.contact-item i{

    font-size:30px;

    color:var(--primary);

    width:40px;

    text-align:center;

}

.contact-item span{

    display:block;

    color:var(--text2);

    font-size:.9rem;

    margin-bottom:3px;

}

.contact-item a,

.contact-item p{

    margin:0;

    color:#fff;

    text-decoration:none;

    font-weight:600;

}

.contact-item a:hover{

    color:var(--primary);

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:50px;

}

.btn-outline-custom{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 26px;

    border:1px solid var(--primary);

    color:var(--primary);

    border-radius:50px;

    text-decoration:none;

    transition:.3s;

}

.btn-outline-custom:hover{

    background:var(--primary);

    color:#fff;

}