/* Global Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;700;800&display=swap');
@import './variables.css';

/* Utility Classes */
/* Utility Classes */
.container {
    max-width: 1280px;
    /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    /* Larger */
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--color-primary-navy);
}

.section-subtitle {
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    color: var(--color-secondary-orange);
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
    background: var(--bg-glass-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Utilities */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    /* Pill shape */
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary-navy);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-slate);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-blue));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition-normal);
}

.brand-nex {
    color: var(--color-primary-navy);
    font-size: 1.4em;
}

.brand-gen {
    color: var(--color-secondary-orange);
    font-size: 1.4em;
}

.brand-co {
    color: #000000;
    font-size: 0.75em;
    font-weight: 600;
}

.header.scrolled .logo-img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary-orange);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    /* Space for fixed header */
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-primary-navy);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Home Page Specific Sections */
#about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    /* Very light blue gradient */
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: var(--color-accent-blue);
    opacity: 0.03;
    filter: blur(60px);
    border-radius: 50%;
}

#our-story {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fffaf5 0%, #fff1e6 100%);
    /* Very light orange/cream gradient */
    border-top: 1px solid #fee2e2;
    position: relative;
    overflow: hidden;
}

#our-story::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--color-secondary-orange);
    opacity: 0.03;
    filter: blur(60px);
    border-radius: 50%;
}

/* Individual Service Sections */
.service-section-block {
    padding: 6rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.service-section-block .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-section-block.alt .container {
    direction: rtl;
    /* Flip order visually */
}

.service-section-block.alt .service-info {
    direction: ltr;
    /* Reset text direction */
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    /* Consistent height for grid */
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    position: relative;
}

.gallery-img-wrapper:hover {
    transform: scale(1.02);
}

.gallery-img-wrapper.large {
    grid-column: span 2;
    height: 300px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 0.5rem;
    font-size: 0.85rem;
    text-align: center;
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-img-wrapper:hover .img-caption {
    transform: translateY(0);
}

.service-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.service-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.service-info li ion-icon {
    color: var(--color-secondary-orange);
    font-size: 1.25rem;
}

/* Software Section (Dark Theme) */
.software-section {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.software-section .container {
    position: relative;
    z-index: 10;
}

.software-section .section-title {
    color: white;
    text-align: center;
}

.software-section .section-subtitle {
    color: var(--color-accent-cyan);
    text-align: center;
}

.software-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.tech-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.tech-card h4 {
    margin: 0 0 0.5rem 0;
    color: var(--color-accent-cyan);
}

.tech-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

/* Brand Slider Section */
.brand-slider-section {
    margin: 0 0 0.75rem 0;
    padding: 0.5rem 0;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.05), rgba(234, 88, 12, 0.05));
    border-radius: var(--radius-md);
    overflow: hidden;
}

.brand-slider-container {
    overflow: hidden;
    position: relative;
}

.brand-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.brand-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 45px;
    padding: 0.5rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary-navy);
    text-align: center;
}

.brand-item[style*="display: none"] {
    display: none !important;
}

/* Gallery Badge */
.gallery-img-wrapper {
    position: relative;
}

.gallery-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: none;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-inner {
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-caption {
    color: white;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-secondary);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-secondary-orange);
}

/* Lightbox Navigation - Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 2002;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.gallery-img-wrapper {
    cursor: pointer;
    /* Indicate clickable */
}


/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper .section-title,
.contact-wrapper .section-subtitle {
    text-align: center;
}


/* Footer */
.footer {
    background: var(--color-primary-navy);
    color: var(--text-light-muted);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.25rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.footer-logo .brand-nex,
.footer-logo .brand-gen,
.footer-logo .brand-co {
    color: white;
    font-size: 1em;
    /* Reset to normal size in footer */
    font-weight: 800;
    /* Match footer font weight */
    /* Keep name white in footer for better contrast on navy */
}

.footer-logo span {
    display: flex;
    gap: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        width: 100%;
        height: 250px;
        margin-bottom: 1rem;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-section-block .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-section-block.alt .container {
        direction: ltr;
        /* Normal order on mobile */
    }

    .software-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* TODO: Implement JS toggle */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Vision & Mission Card Animation */
.vision-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Brand Slider Animation */
.brand-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    /* Mask fade effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: #94a3b8;
    font-family: var(--font-secondary);
    white-space: nowrap;
    transition: color 0.3s ease;
    cursor: default;
}

.brand-item:hover {
    color: var(--color-primary-navy);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-visual {
    position: relative;
    /* Ensure visual container handles absolute badge */
}

/* Hero Slider */
.hero-slider {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
    max-width: 90%;
    /* Match original img styling */
}

.hero-slide {
    grid-area: stack;
    width: 100%;
    height: 500px;
    /* Force a "big" consistent height */
    object-fit: cover;
    /* Ensure image fills the area without distortion */
    border-radius: var(--radius-lg);
    opacity: 0;
    animation: heroFade 20s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-slide:nth-child(3) {
    animation-delay: 8s;
}

.hero-slide:nth-child(4) {
    animation-delay: 12s;
}

.hero-slide:nth-child(5) {
    animation-delay: 16s;
}

@keyframes heroFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary-orange);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-secondary-orange);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}


body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

/* Hide default cursor only on devices with pointer */
@media (pointer: fine) {
    /* body {
        cursor: none;
    } */
    /* Often better to keep default cursor as fallback or just hide it */
}

/* Hover State */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(249, 115, 22, 0.1);
    /* Orange transparent */
    border-color: transparent;
}

/* Smoke Particle */
.smoke-particle {
    position: fixed;
    pointer-events: none;
    background: radial-gradient(circle, rgba(150, 150, 150, 0.3) 0%, rgba(150, 150, 150, 0) 70%);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    z-index: 9998;
    /* Behind cursor */
    animation: smokeFade 1s forwards;
}

@keyframes smokeFade {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.5);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -80%) scale(2.5);
        /* Drift up and grow */
    }
}

/* Pause animation on hover */
.brand-slider:hover .brand-track {
    animation-play-state: paused;
}

/* Client Slider Animation */
.client-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    /* Mask fade effect */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.client-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 80s linear infinite;
    padding: 1rem 0;
    /* Space for shadows */
}

.client-slider:hover .client-track {
    animation-play-state: paused;
}

.client-card {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 200px;
    /* Fixed width for consistent slider */
    flex-shrink: 0;
}

   
/* ===================================
   LIGHTBOX MODAL STYLES
   =================================== */

/* Lightbox Modal Container */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

/* Lightbox Header */
.lightbox-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.lightbox-title {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.lightbox-counter-header {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.lightbox-close {
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    padding: 0 0.5rem;
    user-select: none;
}

.lightbox-close:hover {
    color: var(--color-secondary-orange);
    transform: rotate(90deg);
}

/* Lightbox Content */
.lightbox-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: auto;
    background: #ffffff;
}

.lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Image Badge Counter */
.lightbox-image-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(44, 62, 80, 0.9);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Lightbox Caption */
.lightbox-caption {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-primary-navy);
    text-align: center;
    font-weight: 600;
    font-family: var(--font-secondary);
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-nav:hover {
    background: var(--color-secondary-orange);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav ion-icon {
    font-size: 1.5rem;
    color: var(--color-primary-navy);
}

.lightbox-nav:hover ion-icon {
    color: #ffffff;
}

.lightbox-nav.prev {
    left: 2rem;
}

.lightbox-nav.next {
    right: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lightbox-header {
        padding: 1rem 1.5rem;
    }

    .lightbox-title {
        font-size: 1rem;
    }

    .lightbox-counter-header {
        font-size: 0.85rem;
    }

    .lightbox-close {
        font-size: 2rem;
    }

    .lightbox-content {
        padding: 1rem;
    }

    .lightbox-image-container {
        max-width: 95%;
        max-height: 60vh;
    }

    .lightbox-img {
        max-height: 60vh;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-nav.prev {
        left: 1rem;
    }

    .lightbox-nav.next {
        right: 1rem;
    }

    .lightbox-image-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .lightbox-caption {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
}

/* Brand Slider - Seamless Infinite Loop */
.brand-slider-section {
    overflow: hidden;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.brand-slider-container {
    width: 100%;
    overflow: hidden;
}

.brand-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 50px;
    padding: 0.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-navy);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .brand-item {
        min-width: 80px;
        height: 40px;
        padding: 0.25rem;
    }

    .brand-track {
        gap: 1rem;
    }
}

/* Footer Adjustments */
.footer {
    padding: 0.5rem 0 !important;
}

.footer p {
    font-size: 0.75rem;
    margin: 0 !important;
    line-height: 1.2;
}

.footer-logo {
    margin-bottom: 0.25rem !important;
    display: inline-block;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer div[style*="margin-top"] {
    margin-top: 0.25rem !important;
    padding-top: 0.25rem !important;
}

/* Animated Working Hours Popup */
.hours-container {
    display: inline-block;
    position: relative;
}

.hours-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-primary-navy);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hours-trigger:hover {
    transform: translateY(-2px);
    background: var(--color-secondary-orange);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hours-icon {
    font-size: 1rem;
}

.hours-icon.pulse {
    animation: pulse-icon 2s infinite ease-in-out;
}

.hours-popup {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    color: var(--color-primary-navy);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    width: max-content;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    pointer-events: none;
    line-height: 1.6;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.hours-trigger:hover .hours-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}