/* Futura Cyrillic Font */

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicBook.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicDemi.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/futura-pt/FuturaCyrillicHeavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
.slide-title {
    text-shadow: none!important;
}
:root {
    --futura: 'Futura PT', sans-serif;
}

a {
    text-decoration: none;
}

body {
    font-family: var(--futura) !important;
}

header a {
    text-decoration: none !important;
}

.header-sidemenu-link-2 {
    background-color: transparent !important;
    padding: 0;
    border-radius: 0;
    border: 0 !important;
    color: var(--Foundation-Grey-G500, #595B5A) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    font-family: var(--futura) !important;
}


/* Place this at the END of your CSS file */
@media (hover: hover) {

    .prose-a\:header-menu-item a:hover,
    .prose-a\:header-menu-item .group\/nav:hover a {
        /* font-weight: 700 !important; */
        color: #AA2C32 !important;
    }
}

.headr-logo-img {
    margin-bottom: 0 !important;
    /* intrinsic width/height for brand bar logos set under #header-top-nav (pairs with .header-petrolube-logo) */
}

.offcanvas-header {
    background-color: #fff;
}

#petrolube-header {
    background-color: #fff;
}

#petrolube-header .ee-icon-header svg rect {
    stroke: #595B5A !important;
}

#petrolube-header .ee-icon-header svg path {
    fill: #595B5A !important;
}

/* ============================================
   HEADER ROW 1 — Brand bar
   ============================================ */
.header-row-1 {
    padding: 14px 0 12px;
}

.header-row-1-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.header-brand-subtitle {
    color: var(--Foundation-Grey-G500, #595B5A);
    font-family: Futura, var(--futura), sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* Brand bar: Company.png + subtitle | 1px #DEDEDE | Petrolube PNG */
.header-brand-divider-vertical {
    display: block !important;
    box-sizing: border-box;
    flex: 0 0 1px;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: #DEDEDE !important;
    align-self: flex-start;
}

#header-top-nav .header-brand-logo-row {
    align-items: flex-start !important;
    gap: 8px !important;
    line-height: 0;
}

/* Divider spans logo band only (subtitle sits below Technolube column) */
#header-top-nav .header-brand-logo-row > .header-brand-divider-vertical {
    height: 42px;
    min-height: 42px;
}

#header-top-nav .header-brand-wrap img.headr-logo-img,
#header-top-nav .header-brand-wrap img.header-petrolube-logo {
    height: auto !important;
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain;
    object-position: 50% 50%;
    display: block;
    flex-shrink: 0;
    margin: 0;
}

#header-top-nav .header-brand-wrap img.headr-logo-img {
    max-width: min(280px, 42vw) !important;
    min-width: 0;
}

#header-top-nav .header-brand-wrap img.header-petrolube-logo {
    max-width: 220px;
}

/* Mobile logo row */
#petrolube-header aside > div[class*="xl:hidden"] .header-brand-logo-row {
    gap: 8px !important;
    align-items: flex-start !important;
    line-height: 0;
}

#petrolube-header aside > div[class*="xl:hidden"] .header-brand-logo-row > .header-brand-divider-vertical {
    height: 36px;
    min-height: 36px;
}

#petrolube-header aside > div[class*="xl:hidden"] figure img[alt="Technolube"],
#petrolube-header aside > div[class*="xl:hidden"] figure img[alt="Petrolube Group KSA"] {
    height: auto !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain;
    object-position: 50% 50%;
    display: block;
    flex-shrink: 0;
    margin: 0;
}

#petrolube-header aside > div[class*="xl:hidden"] figure img[alt="Technolube"] {
    max-width: min(240px, 50vw) !important;
}

#petrolube-header aside > div[class*="xl:hidden"] figure img[alt="Petrolube Group KSA"] {
    max-width: 180px;
}

/* Offcanvas drawer brand strip */
.offcanvas-header .header-offcanvas-brand {
    gap: 8px !important;
    align-items: flex-start !important;
}

.offcanvas-header .header-offcanvas-brand > .header-brand-divider-vertical {
    height: 40px;
    min-height: 40px;
}

.offcanvas-header .header-offcanvas-brand img[alt="Technolube"] {
    height: auto !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: min(260px, 65vw) !important;
    object-fit: contain;
    flex-shrink: 0;
}

.offcanvas-header .header-offcanvas-brand img[alt="Petrolube Group KSA"] {
    height: auto !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 185px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-brand-divider {
    width: 1px;
    height: 28px;
    background: #ccc;
    margin: 0 16px;
    flex-shrink: 0;
}

.header-country-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #595B5A !important;
    font-family: var(--futura) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 150% !important;
}

.header-country-selector-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-row-1-right {
    display: flex;
    align-items: center;
}

.header-row-1-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: -8px;
}

.header-country-item {
    order: 4;
}

.header-country-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-country-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 199px;
    height: 12px;
}

.header-country-selector {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.header-country-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 199px;
    max-width: 199px;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    border: 2px solid var(--Foundation-Red-R100, #CE8588);
    background: #FFF;
    box-shadow: 0 4px 10.3px 0 rgba(0, 0, 0, 0.10);
    padding: 16px;
    z-index: 10010;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header-country-dropdown.is-open .header-country-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-country-dropdown:hover .header-country-dropdown-menu,
.header-country-dropdown:focus-within .header-country-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-country-dropdown-option {
    color: var(--Foundation-Grey-G500, #595B5A);
    font-family: Futura, var(--futura), sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration: none !important;
    padding: 2px 0;
    display: block;
    transition: color 0.2s ease;
}

#header-top-nav .header-country-dropdown-menu .header-country-dropdown-option {
    color: var(--Foundation-Grey-G500, #595B5A) !important;
    font-family: Futura, var(--futura), sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
}

#header-top-nav .header-country-dropdown-menu .header-country-dropdown-option.is-active,
#header-top-nav .header-country-dropdown-menu .header-country-dropdown-option:hover {
    color: var(--Foundation-Red-R300, #AA2C32) !important;
}

.header-country-dropdown-option.is-active,
.header-country-dropdown-option:hover {
    color: var(--Foundation-Red-R300, #AA2C32);
    font-family: Futura, var(--futura), sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

@media (max-width: 575px) {
    .header-country-dropdown-menu {
        right: auto;
        left: 0;
        width: min(167px, calc(100vw - 32px));
        max-width: min(167px, calc(100vw - 32px));
    }
}

.header-contact-item {
    order: 3;
}

.header-icon-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.header-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #595B5A !important;
    font-family: var(--futura) !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
}

.header-contact-link:hover {
    color: #AA2C32 !important;
}

.header-contact-link:hover svg path {
    fill: #AA2C32 !important;
}

/* ============================================
   HEADER ROW 2 — Navigation bar
   ============================================ */
.header-row-2 {
    border-top: 1px solid #E0E0E0;
}

.header-row-2-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-row-2-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Keep mega menu panels aligned to container width */
#header-bottom-nav {
    position: relative;
}

/* ============================================
   MEGAMENU panel — single source of truth.
   Centering: Tailwind inset-x-0 + mx-auto + max-w-[90%]!.
   Show / hide: opacity + visibility + small translate (no Tailwind transforms here).
   ============================================ */
/* Each nav owns its own panel; needed so :hover scope is correct */
#header-bottom-nav .tech-menu-header-nav {
    position: relative;
}

/* Internal hover-bridge (invisible). Lives INSIDE the nav element so it
   doesn't change the visible layout, but extends the nav's hover hit area
   from the link's bottom all the way down to the header's bottom edge.
   That way the cursor can travel from link → panel without ever leaving
   the nav (so the menu doesn't flicker shut mid-transit).

   We size it from the live header height the JS exposes, minus the
   nav's own offsetTop within the header (approximated via the link area).
   `top: 100%` positions it directly under the link; `height` is a
   generous fixed value that covers any normal header padding-bottom. */
#header-bottom-nav .tech-menu-header-nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: calc(var(--petrolube-header-height, 140px) / 2);
    min-height: 40px;
    background: transparent;
    pointer-events: none;
}

#header-bottom-nav .tech-menu-header-nav:hover::after,
#header-bottom-nav .tech-menu-header-nav:focus-within::after {
    pointer-events: auto;
}

#header-bottom-nav .petrolube-megamenu-container {
    position: fixed;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: min(1320px, calc(100vw - 48px)) !important;
    margin: 0 auto !important;
    background: #fff !important;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Sits flush against header bottom. JS sets --petrolube-header-height
       from the live measured header (including WP admin bar). */
    top: var(--petrolube-header-height, 140px) !important;
    z-index: 9990;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

/* Open only when the matching nav (or the panel itself) is hovered/focused.
   The ::after bridge above keeps `nav:hover` true while the cursor is
   between the link and the panel, so the handoff is seamless. */
#header-bottom-nav .tech-menu-header-nav:hover > .petrolube-megamenu-container,
#header-bottom-nav .tech-menu-header-nav:focus-within > .petrolube-megamenu-container,
#header-bottom-nav .petrolube-megamenu-container:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0s;
}

#header-bottom-nav .petrolube-megamenu-container > figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    background: #fff !important;
}

/* Mega menu layout classes (Tailwind replacements) */
#header-bottom-nav .petrolube-megamenu-layout {
    display: flex;
    gap: 12px;
}

#header-bottom-nav .petrolube-megamenu-featured-image {
    width: 19rem;
    height: 17rem;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 12px;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.12));
}

#header-bottom-nav .petrolube-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 100%;
}

#header-bottom-nav .petrolube-megamenu-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

#header-bottom-nav .megamenu-item-counter {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #AA2C32;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

#header-bottom-nav .petrolube-megamenu-inner-nav {
    display: grid;
    gap: 8px;
}

#header-bottom-nav .petrolube-megamenu-inner-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    text-decoration: none !important;
}

@media (min-width: 1400px) {
    #header-bottom-nav .petrolube-megamenu-container {
        max-width: 1320px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    #header-bottom-nav .petrolube-megamenu-container {
        max-width: 1140px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #header-bottom-nav .petrolube-megamenu-container {
        max-width: 960px !important;
    }
}

.header-nav-right-link {
    color: var(--Foundation-Grey-G500, #595B5A) !important;
    font-family: var(--futura) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.header-nav-right-link:hover {
    color: #AA2C32 !important;
}

.petro-menu-container a {
    color: var(--Foundation-Grey-G500, #595B5A);
    font-family: var(--futura);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 27px */
    /* 27px */
}

#header-top-nav a:hover {
    color: #AA2C32;
}
.mega-menu-inner-nav-link{
    color: #595B5A !important;  
}
.mega-menu-inner-nav-link:hover{
    color: #AA2C32 !important;  
}
#header-top-nav a {
    color: var(--Foundation-Grey-G500, #595B5A);
    font-family: var(--futura);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 27px */
}

/* .tech-primary-nav-wrapper nav a {
    color: #FFF !important;
    font-family: var(--futura) !important;
    ;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 150%;
    
} */
.tech-menu-header-nav-link-main {
    color: #FFF !important;
    font-family: var(--futura) !important;
    ;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 150%;
}

.tech-menu-header-nav-link-main:hover {
    font-weight: 400 !important;
}

.mega-menu-inner-link {
    color: var(--Red-R300, #AA2C32) !important;
    font-family: var(--futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    /* 24px */
    text-transform: uppercase !important;
    padding-top: 8px;
    padding-bottom: 8px;
    display: block;
}

/* Mega menu inner nav links hover - targets sub-links inside mega menu */
/* .petrolube-megamenu-container article nav a:hover,
.mega-menu-inner-nav-link:hover {
    color: #AA2C32 !important;
} */

.mega-menu-inner-excerpt {
    color: var(--Neutral-B500, #3B3B3B);
    font-family: var(--futura) !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    display: block;
    padding-top: 8px;
    /* 24px */
}
.petrolube-megamenu-container-img{
    max-width: 216px;
    max-height: 216px;
}
.tech-prim-bg {
    background-color: #AA2C32 !important;
}

.tech-prim-bg:hover {
    background-color: #AA2C32 !important;
}

.right-side-social-media-bar-vertical aside a:first-child {
    overflow: hidden;
}

.right-side-social-media-bar-vertical .transition-colors {
    background-color: #AA2C32 !important;
}

.social-media-link-bar:hover {
    background-color: #AA2C32 !important;
}

#header-bottom-nav {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#header-top-nav {
    margin-left: 0 !important;
}

/* .tech-primary-nav-wrapper nav:hover {
    color: #CE8588 !important
} */

footer {
    background-color: #F5F5F5 !important;
}

.red-bg-site-tech {
    background-color: #AA2C32 !important;
}

.footer-social-media-wrapper {
    gap: 12px;
}

/* Footer Social Media Icons - Base Styles */
.footer-social-media-wrapper a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.footer-social-media-wrapper a i {
    color: #AA2C32 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: inline-block;
}

/* Footer Social Media Icons - Hover Animation (Zoom Up) */
.footer-social-media-wrapper a:hover {
    transform: translateY(-5px) scale(1.15);
}

.footer-social-media-wrapper a:hover i {
    color: #AA2C32 !important;
    transform: scale(1.2);
}

.ft-list-a:hover i {
    color: #AA2C32 !important;
}

.footer-phone-link::before {
    color: white !important;
}

.footer-phone-link:hover::before {
    color: #AA2C32 !important;
}
.mega-menu-inner-link{
    color: #AA2C32 !important;  
}
/* .tech-menu-header-nav:hover a {
    color: #AA2C32 !important;
} */

#offcanvasRight {
    background-color: #AA2C32 !important;
    ;
}

.background-overlay-commmon {
    background: transparent;
}

.slogan-custom {
    font-family: var(--futura) !important;
    /* display: flex; */
    padding: 4px 8px;
    justify-content: center;
    /* align-items: center; */
    gap: 10px;
    border-radius: 4px;
    background: #FFF;
    color: var(--Neutral-B500, #3B3B3B);
    font-family: var(--futura);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

#banner .slide-title {
    margin-bottom: 20px;
}

#banner p {
    margin-bottom: 0;
}

#banner a {
    margin-top: 20px;
}

#banner nav a {
    margin-top: 0;
}

.home-banner-btn {
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 22px;
    background: var(--Red-R300, #AA2C32);
    color: var(--Foundation-Green-G50, #E6F0EA);
    font-family: --var(futura) !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 120% !important;
    /* 24px */
}

.articel-main-header-banner {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(16px);
    display: flex;
    width: 100%;
    max-width: 730px;
    min-width: 730px;
    /* padding: 24px 40px; */
    padding: 24px 24px;
    /* margin-bottom: 63px !important; */
    margin-bottom: 3%;

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

#banner .slide-title {
    color: var(--Neutral-B700, #1C1C1C);
    font-family: --var(futura) !important;
    /* font-size: 39px !important; */
    font-size: 44px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 120%;
    /* 57.6px */
    /* 58.8px */
}

.breadcrumb-text,
.breadcrumb-active,
.breadcrumb-link {
    font-size: 18px !important;
    font-weight: 400 !important;
}

#banner p {
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: --var(futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 130%;
    width: 100%;
    max-width: 100% !important;
    /* 20.8px */
}

.sub-heading-home-banner-text {
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: var(--futura);
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal;
    text-transform: uppercase;
    /* 21.6px */
    text-transform: uppercase;
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #FFF;
}

.slide-description {
    width: 100%;
    max-width: 100%;
}

.ft-list-a {
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: var(--futura);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 21px */
}

.ft-first-col-textt {
    color: var(--Neutral-B500, #3B3B3B);
    font-family: var(--futura);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 21px */
}

.ft-col-list-heading-main {
    color: var(--Neutral-B500, #3B3B3B);
    font-family: var(--futura);
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: 150%;
    /* 24px */
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tech-menu-header-nav-link-main {
    color: var(--Foundation-Grey-G500, #595B5A) !important;
    font-family: var(--futura) !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    /* 27px */
}

.header-row-2 .petro-menu-container a {
    color: var(--Foundation-Grey-G500, #595B5A);
    font-family: var(--futura);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.ft-subscribetext {
    color: var(--Neutral-B500, #3B3B3B);
    font-family: var(--futura);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 18px */
}

.ft-col-item-textt {
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: var(--futura);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 21px */
}

/* ============================================
   FOOTER CSS - Responsive Column Layout
   ============================================ */

/* Footer Main Row - Ensures equal width columns on desktop */
.footer-main-row {
    display: flex;
    flex-wrap: wrap;
}

/* Footer Column Base Styles - Equal width for all columns */
.footer-col {
    flex: 1 1 0;
    min-width: 0;
    /* Prevents flex items from overflowing */
}

/* Mobile: Full width (1 column) */
@media (max-width: 767.98px) {
    .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Desktop (Small & Large): 5 columns with specific max-widths */
/* First column: 319px, Middle 3 columns: 181px each, Last column: 400px */
@media (min-width: 992px) {
    .footer-main-row {
        display: flex;
        flex-wrap: nowrap;
        /* Prevent wrapping on desktop */
    }

    /* Middle 3 columns - max-width 181px */
    .footer-col {
        flex: 0 1 auto;
        max-width: 181px;
        min-width: 0;
    }

    /* First column - max-width 319px */
    .footer-col-first {
        flex: 0 1 auto;
        max-width: 319px;
        min-width: 0;
    }

    /* Last column - max-width 400px */
    .footer-col-last {
        flex: 0 1 auto;
        max-width: 400px;
        min-width: 0;
    }
}

/* Extra Large Desktop: Same column widths as desktop */
@media (min-width: 1200px) {

    /* Middle 3 columns - max-width 181px */
    .footer-col {
        flex: 0 1 auto;
        max-width: 181px;
    }

    /* First column - max-width 319px */
    .footer-col-first {
        flex: 0 1 auto;
        max-width: 319px;
    }

    /* Last column - max-width 400px */
    .footer-col-last {
        flex: 0 1 auto;
        max-width: 400px;
    }
}

/* Footer Container Padding */
footer .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer Column Spacing */
.footer-col {
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive adjustments for footer content */
@media (max-width: 991.98px) {
    .footer-col {
        margin-bottom: 2rem;
    }

    .footer-col:last-child {
        margin-bottom: 0;
    }
}

/* ============================================
   FOOTER SUBSCRIBE SECTION CSS
   ============================================ */

/* Footer Subscribe Wrapper - Container for input and button */
.footer-subscribe-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Footer Subscribe Input Field */
.footer-subscribe-input {
    flex: 1 0 0;
    padding: 12px 22px;
    border-radius: 40px !important;
    border: 1px solid var(--Neutral-B60, #B0B0B0) !important;
    background: transparent !important;
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: var(--futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150%;
    /* 24px */
    min-width: 0 !important;
}

.footer-subscribe-input::placeholder {
    color: var(--Neutral-B60, #B0B0B0);
}

.footer-subscribe-input:focus {
    outline: none;
    border-color: var(--Red-R300, #AA2C32);
    box-shadow: 0 0 0 2px rgba(170, 44, 50, 0.1);
}

/* Footer Subscribe Button */
.footer-subscribe-btn {
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 40px;
    background: linear-gradient(97deg, #AA2C32 0%, #2B825B 100%);
    border: none;
    color: #fff;
    font-family: var(--futura);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    cursor: pointer;
    transition: filter 0.16s ease-out;
    transition-delay: 0s !important;
    white-space: nowrap;
}

.footer-subscribe-btn:hover {
    filter: brightness(0.9);
}

.footer-subscribe-btn:active {
    filter: brightness(0.82);
}

/* ============================================
   FOOTER CONTACT ICONS CSS
   ============================================ */

/* Footer Contact Icons Wrapper */
.footer-contact-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
}

/* Footer Contact Icon */
.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--Red-R300, #AA2C32);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-icon i {
    font-size: 16px;
    color: #fff;
}

.footer-contact-icon:hover {
    background: #8a2328;
    transform: translateY(-2px);
}

.footer-contact-icon:hover i {
    color: #fff;
}

.footer-phone-link::before {
    display: none !important;
}

.ft-list-a-emaill::before {
    display: none !important;
}

/* Privacy Policy Link in Subscribe Section */
.ft-subscribetext>a {
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: var(--futura) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 150% !important;
    /* 18px */
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: none !important;
    text-decoration-thickness: auto !important;
    text-underline-offset: auto !important;
    text-underline-position: from-font !important;
}

.ft-subscribetext>a:hover {
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
}

.tech-ft-bottom-bar-container {
    border-top: 1px solid var(--Neutral-B40, #DEDEDE) !important;
}

.tech-ft-bottom-bar-container-textt {
    color: var(--Neutral-B500, #3B3B3B) !important;
    font-family: var(--futura) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 150% !important;
    /* 21px */
}

.tech-ft-bottom-bar-container-links-wrapper {
    gap: 24px !important;
}

.tech-ft-bottom-bar-container-links-wrapper a {
    color: var(--Neutral-B300, #575757) !important;
    font-family: var(--futura) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 150% !important;
    /* 21px */
}

/* Responsive adjustments for subscribe section */
@media (max-width: 575.98px) {
    .footer-subscribe-wrapper {
        flex-direction: column;
    }

    .footer-subscribe-input {
        width: 100%;
    }

    .footer-subscribe-btn {
        width: 100%;
    }
}

/* Banner Overflow Fixes */
#banner {
    overflow: hidden;
    max-width: 100vw;
}

#banner .carousel-item {
    overflow: hidden;
}

@media (min-width: 1200px) and (max-height: 800px) {
    #banner article {
        margin-bottom: 7%;
    }
}


/* ============================================
   WHATSAPP FLOATING BUTTON CSS
   ============================================ */

.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2147483647 !important;
    display: flex;
    width: 44px;
    height: 44px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 33px;
    background: var(--Red-R300, #AA2C32);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(170, 44, 50, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(170, 44, 50, 0.5);
    background: #8a2328;
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
    background: #6d1a1e;
}

/* ============================================
   MOBILE RESPONSIVE TYPOGRAPHY FIXES
   ============================================ */

@media (max-width: 767px) {

    /* Reduce banner title size on mobile */
    #banner .slide-title {
        font-size: 32px !important;
    }

    /* Reduce industries title size on mobile */
    .tech-ind-title {
        font-size: 36px !important;
    }

    .ind-we-server-sub-heading {
        font-size: 28px !important;
    }

    /* Ensure containers don't overflow */
    .container {
        overflow-x: hidden;
    }

    /* Center banner content on mobile */
    #banner .slide-content {
        justify-content: center !important;
    }
}

/* Banner card responsiveness for all templates (mobile + tablet only) */
@media (max-width: 991.98px) {
    #banner .slide-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #banner .articel-main-header-banner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 16px !important;
    }
}

/* Banner content vertical positioning - Desktop */
@media (min-width: 992px) {
    #banner .slide-content {
        padding-bottom: 80px !important;
    }
}

/* Banner content - Large Desktop: closer to bottom */
@media (min-width: 1400px) {
    #banner .slide-content {
        padding-bottom: 40px !important;
    }
}

.whatsapp-float-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Pulse animation for attention */
.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 33px;
    background: var(--Red-R300, #AA2C32);
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .whatsapp-float-btn {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .whatsapp-float-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Small-screen overflow-x fix (keeps current layout intact) */
@media (max-width: 991px) {
    html,
    body {
        overflow-x: hidden;
    }

    header,
    #banner,
    #banner .carousel,
    #banner .carousel-inner,
    #banner .carousel-item {
        overflow-x: hidden;
        max-width: 100%;
    }
}

/* Global non-video banner fix:
   header + banner = viewport, content pinned 48px from bottom
   Omni video template remains untouched */
@media (min-width: 992px) {
    body:not(.page-template-template-omni) header #banner .carousel,
    body:not(.page-template-template-omni) header #banner .carousel-inner,
    body:not(.page-template-template-omni) header #banner .carousel-item {
        min-height: min(calc(100vh - 120px), 790px) !important;
        min-height: min(calc(100dvh - 120px), 790px) !important;
        height: min(calc(100vh - 120px), 790px) !important;
        height: min(calc(100dvh - 120px), 790px) !important;
        max-height: 790px !important;
    }

    body:not(.page-template-template-omni) header #banner .slide-content:not(.video-slide-content) {
        z-index: 2;
        flex-direction: column;
        justify-content: flex-end !important;
        display: flex;
        position: relative;
        min-height: min(calc(100vh - 120px), 790px) !important;
        min-height: min(calc(100dvh - 120px), 790px) !important;
        height: min(calc(100vh - 120px), 790px) !important;
        height: min(calc(100dvh - 120px), 790px) !important;
        max-height: 790px !important;
        padding: 60px 80px 48px !important;
    }

    body:not(.page-template-template-omni) header #banner .slide-content:not(.video-slide-content) .articel-main-header-banner {
        margin-bottom: 0 !important;
    }
}

/*
 * All megamenu asides use .petrolube-megamenu-container.
 * “Simple” panels (About, Careers, …): no a.mega-menu-inner-nav-link.
 * “Products” panels: include inner category links.
 */
.petrolube-megamenu-container,
.petrolube-megamenu-container > figure {
    background: #fff !important;
}

/* —— Simple megamenus —— */
.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    padding: 0 !important;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) > figure {
    background: #fff !important;
    border: 1px solid #d9d9d9;
    gap: 0 !important;
    margin: 0 !important;
    padding: 20px 18px;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .petrolube-megamenu-container-img {
    display: none !important;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) > figure > figcaption {
    width: 100%;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .petrolube-megamenu-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .megamenu-item {
    border-right: 1px solid var(--Foundation-Grey-G60, #BCBDBD);
    padding: 6px 14px 10px;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .megamenu-item:last-child {
    border-right: 0;
}

/* When simple mega menu wraps, remove divider on each row end (5th, 10th, ...). */
.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .megamenu-item:nth-child(5n) {
    border-right: 0;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .megamenu-item-counter,
.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .mega-menu-inner-nav {
    display: none !important;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .mega-menu-inner-link {
    color: var(--Red-R300, #AA2C32) !important;
    font-family: var(--futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 150% !important;
    text-transform: uppercase !important;
    letter-spacing: 0;
    padding: 0 0 8px;
}

.petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .mega-menu-inner-excerpt {
    color: var(--Foundation-Grey-G300, #707272) !important;
    font-family: var(--futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    padding-top: 0;
}

@media (max-width: 1199px) {
    .petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .petrolube-megamenu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .megamenu-item {
        border-right: 0;
        border-bottom: 1px solid var(--Foundation-Grey-G60, #BCBDBD);
    }

    .petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .megamenu-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .petrolube-megamenu-container:not(:has(a.mega-menu-inner-nav-link)) .petrolube-megamenu-grid {
        grid-template-columns: 1fr !important;
    }
}






/* —— Products megamenu (inner category links) —— */
.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) {
    background: #d5d5d5 !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) > figure {
    background: #fff !important;
    border: 1px solid #dfdfdf;
    gap: 0 !important;
    margin: 0 !important;
    padding: 18px 20px;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .petrolube-megamenu-container-img {
    display: none !important;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) > figure > figcaption {
    width: 100%;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .petrolube-megamenu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .megamenu-item {
    padding: 8px 18px 8px;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .megamenu-item:first-child {
    border-right: 1px solid var(--Foundation-Grey-G60, #BCBDBD);
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .megamenu-item-counter,
.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .mega-menu-inner-excerpt {
    display: none !important;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .mega-menu-inner-link {
    color: var(--Red-R300, #AA2C32) !important;
    font-family: var(--futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 150% !important;
    text-transform: uppercase !important;
    padding: 0 0 10px;
    pointer-events: none !important;
    cursor: default !important;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .mega-menu-inner-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .megamenu-item[data-megamenu-index="1"] .mega-menu-inner-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .mega-menu-inner-nav-link {
    color: var(--Foundation-Grey-G300, #707272) !important;
    font-family: var(--futura) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
}

.petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .mega-menu-inner-nav-link:hover {
    color: var(--Red-R300, #AA2C32) !important;
}

@media (max-width: 1399px) {
    .header-row-2-left,
    .header-row-2-right {
        gap: 20px;
    }

    .header-row-1-icons {
        gap: 14px;
    }
}

@media (max-width: 1199px) {
    .header-row-1,
    .header-row-2 {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .petrolube-megamenu-grid {
        grid-template-columns: 1fr !important;
    }

    .petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .megamenu-item:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--Foundation-Grey-G60, #BCBDBD);
        padding-bottom: 14px;
        margin-bottom: 10px;
    }

    .petrolube-megamenu-container:has(a.mega-menu-inner-nav-link) .megamenu-item[data-megamenu-index="1"] .mega-menu-inner-nav {
        grid-template-columns: 1fr;
    }
}





