/* *--------------------------- */
/* *      Global css            */
/* *--------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color: #042045;
    background-color: #f0f2f1;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* 🌈 colors  */
    --primary-color: #0b2c4a;
    --secondary-color: #374151;

    --color-white: #ffffff;
    --color-black: #040318;

    --text-color: #292a2b;
    --text-color-invert: #f1f1f1;
    --sec-bg-color: #f1f1f1;
    --helping-color: #b4c8de;
    --card-bg: #f0f2f1;

    --header-top-bg: #0b2c4a;
    --header-main-bg: #f1f1f1;
    --footer-color: #0b2c4a;
    --border-color: #b3b3b3;
    --btn-color: #cbd2d9;

    /* ------------------------------- */
    --box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    --box-shadow-onHover: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s;
    --header-height: auto;

    /*
  Dark blue - #122644
  Light grey - #f1f1f1
  Light blue in table - #b7c7db
  */
}

html {
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    background-color: #f0f2f1;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    html {
        font-size: 95%;
    }

    body {
        width: 100vw;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    /* 48px */
}

h2 {
    font-size: 1.5rem;
    /* 24px */
}

h3 {
    font-size: 1rem;
    /* 20px */
}

h4 {
    font-size: 0.875rem;
    /* 14px */
}

h5 {
    font-size: 0.75rem;
    /* 12 px*/
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #1e1b4b;
    font-size: 1rem;
}

p,
li,
label {
    font-size: 1rem;
}

p {
    letter-spacing: 0.6px;
    line-height: 1.4;
}

.sec-heading {
    width: fit-content;
    color: var(--primary-color);
    padding-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
}

.sub-heading {
    color: var(--secondary-color);
    max-width: 800px;
    text-transform: capitalize;
    cursor: default;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.sec-heading-left::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 6rem;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 12px;
    transition: all 0.8s;
    cursor: default;
}

.sec-heading-center::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 6rem;
    height: 3px;
    transform: translate(-50%);
    background-color: var(--primary-color);
    border-radius: 12px;
    transition: all 0.8s;
}

.sec-heading-center:hover::before,
.sec-heading-left:hover::before {
    width: 8rem;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px;
}

.btn-io {
    /* width: 7em; */
    width: fit-content;
    height: 2.5em;
    margin: 0.5em;
    background: var(--primary-color);
    color: var(--color-white);
    border: none;
    border-radius: 0px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 6px 12px;
    text-overflow: ellipsis;
}

.btn-io:hover {
    color: var(--text-color-invert);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.btn-io:after {
    content: "";
    background: var(--secondary-color);
    position: absolute;
    z-index: -1;
    left: -20%;
    right: -20%;
    top: 0;
    bottom: -1px;
    transform: skewX(-45deg) scale(0, 1);
    transition: var(--transition);
}

.btn-io:hover:after {
    transform: skewX(-45deg) scale(1, 1);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.insta-icon {
    background: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
}

.X-icon {
    background: linear-gradient(to bottom, #0c0c0c, #1c1c1c);
}

.fb-icon {
    background: linear-gradient(to bottom, #397dc7, #001bb6);
}

/* *---------------------------- */
/* *        header               */
/* *---------------------------- */
header {
    width: 100%;
    height: var(--header-height);
    /* background: var(--header-main-bg); */
    background: var(--primary-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    transition: var(--transition);
}

.nav-bar-container {
    width: 100%;
    /* padding: 15px 0; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    width: 180px;
    display: block;
}

@media (max-width: 991px) {
    .header-logo img {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        width: 120px;
    }
}

.nav-bar-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-bar-link {
    color: var(--text-color-invert);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.825rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 4px 6px;
    text-transform: uppercase;
}

.nav-bar-link:hover,
.nav-bar-link.active {
    background: var(--text-color-invert);
    color: var(--primary-color);
}

.nav-bar-dropdown {
    position: relative;
}

.nav-bar-dropdown-content {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 10px 0;
    overflow-y: scroll;
    max-height: 80vh;
}

.nav-bar-dropdown:hover .nav-bar-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-bar-dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.nav-bar-dropdown-content li {
    position: relative;
    /* padding: 8px 10px; */
    border-bottom: 1px solid #f1f2f6;
    transition: background 0.2s;
}

.nav-bar-dropdown-content li:last-child {
    border-bottom: none;
}

.nav-bar-dropdown-content li:hover {
    background: #b6c8db;
}

.nav-bar-dropdown-content a,
.nav-bar-dropdown-link {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    transition: background 0.2s, color 0.2s;
}

.nav-bar-dropdown-content ul ul {
    position: absolute;
    left: 104%;
    top: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-bar-dropdown-content li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-bar-dropdown-content ul ul li {
    padding: 8px 10px;
}

.nav-bar-dropdown-content ul ul li:hover {
    background: #b6c8db;
}

.header-search-bar {
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.09), 0 4px 2px rgba(0, 0, 0, 0.09),
        0 8px 4px rgba(0, 0, 0, 0.09), 0 16px 8px rgba(0, 0, 0, 0.09),
        0 32px 16px rgba(0, 0, 0, 0.09);
}

.nav-bar-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.nav-bar-search-input {
    width: 100%;
    padding: 4px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    outline: none;
    transition: var(--transition);
    position: relative;
}

.nav-bar-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.nav-bar-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
}

/* .nav-bar-search-input:focus~.suggestions-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
} */

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.suggestion-item {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--primary-color);
    text-align: left;
    border-bottom: 0.5px solid var(--border-color);
    transition: background-color 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f5f9ff;
    color: var(--primary-color);
}

.suggestion-item:focus {
    background-color: #e6f0ff;
    outline: none;
}

/* ---------------------------------- */
.nav-bar-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color-invert);
    cursor: pointer;
}

.bottom-header-register {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bottom-header-register a {
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.bottom-header-register .register-btn {
    background-color: var(--primary-color);
    color: var(--text-color-invert);
    border: 1px solid var(--text-color-invert);
}

.bottom-header-register .register-btn:hover {
    background-color: var(--text-color-invert);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.bottom-header-register .login-btn {
    background-color: var(--text-color-invert);
    color: var(--primary-color);
    border: 1px solid var(--text-color-invert);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* .bottom-header-register .login-btn:hover {
  background-color: #ffffff87;
} */

.bottom-header-register .login-btn:after {
    content: "";
    background: var(--secondary-color);
    position: absolute;
    z-index: -1;
    left: -20%;
    right: -20%;
    top: 0;
    bottom: -1px;
    transform: skewX(-45deg) scale(0, 1);
    transition: var(--transition);
    opacity: 0.5;
}

.bottom-header-register .login-btn:hover:after {
    transform: skewX(-45deg) scale(1, 1);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.header-search-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color-invert);
    cursor: pointer;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.header-search-btn:hover {
    background-color: rgba(255, 255, 255, 0.203);
    color: var(--text-color-invert);
}

.cart-icon {
    color: var(--text-color-invert);
}

.cart-icon:hover {
    background-color: rgba(255, 255, 255, 0.203);
    color: var(--text-color-invert);
}

.nav-bar-mobile-menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--text-color-invert);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    padding: 30px;
    overflow-y: auto;
    transition: var(--transition);
}

.nav-bar-mobile-menu.active {
    right: 0;
}

.nav-bar-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-invert);
}

.nav-bar-mobile-links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-bar-mobile-link {
    padding: 12px 0;
    color: var(--text-color-invert);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.nav-bar-mobile-dropdown-link:hover {
    transition: var(--transition);
}

/* Mobile menu link hover effect */
.nav-bar-mobile-link:hover,
.nav-bar-mobile-dropdown-link:hover {
    padding-left: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: padding-left 0.2s, background-color 0.2s;
}

.nav-bar-mobile-dropdown {
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.nav-bar-mobile-dropdown.active {
    max-height: 500px;
}

.nav-bar-mobile-dropdown-link {
    display: block;
    padding: 10px 0;
    color: var(--text-color-invert);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.nav-bar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10000;
}

.nav-bar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---------------------------------- */
.nav-bar-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color-invert);
    cursor: pointer;
}

.bottom-header-register {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bottom-header-register a {
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.bottom-header-register .register-btn {
    background-color: var(--primary-color);
    color: var(--text-color-invert);
    border: 1px solid var(--text-color-invert);
}

.bottom-header-register .register-btn:hover {
    background-color: var(--text-color-invert);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.bottom-header-register .login-btn {
    background-color: var(--text-color-invert);
    color: var(--primary-color);
    border: 1px solid var(--text-color-invert);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* .bottom-header-register .login-btn:hover {
  background-color: #ffffff87;
} */

.bottom-header-register .login-btn:after {
    content: "";
    background: var(--secondary-color);
    position: absolute;
    z-index: -1;
    left: -20%;
    right: -20%;
    top: 0;
    bottom: -1px;
    transform: skewX(-45deg) scale(0, 1);
    transition: var(--transition);
    opacity: 0.5;
}

.bottom-header-register .login-btn:hover:after {
    transform: skewX(-45deg) scale(1, 1);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.header-search-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color-invert);
    cursor: pointer;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.header-search-btn:hover {
    background-color: rgba(255, 255, 255, 0.203);
    color: var(--text-color-invert);
}

.cart-icon {
    color: var(--text-color-invert);
}

.cart-icon:hover {
    background-color: rgba(255, 255, 255, 0.203);
    color: var(--text-color-invert);
}

.nav-bar-mobile-menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--text-color-invert);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    padding: 30px;
    overflow-y: auto;
    transition: var(--transition);
}

.nav-bar-mobile-menu.active {
    right: 0;
}

.nav-bar-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-invert);
}

.nav-bar-mobile-links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-bar-mobile-link {
    padding: 12px 0;
    color: var(--text-color-invert);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.nav-bar-mobile-dropdown-link:hover {
    transition: var(--transition);
}

/* Mobile menu link hover effect */
.nav-bar-mobile-link:hover,
.nav-bar-mobile-dropdown-link:hover {
    padding-left: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: padding-left 0.2s, background-color 0.2s;
}

.nav-bar-mobile-dropdown {
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.nav-bar-mobile-dropdown.active {
    max-height: 500px;
}

.nav-bar-mobile-dropdown-link {
    display: block;
    padding: 10px 0;
    color: var(--text-color-invert);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.nav-bar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10000;
}

.nav-bar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* *--------------------------- */
/* *         hero carousel      */
/* *--------------------------- */
.hero {
    width: 100%;
}

.h-container {
    /* max-width: 1400px; */
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

/* Carousel Wrapper */
.h-carousel {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

/* Slides Container */
.h-slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 500px;
}

/* Individual Slide */
.h-slide {
    min-width: 100%;
    position: relative;
}

/* Slide Image */
.h-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.h-slide::after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 0;
}

/* Slide Content */
.h-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    color: var(--text-color-invert);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
    transition-delay: 1s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.h-slide.active .h-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.h-actual-content {
    max-width: 1400px;
    margin: 0 auto;
    margin-left: 10%;
}

.h-slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .h-slide-title {
        font-size: 2.4rem;
    }
}

.h-slide-description {
    max-width: 600px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.h-slide-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 5px #04204584;
}

.h-slide-button:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px #04204596;
}

/* Navigation Arrows */
.h-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.h-carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.h-carousel-control.prev {
    left: 20px;
}

.h-carousel-control.next {
    right: 20px;
}

/* Indicators */
.h-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.h-carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.h-carousel-indicator.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .h-slide-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .h-slide-content {
        padding: 20px;
    }

    .h-carousel-control {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .h-slide-title {
        font-size: 1.5rem;
    }

    .h-slide-description {
        display: none;
    }

    .h-slide-content {
        text-align: center;
        padding: 15px;
    }

    .h-carousel-control {
        width: 35px;
        height: 35px;
    }

    .h-carousel-indicators {
        bottom: 10px;
    }
}

/* *=========================== */
/* *      footer                */
/* *=========================== */
.footer {
    background: var(--footer-color);
    color: #fff;
    padding: 60px 0 20px;
    /* position: absolute; */
    bottom: 0;
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* .footer-logo a {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color-invert);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
} */
.footer-logo a img {
    width: 180px;
}

.f-desc {
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-color-invert);
}

.f-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.f-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 10px;
    background: var(--primary-color);
    transition: var(--transition);
}

.f-title:hover:after {
    width: 5rem;
}

.f-links {
    display: flex;
    flex-direction: column;
}

.f-link {
    color: var(--text-color-invert);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
    /*text-transform: uppercase;*/
}

.f-link:hover {
    color: var(--helping-color);
    padding-left: 5px;
}

.f-link::before {
    content: "▶ ";
    font-size: 0.8rem;
}

.f-contact-info a {
    display: flex;
    align-items: center;
    color: var(--text-color-invert);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.f-contact-info a:hover {
    color: #b7c7db;
}

.f-contact-icon {
    margin-right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.f-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.f-social-icons .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-invert);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.5rem;
}

.f-social-icons .social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--text-color-invert);
}

/* * ----------------------------- */
/* *     testimonial sec css       */
/* * ----------------------------- */

.tes-container {
    overflow: hidden;
    width: 100%;
}

.tes-header {
    width: 100%;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}

.tes-header h3 {
    width: 100%;
    text-align: center;
}

.tes-header p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.tes-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 50px; */
}

.tes-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.tes-carousel-track {
    display: flex;
    transition: var(--transition);
}

.tes-carousel-item {
    flex: 0 0 calc(100% / 3);
    padding: 15px;
    box-sizing: border-box;
}

.tes-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tes-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-onHover);
}

.tes-quote {
    color: var(--primary-color);
    /* font-size: 1.5rem; */
    margin-bottom: 15px;
}

.tes-content {
    flex-grow: 1;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.tes-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.tes-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #007bff;
}

.tes-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tes-author-info h4 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.tes-author-info p {
    margin: 3px 0 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.tes-rating {
    color: #f1c40f;
    margin-top: 5px;
}

.tes-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.tes-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
}

.tes-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.tes-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: scale(1);
}

.tes-indicators {
    display: flex;
    gap: 10px;
}

.tes-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: var(--transition);
}

.tes-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.tes-auto-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.tes-toggle-label {
    color: #7f8c8d;
}

.tes-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.tes-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tes-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 24px;
}

.tes-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked+.tes-toggle-slider {
    background-color: var(--primary-color);
}

input:checked+.tes-toggle-slider:before {
    transform: translateX(26px);
}

@media (max-width: 992px) {
    .tes-carousel-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .tes-carousel-container {
        padding: 0 30px;
    }

    .tes-carousel-item {
        flex: 0 0 100%;
    }

    .tes-title {
        font-size: 2rem;
    }

    .tes-card {
        padding: 20px;
    }

    .tes-avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .tes-carousel-container {
        padding: 0 15px;
    }

    .tes-controls {
        gap: 10px;
    }

    .tes-btn {
        width: 40px;
        height: 40px;
    }
}

/* * ================================= */
/* *        contact section css        */
/* * ================================= */
.contact-sec {
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.contact-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    overflow: hidden;
}

.contact-form {
    padding: 2rem;
    border-right: 1px solid #eee;
}

.contact-details {
    padding: 2rem;
    background: var(--primary-color);
    color: white;
    height: 100%;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.contact-details .contact-title {
    color: var(--text-color-invert);
}

.contact-description {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.contact-details .contact-description {
    color: var(--text-color-invert);
}

.form-label {
    color: var(--text-color);
}

.form-label:after {
    content: " :";
}

.contact-form-group {
    margin-bottom: 1rem;
}

.contact-form-control {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 15px;
    transition: var(--transition);
}

.contact-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(75, 108, 183, 0.25);
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: capitalize;
    align-content: center;
    height: auto;
    letter-spacing: 1px;
}

.filter-btn {
    background: var(--primary-color);
    color: white !important;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: capitalize;
    align-content: center;
    height: auto;
    letter-spacing: 1px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    margin-bottom: 0.251rem;
    padding: 12px;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-item:hover {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px,
        rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px,
        rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-info-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .contact-form {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

/* ============================= */
/*   industry */
/* ============================= */
.industry-section {
    width: 100%;
    background-color: var(--sec-bg-color);
}

.industry-cards-con {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
}

.industry-card {
    width: 100%;
    max-height: 180px;
    overflow: hidden;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    margin: 0 0;
}

.industry-cards-con.row>* {
    padding-right: calc(var(--bs-gutter-x) * 0) !important;
    padding-left: calc(var(--bs-gutter-x) * 0) !important;
}

.industry-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 2.25rem;
    background: linear-gradient(135deg, #0abab5 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 30px;
}

.industry-card-title {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.industry-card-content {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-color-invert);
    padding: 24px;
    transform: translateY(100%);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
}

.industry-card-content h3 {
    line-height: 1.4;
}

/* Fixed selector - changed .card-content to .industry-card-content */
.industry-card:hover .industry-card-content {
    transform: translateY(0);
}

.industry-card-content h3 {
    margin-bottom: 15px;
}

.industry-card-content p {
    margin-bottom: 20px;
}

.industry-card-content .read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.industry-card-content .read-more:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .industry-card {
        width: 100%;
        max-width: 350px;
    }
}

/* ------------------------- */
/*        Our Products       */
/* ------------------------- */

.our-products {
    width: 100%;
}

.filter-btn {
    margin: 0 8px 8px 0;
    border-radius: 5px;
    padding: 8px 12px;
    font-weight: 500;
    transition: var(--transition);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #b6c8db;
    border-color: #b6c8db;
    color: var(--primary-color) !important;
}

.product-container {
    width: 100%;
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--card-bg);
    height: 100%;
    max-height: 150px;
    /* border: 2px dashed transparent; */
    box-shadow: var(--box-shadow);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-onHover);
    /* border: 2px dashed var(--primary-color); */
    /* border-radius: 32px 0px 32px 32px; */
}

.product-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.product-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    margin-bottom: 4px;
    text-align: center;
}

.product-content p {
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 1px;
    font-size: 0.9rem;
    text-align: center;
}

.product-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.product-image img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

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

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
}

.learn-more:hover {
    text-decoration: underline;
}

/* For even cards (2nd, 4th, 6th, etc.) */
.product-item:nth-child(even) .product-card .row {
    flex-direction: row-reverse;
}

/* Product filter animations */
.product-item {
    display: none;
    /* Keep display none initially */
    margin-bottom: 1rem;
}

/* Override the initial display setting for timing products */
.product-item[data-category="timing"] {
    display: block;
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* *--------------------------- */
/* *   Floating Contact Form    */
/* *--------------------------- */
.popup-contact {
    width: 100%;
}

/* Floating Contact Button Styles */
.popup-contact-container {
    margin: 0 auto;
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 999;
}

.popup-contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px #e9e9e94c;
    transition: var(--transition);
}

.popup-contact-btn:hover {
    transform: translateY(-3px);
    border-radius: 6px;
}

.popup-contact-btn i {
    font-size: 1.2rem;
}

.popup-contact-close {
    position: absolute;
    right: 32px;
    top: 24px;
    z-index: 1001;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    background-color: #d5d5d5;
    color: var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.popup-contact-close:hover {
    transform: rotate(90deg);
}

/* Center popup-contact-form on screen */
.popup-contact-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 1280px;
    width: 100vw;
    max-height: 90vh;
    margin: 0 auto;
    /* background: white; */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    overflow-y: auto;
}

.popup-contact-form.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.popup-contact-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 576px) {
    .popup-contact-container {
        bottom: 20px;
        right: 20px;
    }

    .popup-contact-btn span {
        display: none;
    }

    .popup-contact-btn {
        padding: 15px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
    }

    .popup-contact-form {
        width: 95vw;
        padding: 10px;
    }

    .popup-contact-close {
        right: 15px;
        top: 15px;
    }
}

/* *----------------------- */
/* *       category page    */
/* *----------------------- */
.category-banner {
    width: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.556),
            rgba(0, 0, 0, 0.577)),
        url("../assets/hero-3.jpg");
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.category-banner-content {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.category-banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-title {
    font-size: 2.6rem;
    color: var(--text-color-invert);
}

.filter-options-con {
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
}

/*
.filter-search-wrapper {

} */

.filter-search-1 label,
.filter-search-2 label,
.filter-search-3 label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.filter-search-1 .search,
.filter-search-2 .search,
.filter-search-3 .search {
    display: flex;
    align-items: center;
    /* border: 1px solid #e6e6e6; */
    background-color: var(--color-white);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px,
        rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px,
        rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.filter-search {
    width: 100%;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    border: none;
}

/* .filter-search:focus {
} */

.filter-search-icon {
    font-size: 1rem;
    color: #95a5a6;
}

/* *--------------------------------- */
/* * category-filtered-products page */
/* *--------------------------------- */

.category-filtered-products {
    width: 100%;
}

/* .category-filtered-products .container {
  padding-top: 16px;
} */
.cfp-filter {
    background: var(--color-white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    position: sticky;
    top: 84px;
}

.cfp-filter .filter-title {
    color: var(--primary-color);
    border-bottom: 2px solid #6c757d;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cfp-filter .price-slider {
    width: 100%;
    margin: 8px 0;
}

.cfp-filter .price-value {
    font-weight: bold;
    color: #0d6efd;
}

.cfp-filter select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

/* cards */
.cfp-cards {
    width: 100%;
}

.cfp-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: var(--transition);
    position: relative;
    background-color: var(--card-bg);
}

.cfp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cfp-card .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 11;
    background: #ff6b6b;
    color: white;
    padding: 8px 12px;
    display: inline-block;
    font-weight: 700;
    font-size: 0rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 15px 0 0 0;
}

.cfp-image {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #4b6cb7, #182848);
    position: relative;
    overflow: hidden;
}

.cfp-image img {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.cfp-card:hover .cfp-image img {
    scale: 1.05;
}

.cfp-details {
    padding: 24px 16px;
}

.cfp-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cfp-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.actual-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.del-price {
    text-decoration: line-through;
    color: var(--secondary-color);
}

.cfp-btns {
    width: 100%;
    display: flex;
    gap: 6px;
}

.cfp-btns .btn-io {
    display: block;
    width: 100%;
    text-transform: capitalize;
    margin: auto 0;
}

/* *============================= */
/* *   product  details page  css */
/* *============================= */

.product-gallery {
    position: relative;
}

.main-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    margin-bottom: 1rem;
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.image-zoom {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
}

.main-image-container:hover .image-zoom {
    opacity: 1;
}

.thumbnails {
    width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
}

.thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-gallery .price {
    font-size: 1.6;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.original-price {
    font-size: 1.175;
    color: var(--secondary-color);
    text-decoration: line-through;
    margin-left: 10px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    background: var(--helping-color);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.stock-badge i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.color-options {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.size-options {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
}

.size-option {
    padding: 8px 16px;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.size-option:hover,
.size-option.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--secondary-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.quantity-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.quantity-btn:hover {
    background: var(--secondary-color);
}

.quantity-input {
    width: 50px;
    height: 30px;
    border: 1px solid var(--secondary-color);
    border-left: none;
    border-right: none;
    text-align: center;
    font-weight: 600;
}

/* .product-actions {
  display: flex;
  gap: 15px;
} */

.product-meta {
    display: flex;
    gap: 20px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.nav-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: relative;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    padding: 2rem 0;
}

.tab-content ul li::before {
    content: "▶ ";
    font-size: 0.9rem;
}

.tab-pane {
    line-height: 1.8;
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--secondary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 600;
    color: var(--color-black);
}

.review-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.stars {
    color: #ffc107;
    margin: 0.5rem 0;
}

.section-title {
    font-weight: 700;
    color: var(--color-black);
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.related-product-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.related-product-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.related-product-body {
    padding: 1.5rem;
}

.related-product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.related-product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.related-product-original-price {
    color: var(--secondary-color);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-meta {
        flex-wrap: wrap;
    }

    .main-image {
        height: 300px;
    }
}

.btn-related-cart,
.btn-related-buy {
    flex: 1 1 0;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.07);
    cursor: pointer;
}

.btn-related-cart {
    background: var(--primary-color);
    color: #fff;
}

.btn-related-cart:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.15);
}

.btn-related-buy {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-related-buy:hover {
    background: var(--primary-color);
    color: #fff;

    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.15);
}

/* *=========================== */
/* *  cart page css          */
/* *=========================== */
.cart .cart-body {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.cart .cart-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.cart .cart-items-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.cart .cart-table {
    width: 100%;
}

.cart .cart-row {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 16px 15px;
    align-items: center;
}

.cart .cart-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.cart .cart-header-row {
    display: flex;
    background-color: var(--helping-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 15px 15px;
    border-bottom: 2px solid var(--border-color);
}

.cart .cart-col {
    padding: 0 10px;
    /* border: 1px solid black;
  border-collapse: collapse; */
}

.cart .col-image {
    flex: 0 0 100px;
    text-align: center;
}

.cart .col-name {
    flex: 2;
    min-width: 180px;
}

.cart .col-price,
.cart .col-tax,
.cart .col-quantity,
.cart .col-total {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.cart .col-total {
    text-align: center;
}

.cart .col-delete {
    flex: 0 0 80px;
    text-align: center;
}

.cart .product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.cart .product-image img {
    width: 100%;
    height: 100%;
}

.cart .product-name {
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 5px;
}

.cart .product-category {
    color: var(--border-color);
    font-size: 0.85rem;
}

.cart .price,
.cart .tax,
.cart .total {
    font-weight: 600;
    color: var(--color-black);
}

.cart .quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart .quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.cart .quantity-btn:hover {
    background: #e9ecef;
}

.cart .quantity-input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px;
}

.cart .delete-btn {
    background: none;
    border: none;
    color: rgb(255, 38, 85);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart .delete-btn:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* Mobile-first responsive styles */
@media (max-width: 768px) {
    .cart .cart-header-row {
        display: none;
    }

    .cart .cart-row {
        flex-wrap: wrap;
        position: relative;
        padding: 20px 15px;
        border-bottom: 1px solid var(--border-color);
        background: var(--card-bg);
        /* margin-bottom: 16px; */
        /* border-radius: 10px; */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .cart .col-image {
        flex: 0 0 80px;
        margin-right: 15px;
    }

    .cart .col-name {
        flex: 1;
        min-width: calc(100% - 95px);
        margin-bottom: 10px;
    }

    .cart .col-price,
    .cart .col-tax,
    .cart .col-quantity,
    .cart .col-total {
        flex: 0 0 50%;
        padding: 8px 10px;
        display: flex;
        justify-content: space-between;
        border-top: 1px dashed #eee;
    }

    .cart .col-delete {
        position: absolute;
        top: 20px;
        right: 15px;
        flex: 0 0 auto;
    }

    .cart .mobile-label {
        font-weight: 600;
        color: var(--text-color);
        margin-right: 10px;
    }

    .cart .product-image {
        width: 120px;
        height: 120px;
    }

    .cart .product-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .cart .cart-container {
        border-radius: 10px;
    }

    .cart .cart-header {
        padding: 15px 20px;
    }

    .cart .cart-title {
        font-size: 1.5rem;
    }

    .cart .col-price,
    .cart .col-tax,
    .cart .col-quantity,
    .cart .col-total {
        flex: 0 0 100%;
    }

    .cart .col-name {
        min-width: calc(100% - 95px);
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .cart .cart-col {
        padding: 0 8px;
    }

    .cart .col-image {
        flex: 0 0 90px;
    }

    .cart .col-name {
        flex: 2;
        min-width: 150px;
    }

    .cart .col-price,
    .cart .col-tax,
    .cart .col-quantity,
    .cart .col-total {
        flex: 1;
        min-width: 100px;
    }
}

.cart .empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-color);
    opacity: 0.6;
}

.cart .empty-cart i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.cart .continue-shopping {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.cart .continue-shopping:hover {
    color: var(--secondary-color);
}

/* -------------- */

.order-note {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    resize: vertical;
}

.summary-card {
    /* background-color: var(--color-white); */
    border-radius: 5px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    padding: 20px;
}

.summary-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.subtotal {
    font-weight: 700;
    margin: 15px 0;
}

.info-box {
    /* background-color: #f8f9fa; */
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 0.9rem;
}

/* cart features */
.cart-features {
    width: 100%;
    background-color: var(--helping-color);
}

.feature-box {
    text-align: center;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* *==================================== */
/* *          Checkout page css          */
/* *==================================== */

.checkout-container {
    width: 100%;
}

.checkout-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.checkout-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-onHover);
}

.checkout-section-title {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.checkout-form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.checkout-payment-method {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-payment-method:hover {
    border-color: var(--primary-color);
    background-color: var(--card-bg);
}

.checkout-payment-method.active {
    border-color: var(--primary-color);
    background-color: var(--card-bg);
}

.checkout-payment-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.checkout-payment-icon {
    width: 40px;
    height: 25px;
    background-color: var(--color-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.checkout-btn-pay {
    background-color: var(--primary-color);
    color: var(--text-color-invert);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    width: 100%;
    margin-top: 20px;
}

.checkout-btn-pay:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-invert);
}

.checkout-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
}

.checkout-footer-links a {
    color: var(--text-color);
    text-decoration: none;
}

.checkout-footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkout-info-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.checkout-checkbox-label {
    font-weight: normal;
    margin-left: 5px;
}

.summary-column {
    position: sticky;
    /* top: calc(var(--header-height) + 24px); */
    top: calc(84px);
}

.trem-con {
    color: #007bff;
    transition: var(--transition);
}

.trem-con:hover {
    text-decoration: underline;
}

/**==================================  */
/* *       product detail page 2      */
/**==================================  */

.product-details {
    width: 100%;
}

.pdoduct-slider-container {
    max-width: 100%;
    padding: 20px;
}

.pdoduct-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
        rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.pdoduct-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.pdoduct-slider-slide {
    flex: 0 0 100%;
    position: relative;
    max-height: 300px;
}

.pdoduct-slider-image {
    width: 100%;
    height: 100%;
    max-height: 300px;
    /* object-fit: cover; */
    object-fit: fill;
    display: block;
}

.pdoduct-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    text-align: center;
}

.pdoduct-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.091);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.pdoduct-slider-nav:hover {
    background: rgba(0, 0, 0, 0.552);
    transform: translateY(-50%) scale(1.1);
}

.pdoduct-slider-prev {
    left: 15px;
}

.pdoduct-slider-next {
    right: 15px;
}

.pdoduct-slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pdoduct-slider-dot {
    width: 16px;
    height: 5px;
    background: #bdc3c7;
    cursor: pointer;
    transition: var(--transition);
}

.pdoduct-slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.pdoduct-slider-dot:hover {
    background: #7f8c8d;
}

/* ------------- */
.product-overview .feature-icon {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 10px;
    margin-bottom: 0;
}

.product-overview h3 {
    color: var(--primary-color);
}

.key-features {
    border-right: 1px solid var(--border-color);
}

.applications ul li:before,
.key-features ul li:before {
    /* content: "● "; */
    content: "➣ ";
}

.product-overview .applications ul li {
    font-weight: 600;
}

.application-card {
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.application-card .card-body {
    color: var(--primary-color);
    transition: var(--transition);
    display: grid;
    place-items: center;
}

.application-card .card-body:hover {
    background-color: var(--primary-color);
    color: var(--text-color-invert);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --------------------- */
.specs-table {
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px,
        rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.specs-table table {
    border-radius: 8px;
    overflow: hidden;
}

.table> :not(caption)>*>* {
    background-color: var(--card-bg);
}

.specs-table table,
.specs-table table th,
.specs-table table td {
    border: 1px solid var(--border-color);
    border-collapse: collapse;
}

.specs-table th {
    background-color: #b6c8db;
    color: var(--primary-color);
    font-weight: 700;
}

.specs-table td strong {
    font-weight: 600;
}

.why-choose-item {
    text-align: center;
    padding: 20px 10px;
}

.why-choose-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-section {
    background-color: var(--helping-color);
    color: var(--primary-color);
}

/* *================================= */
/* *          Blog Page CSS           */
/* *================================= */
/* search section */
.blog-search-sec {
    width: 100%;
}

.blog-search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search-bar input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--color-white);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: var(--transition);
}

.blog-search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(105, 65, 198, 0.1),
        0 1px 2px rgba(16, 24, 40, 0.05);
}

.blog-search-bar input::placeholder {
    color: var(--helping-color);
}

.blog-search-bar button {
    position: absolute;
    right: 6px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    opacity: 0.7;
}

.blog-search-bar button:hover {
    background: var(--primary-color);
    color: white;
    opacity: 1;
}

.blog-search-bar button:active {
    background: var(--primary-color);
    color: white;
    opacity: 1;
}

.blog-search-sec select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background-color: var(--color-white);
    color: var(--text-color);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.blog-search-sec select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(105, 65, 198, 0.1),
        0 1px 2px rgba(16, 24, 40, 0.05);
}

/* actual blog section */
.blogs {
    width: 100%;
}

/*
.blog-card-container {
} */

.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-onHover);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-content {
    padding: 1.2rem;
}

.blog-card-title {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.blog-card-des {
    color: var(--text-color);
    /* font-size: 0.9rem; */
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-date-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--secondary-color);
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
}

.blog-date::before {
    content: "\1F4C5";
}

.blog-time::before {
    content: "\23F0";
}

/* *=================================== */
/* *          Blog Detail Page          */
/* *=================================== */

.blog-details-sec {
    width: 100%;
}

.blog-details {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
        rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.blog-details:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-onHover);
}

.blog-details-image {
    overflow: hidden;
    position: relative;
}

.blog-details-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-details:hover .blog-details-image img {
    transform: scale(1.03);
}

.blog-details-date-time {
    display: flex;
    align-items: center;
    padding: 12px 24px 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.blog-details-date {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.blog-details-date::before {
    content: "\1F4C5 ";
    /* calendar emoji 📅 */
}

.blog-details-time {
    display: flex;
    align-items: center;
}

.blog-details-time::before {
    content: " \23F0 ";
    /* ⏰ clock */
}

.blog-details-title {
    padding: 10px 25px 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    line-height: 1.3;
}

.blog-details-des {
    padding: 0 25px 25px;
}

.blog-details-des p {
    margin-bottom: 1.2rem;
    text-align: justify;
    text-indent: 12px;
}

.blog-details-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.disabled {
    pointer-events: none !important;
    opacity: 0.6;
}


@media (max-width: 991px) {
    .header-logo img {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        width: 120px;
    }
}

/* --------------------- */
.nav-bar-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* ------------------------- */
/*  forgot password page css */
/* ------------------------- */

.reset-password {
    width: 100%;
}

.reset-password-container {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 32px;
    position: relative;
    transition: var(--transition);
}

.reset-password-container:hover {
    box-shadow: var(--box-shadow-onHover);
}

.reset-password-header {
    text-align: center;
    margin-bottom: 30px;
}

.reset-password-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.reset-password-subtitle {
    color: var(--secondary-color);
    font-size: 16px;
}

.reset-password-subtitle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s;
}

.reset-password-container .form-group {
    margin-bottom: 20px;
}

.reset-password-container .form-control {
    padding: 6px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    width: 100%;
}

.reset-password-container .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.15);
}

.reset-password-container .password-container {
    position: relative;
}

.reset-password-container .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--secondary-color);
    background: none;
    border: none;
}

.reset-password-container .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 25px;
}

.reset-password-btn {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .reset-password-container {
        padding: 32px 24px;
    }
}



.order-history {
    width: 100%;
}

/* Order Product Container */
.ordered-product-con {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Order Product Card */
.order-product {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 0.5px solid var(--border-color);
}

.order-product:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-id {
    padding: 8px 24px;
    border-bottom: 1px solid var(--border-color);
}

.product-id p {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.product-id h3 {
    font-weight: 600;
    color: var(--primary-color);
}

.order-product-detail {
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.order-product-img {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.order-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-product-text {
    flex: 1;
    min-width: 200px;
}

.order-product-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.order-product-text p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.order-qty {
    font-weight: 500;
    color: var(--primary-color);
}

.order-isDeliver {
    font-weight: 500;
    color: #e0ac02;
}

.order-isDeliver.delivered {
    color: #06bd58;
}

.view-invoice-btn {
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-product-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .order-product-img {
        width: 100px;
        height: 100px;
    }
}

/* ---------------------------- */
/*      shipping-details        */
/* ---------------------------- */
.shipping-details {
    width: 100%;
}

.shipping-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px 18px;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.shipping-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-onHover);
}

.shipping-card-icon {
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.shipping-card-title {
    font-weight: 600;
    color: var(--primary-color);
}

.shipping-card-text {
    color: var(--secondary-color);
    text-align: justify;
    font-size: 0.9rem;
}

.shipping-card-content span {
    display: block;
    margin-bottom: 8px;
}

.shipping-card-content a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.shipping-card-content a:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shipping-card {
        padding: 20px 16px;
    }

    .shipping-card-icon {
        font-size: 1.5rem;
    }
}

/* ---------------------- */
/*          receipt        */
/* ---------------------- */
.receipt {
    width: 100%;
}

.receipt-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px 18px;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.receipt-card:hover {
    box-shadow: var(--box-shadow-onHover);
}

.receipt-body {
    padding: 30px;
}

.order-info {
    margin-bottom: 12px;
}

.order-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.order-date {
    color: var(--secondary-color);
    font-size: 14px;
}

.message {
    background-color: #f8f9fa;
    border-left: 2px solid var(--primary-color);
    padding: 12px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 4px 4px 0;
}

/* .billing-info,
.items-table {
  margin-bottom: 25px;
} */
.billing-details {
    color: var(--secondary-color);
}

.items-table table {
    width: 100%;
    border-collapse: collapse;
}

.items-table table th,
.items-table table td {
    padding: 12px 10px;
    text-align: left;
}

.items-table table th {
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
}

.items-table table td {
    border-bottom: 1px solid var(--border-color);
}

.items-table table .total-row {
    font-weight: 600;
    color: var(--secondary-color);
}

.items-table table .amount {
    text-align: right;
}

.receipt-footer {
    background-color: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

.thank-you {
    font-size: 16px;
    color: #4a6fa5;
    margin-bottom: 10px;
    font-weight: 600;
}

.tes-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background:
        #bdc3c7;
    cursor: pointer;
    transition: var(--transition);
}

.tes-indicator.active {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    transform: scale(1.2);
}





/* ----------------------- */
/*     my account section    */
/* ----------------------- */
.profile-card {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    transition: all 0.4s;
    /* background: var(--card-bg); */
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-onHover);
}

.profile-card .account-profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid rgb(118, 118, 118);
    border-radius: inherit;
    box-shadow: var(--box-shadow);
}

.balance-tag {
    display: inline-block;
    background: linear-gradient(45deg,
            var(--primary-color),
            var(--secondary-color));
    color: var(--color-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.my-account .card {
    border-radius: 16px;
    border: none;
    box-shadow: var(--box-shadow);
    transition: all 0.4s;
}

.badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
}

.my-account .info-icon {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.my-account .info-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.my-account .info-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
}

.my-account .info-value {
    color: var(--secondary-color);
}

.profile-card .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.cart-count {
    padding: 3px 6px !important;
    position: absolute;
    top: -7px;
    right: -3px;
    color: var(--text-color);
    background: var(--helping-color);
}


.dashboard-container {
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 0;
    overflow: hidden;
    position: sticky;
    /* top: calc(var(--header-height)+32px); */
    top: 124px;
}

.sidebar-header {
    background-color: var(--primary-color);
    color: var(--text-color-invert);
    padding: 12px;
    text-align: center;
}

.sidebar-header h3 {
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-menu a:hover {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.sidebar-menu a.active {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-left: 2px solid var(--border-color);
}

.sidebar-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* ------------ */
/* main */
.content-area {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 24px;
}

.account-section-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.order-card {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.order-card:hover {
    box-shadow: var(--box-shadow-onHover);
}

.order-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #d1edff;
    color: #0c5460;
}

.status-shipped {
    background-color: #d4edda;
    color: #155724;
}

.address-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.address-card.default {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.default-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.hidden-section {
    display: none;
}
