:root {
    /* Color Palette */
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --accent-1: #facd1b; /* Vivid Gold */
    --accent-2: #f59e0b; /* Rich Amber */
    --accent-3: #fbbf24; /* Sun Glow */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #facd1b, #f59e0b, #fbbf24);
    --glass-bg: rgba(10, 10, 12, 0.85);
    --glass-border: rgba(250, 205, 27, 0.2);
    --glass-glow: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacings & Layout */
    --max-width: 1200px;
    --padding-x: 2rem;
    --nav-height: 100px; /* Fixed height for navbar offset */

    /* Cinematic VFX Theme (Devarshi) */
    --accent-vfx: #facd1b;
    --accent-vfx-glow: rgba(250, 205, 27, 0.4);
    --gradient-vfx: linear-gradient(135deg, #facd1b, #f59e0b);

    /* Cinematic Web Theme (Kartavya) */
    --accent-web: #f59e0b;
    --accent-web-glow: rgba(245, 158, 11, 0.4);
    --gradient-web: linear-gradient(135deg, #fbbf24, #f59e0b);

    /* Portfolio Video Background Styles */
    --video-overlay: rgba(10, 10, 12, 0.85);
    --glass-premium: rgba(0, 0, 0, 0.7); /* Significantly darker for text isolation */
    --glass-premium-border: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
    background-color: transparent; /* Changed from var(--bg-primary) to allow fixed background visibility */
}

body {
    font-family: var(--font-primary);
    background-color: transparent; /* Essential for z-index: -1 background visibility */
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Global Background */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.site-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.1) saturate(1.2);
}

.site-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 12, 0.2), rgba(10, 10, 12, 0.6) 70%, var(--bg-primary) 100%);
    z-index: 1;
}

/* Utilities */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section {
    padding: 6rem var(--padding-x);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(250, 205, 27, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 205, 27, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent-1);
}

.full-width {
    width: 100%;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.glass-card-premium {
    background: var(--glass-premium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-premium-border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 var(--padding-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.nav-links a.btn-primary {
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: var(--nav-height) var(--padding-x) 0; /* Clear navbar area */
    overflow: hidden;
}

/* Hero Glow & Effects */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-vfx-glow), transparent 70%);
    opacity: 0.6;
    z-index: -1;
    filter: blur(80px);
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-1);
    top: -10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-3);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.portfolio-img-placeholder {
    height: 250px;
    background: linear-gradient(45deg, #1a1a24, #2a2a35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img-placeholder {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10,10,12,0.95), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.portfolio-info p {
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    max-width: 300px;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--glass-border);
    padding: 10px;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.team-member a:hover .member-photo {
    transform: scale(1.05);
    border-color: var(--accent-1);
}

/* Removed overlay */

.member-name {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.member-role {
    color: var(--accent-2);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details strong {
    color: var(--accent-1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.custom-select-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--accent-2);
    border-radius: 12px 12px 0 0;
    background: rgba(255, 255, 255, 0.08);
}

.custom-select-trigger .arrow {
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 18, 22, 0.98);
    border: 1px solid var(--accent-2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: block;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    border-left: 3px solid transparent;
}

.custom-option:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--text-primary);
    padding-left: 1.8rem;
    border-left-color: var(--accent-2);
}

.custom-option.selected {
    color: var(--accent-2);
    background: rgba(245, 158, 11, 0.05);
    border-left-color: var(--accent-2);
}

/* Scrollbar for custom options */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: var(--accent-2);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(240, 240, 245, 0.3);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem var(--padding-x);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title { font-size: 2.8rem; }
    .hero-buttons { flex-direction: column; }
    .section { padding: 4rem var(--padding-x); }
    .team-grid { gap: 2rem; }
}
/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 10;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent-1);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-vfx-glow); }
    50% { box-shadow: 0 0 40px var(--accent-vfx-glow); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Base Overrides for Cinematic Look */
.section-title {
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #fff, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
}

.gradient-text-vfx {
    background: var(--gradient-vfx);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text-web {
    background: var(--gradient-web);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Managed Pillars Style */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.pillar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.pillar-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.pillar-card.vfx:hover { box-shadow: 0 20px 40px rgba(250, 205, 27, 0.2); }
.pillar-card.web:hover { box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2); }

.director-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.vfx .director-badge { color: var(--accent-vfx); border-color: rgba(250, 205, 27, 0.3); }
.web .director-badge { color: var(--accent-web); border-color: rgba(245, 158, 11, 0.3); }

.pillar-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pillar-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.pillar-features {
    list-style: none;
}

.pillar-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pillar-features i {
    font-size: 1.2rem;
}

.vfx .pillar-features i { color: var(--accent-vfx); }
.web .pillar-features i { color: var(--accent-web); }

/* Custom Scrollbar for VFX feel */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-vfx); }

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 9999; /* Max priority */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1.8rem;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(250, 205, 27, 0.5);
}

/* Team Section - Classic Premium */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    padding: 3rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    transition: transform 0.4s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo-link {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
    padding: 8px; /* Elegant gap for the border */
    background: linear-gradient(135deg, var(--accent-vfx), var(--accent-web));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.member-photo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(250, 205, 27, 0.4);
}

.member-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 4px solid var(--bg-primary);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Center on the face for tall portraits */
    transition: transform 0.5s ease;
}

.member-photo-link:hover .member-photo img {
    transform: scale(1.1);
}

.member-name {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--accent-vfx);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .hero {
        padding-top: calc(var(--nav-height) + 1rem);
    }
}

/* Portfolio Personal Page Video Backgrounds */
.page-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.page-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.page-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.95));
    z-index: -1;
    pointer-events: none;
}

.portfolio-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portfolio-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-height) var(--padding-x) 4rem;
}

.portfolio-back {
    position: fixed;
    top: calc(var(--nav-height) + 1.5rem);
    left: var(--padding-x);
    z-index: 1001;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent-1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.portfolio-back:hover {
    color: var(--accent-1);
    background: rgba(10, 10, 12, 0.95);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(250, 205, 27, 0.2);
}

/* Personal Page Specific Enhancements */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.profile-premium-web {
    margin: 0 auto 2.5rem;
    width: 240px;
    height: 240px;
    border: 3px solid var(--accent-web);
    box-shadow: 0 0 40px var(--accent-web-glow), inset 0 0 20px var(--accent-web-glow);
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    transition: all 0.5s ease;
}

.profile-premium-web img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-premium-web:hover img {
    transform: scale(1.1);
}

.profile-premium-vfx {
    margin: 0 auto 2.5rem;
    width: 240px;
    height: 240px;
    border: 3px solid var(--accent-vfx);
    box-shadow: 0 0 40px var(--accent-vfx-glow), inset 0 0 20px var(--accent-vfx-glow);
    overflow: hidden;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-vfx);
    text-shadow: 0 0 20px var(--accent-vfx-glow);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: white;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #fff; /* Brilliant white for readability */
    max-width: 750px;
    margin: 2rem auto 3rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
    font-weight: 500;
}

/* Lightbox / Media Modal Styles */
.media-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalZoom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalZoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#modalMediaContainer {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-premium-border);
    background: #000;
}

#modalMediaContainer video, #modalMediaContainer img {
    width: 100%;
    display: block;
    max-height: 70vh;
    object-fit: contain;
}

.modal-info {
    width: 100%;
    padding: 2rem 0;
    text-align: left;
}

#modalTitle {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

#modalTag {
    color: var(--accent-vfx);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    color: var(--accent-vfx);
    transform: rotate(90deg);
}

/* Fix for footer background color */
.footer {
    background-color: var(--bg-primary) !important;
}

/* Creative Showcase Styles */
.showcase-container {
    padding: 6rem var(--padding-x);
    max-width: var(--max-width);
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.work-card {
    background: var(--glass-premium);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-premium-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.work-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-vfx);
    box-shadow: 0 15px 40px rgba(250, 205, 27, 0.3);
}

.work-card video, .work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.work-card:hover video, .work-card:hover img {
    filter: brightness(1.1);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.work-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: #fff;
}

.work-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-vfx);
    letter-spacing: 1px;
}

/* Portfolio Personalization Details */
.spec-card {
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.spec-category {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.spec-list li::before {
    content: "•";
    color: var(--accent-1);
    font-weight: 800;
}

.profile-premium-web img, .profile-premium-vfx img {
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* ============================================================
   CONTACT FORM — State Styles (EmailJS Integration)
   ============================================================ */

/* Base form-status reset */
.form-status {
    display: none;
    margin-top: 1.2rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    transition: opacity 0.6s ease;
}

/* Success state */
.form-status--success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    animation: statusSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Error state */
.form-status--error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    animation: statusSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-status--error a {
    color: inherit;
    text-decoration: underline;
}

@keyframes statusSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Loading spinner inside the button */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* Disabled button state */
button[disabled].btn-primary,
button[disabled].full-width {
    cursor: not-allowed;
    opacity: 0.7;
}

