/* ==========================================================================
   Glide Energy Limited - Custom Polish & Design Enhancements
   Colors: Red (#D9232D) & Dark Blue (#0D2238 / #071524)
   ========================================================================== */

/* Root Variables */
:root {
    --glide-primary: #D9232D;
    --glide-primary-hover: #b81b24;
    --glide-navy: #0D2238;
    --glide-navy-dark: #071524;
    --glide-navy-light: #163654;
    --glide-slate: #f4f7fa;
    --glide-border: #e2e8f0;
}

/* Header & Logo styling */
.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0D2238 !important;
    border-bottom: 2px solid #D9232D !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    z-index: 99999 !important;
    transition: none !important;
}

.main-header.fixed-header {
    top: 0 !important;
    background: #0D2238 !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45) !important;
}

.main-header .logo img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
    transition: all 0.3s ease;
}

.sidenav-bar .logo img,
.footer-column .logo img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.main-header .nav-toggler span,
.main-header .nav-toggler span:before,
.main-header .nav-toggler span:after {
    background-color: #ffffff;
}

.main-header .nav-toggler:hover span,
.main-header .nav-toggler:hover span:before,
.main-header .nav-toggler:hover span:after {
    background-color: #D9232D;
}

.main-header .search-btn {
    color: #ffffff;
}

.main-header .search-btn:hover {
    color: #D9232D;
}

/* Top contact info bar if present */
.glide-top-bar {
    background: #071524;
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.glide-top-bar a {
    color: #cbd5e1;
    transition: color 0.3s;
}

.glide-top-bar a:hover {
    color: #D9232D;
}

.glide-top-bar .info-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.glide-top-bar .info-item i {
    color: #D9232D;
    margin-right: 6px;
}

/* Sidenav Bar & Dropdowns - Snapped to the RIGHT */
.sidenav-bar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    height: 100vh !important;
    max-height: 100vh !important;
    width: 380px !important;
    max-width: 88vw !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    background: #0D2238 !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.6) !important;
    scrollbar-width: thin;
    scrollbar-color: #D9232D rgba(255, 255, 255, 0.08);
    -webkit-transform-origin: right center !important;
    -ms-transform-origin: right center !important;
    transform-origin: right center !important;
    -webkit-transform: translateX(100%) !important;
    -ms-transform: translateX(100%) !important;
    transform: translateX(100%) !important;
    transition: transform 350ms cubic-bezier(0.25, 1, 0.5, 1), opacity 300ms ease, visibility 300ms ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.sidenav-bar-visible .sidenav-bar {
    -webkit-transform: translateX(0) !important;
    -ms-transform: translateX(0) !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    right: 0 !important;
    left: auto !important;
}

.sidenav-bar-visible header,
.sidenav-bar-visible main {
    width: 100% !important;
    transform: none !important;
}

.sidenav-bar::-webkit-scrollbar {
    width: 6px;
}

.sidenav-bar::-webkit-scrollbar-track {
    background: rgba(7, 21, 36, 0.7);
}

.sidenav-bar::-webkit-scrollbar-thumb {
    background: #D9232D;
    border-radius: 4px;
}

.sidenav-bar .nav-box {
    position: relative;
    width: 100%;
    min-height: 100%;
    background: #0D2238;
    padding: 15px 0 40px;
    box-sizing: border-box;
}

.sidenav-bar .inner-box {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}

.sidenav-bar .upper-box {
    position: relative;
    padding: 5px 15px;
    display: flex;
    justify-content: flex-end;
}

.sidenav-bar .close-btn {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    transform: none !important;
    cursor: pointer;
}

.sidenav-bar .close-btn:hover {
    background: #D9232D !important;
    color: #ffffff !important;
    transform: rotate(90deg) !important;
}

.sidenav-bar .side-nav {
    position: relative !important;
    margin-top: 10px !important;
    width: 100% !important;
}

.sidenav-bar .navigation {
    position: relative;
    display: block;
    margin: 0 15px !important;
    overflow: visible !important;
}

.sidenav-bar .navigation > li {
    margin-bottom: 6px !important;
}

.sidenav-bar .navigation > li > a {
    font-weight: 700;
    font-size: 15px !important;
    letter-spacing: 0.5px;
    padding: 12px 18px !important;
    background: rgba(7, 21, 36, 0.6) !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.sidenav-bar .navigation li.current > a,
.sidenav-bar .navigation li > a:hover {
    background: rgba(217, 35, 45, 0.18) !important;
    color: #ff858d !important;
    border-left: 3px solid #D9232D;
}

/* Sidenav Submenu Hover & Touch Dropdown without + icon */
.sidenav-bar .navigation li.dropdown .dropdown-btn {
    display: none !important;
}

.sidenav-bar .navigation li.dropdown {
    position: relative;
}

.sidenav-bar .navigation li.dropdown > a {
    position: relative;
    padding-right: 36px;
}

.sidenav-bar .navigation li.dropdown > a:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #ffffff;
    opacity: 0.8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.sidenav-bar .navigation li.dropdown:hover > a:after,
.sidenav-bar .navigation li.dropdown.open > a:after {
    transform: translateY(-50%) rotate(180deg);
    color: #D9232D;
    opacity: 1;
}

.sidenav-bar .navigation li.dropdown > ul {
    display: none;
    background-color: #071524 !important;
    border-left: 3px solid #D9232D;
    margin: 6px 0 10px 10px !important;
    padding: 8px 4px 8px 0 !important;
    border-radius: 0 6px 6px 0;
    max-height: 230px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
    scrollbar-color: #D9232D rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Custom Scrollbar for Dropdown Menu (WebKit: Chrome, Edge, Safari) */
.sidenav-bar .navigation li.dropdown > ul::-webkit-scrollbar {
    width: 6px !important;
    display: block !important;
}

.sidenav-bar .navigation li.dropdown > ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px;
}

.sidenav-bar .navigation li.dropdown > ul::-webkit-scrollbar-thumb {
    background: #D9232D !important;
    border-radius: 4px;
}

.sidenav-bar .navigation li.dropdown > ul::-webkit-scrollbar-thumb:hover {
    background: #ff525e !important;
}

.sidenav-bar .navigation li.dropdown:hover > ul,
.sidenav-bar .navigation li.dropdown.open > ul {
    display: block;
}

.sidenav-bar .navigation li.dropdown > ul > li > a {
    font-size: 13.5px !important;
    padding: 8px 14px !important;
    color: #cbd5e1 !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: block;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.sidenav-bar .navigation li.dropdown > ul > li > a:hover {
    color: #ffffff !important;
    padding-left: 20px !important;
    background: rgba(217, 35, 45, 0.2) !important;
}

/* Contact Info Box in Sidenav */
.sidenav-bar .contact-info-box {
    position: relative;
    padding: 0 18px !important;
    margin-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px !important;
}

.sidenav-bar .contact-info-box .info-box {
    position: relative;
    padding-left: 40px !important;
    margin-bottom: 16px !important;
}

.sidenav-bar .contact-info-box .info-box .icon-box {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18px;
    color: #D9232D;
    line-height: 1;
}

.sidenav-bar .contact-info-box .info-box p {
    color: #cbd5e1;
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
}

/* Banner / Slider Styling - Uniform Height & Dimensions */
.banner-section-two {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-section-two .banner-carousel,
.banner-section-two .banner-carousel .owl-stage-outer,
.banner-section-two .banner-carousel .owl-stage,
.banner-section-two .banner-carousel .owl-item {
    height: 100%;
    min-height: 720px;
}

.banner-section-two .slide-item {
    position: relative;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    height: 85vh !important;
    min-height: 720px !important;
    max-height: 880px !important;
    width: 100% !important;
}

.banner-section-two .slide-item .content-box {
    position: relative;
    height: 100% !important;
    min-height: 720px !important;
    max-height: 880px !important;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
}

.banner-section-two .slide-item .content-box:after {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, rgba(7, 21, 36, 0.88) 0%, rgba(7, 21, 36, 0.65) 50%, rgba(7, 21, 36, 0.3) 100%) !important;
    content: "";
    z-index: 1;
}

.banner-section-two .slide-item .content {
    position: relative;
    z-index: 5;
    width: 100%;
    display: block !important;
    padding: 80px 0;
}

.banner-section-two .slide-item .content h2 {
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.banner-section-two .slide-item .content .text {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    color: #f1f5f9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

/* Hero CTA Buttons - Uniform Length, Equal Height & Perfect Alignment */
.banner-section-two .slide-item .content .btn-box {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 10px !important;
}

.banner-section-two .slide-item .content .btn-box .theme-btn {
    min-width: 210px !important;
    height: 52px !important;
    line-height: 48px !important;
    padding: 0 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    vertical-align: middle !important;
    transition: all 0.3s ease !important;
}

.banner-section-two .slide-item .content .btn-box .btn-style-two {
    background-color: #D9232D !important;
    border: 2px solid #D9232D !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(217, 35, 45, 0.35) !important;
}

.banner-section-two .slide-item .content .btn-box .btn-style-two:hover {
    background-color: #0D2238 !important;
    border-color: #0D2238 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(13, 34, 56, 0.5) !important;
}

.banner-section-two .slide-item .content .btn-box .btn-style-one {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.banner-section-two .slide-item .content .btn-box .btn-style-one:hover {
    background-color: #D9232D !important;
    border-color: #D9232D !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(217, 35, 45, 0.35) !important;
}

@media only screen and (max-width: 1023px) {
    .banner-section-two .slide-item,
    .banner-section-two .slide-item .content-box,
    .banner-section-two .banner-carousel .owl-stage-outer,
    .banner-section-two .banner-carousel .owl-stage,
    .banner-section-two .banner-carousel .owl-item {
        height: 650px !important;
        min-height: 650px !important;
    }
    .banner-section-two .slide-item .content h2 {
        font-size: 42px;
    }
}

@media only screen and (max-width: 767px) {
    .banner-section-two .slide-item,
    .banner-section-two .slide-item .content-box,
    .banner-section-two .banner-carousel .owl-stage-outer,
    .banner-section-two .banner-carousel .owl-stage,
    .banner-section-two .banner-carousel .owl-item {
        height: 580px !important;
        min-height: 580px !important;
    }
    .banner-section-two .slide-item .content h2 {
        font-size: 30px;
    }
    .banner-section-two .slide-item .content .text {
        font-size: 15px;
    }
    .banner-section-two .slide-item .content .btn-box {
        gap: 12px !important;
        width: 100% !important;
    }
    .banner-section-two .slide-item .content .btn-box .theme-btn {
        min-width: 180px !important;
        height: 48px !important;
        line-height: 44px !important;
        font-size: 14px !important;
        padding: 0 20px !important;
    }
}

@media only screen and (max-width: 480px) {
    .banner-section-two .slide-item .content .btn-box .theme-btn {
        width: 100% !important;
        min-width: 100% !important;
    }
}

/* ====================================================================
   Profile Section (About-Us Carousel) - Uniform Image Dimensions
   ==================================================================== */
.about-us .image-column {
    position: relative;
    margin-bottom: 40px;
}

.about-us .image-column .inner-column {
    position: relative;
    padding-top: 15px;
}

/* Red brand accent frame behind the carousel */
.about-us .image-column .inner-column:before {
    position: absolute;
    top: 35px;
    right: 10px;
    left: auto;
    width: 85%;
    max-width: 480px;
    height: 440px;
    border: 12px solid #D9232D !important;
    border-radius: 8px;
    content: "";
    transform: none !important;
    z-index: 0;
    opacity: 0.85;
}

.about-us .single-item-carousel {
    position: relative;
    z-index: 2;
    padding-bottom: 25px;
}

.about-us .single-item-carousel .slide-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us .image-column .image {
    position: relative;
    z-index: 5;
    padding: 10px 15px !important;
    margin: 0 auto !important;
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.about-us .image-column .image a {
    display: block;
    width: 100%;
    height: 440px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0d1520;
}

.about-us .image-column .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 440px !important;
    object-fit: cover !important;
    object-position: center !important;
    box-shadow: none !important;
    transition: transform 0.5s ease;
}

.about-us .image-column .image a:hover img {
    transform: scale(1.04);
}

/* Dots styling */
.about-us .single-item-carousel .owl-dots {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    text-align: center;
}

.about-us .single-item-carousel .owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3) !important;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.about-us .single-item-carousel .owl-dot.active {
    background-color: #D9232D !important;
    width: 24px;
    border-radius: 6px;
}

@media only screen and (max-width: 767px) {
    .about-us .image-column .inner-column:before {
        display: none;
    }
    .about-us .image-column .image a {
        height: 320px;
    }
    .about-us .image-column .image img {
        max-height: 320px !important;
    }
}

/* Button overrides */
.btn-style-one,
.theme-btn.btn-style-one {
    background-color: #D9232D !important;
    border-color: #D9232D !important;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-style-one:hover,
.theme-btn.btn-style-one:hover {
    background-color: #0D2238 !important;
    border-color: #0D2238 !important;
    color: #ffffff !important;
}

.btn-style-two,
.theme-btn.btn-style-two {
    background-color: #D9232D !important;
    border: 2px solid #D9232D !important;
    color: #ffffff !important;
    font-weight: 600;
}

.btn-style-two:hover,
.theme-btn.btn-style-two:hover {
    background-color: #0D2238 !important;
    border-color: #0D2238 !important;
    color: #ffffff !important;
}

.btn-style-navy {
    background-color: #0D2238 !important;
    border: 2px solid #0D2238 !important;
    color: #ffffff !important;
    padding: 12px 30px;
    font-weight: 600;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-style-navy:hover {
    background-color: #D9232D !important;
    border-color: #D9232D !important;
    color: #ffffff !important;
}

/* Service & Feature Card Enhancements */
.service-block .inner-box,
.service-block-two .inner-box {
    border-top: 3px solid transparent;
    transition: all 0.35s ease;
}

.service-block .inner-box:hover,
.service-block-two .inner-box:hover {
    border-top-color: #D9232D;
    box-shadow: 0 10px 30px rgba(13, 34, 56, 0.12);
}

.service-block .inner-box .icon-box,
.service-block-two .inner-box .icon-box {
    color: #D9232D;
}

/* Goal Zero / HSE Badges */
.hse-badge-card {
    background: #0D2238;
    color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    border-left: 5px solid #D9232D;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hse-badge-card h4 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
}

.hse-badge-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

.hse-badge-card .iso-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.hse-badge-card .iso-tag {
    background: rgba(217, 35, 45, 0.2);
    border: 1px solid #D9232D;
    color: #ff858d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   BLACK SECTIONS & DARK THEME ENHANCEMENTS
   Applies black background (#000000) to:
   1. Partner Section (.clients-section)
   2. Competencies Section (.community-section)
   3. Leadership & Structure Section (.team-section, .organogram-section)
   4. Questions Section (.faq-section, .faq-hse-spotlight)
   5. Showcase Section (.gallery-section-full)
   6. Location Section (.contact-page-section, .contact-form-section-dark)
   ========================================================================== */

/* Float-Text Watermark Overlay (Uniform Reasonable Sizing & Clean Typography) */
.sec-title .float-text,
.sec-title.active .float-text {
    font-size: 56px !important;
    line-height: 1 !important;
    top: -18px !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    letter-spacing: 0.06em !important;
    pointer-events: none !important;
    user-select: none !important;
    color: rgba(13, 34, 56, 0.055) !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
}

.sec-title.light .float-text,
.sec-title.light.active .float-text,
.fun-facts .sec-title .float-text,
.services-section[style*="background: #0D2238"] .sec-title .float-text,
.services-section .sec-title .float-text,
.clients-section .sec-title .float-text,
.community-section .sec-title .float-text,
.team-section .sec-title .float-text,
.organogram-section .sec-title .float-text,
.faq-section .sec-title .float-text,
.gallery-section-full .sec-title .float-text,
.contact-page-section .sec-title .float-text {
    color: rgba(255, 255, 255, 0.05) !important;
}

@media only screen and (max-width: 767px) {
    .sec-title .float-text,
    .sec-title.active .float-text {
        font-size: 32px !important;
        top: -10px !important;
    }
}

/* Light Section Headings: Red Primary Text, Dark Blue Highlight Span */
.about-us .sec-title:not(.light) h2,
.project-section-two .sec-title:not(.light) h2,
.sec-title:not(.light) h2 {
    color: #D9232D !important;
}

.about-us .sec-title:not(.light) h2 span,
.project-section-two .sec-title:not(.light) h2 span,
.sec-title:not(.light) h2 span,
.navy-highlight {
    color: #0D2238 !important;
}

.clients-section .sec-title h2,
.clients-section .sec-title h3,
.community-section .sec-title h2,
.team-section .sec-title h2,
.organogram-section .sec-title h2,
.faq-section .sec-title h2,
.gallery-section-full .sec-title h2,
.contact-page-section .sec-title h2 {
    color: #ffffff !important;
}

.clients-section .sec-title h2 span,
.clients-section .sec-title h3 span,
.community-section .sec-title h2 span,
.team-section .sec-title h2 span,
.organogram-section .sec-title h2 span,
.faq-section .sec-title h2 span,
.gallery-section-full .sec-title h2 span,
.contact-page-section .sec-title h2 span {
    color: #D9232D !important;
}

.clients-section .sec-title p,
.community-section .sec-title p,
.team-section .sec-title p,
.organogram-section .sec-title p,
.faq-section .sec-title p,
.gallery-section-full .sec-title p,
.contact-page-section .sec-title p {
    color: #cbd5e1 !important;
}

/* 1. Partner Section (.clients-section) */
.clients-section {
    background: #000000 !important;
    padding: 60px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.clients-section .sponsors-carousel .slide-item figure.image {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    width: 155px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.35s ease;
}

.clients-section .sponsors-carousel .slide-item figure.image:hover {
    transform: translateY(-3px);
    border-color: #D9232D;
    box-shadow: 0 6px 20px rgba(217, 35, 45, 0.35);
}

.clients-section .sponsors-carousel .slide-item img {
    max-height: 48px;
    max-width: 125px;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    filter: none !important;
}

.clients-grid-wrapper {
    background: #000000 !important;
    padding: 40px 0;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    height: 90px;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.client-logo-item:hover {
    border-color: #D9232D;
    box-shadow: 0 8px 24px rgba(217, 35, 45, 0.3);
    transform: translateY(-4px);
}

.client-logo-item img {
    max-height: 50px;
    max-width: 130px;
    object-fit: contain;
    filter: none !important;
}

/* 2. Competencies Section (.community-section) */
.community-section {
    background: #000000 !important;
    padding: 80px 0 !important;
}

.community-section .competency-card,
.community-section .col-lg-4 > div {
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    border-top: 3px solid #D9232D !important;
    transition: all 0.35s ease;
}

.community-section .competency-card:hover,
.community-section .col-lg-4 > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(217, 35, 45, 0.2);
    border-color: rgba(255, 255, 255, 0.2) !important;
    border-top-color: #D9232D !important;
}

.community-section h5 {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.community-section p {
    color: #cbd5e1 !important;
    font-size: 14px;
    line-height: 1.7;
}

/* 3. Leadership & Structure Sections */
.team-section {
    background: #000000 !important;
    padding: 80px 0 60px !important;
}

/* Executive Section Image Slider (Pure Images, No Cards or Write-ups) */
.team-section .team-slider-wrapper {
    position: relative;
    max-width: 980px;
    margin: 30px auto 0;
    padding: 0 15px;
}

.team-section .single-item-carousel {
    position: relative;
    padding-bottom: 25px;
}

.team-section .team-slide-img {
    position: relative;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    height: 480px;
    width: 100%;
    max-width: 950px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #080d16;
}

.team-section .team-slide-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.team-section .team-slide-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 480px !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    filter: none !important;
    transition: transform 0.6s ease;
}

.team-section .team-slide-img:hover img {
    transform: scale(1.03);
}

.team-section .single-item-carousel .owl-dots {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    text-align: center;
}

.team-section .single-item-carousel .owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3) !important;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.team-section .single-item-carousel .owl-dot.active {
    background-color: #D9232D !important;
    width: 24px;
    border-radius: 6px;
}

.team-section .single-item-carousel .owl-nav {
    display: block !important;
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.team-section .single-item-carousel .owl-nav .owl-prev,
.team-section .single-item-carousel .owl-nav .owl-next {
    position: absolute;
    width: 46px;
    height: 46px;
    background: rgba(13, 21, 32, 0.85) !important;
    border: 1px solid rgba(217, 35, 45, 0.5) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.team-section .single-item-carousel .owl-nav .owl-prev {
    left: -10px;
}

.team-section .single-item-carousel .owl-nav .owl-next {
    right: -10px;
}

.team-section .single-item-carousel .owl-nav .owl-prev:hover,
.team-section .single-item-carousel .owl-nav .owl-next:hover {
    background: #D9232D !important;
    border-color: #D9232D !important;
    transform: scale(1.1);
}

@media only screen and (max-width: 767px) {
    .team-section .team-slide-img {
        height: 280px;
    }
    .team-section .team-slide-img img {
        max-height: 280px !important;
    }
    .team-section .single-item-carousel .owl-nav {
        display: none !important;
    }
}

.team-section .team-block {
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.team-section .team-block:hover {
    transform: translateY(-5px);
    border-color: #D9232D !important;
    box-shadow: 0 10px 25px rgba(217, 35, 45, 0.25);
}

.team-section .team-block .info-box {
    background: #071524 !important;
    color: #ffffff;
}

.organogram-section {
    background: #000000 !important;
    padding: 70px 0 90px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.organogram-wrapper {
    background: #080d16 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    margin-top: 30px;
}

.org-node {
    background: #0d1e32;
    color: #ffffff;
    border-top: 4px solid #D9232D;
    border-radius: 6px;
    padding: 12px 20px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.org-node:hover {
    transform: translateY(-4px);
}

.org-node.highlight {
    background: #D9232D;
    border-top-color: #ffffff;
}

.org-node .role-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.org-node .person-name {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 4px;
}

.org-node.sub-node {
    background: #111a28 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 3px solid #D9232D !important;
    min-width: 170px;
    padding: 10px 14px;
}

.org-node.sub-node .role-title {
    color: #f1f5f9 !important;
    font-size: 12px;
}

.organogram-section .row .p-3 {
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
}

.organogram-section .row .p-3 strong {
    color: #ffffff !important;
}

.organogram-section .row .p-3 ul li {
    color: #cbd5e1 !important;
}

/* 4. Questions Section (.faq-section) */
.faq-section {
    background: #000000 !important;
    padding: 30px 0 80px !important;
}

.faq-hse-spotlight {
    background: #000000 !important;
    padding: 70px 0 30px !important;
}

.accordion-box .block {
    margin-bottom: 18px;
}

.accordion-box .block .acc-btn {
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
    color: #ffffff !important;
    font-weight: 600;
    padding: 16px 25px;
    transition: all 0.3s ease;
}

.accordion-box .block .acc-btn:hover {
    border-color: #D9232D !important;
    background: #111d2e !important;
}

.accordion-box .block .acc-btn.active {
    background: #142236 !important;
    border-left: 4px solid #D9232D !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

.accordion-box .block .icon-outer {
    color: #ff858d !important;
}

.accordion-box .block .acc-content {
    background: #070c14 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px;
}

.accordion-box .block .content {
    padding: 20px 25px !important;
}

.accordion-box .block .content .text {
    color: #cbd5e1 !important;
    font-size: 15px;
    line-height: 1.8;
}

.accordion-box .block .content .text strong {
    color: #ffffff !important;
}

.accordion-box .block .content .text ul li {
    color: #cbd5e1 !important;
}

/* 5. Showcase Section (.gallery-section-full) */
.gallery-section-full {
    padding: 80px 0 !important;
    background: #000000 !important;
}

.gallery-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.gallery-filter-nav button {
    background: #0d1520 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.gallery-filter-nav button i {
    margin-right: 6px;
    color: #D9232D;
}

.gallery-filter-nav button:hover,
.gallery-filter-nav button.active {
    background: #D9232D !important;
    color: #ffffff !important;
    border-color: #D9232D !important;
    box-shadow: 0 4px 14px rgba(217, 35, 45, 0.4) !important;
}

.gallery-filter-nav button.active i,
.gallery-filter-nav button:hover i {
    color: #ffffff;
}

.gallery-masonry-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}

.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 24px;
    transition: all 0.35s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: #D9232D !important;
    box-shadow: 0 12px 30px rgba(217, 35, 45, 0.25) !important;
}

.gallery-card .img-box {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #0D2238;
}

.gallery-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .img-box img {
    transform: scale(1.08);
}

.gallery-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(13, 34, 56, 0.9) 0%, rgba(13, 34, 56, 0.3) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.gallery-card .overlay .zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #D9232D;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.gallery-card:hover .overlay .zoom-btn {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-card .overlay .zoom-btn:hover {
    background: #ffffff;
    color: #D9232D;
}

.gallery-card .overlay .cat-tag {
    font-size: 12px;
    font-weight: 700;
    color: #ff858d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-card .overlay h5 {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.gallery-card .card-caption {
    padding: 14px 18px;
    background: #070c14 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gallery-card .card-caption h6 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #ffffff !important;
    font-weight: 600;
}

.gallery-card .card-caption span {
    font-size: 12px;
    color: #94a3b8 !important;
}

/* 6. Location Section (.contact-page-section) */
.contact-page-section {
    padding: 80px 0 40px !important;
    background: #000000 !important;
}

.contact-page-section .contact-card {
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    height: 100%;
    border-top: 4px solid #D9232D !important;
    transition: all 0.35s ease;
}

.contact-page-section .contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2) !important;
    border-top-color: #D9232D !important;
    box-shadow: 0 10px 25px rgba(217, 35, 45, 0.2);
}

.contact-page-section .contact-card h5 {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-page-section .contact-card p {
    color: #cbd5e1 !important;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-page-section .contact-card span {
    font-size: 12px;
    color: #94a3b8 !important;
    font-weight: 600;
}

.contact-form-section-dark {
    padding: 20px 0 80px !important;
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.contact-form-dark-wrapper {
    background: #0d1520 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    padding: 35px 30px;
}

.contact-form-dark-wrapper h3 {
    color: #ffffff !important;
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form-dark-wrapper p {
    color: #94a3b8 !important;
    font-size: 14px;
    margin-bottom: 25px;
}

.contact-form-dark-wrapper label {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1 !important;
    display: block;
    margin-bottom: 6px;
}

.contact-form-dark-wrapper input,
.contact-form-dark-wrapper select,
.contact-form-dark-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px;
    background: #070c14 !important;
    color: #ffffff !important;
}

.contact-form-dark-wrapper input:focus,
.contact-form-dark-wrapper select:focus,
.contact-form-dark-wrapper textarea:focus {
    border-color: #D9232D !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(217, 35, 45, 0.25);
}

/* Footer Styling */
.main-footer {
    background: #0D2238 !important;
    color: #cbd5e1;
    border-top: 4px solid #D9232D;
}

.main-footer .footer-column h2,
.main-footer .footer-column .widget-title {
    color: #ffffff;
}

.main-footer .footer-column .widget-title:before {
    background-color: #D9232D !important;
}

.main-footer .user-links li a {
    color: #94a3b8;
    transition: color 0.3s;
}

.main-footer .user-links li a:hover {
    color: #D9232D;
    padding-left: 5px;
}

.main-footer .contact-list li .icon {
    color: #D9232D;
}

.main-footer .contact-list li .text {
    color: #cbd5e1;
}

.main-footer .footer-bottom {
    background: #071524 !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #64748b;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 767px) {
    .main-header .logo img {
        max-height: 52px;
    }
    .gallery-filter-nav button {
        padding: 8px 15px;
        font-size: 12px;
    }
    .org-node {
        min-width: 140px;
        padding: 8px 12px;
    }
}

/* ====================================================================
   Custom Rolling Logo Preloader (Emblem without write-up)
   ==================================================================== */
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #071524 !important;
    background-image: url('../images/icons/preloader.svg') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 110px 110px !important;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.preloader-hidden,
.preloader[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.preloader:before,
.preloader:after {
    display: none !important;
}

/* ====================================================================
   Case Studies & Project References Showcase Enhancements
   ==================================================================== */
.case-study-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid #e2e8f0;
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(13, 34, 56, 0.12) !important;
}

.filter-tabs .filter {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    background: #ffffff;
    color: #0D2238;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
    user-select: none;
}

.filter-tabs .filter:hover,
.filter-tabs .filter.active {
    background: #D9232D !important;
    color: #ffffff !important;
    border-color: #D9232D !important;
    box-shadow: 0 4px 12px rgba(217, 35, 45, 0.3);
}

.project-meta-chip {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.project-meta-chip i {
    margin-right: 5px;
    color: #D9232D;
}



