:root {
    --bg-color: #0c0c14;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --header-height: 80px;
    --font-main: 'Outfit', sans-serif;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* Base Styles & Lenis Support */
html {
    scroll-behavior: initial;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
    /* Ensure body is relative for absolute children if needed */
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind everything */
    pointer-events: none;
    /* Let clicks pass through */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-color);
    /* Changed from fixed rgba to variable for theme support */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

#theme-toggle:hover {
    background-color: var(--glass-bg);
}

#theme-toggle .sun-icon {
    display: none;
}

#theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] #theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] #theme-toggle .moon-icon {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .site-header .container {
        position: relative;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(12, 12, 20, 0.95);
        backdrop-filter: blur(16px);
        padding: 100px 30px 40px;
        display: flex;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
        border-left: 1px solid var(--glass-border);
    }

    [data-theme="light"] .main-nav {
        background: rgba(248, 250, 252, 0.95);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .main-nav a {
        font-size: 1.2rem;
        display: block;
    }

    /* Mobile Toggle Styles */
    /* Mobile Toggle Styles */
    .mobile-toggle {
        display: flex;
        z-index: 1000;
        width: 30px;
        height: 20px;
        /* Reduced height slightly for tighter look */
        justify-content: space-between;
        position: relative;
        padding: 0;
    }

    .mobile-toggle span {
        transition: all 0.3s ease;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        border-radius: 4px;
        left: 0;
    }

    .mobile-toggle span:nth-child(1) {
        top: 0;
    }

    .mobile-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-toggle span:nth-child(3) {
        bottom: 0;
    }
}

/* Animation for 3 spans to make X */
.mobile-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 500px) {
    .hero-name {
        font-size: 48px;
        /* Smaller font on mobile */
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .header-actions {
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(12, 12, 20, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(12, 12, 20, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
}

.greeting {
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: -0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    height: 5em !important;
    /* constrain height to one line */
    overflow: hidden;
    margin-bottom: 0.5rem;

}

.hero-name {
    grid-area: 1 / 1;
    /* Stack all names on top of each other */
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(to right, #fff 20%, #b8b8b8 40%, #fff 60%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    /* Removed fadeUp to let GSAP handle entrance/exit */
    opacity: 0;
    /* All hidden initially, GSAP helps show them */
    transform: translateY(100%);
    /* Start below */
    white-space: nowrap;
    /* Prevent wrapping */
}

[data-theme="light"] .hero-name {
    background: linear-gradient(to right, #f59e0b 20%, #fbbf24 40%, #f59e0b 60%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.highlight {
    color: var(--accent-secondary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

/* User asked for animation on name, 'shine' gives it a premium moving gradient look */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

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

.btn-cv {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.btn-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.btn-cv:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cv:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-cv:hover .btn-icon {
    transform: translateY(2px);
}

/* Fix for mobile text size and visibility */
@media (max-width: 600px) {
    .hero-name {
        font-size: 40px;
        /* Smaller font on mobile to prevent clipping */
    }

    .hero-title-wrapper {
        height: 1.4em;
        /* Ensure enough height */
    }
}

.hero-title-wrapper {
    height: 1.3em;
    /* Increased from 1.2 to prevent descender clipping */
}

/* Marquee Section */
.marquee-section {
    padding: 40px 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    /* Animation handled by GSAP */
}

.company-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.company-item:hover {
    color: var(--text-primary);
    opacity: 1;
}

/* About Me Section */
.about-section {
    padding: 0;
    min-height: 100vh;
    background: var(--bg-color);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    /* Center horizontally between columns */
    width: 100%;
}

.about-left {
    max-width: 600px;
    position: relative;
    overflow: visible;
    display: grid;
    grid-template-columns: 100%;
    align-items: center;
    /* Center content vertically in the column */
}

.about-image-wrapper,
.about-content-inner {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
}

/* About Image */
.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
    /* Fixed height to match stats */
    margin: 0 auto;
    perspective: 1000px;
}

.about-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--glass-bg);
    /* Add bg for consistency */
}

.stack-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
}

.stack-img.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.about-image-decoration {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.5s ease;
    transform: translate(-10px, -10px);
}

[data-theme="light"] .about-image-decoration {
    border-color: var(--accent-secondary);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.highlight-name {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Info Items */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Stats Container */
.about-right {
    position: relative;
    /* Remove sticky */
    z-index: 5;
    height: 450px;
    /* Force height to match left */
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /* Equal rows */
    gap: 1.5rem;
    height: 100%;
}

.stat-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Fill the grid area */
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

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

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-section {
        padding: 80px 0;
        min-height: auto;
        display: block;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .about-image-wrapper,
    .about-content-inner {
        position: relative;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        opacity: 1 !important;
        /* Force visible on mobile */
        transform: none !important;
    }

    .about-image-wrapper {
        height: 350px;
        max-width: 350px;
    }

    .about-right {
        position: static;
        height: auto;
    }

    .stats-container {
        grid-template-rows: auto;
        height: auto;
    }

    .stat-box {
        height: auto;
        padding: 2rem;
    }
}

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

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

    .stat-number {
        font-size: 2.5rem;
    }

    .info-items {
        gap: 1rem;
    }

    .info-item {
        padding: 0.875rem;
    }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

/* Featured Service Card */
.service-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.service-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.service-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    gap: 1rem;
    color: var(--accent-secondary);
}

/* Booking Button Custom Styling */
.btn-booking {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1.05rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-booking span {
    z-index: 2;
}

.btn-booking svg {
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    z-index: 1;
}

.btn-booking:hover::before {
    left: 150%;
}

.btn-booking:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-booking:hover svg {
    transform: scale(1.1) rotate(-8deg);
}

/* Responsive */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 500px) {
    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        font-size: 0.95rem;
    }
}

/* Projects Showcase Section */
.projects-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(15, 23, 42, 0.5) 100%);
    position: relative;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

/* Project Image */
/* Project Image */
.project-image {
    height: 250px;
    background: var(--glass-bg);
    /* Fallback for transparency */
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    /* Removes bottom space */
}

/* Zoom effect on hover */
.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(12, 12, 20, 0.8) 100%);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
    opacity: 0.4;
    /* Lighten overlay on hover to see image better */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Darker backdrop for text */
    backdrop-filter: blur(4px);
    /* Sleek glass effect on hover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    /* Ensures it's above image and gradient */
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: white;
    color: var(--accent-primary);
    transform: scale(1.05);
}

/* Project Info */
.project-info {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.35rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

/* Projects Footer */
.projects-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-filters {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .project-image {
        height: 200px;
    }

    .project-title {
        font-size: 1.2rem;
    }
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.skill-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.skill-icon {
    width: 45px;
    height: 45px;
    color: white;
}

.skill-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Circular Progress */
.skill-progress {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    fill: none;
    stroke: var(--glass-border);
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    /* 2 * PI * 52 */
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 2s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-number {
    font-size: 2rem;
}

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

/* Additional Skills */
.additional-skills {
    text-align: center;
    margin-top: 3rem;
}

.additional-skills-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-tag {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .skills-section {
        padding: 60px 0;
    }

    .skills-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .skill-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 500px) {
    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .skills-tags {
        gap: 0.75rem;
    }

    .skill-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonials-split-wrapper {
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

.testimonials-split-container {
    height: 600px;
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.main-hero-layer {
    position: absolute;
    top: 25px;
    /* Alignment with inner slice-items */
    left: 0;
    width: 100%;
    height: 550px;
    background-image: url('../images/main.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    border-radius: 24px;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.split-item {
    flex: 0 0 33.333%;
    height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slice Image Styles using Local Assets */
.slice-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
    transition: all 0.8s ease;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.slice-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
}

/* Local Assets Integration */
.slice-1 {
    background-image: url('../images/splitanimage-1.png');
}

.slice-2 {
    background-image: url('../images/splitanimage-2.png');
}

.slice-3 {
    background-image: url('../images/splitanimage-3.png');
}

/* Testimonial Card in Split */
.split-item .testimonial-card {
    width: 90%;
    max-width: 380px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    backdrop-filter: blur(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.author-role {
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.featured-testimonial {
    border-color: rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
}

@media (max-width: 968px) {
    .testimonials-section {
        min-height: auto;
        padding: 80px 0;
    }

    .testimonials-split-container {
        flex-direction: column;
        height: auto;
        gap: 2.5rem;
    }

    .split-item {
        flex: none;
        height: auto;
        width: 100%;
        max-width: 450px;
    }

    .slice-image-wrapper {
        display: none;
    }

    .split-item .testimonial-card {
        opacity: 1 !important;
        transform: none !important;
        width: 100%;
    }
}


/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.faq-item.active {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-secondary);
}

.faq-answer {
    height: 0;
    overflow: hidden;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer-inner {
        padding: 0 1.5rem 1.25rem;
    }
}

/* Contact Section */

.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(15, 23, 42, 0.8) 100%);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.contact-card-content a,
.contact-card-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--accent-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.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.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

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

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

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

    .contact-info-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 500px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .social-links {
        justify-content: center;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, #0a0a12 100%);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

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

.footer-column ul li {
    font-size: 0.95rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-column ul li:not(:has(a)) {
    color: var(--text-secondary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-primary);
}

.separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 968px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .footer-tagline {
        font-size: 0.95rem;
    }

    .footer-social {
        flex-wrap: wrap;
    }
}

/* Light Mode Enhancements for Contact & Footer */
[data-theme="light"] .contact-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="light"] .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .contact-card:hover {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .social-link {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .social-link:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
}

/* Footer Light Mode */
[data-theme="light"] .footer {
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .footer-social-link {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .footer-social-link:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .footer-column ul li a:hover {
    color: var(--accent-primary);
}

[data-theme="light"] .footer-bottom-links a:hover {
    color: var(--accent-primary);
}

/* Projects Section Light Mode */
[data-theme="light"] .projects-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="light"] .filter-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--text-secondary);
}

[data-theme="light"] .filter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

[data-theme="light"] .filter-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

[data-theme="light"] .project-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .project-card:hover {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .project-image {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
}

[data-theme="light"] .project-image::before {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.08;
}

[data-theme="light"] .tag {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

/* Services Section Light Mode */
[data-theme="light"] .services-section {
    background: #f8fafc;
}

[data-theme="light"] .service-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card:hover {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .service-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

/* Skills Section Light Mode */
[data-theme="light"] .skills-section {
    background: #f8fafc;
}

[data-theme="light"] .skill-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .skill-card:hover {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .skill-tag {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .skill-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
}

[data-theme="light"] .progress-ring-circle-bg {
    stroke: rgba(99, 102, 241, 0.15);
}

/* Contact Form Success State */
.btn-submit.success {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.btn-submit.success svg {
    transform: translateX(5px) translateY(-5px);
}

/* Premium Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.splash-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.splash-logo {
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.8);
}

.splash-logo .logo-mark {
    font-size: 5rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    font-weight: 800;
}

.splash-loader {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

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

.splash-text {
    font-family: var(--font-main);
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-percentage {
    font-weight: 600;
    color: var(--text-primary);
}

/* Custom Cursor for About Section */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    /* Hidden by default */
    transform: translate(-50%, -50%);
    /* Centered - but GSAP will handle X/Y */
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    transition: opacity 0.3s ease;
    mix-blend-mode: difference;
    /* Cool effect over content */
}
