/* styles.css (Light Gray BG for Hero, Subtle Neural Overlay) */
:root {
    --bg-light: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent-blue: #007bff;
    --border: #dee2e6;
    --card-bg: #ffffff;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --font-family: 'Inter', sans-serif;
    --calligraphy-font: 'Dancing Script', cursive;
    --neural-blue: rgba(0, 123, 255, 0.4); /* 60% reduced opacity for nodes */
    --neural-line: rgba(0, 123, 255, 0.1); /* Thin/soft lines */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 14px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation - Consistent */
/* .main-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    z-index: 99;
    padding: 0.5rem 0;
} */

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.7rem 0;
    background: rgba(10, 15, 31, 0.45);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-calligraphy {
    font-family: var(--calligraphy-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-blue);
    text-shadow: 1px 1px 2px rgba(0,123,255,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a.active {
    color: #00eaff;
    font-weight: 600;
}

/* .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s;
} */

/* .nav-links a:hover {
    color: var(--accent-blue);
} */

.nav-links a {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 6px 10px;
    position: relative;
    color: #e2e2e2;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #00eaff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #00eaff;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.resume-btn {
    background: var(--accent-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 31, 0.35); /* semi-dark overlay */
    z-index: 1;
}

/* Hero - Light Gray BG, Vanta Overlay */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    background: #f8f9fa !important;
} 

.hero-name {
    font-size: 32px;
    color: white;
    margin-bottom: .5rem;
    font-weight: 700;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* pointer-events: none;  */
}


.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    /* margin-bottom: 0.5rem; */
    /* color: var(--text-primary); */
    color: white;
}

.hero-content h2 {
    font-size: 30px;
    font-weight: 600;
    color: white;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    align-items: center;
    pointer-events: auto;
}  */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

/* .cta-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #00eaff;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.cta-btn:hover {
    background: #00c7d8;
} */

/* .cta-btn {
    padding: 0.6rem 1.4rem;
    background: #00eaff;
    color: #001;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 1rem;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #00c7ff;
    transform: translateY(-3px);
} */

.cta-btn {
    padding: 0.75rem 1.8rem;
    background: linear-gradient(135deg, #00eaff, #00b8ff);
    color: #001;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 8px 20px rgba(0, 200, 255, 0.35);
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 200, 255, 0.55);
}

.cta-projects {
    background: #00c2ff;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-size: 17px;
    color: #001;
    display: inline-block;
    margin-top: 10px;
    transition: 0.3s;
}

.cta-projects:hover {
    background: #0df;
    transform: translateY(-2px);
}

/* Icon Buttons - Unchanged */
/* .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.2s ease;
    color: #000;
    font-size: 20px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
} */

.social-btn {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
    color: white !important;
}

.social-btn:hover {
    background: rgba(0, 200, 255, 0.45);
    border-color: rgba(0, 200, 255, 0.7);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.6);
}


.social-btn.github {
    color: #000;
}

.social-btn.linkedin {
    color: #0A66C2;
}

.social-btn.x {
    color: #000;
}

.social-btn.x:hover {
    color: #fff;
    background: #000;
}

.social-btn.gmail {
    border: 2px solid #EA4335;
    color: #EA4335;
}

.social-btn.gmail:hover {
    background: #EA4335;
    color: #fff;
}

/* .projects-btn-round {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 14px;
    color: white;
    background: rgba(0, 234, 255, 0.2);
    border: 1px solid rgba(0, 234, 255, 0.4);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    font-weight: 600;
}

.projects-btn-round:hover {
    background: rgba(0, 234, 255, 0.35);
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.6);
} */


.projects-section {
    padding: 3rem 0;
}

.projects-section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.project-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-demo {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.project-demo ul {
    list-style: disc;
    padding-left: 1.25rem;
    font-size: 12px;
}

.project-demo em {
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.5rem;
}

.demo-placeholder {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.project-stack {
    font-size: 12px;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-links a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 12px;
    border: 1px solid var(--accent-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: background 0.2s;
}

.project-links a:hover {
    background: var(--accent-blue);
    color: white;
}

.freelance-section {
    padding: 3rem 0;
}

.freelance-section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.review-header h4 {
    font-size: 14px;
    font-weight: 500;
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.review-card p {
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.platform {
    font-size: 11px;
    color: var(--text-secondary);
}

.skills-section, .research-section, .contact-section {
    padding: 3rem 0;
}

.skills-section h2, .research-section h2, .contact-section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    font-size: 16px;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.research-list {
    list-style: none;
}

.research-list li {
    font-size: 13px;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.research-list a {
    color: var(--accent-blue);
    text-decoration: none;
}

.contact-section p {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form button {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #0056b3;
}

#hero {
    height: 100vh !important;
    background: #f8f9fa !important;
    position: relative !important;   /* REQUIRED */
    overflow: hidden !important;     /* REQUIRED */
}

@media (max-width: 768px) {
    .nav-links a {
    font-size: 15px;
    padding: 6px 10px;
    letter-spacing: 0.3px;
    }
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
    .projects-grid, .reviews-grid, .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Navbar for dark home page */
body.home .main-nav {
    background: rgba(10, 15, 31, 0.45);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Navbar for white/light pages */
body.projects .main-nav,
body.skills .main-nav,
body.contact .main-nav,
body.research .main-nav,
body.freelance .main-nav {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

body.projects .nav-links a,
body.skills .nav-links a,
body.contact .nav-links a,
body.research .nav-links a,
body.freelance .nav-links a {
    color: #222 !important;
}

body:not(.home-page) main {
    padding-top: 90px;
}