body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: #000000;
}

.hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.animate-scroll {
    display: flex;
    width: 200%;
    animation: scroll 40s linear infinite;
}

.animate-scroll-vertical {
    display: flex;
    flex-direction: column;
    /* heightened container to allow smooth scrolling of duplicated list */
    animation: scroll-vertical 20s linear infinite;
}

::selection {
    background-color: #D30000;
    color: #FFFFFF;
}

/* Modern Premium Hero Styles */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #f8fafc;
    /* Light premium background */
    overflow: hidden;
}

/* Curved decorative background for desktop */
.hero-curve-bg {
    display: none;
}

@media (min-width: 1024px) {
    .hero-curve-bg {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: #f1f5f9;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
        z-index: 1;
    }
}

.hero-banner-overlay {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   PREMIUM IMMERSIVE HERO SECTION
   ========================================================================== */

.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    /* iPhone specific fix */
    overflow: hidden;
    background: #0f172a;
    z-index: 10;
}

.hero-banner .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.2s ease-in-out;
}

/* Gradient Overlay - Unified for Mobile & Desktop */
.hero-overlay-unified {
    position: absolute;
    inset: 0;
    /* Darkening for readability - slightly deeper on mobile */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content-unified {
    max-width: 800px;
    z-index: 25;
}

.hero-subtitle-new {
    color: #ffffff;
    background: rgba(211, 0, 0, 0.9);
    display: inline-block;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    border-radius: 4px;
}

.hero-title-new {
    color: #ffffff !important;
    font-size: clamp(32px, 8vw, 76px) !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    margin-bottom: 28px !important;
    text-transform: uppercase;
}

.hero-title-new span {
    color: #ffffff;
    border-bottom: 12px solid #D30000;
    display: inline-block;
}

.hero-desc-new {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(14px, 2vw, 19px) !important;
    line-height: 1.6 !important;
    margin-bottom: 40px !important;
    max-width: 650px !important;
}

.hero-btns-new {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Button Refinements */
.hero-btn-primary-new,
.hero-btn-outline-new {
    padding: 18px 36px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
}

.hero-btn-primary-new {
    background: #D30000;
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(211, 0, 0, 0.4);
}

.hero-btn-primary-new:hover {
    background: #b00000;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(211, 0, 0, 0.5);
}

.hero-btn-outline-new {
    background: #ffffff;
    color: #0f172a;
    border: none;
}

/* ============================================
   Mobile Navigation Drawer Refinements
   ============================================ */
@media (max-width: 768px) {
    /* Primary links inside mobile menu overlay */
    #mobile-menu a {
        font-size: 16px !important;
        font-weight: 700;
        padding: 10px 15px;
        line-height: 1.3;
    }

    /* Ensure each item has subtle divider for readability */
    #mobile-menu .nav-divider,
    #mobile-menu .menu-item {
        border-bottom: 1px solid #eee;
    }

    /* Submenu links (Company / Solutions) */
    #mobile-menu .mobile-submenu-btn,
    #mobile-menu .submenu a {
        font-size: 14px !important;
        padding-left: 20px;
    }

    /* Chevron alignment */
    #mobile-menu i[data-lucide="chevron-down"],
    #mobile-menu i[data-lucide="chevron-right"] {
        width: 18px;
        height: 18px;
    }

    /* Drawer side padding */
    #mobile-menu > div {
        padding-left: 70px;
        padding-right: 70px;
    }
}

.hero-btn-outline-new:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
}

/* Navigation Controls */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-nav-btn:hover {
    background: #D30000;
    border-color: #D30000;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-btn.prev {
    left: 30px;
}

.hero-nav-btn.next {
    right: 30px;
}

/* Mobile Specific Tweaks */
@media (max-width: 1023px) {
    .hero-banner {
        padding-top: 100px;
    }

    .hero-overlay-unified {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
        padding: 0 24px;
        align-items: flex-end;
        padding-bottom: 120px;
    }

    .hero-content-unified {
        text-align: left;
    }

    .hero-btns-new {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn-primary-new,
    .hero-btn-outline-new {
        width: 100%;
    }
}

.hero-banner-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-banner-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-banner-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-btn-primary {
    background: #d40000;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-btn-outline {
    border: 2px solid;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-banner-title {
        font-size: 56px;
    }

    .hero-banner-buttons {
        flex-direction: row;
    }

    .hero-banner-description {
        font-size: 18px;
    }
}

body.modal-open{overflow:hidden}
#galleryModal{background:rgba(0,0,0,0.7) !important}
#certModal{background:transparent !important}
#modalBackdrop{background:rgba(0,0,0,0.9) !important}
#backdropClose,
#backdropClose:hover,
#backdropClose:active,
#backdropClose:focus{
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    -webkit-tap-highlight-color: transparent !important;
}
#closeGallery,
#closeGallery:hover,
#closeGallery:active,
#closeGallery:focus{
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    -webkit-tap-highlight-color: transparent !important;
}
#certModal button,
#certModal button:hover,
#certModal button:active,
#certModal button:focus{
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.legal-content h2{
    font-weight:900;
    font-size:24px;
    text-transform:uppercase;
    letter-spacing:-0.02em;
    margin:28px 0 12px;
    color:#000;
}
.legal-content h2:first-child{margin-top:0}
.legal-content p{
    color:#334155;
    line-height:1.8;
    margin:0 0 12px;
}
.legal-content ul{
    margin:0 0 12px;
    padding-left:20px;
    color:#334155;
    line-height:1.8;
    list-style:disc;
}
.legal-content li{margin:6px 0}
.legal-content a{font-weight:800}

#site-footer img.footer-logo{
    background:transparent !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

.office-map-btn:hover,
.office-map-btn:active,
.office-map-btn:focus{
    color:#fff !important;
    -webkit-tap-highlight-color: transparent !important;
}
