/* ==========================================================================
   AKSHAY COMPUTER HARDWARE (ACH) - CUSTOM MASTER STYLESHEET
   ========================================================================== */

/* Global Page Behavior */
html {
    scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   VIEWPORT SCROLL-REVEAL ANIMATIONS (INTEGRATED WITH JS OBSERVER)
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   CUSTOM SELECT DROPDOWN CHEVRON INDICATOR 
   (Safeguarded against Tailwind background utility conflicts)
   -------------------------------------------------------------------------- */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234b5563' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 1rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.25em 1.25em !important;
}

/* --------------------------------------------------------------------------
   HIGH-PERFORMANCE INFINITE MARQUEE LOOP ENGINE
   -------------------------------------------------------------------------- */
@keyframes marqueeInfiniteLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marqueeInfiniteLoop 30s linear infinite;
}

/* Pauses layout animation naturally on user interactive hover */
.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   PARTNER & BRAND LOGO LAYOUT ARCHITECTURE
   (Replaces master gap with item-level margins to eliminate layout jumps)
   -------------------------------------------------------------------------- */

/* Standardized responsive logo aesthetics */
.partner-logo-img,
.marquee-logo-img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    opacity: 1;
    margin-right: 4rem; /* Precise mathematical layout separator spacing */
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

/* Adjust sizes dynamically on medium/tablet devices and above */
@media (min-width: 640px) {
    .partner-logo-img {
        height: 2.5rem;
    }
    .marquee-logo-img {
        height: 2rem;
    }
}

/* Subtle Interactive Scaling Layer */
.partner-logo-img:hover,
.marquee-logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(242, 169, 0, 0.15)); /* Brand gold glow glow shadow */
}

/* Visual balancer classes for naturally large asset formats */
.logo-shrink {
    height: 1.2rem;
}

@media (min-width: 640px) {
    .logo-shrink {
        height: 1.6rem;
    }
}

/* --------------------------------------------------------------------------
   BACKDROP INTERACTION ENHANCEMENTS FOR MOBILE BROWSERS
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    #mobile-menu {
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
    }
}