/* Portfolio Styles - Enhanced 3D & Layering */

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

/* FORCE RACING FONTS ON EVERYTHING */
*, *::before, *::after {
    font-family: 'Rajdhani', 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .logo, .hero-content h1 {
    font-family: 'Bebas Neue', 'Oswald', 'Arial Black', sans-serif !important;
    font-weight: 900 !important;
}

:root {
    /* Racing + AI Color Scheme */
    --bg-dark: #0A0A0A;        /* Almost black background */
    --bg-card: #141414;         /* Card backgrounds */
    --charcoal: #1F1F1F;        /* Sections */
    --stone: #808080;           /* Muted text */
    --text-primary: #FFFFFF;    /* Primary text */
    --text-secondary: #B0B0B0;  /* Secondary text */
    --deep: #000000;            /* Pure black */
    --red: #DC2626;             /* Porsche racing red */
    --red-glow: #FF0000;        /* Bright red for accents */
    --cerulean: #00A8E8;        /* Electric blue */
    --blue-glow: #00FFFF;       /* Cyan glow */
    --accent-gradient: linear-gradient(135deg, #DC2626 0%, #00A8E8 100%);
}

body {
    font-family: 'Rajdhani', 'Barlow Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif !important;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
    font-weight: 500;
}

/* Ripple click effect */
.ripple-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.6), rgba(0, 123, 167, 0.3));
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-animation 0.8s ease-out;
    pointer-events: none;
    z-index: 10000;
}

@keyframes ripple-animation {
    to {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0;
    }
}

/* Custom Cursor */
.cursor {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.3);
}

.cursor-follower {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.1);
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(1.8);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 80px rgba(255, 255, 255, 0.4);
}

/* 3D Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Floating background elements */
.bg-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--stone) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

/* Navigation - Glassmorphism */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 168, 232, 0.1);
}

nav.scrolled {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    padding: 1rem 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.logo {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

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

.nav-links a:hover {
    color: var(--red);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

/* Hero Section - Enhanced */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.15) 0%, rgba(0, 168, 232, 0.1) 50%, rgba(10, 10, 10, 1) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at 30% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%), 
                radial-gradient(circle at 70% 50%, rgba(0, 123, 167, 0.15) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* 3D Title Container */
#title-3d-container {
    width: 100%;
    height: 350px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

#title-3d-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    #title-3d-container {
        height: 220px;
    }
}

.hero-content h1,
.hero-title {
    font-family: 'Bebas Neue', 'Oswald', 'Arial Black', sans-serif !important;
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 0.95;
    text-shadow: 0 0 40px rgba(220, 38, 38, 0.6), 0 0 80px rgba(0, 168, 232, 0.4);
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem) !important;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: linear-gradient(90deg, var(--red) 0%, var(--cerulean) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content h1 span:nth-child(1) { animation-delay: 0.1s; }
.hero-content h1 span:nth-child(2) { animation-delay: 0.2s; }
.hero-content h1 span:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--stone);
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--deep);
    color: var(--ivory);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--deep);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--cerulean));
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    color: var(--deep);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Section Container - Enhanced Depth */
.section-container {
    position: relative;
    z-index: 1;
    padding: 10rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bg-dark {
    background: linear-gradient(135deg, var(--deep) 0%, #0a0a0a 100%);
    max-width: 100%;
    padding-left: 8%;
    padding-right: 8%;
    box-shadow: 0 -50px 100px rgba(0, 0, 0, 0.3);
    position: relative;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 5rem;
    color: var(--deep);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title i {
    opacity: 0.2;
    margin-right: 1.5rem;
}

/* AI Projects Grid */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    perspective: 1000px;
}

.ai-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: #f5f5f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.5), rgba(0, 123, 167, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.ai-card:hover::before {
    opacity: 1;
}

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

.ai-card:hover img {
    transform: scale(1.1);
}

.ai-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3), transparent);
    padding: 2.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.ai-card:hover .ai-overlay {
    transform: translateY(0);
}

.ai-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ai-category {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: var(--cerulean);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ai-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.ai-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 123, 167, 0.2);
    border: 1px solid var(--cerulean);
    border-radius: 15px;
    font-size: 0.75rem;
    color: white;
    letter-spacing: 0.03em;
}

/* Photography Grid - Dramatic Depth */
.photography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    perspective: 1000px;
}

.photo-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 
        0 10px 40px rgba(220, 38, 38, 0.2),
        0 2px 8px rgba(0, 168, 232, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    /* Initial hidden state */
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.photo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.5), rgba(0, 123, 167, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.photo-card:hover {
    transform: translateY(-20px) rotateX(5deg) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.15);
}

.photo-card:hover::before {
    opacity: 1;
}

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

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

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3), transparent);
    padding: 2.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.photo-card:hover .photo-overlay {
    transform: translateY(0);
}

.photo-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.photo-category {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Video Grid - Floating Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
}

.video-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 232, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    box-shadow: 
        0 20px 60px rgba(0, 168, 232, 0.2),
        0 5px 15px rgba(220, 38, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.video-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(201, 184, 150, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.video-category {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.video-duration {
    font-size: 0.85rem;
    color: var(--stone);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.video-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.video-description {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.7;
}

/* Career Cards - Glassmorphism */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.career-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(220, 38, 38, 0.15),
        0 5px 15px rgba(0, 168, 232, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 184, 150, 0.2), transparent);
    transition: left 0.6s ease;
}

.career-card:hover::before {
    left: 100%;
}

.career-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: var(--accent);
}

.career-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.career-card:hover .career-icon {
    transform: scale(1.2) rotate(5deg);
}

.career-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.career-description {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.career-link {
    display: inline-flex;
    align-items: center;
    color: var(--deep);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.career-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.career-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.career-link:hover i {
    transform: translateX(3px);
}

/* Project Cards - Enhanced */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.project-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.15;
    transition: all 0.6s ease;
}

.project-card:hover .project-image::before {
    width: 200px;
    height: 200px;
    opacity: 0.25;
}

.project-info {
    padding: 2.5rem;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--deep);
    letter-spacing: -0.02em;
}

.tag {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(201, 184, 150, 0.1), rgba(201, 184, 150, 0.05));
    border: 1px solid var(--accent);
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--charcoal);
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Lightbox - Enhanced */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.97);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: 300;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 30px 0;
    font-size: 1.3rem;
    font-weight: 300;
}

/* About Section */
#about-canvas {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.skill-tag {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--ivory);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.skill-tag:hover {
    background: rgba(201, 184, 150, 0.2);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--cerulean));
    z-index: 101;
    transition: width 0.1s ease;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
}

/* Responsive */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    
    nav {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        gap: 1.2rem;
        font-size: 0.85rem;
    }
    
    .section-container {
        padding: 5rem 2rem;
    }
    
    .photography-grid,
    .career-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent);
    color: var(--ivory);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--stone));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.text-light { color: var(--ivory) !important; }
.text-light-gray { color: var(--stone) !important; }
.mr-4 { margin-right: 1rem; }
.section-title-center {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--deep);
    text-align: center;
}
.section-subtitle { font-size: 1.3rem; color: var(--stone); margin-top: -3rem; margin-bottom: 3rem; text-align: center; }
.section-subtitle-center { font-size: 1.3rem; color: var(--stone); margin-bottom: 3rem; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 40px rgba(0, 168, 232, 0.2);
    background: rgba(20, 20, 20, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #DC2626 0%, #00A8E8 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.5), 0 0 60px rgba(0, 168, 232, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #00A8E8;
    box-shadow: 0 5px 20px rgba(0, 168, 232, 0.3);
    transform: translateY(-3px);
}

.info-card i {
    font-size: 1.5rem;
    color: #00A8E8;
    margin-bottom: 0.8rem;
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.1em;
}

.info-card p,
.info-card a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #00A8E8;
}

.contact-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid rgba(0, 168, 232, 0.3);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: #00A8E8;
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.4), 0 0 40px rgba(0, 168, 232, 0.2);
    background: rgba(0, 168, 232, 0.1);
    color: #00A8E8;
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: -1;
    }
}
footer { position: relative; z-index: 1; padding: 4rem; background: var(--deep); color: var(--stone); text-align: center; }
footer p { font-size: 0.9rem; letter-spacing: 0.05em; }
.project-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; color: var(--stone); letter-spacing: 0.05em; }
.project-description { color: var(--stone); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.project-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.career-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.career-category { font-size: 0.85rem; color: var(--stone); letter-spacing: 0.1em; text-transform: uppercase; }
.career-date { font-size: 0.85rem; color: var(--stone); }

/* About Section - Modern Profile Card */
.about-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-card {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(0, 168, 232, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 120px;
    height: fit-content;
}

.profile-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.profile-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid;
    border-image: linear-gradient(135deg, #DC2626 0%, #00A8E8 100%) 1;
    border-radius: 20px;
    pointer-events: none;
}

.profile-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(0, 168, 232, 0.2) 100%);
    border-radius: 20px;
    filter: blur(15px);
    z-index: -1;
}

.profile-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.linkedin-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0077B5 0%, #00A8E8 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.linkedin-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.5);
}

.linkedin-button i {
    font-size: 1.3rem;
}

.profile-bio {
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-bio p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Certifications Section */
.certifications-section {
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.certifications-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.certification-card:hover {
    transform: translateY(-8px);
    border-color: #00A8E8;
    box-shadow: 0 15px 40px rgba(0, 168, 232, 0.3);
}

.certification-image-container {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.certification-card:hover .certification-image {
    transform: scale(1.05);
}

.certification-icon {
    font-size: 3rem;
    color: rgba(0, 168, 232, 0.5);
}

.certification-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.certification-issuer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.certification-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.certification-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00A8E8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.certification-link:hover {
    color: #0077B5;
    transform: translateX(5px);
}

.certification-link i {
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-card {
        position: relative;
        top: 0;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Media Buttons in Profile */
.social-links-profile {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.social-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid;
    text-decoration: none;
}

.social-button.linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border-color: #0077b5;
}

.social-button.linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}

.social-button.instagram {
    background: linear-gradient(45deg, rgba(131, 58, 180, 0.1), rgba(253, 29, 29, 0.1), rgba(252, 176, 69, 0.1));
    color: #E4405F;
    border-color: #E4405F;
}

.social-button.instagram:hover {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(228, 64, 95, 0.3);
}

.social-button.tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #00f2ea;
    border-color: #00f2ea;
}

.social-button.tiktok:hover {
    background: #000;
    color: #00f2ea;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 234, 0.3);
}

.social-button.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    border-color: #FF0000;
}

.social-button.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Force FontAwesome icons to display properly */
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-display: block;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-display: block;
    font-weight: 900;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-display: block;
    font-weight: 400;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2") format("woff2");
}

.fab, .fa {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    line-height: 1;
}

.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

/* Ensure icons show in social buttons */
.social-link i,
.social-button i {
    display: inline-block;
    font-style: normal;
}
