/* ===================================
        GOOGLE FONT & VARIABLES
=================================== */

:root{

    --bg-color:#0d1117;
    --secondary-bg:#161b22;
    --card-bg:rgba(255,255,255,.05);

    --primary:#58a6ff;
    --secondary:#79c0ff;
    --success:#2ea043;

    --text:#ffffff;
    --light:#c9d1d9;
    --gray:#8b949e;

    --border:rgba(255,255,255,.10);

    --shadow:0 10px 30px rgba(0,0,0,.30);

    --radius:18px;

}

/* ===================================
            RESET
=================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(
        135deg,
        #0d1117,
        #161b22,
        #1f2937
    );

    color:var(--text);

    overflow-x:hidden;

}

/* ===================================
          COMMON SECTION
=================================== */

section{

    padding:100px 8%;

}

section h2{

    display:inline-block;

    font-size:42px;

    margin-bottom:60px;

    position:relative;

}

section h2::after{

    content:"";

    position:absolute;

    width:60%;

    height:4px;

    background:var(--primary);

    left:0;

    bottom:-12px;

    border-radius:30px;

}

/* ===================================
            NAVIGATION
=================================== */

nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    background:rgba(13,17,23,.85);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;

}

.logo{

    font-size:32px;

    font-weight:700;

    color:var(--primary);

    letter-spacing:2px;

}

nav ul{

    display:flex;

    gap:35px;

    list-style:none;

}

nav a{

    text-decoration:none;

    color:white;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--primary);

}

/* ===================================
             HERO
=================================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding-top:90px;

}

.hero-content{

    max-width:900px;

}

.hero-content h1{

    font-size:30px;

    color:var(--primary);

    margin-bottom:15px;

}

.hero-content h2{

    font-size:72px;

    line-height:1.1;

    margin-bottom:20px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary),
        var(--success)
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero-content h3{

    font-size:34px;

    color:var(--gray);

    margin-bottom:30px;

    min-height:45px;

}

.hero-content p{

    max-width:750px;

    margin:auto;

    font-size:20px;

    color:var(--light);

    line-height:1.8;

}

/* ===================================
            BUTTONS
=================================== */

button{

padding:14px 34px;

border-radius:35px;

border:none;

cursor:pointer;

font-size:16px;

font-weight:600;

background:linear-gradient(90deg,#58a6ff,#2ea043);

color:white;

transition:.35s;

}

button:hover{

transform:translateY(-4px);

box-shadow:0 12px 30px rgba(88,166,255,.35);

}
/* ===================================
            ABOUT
=================================== */

.about{

    background:var(--secondary-bg);

    text-align:center;

}

.about-container{

    max-width:1100px;

    margin:auto;

}

.about-card{

    background:var(--card-bg);

    border:1px solid var(--border);

    backdrop-filter:blur(15px);

    border-radius:var(--radius);

    padding:45px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.about-card:hover{

    transform:translateY(-8px);

}

.about-card h3{

    color:var(--primary);

    font-size:32px;

    margin-bottom:25px;

}

.about-card p{

    font-size:18px;

    color:var(--light);

    line-height:1.9;

}

/* ===================================
        HIGHLIGHTS
=================================== */

.highlights{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

    gap:25px;

    margin-top:45px;

}

.highlight{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:15px;

    padding:25px;

    transition:.3s;

}

.highlight:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.highlight h4{

    color:var(--primary);

    margin-bottom:12px;

}

.highlight p{

    color:var(--light);

    font-size:15px;

    line-height:1.6;

}

/* ===================================
            SKILLS
=================================== */

.skills{

    text-align:center;

}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    margin-top:40px;

}

.skill-card{

    background:var(--card-bg);

    backdrop-filter:blur(15px);

    border:1px solid var(--border);

    border-radius:20px;

    padding:35px 25px;

    transition:.35s;

    box-shadow:var(--shadow);

}

.skill-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 15px 40px rgba(88,166,255,.25);

}

.skill-card h3{

    color:var(--primary);

    margin-bottom:18px;

    font-size:22px;

}

.skill-card p{

    color:var(--light);

    line-height:1.8;

    font-size:16px;

}
.project-card img{

    width:100%;

    height:250px;

    object-fit:contain;

    background:#fff;

    border-radius:15px;

    padding:10px;

    margin-bottom:20px;

}
/* ===================================
            PROJECTS
=================================== */

.projects{

    background:var(--secondary-bg);

    text-align:center;

}

.project-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(450px,1fr));

    gap:35px;

    margin-top:50px;

}

.project-card{

    background:var(--card-bg);

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;

    padding:25px;

    transition:.35s;

    backdrop-filter:blur(15px);

    box-shadow:var(--shadow);

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(88,166,255,.25);

}

.project-card h3{

    color:var(--primary);

    font-size:28px;

    margin:15px 0;

}

.project-card p{

    color:var(--light);

    line-height:1.8;

    margin-bottom:18px;

}

.project-card h4{

    margin-top:20px;

    margin-bottom:15px;

    color:white;

}
/* ===================================
            TECH STACK BADGES
=================================== */

.tech-stack{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-top:20px;

margin-bottom:25px;

}

.tech-stack span{

background:rgba(88,166,255,.12);

color:var(--primary);

padding:8px 14px;

border-radius:30px;

font-size:14px;

font-weight:600;

border:1px solid rgba(88,166,255,.25);

transition:.3s;

}

.tech-stack span:hover{

background:var(--primary);

color:white;

transform:translateY(-3px);

}
/* ===================================
          PROJECT BUTTONS
=================================== */

.project-buttons{

display:flex;

justify-content:center;

gap:15px;

margin-top:25px;

flex-wrap:wrap;

}

.project-buttons a{

text-decoration:none;

}

.project-buttons button{

margin-top:0;

padding:12px 22px;

font-size:15px;

}
/* ===================================
        DEVOPS JOURNEY
=================================== */

.journey{

    background:var(--secondary-bg);

    text-align:center;

}

.timeline{

    max-width:900px;

    margin:60px auto 0;

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    left:25px;

    top:0;

    width:4px;

    height:100%;

    background:var(--primary);

}

.timeline-item{

    display:flex;

    align-items:flex-start;

    margin-bottom:45px;

    position:relative;

}

.timeline-dot{

    width:20px;

    height:20px;

    border-radius:50%;

    background:var(--primary);

    margin-right:30px;

    margin-left:16px;

    z-index:2;

    box-shadow:0 0 15px rgba(88,166,255,.7);

}

.timeline-content{

    background:var(--card-bg);

    border:1px solid var(--border);

    border-radius:18px;

    padding:25px;

    text-align:left;

    flex:1;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateX(8px);

    border-color:var(--primary);

    box-shadow:0 12px 35px rgba(88,166,255,.20);

}

.timeline-content h3{

    color:var(--primary);

    margin-bottom:12px;

}

.timeline-content p{

    color:var(--light);

    line-height:1.8;

}
/* ===================================
          HERO BUTTONS
=================================== */

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

margin-top:40px;

flex-wrap:wrap;

}

.secondary-btn{

background:transparent;

border:2px solid var(--primary);

color:var(--primary);

box-shadow:none;

}

.secondary-btn:hover{

background:var(--primary);

color:white;

}
#topBtn{

position:fixed;

bottom:30px;

right:30px;

width:55px;

height:55px;

border-radius:50%;

display:none;

background:var(--primary);

font-size:20px;

z-index:999;

}
/* ===================================
        HERO TECH STACK
=================================== */

.hero-tech{

display:flex;

justify-content:center;

gap:12px;

flex-wrap:wrap;

margin:25px 0;

}

.hero-tech span{

background:rgba(88,166,255,.12);

border:1px solid rgba(88,166,255,.35);

padding:8px 16px;

border-radius:30px;

color:#58a6ff;

font-weight:600;

font-size:15px;

transition:.3s;

}

.hero-tech span:hover{

background:#58a6ff;

color:white;

transform:translateY(-3px);

}
/* ===================================
        HERO SOCIAL LINKS
=================================== */

.hero-social{

display:flex;

justify-content:center;

gap:20px;

margin-top:30px;

flex-wrap:wrap;

}

.hero-social a{

text-decoration:none;

color:#58a6ff;

border:1px solid #58a6ff;

padding:10px 20px;

border-radius:30px;

transition:.3s;

font-weight:600;

}

.hero-social a:hover{

background:#58a6ff;

color:white;

transform:translateY(-3px);

}
/* ===================================
        SMOOTH CARD ANIMATIONS
=================================== */

.about-card,
.skill-card,
.project-card,
.cert-card,
.timeline-content{

transition:all .35s ease;

}

.about-card:hover,
.skill-card:hover,
.project-card:hover,
.cert-card:hover,
.timeline-content:hover{

transform:translateY(-8px);

box-shadow:0 15px 35px rgba(88,166,255,.18);

}
/* ===================================
            FOOTER
=================================== */

footer{

    padding:35px;

    text-align:center;

    background:#0d1117;

    color:#8b949e;

    font-size:15px;

    margin-top:80px;

    border-top:1px solid rgba(255,255,255,.08);

}
/* ===================================
        RESPONSIVE DESIGN
=================================== */

@media (max-width:992px){

.hero-content h2{

font-size:52px;

}

.project-grid{

grid-template-columns:1fr;

}

.about-container{

flex-direction:column;

align-items:center;

}

.skills-grid{

grid-template-columns:repeat(2,1fr);

}

nav{

padding:18px 6%;

}

}
@media (max-width:768px){

nav{

flex-direction:column;

gap:20px;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

gap:18px;

}

.hero{

padding:120px 25px 60px;

height:auto;

}

.hero-content h2{

font-size:40px;

}

.hero-content h3{

font-size:26px;

}

.hero-content p{

font-size:18px;

}

.skills-grid{

grid-template-columns:1fr;

}

.project-grid{

grid-template-columns:1fr;

}

.about-card{

width:100%;

}

.timeline::before{

left:15px;

}

.timeline-dot{

margin-left:6px;

}

}
@media (max-width:480px){

.hero-content h2{

font-size:32px;

}

.hero-content h3{

font-size:22px;

}

.hero-tech span{

font-size:13px;

padding:7px 12px;

}

button{

width:100%;

}

.project-buttons{

flex-direction:column;

}

.hero-buttons{

flex-direction:column;

}

}
/* ===================================
        SCROLL REVEAL
=================================== */

.hidden{

opacity:1;

transform:none;

}

.show{

opacity:1;

transform:translateY(0);

}
/* NAV CONTAINER */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #0f172a; /* dark DevOps look */
}

/* LOGO SECTION */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LOGO IMAGE */
.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* makes it circular */
    object-fit: cover;
}

/* BRAND NAME */
.logo span {
    font-size: 18px;
    font-weight: 600;
    color: white;
}
.logo img:hover {
    transform: scale(1.1);
    transition: 0.3s ease;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;

    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;

    z-index: 9999;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .project-container {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 90%;
    }

    .skills-grid {
        flex-direction: column;
        align-items: center;
    }
}
