﻿:root {
    --navy-blue: #003566;
    --orange: #FF7F32;
    --light-blue1: #0571d4;
    --light-blue2: #0495ff;
}

.navy-blue {
    background-color: var(--navy-blue);
}

.light-blue1 {
    background-color: var(--light-blue1);
}

.light-blue2 {
    background-color: var(--light-blue2);
}

.btn-border-navy-blue {
    border-color: var(--navy-blue);
}

.btn-border-light-blue1 {
    border-color: var(--light-blue1);
}

.btn-border-light-blue2 {
    border-color: var(--light-blue2);
}


/*Product details page*/
/* product image command title section*/
.basic-product-card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #fff;
}

.basic-product-title {
    font-size: 1.7rem;
    font-weight: 600;
}

.basic-details-row {
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}

    .basic-details-row:last-child {
        border-bottom: none;
    }

.basic-label {
    font-weight: 600;
    color: #555;
}

.basic-value {
    color: #333;
}

.product-gallery {
    width: 100%;
}

    .product-gallery .main-image {
        width: 100%;
        background: #f9f9f9;
        border-radius: 12px;
        overflow: hidden;
    }

        .product-gallery .main-image img {
            width: 100%;
            max-height: 546px;
            object-fit: cover;
            transition: opacity .3s ease;
        }

.thumb-list {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.thumb {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s ease;
}

    .thumb:hover {
        opacity: .7;
    }

    .thumb.active {
        border-color: #007bff;
    }

/*    socialmedia link*/
.social-black i {
    color: #000 !important;
}

    .social-black i:hover {
        color: #FF7F32 !important;
    }

.btn .btn-icon1 {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    width: 30px;
    height: 30px;
    overflow: hidden;
    color: #003566;
    font-size: 1.125rem;
}

    .btn .btn-icon1 span:nth-child(1) {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .btn .btn-icon1 span:nth-child(2) {
        position: absolute;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        opacity: 0;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

.btn .btn-icon-sm {
    width: 36px;
    height: 36px;
}
/* 3btn */

/* ---------- Small Theme Buttons (Horizontal) ---------- */
.theme-btn-sm {
    display: inline-block;
    /* background-color: #003566; */
    color: #ffffff;
    padding: 10px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    white-space: nowrap;
}

    .theme-btn-sm:hover {
        background-color: transparent;
        color: #003566;
        border-color: #003566;
    }

/* detail */
/* Outer Card */
.product-tab-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    /* margin: 40px 0; */
}

/* Tabs */
.product-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 25px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

    .product-tabs li {
        font-weight: 600;
        font-size: 17px;
        padding-bottom: 12px;
        cursor: pointer;
        color: #0b2b4b;
        position: relative;
        transition: 0.3s;
    }

        .product-tabs li.active {
            color: #ff7f32;
        }

            .product-tabs li.active::after {
                content: "";
                height: 3px;
                background: #ff7f32;
                width: 100%;
                position: absolute;
                bottom: -2px;
                left: 0;
                border-radius: 5px;
            }

/* Content */
.tab-pane {
    /* padding-bottom: 200px; */
    display: none;
}

    .tab-pane.active {
        display: block;
    }



.product-details-card {
    background: #ffffff;
    padding: 1px 25px 25px;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.06);
}

    .product-details-card .tab-title:first-of-type {
        border-top: none !important;
        padding-top: 0 !important;
    }

.tab-title {
    font-size: 19px;
    margin: 15px 0 1px;
    /* margin: 10px 0 10px; */
    font-weight: 700;
    /* color: #0b2b4b; */
    border-top: 2px dashed #eee;
    padding-top: 12px;
}


    .tab-title span {
        border-left: 4px solid #ff7f32;
        padding-left: 12px;
        display: inline-block;
    }



/* Two-column spec grid */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 15px;
    margin-top: 20px;
}

.spec-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
}

.spec-label {
    font-size: 15px;
    font-weight: 700;
    color: #555;
    line-height: normal;
}

.spec-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: normal;
}
/* responsive */

@media (max-width: 992px) {
    .spec-item {
        grid-template-columns: 150px 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .product-tab-section {
        padding: 20px;
    }

    .product-tabs {
        gap: 15px;
    }

        .product-tabs li {
            font-size: 15px;
        }


    .spec-item {
        grid-template-columns: 1fr;
    }

    .spec-label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .tab-title {
        font-size: 17px;
    }
}

@media (max-width: 767px){

    .spec-grid {
        grid-template-columns: 1fr; /* 1 column */
    }
}
/* Premium dropdown design */
.nice-select {
    height: 52px;
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d1d1d1;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    appearance: none;
    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='21' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M7 8l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

    /* Placeholder (Select unit) */
    .nice-select option:first-child {
        color: #999 !important;
    }

    /* Hover */
    .nice-select:hover {
        border-color: #c5c5c5;
    }

    /* Focus */
    .nice-select:focus {
        box-shadow: 0 0 8px rgba(228, 3, 46, 0.4);
        outline: none;
    }

    /* Option styling */
    .nice-select option {
        padding: 12px;
        font-size: 15px;
        background: #fff;
        color: #333;
    }

/*    Product page*/
.product-list-section {
    background: #f6f9fc;
}

/*Company profile page*/
/* Section */
.company-profile-section {
    background: #f6f9fc;
}

.description {
    text-align: justify;
    /* font-size: 16px; */
    /* max-width: 850px; */
    margin: auto;
    color: #444;
    line-height: 1.5;
}
.bottomDescription {
    text-align: justify;
}
/* Table Card */
.profile-table {
    background: #fff;
    padding: 5px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Rows */
    .profile-table .row {
        border-bottom: 1px solid #eee;
        padding: 8px 0;
    }

        .profile-table .row:last-child {
            border-bottom: none !important;
        }



.label {
    flex: 40%;
    font-weight: 600;
    color: #2c3e50;
}

.value {
    flex: 60%;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-table .row {
        flex-direction: column;
    }

    .label {
        margin-bottom: 5px;
    }
}

/*Homepage choose product section */
.service-slider-1 .swiper-wrapper {
    display: flex;
    align-items: stretch !important;
}

.service-slider-1 .swiper-slide {
    height: auto !important;
    display: flex;
}
.service-image-block {
    flex-shrink: 0;
}

/*homepage banner section*/

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease;
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

    .hero-slide img {
        display: block;
        width: 100%;
        height: 100%;
/*        object-fit: cover; 
        vertical-align: middle;*/
    }

@media (max-width: 768px) {
    .hero-slider {
        height: 280px;
    }
/*    .hero-slider {
        height: 269px;
    }*/
}

@media (max-width: 576px) {
    .hero-slider {
        height: 234px;
    }
/*    .hero-slider {
        height: 134px;
    }*/
}


/*Product list page*/
.product-grid {
    display: grid;
    gap: 24px; /* space between cards */
    grid-template-columns: repeat(1, 1fr); /* Mobile */
}

/* Tablet (iPad Mini 768px) → 2 columns */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (992px+) → 3 columns */
@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*homepage aboutsection*/
/* Tablet View Only */
@media (min-width: 768px) and (max-width: 913px) {
    .about-left-block .image-block:first-child {
        left: 19%;
        position: relative;
    }
}

/* MOBILE: Center both images and video */
@media (max-width: 767px) {
    .about-left-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

        .about-left-block .image-block {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .about-left-block img {
            margin: 0 auto;
            display: block;
        }
    /* Center the VIDEO container */
    .video-container {
        position: relative;
        z-index: 1;
        margin: 0 auto;
        width: 100% !important;
        max-width: 375px;
    }
        .video-container.video-active {
            z-index: 10 !important; /* bring video to front */
        }
        .video-container .thumbnail,
        .video-iframe {
            width: 100%;
        }
    /* Remove negative margin on mobile */
    .about-left-block .image-block:nth-child(2) {
        margin-top: 0 !important;
    }
}

.video-container {
    width: 375px;
    height: 330px;
    position: relative;
    z-index: 1;
}

    .video-container .thumbnail {
        width: 100%;
        height: 100%;
        cursor: pointer;
        position: relative;
    }

    .video-container .thumb-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

.video-iframe {
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 12px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    border-radius: 12px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .play-btn span {
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid white;
        margin-left: 3px;
    }

.product-btn-social-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Tablet & Mobile: max-width 912px → stack vertically */
@media (max-width: 912px) {
    .product-btn-social-wrapper {
        flex-direction: column;
        align-items: flex-start; /* left align */
        gap: 10px;
    }

        .product-btn-social-wrapper .social-menu {
            margin-top: 0 !important;
        }
}

.company-profile-section .content-list {
    display: -ms-grid;
    display: grid;
    padding-left: 0px;
}