/********** Template CSS **********/
:root {
    --primary: #D71920;
    --primary-rgb: 215, 25, 32;
    --primary-hover: #B71319;
    --primary-dark: #970E14;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
    --dark-rgb: 2, 36, 91;
    --yellow: #FFD500;
    --yellow-rgb: 255, 213, 0;
    --gold: #FFD500;
    --gold-hover: #E6C000;
    --white: #FFFFFF;
}

/*** Selection & Scrollbar ***/
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

#header-carousel {
    overflow: hidden;
}

::selection {
    background: var(--primary);
    color: #FFFFFF;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(215, 25, 32, 0.4);
    transition: .4s;
}

.back-to-top:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 213, 0, 0.5);
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #FFFFFF;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(215, 25, 32, 0.35);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-warning {
    color: var(--dark);
    background-color: var(--yellow);
    border-color: var(--yellow);
    font-weight: 600;
}

.btn-warning:hover {
    color: var(--dark);
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.4);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.topbar-right i.fa-phone-alt {
    color: var(--yellow) !important;
}

/*** Topbar Social Icons ***/
.topbar-social-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
}

.topbar-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.topbar-social-btn:hover {
    transform: translateY(-2px) scale(1.12);
}

.topbar-social-btn.facebook {
    background: #1877F2;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.4);
}

.topbar-social-btn.facebook:hover {
    background: #0d65d9;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.65);
}

.topbar-social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 2px 6px rgba(220, 39, 67, 0.4);
}

.topbar-social-btn.instagram:hover {
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.7);
    filter: brightness(1.12);
}

.topbar-social-btn.youtube {
    background: #FF0000;
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.45);
}

.topbar-social-btn.youtube:hover {
    background: #e60000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.7);
}

.container-fluid.bg-dark .btn-link.text-light:hover {
    color: var(--yellow) !important;
    transform: translateY(-2px);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: .3s;
}

.navbar .navbar-nav .nav-link::after {
    position: absolute;
    content: "";
    width: 0;
    height: 3px;
    bottom: 12px;
    left: 0;
    background-color: var(--yellow);
    transition: .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .navbar .navbar-brand {
        padding-left: 0 !important;
        padding-right: 10px !important;
        background: transparent !important;
        height: 65px !important;
    }

    .navbar .navbar-brand::after {
        display: none !important;
    }

    .navbar .navbar-brand h1 {
        color: var(--primary) !important;
        font-size: 1.35rem !important;
    }

    .navbar .navbar-brand small {
        color: var(--secondary) !important;
    }

    .navbar .navbar-brand h2 {
        color: var(--primary) !important;
    }

    .navbar .navbar-brand h2 small {
        color: var(--secondary) !important;
    }

    .mobile-phone-btn {
        width: 38px;
        height: 38px;
        background: var(--primary);
        color: #FFFFFF !important;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        text-decoration: none;
        box-shadow: 0 3px 8px rgba(215, 25, 32, 0.25);
    }

    .mobile-phone-btn:hover {
        background: #b51218;
        color: #FFFFFF !important;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        border-top: 3px solid var(--primary);
        box-shadow: 0 10px 30px rgba(2, 36, 91, 0.12);
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background-color: rgba(215, 25, 32, 0.08);
    color: var(--primary);
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 0.95) 0%, rgba(2, 36, 91, 0.4) 100%);
    z-index: 1;
}

.carousel-caption p.text-primary {
    color: var(--yellow) !important;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.75;
    z-index: 10;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.8rem;
    height: 2.8rem;
    background-color: var(--primary);
    border: 8px solid var(--primary);
    border-radius: 2.8rem;
    transition: .3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--yellow);
    border-color: var(--yellow);
    filter: drop-shadow(0 0 8px rgba(255, 213, 0, 0.6));
}

@media (max-width: 768px) {
    #header-carousel .carousel-item:not(.hero-slide-custom) {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item:not(.hero-slide-custom) img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*** Custom Hero Banner (Modern Poultry Facility - Desktop & Mobile Views) ***/
.carousel-item.hero-slide-custom {
    position: relative;
    background: #FFFFFF;
}

@media (min-width: 992px) {
    .carousel-item.hero-slide-custom {
        min-height: 560px;
    }

    .hero-desktop-view {
        position: relative;
        width: 100%;
        min-height: 560px;
    }

    .carousel-item.hero-slide-custom img.hero-bg-img {
        width: 100%;
        height: auto;
        min-height: 560px;
        max-height: 720px;
        object-fit: cover;
        object-position: center right;
        display: block;
    }

    .hero-slide-custom .hero-desktop-caption {
        background: linear-gradient(90deg,
                rgba(165, 206, 246, 0.96) 0%,
                rgba(184, 219, 250, 0.92) 22%,
                rgba(206, 232, 254, 0.82) 38%,
                rgba(226, 242, 255, 0.48) 52%,
                rgba(255, 255, 255, 0) 66%) !important;
        padding: 0;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        position: absolute;
    }
}

.hero-content-wrap {
    max-width: 580px;
    padding: 24px 0;
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    background: #FFD500;
    color: #0d1e3d;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 4px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-main-title {
    color: #0d1e3d;
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-top: 12px;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.hero-ribbon-badge {
    display: inline-flex;
    align-items: center;
    background: #D71920;
    color: #FFFFFF;
    font-style: italic;
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1.15;
    padding: 4px 18px;
    border-radius: 4px;
    transform: skewX(-6deg);
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(215, 25, 32, 0.25);
}

.hero-ribbon-badge>span {
    transform: skewX(6deg);
    display: inline-block;
}

.hero-ribbon-slashes {
    color: #FFD500;
    font-style: normal;
    margin-left: 10px;
    font-weight: 900;
}

.hero-subtitle {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 22px;
    font-weight: 500;
    max-width: 520px;
}

.hero-btn-primary {
    background: #D71920;
    border: 2px solid #D71920;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 26px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(215, 25, 32, 0.3);
}

.hero-btn-primary:hover {
    background: #b51218;
    border-color: #b51218;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(215, 25, 32, 0.4);
}

.hero-btn-outline {
    background: #FFFFFF;
    border: 2px solid #D71920;
    color: #D71920;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: #D71920;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-features-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    border: 1px solid rgba(165, 206, 246, 0.85);
    box-shadow: 0 6px 20px rgba(13, 30, 61, 0.08);
    backdrop-filter: blur(6px);
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    position: relative;
    flex: 1;
}

.hero-feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #e2e8f0;
}

.hero-feature-item i {
    color: #D71920;
    font-size: 1.5rem;
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}

.hero-feature-item:hover i {
    transform: scale(1.15);
}

.hero-feature-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0d1e3d;
    line-height: 1.25;
}

/*** Mobile Hero Banner Styles (Curved Accents Poster Layout) ***/
@media (max-width: 991.98px) {
    .carousel-item.hero-slide-custom {
        min-height: auto !important;
        background: #FFFFFF;
    }

    .hero-mobile-view {
        background: #FFFFFF;
        width: 100%;
        overflow: hidden;
    }

    .hero-mobile-banner-img {
        width: 100%;
        padding-top: 66.5%;
        position: relative;
        overflow: hidden;
        background: #FFFFFF;
    }

    #header-carousel .hero-slide-custom .hero-mobile-banner-img img,
    .hero-mobile-banner-img img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: fill !important;
        display: block !important;
    }

    .hero-mobile-banner-img.plant-banner {
        padding-top: 48%;
    }

    #header-carousel .hero-slide-custom .hero-mobile-banner-img.plant-banner img,
    .hero-mobile-banner-img.plant-banner img {
        height: 100% !important;
        object-fit: cover !important;
        object-position: 70% center !important;
    }

    .hero-mobile-body {
        padding: 16px 14px 24px 14px;
        text-align: center;
        background: #FFFFFF;
    }

    .hero-mobile-tag {
        display: inline-flex;
        align-items: center;
        background: #FFD500;
        color: #02245B;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.6px;
        padding: 5px 14px;
        border-radius: 6px;
        margin-bottom: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .hero-mobile-title {
        color: #02245B;
        font-size: 1.85rem;
        font-weight: 900;
        line-height: 1.18;
        margin-bottom: 4px;
        letter-spacing: -0.3px;
    }

    .hero-mobile-highlight-wrap {
        margin-bottom: 12px;
        display: inline-block;
        position: relative;
    }

    .hero-mobile-highlight {
        color: #D71920;
        font-size: 1.85rem;
        font-weight: 900;
        font-style: italic;
        line-height: 1.2;
        display: inline-block;
    }

    .hero-mobile-curve-accent {
        display: block;
        width: 100%;
        height: 6px;
        margin-top: 2px;
    }

    .hero-mobile-desc {
        color: #4b5563;
        font-size: 0.88rem;
        line-height: 1.55;
        margin: 0 auto 18px auto;
        max-width: 440px;
        font-weight: 500;
    }

    .hero-mobile-actions {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 22px;
    }

    .hero-mobile-btn-primary {
        background: #D71920;
        border: 2px solid #D71920;
        color: #FFFFFF !important;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.82rem;
        padding: 8px 14px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        box-shadow: 0 4px 12px rgba(215, 25, 32, 0.3);
        white-space: nowrap;
    }

    .hero-mobile-btn-primary:hover {
        background: #b51218;
        border-color: #b51218;
        color: #FFFFFF !important;
    }

    .hero-mobile-btn-outline {
        background: #FFFFFF;
        border: 2px solid #D71920;
        color: #D71920 !important;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.82rem;
        padding: 7px 14px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .hero-mobile-btn-outline:hover {
        background: #D71920;
        color: #FFFFFF !important;
    }



    .play-icon-circle {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #D71920;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
    }

    .play-icon-circle i {
        color: #FFFFFF !important;
        font-size: 9px;
        margin-left: 2px;
    }

    .hero-mobile-cards-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
        margin-bottom: 20px;
        width: 100%;
    }

    .hero-mobile-card {
        background: #FFFFFF;
        border: 1px solid #f1f5f9;
        border-radius: 12px;
        padding: 10px 2px 8px 2px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(13, 30, 61, 0.07);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        overflow: hidden;
    }

    .hero-mobile-card svg {
        width: 28px;
        height: 28px;
        stroke: #D71920;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        margin-bottom: 5px;
    }

    .hero-mobile-card span {
        color: #02245B;
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 1.2;
        display: block;
        word-break: break-word;
    }

    .hero-mobile-red-bar {
        background: #D71920;
        border-radius: 14px;
        padding: 12px 4px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        box-shadow: 0 6px 18px rgba(215, 25, 32, 0.28);
        width: 100%;
    }

    .hero-mobile-red-item {
        text-align: center;
        padding: 0 4px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        overflow: hidden;
    }

    .hero-mobile-red-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: rgba(255, 255, 255, 0.35);
    }

    .hero-mobile-red-item svg {
        width: 24px;
        height: 24px;
        stroke: #FFFFFF;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        margin-bottom: 5px;
    }

    .hero-mobile-red-item span {
        color: #FFFFFF;
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 1.2;
        display: block;
        word-break: break-word;
    }

    /* Carousel nav arrows & slide 2 adjustments on mobile */
    #header-carousel .carousel-control-prev,
    #header-carousel .carousel-control-next {
        display: none !important;
    }

    #header-carousel .display-2 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 576px) {
    .hero-mobile-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .hero-mobile-btn-primary,
    .hero-mobile-btn-outline {
        width: 100% !important;
        max-width: 270px !important;
        justify-content: center !important;
        padding: 9px 16px !important;
    }

    .hero-mobile-title {
        font-size: 1.62rem;
    }

    .hero-mobile-highlight {
        font-size: 1.62rem;
    }

    .hero-mobile-desc {
        font-size: 0.82rem;
    }

    .hero-mobile-cards-grid {
        gap: 4px;
    }

    .hero-mobile-card {
        padding: 8px 1px;
    }

    .hero-mobile-card svg {
        width: 22px;
        height: 22px;
    }

    .hero-mobile-card span {
        font-size: 0.58rem;
    }

    .hero-mobile-red-bar {
        padding: 10px 2px;
    }

    .hero-mobile-red-item {
        padding: 0 2px;
    }

    .hero-mobile-red-item svg {
        width: 18px;
        height: 18px;
    }

    .hero-mobile-red-item span {
        font-size: 0.56rem;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 0.92) 0%, rgba(2, 36, 91, 0.45) 100%), url('../img/SV_Industries_images/1beeea8b-e23c-4a21-9e56-b8571bf0713d.png') center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
    transition: .3s;
}

.page-header .breadcrumb-item a:hover {
    color: var(--yellow);
}

.page-header .breadcrumb-item.active {
    color: var(--yellow);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .15) !important;
    background: rgba(255, 255, 255, 0.02);
    transition: .4s;
}

.facts .border:hover {
    border-color: var(--yellow) !important;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.facts i.fa-3x {
    color: var(--yellow) !important;
    transition: .3s;
}

.facts .border:hover i.fa-3x {
    transform: scale(1.1);
}

.facts h1.text-primary {
    color: #FFFFFF !important;
}


/*** About ***/
.bg-primary h1.display-2 {
    color: var(--yellow) !important;
    font-weight: 800;
}

.fa-check.text-primary {
    color: var(--primary) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--yellow);
    box-shadow: 0 0 25px rgba(255, 213, 0, 0.6);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--yellow);
    border-radius: 100%;
    animation: pulse-border-gold 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--yellow);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--dark);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border-gold {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 0.9;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .4s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 45px rgba(2, 36, 91, .15);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    border-bottom: 3px solid var(--primary);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item .service-title hr {
    color: var(--primary);
    opacity: 0.5;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .85);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
    transition: .4s;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(215, 25, 32, 0.4);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-carousel p.text-primary {
    color: var(--yellow) !important;
    letter-spacing: 1px;
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title {
    bottom: -60px;
}

.project-item .project-title h5 {
    color: var(--yellow) !important;
    transition: .3s;
}

.project-item:hover .project-title h5 {
    color: #FFFFFF !important;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(255, 213, 0, 0.6);
}


/*** Team ***/
.team-item {
    transition: .4s;
}

.team-item:hover {
    transform: translateY(-5px);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}

.team-social .btn.btn-dark:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--yellow);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--yellow) !important;
    box-shadow: 0 0 15px rgba(255, 213, 0, 0.5);
}

.testimonial-carousel .testimonial-img .btn-square i {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    background: #021a42 !important;
    color: #c5d0e0;
    position: relative;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 3px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--yellow);
    display: inline-block;
    flex-shrink: 0;
}

.footer-brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    line-height: 1.25;
}

.footer-ribbon {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 213, 0, 0.25);
    border-radius: 12px;
    padding: 20px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.footer-heading {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.footer-map-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 213, 0, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.footer-map-frame:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.footer-map-frame iframe {
    display: block;
    width: 100%;
    height: 135px;
    border: 0;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
    color: #c5d0e0;
    font-size: 0.93rem;
    font-weight: normal;
    text-transform: capitalize;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--yellow);
}

.footer .btn.btn-link:hover {
    color: var(--yellow) !important;
    transform: translateX(4px);
    letter-spacing: 0;
    box-shadow: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #c5d0e0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-contact-item i {
    color: var(--yellow);
    margin-top: 3px;
    margin-right: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--yellow);
}

.copyright {
    background: #011330 !important;
    color: #9cb1ce;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--yellow);
    transition: .3s;
}

.copyright a:hover {
    color: #FFFFFF;
}

.copyright a:hover {
    color: #FFFFFF;
}

/*** Form inputs ***/
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(215, 25, 32, 0.25);
}

/*** Navbar Brand Image ***/
.navbar .navbar-brand img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
    margin-right: 12px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/*** Floating WhatsApp Button ***/
.btn-whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    text-decoration: none;
}

.btn-whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFFFFF;
    transform: scale(1.1);
}

/*** Product Cards ***/
.product-card {
    border: 1px solid #E5E7EB;
    transition: .4s;
    background: #FFFFFF;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(2, 36, 91, 0.12);
}

.product-card .card-icon {
    width: 70px;
    height: 70px;
    background: rgba(215, 25, 32, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: .3s;
}

.product-card:hover .card-icon {
    background: var(--primary);
    color: #FFFFFF;
}

.badge-gold {
    background-color: var(--yellow);
    color: var(--dark);
    font-weight: 700;
}

.badge-red {
    background-color: var(--primary);
    color: #FFFFFF;
    font-weight: 600;
}

/*** Specification Table ***/
.spec-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(2, 36, 91, 0.08);
    background: #FFFFFF;
}

.spec-table thead th {
    background: var(--dark);
    color: #FFFFFF;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
}

.spec-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 15px;
    color: #333333;
}

.spec-table tbody tr:nth-child(even) {
    background-color: #FAFAFC;
}

.spec-table tbody tr:hover {
    background-color: rgba(215, 25, 32, 0.04);
}

/*** Accordion Custom ***/
.accordion-custom .accordion-item {
    border: 1px solid #E5E7EB;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background-color: #FFFFFF;
    color: var(--dark);
    font-weight: 600;
    font-size: 17px;
    padding: 18px 24px;
    border: none;
    box-shadow: none;
    transition: .3s;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--dark);
    color: var(--yellow);
}

.accordion-custom .accordion-button:focus {
    box-shadow: none;
}

.accordion-custom .accordion-body {
    padding: 22px 24px;
    background-color: #FFFFFF;
    line-height: 1.7;
    color: #555555;
    font-size: 15px;
}

/*** Gallery Item ***/
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: #FFFFFF;
}

.gallery-item img {
    transition: .5s;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 36, 91, 0.88);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .4s;
    padding: 20px;
    text-align: center;
}

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

/*** Call To Action (Modern Floating Industrial Card) ***/
.cta-card-box {
    position: relative;
    background: linear-gradient(135deg, #02245B 0%, #0d1e3d 50%, #051d45 100%);
    border-radius: 28px;
    padding: 75px 40px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(2, 36, 91, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 213, 0, 0.35);
}

.cta-card-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #D71920 0%, #FFD500 50%, #D71920 100%);
    z-index: 3;
}

.cta-card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.14;
    pointer-events: none;
    z-index: 1;
}

.cta-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 213, 0, 0.14);
    border: 1px solid rgba(255, 213, 0, 0.5);
    color: #FFD500;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 7px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-pulse-dot {
    width: 8px;
    height: 8px;
    background: #FFD500;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 10px #FFD500;
    animation: ctaPulse 1.8s infinite;
}

@keyframes ctaPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 213, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 213, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 213, 0, 0); }
}

.cta-heading {
    font-size: 2.65rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.cta-highlight-gold {
    color: #FFD500;
    display: inline-block;
    position: relative;
}

.cta-description {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: 740px;
    margin: 0 auto 28px;
}

.cta-features-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 36px;
}

.cta-feature-pill {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 7px 16px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.cta-feature-pill svg {
    width: 15px;
    height: 15px;
    fill: #FFD500;
    margin-right: 8px;
    flex-shrink: 0;
}

.cta-feature-pill i {
    color: #FFD500;
    margin-right: 8px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn-red {
    background: linear-gradient(135deg, #E52D27 0%, #B31217 100%);
    color: #FFFFFF !important;
    border: 2px solid #E52D27;
    box-shadow: 0 8px 24px rgba(229, 45, 39, 0.4);
}

.cta-btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(229, 45, 39, 0.55);
    background: linear-gradient(135deg, #ff332c 0%, #c41419 100%);
    color: #FFFFFF;
}

.cta-btn-red svg.arrow-icon,
.cta-btn-red i.arrow-icon {
    transition: transform 0.25s ease;
}

.cta-btn-red:hover svg.arrow-icon,
.cta-btn-red:hover i.arrow-icon {
    transform: translateX(4px);
}

.cta-btn-call-white {
    background: #FFFFFF;
    color: #02245B !important;
    border: 2px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cta-btn-call-white:hover {
    transform: translateY(-3px);
    background: #FFF9E6;
    border-color: #FFD500;
    box-shadow: 0 14px 30px rgba(255, 213, 0, 0.35);
    color: #02245B;
}

.cta-btn-whatsapp-green {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    border: 2px solid #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
}

.cta-btn-whatsapp-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
    color: #FFFFFF;
}

.cta-btn svg {
    margin-right: 9px;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .cta-card-box {
        padding: 55px 26px;
        border-radius: 22px;
    }
    .cta-heading {
        font-size: 2.15rem;
    }
}

@media (max-width: 767.98px) {
    .cta-card-box {
        padding: 40px 18px;
        border-radius: 18px;
    }
    .cta-heading {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    .cta-description {
        font-size: 0.96rem;
        margin-bottom: 22px;
    }
    .cta-features-strip {
        gap: 8px 10px;
        margin-bottom: 26px;
    }
    .cta-feature-pill {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
    .cta-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.95rem;
    }
}

/*** Footer Social Icons ***/
.footer-social-wrapper {
    margin-top: 18px;
    padding-top: 4px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.12);
}

.footer-social-btn.facebook {
    background: #1877F2;
    box-shadow: 0 3px 8px rgba(24, 119, 242, 0.45);
}
.footer-social-btn.facebook:hover {
    background: #0d65d9;
    box-shadow: 0 5px 14px rgba(24, 119, 242, 0.7);
}

.footer-social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 3px 8px rgba(220, 39, 67, 0.45);
}
.footer-social-btn.instagram:hover {
    box-shadow: 0 5px 14px rgba(220, 39, 67, 0.75);
    filter: brightness(1.15);
}

.footer-social-btn.youtube {
    background: #FF0000;
    box-shadow: 0 3px 8px rgba(255, 0, 0, 0.5);
}
.footer-social-btn.youtube:hover {
    background: #e60000;
    box-shadow: 0 5px 14px rgba(255, 0, 0, 0.75);
}

@media (max-width: 576px) {
    .footer-ribbon {
        padding: 16px 14px;
    }
    .footer-ribbon .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 8px;
    }
    .footer-brand-title {
        font-size: 0.95rem;
        word-break: break-word;
    }
}

/*** Topbar Brochure Badge (Attractive Highlighted Button) ***/
.topbar-brochure-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 3px 12px !important;
    background: linear-gradient(135deg, #FFD500 0%, #FFB703 100%) !important;
    color: #02245B !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
    border: 1px solid #FFE680 !important;
    box-shadow: 0 2px 8px rgba(255, 183, 3, 0.45) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.topbar-brochure-badge:hover,
.topbar-brochure-badge:focus {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF3B0 100%) !important;
    color: #D71920 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 4px 14px rgba(255, 213, 0, 0.65) !important;
}

.topbar-brochure-badge svg {
    fill: #02245B !important;
    transition: fill 0.25s ease !important;
}

.topbar-brochure-badge:hover svg,
.topbar-brochure-badge:focus svg {
    fill: #D71920 !important;
}


/*** Featured Machinery Continuous Moving Horizontal Marquee Strip ***/
.machinery-moving-strip {
    background: #FFFFFF;
    border-top: 1px solid #e2e8f0;
    border-bottom: 2px solid #D71920 !important;
    padding: 9px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    width: 100%;
    z-index: 10;
}

.machinery-moving-strip::before,
.machinery-moving-strip::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}
.machinery-moving-strip::before {
    left: 0;
    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}
.machinery-moving-strip::after {
    right: 0;
    background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.machinery-moving-track {
    display: inline-flex;
    gap: 16px;
    animation: marquee-moving-ltr 30s linear infinite;
    will-change: transform;
}

.machinery-moving-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-moving-ltr {
    0% {
        transform: translateX(-33.333%);
    }
    100% {
        transform: translateX(0%);
    }
}

.machinery-moving-card {
    flex: 0 0 auto;
    width: 210px;
    height: 125px;
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    vertical-align: middle;
}

.machinery-moving-card:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: #D71920;
    box-shadow: 0 6px 18px rgba(215, 25, 32, 0.2);
}

.machinery-moving-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #FFFFFF;
}

@media (max-width: 991px) {
    .machinery-moving-card {
        width: 180px;
        height: 110px;
    }
    .machinery-moving-track {
        gap: 14px;
        animation-duration: 26s;
    }
}

@media (max-width: 576px) {
    .machinery-moving-strip {
        padding: 7px 0;
    }
    .machinery-moving-strip::before,
    .machinery-moving-strip::after {
        width: 25px;
    }
    .machinery-moving-card {
        width: 160px;
        height: 96px;
        padding: 4px 6px;
        border-radius: 6px;
    }
    .machinery-moving-track {
        gap: 10px;
        animation-duration: 22s;
    }
}
