/* =========================================
   LOCAL FONTS
   ========================================= */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-color: #ffffff;
    --surface-color: #f7f7f7;
    --text-primary: #111111;
    --text-secondary: #6E7076;
    /* Kinsta Text Grey */
    --accent-color: #5333ed;
    /* Kinsta Purple */
    --accent-secondary: #2cd4d9;
    /* Kinsta Turquoise */
    --accent-hover: #3f22c9;
    /* Darker Purple */
    --border-color: #e0e0e0;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    /* bolder, more geometric */

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 120px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.display-text {
    font-size: clamp(3rem, 10vw, 8rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Scroll Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   3. UTILITIES
   ========================================= */
/* Mobile Break Utility */
.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(83, 51, 237, 0.2);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: #000;
}

.btn-outline:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* =========================================
   4. HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: transform 0.3s ease-in-out, background 0.3s ease, padding 0.3s ease;
}

.header.hide-header {
    transform: translateY(-100%);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 50px;
    /* Resetting to a more standard height */
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}



.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    /* Changed from height to min-height to prevent overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
    padding-bottom: 40px;
    /* Add bottom padding */
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* Ensure it takes full width for carousel */
}

/* ... (Animations remain) ... */

/* =========================================
   6.5 LOGO CAROUSEL
   ========================================= */
.logo-carousel-section {
    padding: 20px 0 0;
    /* Reduced padding top */
    background: transparent;
    /* Remove background to blend with hero */
    border-bottom: none;
    /* Remove border */
    overflow: hidden;
    position: relative;
    margin-top: 60px;
    /* Spacing from CTA */
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    /* Add fade in animation */
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    margin-bottom: 30px;
    line-height: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-cta {
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Background Effects */
.hero-bg-glow {
    /* Animations removed */
    display: none;
}

/* Hero Background Carousel */
.hero-bg-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: bgSlide 14s infinite;
}

.hero-bg-slide:nth-child(1) {
    animation-delay: 0s;
    background-image: url('assets/hero/hero-1.webp');
}

.hero-bg-slide:nth-child(2) {
    animation-delay: 3.5s;
    background-image: url('assets/hero/hero-2.webp');
}

.hero-bg-slide:nth-child(3) {
    animation-delay: 7s;
    background-image: url('assets/hero/hero-3.webp');
}

.hero-bg-slide:nth-child(4) {
    animation-delay: 10.5s;
    background-image: url('assets/hero/hero-4.webp');
}

@keyframes bgSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 0.2;
    }

    /* Max opacity 20% */
    20% {
        opacity: 0.2;
    }

    25% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.text-shine {
    background: linear-gradient(to right, var(--accent-color) 20%, var(--accent-secondary) 50%, var(--accent-color) 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shine 3s linear infinite;
}

/* White shine for the "Think" part if needed */
.text-shine-white {
    background: linear-gradient(to right, #000 20%, #444 50%, #000 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shine 3s linear infinite;
}

/* =========================================
   6. RESPONSIVE
   ========================================= */
/* =========================================
   11. MOBILE MENU & RESPONSIVE
   ========================================= */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    /* Flex but hidden initially via opacity/visibility */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    position: relative;
    width: 100%;
}

.close-menu {
    position: absolute;
    top: -50px;
    right: 30px;
    font-size: 3rem;
    cursor: pointer;
    color: #000;
    transition: color 0.3s;
}

.close-menu:hover {
    color: var(--accent-color);
}

.mobile-nav-links li {
    margin: 30px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for links */
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.mobile-nav-links a:hover {
    color: var(--accent-color);
}

/* Tablet & Mobile Adjustments */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .display-text {
        font-size: 5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    /* Portfolio Tablet Fix */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
        /* Ensure visible over header if needed, but overlay is z-2000 */
    }

    .display-text {
        font-size: 3.5rem;
        /* Smaller for mobile */
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-split {
        gap: 30px;
    }

    .footer-grid {
        gap: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Portfolio Mobile Fix */
    .portfolio-grid {
        grid-template-columns: 1fr;
        /* Force 1 column on mobile */
        gap: 20px;
    }

    .portfolio-item {
        height: 300px;
        /* Slightly smaller height */
    }

    /* Always show overlay on mobile */
    .portfolio-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, transparent);
    }

    .portfolio-img {
        opacity: 1;
        /* Reset opacity */
    }
}

@media (max-width: 480px) {
    .display-text {
        font-size: 2.8rem;
    }

    .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
    }

    .footer-links li {
        font-size: 0.9rem;
    }
}

/* =========================================
   6.5 LOGO CAROUSEL moved to Hero Section styles
   ========================================= */

.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

/* Gradient Masks for fading edges */
.logo-carousel-container::before,
.logo-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.logo-track {
    display: inline-flex;
    align-items: center;
    gap: 80px;
    animation: scroll 30s linear infinite;
    padding-left: 80px;
    /* Initial offset matching gap */
}

.logo-track:hover {
    animation-play-state: paused;
}

.client-logo {
    font-size: 3rem;
    color: #444;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 1;
}

.client-logo img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 1;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.client-logo:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move by half since we duplicate content */
}

/* =========================================
   7. SERVICES SECTION
   ========================================= */
.section-padding {
    padding: var(--section-spacing) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    color: inherit;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(83, 51, 237, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(83, 51, 237, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    /* Prevent blocking clicks */
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
    /* Fallback */
}

.icon-gradient {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========================================
   12. CONTACT PAGE COMPONENTS
   ========================================= */
.contact-hero {
    padding-top: 180px;
    /* More space for fixed header */
    padding-bottom: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-areas: "intro form";
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
    align-items: flex-start;
}

.contact-intro {
    grid-area: intro;
    margin-bottom: 0;
}

/* Contact Details styles removed */

.contact-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .contact-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .contact-wrapper {
        grid-template-areas:
            "intro"
            "form";
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-title {
        font-size: 2.5rem;
        /* Smaller title on tablet */
    }

    .contact-intro {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding-top: 100px;
    }

    .contact-title {
        font-size: 2.2rem;
        /* Even smaller on mobile */
    }

    .contact-form-container {
        padding: 25px;
        /* Reduce form padding on mobile */
    }
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* =========================================
   13. THANK YOU PAGE
   ========================================= */
.thank-you-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    /* Behind content but above base bg */
    pointer-events: none;
}

.thank-you-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    animation: floatBlob 10s infinite alternate ease-in-out;
}

.blob-1 {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-form-container {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(83, 51, 237, 0.05);
    background: #ffffff;
}

/* =========================================
   8. PORTFOLIO SECTION
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Reduced from 400px for better responsiveness */
    gap: 20px;
}

.portfolio-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    background: #222;
    /* Placeholder bg */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0.7;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    color: #fff;
}

.portfolio-overlay h3 {
    color: #fff;
    margin: 0;
}

.portfolio-overlay .work-cat {
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

.portfolio-item {
    cursor: pointer;
}

/* =========================================
   15. LIGHTBOX
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    /* Super high z-index */
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}

.lightbox-caption {
    margin-top: 30px;
    text-align: center;
    padding: 0 20px;
}

.lightbox-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #fff;
}

.lightbox-caption p {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.work-cat {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 5px;
    display: block;
}

/* =========================================
   9. ABOUT / TEXT SECTION
   ========================================= */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-split {
        grid-template-columns: 1fr;
    }
}

.lead-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background: #f7f7f7;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-col:last-child {
        grid-column: span 2;
    }
}

/* =========================================
   14. TEAM / MANAGEMENT SECTION
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(83, 51, 237, 0.1);
}

.team-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.team-role {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    color: var(--text-secondary);
    font-size: 1rem;
}

.team-social a:hover {
    color: var(--accent-color);
}


/* Localized Pages Helpers */
.localized-hero {
    min-height: 60vh;
    padding-top: 150px;
}

@media (max-width: 768px) {
    .localized-hero {
        padding-top: 100px;
        min-height: 50vh;
    }

    .reverse-mobile {
        display: flex !important;
        flex-direction: column-reverse;
    }
}