/*
Theme Name: Promise V3
Theme URI: https://nestinfotechnologies.com
Author URI: Nest Info Technologies
Description: Wholesale Dealers
Version: 3.0
Text Domain: promise
*/

/****************************
    Header
*****************************/
.header-transparent {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-black {
    background-color: var(--bs-black);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
}

.logo img {
    width: auto;
    height: 80px;
    margin-right: 35px;
}

@media (max-width: 480px) {
    .logo img {
        height: 70px;
        margin-right: 40px;
    }
}

header.sticky-header {
    top: 0;
    z-index: 999;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sticky-active {
    position: sticky !important;
    background-color: var(--bs-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sticky-Section-active {
    position: sticky !important;
    background-color: var(--bs-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/****************************
    Front Page
*****************************/
.hero-banner {
    position: relative;
    margin-top: -130px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 33%);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo-slider img {
    height: 80px;
    object-fit: contain;
    margin: auto;
    transition: transform 0.3s ease;
}

.logo-slider img:hover {
    transform: scale(1.05);
}

.swiper-slide {
    border: 1px solid var(--bs-light);
    border-radius: 10px;
    background-color: var(--bs-white);
}

.product-slider-section {
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 30%, #000000 80%);
}

.event-banner {
    background-image: url('img/empowering-innovation-together.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    padding: 60px 0;
}

/****************************
    Footer
*****************************/
.newsletter-section {
    background-color: var(--bs-black);
    border-top: 1px solid var(--bs-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.newsletter-section .btn {
    font-size: 0.9rem;
    border: 2px solid var(--bs-white);
    transition: background 0.3s ease;
    margin-left: 25px;
}

.newsletter-section .btn:hover {
    background-color: var(--bs-white);
    color: var(--bs-black);
}

.newsletter-section .btn .arrow-up {
    position: relative;
    top: -2px;
}

.footer-nav a,
.footer-nav p {
    font-size: 0.9rem;
}

.footer-nav .btn {
    padding: 0.275rem 0rem;
    color: var(--bs-white);
}

.footer-nav .btn:hover {
    color: var(--bs-primary);
}

.footer-nav .btn-link span,
.footer-nav .btn-link {
    text-align: left !important;
}

/****************************
    About Us
*****************************/
.award-section {
    padding-top: 190px;
}

.award-section.sticky-padding-top {
    padding-top: 125px;
}

.award-section h2 span {
    display: block;
}

.mission-vision-section .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/****************************
    Breadcrumb
*****************************/
.breadcrumb-section {
    border-bottom: 1px solid var(--bs-dark);
    position: absolute;
    top: 100px;
    z-index: 30;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    padding: 0 8px;
    color: var(--bs-secondary);
}

.breadcrumb-item a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--bs-secondary);
}

/****************************
    Product Category
*****************************/
.performance-section {
    background: url('img/bg-product-category.jpg') center center / cover no-repeat;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 50px;
    padding: 130px 0px 80px 0px;
}

.performance-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.performance-section h2 {
    max-width: 700px;
    margin: 0 auto;
}

.performance-section .card {
    background-color: #fff;
    border-radius: 12px;
}

.performance-section .arrow-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
}

/****************************
    brand-category
*****************************/
#stickySection {
    position: absolute;
    transition: top 0.3s ease;
    z-index: 30;
    top: 156px;
}

.brand-category-title {
    background: url('img/bg_product_category.jpg') center center / cover no-repeat;
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 285px 0px 80px 0px;
}

.brand-category-title.sticky-padding {
    padding: 180px 0px 80px 0px;
}

.brand-category-title .partnership-logo {
    border: 1px solid var(--bs-light);
    border-radius: 2px;
    background-color: var(--bs-white);
}

.brand-category-title img {
    height: 60px;
    object-fit: contain;
    margin: auto;
    transition: transform 0.3s ease;
}

.subcategory-section .read-more-link {
    position: relative;
    padding-left: 1rem;
    border: 2px solid var(--bs-black);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 10px;
    color: var(--bs-black);
}

.subcategory-section .hover-icon {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    padding-top: 7px;
}

.subcategory-section .hover-icon i {
    position: relative;
    z-index: 1;
    color: var(--bs-black);
    line-height: 32px;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

.subcategory-section .hover-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background-color: var(--bs-black);
    transition: width 0.4s ease;
    z-index: 0;
}

.subcategory-section .read-more-link:hover .hover-icon::before {
    width: 100%;
    left: 0;
    right: auto;
}

.subcategory-section .read-more-link:hover .hover-icon i {
    color: #fff;
}

.subcategory-section .card img {
    height: 250px;
    object-fit: contain;
}

.subcategory-product-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transition: all 0.3s ease;
    padding-top: 30px;
    /*background-color: var(--bs-grey);*/
    background: url('img/bg-brand-category-product.jpg') center center / cover no-repeat;
    border: 1px solid var(--bs-secondary);
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
}

.subcategory-product-card img {
    transition: transform 0.35s ease;
    padding-bottom: 70px;
}

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

.subcategory-product-desc {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    padding: 18px;
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
}

.subcategory-product-card:hover .subcategory-product-desc {
    bottom: 0;
}

.subcategory-product-title {
    position: absolute;
    bottom: 0px;
    font-weight: 600;
    color: var(--bs-black);
    z-index: 5;
    background-color: var(--bs-white);
    padding: 10px;
}

.subcategory-product-card:hover .subcategory-product-title {
    opacity: 0;
}

.subcategory-product-desc a,
.subcategory-product-desc button {
    pointer-events: auto !important;
    position: relative;
    z-index: 20;
}

.subcategory-product-desc {
    z-index: 5;
    pointer-events: none;
}

.subcategory-product-desc .d-flex {
    pointer-events: auto;
    z-index: 30;
}

@media (min-width: 992px) {
    .w-lg-35 {
        width: 35% !important;
    }

    .w-lg-65 {
        width: 65% !important;
    }
}

/****************************
    Product Brand
*****************************/
.product-brand-section {
    background: url('img/bg_product_category.jpg') center center / cover no-repeat;
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 130px 0px 80px 0px;
}

.product-brand-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.product-brand-section h2 {
    max-width: 700px;
    margin: 0 auto;
}

.product-brand-section .card {
    background-color: #fff;
    border-radius: 12px;
}

.product-brand-section .arrow-top-right {
    position: absolute;
    top: 10px;
    right: 15px;
}

/*============================================== 
    Popup 
===============================================*/
.popup-container {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    background-color: rgba(21, 17, 17, 0.61);
    border: 1px solid #000;
    height: 100vh;
    z-index: 1000;
    align-items: center;
}

.popup-container.show {
    display: block;
}

.close {
    color: var(--bs-primary);
    float: right;
    font-weight: 700;
    background: none;
    text-decoration: none;
    cursor: pointer;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    padding: 0;
    border: 0;
    margin: auto;
    font-size: x-large;
}

.popup-container a.close:hover {
    color: var(--bs-dark);
}

.popup-container p {
    font-size: 0.8rem;
    line-height: 20px;
    margin-bottom: 0rem;
}

.shortcode-content {
    width: 100%;
}

.popup-container span:hover,
.popup-container span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container:target {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.popup-container h3 {
    margin: 10px;
}

/*============================================== 
    Contact Us 
===============================================*/
.banner-contact {
    background-image: url('img/bg-contact.gif');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-contact .container {
    position: relative;
    z-index: 10;
}


.contact-section img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
}

/*============================================== 
    Certificate
===============================================*/
.navbar-btn {
    background-color: #0083e2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;

    position: relative;

    overflow: hidden;

    transition: color 0.4s ease-out;
    z-index: 1;
}

.navbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    z-index: -1;
    transition: width 0.4s ease-out;
}

.navbar-btn:hover::before {
    width: 100%;
}

.navbar-btn:hover {
    color: #0083e2;
}