:root {
    /* --- Editable Variables --- */

    /* Colors */
    --bg-dark: #0A0A12;
    --text-white: #FFFFFF;
    --text-gray: #B0B0C0;

    --purple-primary: #6A30FF;
    --purple-accent: #8B5CFF;
    --purple-glow: rgba(106, 48, 255, 0.4);

    /* Font */
    --font-main: 'Outfit', sans-serif;

    /* Effects */
    --tilt-angle: 6deg;
    --card-border-radius: 16px;
    --btn-radius: 50px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-main);
    color: var(--text-white);
    background: radial-gradient(circle at 10% 20%, #12042b 0%, #000000 90%);
    overflow-x: hidden;
    padding-top: 80px;
    /* Space for fixed header */
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
}

/* --- Layout --- */

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    /* Reduced bottom padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    min-height: 80vh;
    /* Reduced from 90vh */
}

/* --- Background Glow --- */
.glow-bg {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--purple-accent) 0%, rgba(10, 10, 18, 0) 70%);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* --- Left Side: Content --- */
.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 2;
    /* Neumorphic 3D Container */
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 30px;
    box-shadow:
        -10px -10px 30px rgba(255, 255, 255, 0.03),
        /* Top-left light */
        10px 10px 30px rgba(0, 0, 0, 0.8),
        /* Bottom-right shadow */
        inset 0 0 0 rgba(255, 255, 255, 0.0);
    /* No inset by default */
    transition: transform var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.hero-content:hover {
    transform: translateY(-5px);
    /* Subtle lift on hover */
}

.intro-text {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--purple-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.main-heading {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    /* Darker base for emboss visibility */

    /* Embossed Text Effect (Neumorphism on Text) */
    text-shadow:
        -2px -2px 4px rgba(255, 255, 255, 0.1),
        /* Light highlight */
        2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Dark shadow */
}

.main-heading .highlight {
    color: var(--purple-primary);
    /* Filled color for better contrast with effects */
    -webkit-text-stroke: 0;
    text-shadow:
        0 0 20px var(--purple-glow),
        -1px -1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Cool text fill animation on hover (optional enhancement) */
.main-heading .highlight::before {
    content: "Marketing";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    color: var(--purple-accent);
    overflow: hidden;
    transition: width 0.5s ease;
    text-shadow: none;
}

.hero-container:hover .main-heading .highlight::before {
    width: 100%;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* Buttons & Socials */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--purple-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--btn-radius);
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--purple-accent);
    box-shadow: 0 8px 25px var(--purple-glow);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all var(--transition-speed);
    font-size: 1.2rem;
}

.social-icon:hover {
    border-color: var(--purple-primary);
    color: var(--purple-primary);
    box-shadow: 0 0 15px var(--purple-glow);
    transform: scale(1.1);
    background: rgba(106, 48, 255, 0.05);
    /* Subtle tint fill */
}

/* --- Right Side: Visual --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-wrapper {
    position: relative;
    padding: 2rem;
    /* Initial space for rotation */
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    /* Straight glow by default */
    width: 320px;
    height: 420px;
    background: var(--purple-primary);
    filter: blur(50px);
    opacity: 0.4;
    z-index: -1;
    transition: transform var(--transition-speed);
    /* Removed pulse animation to keep state clean, or can keep it with 0deg base */
}

.tilted-card {
    position: relative;
    width: 300px;
    height: 500px;
    background: #1a1a24;
    padding: 10px;
    /* Border thickness */
    border-radius: var(--card-border-radius);
    transform: rotate(0deg);
    /* Straight by default */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed);
}

.card-wrapper:hover .tilted-card {
    transform: rotate(var(--tilt-angle)) scale(1.02);
    /* Tilt on hover */
}

.card-wrapper:hover .card-glow {
    transform: translate(-50%, -50%) rotate(var(--tilt-angle));
}

.card-image-container {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: calc(var(--card-border-radius) - 4px);
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(106, 48, 255, 0.3), transparent 60%);
    pointer-events: none;
}

/* --- Animations --- */
@keyframes pulse-glow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) rotate(var(--tilt-angle)) scale(1);
    }

    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) rotate(var(--tilt-angle)) scale(1.05);
    }
}

/* --- Responsive Layout --- */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Image on top on mobile often looks good, or bottom. Let's stack Text Top, Image Bottom usually better for Intro. Wait user asked: "stack layout vertically".  */
        /* Standard stack: Image often goes first on social profiles, but for hero intro Text First is better for context. Let's keep Text on top, Image items below. */
        flex-direction: column;
        justify-content: center;
        gap: 4rem;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center align text */
    }

    .action-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-heading {
        font-size: 2.8rem;
    }

    /* Reduce tilt on mobile */
    .tilted-card {
        transform: rotate(3deg);
        /* Reduced tilt */
        width: 280px;
        height: 360px;
    }

    .card-glow {
        transform: translate(-50%, -50%) rotate(3deg);
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2.5rem;
    }

    .tilted-card {
        transform: rotate(0deg);
        /* Remove tilt */
    }

    .card-glow {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* --- About Section --- */
.about-section {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto 6rem;
    /* Reduced spacing from hero */
    padding: 2rem;
    display: flex;
    justify-content: center;
}

/* --- Experience Section (Timeline) --- */
.experience-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 6rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    /* For neat reveal */
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(106, 48, 255, 0.4);
}

/* Timeline Container & Spine */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

/* The Spine */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(106, 48, 255, 0.2);
}

/* Timeline Card */
.timeline-card {
    position: relative;
    width: 45%;
    margin-bottom: 3rem;
    background: var(--bg-dark);
    padding: 1.5rem 2rem;
    border-radius: 16px;

    /* Neumorphic Look */
    box-shadow:
        -5px -5px 15px rgba(255, 255, 255, 0.03),
        5px 5px 15px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
}

/* Left & Right Positioning */
.timeline-card.left {
    margin-left: 0;
    margin-right: auto;
}

.timeline-card.right {
    margin-left: auto;
    margin-right: 0;
}

/* Spine Dots */
.timeline-card::after {
    content: '';
    position: absolute;
    top: 2rem;
    /* Align with header */
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--purple-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--purple-glow);
    z-index: 3;
    transition: background 0.3s;
}

.timeline-card.left::after {
    right: -calc(5% + 22px);
    /* 50% container - 45% card = 5% gap + half dot width approx */
    /* Precise calc: 50vw is center. Card width 45%. Gap 5%. */
    right: -11.1%;
    /* relative to card width of 45%. 5 / 45 ~= 11.1% */
    /* Let's try flexible positioning via calculation match with Spine */
    right: -2rem;
    /* Fallback/tweak needed? Since we used % width, explicit px gap might be tricky. */
    right: calc(-1 * (50vw - 100%) - 10px);
    /* Complex. Let's simplify: padding on container? */
    /* Better approach: Spine is at left: 50% of container. Card is 45%. Gap is 5% of container. */
}

/* Re-tweak Dot Positioning */
.timeline-card::after {
    /* Reset generic logic, handle in specific left/right */
}

.timeline-card.left::after {
    right: -5.55rem;
    /* Approximation for gap? No, let's use fixed margins or calc logic */
    /* Actually: Spine is absolute left 50% of .timeline-container */
    /* Card is width 45%. So gap is 5% width of container. */
    right: -11.5%;
    /* % of the card width */
}

.timeline-card.right::after {
    left: -11.5%;
}

/* Clean up dot pos specific to layout width 1100px */
@media (min-width: 901px) {
    .timeline-card.left::after {
        right: calc(-1 * (100% / 0.9 * 0.05) - 10px);
        /* Rough calc */
        right: -3.8rem;
        /* Adjusted for visual check */
    }

    .timeline-card.right::after {
        left: -3.8rem;
    }
}

/* Connector Arrow */
.timeline-card::before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 3;
}

.timeline-card.left::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.05);
    /* Match border/bg */
}

.timeline-card.right::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(255, 255, 255, 0.05) transparent transparent;
}

/* Hover & Active States */
.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(106, 48, 255, 0.15);
    border-color: rgba(106, 48, 255, 0.3);
}

.timeline-card.expanded {
    background: #15151e;
    /* Slightly lighter/different tone */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    border-color: var(--purple-accent);
}

.timeline-card.expanded::after {
    background: var(--purple-accent);
    /* Fill dot */
    box-shadow: 0 0 20px var(--purple-accent);
}

/* Card Content */
.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--purple-primary);
    background: #fff;
    /* Ensure logo is visible if transparent */
    padding: 2px;
    box-shadow: 0 0 10px rgba(106, 48, 255, 0.3);
}

.header-text {
    display: flex;
    flex-direction: column;
}

.card-role {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

.card-company {
    font-size: 0.95rem;
    color: var(--purple-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-dates {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.expand-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.timeline-card.expanded .expand-icon {
    transform: rotate(180deg);
    color: var(--purple-primary);
}

/* Details Expansion */
.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.timeline-card.expanded .card-details {
    max-height: 1000px;
    /* Arbitrary large limit */
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-block {
    margin-bottom: 1.5rem;
}

.detail-block h4 {
    font-size: 0.9rem;
    color: var(--purple-accent);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.detail-block ul {
    list-style: none;
    padding-left: 0.5rem;
}

.detail-block li {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
}

.detail-block li::before {
    content: '•';
    color: var(--purple-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Mobile Timeline */
@media (max-width: 900px) {
    .timeline-container::before {
        left: 20px;
        /* Move spine to left */
    }

    .timeline-card {
        width: calc(100% - 50px);
        /* Full width minus space for spine */
        margin-left: 50px !important;
        /* Force left margin */
        margin-right: 0 !important;
    }

    .timeline-card::after {
        left: -40px !important;
        /* Dot on left spine */
        right: auto !important;
    }

    .timeline-card::before {
        left: -10px !important;
        border-width: 10px 10px 10px 0;
        border-color: transparent rgba(255, 255, 255, 0.05) transparent transparent;
    }
}

.about-card {
    background: var(--bg-dark);
    padding: 4rem;
    border-radius: 30px;

    /* Neumorphic 3D Look */
    box-shadow:
        -10px -10px 30px rgba(255, 255, 255, 0.03),
        10px 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 0 0 rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.02);

    transition: all var(--transition-speed);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hover Highlight Effect */
.about-card:hover {
    transform: translateY(-5px);
    box-shadow:
        -10px -10px 30px rgba(255, 255, 255, 0.03),
        10px 10px 40px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(106, 48, 255, 0.1);
    /* Subtle purple glow */
    border-color: rgba(106, 48, 255, 0.3);
}

.section-heading {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

.highlight-text {
    color: var(--purple-accent);
    text-shadow: 0 0 15px rgba(139, 92, 255, 0.3);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Mobile Adjustments for About */
@media (max-width: 768px) {
    .about-card {
        padding: 2rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }
}

/* --- Core Competencies Section --- */
.competencies-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 2rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--purple-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--purple-glow);
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 1rem;
}

@media (max-width: 992px) {
    .competencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .competencies-grid {
        grid-template-columns: 1fr;
    }
}

.competency-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;

    /* Premium Neumorphic Depth */
    box-shadow:
        -8px -8px 20px rgba(255, 255, 255, 0.03),
        8px 8px 20px rgba(0, 0, 0, 0.8),
        inset 0 0 0 rgba(255, 255, 255, 0);
    /* Transition prep */
    border: 1px solid rgba(255, 255, 255, 0.02);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.competency-card:hover {
    transform: translateY(-8px);
    box-shadow:
        -12px -12px 30px rgba(255, 255, 255, 0.04),
        12px 12px 30px rgba(0, 0, 0, 0.9);
    border-color: rgba(106, 48, 255, 0.2);
}

.competency-header {
    margin-bottom: 2rem;
    position: relative;
}

.competency-header h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.line-accent {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), transparent);
    border-radius: 2px;
}

.competency-list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.competency-list li {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    transition: transform 0.2s;
}

.competency-list li i {
    color: var(--purple-accent);
    margin-top: 5px;
    /* Align with text top */
    font-size: 0.8rem;
}

.competency-list li:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Mobile Responsiveness for Grid */
@media (max-width: 992px) {
    .competencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .competencies-grid {
        grid-template-columns: 1fr;
    }

    .competency-card {
        padding: 2rem;
    }
}

/* --- Projects Section --- */
.projects-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 2rem;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--purple-primary);
    color: #fff;
    border-color: var(--purple-primary);
    box-shadow: 0 0 15px var(--purple-glow);
    transform: translateY(-2px);
}

.projects-grid {
    /* Isotope requires the container to be relatively positioned, usually handled by library but good to be safe */
    position: relative;
    /* Remove grid display as isotope handles it, or use block */
    display: block;
}

/* Isotope Item Wrapper */
.project-card-wrapper {
    width: 32%;
    /* 3 columns with some gap allowance handled by isotope or margins */
    margin-bottom: 2rem;
    /* Spacing */
    float: left;
    /* Fallback */
}

/* Responsive Grid for Isotope */
@media (max-width: 992px) {
    .project-card-wrapper {
        width: 48%;
    }
}

@media (max-width: 600px) {
    .project-card-wrapper {
        width: 100%;
    }
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    /* Ensure image and overlay stay inside */
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1a1a24;
    aspect-ratio: 16 / 9;
    /* Maintain standard ratio */
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 48, 255, 0.2);
}

.project-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
    /* Subtle zoom on hover */
}

/* Overlay Panel */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 10, 18, 0.95), rgba(10, 10, 18, 0.7) 70%, transparent);
    transform: translateY(100px);
    /* Partially hidden initially */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-end;
    height: 100%;
    /* Cover full height for gradient effect, but content sits bottom */
}

/* Reveal on Hover */
.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-link {
    font-size: 0.85rem;
    color: var(--purple-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Responsiveness for Grid */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Hobbies Section --- */
.hobbies-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 2rem;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.hobby-card {
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.02),
        5px 5px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-accent);
}

.hobby-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square */
    background: #1a1a24;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    overflow: hidden;
}

.hobby-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Contact Section --- */
.contact-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #0e0e18, #050508);
    border-radius: 30px;
    box-shadow: -10px -10px 30px rgba(255, 255, 255, 0.02),
        10px 10px 30px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.02);
    text-align: center;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.contact-details {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--purple-accent);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.8),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 255, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #6B728E;
    margin-bottom: 5px;
}

.contact-info .value {
    color: var(--text-white);
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info .value:hover {
    color: var(--purple-primary);
}

.social-connect {
    width: 100%;
    margin-top: 1rem;
}

.social-heading {
    color: #6B728E;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.05),
        4px 4px 10px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-btn.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

.social-btn.twitter:hover {
    background: #1da1f2;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.6);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 20px rgba(220, 39, 67, 0.6);
}

@media (max-width: 600px) {
    .contact-details {
        gap: 2rem;
    }
}

/* --- Hobbies Section --- */
.hobbies-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 2rem;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.hobby-card {
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.02),
        5px 5px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-accent);
}

.hobby-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square */
    background: #1a1a24;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    overflow: hidden;
}

.hobby-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hobby-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Contact Section --- */
.contact-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #0e0e18, #050508);
    border-radius: 30px;
    box-shadow: -10px -10px 30px rgba(255, 255, 255, 0.02),
        10px 10px 30px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.02);
    text-align: center;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.contact-details {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--purple-accent);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.8),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 255, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #6B728E;
    margin-bottom: 5px;
}

.contact-info .value {
    color: var(--text-white);
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info .value:hover {
    color: var(--purple-primary);
}

.social-connect {
    width: 100%;
    margin-top: 1rem;
}

.social-heading {
    color: #6B728E;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.05),
        4px 4px 10px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-btn.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

.social-btn.twitter:hover {
    background: #1da1f2;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.6);
}

/* x brand color is essentially black in dark mode but blue is standard twitter branding */
.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 20px rgba(220, 39, 67, 0.6);
}

@media (max-width: 600px) {
    .contact-details {
        gap: 2rem;
    }
}

/* --- Header / Navbar --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(10, 10, 18, 0.85);
    /* Dark translucent */
    backdrop-filter: blur(12px);
    /* Glassmorphism */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.contact-btn {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--purple-primary);
    border-radius: 20px;
}

.nav-link.contact-btn:hover {
    background: var(--purple-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--purple-glow);
}

.nav-link.contact-btn::after {
    display: none;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
}

/* --- Footer --- */
.main-footer {
    background: #050508;
    padding: 4rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--purple-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--purple-primary);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--purple-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--purple-accent);
    padding-left: 5px;
}

.footer-cta {
    color: var(--purple-accent);
    text-decoration: none;
    font-weight: 600;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS toggle later if needed or simpler stack */
        /* For simple MVP often better to just hide or have basic stack */
        /* Here implemented simplified mobile link stack */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 18, 0.95);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }
}