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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
}

.logo {
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

nav a:hover {
    color: #00c6ff;
}

.theme-btn {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 80px;
}

.hero-text h1 {
    font-size: 55px;
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    margin: 20px 0;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    display: inline-block;
}

.hero-text p {
    max-width: 500px;
    margin-top: 20px;
}

/* ===== Modern DevOps Premium Profile Frame ===== */

.hero-image {
    position: relative;
    display: inline-block;
    padding: 8px;
    border-radius: 32px;
    background: linear-gradient(135deg, #3a3f58, #4c4f6b, #2a2f43, #242a38);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img {
    width: 300px;
    border-radius: 28px;
    display: block;
    filter: drop-shadow(0px 5px 12px rgba(0,0,0,0.5));
}

/* Hover pop effect */
.hero-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

/* Animated background */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn {
    display: inline-block;
    margin-top: 20px;
    margin-right: 10px;
    padding: 10px 25px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.section {
    padding: 100px 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

.card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.dark {
    background: rgba(0,0,0,0.2);
}

.skill-bar p {
    margin: 15px 0 5px;
}

.bar {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 10px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 20px;
}

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

.skill {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.3);
}

/* Light Mode */
.light-mode {
    background: #f4f4f4;
    color: #222;
}

.light-mode nav a {
    color: #222;
}

.light-mode .card,
.light-mode .skill,
.light-mode .tagline {
    background: rgba(0,0,0,0.05);
}

.education-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.edu-logo img {
    width: 90px;
    background: white;
    padding: 10px;
    border-radius: 12px;
}

.edu-content h3 {
    margin-bottom: 8px;
}

/* ===============================
   RESPONSIVE + HAMBURGER
================================= */

.nav-container {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: 20px;
}

@media (max-width: 900px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .hero-image img {
        margin-top: 30px;
    }

    .section {
        padding: 70px 20px;
    }

    nav {
        position: absolute;
        top: 80px;
        right: 0;
        background: rgba(15, 32, 39, 0.95);
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        display: none;
        animation: slideDown 0.3s ease;
    }

    nav a {
        display: block;
        margin: 15px 0;
        font-size: 18px;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
    
/* ===============================
   MODERN PROJECT GRID
================================= */

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

.project-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0,198,255,0.6);
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.project-card p {
    margin-bottom: 20px;
    font-size: 15px;
}

/* Tech badges */
.tech-badges {
    margin-bottom: 15px;
}

.tech-badges span {
    display: inline-block;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}
    

