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

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f172a;
    color: #ffffff;
    line-height: 1.6;
}
body {
    background-color: #0f172a;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
header {
    background: #111827;
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    top: 0;
}
header {
    position: relative;
    z-index: 10;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #38bdf8;
    font-weight: bold;
}

/* ===== HERO SECTION CLEAN VERSION ===== */

.hero {
    position: relative;
    text-align: center;
    padding: 180px 20px 140px;
    background-color: #0f172a;
    overflow: hidden;
    z-index: 1;
}

/* DevOps Background Image */
.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: url("image/devops-bg.png") no-repeat center;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

/* Soft radial glow */
.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56,189,248,0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Hero content must be above background */
.hero-content {
    position: relative;
    z-index: 5;
}

/* Gradient Name */
.hero h1 {
    font-size: 52px;
    background: linear-gradient(90deg, #38bdf8, #22c55e, #38bdf8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

.hero h3 {
    font-size: 24px;
    margin: 10px 0;
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0% { transform: translateY(-50%) translateX(0px); }
    50% { transform: translateY(-52%) translateX(-10px); }
    100% { transform: translateY(-50%) translateX(0px); }
}
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.btn-outline {
    display: inline-block;
    margin-left: 15px;
    padding: 10px 25px;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: #38bdf8;
    color: #0f172a;
}

section {
    padding: 80px 50px;
    text-align: center;
}

h2 {
    margin-bottom: 40px;
    color: #38bdf8;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card, .project-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.project-card .btn {
    margin-top: 15px;
    display: inline-block;
}

.card:hover, .project-card:hover {
    transform: translateY(-5px);
    background: #334155;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111827;
    font-size: 14px;
}

/* Project detail page container */
.project-container {
    max-width: 900px;
    margin: 120px auto;
    padding: 40px;
    background: #1e293b;
    border-radius: 12px;
    text-align: left;
}

/* Project page headings */
.project-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.project-container h3 {
    margin-top: 30px;
    color: #38bdf8;
}

/* Bullet alignment fix */
.project-container ul {
    margin-top: 10px;
    padding-left: 20px;
}

.project-container li {
    margin-bottom: 8px;
}

/* ================= ACHIEVEMENTS SECTION ================= */

#achievements {
    padding: 80px 50px;
    text-align: center;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.achievement-card {
    position: relative;
    background: linear-gradient(135deg, #1e293b, #24344d);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s ease;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.achievement-card h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background: #334155;
}
/* ===== PROFILE PAGE FINAL FIX ===== */

.profile-container {
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    gap: 50px;
    max-width: 700px;
    margin: 0 auto;
}

.profile-container {
    display: flex;
    align-items: center;       /* vertically align image & text */
    gap: 50px;
}

.profile-image img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    color: #38bdf8;
    margin-bottom: 15px;
    font-size: 22px;
}

.profile-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ================= EXPERIENCE SECTION ================= */

#experience {
    padding: 80px 50px;
    text-align: center;
}

.experience-container {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 14px;
    text-align: left;
    transition: 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    background: #263449;
}

.experience-card h3 {
    color: #38bdf8;
    margin-bottom: 8px;
}

.company {
    font-weight: bold;
}

.duration {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.experience-card ul {
    padding-left: 20px;
}

.experience-card li {
    margin-bottom: 8px;
}

#contact a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
}

#contact a:hover {
    text-decoration: underline;
}

.tech-badges {
    margin-top: 20px;
}

.tech-badges span {
    display: inline-block;
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.4);
    color: #38bdf8;
    padding: 6px 14px;
    margin: 6px;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s ease;
}

.tech-badges span:hover {
    background: #38bdf8;
    color: #0f172a;
}

.pipeline-line {
    height: 2px;
    width: 60%;
    margin: 60px auto;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    opacity: 0.6;
}

/* ===== CAREER PAGE ===== */

#career {
    padding: 120px 20px;
    text-align: center;
}

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

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #38bdf8, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 35px;
    left: 100%;
    width: 16px;
    height: 16px;
    background: #38bdf8;
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: 0;
}

.timeline-dot.active {
    background: #22c55e;
    box-shadow: 0 0 15px #22c55e;
}

.timeline-content h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.timeline-content span {
    font-size: 14px;
    color: #94a3b8;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
}

/* ===== INTRO ANIMATION ===== */

/* #intro {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.intro-content h1 {
    font-size: 48px;
    color: #38bdf8;
    animation: glow 5s ease-in-out infinite alternate;
}

.intro-content p {
    margin-top: 10px;
    color: #94a3b8;
    font-family: monospace;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #38bdf8;
    }
    to {
        text-shadow: 0 0 25px #22c55e;
    }
} */

.terminal {
    margin-top: 15px;
    font-family: monospace;
    color: #22c55e;
}

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

.show {
    opacity: 1;
    transform: translateY(0);
}

.btn:hover {
    box-shadow: 0 0 20px rgba(56,189,248,0.6);
    transform: translateY(-3px);
}

/* ===== INTRO SCREEN ===== */

#intro{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#0f172a;

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

    z-index:9999;
}

/* Text */

#intro-text{
    font-size:50px;
    color:#38bdf8;
    font-weight:bold;
    animation:introZoom 2s ease forwards;
}

/* Animation */

@keyframes introZoom{

    0%{
        transform: scale(0.3);
        opacity:0;
    }

    20%{
        transform: scale(1);
        opacity:1;
    }

    /* pause */

    70%{
        transform: scale(1);
        opacity:1;
    }

    /* fast zoom */

    100%{
        transform: scale(4);
        opacity:0;
    }

}
/* 
/* ===== MOBILE RESPONSIVE ===== */
/* @media (max-width:768px){

#intro-text{
    font-size:50px;
    color:#38bdf8;
    letter-spacing:2px;
    animation:introZoom 3s ease forwards;
}

}

@media (max-width: 768px) {

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

    .hero h3{
        font-size: 18px;
    }


    .hero-buttons{
        display:flex;
        flex-direction:column;
        gap:10px;
        align-items:center;
    }

    .hero-buttons a{
        width:200px;
        text-align:center;
    }

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

    .profile-image img{
        width:140px;
        height:180px;
    }


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


    .experience-card{
        padding:20px;
    }

    nav{
        flex-direction:column;
        gap:10px;
    }

}


.hero-buttons{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}


.hero-buttons a{
    width:220px;
    text-align:center;
} */