/* Header redesign with blue/red/white palette */
.redesigned-header .at_topbar {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1001;
}

.redesigned-header .at_topbar::after,
.redesigned-header .at_topbar::before {
    display: none !important;
}

/* Topbar phone & email link hover effect */
.redesigned-header .at_topbar .tp-info a {
    border-radius: 999px;
    padding: 4px 10px;
    transition: color 0.1s ease, background-color 0.1s ease, transform 0.1s ease;
    display: inline-block;
    color: #1a1a1a !important;
}

.redesigned-header .at_topbar .tp-info a:hover {
    color: #000000 !important;
    background: #DBDBDB;
}

/* Make topbar icons bigger */
.redesigned-header .at_topbar .tp-info .icon-wrapper i {
    font-size: 20px;
    color: #B33131 !important;
}

/* Make sure to change the header color for better logo visibility */
.redesigned-header .at_header_nav {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    margin-top: -1px !important;
    position: relative;
    z-index: 1;
    height: 120px !important;
    min-height: 120px !important;
    display: flex;
    align-items: center;
    transition: min-height 0.3s ease;
}

.redesigned-header.sticky-on .at_header_nav {
    height: 120px !important;
    min-height: 120px !important;
}

.redesigned-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: rgba(219, 219, 219, 0.4) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.redesigned-header.sticky-on {
    position: fixed;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: rgba(219, 219, 219, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 10000 !important;
    position: relative;
    animation: none !important;
    transition: none !important;
}

.redesigned-header .logo-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 !important;
}

.redesigned-header .logo-wrapper img {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    max-height: 106px !important;
    width: auto;
    object-fit: contain;
    padding: 0;
    filter: none !important;
    transition: none !important;
    transform: translateY(-3px) !important;
}

.redesigned-header.sticky-on .logo-wrapper img {
    max-height: 106px !important;
    filter: none !important;
    transform: translateY(-3px) !important;
}

.redesigned-nav-menu>ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.redesigned-nav-menu>ul>li {
    position: relative;
}

.redesigned-nav-menu>ul>li>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    border-radius: 999px;
    padding: 12px 18px !important;
    transition: color 0.1s ease, background-color 0.1s ease, transform 0.1s ease;
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.redesigned-nav-menu>ul>li:hover>a,
.redesigned-nav-menu>ul>li:focus-within>a {
    color: #000000 !important;
    background: #DBDBDB;
}

.redesigned-nav-menu>ul>li>a::after,
.redesigned-nav-menu>ul>li>a::before {
    display: none !important;
    content: none !important;
}

.redesigned-nav-menu>ul>li>a,
.redesigned-nav-menu>ul>li.current-menu-item>a,
.redesigned-nav-menu>ul>li.current-menu-ancestor>a,
.redesigned-nav-menu>ul>li.active>a {
    color: #1a1a1a !important;
}

/* Active state red bar underline */
.redesigned-nav-menu>ul>li>a::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #e21d2a;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.redesigned-nav-menu>ul>li.active>a::before,
.redesigned-nav-menu>ul>li:hover>a::before,
.redesigned-nav-menu>ul>li:focus-within>a::before {
    width: 60%;
}

/* Center the bar under the text (offsetting for the chevron and gap) */
.redesigned-nav-menu>ul>li.has-submenu>a::before {
    transform: translateX(calc(-50% - 8px));
}

[dir="rtl"] .redesigned-nav-menu>ul>li.has-submenu>a::before {
    transform: translateX(calc(-50% + 8px));
}

.redesigned-nav-menu ul li.has-submenu::after {
    color: #B33131;
    font-size: 12px;
    top: 17px;
    right: 5px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.redesigned-nav-menu ul li.has-submenu:hover::after,
.redesigned-nav-menu ul li.has-submenu:focus-within::after {
    color: #B33131;
    transform: rotate(180deg);
}

.redesigned-nav-menu ul li.has-submenu2.has-submenu::after {
    top: 14px;
}

/* Override for root level items: hide absolute chevron and display flex-aligned inline chevron */
.redesigned-nav-menu>ul>li.has-submenu::after {
    display: none !important;
    content: none !important;
}

.redesigned-nav-menu>ul>li.has-submenu>a::after {
    content: "\f107" !important;
    /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: #B33131;
    transition: transform 0.25s ease, color 0.25s ease !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.redesigned-nav-menu>ul>li.has-submenu:hover>a::after,
.redesigned-nav-menu>ul>li.has-submenu:focus-within>a::after {
    color: #B33131;
    transform: rotate(180deg) !important;
}

/* =========================================
   Header Dynamic Contrast — Dark Background Mode
   Default is dark/black text (for light backgrounds).
   JS adds .header-dark-bg when background luminance < threshold.
   Logo (.logo-wrapper img) is intentionally excluded.
   ========================================= */

/* Nav links → white */
.redesigned-header.header-dark-bg .redesigned-nav-menu>ul>li>a,
.redesigned-header.header-dark-bg .redesigned-nav-menu>ul>li.current-menu-item>a,
.redesigned-header.header-dark-bg .redesigned-nav-menu>ul>li.current-menu-ancestor>a,
.redesigned-header.header-dark-bg .redesigned-nav-menu>ul>li.active>a {
    color: #ffffff !important;
}

/* Has-submenu chevron → white */
.redesigned-header.header-dark-bg .redesigned-nav-menu ul li.has-submenu::after {
    color: #ffffff;
}

.redesigned-header.header-dark-bg .redesigned-nav-menu>ul>li.has-submenu>a::after {
    color: #ffffff !important;
}

/* Topbar phone / email links and their icons → white */
.redesigned-header.header-dark-bg .at_topbar .tp-info a {
    color: #ffffff !important;
}

.redesigned-header.header-dark-bg .at_topbar .tp-info .icon-wrapper i,
.redesigned-header.header-dark-bg .at_topbar .tp-info i {
    color: #ffffff !important;
}


/* Login icon button → white */
.redesigned-header.header-dark-bg .listing-btn1 {
    border-color: #ffffff;
    color: #ffffff !important;
}

.redesigned-header.header-dark-bg .listing-btn1 .icon-wrapper {
    background: #ffffff !important;
}

.redesigned-header.header-dark-bg .listing-btn1 .icon-wrapper i {
    color: #B33131 !important;
}

/* Safety rule: logo never changes */
.redesigned-header.header-dark-bg .logo-wrapper img {
    filter: none !important;
}

/* Dark background border override */
.redesigned-header.header-dark-bg {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Smooth color transition for all affected elements */
.redesigned-header .redesigned-nav-menu>ul>li>a,
.redesigned-header .at_topbar .tp-info a,
.redesigned-header .at_topbar .tp-info i {
    transition: color 0.1s ease, background-color 0.1s ease, background 0.1s ease, border-color 0.1s ease !important;
}

/* Animated dropdown */
.redesigned-nav-menu .submenu-wrapper {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transform-origin: top center;
    min-width: 270px;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #e21d2a;
    border-radius: 14px;
    background: #DBDBDB;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
    transition: opacity 0s, visibility 0s, transform 0s !important;
}

.redesigned-nav-menu .submenu-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.redesigned-nav-menu ul li:hover>.submenu-wrapper,
.redesigned-nav-menu ul li:focus-within>.submenu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    animation: dropdown-fade-in 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* .redesigned-nav-menu .submenu-wrapper li: removed overflow: hidden to allow nested submenus to overflow out */

.redesigned-nav-menu .submenu-wrapper li a {
    display: block;
    padding: 11px 16px !important;
    color: #000000 !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease, background-color 0.2s ease, padding 0.2s ease;
}

.redesigned-nav-menu .submenu-wrapper li:last-child a {
    border-bottom: 0;
}

.redesigned-nav-menu .submenu-wrapper li a:hover,
.redesigned-nav-menu .submenu-wrapper li a:focus {
    background: rgba(0, 0, 0, 0.05);
    padding-left: 20px !important;
}

.redesigned-nav-menu .submenu-wrapper .submenu-wrapper2.submenu-wrapper {
    margin-top: 0;
    border-top-width: 2px;
    transform: translateX(10px) scale(0.98);
}

.redesigned-nav-menu ul li:hover>.submenu-wrapper .submenu-wrapper2.submenu-wrapper,
.redesigned-nav-menu ul li:focus-within>.submenu-wrapper .submenu-wrapper2.submenu-wrapper {
    transform: translateX(0) scale(1);
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdown-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.redesigned-header .listing-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #B33131 !important;
    border: 2px solid #B33131;
    transition: transform 0.1s ease, background-color 0.1s ease, color 0.1s ease;
    overflow: hidden;
}

.redesigned-header .listing-btn1:hover {
    background: #DBDBDB;
    color: #000000 !important;
}

.redesigned-header .listing-btn1 .icon-wrapper {
    background: #B33131 !important;
}

.redesigned-header .listing-btn1:hover .icon-wrapper {
    background: #B33131 !important;
}

@media (max-width: 767px) {
    .redesigned-header .listing-btn1 {
        width: 37px;
        height: 37px;
    }
}

@media (max-width: 575px) {
    .redesigned-header .listing-btn1 {
        width: 33px;
        height: 33px;
    }
}

.redesigned-header .mobile-menu-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-size: 26px !important;
    color: #B33131 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    outline: none !important;
    position: relative !important;
    box-shadow: none !important;
}

@media (max-width: 1199px) {
    .redesigned-header .mobile-menu-toggle {
        display: inline-flex !important;
    }
}

.redesigned-header .mobile-menu-toggle:hover {
    transform: scale(1.05) !important;
}

.redesigned-header.header-dark-bg .mobile-menu-toggle {
    color: #ffffff !important;
}

.redesigned-header .mobile-menu-toggle .open-toggle,
.redesigned-header .mobile-menu-toggle .close-toggle {
    position: absolute !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
}

.redesigned-header .mobile-menu-toggle .close-toggle {
    opacity: 0 !important;
    transform: scale(0.6) rotate(-90deg) !important;
}

.redesigned-header .mobile-menu-toggle .open-toggle {
    opacity: 1 !important;
    transform: scale(1) rotate(0deg) !important;
}

.redesigned-header .mobile-menu-toggle.is-active .close-toggle {
    opacity: 1 !important;
    transform: scale(1) rotate(0deg) !important;
}

.redesigned-header .mobile-menu-toggle.is-active .open-toggle {
    opacity: 0 !important;
    transform: scale(0.6) rotate(90deg) !important;
}

@media (max-width: 1199px) {
    .redesigned-header .at_header_nav {
        height: 85px !important;
        min-height: 85px !important;
    }

    .redesigned-header.sticky-on .at_header_nav {
        height: 85px !important;
        min-height: 85px !important;
    }

    .redesigned-header .logo-wrapper img {
        max-height: 84px !important;
        padding: 0;
        filter: none !important;
        transform: translateY(4px) !important;
    }

    .redesigned-header.sticky-on .logo-wrapper img {
        max-height: 84px !important;
        filter: none !important;
        transform: translateY(4px) !important;
    }
}

/* Avoid wrapping on all main menu links */
.redesigned-nav-menu>ul>li>a {
    white-space: nowrap !important;
}

/* Fluid responsive spacing for header container & navigation menu on desktop viewports */
@media (min-width: 1200px) {

    .container,
    .redesigned-header .at_header_nav>.container {
        max-width: 1440px !important;
        width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        transition: padding 0.25s ease, max-width 0.25s ease !important;
    }
}

@media (max-width: 1449px) and (min-width: 1350px) {

    .container,
    .redesigned-header .at_header_nav>.container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .redesigned-nav-menu>ul {
        gap: 8px !important;
    }

    .redesigned-nav-menu>ul>li>a {
        padding: 10px 14px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 1349px) and (min-width: 1250px) {

    .container,
    .redesigned-header .at_header_nav>.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .redesigned-nav-menu>ul {
        gap: 6px !important;
    }

    .redesigned-nav-menu>ul>li>a {
        padding: 8px 10px !important;
        font-size: 14.5px !important;
    }
}

@media (max-width: 1249px) and (min-width: 1200px) {

    .container,
    .redesigned-header .at_header_nav>.container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .redesigned-nav-menu>ul {
        gap: 4px !important;
    }

    .redesigned-nav-menu>ul>li>a {
        padding: 6px 8px !important;
        font-size: 14px !important;
    }
}

/* Footer redesign to match header */
.footer-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-section .footer-wrapper {
    /* border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    background-color: #1A425B !important;
    background-image: none !important;
}

.footer-section .footer-wrapper::before,
.footer-section .footer-wrapper::after {
    display: none !important;
}

.footer-section .footer-copyright {
    background: #1A425B !important;
    border-top: none !important;
}

/* Home slider adjustments */
.at-hero-slider-wrapper {
    margin-top: 0;
}

/* Product description hero slider: square-cropped slides */
.product-hero-slider .swiper-slide {
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.product-hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Non-/products hero slider (ATS, Re-engineering-&-Manufacturing): images keep their
   native aspect ratio and are centered in the slide with no visible fill around them. */
.hero-slider-contain .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-slider-contain .swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: transparent;
}

/* .home-slider-image {
    filter: brightness(0.4);
} */

.home-slider-image {
    display: block;
}

/* =========================================
   Hero Glassmorphism Overlay
   ========================================= */

.hero-section-wrapper {
    position: relative;
}

/* Shared glass card base */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* Card Entry Animation */
@keyframes fadeUpIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay container: full hero height, items centered horizontally */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 100px;
    padding: 60px 5% 60px;
    pointer-events: none;
}

/* Main large box (left) — floats higher */
.hero-main-box {
    pointer-events: all;
    padding: 72px 64px;
    max-width: 850px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Side cards wrapper — on the right, vertically lower */
.hero-side-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: all;
    align-self: flex-end;
    margin-bottom: 0;
}

/* Individual side card */
.hero-side-card {
    padding: 40px 48px;
    min-width: 580px;
    max-width: 660px;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-side-card:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-side-card:nth-child(2) {
    animation-delay: 0.4s;
}

/* Hero label (small tag above heading) */
.hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6CA1CC;
    margin-bottom: 14px;
}

/* Main box heading */
.hero-main-title {
    color: #ffffff;
    font-size: 49.4px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

/* Main box sub-text */
.hero-main-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 36px;
}

/* CTA button inside main box */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #e21d2a;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 38px;
    border-radius: 999px;
    text-decoration: none !important;
    border: 2px solid #e21d2a;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(226, 29, 42, 0.28);
    width: fit-content;
}

.hero-cta-btn:hover {
    background: #ffffff !important;
    color: #e21d2a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(226, 29, 42, 0.22);
}

/* Side card heading */
.hero-side-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Side card sub-text */
.hero-side-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Side card link */
.hero-side-link {
    color: #6CA1CC !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
    display: inline-block;
}

.hero-side-link:hover {
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

/* =========================================
   Hero Overlay — Tablet & Desktop Responsive
   ========================================= */

@media (max-width: 1500px) {
    .hero-overlay {
        gap: 50px;
    }
    .hero-main-box {
        max-width: 650px;
        padding: 56px 48px;
        min-height: 480px;
    }
    .hero-side-card {
        min-width: 480px;
        padding: 32px 40px;
    }
    .hero-main-title {
        font-size: 40px;
    }
    .hero-main-sub {
        font-size: 18px;
    }
}

@media (max-width: 1199px) {
    .hero-overlay {
        gap: 24px;
        padding-left: 2%;
        padding-right: 2%;
    }
    .hero-main-box {
        max-width: 520px;
        padding: 40px 32px;
        min-height: 420px;
    }
    .hero-side-card {
        min-width: 380px;
        padding: 24px 32px;
    }
    .hero-main-title {
        font-size: 34px;
    }
    .hero-main-sub {
        font-size: 15px;
    }
    .hero-side-title {
        font-size: 20px;
    }
    .hero-side-sub {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .hero-cta-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
    .hero-side-link {
        font-size: 16px;
    }
}

/* =========================================
   Hero Overlay — Mobile Responsive
   ========================================= */

@media (max-width: 991px) {
    .hero-section-wrapper {
        display: flex;
        flex-direction: column;
    }

    .hero-section-wrapper .at-hero-slider-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .home-slider-image {
        min-height: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-section-wrapper .swiper,
    .hero-section-wrapper .swiper-wrapper,
    .hero-section-wrapper .swiper-slide,
    .hero-section-wrapper .home-slide {
        height: 100%;
    }

    .hero-overlay {
        position: relative;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 40px 16px 24px;
        z-index: 10;
        min-height: 600px;
    }

    .hero-main-box {
        align-self: center;
        margin-top: 0;
        min-height: unset;
        max-width: 100%;
        padding: 24px 20px;
        width: 100%;
    }

    .hero-main-title {
        font-size: 20.9px;
        margin-bottom: 8px;
    }

    .hero-main-sub {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .hero-cta-btn {
        font-size: 13px;
        padding: 10px 22px;
    }

    /* Hide side cards on mobile */
    .hero-side-cards {
        display: none;
    }

    .hero-label {
        font-size: 10px;
        margin-bottom: 6px;
    }
}

/* =========================================
   Partners Ribbon
   ========================================= */

.partners-ribbon {
    background-color: #1F2937;
    padding: 15px 0 30px;
    /* Reduced top padding */
    text-align: center;
    margin-top: -2px;
    position: relative;
    z-index: 2;
}

.partners-title {
    font-size: 49.4px;
    /* Matched to main box header */
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 45px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    /* Subtle tightening to match bold headings */
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
}

/* Partners Scroll Animation */
.partners-logos-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.partners-animate-scroll {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.partners-animate-scroll:hover {
    animation-play-state: paused;
}

.partners-logos-nowrap {
    flex-wrap: nowrap !important;
    padding: 0 18px !important; /* Adjust gap for seamless loop */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
    padding: 0 20px;
}

.partner-logo-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.partner-logo-item:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.partner-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.partner-logo-placeholder {
    min-width: 140px;
    height: 75px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    padding: 0 15px;
}

/* No-box modifier — hides the glass-card background/border */
.partner-logo-item--no-box {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 12px;
}

.partner-logo-item--no-box:hover {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .partners-ribbon {
        padding: 40px 0;
    }

    .partners-title {
        font-size: 20.9px;
        /* Matched to main box header mobile size */
        margin-bottom: 30px;
    }

    .partners-logos-container {
        gap: 30px;
    }

    .partners-logos-nowrap {
        padding: 0 15px !important; /* Adjust gap for mobile seamless loop (15px + 15px = 30px gap) */
    }
}

/* Scroll-to-top button redesign to match header */
.theme-scrolltop-btn {
    background: #2A5679 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease !important;
}

.theme-scrolltop-btn:hover {
    background: #DBDBDB !important;
    color: #000000 !important;
    transform: translateY(-3px);
}

/* =========================================
   Footer Redesign — Premium Modern Style
   ========================================= */

/* Background gradient matching header palette */
.redesigned-footer .footer-wrapper {
    background-color: #1A425B !important;
    background-image: none !important;
}

.redesigned-footer .footer-wrapper::before,
.redesigned-footer .footer-wrapper::after {
    display: none !important;
}

/* Section titles */
.redesigned-footer .footer-section-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: none;
}

.redesigned-footer .footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e21d2a;
    border-radius: 2px;
}

/* Contact info icon wrappers — glassmorphic */
.redesigned-footer .phone-box .icon-wrapper,
.redesigned-contact-page .phone-box .icon-wrapper,
.redesigned-contact-page .contact-social .icon-wrapper {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    min-width: 44px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.redesigned-contact-page .contact-sidebar-widget .icon-wrapper i {
    color: #000000 !important;
}

/* Contact info row — pill-button style matching header */
.redesigned-footer .phone-box,
.redesigned-contact-page .phone-box {
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
    padding: 8px 14px;
    border-radius: 999px;
    margin-left: -14px;
    width: fit-content;
}

.redesigned-footer .phone-box:hover,
.redesigned-contact-page .phone-box:hover {
    background: #DBDBDB;
    transform: translateY(-2px);
}

.redesigned-footer .phone-box:hover .icon-wrapper,
.redesigned-contact-page .phone-box:hover .icon-wrapper {
    background: transparent !important;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.redesigned-footer .phone-box:hover .icon-wrapper i {
    color: #000000 !important;
}

.redesigned-contact-page .phone-box:hover .icon-wrapper i,
.redesigned-contact-page .contact-social .icon-wrapper:hover i {
    color: #B33131 !important;
}

.redesigned-footer .phone-box:hover span:not(.icon-wrapper),
.redesigned-footer .phone-box:hover a,
.redesigned-contact-page .phone-box:hover span:not(.icon-wrapper),
.redesigned-contact-page .phone-box:hover a {
    color: #000000 !important;
}

/* Map frame — rounded with shadow */
.redesigned-footer .footer-map-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.redesigned-footer .footer-map-frame .map-area-footer {
    padding: 0;
}

/* Form inputs — translucent with glow */
.redesigned-footer .ct-form-wrapper input,
.redesigned-footer .ct-form-wrapper textarea,
.redesigned-contact-page .ct-form-wrapper input,
.redesigned-contact-page .ct-form-wrapper textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.redesigned-footer .ct-form-wrapper input:focus,
.redesigned-footer .ct-form-wrapper textarea:focus,
.redesigned-contact-page .ct-form-wrapper input:focus,
.redesigned-contact-page .ct-form-wrapper textarea:focus {
    border-color: #6CA1CC !important;
    box-shadow: 0 0 0 3px rgba(108, 161, 204, 0.25);
    background: rgba(255, 255, 255, 0.12) !important;
    outline: none;
}

.redesigned-footer .ct-form-wrapper input::placeholder,
.redesigned-footer .ct-form-wrapper textarea::placeholder,
.redesigned-contact-page .ct-form-wrapper input::placeholder,
.redesigned-contact-page .ct-form-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Form labels */
.redesigned-footer .ct-form-wrapper label,
.redesigned-contact-page .ct-form-wrapper label {
    font-size: 13px;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Submit button — pill-shaped CTA */
.redesigned-footer .ct-form-wrapper button[type="submit"],
.redesigned-contact-page .ct-form-wrapper button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e21d2a !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 999px !important;
    text-decoration: none !important;
    border: 2px solid #e21d2a !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(226, 29, 42, 0.28);
    cursor: pointer;
}

.redesigned-footer .ct-form-wrapper button[type="submit"]:hover,
.redesigned-contact-page .ct-form-wrapper button[type="submit"]:hover {
    background: #ffffff !important;
    color: #e21d2a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(226, 29, 42, 0.22);
}

/* Copyright bar */
.redesigned-footer .footer-copyright {
    border-top: none !important;
    padding: 9px 0;
    margin-top: 0 !important;
    background: #1A425B !important;
}

.redesigned-footer .footer-copyright .copyright-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
}

/* Legal links — pill hover chips */
.redesigned-footer .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.redesigned-footer .footer-legal-links a {
    color: #6CA1CC !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 14px;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    border: 1px solid rgba(108, 161, 204, 0.25);
}

.redesigned-footer .footer-legal-links a:hover {
    color: #000000 !important;
    background: #DBDBDB;
    transform: translateY(-2px);
}

/* Developer credit link */
.redesigned-footer .footer-copyright .copyright-text a:not(.footer-legal-links a) {
    color: #6CA1CC !important;
    transition: color 0.25s ease;
    text-decoration: none;
}

.redesigned-footer .footer-copyright .copyright-text a:not(.footer-legal-links a):hover {
    color: #ffffff !important;
}

/* ---- Mobile responsive footer ---- */
@media (max-width: 991px) {
    .redesigned-footer .container {
        padding-left: 35px;
        padding-right: 35px;
    }

    .redesigned-footer .footer-section-title {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .redesigned-footer .footer-legal-links {
        justify-content: center;
    }

    .redesigned-footer .phone-box:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .redesigned-footer .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .redesigned-footer .footer-section-title {
        font-size: 17px;
    }

    .redesigned-footer .footer-legal-links {
        flex-direction: column;
        align-items: center;
    }

    .redesigned-footer .footer-legal-links a {
        width: fit-content;
    }
}

/* =========================================
   Mobile Menu Redesign — Premium Style
   ========================================= */

.redesigned-mobile-menu {
    background: #366E9B !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 40px 24px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s !important;
    border: none !important;
    overflow-y: auto;
    left: 0 !important;
    top: 120px !important;
    /* Adjusted for desktop default, will override in media query */
    height: calc(100vh - 120px) !important;
    transform: translateX(-100%);
    visibility: hidden;
    position: fixed !important;
    z-index: 999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 1199px) {
    .redesigned-mobile-menu {
        top: 85px !important;
        height: calc(100vh - 85px) !important;
    }
}

.redesigned-mobile-menu.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
}

/* Mobile menu styling updates */

/* Removed .close-menu styles */

.redesigned-mobile-menu .mobile-menu-wrapper ul li {
    opacity: 1;
}

.redesigned-mobile-menu.is-open .mobile-menu-wrapper ul li {
    opacity: 1;
}

/* Staggered delays removed for navigation items */

.redesigned-mobile-menu .mobile-menu-wrapper ul li a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 14px 20px !important;
    border-radius: 999px !important;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease !important;
    display: block !important;
    margin-bottom: 6px !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li a:hover,
.redesigned-mobile-menu .mobile-menu-wrapper ul li a.active {
    background: #DBDBDB !important;
    color: #000000 !important;
    transform: translateX(8px);
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.has-submenu>a {
    padding-right: 20px !important;
    position: relative;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.has-submenu>a::after {
    display: none !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.has-submenu>a.icon-rotate::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Split button layout for Products mobile dropdown */
.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item {
    margin-bottom: 6px !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .menu-item-link-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
    width: 100% !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .menu-item-link-row:hover {
    background: #DBDBDB !important;
    transform: translateX(8px);
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .menu-item-link-row a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 14px 20px !important;
    transition: color 0.25s ease !important;
    display: block !important;
    margin-bottom: 0 !important;
    flex-grow: 1 !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .menu-item-link-row a:hover {
    background: transparent !important;
    transform: none !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .menu-item-link-row:hover a {
    color: #000000 !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .submenu-toggle-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 18px !important;
    padding: 14px 24px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .menu-item-link-row:hover .submenu-toggle-btn {
    color: #000000 !important;
}

.redesigned-mobile-menu .mobile-menu-wrapper ul li.main-products-menu-item .submenu-toggle-btn.icon-rotate {
    transform: rotate(180deg) !important;
}

.redesigned-mobile-menu .submenu-wrapper {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    margin: 10px 0 !important;
    padding: 10px 0 !important;
    border-left: 3px solid #6CA1CC !important;
    display: none;
    /* JS toggles this */
}

.redesigned-mobile-menu .submenu-wrapper li a {
    font-size: 16px !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
    padding: 10px 24px !important;
}

/* Contact info in mobile menu */
.redesigned-mobile-menu .contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

.redesigned-mobile-menu.is-open .contact-info {
    opacity: 1;
    transform: translateY(0);
}

.redesigned-mobile-menu .contact-info h4 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.redesigned-mobile-menu .contact-info .mobile-contact-btn {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
    width: fit-content;
}

.redesigned-mobile-menu .contact-info .mobile-contact-btn:hover {
    background: #DBDBDB !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

.redesigned-mobile-menu .social-contact {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

.redesigned-mobile-menu .social-contact a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.redesigned-mobile-menu .social-contact a:hover {
    background: #e21d2a !important;
    transform: translateY(-3px) scale(1.1);
    color: #ffffff !important;
}

/* Burger menu toggle animation/styling */
/* Burger to X animation (Ref: User Pattern) */
.redesigned-header .mobile-menu-toggle {
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    z-index: 1002 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.redesigned-header .mobile-menu-toggle:hover {
    background: transparent !important;
}

.redesigned-header .mobile-menu-toggle svg {
    width: 32px !important;
    height: 32px !important;
}

/* =========================================
   Contact Page Redesign
   ========================================= */

.redesigned-contact-page {
    padding: 120px 0;
}

.redesigned-contact-page .glass-card {
    background: #F2F2F2 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #C4C4C4 !important;
    border-radius: 20px;
}

.redesigned-contact-page .contact-form-area,
.redesigned-contact-page .contact-sidebar-widget {
    color: #333333 !important;
}

.redesigned-contact-page h4,
.redesigned-contact-page h6 {
    color: #1E3A52 !important;
}

.redesigned-contact-page .icon-wrapper {
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    /* Center handles the "padding" feel */
}

.redesigned-contact-page .icon-wrapper i {
    color: #000000 !important;
    font-size: 18px !important;
    margin: 0 !important;
}

.redesigned-contact-page .phone-box span:not(.icon-wrapper),
.redesigned-contact-page .phone-box a {
    color: #333333 !important;
}

.redesigned-contact-page .phone-box:hover span:not(.icon-wrapper),
.redesigned-contact-page .phone-box:hover a {
    color: #000000 !important;
}

.redesigned-contact-page hr {
    border-color: rgba(0, 0, 0, 0.05) !important;
    opacity: 1;
}

.redesigned-contact-page .ct-form-wrapper input,
.redesigned-contact-page .ct-form-wrapper textarea {
    background: #F2F2F2 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
}

.redesigned-contact-page .ct-form-wrapper label {
    color: #1E3A52 !important;
}

.redesigned-contact-page .ct-form-wrapper input::placeholder,
.redesigned-contact-page .ct-form-wrapper textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.redesigned-contact-page .btn {
    padding-left: 30px !important;
    padding-right: 30px !important;
}




/* =========================================
   Contact Page Breadcrumb Customization
   ========================================= */

.contact-breadcrumb-custom {
    padding: 320px 0 280px !important;
    background-size: cover !important;
    background-position: left bottom !important;
    position: relative;
}

.breadcrumb-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    z-index: 1;
    pointer-events: none;
}

.contact-breadcrumb-custom .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .contact-breadcrumb-custom {
        padding: 240px 0 160px !important;
        background-size: cover !important;
        background-position: left bottom !important;
    }
}

/* =========================================
   Product Pages Redesign
   ========================================= */

/* ---- Breadcrumb: product pages (no image, dark gradient) ---- */
.product-breadcrumb-custom {
    background: linear-gradient(135deg, #1E3A52 0%, #2A5679 60%, #366E9B 100%) !important;
    padding: 100px 0 70px !important;
}

.product-breadcrumb-custom h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
    .product-breadcrumb-custom {
        padding: 80px 0 50px !important;
    }

    .product-breadcrumb-custom h1 {
        font-size: 1.8rem;
    }
}

/* ---- Premium Product Card ---- */
.product-card-premium {
    background: #2E76A3;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border: 3px solid #e21d2a;
    border-top-color: transparent;
    border-radius: inherit;
    transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out, border-top-color 0s;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
    opacity: 0;
}

.product-card-premium:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 30px 70px rgba(0, 0, 0, 0.22);
}

.product-card-premium:hover::after {
    height: 100%;
    opacity: 1;
    border-top-color: #e21d2a;
    transition: height 0.2s ease-in-out, opacity 0.1s ease-in-out, border-top-color 0.1s ease-in-out 0.15s;
}

/* Card image container */
.product-card-premium .product-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f0f2f5;
    flex-shrink: 0;
}

.product-card-premium .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}



.product-card-premium:hover .product-card-img img {
    transform: scale(1.06);
}

/* Category badge overlaid on image */
.product-card-premium .product-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(30, 58, 82, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(108, 161, 204, 0.35);
    color: #6CA1CC;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.product-card-premium .product-card-badge:hover {
    background: #e21d2a;
    color: #ffffff;
    border-color: #e21d2a;
}

/* Card body */
.product-card-premium .product-card-body {
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}



.product-card-premium .product-card-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: block;
}



.product-card-premium .product-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card-premium .product-card-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.product-card-premium .product-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}



.product-card-premium .product-card-arrow:hover {
    background: #e21d2a;
    border-color: #e21d2a;
    color: #ffffff;
    transform: translateX(3px);
}

/* Innovation Blog Card overrides for Product pages */
.blog-section .blog-card {
    background: #2E76A3 !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.blog-section .blog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border: 3px solid #e21d2a;
    border-top-color: transparent;
    border-radius: inherit;
    transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out, border-top-color 0s;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
    opacity: 0;
}

.blog-section .blog-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 30px 70px rgba(0, 0, 0, 0.22) !important;
}

.blog-section .blog-card:hover::after {
    height: 100%;
    opacity: 1;
    border-top-color: #e21d2a;
    transition: height 0.2s ease-in-out, opacity 0.1s ease-in-out, border-top-color 0.1s ease-in-out 0.15s;
}

.blog-card .text_card_blog {
    position: relative;
}



.blog-section .blog-card .blog-title {
    color: #ffffff !important;
}

.blog-section .blog-card .date {
    color: rgba(255, 255, 255, 0.7) !important;
}

.blog-section .blog-card .blog-explore-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.blog-section .blog-card .blog-explore-btn:hover {
    background: #e21d2a !important;
    border-color: #e21d2a !important;
}

/* ---- Product Listing Section ---- */
.product-listing-section {
    padding: 60px 0 80px;
    background: #f5f7fa;
}

/* Category description panel (white card) */
.product-category-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 48px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 12px 36px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.product-category-panel .editor-text,
.product-category-panel p,
.product-category-panel li {
    color: #444444 !important;
    font-size: 15.5px;
    line-height: 1.7;
}

.product-category-panel h1,
.product-category-panel h2,
.product-category-panel h3,
.product-category-panel h4 {
    color: #1E3A52 !important;
}

/* Image slider in category panel */
.product-category-panel .swiper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Category Sidebar (is_brand pages) */
.product-category-sidebar {
    background: #F2F2F2;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.product-category-sidebar .sidebar-header {
    background: linear-gradient(135deg, #1E3A52 0%, #2A5679 100%);
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-category-sidebar .sidebar-header h5 {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

.product-category-sidebar .sidebar-header h5::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #e21d2a;
    border-radius: 2px;
    margin-top: 10px;
}

.product-category-sidebar ul {
    list-style: none;
    padding: 14px 0;
    margin: 0;
}

.product-category-sidebar ul li a {
    display: block;
    padding: 10px 24px;
    color: #000000 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    border-left: 3px solid transparent;
}

.product-category-sidebar ul li a:hover {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.04);
    padding-left: 30px;
    border-left-color: #e21d2a;
}

.product-category-sidebar ul li a.color-secondary {
    color: #000000 !important;
    border-left-color: #e21d2a;
    background: rgba(226, 29, 42, 0.06);
    padding-left: 30px;
}

.product-category-sidebar ul li ul {
    padding: 4px 0;
}

.product-category-sidebar ul li ul li a {
    padding-left: 36px;
    font-size: 13px;
    font-weight: 500;
}

.product-category-sidebar ul li ul li ul li a {
    padding-left: 50px;
}

/* ---- Product Detail (show) Hero Section ---- */
.product-hero-section {
    background: #f4f5f7;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.product-hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6CA1CC;
    margin-bottom: 14px;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.product-hero-label:hover {
    color: #ffffff;
}

.product-hero-title {
    color: #111010;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.product-hero-subtitle {
    color: #555555;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

/* Product image on the right inside the hero */
.product-hero-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.product-hero-img-wrapper img {
    max-height: 340px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: product-float 4s ease-in-out infinite;
}

@keyframes product-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---- Product Content Area ---- */
.product-content-section {
    padding: 60px 0 80px;
    background: #f5f7fa;
}

.product-content-glass {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 40px 48px;
}

.product-content-glass .editor-text {
    color: #333333;
    font-size: 15.5px;
    line-height: 1.75;
}

.product-content-glass h1,
.product-content-glass h2,
.product-content-glass h3,
.product-content-glass h4 {
    color: #1E3A52;
}

/* Parts list (horizontal rule list matching reference) */
.product-parts-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.product-parts-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
    font-weight: 600;
    color: #1E3A52;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    cursor: default;
}

.product-parts-list li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.product-parts-list li:hover {
    color: #e21d2a;
    padding-left: 8px;
}

.product-parts-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e21d2a;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.product-parts-list li:hover::before {
    transform: scale(1.4);
}

/* ---- Product Detail Sidebar ---- */
.product-detail-sidebar {
    position: sticky;
    top: 110px;
}

.product-sidebar-panel {
    background: #1E3A52;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-sidebar-panel .panel-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-sidebar-panel .panel-header h5 {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
}

.product-sidebar-panel .panel-header h5::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: #e21d2a;
    border-radius: 2px;
    margin-top: 8px;
}

.product-sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.product-sidebar-item:last-child {
    border-bottom: none;
}

.product-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.product-sidebar-item .sidebar-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0d2035;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-sidebar-item .sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-sidebar-item .sidebar-item-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.product-sidebar-item:hover .sidebar-item-title {
    color: #6CA1CC;
}

.product-sidebar-item .sidebar-item-date {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .product-hero-title {
        font-size: 2.4rem;
    }

    .product-content-glass {
        padding: 28px 28px;
    }

    .product-category-panel {
        padding: 28px 28px;
    }
}

@media (max-width: 991px) {
    .product-hero-section {
        padding: 40px 0 50px;
    }

    .product-hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .product-hero-img-wrapper {
        margin-top: 30px;
    }

    .product-hero-img-wrapper img {
        max-height: 220px;
        animation: none;
    }

    .product-content-glass {
        padding: 22px 18px;
    }

    .product-detail-sidebar {
        position: static;
        margin-top: 30px;
    }

    .product-listing-section {
        padding: 40px 0 60px;
    }

    .product-category-panel {
        padding: 22px 18px;
        margin-bottom: 28px;
    }
}

@media (max-width: 575px) {
    .product-hero-title {
        font-size: 1.5rem;
    }

    .product-card-premium .product-card-img {
        height: 180px;
    }
}

/* =========================================
   Product Pages Layout Fixes
   ========================================= */

.catalog-section {
    padding: 60px 0 80px;
}

/*---- Products Page Header ----*/
.catalog-page-header {
    margin-bottom: 50px;
    padding-bottom: 0;
    text-align: center;
}

.catalog-page-title {
    color: #1E3A52;
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    display: inline-block;
}

.catalog-page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e21d2a;
    margin: 15px 0 0;
    border-radius: 2px;
}

.catalog-main-content {
    padding-left: 50px;
}

@media (max-width: 991px) {
    .catalog-main-content {
        padding-left: 0;
    }
}

.product-hero-section {
    padding: 120px 0 60px;
}

.blog-section {
    padding-top: 120px !important;
}

/* =========================================
   Dynamic Fullwidth Hero & Centered Image
   ========================================= */
.dynamic-hero-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 0;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .hero-overlay-header {
        position: absolute;
        left: 15px;
        /* aligns with bootstrap container */
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        max-width: 50%;
    }
}

/* =========================================
   Product Detail (show.blade) Main Content
   ========================================= */

.product-content-glass {
    background: transparent;
    padding: 0;
    margin-top: 40px;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* =========================================
   Catalog Thumbnail Card
   ========================================= */

.catalog-thumb-card {
    background: #2E76A3;
    border-radius: 14px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 16px 36px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.catalog-thumb-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border: 3px solid #e21d2a;
    border-top-color: transparent;
    border-radius: inherit;
    transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out, border-top-color 0s;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
    opacity: 0;
}

.catalog-thumb-card--link:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25), 0 28px 60px rgba(0, 0, 0, 0.2);
}

.catalog-thumb-card:hover::after,
.catalog-thumb-card--link:hover::after {
    height: 100%;
    opacity: 1;
    border-top-color: #e21d2a;
    transition: height 0.2s ease-in-out, opacity 0.1s ease-in-out, border-top-color 0.1s ease-in-out 0.15s;
}

/* Image wrapper — fixed aspect ratio */
.catalog-thumb-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #ffffff;
    flex-shrink: 0;
    padding: 10px;
}

/* The image itself */
.catalog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


.catalog-thumb-card--link:hover .catalog-thumb-img {
    transform: scale(1.07);
}

/* Hover overlay with arrow */
.catalog-thumb-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.175s ease;
}

.catalog-thumb-card--link:hover .catalog-thumb-overlay {
    opacity: 1;
}

.catalog-thumb-eye {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e21d2a;
    color: #ffffff;
    font-size: 18px;
    transform: scale(0.8);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-thumb-card--link:hover .catalog-thumb-eye {
    transform: scale(1);
}

/* Name below image */
.catalog-thumb-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}



.catalog-thumb-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    display: block;
    transition: color 0.2s ease;
}



.catalog-thumb-title--plain {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

/* Responsive tweaks */
@media (max-width: 575px) {
    .catalog-thumb-title {
        font-size: 13px;
    }
}

/* =========================================
   Product Spec Cards (DB-backed)
   =========================================
   Rendered by front/product/show.blade.php from the
   product_spec_cards table: a centered flex grid of
   fixed 168 px square cards. We own this markup, so
   no CKEditor list-decoration hacks are needed.
*/

.product-specs-content ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 4px 2px 8px;
    margin: 24px auto;
}

.product-specs-content ul li {
    width: 168px;
    height: 168px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
    cursor: default;
    flex-shrink: 0;
}

/* Font Awesome icon */
.specs-card-icon {
    font-size: 32px;
    color: #366E9B;
    line-height: 1;
    display: block;
}

/* Uploaded image icon */
.specs-card-img-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.specs-card-text {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1E3A52;
    line-height: 1.2;
    padding: 0 10px;
    max-width: 100%;
}

/* ---- Mobile: smaller cards for better fit ---- */
@media (max-width: 767px) {
    .product-specs-content ul {
        max-width: 100%;
        gap: 8px;
        padding: 4px 0 8px;
    }

    .product-specs-content ul li {
        flex: 0 0 calc(33.33% - 6px);
        /* Force 3 per row (with gap allowance) */
        min-width: 100px;
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        gap: 6px;
        border-radius: 10px;
    }

    .specs-card-icon {
        font-size: 18px;
    }

    .specs-card-img-icon {
        width: 32px;
        height: 32px;
    }

    .specs-card-text {
        font-size: 10px;
        padding: 0 4px;
    }
}


/* =========================================
   Get a Quote CTA Button
   ========================================= */

.product-get-quote-wrapper {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 999;
    margin: 0;
}

.product-get-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e21d2a;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 14px 34px;
    border-radius: 999px;
    text-decoration: none !important;
    border: 2px solid #e21d2a;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(226, 29, 42, 0.30);
}

.product-get-quote-btn i {
    font-size: 17px;
    transition: transform 0.25s ease;
}

.product-get-quote-btn:hover {
    background: #ffffff;
    color: #e21d2a !important;
    border-color: #e21d2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(226, 29, 42, 0.25);
}

.product-get-quote-btn:hover i {
    transform: rotate(-10deg) scale(1.15);
}

@media (max-width: 575px) {
    .product-get-quote-wrapper {
        bottom: 20px;
        right: 20px;
        left: auto;
    }

    .product-get-quote-btn {
        font-size: 14px;
        padding: 10px 20px;
        width: auto;
    }

    .theme-scrolltop-btn {
        display: none !important;
    }
}

/* =========================================
   Contact Page Breadcrumb Gradient - Refined
   ========================================= */
.contact-breadcrumb-custom {
    background-image: linear-gradient(135deg, #5CA4D1 0%, #3890C7 33%, #2E76A3 66%, #245C7F 100%) !important;
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-breadcrumb-custom h1 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-breadcrumb-custom p {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.25rem !important;
    max-width: 600px;
    margin: 20px auto 0 !important;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Homepage Premium Split Video & Text Section
   ========================================= */
.homepage-video-section {
    position: relative;
    background: #ffffff;
    /* Crisp white background */
    padding: 90px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Light border */
}

.homepage-video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/custom/turbine-worker.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    /* Increased opacity by 10% (0.16) for slightly higher watermark visibility */
    z-index: 1;
    pointer-events: none;
}

.homepage-video-section .container {
    position: relative;
    z-index: 2;
    /* Content above watermark */
}

.video-section-subtitle {
    font-size: 13px;
    letter-spacing: 2.5px;
    color: #B33131 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
}

.video-section-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 38px;
    font-weight: 800;
    color: #1A425B;
    /* Premium brand blue */
    line-height: 1.25;
    letter-spacing: -1px;
}

.video-section-text {
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
    /* Elegant dark slate gray body text */
    margin-bottom: 0;
}

.video-lightbox-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Enforce premium 16:9 widescreen aspect ratio */
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    /* Stronger shadow on dark background */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: #000;
    overflow: hidden;
}

.video-lightbox-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 3;
}

.video-cover-img {
    height: 100%;
    /* Dynamically matches the 16:9 aspect ratio wrapper height */
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.9);
}

.video-cover-overlay {
    background: rgba(0, 0, 0, 0.2);
    /* Clean, subtle overlay */
    z-index: 2;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* Hover Effects on the entire container */
.video-lightbox-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.video-lightbox-wrapper:hover .video-cover-img {
    transform: scale(1.04);
    filter: brightness(0.75);
}

.video-lightbox-wrapper:hover .video-cover-overlay {
    background: rgba(26, 66, 91, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Premium Play Button & Pulses */
.premium-play-button {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(179, 49, 49, 0.3);
    position: relative;
    z-index: 5;
    text-decoration: none !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
}

.play-icon {
    font-size: 24px;
    color: #B33131;
    margin-left: 4px;
    /* Offset to visually center the play triangle */
    transition: color 0.3s ease, transform 0.3s ease;
}

.play-pulse,
.play-pulse-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.play-pulse {
    animation: playPulse 2.5s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}

.play-pulse-2 {
    animation: playPulse 2.5s infinite 1.25s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.video-lightbox-wrapper:hover .premium-play-button {
    transform: scale(1.1);
    background: #B33131;
    box-shadow: 0 15px 35px rgba(179, 49, 49, 0.5);
}

.video-lightbox-wrapper:hover .play-icon {
    color: #ffffff;
    transform: scale(1.05);
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
        border-color: rgba(255, 255, 255, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .homepage-video-section {
        padding: 60px 0;
    }

    .video-section-content {
        text-align: center;
        margin-bottom: 25px;
    }

    .video-section-title {
        font-size: 30px;
    }

    .premium-play-button {
        width: 70px;
        height: 70px;
    }

    .play-icon {
        font-size: 20px;
    }
}

/* =========================================
   Language Switcher — circular flag + abbrev
   ========================================= */
.lang-switcher-wrapper {
    margin-left: 14px;
    position: relative;
    margin-top: 3px;
}

[dir="rtl"] .lang-switcher-wrapper {
    margin-left: 0;
    margin-right: 14px;
}

.absolute-lang-switcher {
    position: absolute !important;
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    margin: 0 !important;
}

[dir="rtl"] .absolute-lang-switcher {
    right: 20px !important;
    left: auto !important;
    margin: 0 !important;
}

.lang-switcher {
    position: relative;
}

/* ---- Trigger button — matches topbar link animation ---- */
.lang-switcher-btn {
    background: transparent;
    border: 1px solid #dbdbdb;
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    cursor: pointer;
    gap: 7px;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.1s ease, background-color 0.1s ease, transform 0.1s ease, border-color 0.1s ease;
    white-space: nowrap;
    align-items: center;
}

[dir="rtl"] .lang-switcher-btn {
    padding: 4px 4px 4px 10px;
}

.lang-switcher-btn:hover {
    color: #000000;
    background: #DBDBDB;
}

/* Circular flag image */
.lang-flag-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Fallback placeholder when no photo uploaded */
.lang-flag-placeholder {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1E3A52;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Uppercase language abbreviation (e.g. EN, TR) */
.lang-abbr {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}

/* Chevron */
.lang-arrow {
    font-size: 8px;
    transition: transform 0.25s ease;
    opacity: 0.45;
    margin-left: 2px;
}

[dir="rtl"] .lang-arrow {
    margin-left: 0;
    margin-right: 2px;
}

.lang-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

/* ---- Dark background mode (JS adds .header-dark-bg) ---- */
.redesigned-header.header-dark-bg .lang-switcher-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.redesigned-header.header-dark-bg .lang-abbr {
    color: #ffffff;
}

.redesigned-header.header-dark-bg .lang-arrow {
    color: #ffffff;
    opacity: 0.7;
}

/* ---- Dropdown panel ---- */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 150px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---- Dropdown options ---- */
.lang-option {
    padding: 0;
    gap: 10px;
    text-decoration: none !important;
    color: #1E3A52 !important;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease, border-radius 0.15s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-radius: 999px;
    margin: 2px 0;
}

.lang-option:hover {
    background: rgba(30, 58, 82, 0.06);
}

/* The full language name in dropdown (e.g. "Turkish") */
.lang-name-full {
    font-size: 13px;
    color: #1E3A52;
}

/* Mobile: reuse same circular image styles */
.mobile-lang-switcher .lang-flag-img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

/* Disable hover colors on titles due to stretched-link on entire card */
.product-card-premium a:hover .product-card-title,
.product-card-premium .product-card-title:hover {
    color: #ffffff !important;
}

.blog-card a:hover .blog-title,
.blog-card .blog-title:hover {
    color: inherit !important;
}

.blog-section .blog-card a:hover .blog-title,
.blog-section .blog-card .blog-title:hover {
    color: #ffffff !important;
}

.catalog-thumb-card a:hover .catalog-thumb-title,
.catalog-thumb-card .catalog-thumb-title:hover {
    color: #ffffff !important;
}

/* =========================================
   Slide Up Animation for Specific Cards
   ========================================= */
@keyframes cardSlideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up-card {
    opacity: 0;
    animation: cardSlideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered delays for a fluid entrance effect (up to 24 items per page usually) */
.animate-slide-up-card:nth-child(1) {
    animation-delay: 0.05s;
}

.animate-slide-up-card:nth-child(2) {
    animation-delay: 0.10s;
}

.animate-slide-up-card:nth-child(3) {
    animation-delay: 0.15s;
}

.animate-slide-up-card:nth-child(4) {
    animation-delay: 0.20s;
}

.animate-slide-up-card:nth-child(5) {
    animation-delay: 0.25s;
}

.animate-slide-up-card:nth-child(6) {
    animation-delay: 0.30s;
}

.animate-slide-up-card:nth-child(7) {
    animation-delay: 0.35s;
}

.animate-slide-up-card:nth-child(8) {
    animation-delay: 0.40s;
}

.animate-slide-up-card:nth-child(9) {
    animation-delay: 0.45s;
}

.animate-slide-up-card:nth-child(10) {
    animation-delay: 0.50s;
}

.animate-slide-up-card:nth-child(11) {
    animation-delay: 0.55s;
}

.animate-slide-up-card:nth-child(12) {
    animation-delay: 0.60s;
}

.animate-slide-up-card:nth-child(13) {
    animation-delay: 0.65s;
}

.animate-slide-up-card:nth-child(14) {
    animation-delay: 0.70s;
}

.animate-slide-up-card:nth-child(15) {
    animation-delay: 0.75s;
}

.animate-slide-up-card:nth-child(16) {
    animation-delay: 0.80s;
}

.animate-slide-up-card:nth-child(17) {
    animation-delay: 0.85s;
}

.animate-slide-up-card:nth-child(18) {
    animation-delay: 0.90s;
}

.animate-slide-up-card:nth-child(19) {
    animation-delay: 0.95s;
}

.animate-slide-up-card:nth-child(20) {
    animation-delay: 1.00s;
}

.animate-slide-up-card:nth-child(21) {
    animation-delay: 1.05s;
}

.animate-slide-up-card:nth-child(22) {
    animation-delay: 1.10s;
}

.animate-slide-up-card:nth-child(23) {
    animation-delay: 1.15s;
}

.animate-slide-up-card:nth-child(24) {
    animation-delay: 1.20s;
}

/* Footer emblem */

.footer-emblem-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 0;
}

.footer-emblem-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.footer-emblem-img {
    height: 105px;
    width: auto;
    opacity: 0.55;
    filter: brightness(0) invert(1);
    display: block;
    object-fit: contain;
}

.footer-emblem-logo {
    height: 75px !important;
    width: auto !important;
    opacity: 0.55;
    filter: brightness(0) invert(1);
    display: block;
    object-fit: contain;
}