@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --bg-color: #0c0c0c;
    --text-color: #ebebeb;
    --text-muted: #888888;
    --accent-color: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    --spacing-section: clamp(60px, 10vw, 120px);
    --spacing-container: clamp(16px, 5vw, 40px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.section {
    padding: var(--spacing-section) 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
    contain: layout style;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    border: 2px solid #ffffff;
    z-index: 1;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 4px;
}

.btn-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.btn-content b {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-flare {
    display: none;
}

.btn {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.btn.secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.btn.secondary:hover {
    border-color: #ffffff;
}





.section-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    margin-bottom: clamp(30px, 8vw, 60px);
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(12, 12, 12, 0.4);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    contain: layout style;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-icon {
    font-family: monospace;
    font-size: 1.4rem;
    border: 2px solid white;
    padding: 2px 6px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-size: 1.15rem;
    opacity: 0.7;
    font-weight: 400;
    transition: opacity 0.3s ease, font-weight 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-list a:hover {
    opacity: 1;
    font-weight: 700;
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 8px; /* Bigger hit area */
}

.menu-icon-img {
    width: 36px;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-slideshow .slide.active {
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 12vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.title-line {
    display: block;
}

.outline-text {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* Section Headings - Global - Removed redundant definition as it's handled above */

/* Marquee Section Styles */
.marquee-section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.marquee-outer-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modern-memorable-title {
    font-size: clamp(1.8rem, 15vw, 6.5rem);
    font-weight: 950;
    text-transform: uppercase;
    line-height: 0.85;
    text-align: center;
    letter-spacing: -3px;
    color: white;
    pointer-events: none;
    white-space: normal;
    margin: 0;
    width: 100%;
    overflow-wrap: break-word;
    /* Removed expensive text-shadow */
}

.title-center-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.marquee-rows {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0.6;
    /* Slight fade to make center text pop */
    pointer-events: none;
    /* Improvement: prevent interaction overhead */
}

.marquee-rows.paused .marquee-content {
    animation-play-state: paused;
}

.marquee-wrapper {
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0c0c0c, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0c0c0c, transparent);
}

.marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeMove 40s linear infinite;
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.marquee-item {
    flex-shrink: 0;
    border: none;
    /* Removed border */
    background: transparent;
    padding: 0;
    border-radius: 12px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.marquee-item:hover {
    transform: scale(1.1);
    z-index: 25;
}

.marquee-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.marquee-item.small img {
    height: clamp(120px, 20vw, 180px);
}

.marquee-item.big img {
    height: clamp(200px, 35vw, 320px);
}

@keyframes marqueeMove {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Update regular typography to be bigger */
body {
    font-size: 1.15rem;
}

p {
    line-height: 1.7;
    font-weight: 400;
}

/* Hero Text Effects */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    animation: simpleFadeIn 1s ease forwards;
    display: block;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 800;
    color: white;
}

.fade-in-text.delay-short {
    animation-delay: 0.5s;
}

@keyframes simpleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typewriter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.2rem;
    margin: 10px 0;
}

.typewriter-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: none;
    font-weight: 700;
    color: white;
}

.cursor {
    color: white;
    font-weight: 300;
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: #050505;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.mission-headline {
    font-size: clamp(2.2rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    color: white;
}

.mission-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
}

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05));
    animation: logoPulse 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}


@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .mission-desc {
        margin: 0 auto;
    }

    .mission-visual {
        order: -1;
    }
}

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
}

.intro-text h2 {
    font-size: clamp(2.2rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    color: white;
    text-transform: uppercase;
}

.intro-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.05));
    transition: var(--transition);
}

.intro-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.1));
}

/* Intro Slideshow */
.intro-slideshow {
    position: relative;
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    opacity: 0;
    transition: none;
    object-fit: contain;
}

/* Each slide: 12s total cycle */
/* Slide 1 starts immediately visible, slides 2 & 3 follow at 4s & 8s */
.intro-slide--1 {
    animation: introFadeFirst 12s ease-in-out 0s infinite;
}

.intro-slide--2 {
    animation: introFade 12s ease-in-out 4s infinite;
}

.intro-slide--3 {
    animation: introFade 12s ease-in-out 8s infinite;
}

/* Slide 1: visible immediately, shown for 3s, then fades */
@keyframes introFadeFirst {
    0%   { opacity: 1;   transform: translateY(-50%) scale(1); }
    25%  { opacity: 1;   transform: translateY(-50%) scale(1); }
    33%  { opacity: 0;   transform: translateY(calc(-50% - 10px)) scale(1.02); }
    100% { opacity: 0;   transform: translateY(calc(-50% + 15px)) scale(0.97); }
}

/* Slides 2 & 3: fade in from below, stay 3s, then fade up */
@keyframes introFade {
    0%   { opacity: 0;   transform: translateY(calc(-50% + 15px)) scale(0.97); }
    8%   { opacity: 1;   transform: translateY(-50%) scale(1); }
    25%  { opacity: 1;   transform: translateY(-50%) scale(1); }
    33%  { opacity: 0;   transform: translateY(calc(-50% - 10px)) scale(1.02); }
    100% { opacity: 0;   transform: translateY(calc(-50% + 15px)) scale(0.97); }
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 4px;
    line-height: 1.5;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
}

/* Work */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.work-item {
    cursor: pointer;
}

.work-image.placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #1a1a1a;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.work-item:hover .work-image {
    opacity: 0.8;
    transform: scale(1.02);
}

.work-info h3 {
    font-weight: 600;
    font-size: 1.4rem;
}

.work-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.center-btn {
    text-align: center;
}

/* Testimonials Carousel */
.about {
    text-align: center;
    background: #0c0c0c;
    padding-bottom: 100px;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: none;
}

.testimonial-slide.active {
    opacity: 1;
    display: block;
}

.testimonial-card {
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    border-radius: 4px;
}

.client-info-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.client-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
}

.client-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-meta {
    text-align: left;
}

.client-meta h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.client-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-body {
    position: relative;
    padding: 0 40px;
    margin-bottom: 30px;
}

.quote-mark {
    font-size: 6rem;
    font-family: serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    position: absolute;
    pointer-events: none;
}

.quote-mark.start {
    top: -40px;
    left: 0;
}

.quote-mark.end {
    bottom: -80px;
    right: 0;
}

.testimonial-text {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
}

.star-rating {
    font-size: 1.2rem;
    color: #ffd700;
    /* Gold color for stars */
    letter-spacing: 4px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding-bottom: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Pricing */
.pricing {
    padding: 180px 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -2;
}

.pricing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 1400px;
    height: 60%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.pricing-card {
    padding: 70px 40px 50px;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: none;
    outline: 1px solid rgba(255, 255, 255, 0.15);
    outline-offset: -1px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                background 0.5s ease,
                box-shadow 0.5s ease,
                filter 0.5s ease,
                opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

.pricing-card:hover {
    outline-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-15px) scale(1.06);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Blur siblings when any card is hovered */
.pricing-grid:hover .pricing-card:not(:hover) {
    filter: blur(3px) brightness(0.6);
    opacity: 0.7;
    transform: scale(0.97);
}

.pricing-card.highlight {
    outline-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.package-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 16px;
    border-radius: 20px;
}

.package-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.cursive-word {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    text-transform: capitalize;
    font-size: 1.1em;
}

.pricing-features {
    margin-bottom: 45px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    color: #e0e0e0;
    font-size: 1rem;
    position: relative;
    padding-left: 28px;
    font-weight: 400;
}

.pricing-features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

/* Removed redundant btn-shiny shimmer as it's now global */


@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .modern-memorable-title {
        font-size: 2.8rem;
        white-space: normal;
        padding: 0 20px;
        letter-spacing: -1px;
    }

    .contact-info-centered h2 {
        font-size: 2.8rem;
    }

    .contact-info-centered p {
        font-size: 1.1rem;
    }
}

/* Contact */
.contact {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background-image: url('images/contact-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
    z-index: 0;
}

.contact-info-centered {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 40px;
    z-index: 1;
    background: transparent;
}

.contact-info-centered::before,
.contact-info-centered::after {
    display: none;
}

.contact-info-centered h2 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}

.contact-info-centered p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    /* Re-added glass overlay */
    -webkit-backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 40px 30px;
    border-radius: 32px;
    z-index: 1010;
    transform: translate3d(0, 40px, 0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-email {
    font-size: 1.5rem;
    text-decoration: none;
    border-bottom: none;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: white;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

/* Scroll to Top Button */
#scroll-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    z-index: 999;
    cursor: pointer;
}

#scroll-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

#scroll-top:hover img {
    transform: translateY(-4px);
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Directional slide-in animations */
.slide-from-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-from-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-from-left.visible,
.slide-from-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-visual {
        order: -1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(12, 12, 12, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 30px;
        text-align: center;
        z-index: 999;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list a {
        font-size: 2.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .modal-content {
        padding: 40px 20px 20px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        letter-spacing: 1px;
    }

    .hero-title {
        letter-spacing: 0;
    }

    .mission-headline {
        letter-spacing: -1px;
    }

    .marquee-rows {
        gap: 15px;
    }

    .marquee-content {
        gap: 15px;
    }

    .contact-email {
        font-size: clamp(1rem, 5vw, 1.3rem);
        word-break: break-all;
    }

    .nav-list {
        padding: 20px;
    }
}

/* Custom Cursor Settings - Desktop Only */
@media (pointer: fine) {
    body, a, button, input, textarea, .work-item {
        cursor: none !important;
    }

    .cursor-dot,
    .cursor-outline {
        position: fixed;
        border-radius: 50%;
        z-index: 99999;
        pointer-events: none;
        will-change: transform;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    body.loaded .cursor-dot,
    body.loaded .cursor-outline {
        opacity: 1;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: #fff;
        top: -4px;
        left: -4px;
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        top: -20px;
        left: -20px;
        transition: width 0.25s cubic-bezier(0.23, 1, 0.32, 1), height 0.25s cubic-bezier(0.23, 1, 0.32, 1), top 0.25s cubic-bezier(0.23, 1, 0.32, 1), left 0.25s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.25s ease, background-color 0.25s ease, opacity 0.3s ease;
    }

    /* Hover effect */
    .cursor-outline.hovered {
        width: 60px;
        height: 60px;
        top: -30px;
        left: -30px;
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.9);
    }
}

@media (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* Project Page Styles */
.projects-page-hero {
    padding: 130px 0 0px;
    text-align: center;
}

.projects-page-hero .section-title {
    margin-bottom: 5px;
}

.project-tiles-section {
    padding-top: 40px !important;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 100px;
    align-items: center;
}

.project-tile {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 15px;
    background: #1a1a1a;
    cursor: pointer;
}

.project-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease, background 0.4s ease;
}

.project-tile:hover .project-tile-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.project-tile:hover .project-tile-img {
    transform: scale(1.1);
}

.project-tile-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    text-align: center;
}

.project-tile:hover .project-tile-title {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .project-tile-title {
        font-size: 1.8rem;
    }
}

/* =============================================
   ABOUT PAGE STYLES  — matches reference design
   ============================================= */

/* Section starts below fixed header */
.about-content-section {
    padding-top: 160px !important;
}

/* Two-column layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ---- LEFT: Large "ABOUT" heading + paragraphs ---- */
.about-heading {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(235, 235, 235, 0.82);
    margin-bottom: 22px;
    max-width: 480px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* ---- RIGHT: Image + name below ---- */
.about-founder-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

/* Image wrapper */
.founder-img-wrapper {
    width: 100%;
    max-width: 450px;
}

/* Photo — mix-blend removes white bg so it looks transparent */
.founder-img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.founder-img-wrapper:hover .founder-img {
    transform: scale(1.02);
}

/* Name + title BELOW the image */
.founder-label-below {
    padding-left: 8px;
}

.founder-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin: 0 0 8px 0;
}

.founder-role-line {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(235, 235, 235, 0.8);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    letter-spacing: 0.2px;
    line-height: 1.5;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-founder-wrap {
        align-items: center;
        width: 100%;
    }

    .founder-label-below {
        text-align: center;
        padding-left: 0;
    }

    .about-text p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-heading {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .founder-name {
        font-size: 1.2rem;
    }

    .founder-role-line {
        font-size: 0.9rem;
    }
}
