/* ==========================================
   Portfolio V2
   Author : Sai Kumar Kadiri
========================================== */

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

*{
    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

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

:root{

    --primary-color:#3B82F6;

    --card-bg:#1E293B;

    --text-light:#CBD5E1;

    --background:#0F172A;

}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#0F172A;

    color:#F8FAFC;

    overflow-x:hidden;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    max-width:100%;

    display:block;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1280px;

    margin:auto;

}
/* ==========================================
   Navigation
========================================== */

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#0F172A;

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;

}

.nav-container{

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.nav-menu a{

    position:relative;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#3b82f6;

    transition:.3s;

}

.nav-menu a:hover::after,

.nav-menu a.active::after{

    width:100%;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-circle{

    width:54px;

    height:54px;

    border-radius:50%;

    background:linear-gradient(135deg,#2563EB,#06B6D4);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    font-weight:700;

    color:white;

    box-shadow:0 0 25px rgba(37,99,235,.45);

}
.logo-text h2{

    font-size:24px;

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

    font-weight:700;

}

.logo-text h2 span{

    color:#3B82F6;

}
.logo-text p{

    color:#94A3B8;

    margin-top:4px;

    font-size:14px;

}

.nav-menu{

    display:flex;

    gap:40px;

}

.nav-menu a{

    transition:.3s;

    font-weight:500;

}

.nav-menu a:hover{

    color:#3B82F6;

}

/* Active Navigation */

.nav-menu a.active{

    color:#3b82f6;

}

.nav-menu a.active::after{

    width:100%;

}

.resume-btn{

    display:flex;

    align-items:center;

    gap:10px;

    padding:13px 26px;

    border-radius:10px;

    background:linear-gradient(135deg,#2563EB,#1D4ED8);

    transition:.3s;

    font-weight:600;

}

.resume-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(37,99,235,.35);

}

.resume-btn:hover{

    background:#1D4ED8;

}
.nav-menu a{

    position:relative;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#3B82F6;

    transition:.3s;

}

.nav-menu a:hover::after{

    width:100%;

}
/* ==========================================
   Hero Section
========================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:100px;

}

.hero-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:70px;
}

.hero-left{

    min-height:500px;

    display:flex;

    justify-content:center;

    flex-direction:column;

}

/* ==========================================
   Hero Left
========================================== */

.hero-greeting{

    color:#3B82F6;

    font-size:24px;

    font-weight:600;

    margin-bottom:18px;

}

.hero-title{

    font-size:64px;

    line-height:1.1;

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

    margin-bottom:20px;

}

.hero-title span{

    color:#3B82F6;

}

.hero-role{

    font-size:36px;

    color:white;

    margin-bottom:20px;

}

.hero-tech{

    color:#38BDF8;

    font-size:22px;

    font-weight:600;

    margin-bottom:28px;

}

.hero-description{

    color:#CBD5E1;

    font-size:18px;

    line-height:1.9;

    max-width:620px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}
/* ==========================================
   Hero Buttons
========================================== */

.btn-primary{

    display:flex;

    align-items:center;

    gap:10px;

    padding:16px 34px;

    border-radius:10px;

    background:linear-gradient(135deg,#2563EB,#1D4ED8);

    font-weight:600;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 14px 28px rgba(37,99,235,.35);

}

.btn-secondary{

    display:flex;

    align-items:center;

    gap:10px;

    padding:16px 30px;

    border:1px solid #2563EB;

    border-radius:10px;

    transition:.3s;

}

.btn-secondary:hover{

    background:#2563EB;

    transform:translateY(-4px);

    box-shadow:0 12px 25px rgba(37,99,235,.35);

}

.btn{

    transition:.3s;

}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:

    0 12px 30px rgba(59,130,246,.35);

}

@media(max-width:992px){

.hero-container{

grid-template-columns:1fr;

}

.hero-title{

font-size:48px;

}

.hero-role{

font-size:28px;

}

.hero-tech{

font-size:20px;

}

.hero-buttons{

justify-content:center;

}

.hero-left{

text-align:center;

}

}
/* ==========================================
   Hero Right
========================================== */

.hero-right{
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.hero-image-wrapper{
    position:relative;
    width:420px;
    height:420px;
}

.profile-card{
    width:320px;
    height:320px;
    margin:auto;
    border-radius:50%;
    overflow:hidden;
    border:6px solid #2563EB;
    box-shadow:
        0 0 30px rgba(37,99,235,.45),
        0 0 70px rgba(6,182,212,.25);
    background:#1E293B;
}

.profile-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.tech-badge{
    position:absolute;
    background:#1E293B;
    padding:12px 18px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    gap:8px;
    color:white;
    font-size:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    animation:float 4s ease-in-out infinite;
}

.java{
    top:20px;
    left:50%;
    transform:translateX(-50%);
}

.react{
    top:145px;
    left:-35px;
}

.dsa{
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
}

.github{
    bottom:90px;
    left:0;
}

.mysql{
    bottom:110px;
    right:5px;
}

.database{
    bottom:60px;
    right:0;
}
@keyframes float{

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

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

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

}
/* ==========================================
   HERO RIGHT
========================================== */

.hero-right{

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

}

.profile-wrapper{

    position:relative;
    width:560px;
    height:560px;

}

.profile-circle{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:380px;
    height:380px;

    border-radius:50%;

    overflow:hidden;

    border:6px solid #2563EB;

    background:#111827;

    box-shadow:
    0 0 35px rgba(37,99,235,.45),
    0 0 90px rgba(37,99,235,.20);

    animation:floatPhoto 5s ease-in-out infinite;

}

.profile-circle img{

    width:100%;
    height:100%;
    object-fit:cover;

}
.tech-card{

    position:absolute;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:12px 18px;

    width:auto;
    height:auto;

    white-space:nowrap;

    background:#1E293B;

    border:1px solid rgba(255,255,255,.08);

    border-radius:999px;

    color:white;

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

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:10;

    animation:floatBadge 4s ease-in-out infinite;

}
.java{
    top:20px;
    left:50%;
    transform:translateX(-50%);
}

.react{
    top:150px;
    left:-40px;
}

.system-design{
    top:145px;
    right:-60px;
}

.github{
    bottom:120px;
    left:-20px;
}
@keyframes floatPhoto{

0%{

transform:translate(-50%,-50%) translateY(0px);

}

50%{

transform:translate(-50%,-50%) translateY(-10px);

}

100%{

transform:translate(-50%,-50%) translateY(0px);

}

}

@keyframes floatBadge{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-8px);

}

100%{

transform:translateY(0);

}

}
@media(max-width:992px){

.profile-wrapper{

width:100%;
height:450px;

}

.profile-circle{

width:250px;
height:250px;

}

.tech-card{

font-size:13px;
padding:8px 14px;

}

}
.profile-wrapper::before{

    content:"";

    position:absolute;

    width:460px;

    height:460px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(37,99,235,.20) 0%,
    rgba(37,99,235,0) 70%);

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    z-index:-1;

}
.tech-card{
    z-index:10;
}

.profile-circle{
    z-index:5;
}
/*==========================
        ABOUT SECTION
==========================*/

.about{
    padding:120px 10%;
    background:#111827;
}

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

.section-subtitle{
    color:#3b82f6;
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:14px;
    font-weight:600;
}

.section-header h2{
    font-size:48px;
    color:#fff;
    margin-top:15px;
}

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

.about-image img{
    width:100%;
    max-width:480px;
    display:block;
    margin:auto;
}

.about-content h3{
    color:#fff;
    font-size:36px;
    margin-bottom:25px;
}

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

.about-info{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.about-info div{
    background:#1e293b;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:20px;
    transition:.35s;
}

.about-info div:hover{
    transform:translateY(-6px);
    border-color:#3b82f6;
}

.about-info strong{
    display:block;
    color:#3b82f6;
    margin-bottom:8px;
}

.about-info span{
    color:#fff;
}

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

.skills{
    padding:120px 0;
}

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

.section-title span{
    color:var(--primary-color);
    font-size:14px;
    letter-spacing:3px;
    text-transform:uppercase;
    font-weight:600;
}

.section-title h2{
    font-size:52px;
    margin:18px 0;
}

.section-title p{
    width:700px;
    max-width:90%;
    margin:auto;
    color:var(--text-light);
    line-height:1.8;
}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.skill-card{

    background:#1d2740;

    border:1px solid rgba(255,255,255,.06);

    border-radius:22px;

    padding:40px 30px;

    text-align:center;

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-12px);

    border-color:#2563eb;

    box-shadow:0 15px 40px rgba(37,99,235,.25);

}

.skill-card i{

    font-size:42px;

    color:#3b82f6;

    margin-bottom:20px;

}

.skill-card h3{

    font-size:24px;

    margin-bottom:15px;

}

.skill-card p{

    color:var(--text-light);

    line-height:1.8;

}

.skill-card{

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

    box-shadow:

    0 20px 40px rgba(0,0,0,.3);

}

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

.about-stats{

    margin-top:80px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-card{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:35px 25px;

    text-align:center;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-10px);

    border-color:#3b82f6;

    box-shadow:0 15px 40px rgba(59,130,246,.25);

}

.stat-card h3{

    font-size:42px;

    color:#3b82f6;

    margin-bottom:12px;

    font-weight:700;

}

.stat-card p{

    color:#cbd5e1;

    font-size:17px;

    line-height:1.5;

}
@media(max-width:992px){

.skills-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:650px){

.skills-grid{

grid-template-columns:1fr;

}

.section-title h2{

font-size:38px;

}

}
/* ===========================
        PROJECTS
=========================== */

.projects{
    padding:120px 0;
}

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

.projects .section-title span{
    color:var(--primary-color);
    letter-spacing:4px;
    font-weight:600;
}

.projects .section-title h2{
    font-size:3rem;
    margin:15px 0;
}

.projects .section-title p{
    max-width:700px;
    margin:auto;
    color:var(--text-light);
    line-height:1.8;
}

.projects-grid{

    display:grid;

    gap:45px;

}

.project-card{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    background:var(--card-bg);

    border-radius:20px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.05);

    transition:.4s;

    transition:0.35s ease;

    overflow:hidden;

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

    box-shadow:0 20px 60px rgba(37,99,235,.15);

}

.project-card.reverse{

    grid-template-columns:1fr 1.2fr;

}

.project-card.reverse .project-image{

    order:2;

}

.project-card.reverse .project-content{

    order:1;

}

.project-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 50px rgba(37,99,235,.18);

}

.project-card{
    transition: all .35s ease;
}

.project-card:hover{

    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.35);

    border-color:#3b82f6;

}

.project-image{

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

    transition:.4s ease;

}

.project-card:hover .project-image img{

    transform:scale(1.04);

}

.project-card:hover img{

    transform:scale(1.05);

}

.project-image{

    overflow:hidden;

    border-radius:20px;

}

.project-image img{

    transition:transform .5s ease;

}

.project-card:hover .project-image img{

    transform:scale(1.05);

}

.project-content{

    padding:40px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.project-tag{

    background:rgba(37,99,235,.15);

    color:var(--primary-color);

    display:inline-block;

    padding:6px 16px;

    border-radius:30px;

    margin-bottom:18px;

    font-size:.9rem;

}

.project-content h3{

    font-size:2rem;

    margin-bottom:18px;

}

.project-content p{

    color:var(--text-light);

    line-height:1.8;

}

.tech-stack{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:25px 0;

}

.tech-stack span{

    background:#121d35;

    padding:8px 16px;

    border-radius:30px;

    font-size:.85rem;

}

.project-buttons{

    display:flex;

    gap:15px;

    margin-top:30px;

    flex-wrap:wrap;

}

.project-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;

}

.project-btn i{

    font-size:15px;

}

.project-btn.primary{

    background:linear-gradient(135deg,#3b82f6,#2563eb);

    color:white;

}

.project-btn.primary:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(37,99,235,.35);

}

.project-btn.secondary{

    border:1px solid rgba(255,255,255,.15);

    color:white;

    background:rgba(255,255,255,.04);

}

.project-btn.secondary:hover{

    background:#111827;

    transform:translateY(-3px);

}

.project-btn{

    padding:12px 22px;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.project-btn.primary{

    background:var(--primary-color);

    color:white;

}

.project-btn.primary:hover{

    background:#1d4ed8;

}

.project-btn.secondary{

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

    color:white;

}

.project-btn.secondary:hover{

    background:var(--primary-color);

}

/*=========================================
            JOURNEY SECTION
=========================================*/

.experience{

    padding:120px 0;

}

.timeline{

    max-width:900px;

    margin:70px auto 0;

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    left:70px;

    top:0;

    bottom:0;

    width:4px;

    background:#2563eb;

}

.timeline-item{

    display:flex;

    gap:40px;

    margin-bottom:60px;

    position:relative;

}

.timeline-year{

    min-width:80px;

    height:80px;

    border-radius:50%;

    background:#2563eb;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    font-size:20px;

    z-index:2;

}

.timeline-content{

    flex:1;

    background:#1e293b;

    padding:30px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);

    transition:.3s;

}

.timeline-content:hover{

    transform:translateY(-6px);

    border-color:#2563eb;

    box-shadow:0 15px 40px rgba(37,99,235,.25);

}

.timeline-content h3{

    font-size:28px;

    margin-bottom:15px;

}

.timeline-content p{

    color:#cbd5e1;

    line-height:1.8;

}

@media (max-width:768px){

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

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

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

    .nav-container{
        flex-direction:column;
        gap:20px;
    }

    .nav-menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .logo{
        justify-content:center;
    }

    .resume-btn{
        width:100%;
        justify-content:center;
    }

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

    .hero-container{
    display:grid;
    grid-template-columns:1fr;
    text-align:center;
    gap:50px;
}

    .hero-left{
        width:100%;
    }

    .hero-right{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .hero-title{
        font-size:2.8rem;
    }

    .hero-role{
        font-size:1.5rem;
    }

    .hero-description{
        max-width:100%;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
        gap:15px;
    }

    .profile-wrapper{
        transform:scale(.85);
    }

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

    .about-container{
    display:grid;
    grid-template-columns:1fr;
    text-align:center;
    gap:40px;
}

    .about-image{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .about-image img{
        max-width:320px;
        width:100%;
    }

    .about-content{
        width:100%;
    }

    .about-info{
        grid-template-columns:1fr;
        gap:20px;
    }

}


@media(max-width:992px){

.certification-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:650px){

.certification-grid{

grid-template-columns:1fr;

}

}

.timeline-item{

flex-direction:column;

gap:20px;

}

.timeline-year{

width:70px;

height:70px;

font-size:18px;

}

}
/*=========================================
        CERTIFICATIONS
=========================================*/

.certifications{

    padding:120px 0;

}

.certification-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.certificate-card{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.35s;

}

.certificate-card:hover{

    transform:translateY(-8px);

    border-color:#2563eb;

    box-shadow:0 18px 45px rgba(37,99,235,.22);

}

.certificate-icon{

    font-size:52px;

    margin-bottom:20px;

}

.certificate-card h3{

    font-size:24px;

    margin-bottom:12px;

}

.certificate-card h4{

    color:#3b82f6;

    font-size:18px;

    margin-bottom:15px;

}

.certificate-card p{

    color:#cbd5e1;

    line-height:1.7;

    margin-bottom:20px;

}

.certificate-year{

    display:inline-block;

    padding:8px 18px;

    background:#2563eb;

    border-radius:30px;

    font-weight:600;

    color:white;

}

.certificate-card{

    transition:.35s;

}

.certificate-card:hover{

    transform:translateY(-8px);

    box-shadow:

    0 18px 40px rgba(0,0,0,.35);

}

/* ================= ENGINEERING JOURNEY ================= */

.learning{
    padding:100px 0;
}

.learning-timeline{
    display:flex;
    flex-direction:column;
    gap:30px;
    max-width:900px;
    margin:60px auto 0;
}

.learning-card{
    display:flex;
    gap:25px;
    padding:30px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:20px;
    transition:.3s;
}

.learning-card:hover{
    transform:translateY(-8px);
    border-color:#3b82f6;
}

.learning-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    flex-shrink:0;
}

.learning-content h3{
    margin-bottom:12px;
    color:#fff;
}

.learning-content p{
    color:#b8c0d4;
    line-height:1.8;
}

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

.contact{
    padding:100px 0;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:50px;
    margin-top:60px;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-card{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:25px;
    transition:.3s;
}

.contact-card:hover{
    border-color:#3b82f6;
    transform:translateY(-6px);
}

.contact-card h3{
    color:#fff;
    margin-bottom:10px;
}

.contact-card p{
    color:#b8c0d4;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
    width:100%;
}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:16px 18px;

    border:1px solid rgba(255,255,255,.1);
    border-radius:12px;

    background:#1b2435;
    color:#fff;

    font-size:16px;

    outline:none;

    transition:.3s;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#3b82f6;

    box-shadow:0 0 15px rgba(59,130,246,.25);

}

.contact-form textarea{

    resize:vertical;
    min-height:150px;

}

.contact-form button{

    width:fit-content;

}

.contact-form button:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

}

.contact-card:hover{

    transform:translateY(-8px);

    box-shadow:

    0 18px 40px rgba(0,0,0,.35);

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

.footer{

    padding:60px 0;

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

    text-align:center;

}

.footer-content h2{

    color:#fff;

    margin-bottom:15px;

}

.footer-content p{

    color:#b8c0d4;

}

.footer-links{

    display:flex;

    justify-content:center;

    gap:30px;

    margin:35px 0;

    flex-wrap:wrap;

}

.footer-links a{

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:#3b82f6;

}

.copyright{

    margin-top:20px;

    font-size:15px;

    color:#94a3b8;

}
@media (max-width:768px){

    .project-card,
    .project-card.reverse{

        grid-template-columns:1fr;

    }

    .project-card.reverse .project-image,
    .project-card.reverse .project-content{

        order:unset;

    }

    .project-content{

        padding:30px;

    }

}
/* Space between project cards */
.projects-grid{
    display: grid;
    gap: 45px;
}

/* Extra spacing for every project card */
.project-card{
    margin-bottom: 45px;
}
/* ===========================
   JOURNEY SECTION
=========================== */

.journey-section{
    padding:120px 8%;
    background:#0f172a;
}

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

    content:"";

    position:absolute;

    left:28px;

    top:0;

    width:3px;

    height:100%;

    background:linear-gradient(
        #3b82f6,
        #2563eb
    );

}
.timeline-item{

    position:relative;

    margin-bottom:60px;

    padding-left:90px;

}
.timeline-dot{

    position:absolute;

    left:14px;

    top:12px;

    width:28px;

    height:28px;

    border-radius:50%;

    background:#3b82f6;

    border:5px solid #0f172a;

    box-shadow:

    0 0 15px #3b82f6,

    0 0 30px #2563eb;

}

.timeline-content{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:28px;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

    box-shadow:

    0 20px 45px rgba(59,130,246,.18);

}
.timeline-date{

    display:inline-block;

    color:#60a5fa;

    font-size:14px;

    margin-bottom:10px;

    font-weight:600;

}

.timeline-content h3{

    color:white;

    margin-bottom:15px;

    font-size:26px;

}

.timeline-content p{

    color:#cbd5e1;

    line-height:1.8;

}

.timeline-content{

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

}

@media(max-width:768px){

.timeline::before{

left:14px;

}

.timeline-item{

padding-left:50px;

}

.timeline-dot{

left:0;

}

}

/* Scroll Animation */

.hidden{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}
/* ================= BACK TO TOP ================= */

#backToTop{

    position:fixed;

    bottom:30px;

    right:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#2563eb;

    color:white;

    font-size:22px;

    cursor:pointer;

    display:none;

    justify-content:center;

    align-items:center;

    box-shadow:0 10px 25px rgba(37,99,235,.35);

    transition:.3s;

    z-index:999;

}

#backToTop:hover{

    transform:translateY(-5px);

    background:#1d4ed8;

}

/* ================= PRELOADER ================= */

#preloader{

    position:fixed;

    inset:0;

    background:#0f172a;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:opacity .6s ease;

}

.loader{

    width:60px;

    height:60px;

    border:6px solid rgba(255,255,255,.15);

    border-top:6px solid #3b82f6;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}
.social-links a:hover{

    transform:translateY(-5px) scale(1.08);

}
#toast{

    position:fixed;

    top:30px;
    right:30px;

    padding:16px 22px;

    border-radius:12px;

    color:#fff;

    font-weight:600;

    opacity:0;

    transform:translateY(-20px);

    transition:.4s;

    z-index:9999;

}

#toast.show{

    opacity:1;

    transform:translateY(0);

}

#toast.success{

    background:#16a34a;

}

#toast.error{

    background:#dc2626;

}