/* ==========================================================================
   VIPIN KUMAR PORTFOLIO - CORE STYLESHEET
   Theme: Cybernetic Dark Mode (Deep Charcoal, Neon Cyan & Violet, Gold Accents)
   ========================================================================== */

/* Variables & Theme Setup */
:root {
    --bg-dark: #07090e;
    --bg-card: rgba(13, 17, 28, 0.65);
    --bg-card-hover: rgba(22, 28, 45, 0.8);
    --border-color: rgba(102, 252, 241, 0.1);
    --border-hover: rgba(168, 85, 247, 0.35);
    
    /* Brand Colors */
    --color-primary: #66fcf1;   /* Neon Cyan */
    --color-secondary: #a855f7; /* Electric Purple/Violet */
    --color-gold: #f59e0b;      /* Gold Accent (Success/Earnings) */
    
    /* Text Colors */
    --text-primary: #f1f5f9;    /* Crisp off-white */
    --text-secondary: #94a3b8;  /* Soft slate gray */
    --text-muted: #64748b;      /* Muted gray */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 3D Canvas Styling */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(102, 252, 241, 0.2);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.4);
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
    position: relative;
    z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 30px rgba(102, 252, 241, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(102, 252, 241, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 252, 241, 0.15);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.1);
}

/* Scroll Progress indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.05);
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 10px var(--color-primary);
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(7, 9, 14, 0.95);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-family: var(--font-heading);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-quick);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav-cta {
    background: rgba(102, 252, 241, 0.1);
    color: var(--color-primary) !important;
    border: 1px solid rgba(102, 252, 241, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-quick);
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--bg-dark) !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
}

.btn-nav-cta::after {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-quick);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--nav-height);
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 9, 14, 0.65) 0%, rgba(7, 9, 14, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    z-index: 2;
    position: relative;
}

.badge-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.upwork-badge, .success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

.upwork-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.gold-crown {
    animation: crown-glow 2s infinite ease-in-out;
}

.success-badge {
    background: rgba(102, 252, 241, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(102, 252, 241, 0.2);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(7, 9, 14, 0.9);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 750px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(7, 9, 14, 0.9);
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-earnings-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-family: var(--font-heading);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-earnings-tag i {
    color: var(--color-primary);
}

.hero-earnings-tag .divider {
    color: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    cursor: pointer;
}

.mouse-scroll {
    width: 26px;
    height: 44px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-scroll .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    animation: scroll-wheel 1.6s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 500;
}

/* Animations */
@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes crown-glow {
    0%, 100% { text-shadow: 0 0 5px rgba(245, 158, 11, 0.4); }
    50% { text-shadow: 0 0 15px rgba(245, 158, 11, 0.8); }
}

/* Video Modal overlay */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-container {
    width: 90%;
    max-width: 960px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.open .video-modal-container {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.close-modal-btn:hover {
    color: var(--color-primary);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(102, 252, 241, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Sections Structure Setup */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background: rgba(102, 252, 241, 0.1);
    border: 1px solid rgba(102, 252, 241, 0.2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-desc h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.feature-desc p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-visual-card {
    position: relative;
}

.profile-card {
    text-align: center;
    overflow: hidden;
    position: relative;
}

.profile-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.avatar-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    box-shadow: 0 8px 20px rgba(102, 252, 241, 0.2);
    overflow: hidden;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.default-avatar {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    color: var(--text-secondary);
}

.profile-name {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.profile-role {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.profile-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    text-align: center;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.15);
    border-color: var(--color-primary);
    background: rgba(102, 252, 241, 0.1);
}

.fb-color { color: #1877f2; }
.google-color { color: #ea4335; }
.insurance-color { color: #34d399; }
.hvac-color { color: #f43f5e; }

.stat-number {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card:hover .stat-number {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.stat-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Services (Expertise) Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.08;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.service-card:hover .service-glow {
    opacity: 0.18;
}

.service-glow.purple { background: var(--color-secondary); }
.service-glow.blue { background: var(--color-primary); }
.service-glow.orange { background: var(--color-gold); }

.service-icon {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}

.service-card:hover .service-icon {
    animation: icon-float 2s infinite ease-in-out;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-bullets li {
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-bullets li i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

/* Gigs/Projects Catalog Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(102, 252, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
}

.duration i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.law-color { color: #a855f7; }

.project-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Testimonials Slider styling */
.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.testimonial-quote {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 650px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
}

.slider-arrow:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(102, 252, 241, 0.05);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-quick);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-primary);
}

/* Contact Section styling */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.method-item i {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-sm);
    background: rgba(102, 252, 241, 0.08);
    border: 1px solid rgba(102, 252, 241, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.method-item h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.method-item p {
    font-size: 1.05rem;
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.method-item p a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    padding: 3rem;
}

/* Custom interactive input layout with floating labels */
.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-quick);
    outline: none;
}

.input-group textarea {
    resize: none;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(102, 252, 241, 0.02);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.1);
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    transition: var(--transition-quick);
    pointer-events: none;
    font-size: 0.95rem;
}

/* Float label when focused or contains text */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--bg-dark);
    padding: 0 0.35rem;
    color: var(--color-primary);
    border-radius: 2px;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: var(--transition-quick);
}

.form-feedback.success {
    color: var(--color-primary);
    opacity: 1;
}

.form-feedback.error {
    color: #ef4444;
    opacity: 1;
}

/* Footer Section styling */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3rem 0;
    background: rgba(7, 9, 14, 0.9);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

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

.social-links a {
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
    font-size: 1.05rem;
}

.social-links a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(102, 252, 241, 0.05);
    transform: translateY(-2px);
}

/* Scroll Reveal state for GSAP */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
}

/* Responsive Breakpoints & Mobile Optimization */
@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 17, 28, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 1005;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2.15rem;
    }
    
    .profile-badges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Proof Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    cursor: pointer;
}

.gallery-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.05);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--transition-quick);
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-hover-overlay i {
    font-size: 2rem;
    color: var(--color-primary);
}

.gallery-hover-overlay span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gallery-details {
    margin-top: 1.25rem;
}

.gallery-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.gallery-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Lightbox Modal */
.lightbox-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.98);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal-overlay.open .lightbox-content-wrapper {
    transform: scale(1);
}

.close-lightbox-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.close-lightbox-btn:hover {
    color: var(--color-primary);
}

#lightboxImg {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(102, 252, 241, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

#lightboxCaption {
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Nav Logo Image style */
.nav-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

/* Upwork Hire CTA styles */
.hire-grid {
    align-items: center;
}

.hire-card {
    text-align: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.hire-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upwork-large-icon {
    font-size: 4rem;
    color: #14a800; /* Upwork Green */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(20, 168, 0, 0.3));
    animation: upwork-glow 3s infinite ease-in-out;
}

@keyframes upwork-glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(20, 168, 0, 0.2)); }
    50% { filter: drop-shadow(0 0 20px rgba(20, 168, 0, 0.7)); }
}

.hire-cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.hire-cta-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
}
