:root {
    --bg-color: #050505;
    --text-color: #f4f4f5;
    --accent-color: #e5e5e5;
    --primary-color: #ffffff;
    --secondary-color: #a3a3a3;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

html.lenis {
    height: auto;
}

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

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-title.center {
    text-align: center;
}

.section-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--secondary-color);
    margin-bottom: 2rem;
    max-width: 800px;
}

.section-desc.center-desc {
    text-align: center;
    margin: 0 auto 3rem auto;
}

/* Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 8%;
}

.section-padding {
    padding: 10rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
}

/* Buttons */
a {
    text-decoration: none;
    color: inherit;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateY(100%);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: #000;
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: #fff;
    color: #000;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-solid:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-solid.large {
    font-size: 1.25rem;
    padding: 1.5rem 3.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

.btn-outline.large {
    font-size: 1.25rem;
    padding: 1.5rem 3.5rem;
}

.glowing-btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: glow 2s infinite alternate;
}

.glowing-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: rotate(45deg);
    transition: none;
    animation: shine 4s infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }
    100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); }
}

@keyframes shine {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

.link-hover {
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    max-width: 1000px;
    z-index: 1;
    margin-top: 5rem;
}

.hero-title {
    font-size: clamp(3.5rem, 8.5vw, 7.5rem);
    color: #fff;
    margin-bottom: 1rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(100%);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

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

.about-image-wrapper {
    width: 100%;
    height: 70vh;
    border-radius: 20px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 125%; /* Taller for parallax effect */
    object-fit: cover;
}

/* Services Section */
.services {
    position: relative;
    overflow: hidden;
    background-color: #050505;
    color: #ffffff;
}

.services .section-title {
    color: #ffffff;
}

.services .section-desc {
    color: #ffffff;
}

.services-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

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

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

.service-card {
    position: relative;
    padding: 3.5rem 3rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.service-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    -webkit-text-stroke: 1.5px #ffffff;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.service-card:hover .service-number {
    transform: translateX(10px) scale(1.1);
}

.service-name {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.service-card p {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Featured Service Card (Specialty) */
.service-card.featured {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #ffffff; /* Brilliant white border */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    overflow: visible; /* Required for the label to stick out */
    display: flex;
    flex-direction: column;
    min-height: 420px; /* Ensure all text fits perfectly */
}

.service-card.featured:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-15px) scale(1.02);
}

.service-card.featured .service-number {
    color: rgba(255, 255, 255, 0.4);
    -webkit-text-stroke: 1.5px #ffffff;
    font-size: 3.5rem; /* Slightly smaller number */
}

.service-card.featured .service-name {
    font-size: 1.7rem; /* Slightly larger for presence */
}

.service-card.featured p {
    font-size: 1.05rem; /* Better readability */
    line-height: 1.6;
}

.specialty-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #000000;
    padding: 0.6rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    z-index: 20;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    pointer-events: none;
}



/* Gallery / Parallax */
.gallery {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.gallery-text {
    position: relative;
    width: 100%;
    text-align: center;
}

.huge-text {
    font-size: clamp(5rem, 15vw, 15rem);
    color: #fff;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.cta .section-title {
    color: var(--bg-color);
}

.cta .section-desc {
    color: #444;
}

.cta .btn-solid {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.cta .btn-solid:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-outline {
    border-color: var(--bg-color);
    color: var(--bg-color);
}

.cta .btn-outline:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.cta .glowing-btn {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    animation: glow-dark 2s infinite alternate;
}

@keyframes glow-dark {
    0% {
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.1);
    }
}

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

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.footer-links {
    text-align: right;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* Portfolio Wheel Carousel */
.portfolio-wheel {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wheel-title {
    margin-top: 3rem;
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
}

.wheel-container {
    perspective: 1500px;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wheel3d {
    position: relative;
    width: 240px;
    height: 320px;
    transform-style: preserve-3d;
}

.wheel-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #111;
    transform: rotateY(calc(var(--i) * 36deg)) translateZ(400px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wheel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.wheel-card:hover img {
    opacity: 1;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.card-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .section-padding {
        padding: 6rem 0;
    }
    
    .cursor, .noise {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        height: 50vh;
    }
    
    .hero-title {
        font-size: clamp(3.5rem, 12vw, 5rem);
    }
    
    .hero-content {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        gap: 2rem;
    }

    .wheel3d {
        width: 160px;
        height: 240px;
    }

    .wheel-card {
        transform: rotateY(calc(var(--i) * 36deg)) translateZ(280px);
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 3.5rem);
    }
    
    .container {
        padding: 0 6%;
    }

    .btn-solid {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .wheel3d {
        width: 120px;
        height: 180px;
    }

    .wheel-card {
        transform: rotateY(calc(var(--i) * 36deg)) translateZ(200px);
    }
}

/* UI/UX Pro Max Skill Adjustments */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor.active {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-color);
    position: relative;
    color: var(--text-color);
    overflow: hidden;
}

.flex-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.max-w-1000 {
    max-width: 1000px;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
}

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

.mt-5 { margin-top: 1.25rem; }
.mt-10 { margin-top: 2.5rem; }

.testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    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);
}

.testimonials-column {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: max-content;
}

.testimonials-column-inner {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: max-content;
    padding-right: 1.5rem;
    animation: scroll-horizontal var(--duration, 20s) linear infinite;
}

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


.testimonial-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 350px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.author-role {
    font-size: 0.9rem;
    opacity: 0.6;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 0.2rem;
}

@media (max-width: 1024px) {
    .hide-lg {
        display: none;
    }
}

@media (max-width: 768px) {
    .hide-md {
        display: none;
    }
}

