/* General Settings
--------------------------------------------------------------*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
}

img {
    border: none;
}

.img {
    border: none;
    margin: 0 10px 5px 0;
    float: left;
}

.main {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 15px;
}

/* Toppeer
--------------------------------------------------------------*/
#topper {
    width: 100%;
    padding: 6px 0;
    background: #efefef;
    border-bottom: 1px #ccc solid;
}

.top {
    width: 100%;
    display: inline-block;
}

/* Header
--------------------------------------------------------------*/
.site-header__wrapper {
    /* Position at the very top of the page over the banner */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    /* Apply background here to span the full width of the screen */
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header {
    height: 110px;
    max-width: 1130px;
    margin: 0 auto;

    /* Layout logic */
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* Remove position absolute here so it sits naturally inside the wrapper */
    position: relative;
}

.header__left {
    display: flex;
    align-items: center;
}

.header__logo-link {
    text-decoration: none;
    border-radius: 2px;
    display: flex;
    align-items: center;
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #b4b4b4;
}

.header__logo-link:hover,
.header__logo-link:active {
    text-decoration: none;
    outline: none;
}

.logo__letter-box {
    margin-right: 6px;
}

.logo__letter-box img {
    height: 55px;
    display: inline-block;
}

.header__logo {
    display: block;
    height: 34px;
}

.header__logo-text {
    font-size: 13px;
    color: #444;
    font-weight: 500;
    margin-top: 2px;
}

.header__logo-text p {
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: "Dancing Script", serif;
}

/* NAV LIST (Desktop) */
.header-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.header-nav__list li a:active,
.header-nav__list li a:focus,
.header-nav__list li a:focus-visible {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

/* HEADER NAV LINK (Desktop) */
.header-nav__link:link,
.header-nav__link:visited {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s ease-in-out;
}

.header-nav__link [name="home-outline"] {
    font-size: 20px;
}

.header-nav__link:hover,
.header-nav__link:active {
    color: #e32726;
}

.header-nav__item {
    position: relative;
}

.dropdown__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    /* Keep this */
    top: 60px;
    /* CHANGE THIS VALUE! Start with 7rem and increase if needed. */
    left: 0;
    /* Keep this to align with the parent nav item */
    min-width: 200px;
    z-index: 9999;
    border-radius: 3px;
    /* Ensure it's above other content */
    background-color: #fff;
    /* Good idea to explicitly set a background color */

    /* Hide by default (desktop) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* This initial transform will push it down a bit further */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
}

.dropdown__menu li a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    display: block;
    padding: 13px 16px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    white-space: nowrap;
}

.dropdown__menu li a:hover,
.dropdown__menu li a:active {
    color: #f7f7f7;
    background-color: #E32726;
}

/* Ensure the hover effect brings it to the correct position */
.header-nav__item:hover > .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-login-link {
    text-decoration: none;
    border-radius: 3px;
    background-color: #9F0909;
    transition: all 0.3s;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    display: inline-block;
}

.header-login-link:hover {
    background-color: #3c599b;
}

/* BTN Mobile NAV (Hamburger/Close button) */
.btn-mobile-nav {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: none;
    /* Hidden on desktop by default */
}

.btn-mobile-nav [name="close-outline"] {
    display: none;
}

/* Icon Mobile NAV styling */
.icon-mobile-nav {
    height: 38px;
    width: 38px;
    color: #333;
}

.header__email-box {
    display: flex;
    align-items: stretch;
    color: #333;
    font-size: 14px;
    padding-left: 20px;
    border-left: 1px solid #b4b4b4;
    align-self: center;
}

.header-email__icon-box {
    font-size: 45px;
    color: #ddd;
    margin-left: 10px;
}

.header-email__icon-box ion-icon[name="mail-outline"] {
    color: #b4b4b4;
}

.header-email__text-box {
    text-align: right;
}

.header-email__text-box span {
    display: block;
}

.email-inquiry {
    margin-bottom: 5px;
    font-size: 15px;
}

.email-address {
    font-size: 17px;
    color: #333;
}

/*  About Us
--------------------------------------------------------------*/
#about-us {
    float: left;
    width: 100%;
    padding: 80px 0;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(227, 227, 227, 0.05), rgba(191, 191, 191, 0.4));
}

.about-us__overlay img {
    position: absolute;
    top: 20%;
    left: 0;
    z-index: -1;
}

.about-us-top-box {
    display: flex;
    color: #444;
}

.heading-secondary {
    margin: 0;
    padding: 0;
    font-size: 40px;
    color: #1a1a1a;
    text-transform: uppercase;
    font-weight: 600;
}

.about-us-top-left h2 {
    position: relative;
    margin-bottom: 10px;
}

.about-us-top-left h2::before {
    position: absolute;
    content: "";
    width: 85px;
    height: 2px;
    left: -100px;
    background: #333;
    top: 20px;
    overflow: hidden;
}

.about-us-top-left {
    flex: 0 0 40%;
    padding-right: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.about-us-top-left a {
    font-size: 14px;
}

.about-us-top-right {
    flex: 0 0 60%;
}

.about-us-top-right-img {
    position: relative;
    height: 450px;
    width: 50%;
    border-radius: 3px;
    background-size: cover;
    object-fit: cover;
}

.about-us-top-right-text-box {
    font-size: 38px;
    z-index: 200;
    position: absolute;
    top: 28%;
    left: 36%;
    font-weight: 300;
}

.about-us-top-right-text-box span {
    display: block;
    color: #d1d1d1;
    text-align: left;
    font-size: 32px;
}

.about-us-top-right-text-box span:not(:last-child) {
    margin-bottom: 15px;
}

.about-message {
    font-size: 70px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.about-us-bottom-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.about-us-bottom-left {
    flex: 0 0 50%;
    display: flex;
    justify-content: end;
    margin-top: -60px;
}

.about-us-bottom-left-img {
    height: 450px;
    width: 60%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 3px;
}

.about-us-bottom-right {
    flex: 0 0 40%;
    font-size: 30px;
    color: #000;
    text-align: center;
}

.about-us-bottom-right i {
    color: #333;
}

/* Slider
--------------------------------------------------------------*/
.slider {
    float: left;
    width: 100%;
    height: 95vh;
    position: relative;

    /* IN THE END */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;

    /* THIS creates the animation! */
    transition: transform 1s;
}

.slide__wrapper {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.09), rgba(0, 0, 0, 0.4));
}

.slide__text-box {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.5;
}

.slide__text-box h1 {
    margin-bottom: 1rem;
    display: inline-block;
    font-size: 50px;
    font-weight: 300;
    color: #ffffff;
}

.slide__text-box h1 span {
    font-weight: 500;
}

/* Aligning the arrows with the 55% position of the text box */
.slider__btn {
    position: absolute;
    top: 55%; /* Changed from 50% to match your text-box */
    z-index: 10;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
    cursor: pointer;

    /* This ensures the middle of the button sits on the 55% line */
    transform: translateY(-50%);
}

.slider__btn--left {
    left: 6%;
    /* Combined the horizontal offset with the vertical centering */
    transform: translate(-50%, -50%);
}

.slider__btn--right {
    right: 6%;
    /* Combined the horizontal offset with the vertical centering */
    transform: translate(50%, -50%);
}

.dots {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dots__dot {
    border: none;
    background-color: #b9b9b9;
    opacity: 0.7;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    margin-right: 1.75rem;
    cursor: pointer;
    transition: all 0.5s;
    box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.7);
}

.dots__dot:last-child {
    margin: 0;
}

.dots__dot--active {
    background-color: #f7f7f7;
    opacity: 1;
}

/* Section Page Header Banner
--------------------------------------------------------------*/
.section-page-header-banner {
    height: 70vh; /* Increased height slightly for better balance */
    display: flex;
    align-items: center; /* Centers the text box vertically */
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.page-header-banner__text-box {
    position: absolute;
    left: 4%;
    top: 60%;
    transform: translate(8%, -50%);
    color: #ddd;
    font-size: 16px;
    line-height: 1.6;
    width: 60%;
}

.page-header-banner__text-box h1 {
    font-size: 45px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #818181;
}

.page-header-banner__text-box p {
    border-left: 2px solid #E32726;
    padding-left: 15px;
}

/* Page Title
--------------------------------------------------------------*/
#page-title {
    width: 100%;
    float: left;
    background: url(../images/background-images/global-page-header-banner.webp) top center;
    background-size: cover;
}

#page-title-top {
    width: 100%;
    float: left;
    padding: 40px 0 55px;
}

.page-title-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    float: left;
    padding: 100px 0 120px;
    text-align: center;
}

.page-title h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 45px;
}

#page-title i {
    margin-right: 3px;
}

/* Section How We Are
--------------------------------------------------------------*/
.section-how-we-are {
    background-color: #f7f7f7;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    float: left;
}

.how-we-are__wrapper {
    display: grid;
    grid-template-columns: [full-start] minmax(15px, 1fr)
        [center-start] repeat(8, [col-start] minmax(min-content, 146px) [col-end])
        [center-end] minmax(15px, 1fr) [full-end];
    grid-row-gap: 40px;
}

.how-we-are__wrapper h2 {
    grid-column: center-start / col-end 2;
    font-size: 32px;
    text-transform: uppercase;
    margin: 0;
    color: #333;
    font-weight: 500;
}

.how-we-are__content {
    grid-column: col-start 4 / col-end 8;
}

.how-we-are__heading {
    font-size: 38px;
    line-height: 1.2;
    color: #666;
    margin: 0;
    font-weight: 300;
}

.how-we-are__heading span {
    font-style: italic;
    color: #666;
}

.how-we-are__featured-stats {
    grid-column: col-start 4 / col-end 5;
    border-right: 1px solid #ddd;
}

.how-we-are__sub-text {
    grid-column: col-start 7 / col-end 8;
    align-self: center;
    font-size: 16px;
    color: #666;
}

.how-we-are__featured-stats h4 {
    font-size: 100px;
    color: #333;
    font-weight: 300;
}

.how-we-are__featured-stats h4 sup {
    font-size: 17px;
    vertical-align: text-before-edge; /* moves it above baseline */
}

/* Section Buyer List
--------------------------------------------------------------*/
.section-buyer-list {
    float: left;
    width: 100%;
    padding: 80px 0;
}

.buyer__left-side .section-header-text-box {
    margin-bottom: 40px;
    color: #444;
}

.buyer__left-side .section-header-text-box h2 {
    text-transform: uppercase;
    padding: 0;
    margin: 0 0 15px;
    font-size: 35px;
}

.buyer__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
    align-items: start;
}

.buyer-list {
    display: grid;
    /* auto-fit fills the row, minmax prevents logos from getting too tiny */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0;
    align-items: center;
    grid-column-gap: 15px;
    grid-row-gap: 50px;
}

.buyer-img-box {
    height: 60px; /* Increased height slightly for better visibility */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    padding: 10px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
}

.buyer-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.buyer__right-side {
    align-self: end;
}

.client__bg {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 240px;
}

/* Desktop Styles (Tablets and up) */
@media (max-width: 768px) {
    .buyer__left-side .section-header-text-box h2 {
        font-size: 25px;
    }

    .buyer__wrapper {
        grid-template-columns: auto;
        grid-column-gap: 40px;
    }

    .buyer-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .buyer__right-side {
        margin-top: 50px;
    }

    .client__bg {
        height: 250px;
    }
}

/* Section Contact
--------------------------------------------------------------*/
.section-contact {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.contact__item-box h2 {
    margin-bottom: 20px;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-column-gap: 50px;
    grid-row-gap: 20px;
}

.contact__wrapper {
    display: grid;
    /* Using 100% for the min part of minmax ensures it fits small screens */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    grid-column-gap: 50px;
    grid-row-gap: 20px;
}

/* Individual rows for Address, Phone, Email */
.contact__row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 12px;
    margin-bottom: 10px;
}

.contact__icon-box ion-icon {
    font-size: 24px;
    color: #f02835;
    display: flex;
    align-items: center;
}

.contact__text-content {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

/* Container
--------------------------------------------------------------*/
#container {
    width: 100%;
    padding: 50px 0;
    float: left;
}

#container2 {
    float: left;
    width: 100%;
    padding: 80px 0;
}

#container2 i {
    margin-right: 5px;
}

.contain {
    float: left;
    width: 100%;
    font-size: 16px;
    line-height: 25px;
    color: #222;
}

.contain h3 {
    padding: 0 0 11px 0;
    margin: 0 0 10px;
    border-bottom: 1px #ccc dashed;
}

.about {
    text-align: justify;
}

.about ul {
    margin-left: 20px;
    padding: 0;
    list-style: none;
}

.about ul li {
    margin-bottom: 10px;
}

.welcome-img-icon {
    width: 200px;
    height: 200px;
    margin: 60px auto 0;
    text-align: center;
    background: rgba(255, 255, 255, .8);
    transition: .4s;
}

.welcome-img-icon:hover {
    background: #fff;
    cursor: move;
}

.welcome-img-icon h4 {
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 27px;
    color: #444;
}

.welcome-img-icon img {
    margin-top: 20px;
}

.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 7px;
}

.sidebar ul li a {
    padding: 8px 17px;
    background: #222;
    text-decoration: none;
    color: #eee;
    display: block;
    transition: .4s;
    border-radius: 3px;
}

.sidebar ul li a:hover {
    color: #222;
    background: #cdcdcd;
}

/*  Section Parent Page Products
--------------------------------------------------------------*/
.section-home-products {
    padding: 80px 0;
    float: left;
    width: 100%;
}

.section-home-products h2 {
    margin-bottom: 15px;
    text-align: center;
}

.home-page-products p {
    width: 70%;
    font-size: 15px;
    color: #333;
    margin: 0 auto;
    text-align: center;
}

.home-page-products__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.home-products__content__item:nth-child(even) {
    margin-top: 30px;
}

.home-products__content__item {
    position: relative;
}

.home-products__content__item a {
    text-decoration: none;
    transition: all .4s ease-out;
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid #f7f7f7;
}

.home-products__content__item a:hover {
    transform: translateY(-2px);
}

.home-product__img-box {
    height: 270px;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.home-product__img-box img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease-out;
}

/* Before & After Effect */
.home-product__img-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.home-products__content__item a:hover .home-product__img-box::before {
    opacity: 1;
}

.home-products__content__item a:hover .home-product__img-box img {
    transform: scale(1.1);
}

/* Optional: Add a subtle border on hover */
.home-products__content__item a:hover .home-product__img-box {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Optional: add a grayscale before hover, and color on hover. */
.home-product__img-box img {
    filter: grayscale(10%);
    transition: filter 0.4s ease-out, transform 0.4s ease-out;
}

.home-products__content__item a:hover .home-product__img-box img {
    filter: grayscale(0%);
}

.home-products__content__item a:hover .home-product__img-box img {
    transform: scale(1.2) rotate(2deg); /* Zoom and rotate */
}

.products-single-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-top: 40px;
}

.home-products-btn__box {
    text-align: center;
}

.home-products__btn:link,
.home-products__btn:visited {
    text-decoration: none;
    color: #333;
    padding: 6px 20px;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #ddd;
    transition: all .4s ease-out;
    text-align: center;
    margin-top: 40px;
    background-color: #f7f7f7;
}

.home-products__btn:hover,
.home-products__btn:active {
    background-color: #e32726;
    color: #fff;
}

/* Products Filtering
--------------------------------------------------------------*/
.product-filters {
    padding: 0;
    margin-bottom: 40px;
    list-style: none;
    display: flex;
    align-items: center;
}

.filter-btn {
    border: 1px solid #ffe0e0;
    padding: 8px 18px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #e32726;
    color: #fff;
}

/* Section Products
--------------------------------------------------------------*/
.section-products {
    padding: 80px 0;
    background-color: #fafafa;
    float: left;
    width: 100%;
}

.product-card__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 20px;
}

.product-card__item {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    transition: all .4s ease-out;
}

.product-card__item a {
    display: block;
    position: relative;
    height: 240px;
    border-radius: 3px;
    border: 1px solid #ececec;
}

.product-card__item img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.product-card__item:hover img {
    filter: brightness(0.7);
}

.product-card__item {
    transition: all .4s ease-out;
}

.product-card__item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
    transform: translateY(-10px);
}

.product-card__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card__item:hover .product-card__icon {
    opacity: 1;
}

.product-card__icon img {
    height: 45px;
}

/* Why-us Section
----------------------------*/
#why-us {
    width: 100%;
    float: left;
    height: 60vh;
    background: url(../images/bg-2.jpg) center center fixed;
    background-size: cover;
}

.why-us-overlay {
    width: 100%;
    background: rgba(0, 0, 0, .5);
    float: left;
    height: 100%;
}

.why-us {
    float: left;
    width: 100%;
    font-size: 16px;
    line-height: 25px;
    color: #ddd;
    text-align: center;
}

.why-us h2 {
    color: #fff;
    font-size: 36px;
    padding-bottom: 35px;
    text-transform: uppercase;
}

.why-us-image {
    padding: 0 0 0 45px;
    width: 100%;
    float: left;
}

.why-us-table2 {
    background: none;
    border-bottom: 1px #ccc solid;
    border-left: 1px #ccc solid;

}

.why-us-table {
    width: 100%;
    border-bottom: 1px #ccc solid;
    border-left: 1px #ccc solid;
    color: #000;
    font-size: 17px;
    background: rgba(255, 255, 255, .8);
}

.why-us-table td {
    padding: 10px 20px;
    border-top: 1px #ccc solid;
    border-right: 1px #ccc solid;
}

.why-us-box-1 {
    float: left;
    width: 320px;
    height: 320px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.why-us-box-2 {
    float: left;
    width: 320px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.why-us-box-3 {
    float: left;
    width: 320px;
    height: 320px;
    margin-bottom: 20px;
}

.why-us-icon {
    width: 200px;
    margin: 40px auto 0;
    padding: 15px 0;
    text-align: center;
    background: #fff;

    transition: .4s;
}

.why-us-icon:hover {
    background: #fff;
    cursor: move;
}

.why-us-icon img {
    height: 140px;
}


.why-us-list {
    float: left;
    width: 100%;
    text-align: center;

}

.why-us-list ul {
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px #999 dotted;
}

.why-us-list ul li {
    padding: 10px 0;
    border-bottom: 1px #999 dotted;
}

/* Product Section
----------------------------*/
#product {
    width: 100%;
    float: left;
    padding: 100px 0;
}

.product {
    float: left;
    width: 100%;
    font-size: 16px;
    line-height: 25px;
    color: #444;
    text-align: center;
}

.product h2 {
    color: #444;
    font-size: 36px;
    padding: 0;
    margin: 0 0 40px;
    text-transform: uppercase;
}

.product-image img {
    width: 100%;
    height: 330px;
    padding: 5px;
}

.product-box {
    float: left;
    margin-bottom: 20px;
    border: 1px #eee solid;
}

.product-box-overlay {
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: -100%;

    transition: .4s;
    text-align: center;
}

.product-box-1:hover .product-box-overlay {
    bottom: 0;
    height: 50px;
    text-align: center;
    background: rgba(0, 0, 0, .7);
}

.product-box-2:hover .product-box-overlay {
    bottom: 0;
    height: 50px;
    text-align: center;
    background: rgba(0, 0, 0, .7);
}

.product-box-overlay a {
    color: #ddd;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 49px;
}

.product-icon {
    width: 200px;
    margin: 55px auto 0;
    padding: 15px 0;
    text-align: center;
    background: rgba(255, 255, 255, .8);

    transition: .4s;
}

/*  Quality
--------------------------------------------------------------*/
#section-quality {
    padding: 100px 0;
    width: 100%;
    float: left;
    background-color: #f7f7f7;
}

.section-quality {
    max-width: 100%;
    width: 100%;
}

.quality-box {
    max-width: 100%;
    width: 100%;
}

.content input {
    display: none;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content .list {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 20%;
    margin-right: 50px;
}

.list label {
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    font-weight: 600;
    font-size: 30px;
    color: #B0B0B0;
    text-transform: uppercase;
    transition: all 0.5s ease;
    z-index: 10;
}

#quality:checked ~ .list label.quality,
#innovation:checked ~ .list label.innovation,
#compliance:checked ~ .list label.compliance {
    color: #000;
}

.content .slider {
    position: absolute;
    left: 0;
    top: 0;
    height: 60px;
    width: 100%;
    border-radius: 12px;
    transition: all 0.5s ease;
}

#quality:checked ~ .list .slider {
    top: 0;
}

#innovation:checked ~ .list .slider {
    top: 60px;
}

#compliance:checked ~ .list .slider {
    top: 120px;
}

.content .text-content {
    width: 70%;
    height: 100%;
    color: #000;
}

.text {
    display: none;
}

.quality {
    display: block;
}

#quality:checked ~ .text-content .quality,
#innovation:checked ~ .text-content .innovation,
#compliance:checked ~ .text-content .compliance {
    display: block;
}

#innovation:checked ~ .text-content .quality,
#compliance:checked ~ .text-content .quality {
    display: none;
}

.text-content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-content-img {
    flex: 0 0 42%;
    background-color: #87e2c1;
}

.text-content-img img {
    width: 100%;
    transform: rotate(352deg);
    height: 470px;
    object-fit: cover;
}

.text-content-text-box {
    flex: 0 0 50%;
    font-size: 16px;
    line-height: 25px;
    color: #444444;
}

.text-content-text-box p {
    padding: 0;
    margin-bottom: 10px;
}

.text-content-text-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.text-content-text-box ul li:not(:last-child) {
    margin-bottom: 8px;
}

.text-content-text-box ul li img {
    height: 14px;
}

.text-content-text-box h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 7px;
}

.text-content-text__btn {
    text-decoration: none;
    color: #141414;
    padding: 5px 30px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    margin-top: 15px;
    display: inline-block;
    background-color: transparent;
    transition: all 0.3s ease;
}

.text-content-text__btn:hover {
    background-color: #141414;
    color: #ffffff;
    border-color: #141414;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Product Img */
.product-img {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.product-img-last {
    float: left;
    margin-bottom: 20px;
}

.product img {
    float: left;
    width: 255px;
    height: 300px;
    border: 1px solid #ddd;
}

.product-img img,
.product-img-last img {
    padding: 7px;
}

.contact_table {
    height: 220px;
}

.contact_table i {
    width: 30px;
    border: 1px #ccc solid;
    padding: 5px;
    text-align: center;
}

.contact_table tr i {
    margin-right: 10px;
}

.contact input {
    margin-bottom: 6px;
    padding: 20px 10px;
}

.contact textarea {
    margin-bottom: 8px;
    margin-top: 10px;
}

.company-profile-table {
    width: 100%;
    border-bottom: 1px #eee solid;
    border-left: 1px #eee solid;
    color: #000;
    font-size: 17px;
}

.company-profile-table td {
    padding: 10px 20px;
    border-top: 1px #eee solid;
    border-right: 1px #eee solid;
}

.gallery {
    float: left;
    width: 217px;
    height: 150px;
    margin: 20px 0 10px;
    border: 1px #ccc solid;
    overflow: hidden;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -100%;

    transition: .4s;
    text-align: center;
}

.gallery:hover .gallery-overlay {
    bottom: 0;
    height: 150px;
    text-align: center;
    background: rgba(0, 0, 0, .7);
    font-size: 15px;
    line-height: 130px;
}

.gallery-overlay a {
    color: #fff;
    text-decoration: none;
    line-height: 149px;
    font-size: 40px;
}

.gallery img {
    width: 100%;
    height: 100%;
}

/* Section Mission Vision
--------------------------------------------------------------*/
.section-mission-vision {
    padding: 80px 0;
    width: 100%;
    float: left;
}

.mission-vision__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.vision__wrapper,
.mission__wrapper {
    flex: 0 0 47%;
}

.mission__wrapper .mission__text-box {
    padding-bottom: 20px;
}

.vision__img-box,
.mission__img-box {
    height: 350px;
    position: relative;
    display: block;
}

.vision__img-box img,
.mission__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    position: relative;
    display: block;
    z-index: 1;
}

.vision__img-box::before,
.mission__img-box::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 100%;
    height: 100%;
    background-color: #c3000042;
    z-index: 0;
    border-radius: 3px;
}

.mission__text-box h2 {
    font-size: 32px;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.mission__text-box h2 img {
    height: 35px;
    margin-right: 10px;
    opacity: .7;
}

.mission__text-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission__text-box ul li {
    font-size: 15px;
    margin-bottom: 15px;
    color: #333;
}

.mission__text-box ul li span {
    color: #bcb477;
}

/* ============================================================
   DESKTOP ONLY STYLES (Screen width 992px and above)
   ============================================================ */
@media (min-width: 992px) {
    /* Margin after "Private Labels" list */
    .mission__wrapper .mission__text-box ul {
        margin-bottom: 60px; /* Adjust this value for more/less space */
    }

    .vision__wrapper .mission__text-box {
        margin-top: 40px;
    }

    .mission__img-box {
        margin-top: 0; /* Aligning based on the new text margin */
    }
}

/* ============================================================
   MOBILE STYLES (Stacking for smaller screens)
   ============================================================ */
@media (max-width: 991px) {
    .vision__wrapper,
    .mission__wrapper {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }

    /* Remove the large bottom margin on mobile to save vertical space */
    .mission__wrapper .mission__text-box ul {
        margin-bottom: 20px;
    }

    .vision__img-box,
    .mission__img-box {
        height: 250px;
    }
}

/* Section WHY Choose Us
--------------------------------------------------------------*/
/* Base Styles (Mobile First) */
.section-why-choose-us {
    float: left;
    width: 100%;
    background-size: cover;
    background-position: center;
    min-height: 70vh; /* Changed from height to min-height for content flexibility */
    position: relative;
    display: flex;
    align-items: flex-end; /* Keeps content at the bottom */
}

.why__us-content {
    padding: 30px 20px;
    width: 100%; /* Full width on mobile */
    background-color: rgba(166, 22, 21, 0.85); /* Slightly more opaque for readability */
    color: #f7f7f7;
}

.why__us-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.why__us-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.why__us-content ul li {
    font-size: 15px;
    line-height: 1.4;
}

.why__us-content ul li:not(:last-child) {
    margin-bottom: 12px;
}

.why__us-content ul li span {
    font-weight: bold;
    display: block; /* Stack title over text on small screens */
}

/* Tablet and Desktop Styles (768px and up) */
@media (min-width: 768px) {
    .section-why-choose-us {
        height: 70vh;
    }

    .why__us-content {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 55%; /* Return to original width */
        padding: 50px 40px;
    }

    .why__us-content h2 {
        font-size: 28px;
    }

    .why__us-content ul li span {
        display: inline; /* Keep title inline on larger screens */
    }
}

/* Section Services
--------------------------------------------------------------*/
.section-services {
    padding: 80px 0 100px;
    width: 100%;
    background-size: cover;
    background-position: center;

    display: grid;
    grid-template-columns: [full-start] minmax(60px, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 142px) [col-end] ) [center-end] minmax(60px, 1fr) [full-end];
}

.section-services .section-title-text-box {
    width: 70%;
    font-size: 15px;
    color: #333;
    margin: 0 auto;
    text-align: center;
    grid-column: center-start / center-end;
}

.section-services .section-title-text-box h2 {
    margin-bottom: 15px;
    text-align: center;
}

.service__wrapper {
    grid-column: center-start / center-end;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
    gap: 40px;
}

.service__item {
    display: grid;
    grid-template-columns: min-content 1fr;
    background-color: #f7f7f7;
    padding: 25px 20px;
    border-radius: 3px;
    grid-column-gap: 15px;
    grid-row-gap: 5px;
    transition: all .3s ease;
}

.service__icon {
    grid-row: 1 / span 2;
}

.service__icon img {
    height: 35px;
    display: block;
}

.service__title {
    font-weight: 500;
    font-size: 19px;
    color: #333;
}

.service__text {
    font-size: 15px;
}

/* Section Apparel Merchandising
--------------------------------------------------------------*/
.section-apparel-merchandising {
    padding: 80px 0;
}

/* Container Wrapper */
.merchandising__wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Grid Layout */
.merchandising__overview {
    display: grid;
    /* Changed 400px to 300px to prevent overflow on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-column-gap: 60px;
    grid-row-gap: 30px;
    align-items: center;
}

/* Section Spacing */
.merchandising__overview:not(:last-child) {
    margin-bottom: 80px;
}

/* Text Styling */
.merchandising__text-content {
    font-size: 15px;
    line-height: 1.6;
}

.merchandising__text-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.merchandising__text-content p {
    margin-bottom: 15px;
}

/* List Styling */
.merchandising__text-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.merchandising__text-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

/* Optional: Adding a simple bullet since list-style is none */
.merchandising__text-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.merchandising__text-content ul li span,
.merchandising__text-content p span {
    font-weight: 600;
}

/* Image Styling */
.merchandising__img-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Responsive Media Queries --- */

@media (max-width: 850px) {
    .merchandising__overview {
        grid-column-gap: 30px;
    }

    .merchandising__text-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .merchandising__overview {
        /* Switch to Flex to control mobile stacking order */
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    /* Force the Text to always be on top of the Image on mobile */
    .merchandising__text-content {
        order: 1;
        width: 100%;
    }

    .merchandising__img-content {
        order: 2;
        width: 100%;
        margin-top: 10px;
    }

    .merchandising__overview:not(:last-child) {
        margin-bottom: 50px;
    }
}

/* Section Sourcing
--------------------------------------------------------------*/
.section-sourcing {
    padding: 80px 0;
}

/* Container Layout */
.sourcing__wrapper {
    display: grid;
    /* Reduced min-width to 300px to prevent mobile overflow */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-column-gap: 60px;
    grid-row-gap: 30px; /* Space between text and image when stacked */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* Side padding for mobile screens */
}

/* Typography & Content */
.sourcing__text-content {
    font-size: 15px;
    line-height: 1.6;
}

.sourcing__text-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.sourcing__text-content p:not(:last-child) {
    margin-bottom: 15px;
}

/* List Item Styles */
.sourcing__text-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.sourcing__text-content ul li {
    display: grid;
    grid-template-columns: min-content 1fr;
    align-items: start;
    margin-bottom: 10px;
}

.sourcing__text-content ul li img {
    height: 16px;
    margin-right: 12px;
    margin-top: 3px; /* Aligns icon with first line of text */
}

/* Image Scaling */
.sourcing__img-content img {
    display: block;
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    border-radius: 4px;
}

/* --- Responsive Breakpoints --- */

/* Tablet and below */
@media (max-width: 991px) {
    .sourcing__wrapper {
        grid-column-gap: 30px;
    }

    .sourcing__text-content h2 {
        font-size: 24px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .sourcing__wrapper {
        /* Force single column */
        grid-template-columns: 1fr;
        grid-row-gap: 25px;
        text-align: left;
    }

    .sourcing__text-content h2 {
        font-size: 22px;
    }

    /* Optional: If image is before text in HTML,
       this ensures text always stays on top on mobile */
    .sourcing__text-content {
        order: 1;
    }

    .sourcing__img-content {
        order: 2;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .sourcing__wrapper {
        padding: 15px;
    }

    .sourcing__text-content {
        font-size: 14px;
    }
}

/* Section Trading
--------------------------------------------------------------*/
.section-trading {
    padding: 80px 0;
}

/* Base Styles (Mobile First) */
.trading__wrapper {
    display: grid;
    /* Stack vertically by default */
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
    align-items: center;
}

.trading__text-content {
    font-size: 15px;
}

.trading__text-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.trading__text-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    text-align: left;
    display: inline-block;
}

.trading__text-content ul li {
    display: grid;
    grid-template-columns: min-content 1fr;
    align-items: center;
    margin-bottom: 12px;
}

.trading__text-content ul li img {
    height: 15px;
    margin-right: 12px;
}

.trading__img-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: adds a modern touch */
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .trading__wrapper {
        /* Side-by-side layout starts here */
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 60px;
    }

    .trading__text-content {
        text-align: left;
    }

    .trading__text-content h2 {
        font-size: 28px;
        margin-bottom: 10px;
        font-weight: 500;
        line-height: 1.3;
    }
}

/* Section Apparel Inspection
--------------------------------------------------------------*/
.section-inspection {
    padding: 80px 0;
}

.inspection__wrapper {
    display: grid;
    /* Changed 400px to 100% to prevent overflow on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-column-gap: 60px;
    grid-row-gap: 30px; /* Added spacing for when items stack */
    align-items: center;
    max-width: 1200px; /* Optional: keeps the layout from getting too wide */
    margin: 0 auto;
}

/* Responsive adjustment for very small screens */
@media (max-width: 480px) {

}

.inspection__text-content {
    font-size: 15px;
    line-height: 1.5; /* Better readability */
}

.inspection__text-content h2 {
    font-size: 28px;
}

.inspection__text-content h3 {
    font-size: 17px;
    margin: 10px 0;
}

.inspection__text-content ul {
    list-style: none;
    padding: 0;
}

.inspection__text-content ul li {
    display: grid;
    grid-template-columns: min-content 1fr;
}

.inspection__text-content ul li img {
    display: inline-block;
    height: 15px;
    margin-right: 10px;
}

.inspection__text-content ul li:not(:last-child) {
    margin-bottom: 8px;
}

/* Ensure the image doesn't exceed its container height on large screens */
.inspection__img-content img {
    display: block;
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

/* Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; /* White background to match the logo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.loader-content {
    text-align: center;
    transform: translateY(-35%);
    animation: fadeInUp 0.8s ease-out;
}

.loader-content p {
    font-size: 20px;
    margin-top: 10px;
    letter-spacing: 2px;
    font-family: "Dancing Script", serif;
}

.main-logo {
    height: 80px;
    animation: logoPulse 4s infinite ease-in-out;
}

.loading-bar-container {
    width: 200px;
    height: 3px;
    background-color: #f7f7f7;
    margin: 10px auto 0;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #e31e24, #E32726);
    position: absolute;
    left: -100%;
    animation: loadingProgress 1.5s infinite linear;
}

/* Animations */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.85;
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Factory IMG
--------------------------------------------------------------*/
.factory-img {
    float: left;
    width: 200px;
    height: 150px;
    border: 1px solid #ccc;
    margin-right: 14px;
    margin-bottom: 20px;
}

.factory-img-last {
    float: left;
    width: 200px;
    height: 150px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.factory-img img,
.factory-img-last img {
    padding: 5px;
}

.certificate-img img {
    margin-right: 20px;
    margin-bottom: 20px;
    height: 80px;
}

.buyer-img img {
    margin-right: 40px;
    margin-bottom: 40px;
    height: 70px;
}

/* Footer
--------------------------------------------------------------*/
.site-footer {
    padding: 60px 0 30px;
    background-color: #21201f;
    width: 100%;
    float: left;
}

.site-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    grid-column-gap: 100px;
    font-size: 14px;
}

.site-info__item {
    color: #ffffff;
}

.site-info__item h3 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
}

.site-info__item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-info__logo-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.site-info__logo-link img {
    height: 40px;
}

.site-footer__description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ddd;
}

.service-list li {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.service-list li:not(:last-child) {
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.service-list li a {
    text-decoration: none;
    color: #ddd;
    transition: all .4s ease-in-out;
}

.service-list li a:hover {
    color: #F49927;
}

.service-list li a img {
    height: 20px;
    margin-right: 10px;
    display: inline-block;
    border: 1px solid #ddd;
}

.contact-list {
    line-height: 1.6;
}

.contact-list li {
    display: grid;
    grid-template-columns: min-content 1fr;
    margin-bottom: 8px;
}

.contact-list li ion-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #ddd;
}

.contact-list a {
    display: flex;
    text-decoration: none;
    color: #f7f7f7;
    font-size: 14px;
}

.site-footer__copyright {
    display: flex;
    justify-content: space-between;
    align-self: center;
    font-size: 14px;
    color: #ddd;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 30px;
}

.site-footer__copyright a {
    position: relative;
    text-decoration: none;
    color: #fff;
    transition: color .4s ease-in-out;
    display: inline-block;
}

.site-footer__copyright a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #3177D9;
    transition: width .4s ease-in-out;
}

.site-footer__copyright a:hover {
    color: #fff;
}

.site-footer__copyright a:hover::after {
    width: 100%;
}

.site-footer__copyright p:nth-of-type(2),
.site-footer__copyright p:nth-of-type(2) ion-icon {
    display: inline-block;
    vertical-align: middle;
}

.site-footer__copyright p:nth-of-type(2) ion-icon {
    font-size: 20px;
}
