/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
    background: #000;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/* --- LOCAL FONTS (ANTONIO & SYNCOPATE) --- */

/* 1. ANTONIO DISPLAY (Variable Font - For Navigation Links) */
@font-face {
    font-family: 'Antonio Display'; 
    src: url('fonts/Antonio-VariableFont_wght.ttf') format('truetype'); 
    font-weight: 100 900; 
    font-style: normal; 
}

/* 2. SYNCOPATE REGULAR (For Headings) */
@font-face {
    font-family: 'Syncopate'; 
    src: url('fonts/Syncopate-Regular.ttf') format('truetype'); 
    font-weight: 400; 
    font-style: normal; 
}

/* 3. SYNCOPATE BOLD (For Headings - Handles Bold Weights) */
@font-face {
    font-family: 'Syncopate'; 
    src: url('fonts/Syncopate-Bold.ttf') format('truetype'); 
    font-weight: 700; 
    font-style: normal; 
}

/* --- GLOBAL FONT APPLICATION --- */

/* Body/Paragraphs: Poppins */
body {
    cursor: none; 
}

body, 
.hero-subtitle, 
.section-header p,
.about-text p,
.btn {
    font-family: 'Poppins', sans-serif; 
    font-weight: 400; 
    line-height: 1.6;
}

/* Headings/Titles: Syncopate */
h1, h2, h3, h4, .hero-title {
    font-family: 'Syncopate', sans-serif; 
    font-weight: 700; 
}

/* --- CUSTOM CURSOR STYLES (COMPLETE) --- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
}

.cursor-ring {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 8px 24px rgba(0,0,0,0.35);
    transform: translate(-50%, -50%);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(6px);
}

.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
    transition: background 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor--hidden { 
    opacity: 0; 
}

.cursor--active .cursor-ring { 
    width: 52px; 
    height: 52px; 
    border-color: rgba(255,255,255,0.75); 
    background: rgba(255,255,255,0.06); 
}
.cursor--active .cursor-dot {
    background: transparent;
    width: 0px;
    height: 0px;
}

.cursor--link .cursor-ring {
    width: 64px;
    height: 64px;
    border-color: #9370DB;
    background: rgba(147, 112, 219, 0.1); 
}

/* Disable custom cursor on small touch screens */
@media (hover: none), (pointer: coarse) {
    body { cursor: auto; }
    .cursor { display: none; }
}

/* --- END CUSTOM CURSOR STYLES --- */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: saturate(140%) blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { margin-left: 16px; }

.nav-logo img {
    height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.55));
}

.nav-menu {
    display: flex; /* <-- RESTORED: Ensures menu is horizontal by default */
    list-style: none;
    gap: 2.5rem;
}

/* NAV LINKS: ANTONIO DISPLAY */
.nav-link {
    text-decoration: none;
    color: #dcdcdc;
    font-weight: 700;
    font-family: 'Antonio Display', sans-serif; 
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: rgba(255,255,255,0.85);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section (General Styles - Kept the original names for consistency across files) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
    color: #ffffff;
    position: relative; 
    overflow: hidden;
}

/* --- VIDEO BACKGROUND STYLES (Keep for other pages) --- */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); 
    z-index: 2;
}

/* Hero Container (General Styles - Might be adjusted on index.html) */
.hero-container {
    position: relative; 
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    color: #eaeaea;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* BUTTONS (General) */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 16px 34px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

/* Floating Card/Image (for index page) */
.floating-card {
    position: relative;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
    box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.floating-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.floating-card img {
    width: 300px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* Flyers removed */

/* Section Headers (General) */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Contact Section (Original Simple Layout) */
.contact {
    padding: 6rem 0;
    background: #0b0b0b;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 10px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

.contact-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.contact-details h3 {
    color: #eaeaea;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #cfcfcf;
}

.contact-form {
    background: rgba(255,255,255,0.06);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: #0f0f0f;
    color: #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #0f0f0f;
    background-image: radial-gradient(600px 120px at 20% 0%, rgba(255,255,255,0.06), transparent 70%),
                        radial-gradient(600px 120px at 80% 0%, rgba(255,255,255,0.06), transparent 70%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #cfcfcf;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #bdbdbd;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #0b0b0b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255,255,255,0.06);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 10px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255,255,255,0.15);
    animation: iconPulse 3.2s ease-in-out infinite;
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #eaeaea;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #cfcfcf;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: #0f0f0f;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.filter-btn.active,
.filter-btn:hover {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.portfolio-item:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65);
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.07);
    filter: brightness(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}
.portfolio-meta {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #e8e8e8;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.portfolio-meta .tag { opacity: 0.9; }
.portfolio-meta .title { font-weight: 700; }


.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
    background-image: radial-gradient(800px 200px at 50% -10%, rgba(255,255,255,0.06), transparent 70%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e6e6e6;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #eaeaea;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease, color 0.2s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 8px 20px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.55), 0 14px 30px rgba(0, 0, 0, 0.55);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.8;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Camera Lens Overlay */
.lens-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(closest-side, transparent 0%, transparent 0%, rgba(0,0,0,0.92) 0%);
    pointer-events: none;
    z-index: 1500;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lens-overlay.active {
    opacity: 1;
    animation: lensOpen 1.4s ease forwards;
}

/* Route transition variant (lens reveal) */
.lens-overlay.route {
    background: #000;
    --x: 50%;
    --y: 50%;
    clip-path: circle(0% at var(--x) var(--y));
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% { box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 10px 24px rgba(0, 0, 0, 0.35); }
    50% { box-shadow: inset 0 2px 0 rgba(255,255,255,0.45), 0 14px 28px rgba(0, 0, 0, 0.45); }
}

/* Studios Marquee */
.studios-marquee {
    background: #0b0b0b;
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee {
    width: 100%;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    will-change: transform;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: clamp(3rem, 13vw, 9rem);
    color: #f2f2f2;
    opacity: 0.95;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #111; /* Changed to dark background for visibility */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        height: 100vh; /* Make it full height on mobile */
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        color: #fff; /* Ensure links are visible on dark background */
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Center career content on mobile */
    .career-header {
        text-align: center;
    }
    
    .roles-list ul {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .floating-card img {
        width: 250px;
        height: 375px;
    }

    .nav-logo img {
        height: 36px;
    }
    .nav-logo { margin-left: 8px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat h4 {
        font-size: 2rem;
    }

    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }
}


/* ---------------------------------------------------------------- */
/* --- CAREER PAGE HEADER STYLES (.career-hero) --- */
/* ---------------------------------------------------------------- */
.career-hero {
    /* Base padding and background */
    min-height: 100vh;
    padding-top: 120px; /* Adjust based on navbar height + extra space to move content down */
    padding-bottom: 4rem;
    background: #000; 
    color: #ffffff;
    /* Removed redundant flex properties which conflict with container */
}

.career-header {
    /* Defines container max width and forces content alignment */
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    /* Added left padding to move content further from the edge */
    padding-left: 80px; 
    padding-right: 20px;
    padding-top: 1rem; /* Adjust this to move content slightly up/down */
}

.career-kicker {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem; 
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.career-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem); 
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.career-sub {
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    color: #c9c9c9;
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- STYLES FOR INTERNSHIP ROLES LIST --- */

.roles-list {
    margin-top: 3rem;
    max-width: 800px;
}

.roles-list h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.roles-list ul {
    list-style: none;
    padding: 0;
    /* Arranges the roles into 2 columns on larger screens */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem 2rem;
}

.roles-list ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: #f0f0f0;
    padding: 10px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease;
}

.roles-list ul li:hover {
    color: #fff;
    cursor: default;
}

.roles-list ul li i {
    margin-right: 12px;
    color: #ffffff;
    font-size: 1.2rem;
    width: 25px; 
    text-align: center;
}

.scroll-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 3rem;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
    color: #e8e8e8;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-pill:hover {
    background: rgba(255,255,255,0.15);
}

.scroll-pill .arrow {
    font-size: 1.2rem;
    transform: rotate(-45deg);
}

/* --- REMOVED: Old .recent-hero styles --- */

/* --- Desktop: show inline nav, hide hamburger --- */
.hamburger { display: none; cursor: pointer; }

/* Bars inside hamburger */
.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  transition: transform .25s ease, opacity .2s ease;
  background: #fff; /* adjust to your theme */
}

/* Mobile styles */
@media (max-width: 768px) {
  /* show hamburger */
  .hamburger { display: block; z-index: 10020; }

  /* hide the nav menu by default */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;             /* adjust to navbar height */
    right: 20px;
    left: 20px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    padding: 1rem;
    border-radius: 10px;
    flex-direction: column;
    gap: 12px;
    z-index: 10010;
  }

  /* visible state */
  .nav-menu.active {
    display: flex;
    animation: slideDown .25s ease forwards;
  }

  /* hamburger active animation (simple cross) */
  .hamburger.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* make sure nav links are tappable and large enough */
  .nav-link {
    padding: 10px 6px;
    display: block;
    font-size: 16px;
  }
}

/* safety: place navbar above everything */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; }

/* Additional responsive fixes for work/career page */
@media (max-width: 1024px) {
    .portfolio-item img,
    .project-item img,
    .floating-card img,
    .about-image img,
    .hero-image {
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover;
    }

    .portfolio-item img,
    .project-item img {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .portfolio-item img,
    .project-item img,
    .floating-card img,
    .about-image img,
    .hero-image {
        height: auto !important;
        max-width: 100% !important;
    }

    .hero-container {
        padding: 0 20px !important;
        height: auto !important;
        min-height: auto !important;
    }

    .hero {
        padding-top: 80px !important;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        text-align: left !important;
    }

    .marquee-item {
        font-size: clamp(1.6rem, 6vw, 3rem) !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem !important;
        text-align: left !important;
    }

    .floating-card img {
        width: 100% !important;
        height: auto !important;
        max-width: 280px !important;
        margin: 0 auto;
    }
}
