/* ===== Reset & Body ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--bg-body);
}

a {
    text-decoration: none;
}

:root {
    /* ===== Colors ===== */
    --primary-color: #28a745;
    --primary-color-dark: #1e7e34;
    --secondary-color: #e9f3ea;
    --secondary-color-hover: #d6edd5;
    --text-color: #333;
    --text-color-light: #fff;
    --bg-body: #f0f2f5;
    --bg-navbar: #fff;
    --bg-dropdown: #fff;
    --dropdown-hover-bg: #e6f4e6;
    --star-color: #facc15;
    --dark-bg: #10141c;
    --light-text: #f5f5f5;
    --muted-text: #a9b2ba;
    --gradient-orange: #ef4444;
    --gradient-green: linear-gradient(135deg, #a3e635, #65a30d);
    --glass-bg: rgba(255, 255, 255, 0.85);


    /* ===== Fonts ===== */
    --font-family: 'Inter', Arial, sans-serif;
    --heading-font: 'Quicksand', sans-serif;
    --subheading-font: 'Poppins', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --font-size-small: 14px;
    --font-size-base: 15px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;

    /* ===== Sizes ===== */
    --logo-height: 65px;
    --icon-size: 45px;
    --cart-count-size: 22px;

    /* ===== Shadows ===== */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-dropdown: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-inset: inset 0 0 5px rgba(0, 0, 0, 0.05);
    --shadow-inset-hover: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-color-dark), var(--primary-color));
    color: var(--text-color-light);
    font-size: var(--font-size-small);
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInDown 1s ease forwards;
}

.top-bar .contact {
    font-weight: 500;
}

.top-bar .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.top-bar .social-icons a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: white;
    font-size: var(--font-size-small);
    transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.2);
}

/* ===== Navbar ===== */
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    background: white;
    padding: var(--font-size-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1000;
    animation: slideInDown 1s ease forwards;

}

.navbar .logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05) rotate(-1deg);
}

.navbar .search-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 10px 25px;
    max-width: 750px;
    background: #f9f9f9;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-inset);
    transition: box-shadow 0.3s ease;
}

.navbar .search-wrapper:hover {
    box-shadow: var(--shadow-inset-hover);
}

.navbar select.category {
    height: 45px;
    padding: 0 var(--font-size-base);
    border: none;
    background: var(--secondary-color);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
    outline: none;
}

.navbar select.category:hover {
    background: var(--secondary-color-hover);
    transform: scale(1.02);
}

.navbar input.search-input {
    flex-grow: 1;
    height: 45px;
    padding: 0 var(--font-size-base);
    border: none;
    outline: none;
    font-size: var(--font-size-base);
    background: transparent;
}

.navbar button.search-btn {
    width: 50px;
    height: 45px;
    border: none;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.navbar button.search-btn:hover {
    background: var(--primary-color-dark);
}

.navbar button.search-btn i {
    color: white;
    font-size: 18px;
    transition: transform 0.3s;
}

.navbar button.search-btn:hover i {
    transform: rotate(20deg);
}

.navbar .nav-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    position:relative;
}
.navbar .nav-icons .cart-view{
    position: absolute;
    top: 100%;
    right: -15px;
    background: #fff;
    padding: 10px;
    min-width: 300px;
}

.navbar .nav-icons button.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.navbar .nav-icons button.icon-btn:hover {
    background: var(--primary-color-dark);
    transform: scale(1.1);
}

.navbar .nav-icons .cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px var(--font-size-base);
    background: var(--primary-color);
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: var(--font-size-small);
    transition: all 0.3s ease;
}

.navbar .nav-icons .cart-btn:hover {
    background: var(--primary-color-dark);
    transform: scale(1.05);
}

.navbar .nav-icons .cart-count {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text-color-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* ===== Menu Bar ===== */
.menu-bar {
    background: white;
    box-shadow: var(--font-size-base);
    animation: fadeIn 1s ease forwards;
}

.menu-bar nav {
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.menu-bar ul.menu {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0 25px;
    flex-wrap: wrap;
}

.menu-bar ul.menu>li {
    position: relative;
}

.menu-bar ul.menu>li>a {
    display: block;
    padding: 18px 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
    position: relative;
}

.menu-bar ul.menu>li>a::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s;
}

.menu-bar ul.menu>li>a:hover::before {
    width: 100%;
}

.menu-bar ul.menu>li>a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Dropdown ===== */
.menu-bar ul.menu>li.dropdown>a::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    margin-left: 8px;
    font-size: 0.8em;
    color: #555;
    transition: transform 0.4s ease, color 0.4s ease;
    vertical-align: middle;
}

.menu-bar ul.menu>li.dropdown:hover>a::after {
    transform: rotate(180deg) translateY(-2px);
    color: var(--primary-color);
}

.menu-bar ul.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--text-color-light);
    box-shadow: var(--shadow-dropdown);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-bar ul.menu>li:hover>.dropdown-menu,
.menu-bar ul.menu>li.hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    list-style: none;
}

.menu-bar ul.dropdown-menu li a {
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    text-decoration: none;
    transition: all 0.7s ease;
}

.menu-bar ul.dropdown-menu li a:hover {
    background: var(--dropdown-hover-bg);
    color: var(--primary-color-dark);
    transform: translateX(5px);
    border-radius: 2px;
}

/* ===== Hamburger ===== */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 26px;
    color: var(--primary-color);
    transition: color 0.3s, transform 0.3s;
}

.hamburger:hover {
    color: var(--primary-color-dark);
    transform: scale(1.2);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar .search-wrapper {
        width: 100%;
        margin: 10px 0;
    }

    .navbar input.search-input {
        position: relative;
    }

    .navbar button.search-btn {
        position: absolute;
        margin-left: 19.5rem;
        display: inline-flex;
    }

    .navbar .nav-icons {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .navbar .logo img {
        height: 35px;
    }

    .menu-bar ul.menu {
        flex-direction: column;
        display: none;
        width: 100%;
        gap: 0;
        background: var(--text-color-light);
        transition: all 0.5s ease;
    }

    .menu-bar.active ul.menu {
        display: flex;
    }

    .menu-bar ul.menu>li {
        width: 100%;
    }

    .menu-bar ul.menu>li>a {
        padding: var(--font-size-base) 25px;
    }

    .menu-bar ul.dropdown-menu {
        position: static;
        box-shadow: none;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        padding-left: 25px;
    }

    .menu-bar ul.menu>li.dropdown>a::after {
        float: right;
        margin-right: 10px;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 25px;
        top: var(--font-size-base);
    }
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ===== Main Section Starts ===== */
.MB-top {
    position: relative;
    background: url('../images/top-images.avif') no-repeat center center/cover;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: bgZoom 12s ease-in-out infinite alternate;
}

/* Dark overlay for readability */
.MB-top .MB-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Content Styling */
.MB-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 15px;
    animation: fadeUp 1.5s ease forwards;
    opacity: 0;
}

/* Heading */
.MB-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    animation: slideIn 2s ease forwards;
    font-family: var(--heading-font);
}

.MB-content h2 span {
    color: var(--primary-color);
}

.MB-content p {
    margin-bottom: 20px;
    font-family: var(--body-font);
}

/* Button Styling */
.MB-top-btn .btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 2.2s ease forwards;
    opacity: 0;
}

.MB-top-btn .btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Subtle background zoom animation */
@keyframes bgZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .MB-content h2 {
        font-size: 1.8rem;
    }

    .MB-top-btn .btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
}




/* =====our Products===== */
.our-best-product-top {
    background-color: #f5fdf8;
}

.our-best-products-heading {
    text-align: center;
    position: relative;
    margin: 3rem 0;
}

.our-best-products-heading h2 {
    font-size: 2.5rem;
    font-weight: 800;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    font-family: var(--heading-font);
    color: var(--primary-color);
}

.our-best-products-heading .border-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: var(--primary-color-dark);
    /* Green accent */
    border-radius: 2px;
    width: 20%;
    /* half of the text width */
}


/* Card */
.our-best-products-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 7px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.our-best-products-card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: var(--shadow-dropdown);
}

/* Image */
.our-best-products-image-wrapper {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
}

.our-best-products-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.our-best-products-card:hover .our-best-products-image-wrapper img {
    transform: scale(1.07);
}

.our-best-products-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.our-best-products-card:hover .our-best-products-image-wrapper::after {
    opacity: 1;
}

/* Favorite Icon */
.our-best-products-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-navbar);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    padding: 7px 10px;
    font-size: 1.2em;
    color: #ef4444;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.our-best-products-card:hover .our-best-products-favorite {
    transform: translateY(0);
    opacity: 1;
}

.our-best-products-favorite.active {
    color: var(--text-color-light);
    background: #ef4444;
    transform: scale(1.15);
    box-shadow: var(--shadow-dropdown);
}

/* Content */
.our-best-products-content {
    padding: 1.5rem;
    text-align: center;
}

.our-best-products-name {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--heading-font);
    color: var(--primary-color-dark);
    margin-bottom: 0.5rem;
}

.our-best-products-rating {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
}

.our-best-products-price {
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1.4rem;
}

/* Buttons */
.our-best-products-actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.our-best-products-btn-cart,
.our-best-products-btn-more {
    font-weight: var(--font-weight-medium);
    border: none;
    text-align: center;
    border-radius: 3px;
    padding: 0.65rem 1.7rem;
    cursor: pointer;
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.our-best-products-btn-cart {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: var(--text-color-light);
    box-shadow: var(--shadow-light);
}

.our-best-products-btn-cart:hover {
    background: linear-gradient(135deg, #de1720, #de1720);
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-medium);
}

.our-best-products-btn-more {
    background: transparent;
    border: 2px solid #de1720;
    color: #de1720;
    position: relative;
    overflow: hidden;
}

.our-best-products-btn-more::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #de1720;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 0;
}

.our-best-products-btn-more:hover::before {
    transform: translateX(0);
}

.our-best-products-btn-more span,
.our-best-products-btn-more i {
    position: relative;
    z-index: 1;
}

.our-best-products-btn-more:hover {
    color: var(--text-color-light);
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-medium);
}

/* Responsive */
@media (max-width: 400px) {
    .our-best-products-card {
        width: 100%;
    }
}

/* =====our New Products==== */
.our-new-products-top {
    background-color: #f5fdf8;
}

.our-new-product {
    background: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 3px;
    padding: 0 0 20px 0;
    position: relative;
    box-shadow: var(--bg-dropdown);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.our-new-product:hover {
    transform: translateY(-8px);
    box-shadow: var(--secondary-color-hover);
}

.our-new-product img {
    width: 100%;
    height: auto;
    border-radius: 3px 3px 0 0;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.our-new-product:hover img {
    transform: scale(1.05);
}

.our-new-product-save-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: #d6161d;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.1;
}

.our-new-product-title {
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin: 5px 0;
    color: var(--primary-color);
}

.our-new-product-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.our-new-product-stars i {
    color: var(--star-color);
}

.our-new-product-price {
    font-weight: 700;
    color: #222;
    font-size: 0.9rem;
    margin: 0;
}

.our-new-product-price-original {
    font-weight: 500;
    font-size: 0.875rem;
    color: #b6b6b6;
    text-decoration: line-through;
    margin-left: 8px;
}

.our-new-product-hover-buy {
    position: absolute;
    bottom: -120px;
    left: 0;
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s ease;
}

.our-new-product:hover .our-new-product-hover-buy {
    bottom: 0;
    opacity: 1;
}

.our-new-product-quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.our-new-product-quantity-button {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #e6e6e6;
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.our-new-product-quantity-button:hover {
    background: #d3d3d3;
}

.our-new-product-quantity-input {
    width: 50px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 6px;
    font-weight: 600;
}

.our-new-product-buy-now-button {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
}

.our-new-product-buy-now-button:hover {
    background: var(--primary-color-dark);
}

.our-new-product-wishlist-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s ease;
}

.our-new-product-wishlist-link:hover {
    color: var(--primary-color-dark);
}

@media (max-width: 1100px) {
    .our-new-product {
        flex-basis: 40%;
    }
}

@media (max-width: 480px) {
    .our-new-product {
        flex-basis: 90%;
    }
}

/* =====style button===== */
.cut-btn {
    position: relative;
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease;
}

/* Top-right cut */
.cut-btn::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0px;
    right: 0px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Bottom-left cut */
.cut-btn::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: 0px;
    left: 0px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* Hover effect */
.cut-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.cut-btn:hover::before,
.cut-btn:hover::after {
    background: var(--primary-color);
}


/* ======Background images==== */
/* Hero Section */
.materials-hero {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('../images/images-2.avif') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
    object-fit: cover;
}

.materials-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 0;
    transition: all 0.4s ease;
}

/* Hero Content */
.materials-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease forwards;
}

.materials-content h1 {
    font-family: var(--heading-font);
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--primary-color), var(--text-color-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textSlide 2s ease forwards;
}

.materials-content p {
    font-family: var(--subheading-font);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color-light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease forwards 0.5s;
}

.materials-button {
    font-family: var(--subheading-font);
    background: var(--primary-color);
    color: var(--text-color-light);
    border: none;
    padding: 0.8rem 3rem;
    font-size: 1.2rem;
    border-radius: 7px;
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-medium);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.materials-button:hover {
    background: var(--primary-color-dark);
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textSlide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .materials-hero {
        height: 380px;
    }

    .materials-content h1 {
        font-size: 2.2rem;
    }

    .materials-content p {
        font-size: 1.2rem;
    }

    .materials-button {
        padding: 0.65rem 2.5rem;
        font-size: 1rem;
    }
}

/* =====work with maulik bazar==== */
.mbz-collab-section {
    width: 100%;
    padding: 1rem;
}

.mbz-heading {
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.mbz-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 4px;
    background: var(--primary-color);
}

.mbz-lead {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 720px;
    margin: 0 auto 3rem;
}

.mbz-card {
    border: none;
    border-radius: 6px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-light);
    transition: all 0.35s ease;
}

.mbz-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.mbz-card-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-medium);
    font-family: var(--subheading-font);
    color: var(--primary-color);
}

.mbz-card-text {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.mbz-btn {
    border-radius: 7px;
    padding: 0.6rem 1.4rem;
    font-weight: var(--font-weight-medium);
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mbz-btn:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 6px 18px rgba(34, 139, 34, 0.25);
    transform: translateY(-3px);
}

/* Animate on load */
.mbz-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: mbzFadeUp 0.8s forwards;
}

.mbz-fade-up:nth-child(1) {
    animation-delay: 0.2s;
}

.mbz-fade-up:nth-child(2) {
    animation-delay: 0.4s;
}

.mbz-fade-up:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes mbzFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====footer==== */
.mb-footer {
    position: relative;
    overflow: hidden;
    padding: 80px 20px 30px;
    color: var(--light-text);
    z-index: 1;
}

/* Animated gradient background */
.mb-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, #1f2937, #111827);
    background-size: 400% 400%;
    z-index: -1;
}

.mb-footer h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.mb-footer h5::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background: var(--primary-color);
    margin-top: 8px;
    border-radius: 2px;
}


.mb-footer-contact p,
.mb-footer-links a {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--muted-text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mb-footer-links a:hover,
.mb-footer-contact p:hover {
    color: var(--primary-color);
    transform: translateX(6px);
    text-decoration: underline;
}

.mb-social-icons {
    margin-top: 15px;
}

.mb-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-text);
    margin-right: 12px;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: floatAnim 3s ease-in-out infinite;
}

.mb-social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-6px) scale(1.1);
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.mb-footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 35px 0;
}

.mb-footer-bottom {
    font-size: 13px;
    color: var(--muted-text);
    position: relative;
    z-index: 1;
}

/* Scroll to top button */
#mb-scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

#mb-scrollTopBtn:hover {
    transform: scale(1.15);
    background: #27ae60;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* =====Subscribe===== */
.subscribe-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

/* Left image side */
.subscribe-left {
    flex: 1;
    background: url("../images/bg-no-image-1.jpg") center/cover no-repeat;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-color-light);
}

.subscribe-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(40, 167, 69, 0.85), rgba(0, 0, 0, 0.5));
}

.subscribe-left .overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 420px;
}

.subscribe-left h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subscribe-left p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Right form side */
.subscribe-right {
    flex: 1.2;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subscribe-right h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
}

.subscribe-form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.subscribe-form-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 50px;
}

.subscribe-form-button {
    border: none;
    border-radius: 50px;
    padding: 14px 26px;
    background: var(--primary-color);
    color: var(--text-color-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: var(--primary-color-dark);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

.message {
    margin-top: 1rem;
    font-size: 0.95rem;
    display: none;
    font-weight: 500;
}

.message.success {
    color: var(--primary-color-dark);
}

.message.error {
    color: #e63946;
}

/* Responsive */
@media (max-width: 900px) {
    .subscribe-wrapper {
        flex-direction: column;
    }

    .subscribe-left {
        min-height: 240px;
    }
}
.checkout-progress-wrap{padding: 50px 0}
.checkout-step {display: flex;flex-direction: column;align-items: center;margin: 0 30px;min-width: 110px;position: relative;}
.checkout-step-number{border-color:#dddddd;width: 46px;height: 46px;border: 3px solid;margin-bottom: 10px;border-radius: 50%;display: flex
;align-items: center;justify-content: center;opacity: .5;}
.checkout-step-active .checkout-step-number{border-color: #00497a;opacity: 1;color:#4a4a4a}
.checkout-step-label {font-size: 20px;opacity: .5;}
.checkout-step::after {content: "";width: 100%;position: absolute;border-bottom: 1px dashed #ddd;left: 83%;top: 25%;}
.checkout-step:last-child::after{content: none}
.cart-total{border:3px solid #00497a;padding: 15px}
.cust-inp{border-radius:4px 0 0 4px}
.cust-btn{border-radius: 0 4px 4px 0}
.cust-inp:focus{outline: none;box-shadow: none}
.qty-btn{background: #fff;width: 30px;height: 30px;display: flex;justify-content: center;align-items: center;cursor: pointer;border: 1px solid #ddd}
.qty-btn:hover,.qty-btn:focus{background: #f7f7f7}
.form-box{border: 1px solid #ddd;padding:30px;margin: 30px 0}
.mb-3 label{display: block;margin-bottom: 5px}
.info-form{padding: 30px;border: 1px solid #ddd;}
.c-pointer{cursor: pointer;}