/* --- CRITICAL CSS: Inline the following for above-the-fold content on homepage ---
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Marcellus', serif;
    background: #0a192f;
    color: #fff;
}
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.navbar {
    width: 100%;
    background: rgba(10,25,47,0.95);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
/* --- END CRITICAL CSS --- */
.blog-img img {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    vertical-align: top;
}

.bento-card .blog-img {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.bento-card .blog-content>*:first-child {
    margin-top: 0 !important;
}

@view-transition {
    navigation: auto;
}

.brand {
    view-transition-name: title;
}

::view-transition-group(*) {
    animation-duration: 0.5s;
}

/* Make select placeholder (disabled option) light for readability */
#contact-service option[disabled] {
    color: #bcbcbc !important;
}

/* Fix contact form select text color for all browsers */
#contact-service,
#contact-service option,
#contact-service optgroup {
    color: #222 !important;
    background: var(--glass-bg) !important;
}

@media (max-width: 768px) {
    .stat-card {
        display: none !important;
    }
}

.portfolio-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: 24px;
}

.portfolio-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

.portfolio-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.3) 60%, rgba(10, 25, 47, 0) 100%);
    border-radius: 24px;
    z-index: 2;
    pointer-events: none;
}

.bento-card.project-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-card .card-info {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

:root {
    --bg-primary: #0A192F;
    --bg-secondary: #0D1B36;
    --brand-blue: #1c299a;
    --brand-magenta: #9a2490;
    --accent-violet: var(--brand-magenta);
    --accent-lavender: #d175cc;
    --text-primary: #E2E8F0;
    --text-menu: #ffffff;
    --text-secondary: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Marcellus', serif;
    --font-body: 'Lato', sans-serif;
    --spacing-unit: 8px;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: radial-gradient(circle at 50% -10%, var(--brand-blue) 0%, var(--bg-primary) 60%, #020617 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: 1px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: white;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    /* Adjusted for longer headlines */
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 16px;
}

p {
    color: var(--text-primary);
    font-weight: 400;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-lavender);
    margin-bottom: 12px;
}

.padding {
    padding-top: 15px;
    padding-bottom: 15px;
}

.ol {
    padding-left: 20px;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--accent-violet);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    corner-shape: squircle;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.btn-primary::after {
    content: '\2192';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white !important;
    box-shadow:
        0 10px 20px -5px rgba(28, 41, 154, 0.4),
        0 0 15px rgba(154, 36, 144, 0.3);
}

.btn-primary:hover::after {
    transform: translateX(10px);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 12px 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    corner-shape: squircle;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-outline::after {
    content: '\2192';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-outline:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white !important;
    box-shadow:
        0 10px 20px -5px rgba(28, 41, 154, 0.4),
        0 0 15px rgba(154, 36, 144, 0.3);
}

.btn-outline:hover::after {
    transform: translateX(10px);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    backdrop-filter: none;
    /* Clear initially */
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled {
    top: 20px;
    left: 15%;
    right: 15%;
    width: 70%;
    padding: 6px 12px;
    background: rgba(13, 22, 38, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 1);
}

.navbar.scrolled .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar .container {
        padding-left: 5vw;
        padding-right: 5vw;
        position: relative;
    }

    .logo {
        margin-right: auto;
    }

    .hamburger {
        margin-left: 16px;
        margin-right: 0;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    /* Base height */
    width: auto;
    transition: height 0.5s var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 40px;
    /* Increased slightly for better visibility */
}

.dot {
    color: var(--accent-violet);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    transition: gap 0.5s var(--transition-smooth);
}

.navbar.scrolled .nav-links {
    gap: 30px;
}

.navbar.scrolled .btn-primary {
    padding: 8px 20px;
    font-size: 11px;
    border-radius: 100px;
    corner-shape: initial;
    /* Explicitly remove squircle */
}



/* Force menu item color to white on all screens */
.nav-links a:not(.btn-primary),
.navbar .nav-links a:not(.btn-primary),
.nav-links.active a:not(.btn-primary) {
    font-family: var(--font-heading);
    color: #fff !important;
    font-size: 17px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 1 !important;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
    color: var(--accent-violet);
    font-family: var(--font-heading);
    font-size: 17px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Slightly reduced for better text contrast */
    animation: zoomIn 20s infinite alternate linear;
}

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 25, 47, 0.2) 0%,
            rgba(10, 25, 47, 0.5) 50%,
            var(--bg-primary) 100%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    z-index: 1;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}


.hero-content h3 {
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hero-stats .stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.hero-stats .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-magenta);
    background: linear-gradient(135deg, rgba(154, 36, 144, 0.1), rgba(28, 41, 154, 0.1));
}

.hero-stats .stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* --- Animations --- */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.reveal-text {
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: 0.3s;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 0.7s;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Services (Bento Grid) --- */
.services {
    padding: 120px 0;
    background: transparent;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 24px;
}

.bento-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    corner-shape: squircle;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 240px;
}

.card-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s;
    z-index: 1;
}

.project-card .card-image-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.8) 0%, rgba(10, 25, 47, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.bento-card:hover .card-image-bg {
    transform: scale(1.1);
    opacity: 0.5;
}

.card-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(154, 36, 144, 0.8);
    box-shadow:
        0 20px 40px -10px rgba(28, 41, 154, 0.3),
        0 0 20px rgba(154, 36, 144, 0.2);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    z-index: 2;
}

.bento-card p {
    font-size: 0.95rem;
    z-index: 2;
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.medium {
    grid-column: span 2;
}

.bento-card.small {
    grid-column: span 1;
}

.bento-card.wide {
    grid-column: span 4;
}

/* Inner Glow Effect */
/* Inner Glow Effect */
.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(154, 36, 144, 0.15), rgba(28, 41, 154, 0.1) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.bento-card:hover .glow-effect,
.cta-container:hover .glow-effect {
    opacity: 1;
}

/* --- Portfolio --- */
.work {
    padding: 120px 0;
    background: transparent;
}

/* Fallback/Standard Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    cursor: pointer;
    position: relative;
    border: 1px solid var(--glass-border);
}

.project-card:hover {
    border-color: rgba(154, 36, 144, 0.4);
}


.card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: white;
}

.card-info span {
    color: var(--accent-violet);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 40px;
    height: 100%;
}

.testimonial-header {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.testimonial-logo {
    height: 85px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.stars {
    color: #FFD700;
    /* Gold/Yellow from image */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.testimonial-footer {
    width: 100%;
    margin-top: auto;
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.author-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dash {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 8px;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.author-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.author-company {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Blogs --- */
.blogs {
    padding: 120px 0;
    background: transparent;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-img {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    corner-shape: squircle;
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-link {
    margin-top: auto;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-lavender);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-link:hover {
    gap: 12px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 40px;
    corner-shape: squircle;
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.cta-section .btn-primary {
    padding: 18px 48px;
    font-size: 14px;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-magenta) 0%, var(--brand-blue) 40%, transparent 70%);
    filter: blur(120px);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.footer {
    padding: 80px 0 30px;
    background: transparent;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 40% 20% 20% 20%;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 32px;
    }

    .footer-main {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .footer-links {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-services {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-socials {
        display: none;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 40% 60%;
        grid-template-rows: auto auto;
        gap: 0 16px;
    }

    .footer-main {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .footer-links {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-services {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-socials {
        display: none;
    }
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-col h5 {
    font-family: var(--font-heading);
    color: white;
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
    color: var(--brand-magenta);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll to Top --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--brand-magenta);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--brand-magenta);
    box-shadow: 0 10px 20px rgba(154, 36, 144, 0.3);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 60px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 40px;
    }

    .navbar.scrolled {
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        border-radius: 0;
        padding: 12px 16px;
        background: rgba(10, 25, 47, 0.95);
        border-bottom: 1px solid var(--glass-border);
    }

    /* Hide desktop nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem !important;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: white;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Simplified mobile handling */
    .bento-grid {
        display: flex;
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Ensure hamburger is hidden on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/* --- Client Logos Carousel --- */
.logo-carousel-section {
    padding: 30px 0 50px;
    margin-top: -40px;
    background: transparent;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* --- Glass Move Up Animation --- */
.glass {
    transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
    will-change: transform;
}

.glass:hover,
.glass:focus {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(28, 41, 154, 0.10), 0 2px 8px rgba(154, 36, 144, 0.10);
    z-index: 2;
}

.logo-carousel-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 60px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(1) brightness(200%);
    transition: var(--transition-fast);
}

.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0) brightness(100%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-carousel-section {
        padding: 20px 0 30px;
        margin-top: -20px;
    }

    .logo-item {
        padding: 0 25px;
    }

    .logo-item img {
        height: 45px;
    }
}