@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Spartan',sans-serif;
}

#topbar {
    background-color: #e4e3f0; 
    color: #333;
    font-size: 14px;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
}

#topbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

#topbar .contact-info {
    display: flex;
    gap: 15px; 
}

#topbar .contact-info span {
    margin-right: 20px;
}

.phone-link {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.phone-link:hover {
    color: #00b7b7; 
    text-decoration: underline;
}

.email-link {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover {
    text-decoration: underline; 
    color: #00b7b7; 
}

h1 {
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #222;
}

h6 {
    font-weight: 700;
    font-size: 12x;
}

p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s ease;
}

button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.2s ease;
}

body {
    width: 100%;
}

/* Header Start */

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 30px;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s ease; 
}

#navbar li a:hover,
#navbar li a.active {
    color: #088178;
}

#navbar li a:hover::after,
#navbar li a.active::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #088178;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

/* Dropdown Menu */
#navbar .dropdown {
    position: relative;
}

#navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    border: 1px solid white;
    list-style: none;
    padding: 8px 0;
    min-width: 120px;
    max-width: 150px;
    display: none;
    box-shadow: 0px 4px 6px rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    z-index: 1000;
    pointer-events: auto;
}

#navbar .dropdown-menu li {
    padding: 8px 15px;
}

#navbar .dropdown-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: block;
    transition: 0.3s;
    font-size: 14px;
}

#navbar .dropdown-menu li a:hover {
    background-color: #f4f4f4;
    color: black;
}

/* Show Dropdown on Hover */
#navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* Adjust dropdown arrow */
#navbar .dropdown a i {
    margin-left: 5px;
    font-size: 12px;
}


#close {
    display: none;
}

#mobile {
    display: none;
    align-items: center;
}

/* Home Page */

#hero {
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: top 10% right 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero h4 {
    padding-bottom: 15px;
}

#hero h1 {
    color: #088178;
}

#hero button {
    background-image: url(images/button.png);
    background-color: transparent;
    color: #088178;
    border: 0;
    padding: 14px 80px 14px 65px;
    background-repeat: no-repeat;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

/* Slider Container */
#slider {
    position: relative;
    top: 30px;
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    padding: auto;
}

/* Slide Images */
.slider-container {
    position: relative;
    width: 100%;
    max-height: 450px; /* Adjust height as needed */
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    padding: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots Indicator */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    text-align: center;
    margin-top: 80px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.dot.active {
    background-color: rgb(0, 0, 0);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgb(0, 0, 0);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Fade Animation */
.fade {
    animation: fadeEffect 1s ease-in-out;
}

/* Categories Section */
#categories {
    width: 100%;
    padding: 40px 0;
}

.category-container {
    display: flex;
    gap: 10px;
}

/* Large Category (Left) */
.category.large {
    flex: 2;
    height: 350px;
}

/* Right Side (Stacked Categories) */
.right-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Small Categories (Men's & Women's) */
.category.small {
    height: 170px;
}

/* Make Entire Category Clickable */
.category {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    text-decoration: none; /* Remove link underline */
}

/* Overlay Effect */
.category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Text Styling */
.category span {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

/* Hover Effect */
.category:hover {
    transform: scale(1.05);
}

#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
}

#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;   
}

#product1 .pro .des {
    text-align: start;
    padding: 10px 0;
}

#product1 .pro .des span {
    color: #606063;
    font-size: 12px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;
}

#product1 .pro .des i {
    font-size: 12px;
    color: rgb(243, 181, 25);
}

#product1 .pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: #088178;
}

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;
}

#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(images/banner/b2.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 40vh;
}

#banner h4 {
    color: #fff;
    font-size: 16px;
}

#banner h2 {
    color: #fff;
    font-size: 30px;
    padding: 10px 0;
}

#banner h2 span {
    color: #ef3636;
}

#banner button:hover {
    background-color: #088178;
    color: #fff;
}

#sm-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#sm-banner .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    background-image: url(images/banner/b17.png);
    background-size: cover;
    background-position: center;
    min-width: 850px;
    height: 50vh;
    padding: 30px;
}

#sm-banner h4{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

#sm-banner h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

#sm-banner span  {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 15px;
}

#sm-banner .banner-box:hover button{
    background-color: #088178;
    border: 1px solid #088178;
}

#sm-banner .banner-box:nth-child(2) {
    background-image: url(images/banner/b10.jpg);
}

#banner3 .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    background-image: url(images/banner/b7.jpg);
    background-size: cover;
    background-position: center;
    min-width: 30%;
    height: 30vh;
    padding: 30px;
    margin-bottom: 20px;
}

#banner3 .banner-box:nth-child(2) {
    background-image: url(images/banner/b4.jpg);
}

#banner3 .banner-box:nth-child(3) {
    background-image: url(images/banner/b18.jpg);
}

#banner3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 80px;   
}

#banner3 h2 {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
}

#banner3 h3 {
    color: #ec544e;
    font-weight: 800;
    font-size: 15px;
}
/*----- brands -----*/

.banner3{
    margin: 100px auto;
}
.col-5{
    width: 160px;
}
.col-5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}
.col-5 img:hover{
    filter: grayscale(0);
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

#newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-image: url(images/banner/b14.png);
    background-repeat: no-repeat;
    background-position: 20% 30%;
    background-color: #041e42;
}

#newsletter h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

#newsletter p {
    font-size: 14px;
    font-weight: 600;
    color: #818EA0;
}

#newsletter p span{ 
    color: #ffbd27;
}

#newsletter .form {
    display: flex;
    width: 40%;
}

#newsletter input {
    height: 3.125rem;
    padding: 0 1.25rem;
    font-size: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px;
    outline: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#newsletter button {
    background-color: #088178;
    color: #fff;
    white-space: nowrap;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .logo {
    margin-bottom: 30px;
}

footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
}

footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}

footer a {
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin: 0 0 10px 0;
}

footer .follow {
    margin-top: 20px;
}

footer .follow i{
    color: #465b52;
    padding-right: 4px;
    cursor: pointer;
}

footer .install .row img{
    border: 1px solid #088178;
    border-radius: 6px;
    margin: 10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover {
    color: #088178;
}

footer .copyright {
    width: 100%;
    text-align: center;
}

/* Shop Page */

#page-header {
    background-image: url(images/banner/b1.jpg);
    width: 100%;
    height: 40vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
}

#page-header h2,
#page-header p {
    color: #fff;
}

#pagination {
    text-align: center;
}

#pagination a {
    text-decoration: none;
    background-color: #088178;
    padding: 15px 20px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
}

#pagination a i {
    font-size: 16px;
    font-weight: 600;
}

/* Single Product Page */

#productdetails {
    display: flex;
    margin-top: 20px;
}

#productdetails .single-pro-image{
    width: 40%;
    margin-right: 50px;
}

.small-image-group {
    display: flex;
    justify-content: space-between;
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}

#productdetails .single-pro-details {
    width: 50%;
    padding-top: 30px;
}

#productdetails .single-pro-details h4 {
    padding: 40px 0 20px 0;
}

#productdetails .single-pro-details h2 {
    font-size: 26px;
}

#productdetails .single-pro-details select {
    display: block;
    padding: 5px 10px;
    margin-bottom: 10px;
}

#productdetails .single-pro-details input {
    width: 50px;
    height: 47px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}

#productdetails .single-pro-details button {
    background-color: #088178;
    color: #fff;
}

#productdetails .single-pro-details input:focus {
    outline: none;
}

#productdetails .single-pro-details span {
    line-height: 25px;
}


/* About Page */

#page-header.about-header {
    background-image: url(images/about/banner.png);
}

#about-head {
    display: flex;
    align-items: center;
}

#about-head img {
    width: 50%;
    height: auto;
}

#about-head div {
    padding-left: 40px;
}

.container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}
h2 {
    color: #3c2762;
    font-size: 2.5em;
    margin-bottom: 20px;
}
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.about-section img {
    width: 40%;
    border-radius: 10px;
}
.about-description {
    width: 55%;
    padding: 20px;
    text-align: left;
}
.about-description h3 {
    color: #3c2762;
    font-size: 1.8em;
    margin-bottom: 10px;
}
.about-description p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
}
@media screen and (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }
    .about-section img, .about-description {
        width: 100%;
    }
}

/* Contact Page */

#contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details {
    width: 40%;
}

#contact-details .details span,
#form-details form span {
    font-size: 12px;
}

#contact-details .details h2,
#form-details form h2 {
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}

#contact-details .details h3 {
    font-size: 16px;
    padding-bottom: 15px;
}

#contact-details .details li {
    list-style: none;
    display: flex;
    padding: 10px 0;
    align-items: center;
}

#contact-details .details li i {
    font-size: 14px;
    padding-right: 22px;
}

#contact-details .details li p {
    margin: 0;
    font-size: 14px;
}

#contact-details .map {
    width: 55%;
    height: 400px;
}

#contact-details .map iframe {
    width: 100%;
    height: 100%;
}

#form-details {
    display: flex;
    justify-content: space-between;
    margin: 30px;
    padding: 80px;
    border: 1px solid #e1e1e1;
}

#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
}

#form-details form button {
    background-color: #088178;
    color: #fff;
}

#form-details .people div {
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

#form-details .people div img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    margin-right: 15px;
}

#form-details .people div p {
    margin: 0;
    font-size: 13px;
    line-height: 25px;
}

#form-details .people div span {
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

/* Cart Page */

#cart {
    overflow-x: auto;
}

#cart table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}

#cart table img {
    width: 70px;
}

#cart table td:nth-child(1) {
    width: 100px;
    text-align: center;
}

#cart table td:nth-child(2) {
    width: 150px;
    text-align: center;
}

#cart table td:nth-child(3) {
    width: 250px;
    text-align: center;
}

#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6) {
    width: 150px;
    text-align: center;
}

#cart table td:nth-child(5) input{
    width: 70px;
    padding: 10px 5px 10px 15px;
}

#cart table thead {
    border: 1px solid #e2e9e1;
    border-left: none;
    border-right: none;
}

#cart table thead td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 18px 0;
}

#cart table tbody tr td {
    padding-top: 15px;
}

#cart table tbody td {
    font-size: 13px;
}

#cart-add {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#cart-add .coupon {
    width: 50%;
    margin-bottom: 30px;
}

#cart-add .coupon h3,
#cart-add .subtotal h3 {
    padding-bottom: 15px;
}
 
#cart-add .coupon input {
    padding: 10px 20px;
    outline: none;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #e2e9e1;
}

#cart-add .coupon button,
#cart-add .subtotal button {
    background-color: #088178;
    color: #fff;
    padding: 12px 20px;
}

#cart-add .subtotal {
    width: 50%;
    margin-bottom: 30px;
    border: 1px solid #e2e9e1;
    padding: 30px;
}

#cart-add .subtotal table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

#cart-add .subtotal table td {
    width: 50%;
    border: 1px solid #e2e9e1;
    padding: 10px;
    font-size: 13px;
}

/* Media Query */

@media (max-width: 799px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    .section-p1, #hero, #banner, #sm-banner, #banner3, #newsletter, footer {
        width: 100%;
        max-width: 100%;
    }
    .section-p1 {
        padding: 40px 40px;
    } 

    #topbar {
        position: relative;
        padding: 8px 0; /* Adjust padding for smaller screens */
        font-size: 13px; /* Slightly smaller text */
    }

    #topbar .container {
        flex-direction: column; /* Stack phone & email */
        text-align: center;
    }

    #topbar .contact-info {
        flex-direction: column; /* Stack items */
        gap: 5px; /* Reduce space */
    }

    #topbar .contact-info span {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    #navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Cover full width */
        height: 100vh; /* Cover full height */
        background-color: rgba(30, 30, 30, 0.95);
        padding: 80px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    #navbar.active {
        right: 0;
    }

    #navbar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align to left */
        padding-left: 20px;
    }

    #navbar ul li {
        width: 100%;
        margin-bottom: 25px;
    }

    #navbar ul li a {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        display: block;
        padding: 10px;
        transition: color 0.3s ease-in-out;
    }

    #navbar ul li a:hover {
        color: #00b7b7;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar .dropdown {
        position: relative;
    }

    #navbar .dropdown-menu {
        position: static;
        display: none;
        background-color: black;
        border: 1px solid white;
        width: 60%; /* Reduce width */
        max-width: 140px; /* Set a maximum width */
        margin: 0 auto; /* Center the dropdown */
    }

    #navbar .dropdown-menu li {
        padding: 5px 8px; /* Reduce padding */
        text-align: center; /* Center text */
    }

    #navbar .dropdown-menu li a {
        font-size: 11px; /* Smaller text */
    }

    #navbar .dropdown-menu.show {
        display: block;
    }

    #mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed !important;
        top: 70px !important;
        right: 15px !important;
        z-index: 1100 !important; /* Ensure it's above everything */
        width: 50px;
        height: 50px;
        background-color: transparent; /* Keep the background clear */
        padding: 10px;
        cursor: pointer;
    }

    #mobile i {
        color: #fff;
        font-size: 28px;
        transition: color 0.3s ease-in-out;
    }
    #mobile i:hover {
        color: #ddd; /* Light grey on hover */
    }

    #close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: #fff;
        cursor: pointer;
        transition: color 0.3s ease-in-out;
    }

    #close:hover {
        color: #00b7b7; /* Glow effect on hover */
    }

    body.nav-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6); /* Darker overlay */
        z-index: 900;
        transition: opacity 0.3s;
    }
    

    #lg-bag {
        display: none;
    }

    #hero {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
        height: 75vh;
        background-image: url(images/hero5.png);
    }

    #hero .text-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6); /* Light transparent overlay */
        backdrop-filter: blur(4px); /* Apply slight blur behind text */
        z-index: 0;
    }

    #hero h1,
    #hero h2,
    #hero p,
    #hero button {
        position: relative;
        z-index: 1;
    }


    #hero h1 {
        font-size: 28px; /* Adjust size for better fit */
        font-weight: bold;
        margin-bottom: 10px;
        color: #041e42;
    }

    #hero h2 {
        font-size: 22px;
        margin-bottom: 5px;
        color: #088178;
    }

    #hero p {
        font-size: 16px;
        max-width: 90%;
        margin-bottom: 20px;
        color: #333;
    }

    #hero button {
        background-image: url(images/button.png);
        background-color: transparent;
        color: #088178;
        border: 0;
        padding: 14px 80px 14px 65px;
        background-repeat: no-repeat;
        cursor: pointer;
        font-weight: 700;
        font-size: 14px;
    }

    .slider-container {
        max-height: 300px; /* Adjust height for mobile */
    }

    .prev, .next {
        font-size: 24px;
        padding: 8px;
    }

    .dots-container {
        bottom: 10px; /* Adjust position for mobile */
        gap: 8px;
    }

    .dot {
        height: 12px;
        width: 12px;
        border: 2px solid rgba(0, 0, 0, 0.8); /* Keep border visible on small screens */
    }


    .category-container {
        flex-direction: column; /* Stack categories vertically */
        gap: 5px;
    }

    .category {
        height: auto;
        min-height: 150px; /* Prevents images from being too short */
    }

    .category.large {
        height: 250px;
    }

    .category.small {
        height: 120px;
    }

    /* Ensuring background images cover properly */
    .category {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    #product1 .pro-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #product1 .pro {
        width: 45%;
        margin: 10px;
    }

    #banner {
        height: auto;
        padding: 20px;
        text-align: center;
    }

    #sm-banner{
        display: flex;
        flex-direction: column; /* Stack banners */
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #sm-banner .banner-box {
        width: 100% !important;  /* Make it full width */
        min-height: 300px; /* Set a minimum height */
        padding: 40px 20px !important; /* Adjust padding for content */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative; /* Keep everything contained */
        overflow: hidden;
    }

        #sm-banner .banner-box {
        background-size: contain !important; /* Show full image */
        background-position: center !important; /* Center the image */
        background-repeat: no-repeat !important; /* Prevent repeating */
    }

    #banner3 {
        padding: 0 40px;
    }

    #banner3 .banner-box {
        width: 28%;
    }

    #newsletter .form {
        width: 90%;
        margin: 0 auto;
    }

    /* Contact Page */

    #form-details {
        padding: 40px;
    }

    #form-details form {
        width: 50%;
    }
        /* Footer */
    footer {
        padding: 20px;
        text-align: center;
    }

    /* Fix for Feature Icons */
    #feature .fe-box img {
        max-width: 50px;
        margin-bottom: 10px;
    }
}

@media (max-width: 477px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .section-p1, #hero, #banner, #sm-banner, #banner3, #newsletter, footer {
        width: 100%;
        max-width: 100%;
    }
    #navbar {
        width: 90%;
        max-width: 280px;
    }
    .section-p1 {
        padding: 20px;
    }

    #header {
        padding: 10px 30px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }
    p{
        font-size: 10px;
    }

    #hero {
        padding: 0 20px;
        background-position: 55%;
    }

    #feature {
        justify-content: space-between;
    }

    #feature .fe-box {
        width: 155px;
        margin: 0 0 15px 0;
    }

    #product .pro {
        width: 100%;
    }
    
    #banner {
        height: 40vh;
    }

    #sm-banner .banner-box {
        height: 40vh;
        margin-bottom: 20px;
    }

    #banner3 {
        padding: 0 20px;
    }

    #banner3 .banner-box {
        width: 100%;
    }

    #newsletter {
        padding: 40px 20px;
    }

    #newsletter .form {
        width: 100%;
    }

    footer .copyright {
        text-align: start;
    }

    /* Single Product */
    #productdetails {
        display: flex;
        flex-direction: column;
    }

    #productdetails .single-pro-image {
        width: 100%;
        margin-right: 0px;
    }

    #productdetails .single-pro-details {
        width: 100%;
    }

    /* Blog Page */
    #blog {
        padding: 100px 20px 0 20px;
    }

    #blog .blog-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #blog .blog-img {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 30px;
    }

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

    /* About Page */
    
    #about-head {
        flex-direction: column;
    }

    #about-head img {
        width: 100%;
        margin-bottom: 20px;
    }

    #about-head div {
        padding-left: 0px;
    }

    #about-app .video {
        width: 100%;
    }

    /* Contact Page */

    #contact-details {
        flex-direction: column;
    }

    #contact-details .details {
        width: 100%;
        margin-bottom: 30px;
    }

    #contact-details .map {
        width: 100%;
    }

    #form-details {
        margin: 10px;
        padding: 30px 10px;
        flex-wrap: wrap;
    }

    #form-details form {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Cart Page */

    #cart-add {
        flex-direction: column;
    }

    #cart-add .coupon {
        width: 100%;
    }

    #cart-add .subtotal {
        width: 100%;
        padding: 20px;
    }
}