/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --primary-blue: #0088ff;
    --secondary-blue: #00ccff;
    --dark-blue: #001f3f;
    --glass-bg: rgba(5, 5, 5, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.glow-text {
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.4);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), #0055ff);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary.glow-effect:hover {
    box-shadow: 0 0 25px rgba(0, 136, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 136, 255, 0.1);
}

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

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

.section-desc {
    color: #a0a0a0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.mobile-nav-overlay {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links lively {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 80%);
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
}

.hero-slide {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.95);
    transition: opacity 2.5s ease-in-out, filter 2.5s ease-in-out, transform 2.5s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-cta {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    z-index: 2;
}

/* Client Logos Section */
.client-logos-section {
    padding: 0;
    background-color: rgba(5, 5, 5, 0.95);
    border-bottom: none;
    position: relative;
    z-index: 10;
}

.logos-track-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    overflow: hidden;
    width: 100%;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scrollLogosLeftToRight 50s linear infinite;
    align-items: center;
}

.logo-group {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
    flex-shrink: 0;
}

.logo-item {
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    cursor: default;
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

@keyframes scrollLogosLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* About Section */
.about-section {
    padding: 10rem 0;
    background: linear-gradient(to bottom, var(--bg-color), var(--dark-blue), var(--bg-color));
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-description {
    color: #b0b0b0;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.9;
}

.about-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 50px rgba(0, 136, 255, 0.4);
    pointer-events: none;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-img-wrapper {
        transform: none;
    }
}

/* Portfolio Section */
/* Laptop Presentation Section */
.laptop-presentation {
    position: relative;
    padding: 10rem 0;
    background-color: var(--bg-color); /* Initial background */
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.laptop-presentation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0; /* Animated with GSAP */
    z-index: 0;
    pointer-events: none;
}

.laptop-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.laptop-text-content {
    max-width: 500px;
    z-index: 3;
}

.laptop-text-content .section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.laptop-text-content .section-title .text-gradient {
    background: linear-gradient(90deg, #0088ff, #00eeff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.laptop-text-content .section-desc {
    font-size: 1.2rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.laptop-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 136, 255, 0.4);
    transition: all 0.3s ease;
}

.laptop-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 255, 0.6);
}

/* Complex Image Wrapper */
.complex-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Animated with GSAP */
    transform: translateY(30px); /* Animated with GSAP */
}

/* Background Blue Glow */
.glow-element {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(0, 136, 255, 0.8) 0%, rgba(0, 136, 255, 0) 70%);
    filter: blur(60px);
    z-index: 0; /* Behind the image */
    opacity: 0; /* Controlled by GSAP */
    transition: opacity 1s ease;
}

.presentation-image {
    position: relative;
    z-index: 1; /* Above the glow */
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .laptop-split-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .laptop-text-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .presentation-image {
        max-width: 90%;
    }
    .glow-element {
        filter: blur(40px);
        width: 100%;
        height: 100%;
    }
}

.portfolio-section {
    padding: 8rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 70%;
    /* Aspect ratio */
}

.portfolio-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05) translateZ(0);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

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

.portfolio-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-overlay p {
    color: var(--secondary-blue);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.view-project-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.portfolio-item:hover .view-project-btn {
    gap: 1rem;
}

/* Website Projects Slider Section */
.website-projects-section {
    position: relative;
    padding: 10rem 0;
    background-color: var(--bg-color);
    overflow: hidden;
}

.website-projects-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.website-projects-content {
    padding-right: 2rem;
}

.website-projects-content .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.website-projects-content .section-desc {
    color: #b0b0b0;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.website-projects-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    perspective: 1200px;
    touch-action: pan-y;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.slider-item {
    position: absolute;
    width: 60%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, z-index 0s;
    cursor: pointer;
    display: block;
    opacity: 0;
    transform: translateX(0) scale(0.6) translateZ(-300px);
    z-index: 0;
    pointer-events: none;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.slider-item.prev {
    transform: translateX(-45%) scale(0.85) translateZ(-150px);
    opacity: 0.5;
    z-index: 1;
    pointer-events: auto;
}

.slider-item.active {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 136, 255, 0.3);
}

.slider-item.next {
    transform: translateX(45%) scale(0.85) translateZ(-150px);
    opacity: 0.5;
    z-index: 1;
    pointer-events: auto;
}

.website-projects-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.website-projects-slider .slider-btn:hover {
    background: rgba(0, 136, 255, 0.2);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.website-projects-slider .prev-btn {
    left: 0;
}

.website-projects-slider .next-btn {
    right: 0;
}

@media (max-width: 992px) {
    .website-projects-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .website-projects-content {
        padding-right: 0;
    }
    
    .website-projects-content .section-title {
        text-align: center;
    }
    
    .slider-item {
        width: 75%;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 0;
    background-color: rgba(0, 31, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.reviews-section .container {
    position: relative;
    z-index: 1;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 255, 0.3), transparent);
}

.reviews-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(0, 136, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: reviewsPulse 4s ease-in-out infinite alternate;
}

@keyframes reviewsPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.reviews-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.carousel-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: rgba(0, 136, 255, 0.2);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.reviews-track-container {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 1rem 0;
    touch-action: pan-y;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 400px;
    flex-shrink: 0;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        position: relative;
    }
    .carousel-nav-btn {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto 0;
        width: 44px;
        height: 44px;
        background: rgba(5, 5, 5, 0.85);
        z-index: 20;
    }
    .prev-btn {
        left: -10px;
    }
    .next-btn {
        right: -10px;
    }
    .review-card {
        width: 300px;
        padding: 2rem 1.5rem;
    }
}

.review-stars {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    background: transparent;
    padding: 5px;
    z-index: 100;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.4);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Language Translation Animation */
.lang-transition {
    animation: langFadeBlur 0.4s ease forwards;
}

@keyframes langFadeBlur {
    0% { filter: blur(0px); opacity: 1; }
    50% { filter: blur(8px); opacity: 0; }
    100% { filter: blur(0px); opacity: 1; }
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-style: italic;
}

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

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

.reviewer-info span {
    color: #888;
    font-size: 0.9rem;
}
/* About Us Detailed Section */
.about-detailed-section {
    padding: 8rem 0;
    position: relative;
    background-color: var(--bg-color);
}

.about-detailed-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-detailed-image {
    position: relative;
    padding-bottom: 2rem;
}

.stats-glass-window {
    position: absolute;
    bottom: -10px;
    right: -20px;
    background: rgba(5, 5, 10, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 136, 255, 0.1);
    z-index: 5;
}

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

.stat-item h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat-item p {
    font-size: 0.85rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-detailed-content {
    padding-left: 1rem;
}

@media (max-width: 992px) {
    .about-detailed-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-glass-window {
        bottom: -30px;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 90%;
        justify-content: space-around;
        padding: 1.5rem;
    }

    .about-detailed-content {
        padding-left: 0;
        text-align: center;
        margin-top: 2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5rem;
    position: relative;
    overflow: hidden;
}

.contact-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.contact-info,
.contact-form {
    position: relative;
    z-index: 1;
}

.contact-info p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

.contact-email {
    font-size: 1.8rem;
    font-weight: 600;
    color: white !important;
    position: relative;
    display: inline-block;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.2);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background-color: rgba(0, 0, 0, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--secondary-blue);
}

/* Animations */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Intersection Observer Classes */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(15px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* Text Fade Animation */
.text-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.text-fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll overrides for Lenis */
html.lenis,
html.lenis body {
    height: auto;
}

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

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

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

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

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
}

.scroll-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-5px);
}

.scroll-top.hidden-arrow {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1500;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Portfolio Modal */
body.modal-open {
    overflow: hidden;
}

body.modal-open main > *:not(.portfolio-modal),
body.modal-open header,
body.modal-open footer {
    filter: blur(8px);
    transition: filter 0.4s ease;
}

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    z-index: 1;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Custom Modal Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 12px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 20px 20px 0;
}
.modal-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-blue);
    border-radius: 20px;
    border: 3px solid var(--bg-color);
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary-blue);
}

.portfolio-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 136, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-body {
    padding: 3rem;
    position: relative;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.modal-gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.modal-gallery img:hover {
    transform: scale(1.03);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-category {
    color: var(--secondary-blue);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.modal-desc {
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-client {
    color: var(--secondary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }
    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    .modal-category {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .modal-desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    .modal-client {
        font-size: 0.8rem;
    }
}

/* Fullscreen Lightbox */
.fullscreen-img-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.fullscreen-img-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-img-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fullscreen-img-overlay.active img {
    transform: scale(1);
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    position: relative;
}

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

.pricing-card {
    background: #0f1012;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 136, 255, 0.15);
    border-color: var(--primary-blue);
}

.pricing-card.popular {
    background: #0f1012;
    border: 1px solid rgba(0, 136, 255, 0.2);
    box-shadow: inset 0 0 80px rgba(0, 136, 255, 0.05);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 136, 255, 0.15), inset 0 0 80px rgba(0, 136, 255, 0.05);
    border-color: var(--secondary-blue);
}


.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-icon {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.pricing-card.popular .pricing-icon {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.3);
}

.pricing-badge {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.package-name {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.package-description {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Inner darker container for details */
.pricing-details {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 2rem;
    margin: 0 -0.5rem -0.5rem -0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.main-price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: white;
    line-height: 1;
    letter-spacing: -1px;
}

.price-period {
    color: #888;
    font-size: 1rem;
}

.package-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Custom Checkmark Icons */
.package-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: #f0f0f0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    border-radius: 50%;
}

.pricing-card.popular .package-features li::before {
    background-color: var(--primary-blue);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
}

/* Buttons */
.pricing-card .btn-primary {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    width: 100%;
    text-align: center;
    border-radius: 50px;
    padding: 1rem;
    transition: background 0.3s ease;
    font-weight: 500;
}

.pricing-card .btn-primary:hover {
    background: #252525;
}

.pricing-card.popular .btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.3);
}

.pricing-card.popular .btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 136, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1400;
        padding: 2rem;
    }

    .mobile-nav-overlay.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .mobile-nav-overlay.active .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-nav-overlay.active .nav-links li:nth-child(1) { transition-delay: 0.2s; }
    .mobile-nav-overlay.active .nav-links li:nth-child(2) { transition-delay: 0.3s; }
    .mobile-nav-overlay.active .nav-links li:nth-child(3) { transition-delay: 0.4s; }
    .mobile-nav-overlay.active .nav-links li:nth-child(4) { transition-delay: 0.5s; }

    .nav-links a {
        font-size: 2rem;
        font-weight: 600;
    }

    .contact-btn {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease 0.6s;
    }

    .mobile-nav-overlay.active .contact-btn {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hamburger Animation to X */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .contact-container {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Motion Graphics Section */
.motion-graphics-section {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    align-items: center;
}

.video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--dark-blue);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 136, 255, 0.3);
}

.video-item video {
    width: 100%;
    height: auto;
    max-height: 700px;
    display: block;
    object-fit: cover;
}

/* Ensure videos preserve aspect ratio in fullscreen */
video:fullscreen {
    object-fit: contain !important;
}
video:-webkit-full-screen {
    object-fit: contain !important;
}
video:-moz-full-screen {
    object-fit: contain !important;
}
video:-ms-fullscreen {
    object-fit: contain !important;
}

/* Motion Graphics Thumbnails & Pop Up */
.video-item {
    cursor: pointer;
}

.lazy-video-thumb {
    width: 100%;
    height: auto;
    max-height: 700px;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-item:hover .lazy-video-thumb {
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-item:hover .play-btn-overlay {
    background: var(--primary-blue);
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
}

.play-btn-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 5px; /* Offset to center the triangle visually */
}