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

:root {
    --primary-color: #cf1149;
    --primary-dark: #a30d39;
    --text-color: #ffffff;
    --bg-color: #000000;
    --secondary-color: #e84e77;
    --tertiary-color: #a30d39;
    --accent-color: #ffa920;
    --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --line-color: #ffffff;
    --transition-speed: 0.8s;
    --grid-spacing: 20px;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/s/spacegrotesk/v13/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj7oUXsrPMBTTA.woff2) format('woff2');
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;

    line-height: 1.2;
    height: 100%;
    width: 100%;
    transition: opacity 0.5s ease;
}

body.loading {
    overflow: hidden;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loading .loader {
    opacity: 1;
    visibility: visible;
}

.loader-logo {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.2s;
}

.loader-logo-image {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(138, 110, 255, 0.5));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(138, 110, 255, 0.5));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(138, 110, 255, 0.7));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(138, 110, 255, 0.5));
    }
}

.loader-progress {
    width: 300px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    animation: progress 2s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}



/* Main container */
.experience-container {
    position: relative;
    width: 100%;
    min-height: 700vh;
    /* Extended for more sections */
    background-color: var(--bg-color);
}





/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    z-index: 20;
    /* Lower than navigation (100) but higher than content */
    mix-blend-mode: difference;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(138, 110, 255, 0.3));
    transition: filter 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 0 12px rgba(138, 110, 255, 0.6));
}

.site-header .menu-toggle {
    display: none;
}

/* Floating Menu Pill */
.menu-pill {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    /* Glass morphism effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px;
    gap: 8px;
    z-index: 150;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    --x: 50%;
    --y: 50%;
}

.menu-pill:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.pill-email {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pill-email:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.pill-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pill-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-label {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.menu-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-divs {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.menu-divs span {
    width: 14px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Menu open state animations */
.pill-menu.open .menu-divs span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.pill-menu.open .menu-divs span:nth-child(2) {
    opacity: 0;
}

.pill-menu.open .menu-divs span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Responsive adjustments for menu pill */
@media (max-width: 1200px) {
    .menu-pill {
        bottom: 35px;
        padding: 7px;
    }

    .pill-email {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .pill-menu {
        padding: 7px 18px 7px 14px;
    }

    .menu-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .menu-pill {
        bottom: 32px;
        padding: 6px;
        gap: 6px;
    }

    .pill-email {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .pill-menu {
        padding: 6px 16px 6px 12px;
        gap: 10px;
    }

    .menu-label {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

    .menu-icon {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 768px) {
    .menu-pill {
        bottom: 30px;
        padding: 5px;
        gap: 5px;
        transform: translateX(-50%) scale(0.95);
    }

    .pill-email {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .pill-menu {
        padding: 5px 14px 5px 10px;
        gap: 8px;
    }

    .menu-label {
        font-size: 0.85rem;
        letter-spacing: 0.2px;
    }

    .menu-icon {
        width: 24px;
        height: 24px;
    }

    .menu-divs span {
        width: 12px;
        height: 1.5px;
    }

    .loader-logo {
        margin-bottom: 3rem;
        width: 70vw;
        opacity: 0;
        animation: fadeIn 0.5s ease forwards 0.2s;
    }
}

@media (max-width: 576px) {
    .menu-pill {
        bottom: 25px;
        padding: 4px;
        gap: 4px;
        transform: translateX(-50%) scale(0.9);
    }

    .loader-logo {
        margin-bottom: 3rem;
        width: 70vw;
        opacity: 0;
        animation: fadeIn 0.5s ease forwards 0.2s;
    }
    .pill-email {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .pill-menu {
        padding: 4px 12px 4px 8px;
        gap: 6px;
    }

    .menu-label {
        font-size: 0.8rem;
        letter-spacing: 0.1px;
    }

    .menu-icon {
        width: 22px;
        height: 22px;
    }

    .menu-divs {
        gap: 2px;
    }

    .menu-divs span {
        width: 10px;
        height: 1.5px;
    }
}

@media (max-width: 480px) {
    .menu-pill {
        bottom: 20px;
        padding: 3px;
        gap: 3px;
        transform: translateX(-50%) scale(0.85);
    }

    .pill-email {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .pill-menu {
        padding: 3px 10px 3px 6px;
        gap: 5px;
    }

    .menu-label {
        font-size: 0.75rem;
        letter-spacing: 0px;
    }

    .menu-icon {
        width: 20px;
        height: 20px;
    }

    .menu-divs span {
        width: 9px;
        height: 1px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .menu-pill {
        transform: translateX(-50%) scale(1.1);
    }

    .pill-email,
    .pill-menu {
        padding: 8px 16px;
    }

    .pill-email {
        min-width: 44px;
        min-height: 44px;
    }

    .menu-icon {
        min-width: 28px;
        min-height: 28px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 812px) and (orientation: landscape) {
    .menu-pill {
        bottom: 15px;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Navigation */
.site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Glass morphism background */
    background: rgba(8, 8, 8, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 100;
    /* Increased from 9 to ensure it's above everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-navigation.active {
    opacity: 1;
    visibility: visible;
    z-index: 100;
    /* Ensure active state is also highest */
}

.nav-content {
    max-width: 1200px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* Glass morphism panel */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.nav-menu {
    width: 55%;
    list-style: none;
    padding-right: 3%;
}

.nav-link {
    font-size: clamp(2.5rem, 4vw, 4rem);
    /* Responsive font size - smaller on laptops */
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.4;
    /* Reduced from 1.6 to save space */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #e84e77 0%, #cf1149 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    transform: translateX(10px);
    color: #ffffff;
}

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

.nav-info {
    width: 42%;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 0;
}

.nav-info p a {
    color: inherit;
    text-decoration: none;
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    color: #ffffff;
}

/* Content sections */
.content-sections {
    position: relative;
    z-index: 2;
}

.content-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10vw;
    overflow: hidden;
}

#services-section {
    padding-top: 120px;
    min-height: 100vh;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: visible;
}

#services-section .section-content {
    overflow: visible;
    padding-top: 80px;
}

#services-section h2.reveal-text {
    margin-top: 30px;
    padding-top: 40px;
    margin-bottom: 30px;
    overflow: visible;
    font-size: 4.2rem;
}

.full-width {
    padding: 0 5vw;
}

.section-content {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    padding-top: 60px;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-number {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 12rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.07;
    z-index: -1;
    letter-spacing: -5px;
}

/* Hero Section */
#section-1 {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-text {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

h1.split-text {
    font-size: 5.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1.5s ease forwards 1s;
    background: linear-gradient(to right, var(--text-color), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-container {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 30px;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.scroll-indicator span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.7;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        top: 8px;
        opacity: 1;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        top: 32px;
        opacity: 0;
    }
}

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

.float-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 110, 255, 0.15) 0%, rgba(138, 110, 255, 0) 70%);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.float-element:nth-child(1) {
    top: 20%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 110, 255, 0.15) 0%, rgba(138, 110, 255, 0) 70%);
    animation: float 20s ease-in-out infinite;
}

.float-element:nth-child(2) {
    top: 60%;
    right: 25%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.15) 0%, rgba(255, 51, 102, 0) 70%);
    animation: float 15s ease-in-out infinite reverse;
}

.float-element:nth-child(3) {
    bottom: 15%;
    left: 35%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(153, 102, 204, 0.15) 0%, rgba(153, 102, 204, 0) 70%);
    animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-30px, 30px);
    }

    50% {
        transform: translate(0, -20px);
    }

    75% {
        transform: translate(30px, 30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Interactive Section */
#interactive-section {
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.8) 0%, rgba(8, 8, 8, 0.75) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.interactive-element {
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.circle-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(138, 110, 255, 0) 70%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    position: relative;
    box-shadow: 0 0 30px var(--primary-color);
}

.circle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 2px solid rgba(138, 110, 255, 0.3);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.circle:hover {
    transform: scale(1.2);
    opacity: 1;
}

.interactive-text {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 3rem;
}

.quote-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

blockquote {
    font-size: 2.5rem;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-style: italic;
}

cite {
    font-size: 1.2rem;
    font-style: normal;
    opacity: 0.7;
}

/* Contact Section */
#contact-section {
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.75) 0%, rgba(8, 8, 8, 0.7) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 3rem;
}

.contact-info p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-details li i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-details li a {
    color: inherit;
    text-decoration: none;
}

.form-field {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea.form-input {
    height: 150px;
    resize: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(0, 98, 255, 0.05);
}

.submit-button {
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: var(--font-family);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-button:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(207, 17, 73, 0.3);
}

.button-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
    position: relative;
    padding: 5rem 10vw 3rem;
    z-index: 2;
    background-color: rgba(5, 5, 5, 0.9);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    width: 25%;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links {
    width: 75%;
    display: flex;
    justify-content: flex-end;
}

.footer-column {
    margin-left: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
}

.footer-social a {
    margin-right: 15px;
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Updated Horizontal Scroll Section */
.horizontal-scroll-trigger {
    position: relative;
    height: 300vh;
    width: 100%;
    overflow: visible;
}

.horizontal-scroll-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 5;
}

.horizontal-scroll-content {
    display: flex;
    position: relative;
    height: 100vh;
    width: max-content;
    will-change: transform;
}

.manifesto-section {
    position: relative;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.manifesto-section.active {
    opacity: 1;
}

.manifesto-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 30px;
    background-color: rgba(8, 8, 8, 0.8);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.manifesto-heading {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1;
    background: linear-gradient(to right, #e84e77, #cf1149);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(0);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.manifesto-paragraph {
    font-size: 1.6rem;
    line-height: 1.4;
    transform: translateY(0);
}

.manifesto-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.5s ease, opacity 1.5s ease;
}

.manifesto-section.active .manifesto-image {
    transform: scale(1);
    opacity: 0.25;
}

/* Updated background patterns for manifesto sections */
#manifesto-1 .manifesto-image {
    background-image: linear-gradient(to right, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.4)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,50 L30,30 L70,70 L90,50" stroke="%230062FF" stroke-width="2" fill="none"/></svg>');
    background-repeat: repeat;
}

#manifesto-2 .manifesto-image {
    background-image: linear-gradient(to right, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.4)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="20" stroke="%23FF3366" stroke-width="2" fill="none"/></svg>');
    background-repeat: repeat;
}

#manifesto-3 .manifesto-image {
    background-image: linear-gradient(to right, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.4)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="30" y="30" width="40" height="40" stroke="%2300E5AD" stroke-width="2" fill="none"/></svg>');
    background-repeat: repeat;
}

#manifesto-4 .manifesto-image {
    background-image: linear-gradient(to right, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.4)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><polygon points="50,20 20,80 80,80" stroke="%23FFC400" stroke-width="2" fill="none"/></svg>');
    background-repeat: repeat;
}

/* Line transition styles */
.line-horizontal {
    transform: rotate(0deg) !important;
    transition: transform 1.5s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Body in horizontal scroll mode */
body.horizontal-scroll-active {
    overflow: hidden !important;
    height: 100%;
    width: 100%;
    position: relative;
    touch-action: none;
    /* Prevent native scroll behavior on touch devices */
}

body.horizontal-scroll-active .site-header {
    mix-blend-mode: difference;
    z-index: 100;
}

/* Line distortion effect */
body.line-distort .line-canvas {
    filter: hue-rotate(90deg) blur(2px);
    transition: filter 0.5s ease;
}

/* GSAP pin styles - these are important! */
.horizontal-scroll-trigger.pin-spacer {
    height: 100vh !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.horizontal-scroll-content.gsap-transform {
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
}

/* Ensure sections show properly */
.manifesto-section.active .manifesto-heading,
.manifesto-section.active .manifesto-paragraph {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Media Queries */
@media (max-width: 1400px) {
    .nav-link {
        font-size: clamp(2.2rem, 3.5vw, 3.5rem);
        line-height: 1.3;
    }

    .nav-menu {
        width: 60%;
    }

    .nav-info {
        width: 38%;
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .nav-link {
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.2;
    }

    .nav-close {
        font-size: 1.8rem;
    }

    /* General responsive styles */
    h1.split-text {
        font-size: 4.5rem;
    }

    h2,
    .manifesto-heading {
        font-size: 3.5rem;
    }

    .services-grid,
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-column p {
        font-size: 1.2rem;
    }

    blockquote {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        width: 100%;
        margin-bottom: 40px;
    }

    .nav-info {
        width: 100%;
    }

    .nav-link {
        font-size: clamp(1.8rem, 2.5vw, 2.5rem);
        line-height: 1.1;
    }

    /* General responsive styles */
    .about-columns,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        width: 100%;
        margin-bottom: 40px;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }

    .footer-column {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-link {
        font-size: clamp(1.5rem, 2vw, 2rem);
        line-height: 1.0;
    }

    .nav-content {
        width: 95%;
    }

    .nav-close {
        font-size: 1.5rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    /* General responsive styles */
    h1.split-text {
        font-size: 3.5rem;
    }

    h2,
    .manifesto-heading {
        font-size: 3rem;
    }

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

    .section-number {
        font-size: 8rem;
        top: -60px;
    }

    blockquote {
        font-size: 1.8rem;
    }

    .horizontal-scroll-content {
        width: 480vw;
    }

    .manifesto-section {
        width: 80vw;
        padding: 0 5vw;
    }

    .manifesto-paragraph {
        font-size: 1.2rem;
    }

    .manifesto-text {
        padding: 20px;
    }

    .team-member {
        flex-basis: 48%;
    }

    .team-kinetic-text .team-word {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .nav-link {
        font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    }

    .nav-info {
        font-size: 1rem;
    }

    /* General responsive styles */
    h1.split-text {
        font-size: 2.5rem;
    }

    h2,
    .manifesto-heading {
        font-size: 2.2rem;
    }

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

    .section-number {
        font-size: 6rem;
        top: -40px;
    }

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

    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }

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

    .footer-bottom p:first-child {
        margin-bottom: 10px;
    }

    .horizontal-scroll-content {
        width: 400vw;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e84e77, #cf1149);
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Dedicated icon sizing */
.back-to-top i {
    font-size: 1.6rem;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 24px rgba(255, 51, 102, 0.5);
}

/* Services Section */
.services-intro {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 4rem;
    max-width: 800px;
    font-weight: 300;
}

#services-section h2.reveal-text {
    margin-top: 30px;
    padding-top: 40px;
    margin-bottom: 30px;
    overflow: visible;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35%, 40%));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e84e77, #cf1149);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e84e77, #cf1149);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(207, 17, 73, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--text-color);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(33%, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-intro {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

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

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

/* Add general heading styles */
h2.reveal-text {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
    display: block;
    line-height: 1.2;
}

/* Kinetic Text Transition */
.kinetic-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 1);
    overflow: hidden;
    z-index: 5;
}

.kinetic-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.8;
    text-align: center;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Scale the font responsively */
.kinetic-text .word {
    display: block;
    font-size: clamp(60px, 15vw, 240px);
    width: 100%;
    text-align: center;
}

/* Ensure "Our" is always on its own line */
.word-our {
    margin-bottom: clamp(10px, 2vh, 30px);
}

/* Ensure "projects" is always on its own line */
.word-projects {
    margin-top: clamp(10px, 2vh, 30px);
    white-space: nowrap;
    display: inline-block;
}

.word-project {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-start,
.project-end {
    display: inline-block;
}

.letter-o {
    display: inline-block;
    /* Multilayer gradient dots + grain texture */
    background:
        radial-gradient(circle at 20% 30%, #cf1149 25%, transparent 55%),
        radial-gradient(circle at 70% 40%, #a30d39 25%, transparent 55%),
        radial-gradient(circle at 50% 80%, #e84e77 20%, transparent 55%),
        url("https://grainy-gradients.vercel.app/noise.png"),
        url("https://grainy-gradients.vercel.app/noise.png"),
        url("https://grainy-gradients.vercel.app/noise.png");
    background-size:
        200% 200%,
        200% 200%,
        200% 200%,
        100% 100%,
        200px 200px,
        80px 80px;
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        repeat,
        repeat,
        repeat;
    background-blend-mode:
        screen,
        screen,
        screen,
        overlay,
        overlay,
        overlay;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform-origin: center center;
}

/* Project Showcase (inside the O) */
.project-showcase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    height: 80vmin;
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100%;
}

.showcase-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Split layout (video & text) */
.split-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
}

.split-left,
.split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vw 0 0vw 4vw;
}

.split-left {
    background: rgba(8, 8, 8, 1.0);
    display: flex;
}

.split-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.split-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 400px;
    opacity: 0.8;
}

.split-right {
    overflow: hidden;
    padding: 0;
    position: relative;
    flex: 0 0 40vw;
}

.split-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: none;
}

.video-label {
    position: absolute;
    bottom: 2vh;
    left: 2vw;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 5vw, 80px);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-transform: uppercase;
    background: none;
    padding: 0;
    width: auto;
    transform: translateY(0);
    opacity: 1;
    line-height: 1.1;
}

/* ---- Print Work Section ---- */
.work-print {
    position: relative;
    z-index: 1;
    background: rgba(8, 8, 8, 1.0);
    overflow: hidden;
}

.print-layout {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8vh 5vw;
}

.print-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 600;
    margin-bottom: 4vw;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.print-gallery {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.print-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    grid-row: span var(--rows, 20);
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity .6s ease .15s, transform .6s cubic-bezier(.25, .8, .25, 1) .15s;
}

.print-item.visible {
    opacity: 1;
    transform: none;
}

.print-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.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

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

.print-info {
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    padding-left: 20px;
}

.print-item:hover .print-info {
    transform: translateY(0);
}

.print-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.print-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.print-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.client-label {
    position: absolute;
    left: 2;
    bottom: 0;
    width: 100%;
    height: 25%;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 0 0 12px 12px;
    pointer-events: none;
    color: #fff;
    font-family: var(--font-family);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    padding: 8px 100px;
    box-sizing: border-box;
    transform: translateY(80%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    display: none;
}

.print-img {
    width: 100%;
    height: 50vh;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    opacity: 0;
    transition: transform .35s ease, opacity .6s ease;
}

.print-item:hover .print-img {
    transform: scale(1.03);
}

.print-item.hero {
    grid-column: span 2;
}

.img-large {
    grid-column: span 2;
}

.print-label {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 6vw, 80px);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
    pointer-events: none;
}

.print-intro {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 800px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

    .print-item.hero,
    .img-large {
        grid-column: span 1;
    }
}

/* ---- Website Work Section ---- */
.work-website {
    position: relative;
    z-index: 1;
    height: 100vh;
    overflow: hidden;
    background: rgba(8, 8, 8, 1.0);
}

.website-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.website-label {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    z-index: 1;
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    transition: z-index 0.2s ease;
}

.website-label.behind {
    z-index: 1;
}

.website-gallery {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.website-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(0);
    opacity: 1;
}

.website-intro {
    position: absolute;
    bottom: 10vh;
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 800px;
    opacity: 0.8;
}

.website-item:first-child {
    transform: translateX(-120vw);
}

.website-item:last-child {
    transform: translateX(120vw);
}

.website-item.visible {
    transform: translateX(0);
    opacity: 1;
}

.website-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.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

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

.website-info {
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    text-align: left;
}

.website-item:hover .website-info {
    transform: translateY(0);
}

.website-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.website-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.website-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.website-item .client-label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 25%;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 0 0 12px 12px;
    pointer-events: none;
    color: #fff;
    font-family: var(--font-family);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    padding: 8px 100px;
    box-sizing: border-box;
    transform: translateY(80%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    display: none;
}

.website-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.website-item:hover .website-img {
    transform: scale(1.05);
}

/* ---- INTERACTIVE DESIGN Work Section ---- */
.work-interactive {
    position: relative;
    z-index: 1;
    height: auto;
    background: rgba(8, 8, 8, 1.0);
    overflow: hidden;
    width: 100%;
    padding: 15vh 0;
}

#interactive-design-section {
    position: relative;
    opacity: 1;
    visibility: visible;
    background: rgba(0,0,0,0.5);
}

.interactive-layout {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0vh 5vw;
}

.interactive-label {
    position: absolute;
    bottom: 5%;
    left: 5%;
    transform: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
    pointer-events: none;
    text-align: left;
    z-index: 3;
}

.interactive-showcase {
    display: flex;
    justify-content: end;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.interactive-item {
    position: relative;
    max-width: 1000px;
    height: 60vh;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(.25, .8, .25, 1);
    margin-top: 1vh;
}

.interactive-item.interactive-iframe {
    width: min(60vw, 800px);
    aspect-ratio: 1372 / 1176;
    max-height: 60vh;
    height: auto;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.interactive-item canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border-radius: 20px;
}

.interactive-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;

}

.interactive-item:hover {
    transform: scale(1.02);
}

/* Interactive Design CTA Button */
.interactive-intro {
    position: absolute;
    top: 40%;
    left: 5%;
    max-width: 400px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

/* Removed old interactive-cta styles - replaced with simple-link */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .interactive-showcase {
        justify-content: center;
        align-items: center;
    }

    .interactive-item.interactive-iframe {
        width: min(70vw, 700px);
    }

    .interactive-label {
        font-size: clamp(30px, 6vw, 80px);
    }
}

@media (max-width: 768px) {
    .interactive-showcase {
        justify-content: center;
        align-items: center;
    }

    .interactive-item.interactive-iframe {
        width: 85vw;
        max-height: 50vh;
    }

    .interactive-label {
        writing-mode: horizontal-tb;
        transform: none;
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 2rem;
        opacity: 1;
        font-size: clamp(28px, 8vw, 60px);
    }

    .interactive-intro {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 2rem;
        max-width: 100%;
        text-align: center;
    }

    /* Removed old interactive-cta responsive styles */
}

/* Animation delay for staggered effect */
.interactive-item:nth-child(1) {
    transition-delay: 0.1s;
}

.interactive-item:nth-child(2) {
    transition-delay: 0.2s;
}

.interactive-item:nth-child(3) {
    transition-delay: 0.3s;
}

/* for kinetic label animation */
.w-char {
    display: inline-block;
    transform: translateY(100px) rotateZ(-10deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.w-char.visible {
    transform: translateY(0) rotateZ(0deg);
    opacity: 1;
}

.i-line {
    display: block;
    line-height: 0.9;
}

.w-line {
    display: block;
    margin-bottom: 0.2em;
}

/* Kinetic text positioning for tunnel effect */
.kinetic-text {
    position: relative;
    z-index: 2;
}

.letter-o {
    position: relative;
    z-index: 3;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

/* Project section positioning for reveal effect */
.project-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Ensure the O has a proper mask/clip for the tunnel effect */
.kinetic-section {
    overflow: hidden;
}

/* Meet the Team Section */
.team-kinetic-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 8, 1.0);
    overflow: hidden;
    z-index: 5;
}

.team-kinetic-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.9;
    text-align: center;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
}

.team-kinetic-text .team-word {
    display: block;
    font-size: clamp(60px, 12vw, 180px);
    width: 100%;
    text-align: center;
    color: #fff; /* Starting grey color */
    transition: color 0.3s ease;
}

.word-meet {
    margin-bottom: clamp(5px, 1vh, 20px);
}

.word-the {
    margin-bottom: clamp(5px, 1vh, 20px);
}

.word-team {
    white-space: nowrap;
    display: inline-block;
}

/* The "A" that will be animated */
.letter-a {
    display: inline-block;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    opacity: 1;
    transform: scale(1);
    /* Gradient similar to the "O" in projects */
    background:
        radial-gradient(circle at 20% 30%, #cf1149 25%, transparent 55%),
        radial-gradient(circle at 70% 40%, #a30d39 25%, transparent 55%),
        radial-gradient(circle at 50% 80%, #e84e77 20%, transparent 55%),
        url("https://grainy-gradients.vercel.app/noise.png");
    background-size:
        200% 200%,
        200% 200%,
        200% 200%,
        100% 100%;
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        repeat;
    background-blend-mode:
        screen,
        screen,
        screen,
        overlay;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Team Showcase */
.team-showcase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.team-members-grid {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    min-width: max-content;
    margin: 0 auto;
}

.team-member {
    position: relative;
    opacity: 0;
    height: 30vh;
    width: 300px; /* Fixed width for each member */
    flex-shrink: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.team-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Remove the old grid-based responsive styles */
@media (max-width: 1400px) {
    .team-member {
        width: 350px;
    }
}

@media (max-width: 992px) {
    .team-member {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .team-member {
        width: 220px;
    }

    .team-kinetic-text .team-word {
        font-size: clamp(40px, 10vw, 100px);
    }
}

/* Z-index management for sections */
.interactive-split-container {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.interactive-title {
    flex: 0 0 40%;
}

.interactive-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.interactive-layout .interactive-label {
    text-align: left;
}

.interactive-layout .interactive-intro {
    text-align: left;
}

/* Removed final interactive-cta positioning - replaced with simple-link */

.custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(232, 78, 119, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-cursor.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive Overrides */
.mobile-view {
    display: none;
}

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

    .mobile-view {
        display: block;
    }

    /* Copied from phone-styles.css */

    :root {
        --background-color: #080808;
        --text-color: #ffffff;
        --primary-color: #cf1149;
        --secondary-color: #e84e77;
        --surface-color: #1E1E1E;
        --font-main: 'Space Grotesk', sans-serif;
    }

    /* Reset and Body */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        background-color: var(--background-color);
        color: var(--text-color);
        font-family: var(--font-main);
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* Typography */
    h1, h2, h3 {
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    h1 {
        font-size: 2.5rem; /* 40px */
    }

    h2 {
        font-size: 2rem; /* 32px */
    }

    h3 {
        font-size: 1.5rem; /* 24px */
    }

    p {
        margin-bottom: 1rem;
        font-size: 1rem; /* 16px */
        font-weight: 300;
    }

    a {
        color: var(--primary-color);
        text-decoration: none;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Layout */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 4rem 0;
    }

    .section {
        border-bottom: 1px solid var(--surface-color);
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
        font-weight: 400;
        letter-spacing: 1px;
    }

    /* Header */
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 5%;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 20;
        background: rgba(18, 18, 18, 0.6);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header__logo {
        pointer-events: auto; /* Re-enables interaction for the logo */
    }

    .header__logo img {
        height: 30px;
    }

    /* Remove old menu toggle style */
    .header__menu-toggle {
        display: none;
    }

    /* Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        pointer-events: none;
    }

    .nav.is-active {
        transform: translateX(0);
        pointer-events: auto;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-view .nav-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 3rem 2rem;
        text-align: center;
        overflow-y: auto;
    }

    .mobile-view .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
        z-index: 1002;
    }

    .mobile-view .nav-close:hover,
    .mobile-view .nav-close:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-view .nav-close::before,
    .mobile-view .nav-close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2px;
        background: #ffffff;
        transform-origin: center;
        border-radius: 1px;
    }

    .mobile-view .nav-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-view .nav-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .nav__list {
        list-style: none;
        text-align: center;
        margin-bottom: 2rem;
        width: 100%;
    }

    .nav__item {
        margin: 1rem 0;
    }

    .nav__link {
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
        position: relative;
        display: block;
        padding: 1rem 2rem;
        border-radius: 12px;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        margin: 0.5rem 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav__link:hover,
    .nav__link:active {
        color: var(--primary-color);
        background: rgba(232, 78, 119, 0.1);
        border-color: rgba(232, 78, 119, 0.3);
        transform: translateY(-2px);
    }

    .mobile-view .nav-info {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        max-width: 280px;
    }

    .mobile-view .nav-info p {
        margin: 1rem 0;
        font-size: 0.9rem;
        opacity: 0.9;
        color: var(--text-color);
        line-height: 1.4;
    }
    a{
        text-decoration: none;
    }

    .mobile-view .nav-info p a {
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
        padding: 0.3rem 0;
        display: inline-block;
        border-bottom: 1px solid transparent;
        transition: all 0.3s ease;
    }

    .mobile-view .nav-info p a:hover,
    .mobile-view .nav-info p a:active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
    }

    /* Floating Menu Pill */
    .mobile-view .menu-pill {
        position: fixed;
        bottom: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(30, 30, 30, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 60px;
        padding: 12px 16px 12px 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
        min-height: 64px;
    }

    .mobile-view .menu-pill:hover,
    .mobile-view .menu-pill:active {
        transform: translateX(-50%) scale(1.02);
        background: rgba(30, 30, 30, 0.9);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    }

    .mobile-view .pill-email {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        transition: all 0.3s ease;
        min-width: 48px;
        flex-shrink: 0;
    }

    .mobile-view .pill-email:hover,
    .mobile-view .pill-email:active {
        background: rgba(232, 78, 119, 0.8);
        transform: scale(1.05);
    }

    .mobile-view .pill-menu {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0 8px 0 12px;
        cursor: pointer;
        height: 48px;
        border-radius: 30px;
        transition: all 0.3s ease;
        min-width: 100px;
    }

    .mobile-view .pill-menu:hover,
    .mobile-view .pill-menu:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-view .menu-label {
        font-weight: 500;
        letter-spacing: 0.5px;
        font-size: 1rem;
        white-space: nowrap;
    }

    .mobile-view .menu-icon {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        position: relative;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .mobile-view .menu-icon:hover,
    .mobile-view .menu-icon:active {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.05);
    }

    .mobile-view .menu-icon span {
        display: block;
        width: 16px;
        height: 2px;
        background-color: #333;
        border-radius: 1px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    /* Pill open state */
    .mobile-view .menu-pill.is-open .menu-icon span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .mobile-view .menu-pill.is-open .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-view .menu-pill.is-open .menu-icon span:nth-child(3) {
         transform: translateY(-5px) rotate(-45deg);
    }

    /* Small mobile screens optimization */
    @media (max-width: 480px) {
        .mobile-view .nav-content {
            padding: 2rem 1.5rem;
        }

        .mobile-view .nav-close {
            top: 1rem;
            right: 1rem;
            width: 44px;
            height: 44px;
        }

        .nav__link {
            font-size: 1.3rem;
            padding: 0.8rem 1.5rem;
            min-height: 56px;
            margin: 0.3rem 0;
        }

        .mobile-view .nav-info {
            max-width: 100%;
            padding: 1.5rem 1rem;
        }

        .mobile-view .nav-info p {
            font-size: 0.85rem;
            margin: 0.8rem 0;
        }

        .mobile-view .menu-pill {
            bottom: 2rem;
            padding: 10px 14px 10px 10px;
            min-height: 56px;
            gap: 10px;
        }

        .mobile-view .pill-email {
            width: 44px;
            height: 44px;
            font-size: 1.1rem;
            min-width: 44px;
        }

        .mobile-view .pill-menu {
            height: 44px;
            padding: 0 6px 0 10px;
            min-width: 90px;
        }

        .mobile-view .menu-label {
            font-size: 0.9rem;
        }

        .mobile-view .menu-icon {
            width: 30px;
            height: 30px;
        }

        .mobile-view .menu-icon span {
            width: 14px;
        }
    }

    /* Very small screens (iPhone SE, etc.) */
    @media (max-width: 375px) {
        .mobile-view .nav-content {
            padding: 1.5rem 1rem;
        }

        .nav__link {
            font-size: 1.2rem;
            padding: 0.7rem 1.2rem;
            min-height: 52px;
        }

        .mobile-view .menu-pill {
            bottom: 1.5rem;
            padding: 8px 12px 8px 8px;
            min-height: 52px;
        }

        .mobile-view .pill-email {
            width: 40px;
            height: 40px;
            font-size: 1rem;
            min-width: 40px;
        }

        .mobile-view .pill-menu {
            height: 40px;
            min-width: 80px;
        }

        .mobile-view .menu-icon {
            width: 28px;
            height: 28px;
        }
    }

    /* Landscape mobile orientation */
    @media (max-height: 500px) and (orientation: landscape) {
        .mobile-view .nav-content {
            padding: 1rem;
            justify-content: flex-start;
            padding-top: 4rem;
        }

        .nav__list {
            margin-bottom: 1rem;
        }

        .nav__item {
            margin: 0.3rem 0;
        }

        .nav__link {
            min-height: 48px;
            font-size: 1.2rem;
            padding: 0.6rem 1.5rem;
        }

        .mobile-view .nav-info {
            margin-top: 1rem;
            padding-top: 1rem;
        }

        .mobile-view .nav-info p {
            margin: 0.5rem 0;
            font-size: 0.8rem;
        }
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero__title {
        color: var(--primary-color);
        animation: float 8s ease-in-out infinite;
    }

    .hero__subtitle {
        font-size: 1.2rem;
        max-width: 500px;
        margin: 1rem auto 0;
        min-height: 50px; /* Prevents layout shift */
        animation: float 8s ease-in-out infinite;
    }

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

    .cursor {
        display: inline-block;
        width: 2px;

        margin-left: 4px;
        margin-bottom: 10px;
        animation: blink 1s step-end infinite;
        color: var(--text-color);
        text-decoration: none;
    }

    @keyframes blink {
        from, to { opacity: 1; }
        50% { opacity: 0; }
    }

    /* Services Section */
    .services__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        background-color: var(--surface-color);
        padding: 2rem;
        border-radius: 8px;
        text-align: center;
    }

    .service-card__icon {
        height: 80px;
        margin: 0 auto 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card__icon canvas {
        max-height: 100%;
    }

    /* Projects Section */
    .project-card {
        background-color: var(--surface-color);
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .project-card h3,
    .project-card p {
        padding: 0 1.5rem;
    }
    .project-card h3 {
        padding-top: 1.5rem;
    }
    .project-card p {
        padding-bottom: 1.5rem;
    }

    .project-card__rive-container {
        width: 100%;
        aspect-ratio: 1372 / 1176;
        background-color: #000;
    }

    /* Team Section */
    .team__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        text-align: center;
        /* Resets from desktop view */
        position: static;
        opacity: 1;
        height: auto;
        width: auto;
        transform: none;
        transition: none;
    }

    .team-member__img {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    /* Contact Section */
    .contact__content {
        text-align: center;
    }

    .mobile-view .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact__button {
        display: inline-block;
        background-color: var(--primary-color);
        color: white;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        margin: 1rem 0;
        font-weight: 600;
    }
    .contact__phone {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    /* Footer */
    .footer {
        text-align: center;
    }
    .footer .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .footer__logo {
        margin-bottom: 1.5rem;
    }

    .footer__logo img {
        height: 30px;
        margin: 0 auto;
    }

    .footer__links {
        margin-bottom: 1.5rem;
    }

    .footer__links a {
        margin: 0 1rem;
        color: var(--text-color);
        font-weight: 300;
    }

    .footer__copy {
        font-size: 0.8rem;
        opacity: 0.5;
    }

    .mobile-view .hero-text h1 {
        font-size: 1.8rem;
    }

    .mobile-view .typing-container {
        font-size: 1.2rem;
        min-height: 40px;
    }

    .mobile-view .cursor {
        height: 20px;
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
    }

    .project-card p {
        padding-bottom: 1.5rem;
    }

    .mobile-view .project-card--has-video {
        overflow: visible;
    }

    .mobile-view .project-card__video {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-view .project-card--has-video h3,
    .mobile-view .project-card--has-video p {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .mobile-view .project-card--has-video h3 {
        padding-top: 1.5rem;
    }

    .mobile-view .project-card--has-video p {
        padding-bottom: 1.5rem;
    }

    .project-card__rive-container {
        width: 100%;
        aspect-ratio: 1372 / 1176;
    }
}

.video-section {
    position: relative;
    min-height: 100vh;
    background: rgba(8, 8, 8, 1.0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.video-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
    opacity: 1;
    transform: none;
}

.video-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    transform: none;
}

#contact-section {
    position: relative;
    z-index: 2;
    background: rgba(8, 8, 8, 1.0);
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .video-section {
        padding: 3rem 1rem;
    }

    .video-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
        transform: none;
        opacity: 1;
    }

    .video-container {
        transform: none;
        opacity: 1;
    }

    #contact-section {
        transform: none;
        opacity: 1;
    }
}

/* Mobile View Base Styles */
.mobile-view .section {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-view .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.mobile-view .section-title {
    width: 100%;
    text-align: left;
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
}

/* Mobile Services Section */
.mobile-view .services__grid {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-view .service-card {
    text-align: left;
    margin-bottom: 2rem;
}

.mobile-view .service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.mobile-view .service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Projects Section */
.mobile-view .project-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem;
    text-align: left;
}

.mobile-view .project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.mobile-view .project-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.mobile-view .project-card__image,
.mobile-view .project-card__video {
    width: 100%;
    margin: 1.5rem auto 0;
}

/* Mobile Team Section */
.mobile-view .team__grid {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    justify-content: center;
}

.mobile-view .team-member__info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.mobile-view .team-member__info p {
    font-size: 1.1rem;
}

/* Mobile Values Section */
.mobile-view .values__grid {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.mobile-view .value-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.mobile-view .value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.mobile-view .value-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Video Section */
.mobile-view .video.section .container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-view .video.section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: left;
}

/* Mobile Contact Section */
.mobile-view .contact-layout {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.mobile-view .contact-info,
.mobile-view .contact-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.mobile-view .contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.mobile-view .contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.mobile-view .contact-details li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-view .contact-form .form-field {
    margin-bottom: 1.5rem;
    text-align: left;
}

.mobile-view .contact-form .form-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
}

.mobile-view .contact-form textarea.form-input {
    min-height: 150px;
}

.mobile-view .contact-form .submit-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: auto;
    text-align: center;
}

/* Simple Link for Interactive Design Article */
.simple-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(232, 78, 119, 0.1) 0%, rgba(232, 78, 119, 0.05) 100%);
    border: 1px solid rgba(232, 78, 119, 0.3);
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    align-self: flex-start;
}

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

.simple-link:hover {
    background: linear-gradient(135deg, rgba(232, 78, 119, 0.2) 0%, rgba(232, 78, 119, 0.1) 100%);
    border-color: rgba(232, 78, 119, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 78, 119, 0.15);
    color: #ffffff;
}

.simple-link:hover::before {
    left: 100%;
}

.simple-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.simple-link:hover i {
    transform: translateX(4px);
}

/* Desktop positioning */
.interactive-content .simple-link {
    margin-top: 2rem;
    align-self: center;
}

/* Mobile positioning */
@media (max-width: 768px) {
    .simple-link {
        align-self: center;
        margin: 2rem auto 0;
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    .mobile-view .simple-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        background: linear-gradient(135deg, rgba(232, 78, 119, 0.1) 0%, rgba(232, 78, 119, 0.05) 100%);
        border: 1px solid rgba(232, 78, 119, 0.3);
        border-radius: 20px;
        color: #ffffff;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.3px;
        transition: all 0.3s ease;
        margin: 1.5rem auto 0;
    }
    
    .mobile-view .simple-link:hover {
        background: linear-gradient(135deg, rgba(232, 78, 119, 0.2) 0%, rgba(232, 78, 119, 0.1) 100%);
        border-color: rgba(232, 78, 119, 0.5);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(232, 78, 119, 0.2);
    }
    
    .mobile-view .simple-link i {
        font-size: 0.8rem;
    }
}