@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@600;700;800&display=swap');

:root {
    --brand-red: #990000;
    --brand-red-dark: #7a0000;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --font-stack: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --heading-stack: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    
    /* Fluid spacing variables */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-stack); color: var(--text-main); line-height: 1.6; font-size: 16px; background: var(--bg-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-red); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--brand-red-dark); text-decoration: underline; }

/* Bold, Popping Typography - Poppins */
h1, h2, h3, h4 { font-family: var(--heading-stack); margin-bottom: 1rem; font-weight: 700; line-height: 1.2; color: #1a1a1a; letter-spacing: -0.5px; }
h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
p, ul { margin-bottom: 1.25rem; }
.lead { font-size: 1.25rem; color: #444; max-width: 800px; margin: 0 auto; font-weight: 500; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--spacing-sm); }
.section { padding: var(--spacing-lg) 0; }
.bg-light { background-color: var(--bg-light); padding: var(--spacing-lg) 0; }
.bg-gradient { background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); padding: var(--spacing-lg) 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: var(--spacing-md); }
.mb-3 { margin-bottom: 3rem; }
.p-4 { padding: 2rem; }
.rounded-box { border-radius: 12px; }
.overflow-hidden { overflow: hidden; }

/* Enhanced Typography & Callouts */
.highlight-contact { font-size: 1.35rem; color: var(--brand-red); margin-top: 1.5rem; }
.highlight-text { font-size: 1.15rem; font-weight: 600; color: var(--brand-red); }
.title-accent { font-weight: 600; color: var(--brand-red); text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.5px; }
.badge { display: inline-block; background: var(--brand-red); color: white; padding: 0.4rem 1.2rem; border-radius: 50px; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; box-shadow: 0 4px 10px rgba(153,0,0,0.3); }

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg-white); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.top-bar { background: #fbfbfb; border-bottom: 1px solid #eaeaea; font-size: 0.85rem; color: #555; }
.top-bar-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 40px; }
.top-bar-contact { display: flex; align-items: center; gap: 1.25rem; }
.top-phone { font-weight: 600; color: #777; }
.top-nav { display: flex; align-items: center; gap: 1rem; }
.top-nav a { color: #555; text-decoration: none; transition: color 0.2s; font-weight: 600; }
.top-nav a:hover { color: var(--brand-red); text-decoration: none; }
.separator { color: #ddd; font-size: 1rem; }
.top-socials { display: flex; align-items: center; gap: 1rem; margin-left: 0.25rem; border-left: 1px solid #ddd; padding-left: 1.25rem; }
.top-socials a { color: #777; display: flex; align-items: center; transition: color 0.2s; transform: scale(1); }
.top-socials a:hover { color: var(--brand-red); transform: scale(1.15); text-decoration: none; }

.main-header { background: var(--bg-white); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 88px; }
.logo img { max-height: 83px; width: auto; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.logo:hover img { transform: scale(1.03); }
.menu-toggle { display: none; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-main); padding: 0.5rem; transition: color 0.3s; }
.menu-toggle:hover { color: var(--brand-red); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 1.5rem; margin: 0; height: 88px; }
.main-nav li { height: 100%; display: flex; align-items: center; }
.main-nav a { color: var(--text-main); font-weight: 600; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.5px; height: 100%; display: flex; align-items: center; border-bottom: 3px solid transparent; padding: 0 0.25rem; transition: color 0.3s ease, border-color 0.3s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-red); text-decoration: none; border-bottom: 3px solid var(--brand-red); }

/* Buttons */
.btn { 
    display: inline-flex; justify-content: center; align-items: center; padding: 0.85rem 1.75rem; 
    font-weight: 600; text-align: center; cursor: pointer; border: 2px solid transparent; 
    border-radius: 6px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    font-size: 1rem; text-decoration: none !important; position: relative; overflow: hidden; z-index: 1;
}
.btn::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.1); transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: -1;
}
.btn:hover::after { transform: translateY(0); }
.btn-primary, .btn-quote { background-color: var(--brand-red); color: #fff; box-shadow: 0 4px 10px rgba(153, 0, 0, 0.2); }
.btn-primary:hover, .btn-quote:hover { background-color: var(--brand-red-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 15px rgba(153, 0, 0, 0.3); }
.btn-outline { background: transparent; border-color: var(--brand-red); color: var(--brand-red); }
.btn-outline:hover { background: var(--brand-red); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; margin-right: 0.5rem; }

/* 2-Column Hero Section */
.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; padding: var(--spacing-lg) 0; }
.hero-background { 
    position: absolute; 
    inset: 0; 
    background-image: linear-gradient(to bottom, rgba(204, 242, 255, 0.65) 0%, rgba(255, 255, 255, 1) 100%), url('bg-cubes.jpg') !important; 
    background-position: center !important; 
    background-size: cover !important; 
    transform: scale(1.03); 
}
.hero-content { position: relative; z-index: 10; display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; width: 100%; }

/* Clustered Hero Images */
.hero-visuals { display: flex; justify-content: center; align-items: flex-end; height: 500px; position: relative; gap: 0.25rem; }
.hero-img { 
    position: relative;
    object-fit: contain; max-height: 100%; 
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25)); 
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.hero-img:hover { transform: translateY(-15px) scale(1.08) !important; animation-play-state: paused; z-index: 20 !important; }

.img-1 { height: 60%; margin-right: -5%; z-index: 1; }
.img-2 { height: 80%; margin-right: -5%; z-index: 2; }
.img-3 { height: 100%; z-index: 4; margin-right: -5%; }
.img-4 { height: 75%; z-index: 3; }

.hero-text { text-align: left; }
.hero-text h1 { margin-bottom: 1.5rem; text-shadow: none; line-height: 1.05; }
.hero-text .lead { margin: 0 0 2rem 0; color: #444; }
.hero-actions { display: flex; gap: 1rem; }

/* Continuous Floating Animations for Hero Coolers */
@media (prefers-reduced-motion: no-preference) {
    .hero-img { animation: float 6s ease-in-out infinite; }
    .hero-img.img-1 { animation-delay: 0s; }
    .hero-img.img-2 { animation-delay: 1.2s; }
    .hero-img.img-3 { animation-delay: 2.4s; }
    .hero-img.img-4 { animation-delay: 0.6s; }
    
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
        100% { transform: translateY(0px); }
    }
}

/* Subpage Headers */
.page-title { 
    background-image: linear-gradient(to bottom, rgba(204, 242, 255, 0.65) 0%, rgba(255, 255, 255, 1) 100%), url('bg-cubes.jpg') !important; 
    background-position: center !important; 
    background-size: cover !important; 
    padding: var(--spacing-lg) 0; 
    text-shadow: none;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Grids & Cards */
.intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--spacing-lg); align-items: center; }
.intro-text h2 { line-height: 1.1; padding-top: 1.5rem; }
.intro-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid, .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--spacing-md); }
.grid-half { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
.grid-with-sidebar { display: grid; grid-template-columns: 2fr 1fr; gap: var(--spacing-lg); }
.three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }

.card, .feature-card, .team-card { background: var(--bg-white); padding: 2rem; border: 1px solid #eaeaea; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-color: #ddd; }
.highlight-card { border-top: 5px solid var(--brand-red); }

/* Partners Layout */
.grid-layout-partners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); align-items: start; }
.partner-intro { padding: 2.5rem; }
.partner-callout { background: #f4fafd; padding: 1.5rem; border-left: 4px solid var(--brand-red); border-radius: 6px; transition: transform 0.3s ease; }
.partner-callout:hover { transform: translateX(5px); }
.partner-logos-container { display: flex; flex-direction: column; gap: 1rem; }
.partner-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 2rem; text-align: center; }
.partner-card a { color: var(--text-main); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-weight: 600; transition: transform 0.3s ease; }
.partner-card a:hover { color: var(--brand-red); transform: scale(1.05); text-decoration: none; }
.primary-partner { padding: 3rem; border: 2px solid #eee; }
.partner-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.partner-grid-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.partner-logo-lg { max-height: 140px; object-fit: contain; }
.partner-logo-md { max-height: 90px; object-fit: contain; }
.partner-logo-sm { max-height: 60px; object-fit: contain; }

/* Dynamic Scrolling Marquee Gallery (Main Page) */
.dynamic-marquee { width: 100%; overflow: hidden; position: relative; padding: 2rem 0; }
.dynamic-marquee::before, .dynamic-marquee::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.dynamic-marquee::before { left: 0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.dynamic-marquee::after { right: 0; background: linear-gradient(to left, #fff 0%, transparent 100%); }

.marquee-track { display: flex; width: calc(280px * 12 + 2rem * 12); animation: scrollMarquee 35s linear infinite; gap: 2rem; }
.marquee-track:hover { animation-play-state: paused; }

@keyframes scrollMarquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(calc(-280px * 6 - 2rem * 6)); } 
}

/* FIX: Safe button layouts for Safari so images never clip */
.marquee-track .gallery-item {
    display: block; 
    appearance: none;
    -webkit-appearance: none;
    width: 280px; 
    height: 350px; 
    flex-shrink: 0; 
    padding: 1.5rem; 
    background: #fff;
    border-radius: 12px; 
    border: 1px solid #eaeaea; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.marquee-track .gallery-item img { 
    max-width: 100%; 
    max-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain !important; 
    object-position: center center !important;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); 
    transition: transform 0.4s ease; 
}
.marquee-track .gallery-item:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); z-index: 10; border-color: #ccc; }
.marquee-track .gallery-item:hover img { transform: scale(1.05); }

/* Static Lightbox Galleries (Products & Customizing Pages) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.gallery-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.gallery-item { 
    display: block; 
    appearance: none;
    -webkit-appearance: none;
    width: 100%; 
    height: 350px; 
    border: 1px solid #eaeaea; 
    background: #fff; 
    padding: 1.5rem; 
    cursor: pointer; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.gallery-item:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.gallery-item img { 
    max-width: 100%; 
    max-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain !important; 
    object-position: center center !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.5s ease; 
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-label { font-family: var(--heading-stack); font-weight: 400; color: var(--brand-red); font-size: 1.35rem; text-align: center; letter-spacing: 1px; }

/* FIX: Mini Carousels Logic & Centering (Customizing Page) */
.mini-carousel { position: relative; width: 100%; overflow: hidden; background: transparent; padding: 0; margin-bottom: 1.5rem; border-radius: 8px; }
.mini-carousel-track-wrapper { overflow: hidden; width: 100%; }
.mini-carousel-track { display: flex; width: 100%; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); align-items: stretch; }
.mini-carousel-slide { 
    flex: 0 0 100%; 
    max-width: 100%;
    width: 100%;
    height: 350px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    padding: 0; 
    margin: 0;
}
.mini-carousel-slide img { 
    max-width: 100%; 
    max-height: 100%; 
    width: auto;
    height: auto;
    object-fit: contain !important; 
    object-position: center center !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease; 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); 
}
.mini-carousel-slide:hover img { transform: scale(1.05); }
.mini-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85); color: #333; border: 1px solid #ddd; border-radius: 50%; width: 45px; height: 45px; font-size: 1.25rem; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.mini-carousel-btn.prev { left: 5px; }
.mini-carousel-btn.next { right: 5px; }
.mini-carousel-btn:hover { background: var(--brand-red); color: white; border-color: var(--brand-red); transform: translateY(-50%) scale(1.1); }

/* Video Embed */
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; border-radius: 12px; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.video-responsive:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.video-responsive iframe, .video-responsive video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.process-step { border-left: 4px solid var(--brand-red); padding-left: 1.5rem; background: var(--bg-white); padding-top: 1.5rem; padding-bottom: 1rem; padding-right: 1.5rem; border-radius: 0 12px 12px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.process-step:hover { transform: translateX(10px); border-color: var(--brand-red-dark); box-shadow: 0 6px 15px rgba(0,0,0,0.08); }

/* Accordion */
.accordion-container { max-width:800px; margin: 0 auto; border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden; background: #fff; }
.accordion-item { border-bottom: 1px solid #eaeaea; width: 100%; }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger { width: 100%; text-align: left; padding: 1.5rem; background: transparent; border: none; font-size: 1.5rem; font-weight: 400; font-family: var(--heading-stack); color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s, color 0.3s; letter-spacing: 0.5px; text-transform: uppercase; }
.accordion-trigger:hover { background: #f9f9f9; color: var(--brand-red); padding-left: 1.75rem; }
.accordion-trigger[aria-expanded="true"] { background: var(--bg-light); border-bottom: 1px solid #eaeaea; color: var(--brand-red); }
.accordion-content { padding: 1.5rem; background: #fff; display: none; }
.accordion-content[hidden] { display: none; }
.accordion-content:not([hidden]) { display: block; animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } }

/* Forms */
.contact-form { padding: 0.5rem; }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #444; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 2px solid #eaeaea; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-red); box-shadow: 0 0 0 4px rgba(153,0,0,0.1); }

/* Standard Modal */
.modal { padding: 0; border: none; border-radius: 12px; margin: auto; max-width: 500px; width: 90%; background: #fff; box-shadow: 0 25px 60px rgba(0,0,0,0.4); opacity: 0; transform: scale(0.95) translateY(20px); transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal[open] { opacity: 1; transform: scale(1) translateY(0); }
.modal::backdrop { background: rgba(0,0,0,0.75); backdrop-filter: blur(5px); animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content { padding: 3rem 2.5rem; position: relative; }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2.5rem; cursor: pointer; color: #999; line-height: 1; transition: color 0.3s, transform 0.3s; }
.modal-close:hover { color: var(--brand-red); transform: rotate(90deg); }

/* Lightbox specific overrides - Completely Prevents Cutoffs & Explodes */
.lightbox-modal { 
    max-width: none !important; 
    max-height: none !important; 
    width: 100vw !important; 
    height: 100vh !important; 
    margin: 0 !important;
    background: rgba(0,0,0,0.92) !important; 
    border-radius: 0; 
    padding: 0; 
    border: none; 
    box-shadow: none; 
    transform: none !important; 
    overflow: hidden;
}
.lightbox-modal::backdrop { background: rgba(0,0,0,0.92); backdrop-filter: none; }
.lightbox-content { 
    padding: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100%; 
    width: 100%; 
    position: relative; 
}
.lightbox-content img { 
    max-width: 90vw !important; 
    max-height: 90vh !important; 
    width: auto !important; 
    height: auto !important; 
    object-fit: contain !important; 
    border-radius: 4px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); 
    display: block; 
    margin: auto; 
    /* Explosive bounce animation */
    animation: explodeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
}
@keyframes explodeIn { 
    0% { opacity: 0; transform: scale(0.1) translateY(100px); } 
    60% { opacity: 1; transform: scale(1.05) translateY(-10px); } 
    100% { opacity: 1; transform: scale(1) translateY(0); } 
}

/* Lightbox Navigation Buttons */
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.4); width: 65px; height: 65px; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 2rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); backdrop-filter: blur(4px); }
.lightbox-nav:hover { background: var(--brand-red); border-color: var(--brand-red); transform: translateY(-50%) scale(1.15); box-shadow: 0 0 20px rgba(153,0,0,0.5); }
#lightbox-prev { left: 3vw; }
#lightbox-next { right: 3vw; }
.lightbox-modal .modal-close { color: #fff; top: 25px; right: 35px; font-size: 4rem; text-shadow: 0 2px 8px rgba(0,0,0,0.8); z-index: 20; transform: none; }
.lightbox-modal .modal-close:hover { color: var(--brand-red); transform: scale(1.1) rotate(90deg); }

/* Sidebar */
.sidebar-title { border-bottom: 3px solid var(--brand-red); padding-bottom: 0.75rem; margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: #151515; color: #bbb; padding-top: var(--spacing-lg); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }
.footer-logo { margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(0.9); transition: opacity 0.3s; }
.footer-logo:hover { opacity: 1; }
.footer-col h4 { color: #fff; margin-bottom: 1.25rem; font-size: 1.25rem; letter-spacing: 1px; border-bottom: 1px solid #333; padding-bottom: 0.5rem; display: inline-block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a { color: #aaa; transition: color 0.3s, padding-left 0.3s; }
.footer-col ul a:hover { color: #fff; text-decoration: none; padding-left: 5px; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { display: inline-block; padding: 0.5rem 0; }
.footer-bottom { background: #0a0a0a; padding: 1.5rem 0; text-align: center; font-size: 0.9rem; color: #777; }

/* =========================================
   RESPONSIVE DESIGN (MOBILE/TABLET)
   ========================================= */

@media (max-width: 992px) {
    .grid-with-sidebar { grid-template-columns: 1fr; }
    .grid-layout-partners { grid-template-columns: 1fr; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-visuals { order: 2; height: 350px; }
    .hero-text { order: 1; text-align: center; }
    .hero-actions { justify-content: center; }
    .intro-grid { grid-template-columns: 1fr; }
    .three-col-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.35rem; }
    .lead { font-size: 1rem; }

    .container { padding: 0 1.5rem; }

    .desktop-only { display: none; }
    .header-inner { min-height: 70px; }
    .logo img { max-height: 60px; }
    .menu-toggle { display: block; }
    
    .main-nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #fff; 
        border-bottom: 1px solid #ddd; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        padding: 1.5rem; 
    }
    .main-nav.active { display: block; animation: slideDown 0.3s ease; }
    .main-nav ul { flex-direction: column; gap: 1rem; align-items: flex-start; height: auto; }
    .main-nav li { width: 100%; }
    .main-nav a { 
        font-size: 1.1rem; 
        width: 100%; 
        display: block; 
        border-bottom: none !important; 
        padding: 0.5rem 0; 
        border-radius: 4px;
    }
    .main-nav a:hover, .main-nav a[aria-current="page"] { 
        background-color: var(--bg-light); 
        padding-left: 0.75rem;
        color: var(--brand-red);
    }

    .btn, .btn-quote { width: 100%; display: block; margin-top: 0.5rem; padding: 1rem; }
    .btn-sm { width: auto; display: inline-block; padding: 0.6rem 1rem; margin-top: 0; }
    
    .grid-half { grid-template-columns: 1fr; gap: var(--spacing-md); }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
    
    .gallery-item { height: 250px; padding: 1rem; }
    .marquee-track .gallery-item { height: 250px; width: 220px; flex: 0 0 220px; }
    .mini-carousel-slide { height: 250px; }
    
    .hero { min-height: 400px; padding: var(--spacing-md) 0; }
    .hero-text h1 { font-size: 2.25rem; padding: 0 1.5rem; }
    .page-title h1 { padding: 0 1.5rem; }
    .hero-actions { flex-direction: column; }

    .intro-features { grid-template-columns: 1fr; }
    .partner-grid-sm { grid-template-columns: repeat(2, 1fr); }
    .partner-intro { padding: 1.25rem; }
    .primary-partner { padding: 1.25rem; }

    .card, .feature-card, .team-card, .partner-card, .accordion-content { padding: 1.25rem; }
    .p-4 { padding: 1.5rem; }

    .modal-content { padding: 2rem 1.5rem; }
    .lightbox-nav { width: 50px; height: 50px; font-size: 1.5rem; }
    .lightbox-modal .modal-close { top: 15px; right: 20px; font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-visuals { height: 250px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .partner-grid-sm { grid-template-columns: 1fr; }
    .partner-grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 1.85rem; }
    .hero-text h1 { font-size: 1.75rem; }
    .page-title h1 { font-size: 1.75rem; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}