:root {
    --primary: #818cf8;       /* Indigo */
    --primary-dark: #c084fc;  /* Purple */
    --secondary: #2dd4bf;     /* Teal */
    --success: #f8fafc;       /* White for buttons */
    --orange: #94a3b8;        /* Slate */
    
    --bg-dark: #09090b;
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

#vanta-bg {
    position: fixed !important;
    z-index: -1 !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: transparent !important;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

p {
    color: var(--text-muted);
}

section {
    padding: 80px 10%;
    min-height: 80vh;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= NAV & HERO (From before) ================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    position: relative;
    background: transparent !important;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    text-align: center;
    z-index: 10;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    display: none;
}

.hero h1 {
    display: block;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    margin: 0 4px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
    max-width: 700px;
}

.greeting {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-image {
    height: auto;
    width: auto;
    justify-content: center;
}

.role-box {
    display: inline-flex;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.role-box .arrow-btn {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 16px 40px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.05);
}

.role-box .arrow-btn:hover {
    background: var(--primary);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(129, 140, 248, 0.4);
}

/* Button Styles */
.role-text {
    background: #25262c;
    padding: 15px 30px;
    font-weight: 600;
}

/* ================= COMMON SECTION STYLES ================= */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-container,
.image-container {
    flex: 1;
}

/* The Green Line next to Titles */

/* ================= SKILLS SECTION ================= */
.skills-section {
    padding: 80px 10%;
    text-align: center;
}

.skills-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-subtitle {
    color: #ffffff;
    font-size: 1.6rem;
    margin-top: 8px;
    font-weight: 700;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.skill-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.skill-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.skill-svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
}

.skill-card:hover .skill-svg {
    transform: rotate(5deg) scale(1.1);
}

.skill-label {
    color: #e6e6e6;
    font-weight: 600;
}

.soft-title {
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.soft-skills-panel {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px 12px;
    border-radius: 10px;
    margin-top: 8px;
}

.soft-skills-list {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.soft-skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    transition: transform 0.3s ease;
    cursor: default;
}

.soft-skill-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.soft-icon {
    font-size: 34px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.soft-skill-item:hover .soft-icon {
    transform: rotate(10deg) scale(1.2);
}

.soft-label {
    color: #ddd;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .technical-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-card {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .technical-grid {
        grid-template-columns: 1fr;
    }

    .soft-skill-item {
        width: 45%;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: var(--primary);
}

/* Geometric Image Accents (The Green "L" shapes) */
.image-container {
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 450px;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.image-container img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    aspect-ratio: 7/9;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-container:hover img {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.2);
}

/* "L" shape on the Left (for About & Contact) */
.left-accent::before {
    display: none;
}

/* "L" shape on the Right (for Skills) */
.right-accent::before {
    display: none;
}

/* Buttons */
.btn-group {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.05);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(129, 140, 248, 0.4);
    background: var(--primary);
    color: #fff;
}

.btn-outline {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--glass-border);
    color: var(--text-main);
    transform: translateY(-3px);
}

/* ================= PROJECTS GRID ================= */
.center-section {
    text-align: left;
}

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

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: flex-end;
    aspect-ratio: 4/3;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.p-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .p-img img {
    transform: scale(1.08);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,9,11,0.95) 0%, rgba(9,9,11,0.2) 50%, transparent 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.p-info {
    position: relative;
    z-index: 3;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
}

.project-card:hover .p-info {
    transform: translateY(0);
}

.p-info h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: -0.5px;
}

.p-info span {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ================= SKILLS ================= */
.mb-30 {
    margin-bottom: 30px;
}

/* ================= CONTACT LIST ================= */
.contact-list {
    margin-top: 40px;
}

.c-item {
    display: flex;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.c-label {
    color: var(--primary);
    width: 100px;
    font-weight: 600;
}

/* ================= FOOTER / THANK YOU ================= */
.footer-split {
    display: flex;
    height: 80vh;
    position: relative;
    justify-content: center;
}

.footer-green {
    width: 25%;
    background: var(--primary);
    height: 100%;
}

.footer-content {
    flex: 1;
    background: transparent;
    /* Was #1a1b20 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    gap: 50px;
    text-align: center;
}

/* Find this section in your CSS and REPLACE it */

.footer-img {
    /* 1. Allow the container to be wider for your banner */
    width: 100%;
    max-width: 550px;
    /* Limits width so it doesn't get too huge */

    /* 2. Reset height so it doesn't force a tall box */
    height: auto;

    /* 3. Adjust positioning (remove the aggressive overlap) */
    position: relative;
    margin-bottom: 20px;
}

/* Add this NEW rule specifically for the image inside the footer */
.footer-img img {
    width: 100%;
    height: auto;
    /* Keeps the original aspect ratio */
    object-fit: contain;
    /* Ensures the whole banner is visible */
    border-radius: 10px;
    /* Optional: makes it look smoother */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /* Adds a nice pop */
}

.footer-text h2 {
    font-size: 4rem;
    margin: 10px 0;
}

.small-green {
    color: var(--primary);
    letter-spacing: 1px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 900px) {
    .hero {
        padding: 100px 5%;
        min-height: auto;
    }

    .hero-content {
        gap: 25px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .highlight {
        padding: 6px 10px;
        font-size: 0.95em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .profile-pic {
        width: 300px;
        height: 300px;
    }

    .split-section,
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 50px 5%;
        gap: 30px;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    /* Swaps order for Skills */

    .section-title {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .section-title::after {
        width: 100px;
    }

    /* Smaller line on mobile */

    .btn-group {
        justify-content: center;
    }

    .hamburger {
        display: none;
    }

    .nav-links {
        position: relative;
        top: auto;
        width: auto;
        background: transparent;
        padding: 0;
        border-top: none;
        max-height: none;
        overflow: visible;
    }

    .nav-links a {
        padding: 0;
        border-bottom: none;
    }

    .footer-green {
        display: none;
    }

    /* Hide green sidebar on mobile */
    .footer-img {
        left: 0;
        width: 100%;
        height: auto;
    }
    .image-container {
        max-width: 100%;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-text h2 {
        font-size: 2.5rem;
    }

    section {
        padding: 50px 5%;
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 60px 5%;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-title .highlight {
        padding: 5px 8px;
        font-size: 0.9em;
        display: block;
        margin: 8px 0;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .greeting {
        font-size: 1.1rem;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .role-box .arrow-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    /* Water Splash Mobile Nav Animation */
    nav {
        padding: 15px 5%;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        z-index: 10000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #1a1b20;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0;
        z-index: 9999;
        -webkit-clip-path: circle(0px at calc(100% - 40px) 40px);
        clip-path: circle(0px at calc(100% - 40px) 40px);
        transition: -webkit-clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: none;
        overflow: hidden;
        pointer-events: none;
    }

    .nav-links.active {
        -webkit-clip-path: circle(150% at calc(100% - 40px) 40px);
        clip-path: circle(150% at calc(100% - 40px) 40px);
        pointer-events: auto;
    }

    .nav-links a {
        color: #e6e6e6;
        text-decoration: none;
        font-size: 2rem;
        font-weight: 600;
        margin-left: 0;
        display: block;
        border-bottom: none;
        opacity: 0;
        transform: translateY(20px);
        transition: color 0.3s, transform 0.3s;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.5s; }

    .nav-links a:hover {
        color: var(--primary);
        transform: scale(1.1);
        background: transparent;
    }

    /* Prevent body scroll while menu open */
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-split {
        height: auto;
    }

    .footer-text h2 {
        font-size: 2rem;
    }

    .footer-text p {
        font-size: 0.9rem;
    }

    .contact-list {
        margin-top: 20px;
    }

    .c-item {
        flex-direction: column;
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .c-label {
        width: 100%;
        margin-bottom: 5px;
    }



    .project-grid {
        grid-template-columns: 1fr;
    }

    .p-img {
        height: 200px;
    }
}


.profile-pic {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    padding: 12px;
    background: var(--glass-bg);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-pic:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(129, 140, 248, 0.2);
}

/* RESPONSIVE TWEAK: Make it smaller on phones */
@media (max-width: 900px) {
    .profile-pic {
        width: 300px;
        height: 300px;
    }
}

/* ================= SCROLL ANIMATIONS ================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card.is-visible {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
}