/* Custom styles for fonts and animations */
body {
    font-family: 'Satoshi', sans-serif;
    background-color: rgb(10, 10, 10);
    color: #FCFCFA;
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

/* Glass Effect for Header and Mobile Menu */
.glass-effect {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

/* Enhanced glass effect on hover/focus */
.glass-effect:hover {
    background: rgba(0, 0, 0, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Floating Footer Box */
.footer-box {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: -8px; /* Negative gap to make text hug the logo even more */
    padding: 0 18px 0 6px; /* Reduce left padding to 6px, keep right at 18px */
    height: 40px; /* Explicitly set height to 40px (was ~60px before) */
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 1; /* Changed from 0 to 1 to ensure visibility */
}

.footer-box:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%);
    object-fit: contain;
}

.footer-text {
    font-size: 12px;
    font-weight: 500;
    color: rgb(34, 34, 34);
    white-space: nowrap;
    padding-right: 0;
    padding-left: 4px;
}

html {
    scroll-behavior: smooth;
}

.font-instrument-serif {
    font-family: 'Instrument Serif', serif;
}

/* Enhanced Red Colors - More Saturated */
.text-blue-500 {
    color: #0013E3 !important; /* Pure saturated blue */
}

.hover\:text-blue-500:hover {
    color: #0013E3 !important;
}

.bg-blue-600 {
    background-color: #0013E3 !important;
}

.hover\:bg-blue-700:hover {
    background-color: #0010B8 !important;
}

.border-blue-500 {
    border-color: #0013E3 !important;
}

.bg-blue-600\/90 {
    background-color: rgba(0, 19, 227, 0.9) !important;
}

/* Background Glow Effect - Red Theme */
.glow-container {
    position: absolute;
    bottom: 25px; /* Moved up by 25px from bottom */
    left: 50%;
    width: 950px; /* Further increased width to prevent cropping on sides */
    height: 400px; /* Slightly increased height for better top fade */
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* Enhanced radial mask with extra strong fade on top and bottom */
    mask-image: radial-gradient(ellipse at center 80%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse at center 80%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
    opacity: 0;
    animation: glowFadeIn 2s ease-out forwards;
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Mobile Glow Container Fix */
@media (max-width: 768px) {
    #hero {
        overflow: hidden;
    }
    
    .glow-container {
        width: 200vw;
        max-width: 200vw;
        height: 500px;
        bottom: 25px;
        left: -50vw;
        transform: none;
        animation: glowFadeInMobile 2.5s ease-out forwards;
        /* Enhanced fade for mobile */
        mask-image: radial-gradient(ellipse at center 80%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: radial-gradient(ellipse at center 80%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
    }
    
    @keyframes glowFadeInMobile {
        0% {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
        }
        50% {
            opacity: 0.6;
            transform: translateY(15px) scale(0.95);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    .glow-orb {
        width: 100%;
        height: 100%;
        filter: blur(60px);
    }
    
    .orb-1 {
        width: 120%;
        height: 120%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -40%);
        animation: rotate 15s linear infinite;
        opacity: 0.8;
    }
    
    .orb-2 {
        width: 100%;
        height: 100%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -45%);
        animation: rotate 12s linear infinite reverse;
        opacity: 0.9;
    }
    
    .orb-3 {
        width: 80%;
        height: 80%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: rotate 18s linear infinite;
        opacity: 0.7;
    }
    
    @keyframes rotate {
        from { transform: translate(-50%, var(--translateY, -50%)) rotate(0deg); }
        to { transform: translate(-50%, var(--translateY, -50%)) rotate(360deg); }
    }
}

.glow-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(80px); /* Increased blur for smoother fade on edges */
    /* Default transform moved to individual orbs */
    /* Ensure orbs are fully visible */
    will-change: transform;
    backface-visibility: hidden;
}

.orb-1 {
    background: conic-gradient(
        from 180deg at 50% 50%,
        #0013E3,
        #4D5AFF,
        #0010B8,
        #3344FF,
        #0013E3
    );
    --translateY: -40%;
    animation: rotate 20s linear infinite;
    opacity: 0.65; /* Reduced opacity for better fade */
    transform: translate(-50%, -40%); /* Shifted slightly upward */
}

.orb-2 {
    width: 80%;
    height: 80%;
    background: conic-gradient(
        from 90deg at 50% 50%,
        #3344FF,
        #0013E3,
        #0010B8,
        #3344FF
    );
    --translateY: -45%;
    animation: rotate 15s linear infinite reverse;
    opacity: 0.75; /* Slightly reduced opacity */
    transform: translate(-50%, -45%); /* Shifted more upward */
}

.orb-3 {
    width: 60%;
    height: 60%;
    background: conic-gradient(
        from 270deg at 50% 50%,
        #4D5AFF,
        #0013E3,
        #4D5AFF
    );
    --translateY: -50%;
    animation: rotate 25s linear infinite;
    mix-blend-mode: color-dodge;
    opacity: 0.7; /* Reduced opacity for better fade */
    transform: translate(-50%, -50%); /* Standard position */
}

@keyframes rotate {
    from { transform: translate(-50%, var(--translateY, -50%)) rotate(0deg); }
    to { transform: translate(-50%, var(--translateY, -50%)) rotate(360deg); }
}

/* Appear Animation */
.appear-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.appear-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Scroller Animation */
.logo-scroller-container {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.scroller-inner {
    display: flex;
    gap: 80px; /* Increased gap for bigger logos */
    animation: scroll-horizontal 40s linear infinite;
}

@keyframes scroll-horizontal {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 80px)); }
}

/* Testimonial Ticker */
.testimonial-ticker {
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker-col-1 { animation: scroll-vertical 40s linear infinite; }
.ticker-col-2 { animation: scroll-vertical-reverse 40s linear infinite; }
.ticker-col-3 { animation: scroll-vertical 35s linear infinite; }

@keyframes scroll-vertical {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}
@keyframes scroll-vertical-reverse {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 1rem;
}

/* Header Animation */
#main-nav {
    animation: headerSlideIn 1.5s ease-out forwards;
}

/* Desktop Header Glass Effect */
#main-nav .bg-black\/30 {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@keyframes headerSlideIn {
    0% {
    opacity: 0;
        transform: translate(-50%, -100%);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -20%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile Menu Icon Animation */
#mobile-menu-button {
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #ffffff;
}

#mobile-menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    color: #ffffff;
}

#mobile-menu-button svg {
    transition: all 0.3s ease;
    color: #ffffff;
    stroke: #ffffff;
}

.mobile-menu-open #mobile-menu-button svg {
    transform: rotate(90deg);
    opacity: 0.8;
    color: #ffffff;
    stroke: #ffffff;
}

#mobile-menu-button:not(.mobile-menu-open) svg {
    color: #ffffff;
    stroke: #ffffff;
    opacity: 1;
}

/* FAQ Section Styles */
.faq-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    margin: 0;
    color: rgb(252, 252, 250);
}

.faq-header .highlight {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #0013E3;
    letter-spacing: 0em;
}

.accordion-item {
    background-color: rgba(13, 13, 13, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
}

.accordion-header p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.5em;
    color: rgb(252, 252, 250);
}

.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-icon .icon-bar {
    position: absolute;
    background-color: rgb(252, 252, 250);
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.accordion-icon .horizontal {
    width: 2px;
    height: 100%;
    left: 9px;
    top: 0;
}

.accordion-icon .vertical {
    width: 100%;
    height: 2px;
    left: 0;
    top: 9px;
}

.accordion-item.active .vertical {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-content p {
    margin: 0;
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(153, 153, 153);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

/* CTA Section Styles */
.cta-section {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.cta-heading {
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    color: rgb(252, 252, 250);
    margin: 0;
}

.cta-heading .highlight {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #0013E3;
    letter-spacing: 0em;
}

.cta-subheading {
    color: rgb(227, 202, 202);
    margin: 0;
    font-size: 18px;
}

.cta-button-faq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #0013E3;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 10px -2px, rgba(0, 0, 0, 0.1) 0px 2px 2px -1px, rgba(0, 19, 227, 0.12) 0px 0px 0px 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-faq:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px -4px, rgba(0, 0, 0, 0.15) 0px 4px 4px -2px, rgba(0, 19, 227, 0.2) 0px 0px 0px 1px;
}

.cta-button-faq h6 {
    margin: 0;
}

.cta-button-faq svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Client Testimonials Carousel Styles */
/* Main container for the entire section */
.clients-section-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Content above the carousel */
.testimonials-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

/* "My Clients" tag with blurred background */
.clients-tag {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(13, 13, 13, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1em;
    letter-spacing: -0.02em;
}

/* Main heading */
.testimonials-heading {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(36px, 5vw, 60px); /* Responsive font size */
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    margin: 0;
    max-width: 800px;
}

/* Italicized part of the heading */
.testimonials-heading .highlight {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #0013E3;
    letter-spacing: 0em;
}

/* Subheading paragraph */
.testimonials-subheading {
    font-size: clamp(16px, 2.5vw, 20px); /* Responsive font size */
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    color: rgb(153, 153, 153);
    margin: 0;
    max-width: 600px;
}

/* Carousel styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    /* Fading effect on the right side */
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0 24px 10px 24px; /* Added horizontal padding for side spacing */
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    scroll-snap-type: x mandatory;
    align-items: stretch; /* Make items stretch to fill the container height */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.carousel-slide {
    flex: 0 0 clamp(280px, 80vw, 380px); /* Responsive slide width */
    scroll-snap-align: start;
    display: flex; /* Use flexbox to help child elements size correctly */
    flex-direction: column;
}

/* Individual testimonial card */
.testimonial-card {
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%; /* Ensure card takes full width of the slide */
    flex-grow: 1; /* Allow card to grow to fill the flex container (.carousel-slide) */
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #222; /* Add a background color for when images load */
}

.video-container img,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-quote {
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    color: rgb(153, 153, 153);
    margin: 0;
}

.client-info {
    margin-top: auto; /* Pushes client info to the bottom */
    padding-top: 16px; /* Add some space above the client info */
}

.client-name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    color: rgb(252, 252, 250);
    margin: 0;
}

.client-title {
    font-size: 12px;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    color: rgb(153, 153, 153);
    margin: 0;
}

/* Carousel navigation buttons */
.carousel-controls {
    display: none; /* Hidden by default, shown on larger screens */
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-button {
    pointer-events: all;
    border: none;
    background-color: #0013E3;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.carousel-button:hover {
    transform: scale(1.05);
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
}

/* Responsive styles for carousel */
@media (min-width: 768px) {
    .carousel-controls {
        display: flex;
    }
    .carousel-slide {
        flex: 0 0 clamp(280px, 40vw, 380px); /* Narrower slides on medium screens */
    }
}

@media (min-width: 1200px) {
    .carousel-controls {
        left: -60px;
        right: -60px;
    }
    .carousel-slide {
        flex: 0 0 380px; /* Fixed width on large screens */
    }
}

/* Mobile Header Responsiveness */
@media (max-width: 768px) {
    #main-nav {
        padding: 0 12px;
        max-width: 100vw;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    
    #main-nav .bg-black\/30 {
        padding: 8px 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    #main-nav a.text-xl {
        font-size: 16px;
        white-space: nowrap;
    }
    
    #mobile-menu {
        margin-top: 8px;
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    #mobile-menu a {
        padding: 12px 16px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #mobile-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    #mobile-menu a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    #mobile-menu-button {
        padding: 8px;
        margin-right: 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    #mobile-menu-button:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.35);
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    
    #mobile-menu-button svg {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile Hero Buttons */
    #buttons {
        flex-direction: row !important;
        gap: 16px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    #buttons a {
        flex: 1;
        min-width: 0;
        text-align: center;
        font-size: 14px;
        padding: 14px 20px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    
    /* Mobile Hero Section Spacing */
    #hero {
        padding-top: 120px !important;
    }
}

/* Mobile Testimonials Arrows */
@media (max-width: 768px) {
    .carousel-wrapper {
        position: relative;
    }
    
    .carousel-controls {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        position: absolute;
        top: 50%;
        left: -10px;
        right: -10px;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 10;
    }
    
    .carousel-button {
        pointer-events: all;
        width: 40px;
        height: 40px;
        background: rgba(0, 19, 227, 0.9);
        border: none;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 19, 227, 0.3);
    }
    
    .carousel-button:hover {
        background: rgba(0, 19, 227, 1);
        transform: scale(1.05);
    }
    
    .carousel-button:disabled {
        opacity: 0.5;
        cursor: default;
        transform: none;
    }
    
    .carousel-button img {
        width: 16px;
        height: 16px;
        filter: brightness(0) invert(1);
    }
}

/* Mobile Service Cards */
@media (max-width: 768px) {
    .service-card {
        padding: 40px 24px !important;
        min-height: 200px !important;
    }
    
    .card-title {
        font-size: 28px !important;
    }
    
    .card-description {
        font-size: 13px !important;
        max-width: 250px !important;
    }
}

/* Additional Mobile Header Fixes */
@media (max-width: 640px) {
    #main-nav {
        padding: 0 8px;
    }
    
    #main-nav .bg-black\/30 {
        padding: 6px 8px;
    }
    
    #main-nav a.text-xl {
        font-size: 14px;
    }
    
    #mobile-menu-button {
        padding: 4px;
    }
    
    #mobile-menu-button .w-6 {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 600px) {
  .footer-box {
    height: 28px;
    padding: 0 10px 0 3px;
  }
  .footer-logo {
    width: 22px;
    height: 22px;
  }
  .footer-text {
    font-size: 10px;
    padding-left: 2px;
  }
}