/* Base Variables (Light Theme) */
:root {
    --color-black: #ffffff;
    /* Main background base */
    --color-dark: #f8f9fa;
    /* Secondary light background */
    --color-charcoal: #ffffff;
    /* Card background */
    --color-charcoal-light: #e0e0e0;
    /* Borders */
    --color-gold: #fecc1b;
    --color-gold-hover: #e1b213;
    --color-white: #1a1a1a;
    /* Dark text headings */
    --color-text: #333333;
    /* Main body text */
    --color-text-muted: #666666;
    /* Muted text */

    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 75%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-charcoal-light);
    border-radius: 5px;
    border: 2px solid var(--color-black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    /* Added page transitions class defaults */
    opacity: 1;
    transition: opacity 0.5s ease;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    position: relative;
}

main {
    flex: 1 0 auto;
    width: 100%;
    overflow-x: hidden;
}

.footer {
    flex-shrink: 0;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        width: 100%;
        max-width: 100vw;
    }
    
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        width: 100%;
        max-width: 100vw;
        min-height: 100vh;
    }
    
    main, .footer, .section {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

body.page-transitioning {
    opacity: 0;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-main);
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
        max-width: 100%;
    }
}

.section {
    padding: 6rem 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1.1rem 2.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #fecc1b 0%, #e1b213 100%);
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(254, 204, 27, 0.3);
    border: none;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fecc1b 0%, #e1b213 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 204, 27, 0.4);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

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

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal-light);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.logo img {
    height: 120px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 75px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

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

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

.nav-links a.active {
    color: var(--color-white);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.75rem;
    color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 9rem 0 4rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-content {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: -2;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(254, 204, 27, 0.15) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-bg::before {
        display: none;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background-image: url('../assets/LOGO/Liteup%20Logo%20Transparent.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-bg::after {
        width: 600px;
        height: 600px;
        right: -20%;
        opacity: 0.03;
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text);
    margin: 0 auto 2.5rem;
    max-width: 650px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

/* Highlight "Brand" and "Growth" in Bebas Neue text */
.hero-title .word:nth-child(4) .char,
.hero-title .word:nth-child(9) .char {
    color: var(--color-gold);
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-form-card {
    background-color: var(--color-dark);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.hero-form-card .form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-form-card .form-header h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 700;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
    gap: 1rem;
}

.form-success i {
    font-size: 4rem;
    color: #4cd964;
}

.form-success p {
    font-size: 1.1rem;
    color: var(--color-white);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-white);
}

/* Stats & Client Logos Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--color-black);
    border-bottom: 1px solid var(--color-charcoal-light);
}

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

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 500;
}

.trusted-by {
    margin-top: 3rem;
}

.trusted-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

/* Hero Stats Card - New Compact Design */
.hero-stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 550px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-box .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: #1a1a1a;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.15);
}

.trusted-section {
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.trusted-section .trusted-label {
    font-size: 0.75rem;
    color: #1a1a1a;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    font-weight: 600;
}

.trusted-section .trusted-label strong {
    color: #1a1a1a;
    font-weight: 700;
}

.client-logos-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.client-logos-compact img {
    height: 30px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logos-compact img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-stats-card {
        padding: 1rem 1.25rem;
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-box .stat-number {
        font-size: 1.75rem;
    }

    .stat-box .stat-label {
        font-size: 0.7rem;
    }

    .trusted-section {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .trusted-section .trusted-label {
        white-space: normal;
        font-size: 0.7rem;
    }

    .client-logos-compact {
        justify-content: center;
        gap: 0.75rem;
    }

    .client-logos-compact img {
        height: 24px;
        max-width: 50px;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stats-grid {
        gap: 2rem;
    }

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

    .stat-label {
        font-size: 1rem;
    }

    .client-logos {
        gap: 2rem;
    }

    .logo-item {
        width: 100px;
        height: 60px;
    }
}

/* Services Section */
.services {
    background-color: var(--color-dark);
}

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

.service-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(254, 204, 27, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-desc {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.service-link:hover {
    color: var(--color-gold-hover);
    gap: 0.75rem;
}

/* Our Work Section */
.work {
    background-color: var(--color-black);
    padding: 6rem 0;
}

/* About Us Section */
.about {
    background-color: var(--color-dark);
    padding: 6rem 0;
    overflow: hidden;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(254, 204, 27, 0.15);
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(254, 204, 27, 0.3);
    border: 3px solid var(--color-gold);
}

.team-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(254, 204, 27, 0.3);
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        overflow: hidden;
    }

    .team-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .team-placeholder {
        width: 100px;
        height: 100px;
        font-size: 4rem;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 0.95rem;
    }

    .team-title {
        font-size: 0.85rem;
    }

    .about {
        padding: 4rem 0;
        overflow: hidden;
    }
}

.work-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-charcoal-light);
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--color-gold);
    color: #0a0a0a;
    /* Text on gold */
    border-color: var(--color-gold);
}

.sub-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    min-height: 40px;
}

.sub-filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1px dashed var(--color-charcoal-light);
    font-size: 0.85rem;
}

.sub-filter-btn:hover,
.sub-filter-btn.active {
    color: var(--color-white);
    border-color: var(--color-white);
}

.work-carousel-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.work-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) var(--color-charcoal);
    flex-grow: 1;
}

.work-grid::-webkit-scrollbar {
    height: 6px;
}

.work-grid::-webkit-scrollbar-track {
    background: var(--color-charcoal);
    border-radius: 10px;
}

.work-grid::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
}

.work-item {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    background-color: var(--color-charcoal);
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.work-item.show {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 1024px) {
    .work-item {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .work-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 480px) {
    .work-item {
        flex: 0 0 100%;
    }
}

.work-item img,
.work-item video,
.work-item iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    background-color: var(--color-charcoal);
}

/* Fullscreen Video Fixes */
video:-webkit-full-screen {
    object-fit: contain !important;
}

video:-moz-full-screen {
    object-fit: contain !important;
}

video:fullscreen {
    object-fit: contain !important;
}

.work-grid[data-category="performance"] .work-item {
    flex: 0 0 calc(50% - 0.75rem);
    aspect-ratio: auto;
    background-color: transparent;
    box-shadow: none;
}

.work-grid[data-category="performance"] .work-item img {
    object-fit: contain;
    height: auto;
    max-height: 80vh;
}

@media (max-width: 768px) {
    .work-grid[data-category="performance"] .work-item {
        flex: 0 0 100%;
    }
}

.work-item:hover img,
.work-item:hover video {
    transform: scale(1.02);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid var(--color-charcoal-light);
}

.carousel-btn:hover {
    background-color: var(--color-gold);
    color: #0a0a0a;
    /* Text on gold */
    border-color: var(--color-gold);
}

/* Contact Us Section */
.contact {
    background-color: var(--color-gold);
    color: #0a0a0a;
    /* Text on gold */
    position: relative;
    overflow: hidden;
}

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

.contact-info {
    max-width: 500px;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0a0a0a;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper label {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-input {
    display: flex;
}

.phone-input select {
    width: auto;
    min-width: 100px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.phone-input input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Footer */
.footer {
    background-color: var(--color-black);
    padding-top: 5rem;
    border-top: 1px solid var(--color-charcoal-light);
    width: 100%;
    overflow-x: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.footer-logo {
    height: 120px;
    margin-bottom: 1.5rem;
    width: auto;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: #0a0a0a;
    /* Text on gold */
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    word-wrap: break-word;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    word-wrap: break-word;
}

.footer-contact i {
    color: var(--color-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-charcoal-light);
    background-color: var(--color-dark);
    width: 100%;
    margin: 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a:hover {
    color: var(--color-white);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .marquee-content span {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {

    /* --- Header & Navigation --- */
    .logo img {
        height: 70px;
    }

    .header.scrolled .logo img {
        height: 52px;
    }

    body {
        min-height: 100vh;
        height: auto;
    }

    main {
        width: 100%;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background-color: var(--color-dark);
        padding: 5rem 2rem 2rem;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-links li {
        border-bottom: 1px solid var(--color-charcoal-light);
        padding: 0.75rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 998;
    }

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

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        font-size: 1.6rem;
    }

    .nav-cta {
        display: none;
    }

    .btn-primary {
        white-space: nowrap;
    }

    /* --- Hero --- */
    .hero {
        padding: 9.5rem 0 4rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
        overflow: hidden;
        width: 100%;
    }

    .hero-container {
        width: 100%;
        padding: 0 1.5rem;
        position: relative;
        z-index: 1;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 4.2rem;
        letter-spacing: -0.02em;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
        line-height: 1.7;
        text-align: center;
        max-width: 100%;
        font-weight: 500;
    }

    .btn-primary {
        padding: 1.35rem 3.5rem;
        font-size: 1.35rem;
    }

    /* --- About Us --- */
    .about {
        padding: 3rem 0;
        overflow: hidden;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .team-grid {
        margin-top: 2rem;
        gap: 1.5rem;
        overflow: hidden;
    }

    .team-card {
        padding: 1.75rem 1.25rem;
        max-width: 100%;
    }

    /* --- Marquee --- */
    .marquee-content span {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .marquee-container {
        transform: rotate(-1.5deg);
        padding: 1rem 0;
        margin-bottom: 2.5rem;
    }

    /* --- Services --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

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

    /* --- Work / Tabs --- */
    .tabs {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .tab-btn {
        flex-shrink: 0;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
        width: 100%;
    }

    .carousel-btn {
        display: none;
    }

    .work-carousel-container {
        gap: 0;
    }

    .work-grid {
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .work-item {
        min-width: 280px;
        flex: 0 0 calc(100% - 2rem);
        scroll-snap-align: center;
        margin: 0 1rem;
        aspect-ratio: auto;
        max-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .work-item img,
    .work-item video,
    .work-item iframe {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
    }

    .work-grid[data-category="performance"] .work-item {
        flex: 0 0 calc(100% - 2rem);
        margin: 0 1rem;
        aspect-ratio: auto;
        max-height: none;
    }

    .work-grid[data-category="performance"] .work-item img {
        height: auto;
        max-height: none;
    }

    /* Add scroll indicator */
    .work-carousel-container::after {
        content: 'Swipe to see more →';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.85rem;
        color: var(--color-text-muted);
        pointer-events: none;
        animation: fadeInOut 2s ease-in-out infinite;
    }

    @keyframes fadeInOut {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }

    /* --- Contact --- */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* --- Section Padding --- */
    .section {
        padding: 3.5rem 0;
    }

    /* --- Footer --- */
    .footer {
        padding-top: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }

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

    .footer-logo {
        height: 80px;
        margin-bottom: 1rem;
    }

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

    .footer-col {
        width: 100%;
        text-align: center;
    }

    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li,
    .footer-contact li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        padding: 1.25rem 0;
    }

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

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

    /* --- Orbs (performance on mobile) --- */
    /* Moved to main orb section with media query */

    /* --- Modal --- */
    .modal-content {
        max-width: 96vw;
        margin: 0 auto;
    }

    .hero-form-card {
        padding: 2rem 1.25rem;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {

    /* Even smaller screens */
    .logo img {
        height: 58px;
    }

    .hero {
        padding: 7rem 0 3rem;
        min-height: 100vh;
        width: 100%;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.15;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: center;
        font-weight: 500;
    }

    .btn-primary {
        padding: 1rem 2.25rem;
        font-size: 1.05rem;
    }

    .section {
        padding: 3rem 0;
        width: 100%;
    }

    .contact-title {
        font-size: 1.7rem;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

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

    .marquee-content span {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .footer-logo {
        height: 65px;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-links li,
    .footer-contact li {
        font-size: 0.9rem;
    }

    .footer-container {
        margin-bottom: 2rem;
    }

    .footer-bottom {
        padding: 1rem 0 0 0;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* --- PREMIUM UI UPGRADES --- */

/* 1. Page Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo-pulse {
    width: 150px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out alternate;
}

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

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background-color: var(--color-charcoal-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.preloader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background-color: var(--color-gold);
    animation: progressLine 1.5s infinite ease-in-out;
    border-radius: 4px;
}

@keyframes progressLine {
    0% {
        left: -30%;
        width: 30%;
    }

    50% {
        width: 50%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}

/* 6. Magnetic Button Helper */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

/* 2. Floating Parallax Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #fecc1b;
    top: 10%;
    left: -10%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #fedb57;
    top: 40%;
    right: -5%;
    animation-delay: -3s;
    animation-duration: 14s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: rgba(254, 204, 27, 0.2);
    bottom: 5%;
    left: 20%;
    animation-delay: -7s;
    animation-duration: 18s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-50px) scale(1.1);
    }
}

@media (max-width: 768px) {
    .orb-1 {
        width: 180px;
        height: 180px;
        opacity: 0.25;
        left: -20%;
    }

    .orb-2 {
        width: 140px;
        height: 140px;
        opacity: 0.2;
        right: -15%;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
        opacity: 0.15;
        left: 10%;
    }
}

/* 3. Infinite Marquee */
.marquee-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-color: var(--color-gold);
    padding: 1.5rem 0;
    margin-bottom: 4rem;
    position: relative;
    border: none;
    transform: rotate(-2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    will-change: transform;
}

.marquee-content span {
    font-size: 3rem;
    font-weight: 800;
    color: #0a0a0a;
    padding: 0 2rem;
    text-transform: uppercase;
    font-family: var(--font-main);
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 4. Animated Typography (Staggered Reveal) */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealChar 0.4s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

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

/* 5. Lightbox for Images/Videos */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.work-item img,
.work-item video {
    cursor: pointer;
}