
:root {
    --navy-primary: #0a192f;
    --navy-light: #172a45;
    --black: #020c1b;
    --white: #ffffff;
    --text-slate: #495670;
    --navy-glow: rgba(10, 25, 47, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--white);
    color: var(--navy-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===================== NAVIGATION ===================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(10, 25, 47, 0.05);
}

#logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-primary);
}

#nav-tabs {
    display: flex;
    gap: 30px;
}

#nav-tabs a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-primary);
    transition: var(--transition);
    position: relative;
}

#nav-tabs a.active, #nav-tabs a:hover {
    color: var(--navy-light);
}

#nav-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--navy-primary);
}

/* ===================== HERO SECTION ===================== */
#about-hero {
    min-height: 60vh;
    padding: 160px 10% 80px;
    text-align: center;
    background: radial-gradient(circle at top, #f8faff 0%, #ffffff 100%);
}

#about-hero h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 20px;
}

#about-hero p {
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: var(--text-slate);
}

#about-hero strong {
    color: var(--navy-primary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===================== BUTTONS ===================== */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-navy {
    background: var(--navy-primary);
    color: var(--white);
}

.btn-black {
    background: var(--black);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px var(--navy-glow);
}

/* ===================== SKILLS SECTION ===================== */
#skills {
    padding: 80px 10%;
    background: #ffffff;
}

#skills h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row desktop */
    gap: 30px;
}

.skill-card {
    background: var(--navy-primary);
    color: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Static Card: Glow on hover only */
.skill-card:hover {
    box-shadow: 0 0 30px var(--navy-glow), 0 0 10px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.skill-card p {
    font-size: 1rem;
    opacity: 0.85;
}

/* ===================== EXPERIENCE SECTION ===================== */
#experience {
    padding: 80px 10% 120px;
    text-align: center;
}

#experience h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* Subtle line under heading */
#experience h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--navy-primary);
    border-radius: 5px;
}

#experience p {
    max-width: 800px;
    margin: 40px auto 0;
    color: var(--text-slate);
    font-size: 1.1rem;
}

/* ===================== FOOTER ===================== */
footer {
    padding: 40px 10%;
    text-align: center;
    border-top: 1px solid #eee;
    color: var(--text-slate);
    font-size: 0.9rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    nav { padding: 0 5%; }
    #nav-tabs { display: none; } /* Hamburger menu recommended here */
    
    .skills-grid {
        grid-template-columns: 1fr; /* Stacked on mobile */
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn { width: 100%; text-align: center; }
}