/* =========================================================
   1. GLOBAL / HEADER
   ========================================================= */

/* header menu */

html,body{
    overflow-x: clip;
    max-width:100%;
}

header .hfe-nav-menu .hfe-menu-item {
    border-radius: 5px !important;
    padding: 8px 20px !important;
}


/* =========================================================
   2. ELEMENTOR TABS (Home page)
   ========================================================= */

.gs-stand .e-n-tabs-heading {
    gap: 22px;
}

.gs-stand .e-n-tab-title {
    gap: 20px;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.gs-stand .e-n-tab-title .e-n-tab-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E3E6EC;
    border-radius: 50%;
    background: #fff;
    transition: all .25s ease;
}

.gs-stand .e-n-tab-title[aria-selected="true"] .e-n-tab-icon {
    background: #BE1E22;
    border-color: #BE1E22;
    box-shadow: 0 8px 20px rgba(190, 30, 34, .35);
}

.gs-stand .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
    color: #0F172A;
}

.gs-stand .e-n-tab-title .e-n-tab-icon svg path {
    stroke: #64748B;
}

.gs-stand .e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg path {
    stroke: #fff;
    fill: none;
}

.gs-journey .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
    font-size: 22px !important;
}

@media (min-width:768px) {

    .gs-journey .e-n-tabs-heading {
        position: relative;
        gap: 0 !important;
        padding: 9px 0 0 !important;
        min-width: 170px;
        background: linear-gradient(#d3d9e6, #d3d9e6) 0 0/26px 1px no-repeat;
    }

    .gs-journey .e-n-tab-title {
        position: relative;
        height: 55px;
        min-height: 55px;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 0 0 0 88px !important;
        border: 0 !important;
        box-shadow: none !important;
        background-color: transparent !important;
        background-image: linear-gradient(#8fa3c8, #8fa3c8), linear-gradient(#d3d9e6, #d3d9e6), linear-gradient(#d3d9e6, #d3d9e6), linear-gradient(#d3d9e6, #d3d9e6), linear-gradient(#d3d9e6, #d3d9e6) !important;
        background-repeat: no-repeat !important;
        background-size: 40px 1px, 24px 1px, 16px 1px, 22px 1px, 13px 1px !important;
        background-position: 0 13px, 0 2px, 0 24px, 0 35px, 0 46px !important;
    }

    .gs-journey .e-n-tab-title[aria-selected="true"] {
        background-image: linear-gradient(#a6191f, #a6191f), linear-gradient(#d3d9e6, #d3d9e6), linear-gradient(#d3d9e6, #d3d9e6), linear-gradient(#d3d9e6, #d3d9e6), linear-gradient(#d3d9e6, #d3d9e6) !important;
        background-size: 64px 1px, 24px 1px, 16px 1px, 22px 1px, 13px 1px !important;
    }

    .gs-journey .e-n-tab-title:last-child {
        background-size: 40px 1px, 0 0, 0 0, 0 0, 0 0 !important;
    }

    .gs-journey .e-n-tab-title[aria-selected="true"]:last-child {
        background-size: 64px 1px, 0 0, 0 0, 0 0, 0 0 !important
    }

    .gs-journey .e-n-tab-icon {
        display: none !important;
    }

    .gs-journey .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
        font-size: 24px !important;
        color: #000 !important;
    }
}


/* =========================================================
   3. PRODUCT CATEGORY GRID  -> [product_category_grid]
   ========================================================= */

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-category-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 160px;
    overflow: hidden;
    border-radius: 8px;
}

.product-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.product-category-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 20px;
    color: #fff;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    letter-spacing: 0.34px;
}

.product-category-card:hover img {
    transform: scale(1.05);
}

.product-category-card:hover .product-category-overlay {
    background: rgba(0, 0, 0, 0.2);
}


/* =========================================================
   4. COMPANY LISTING  -> [company_list]
   ========================================================= */

.company-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.company-card {
    padding: 20px;
    border: 1.11px solid #E2E8F087;
    border-radius: 9px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-card {
    transition: box-shadow 0.3s ease;
}

.company-card:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 6px 16px;
}

.company-image {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-image .company-logo {
    max-width: 130px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.company-title {
    font-weight: 600;
    margin: 0 0 10px;
    color: #0F172A;
}

.company-description {
    font-size: 14px;
    line-height: 20px;
    color: #334155;
    margin-bottom: 10px;
}

.company-location {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #647087;
    margin-bottom: 20px;
}

.location-icon {
    color: #A31D24;
    font-size: 13px;
}

.company-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1.11px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-website {
    font-size: 12px;
    line-height: 21px;
    font-weight: 600;
    color: #A31D24;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    text-decoration: none;
}

.company-website:hover {
    color: #A31D24;
}

.company-view-all {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.company-view-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: #A31D24;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-top-left-radius: 9px;
    border-bottom-right-radius: 9px;
    box-shadow: 0px 3.57px 12.5px 0px #A31D2447;
    margin-top: 15px;
}

.company-view-all a:hover {
    background: #82101a;
    color: #fff;
}


/* =========================================================
   5. TESTIMONIALS / PEOPLE SLIDER  -> [gs_testimonials]
   ========================================================= */

.gs-ppl-wrap {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.gs-ppl-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 64px 60px;
    background: #fff;
    border: 1px solid #E3E8F0;
    border-radius: 24px;
}

.gs-ppl-card:before,
.gs-ppl-card:after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.gs-ppl-card:before {
    left: 0;
    bottom: 0;
    width: 427px;
    height: 520px;
    background: url('../images/card-dots-left.svg') left bottom / 427px 520px no-repeat;
}

.gs-ppl-card:after {
    right: 0;
    top: 0;
    width: 132px;
    height: 100%;
    background: url('../images/card-dots-right.svg') right top / 132px 520px repeat-y;
}

.gs-ppl-photo,
.gs-ppl-body {
    position: relative;
    z-index: 1;
}

.gs-ppl-photo {
    flex: none;
    width: 335px;
    height: 335px;
    border-radius: 50%;
    background: #F3F4F6;
    overflow: hidden;
}

.gs-ppl-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 10px solid #EFEFEF;
}

.gs-ppl-body {
    flex: 1;
    min-width: 0;
}

.gs-ppl-name {
    margin: 0 0 18px;
    text-transform: uppercase;
    color: #0F172A;
}

.gs-ppl-role {
    font-weight: 700;
    text-transform: uppercase;
    color: #B91C1C;
}

.gs-ppl-text p {
    margin: 0;
}

.gs-ppl-wrap .owl-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
}

.gs-ppl-wrap .owl-nav button {
    min-width: 48px;
    width: 48px;
    min-height: 48px;
    border: 1px solid #ddd !important;
    border-radius: 50%;
    background: #fff !important;
    color: #BB2026 !important;
    font-size: 26px !important;
    align-items: center;
    display: flex;
    justify-content: center;
    box-shadow: 0px 2px 8px 0px #0F172A0D;
}

.gs-ppl-wrap .owl-nav button:hover {
    background: #BB2026 !important;
    color: #fff !important;
}

/**/
/**/
.gs-form {
    width: 100%;
}

.gs-form br {
    display: none;
}

.gs-form p {
    margin: 0 !important;
}

.gs-form .gs-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.gs-form .gs-col-1 {
    grid-template-columns: 1fr;
}

.gs-form .gs-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gs-form .gs-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gs-form label {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #0F172A;
    line-height: 21px;
}

.gs-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 6px;
}

.gs-form input[type=text],
.gs-form input[type=email],
.gs-form input[type=tel] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 43px;
    padding: 0 14px;
    margin: 0;
    background-color: #fff;
    border: 1px solid #D5DAE6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #111827;
    box-shadow: none;
    outline: none;
}

.gs-form input[type=text]::placeholder,
.gs-form input[type=email]::placeholder,
.gs-form input[type=tel]::placeholder {
    color: #8A93A5;
    opacity: 1;
    font-size: 14px;
    line-height: 17px;
}

.gs-form input[type=text]:focus,
.gs-form input[type=email]:focus,
.gs-form input[type=tel]:focus,
.gs-form select:focus{
    border-color: #A31621;
    box-shadow: 0 0 0 3px rgba(163, 22, 33, .10);
    outline: none;
}

.gs-form select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    color: #8A93A5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%238A93A5' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid #D5DAE6;
    border-radius: 8px;
    height: 43px;
    font-size: 14px;
}

.gs-form select,
.gs-form select option {
    color: #111827 !important;
}

.gs-form select:has(option[value=""]:checked) {
    color: #8A93A5 !important;
}

.gs-form .wpcf7-submit {
    margin-top: 10px;
    position: relative;
}

.gs-form input.wpcf7-submit {
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 12px 50px;
    border: 0;
    cursor: pointer;
    background: #A31621;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 14px rgba(163, 22, 33, .30);
}

.gs-form .wpcf7-submit:hover,
.gs-form .wpcf7-submit:focus {
    background: #82101a;
    color: #fff;
}

.gs-form .wpcf7-spinner {
    position: absolute;
    margin: 6px 0 0 12px;
}

.gs-form .wpcf7-not-valid {
    border-color: #D92D20;
}

.gs-form .wpcf7-not-valid-tip {
    font-size: 11px;
    color: #D92D20;
    margin-top: 4px;
}

.gs-form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
}

/* =========================================================
   6. RESPONSIVE (one block per breakpoint)
   ========================================================= */

@media (max-width: 1440px) {
    .tree-second-col{
        display: none !important;
    }
}

@media (max-width: 1024px) {

    .product-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gs-ppl-card {
        gap: 36px;
        padding: 35px;
    }

    .gs-ppl-photo {
        width: 200px;
        height: 200px;
    }
     .gs-form .gs-col-3 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 767px) {

    .company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gs-ppl-card {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 32px 20px;
    }

    .gs-ppl-card:before {
        width: 260px;
        height: 317px;
        background-size: 260px 317px;
    }

    .gs-ppl-card:after {
        width: 80px;
        background-size: 80px auto;
    }

    .gs-ppl-body {
        text-align: center;
    }

    .gs-form .gs-col-2,
    .gs-form .gs-col-3 {
        grid-template-columns: 1fr;
    }

    .gs-form .gs-btn {
        width: 100%;
        min-width: 0;
        padding: 0 20px;
    }

    .gs-journey-tabs .e-n-tabs-heading {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gs-journey-tabs .e-n-tabs-heading::-webkit-scrollbar {
        display: none;
    }

    .gs-journey-tabs .e-n-tab-title {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {

    .product-category-grid,
    .company-grid {
        grid-template-columns: 1fr;
    }
}