/* CSS Variables */
:root {
    --bg-color: #0d0d0d;
    --card-bg: rgba(25, 25, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-color: #10b981;
    /* Emerald Green */
    --primary-hover: #059669;
    /* Darker Emerald */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease-in-out;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: url('file:///C:/Users/jabin/.gemini/antigravity/brain/07db6b47-2db2-4d93-b782-88ca9170e290/site_global_bg_1772223793746.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--primary-color);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    /* Slight zoom for premium feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 1));
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.highlight {
    color: var(--text-main);
    font-weight: 600;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.social-links-hero a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 0.5rem;
    color: var(--text-main);
    font-size: 1.1rem;
}

.social-links-hero a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hit-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-item p {
    margin: 0;
    color: var(--text-main);
    font-weight: 600;
}

.education h3 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlight-icon {
    color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item .circle {
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.timeline-item h5 {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-item .date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timeline-item .cgpa {
    font-size: 0.95rem;
}

.timeline-item .cgpa strong {
    color: var(--text-main);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.skill-category:hover .skill-list li {
    background: rgba(16, 185, 129, 0.05);
    color: var(--primary-color);
}

/* Experience Section */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exp-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.exp-header h4 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.exp-date {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.exp-desc {
    color: var(--text-muted);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.tech-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Achievements */
.achievement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cert-card h3 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.custom-list {
    list-style: none;
}

.custom-list li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.custom-list li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.custom-list li strong {
    color: var(--text-main);
}

/* Footer */
footer {
    background: rgba(13, 13, 13, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.social-links-footer {
    margin-bottom: 2rem;
}

.social-links-footer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 0.5rem;
    color: var(--text-main);
    font-size: 1.2rem;
}

.social-links-footer a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsiveness */
@media (max-width: 991px) {
    .hero-name {
        font-size: 4rem;
    }

    .about-grid,
    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        clip-path: circle(0% at top right);
        transition: all 0.4s ease-out;
    }

    .nav-links.active {
        clip-path: circle(150% at top right);
    }

    .hamburger {
        display: block;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section {
        padding: 4rem 0;
    }
}