/* ==========================================================================
   LIQUID GLASS DESIGN SYSTEM - GOKUL C K PORTFOLIO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Luxury Color Palette */
    --bg-base: #020202;           /* Pitch Black */
    --accent-cyan: #d4af37;       /* Champagne Gold */
    --accent-blue: #f3e5ab;       /* Light Gold */
    --accent-purple: #c0c0c0;     /* Platinum Silver */
    --accent-pink: #e5e4e2;       /* Platinum Light */
    --accent-color: var(--accent-cyan);
    
    /* Text Palette - High Contrast */
    --text-primary: #ffffff;      /* Pure White */
    --text-secondary: #d1d5db;    /* Bright Silver */
    --text-muted: #9ca3af;        /* Soft Gray */
    
    /* True iOS Glassmorphism Specs (Vibrancy) */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-light: rgba(255, 255, 255, 0.18);
    --glass-border-hover: rgba(212, 175, 55, 0.3); /* Gold border on hover */
    --glass-border-active: rgba(212, 175, 55, 0.5);
    --glass-blur: 45px;
    --glass-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
    --glass-glow: 0 0 40px rgba(212, 175, 55, 0.1);
    
    /* Fonts & Structure */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --max-width: 1100px;
    
    /* Luxury Gradients */
    --grad-text: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    --grad-accent-1: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    --grad-accent-2: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    --grad-border: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
}

/* Selection */
::selection {
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--accent-cyan);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Background Noise overlay for organic texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Vanta.js WebGL Background Container */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none; /* Let clicks pass through to the canvas via JS if needed, or ignore */
}

/* Permanent ambient glow for the Top Menu */
.header-glow {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
}

/* Luxury Dynamic Aura for Glass Refraction */
.luxury-aura {
    position: fixed;
    top: -1000px;
    left: -1000px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1; /* Behind glass (-1), above canvas (-2) */
    transition: top 0.1s ease, left 0.1s ease;
    will-change: top, left;
    filter: blur(50px);
}

/* Structure & Utility */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 140px 0 80px 0;
}

/* Typography styling */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

h1 {
    font-size: 3.8rem;
    color: var(--text-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.6rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 70ch;
    text-wrap: pretty;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--grad-accent-1);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4), var(--glass-glow);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow);
}

/* Centered Floating Pill Navigation (iOS Style) */
header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 100%), url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* Stronger top light edge */
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.2);
    padding: 0 25px;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

.logo span {
    background: var(--grad-accent-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Glass Panels & Cards */
.card, .card-glass, .step-card {
    background: var(--glass-bg), url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-light);
    border-left-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border-radius: 32px;
    padding: 35px;
    box-shadow: var(--glass-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Refractive shine overlay on cards on hover */
.card::before, .card-glass::before, .step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover, .card-glass:hover, .step-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.card:hover::before, .card-glass:hover::before, .step-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.card:hover .card-icon, .card-glass:hover .card-icon {
    background: var(--grad-accent-1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
    border-color: transparent;
}

/* Hero Section Styling */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: var(--grad-accent-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 35px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--grad-accent-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    pointer-events: none;
    z-index: -1;
    transition: all 0.5s ease;
    animation: rotate-dashed 40s linear infinite;
}

@keyframes rotate-dashed {
    100% { transform: rotate(360deg); }
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: -2;
    filter: blur(50px);
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: 480px;
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.5s ease;
}

.hero-img:hover {
    border-color: var(--glass-border-hover);
    transform: scale(1.02);
}

/* Trusted Logos Section */
.trusted-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0;
    background: rgba(10, 9, 21, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.trusted-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 700;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.trusted-logo {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.trusted-logo:hover {
    color: var(--accent-cyan);
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -10px rgba(6, 182, 212, 0.2);
}

/* Intro and Typography */
.intro-link {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 4px;
}

.intro-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-cyan);
    transform: scaleX(0.7);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.intro-link:hover::after {
    transform: scaleX(1);
}

/* Services Page & Visual Timeline Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    margin-top: 40px;
}

@media (min-width: 969px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 60px;
        left: 30px;
        right: 30px;
        height: 1px;
        background: linear-gradient(90deg, rgba(6, 182, 212, 0.4), rgba(139, 92, 246, 0.4), rgba(255, 255, 255, 0.05));
        z-index: 0;
    }
}

.step-card {
    padding: 30px;
    z-index: 1;
}

.step-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.step-icon {
    width: 55px;
    height: 55px;
    background: rgba(10, 9, 21, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0.05);
}

.step-card:hover .step-icon {
    background: var(--grad-accent-1);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 0 8px rgba(6, 182, 212, 0.15);
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Portfolio Work Page Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-img {
    height: 280px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 2.2rem;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.project-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 9, 21, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img img {
    transform: scale(1.06);
}

.project-content {
    padding: 30px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* About Page Resume Timeline */
.track-record-grid {
    display: grid;
    gap: 30px;
}

.experience-card {
    padding: 30px !important;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    border-left: 3px solid var(--glass-border);
}

.experience-card:hover {
    border-left-color: var(--accent-cyan);
}

.experience-year {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    font-weight: 700;
    min-width: 130px;
    text-align: center;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.experience-content {
    flex: 1;
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-layout a {
    transition: all 0.3s ease;
}

.contact-layout a:hover {
    transform: translateX(5px);
}

.faq-section {
    max-width: 800px;
    margin: 80px auto 0;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
}

.faq-item.active {
    border-color: var(--accent-cyan);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.05);
}

.faq-question {
    padding: 20px 24px;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    background-color: transparent;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 1.05rem;
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-content {
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-content p {
    margin: 0;
    padding: 20px 24px 24px 24px;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-content {
    opacity: 1;
}

/* Glassmorphism Inputs */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15), inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Footer Section */
footer {
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    position: relative;
    background: rgba(10, 9, 21, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.3;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-brand h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    background: var(--grad-accent-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-contact p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-contact a {
    font-size: 1.3rem;
    display: inline-block;
    color: var(--text-primary);
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--grad-accent-1);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* Animations and reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 968px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.1rem;
        margin-bottom: 2rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .card, .card-glass, .step-card {
        padding: 25px;
    }

    .hero-content h1 {
    }

    .hero-image-container {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-img {
        max-height: 380px;
        width: 80%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        max-width: 500px;
        margin: 30px auto 0;
    }

    header {
        top: 15px;
        width: 92%;
        padding: 0 20px;
    }

    nav {
        height: 60px;
        padding: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 85px;
        left: 5%;
        width: 90%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid var(--glass-border);
        border-radius: 24px;
        padding: 30px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .experience-card {
        flex-direction: column;
        gap: 15px;
    }

    .experience-year {
        width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 80px 0 40px 0;
    }

    .card, .card-glass, .step-card {
        padding: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .hero-img {
        width: 100%;
        height: 320px;
    }
}