:root {
    --primary-color: rgb(98, 152, 223);
    --secondary-color: rgb(0, 62, 101);
    --accent1-color: rgb(70, 159, 154);
    --accent2-color: rgb(0, 0, 0);
    --accent3-color: rgb(255, 255, 255);
}




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

html, body {
    max-width: 100%;
    font-family: "Inter", serif;
    font-style: normal;
    overflow-x: hidden;
    background: var(--secondary-color);
}


/*----------- HEADER --------------*/

header {
    background: var(--accent3-color);
    display: grid;
    align-items: center;
    box-shadow: 0 0 20px rgba(12, 22, 21, 0.4);
    position: fixed;  /* Fix header position */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Make sure it stays above content */
    padding: 0;
}

.image-logo img {
    width: 6rem;
    margin: .2em 8em .2em 2em;
}




/*----------- NAVIGATION --------------*/

nav {
    background-color: white;
    font-size: 1rem;
}

nav ul {
    list-style-type: none; /* Remove default list styling */
    justify-content: center; /* Center nav items */
}

nav a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: rgb(0, 62, 101);
    font-weight: 500;
    margin: 0 1rem; /* Margin between links */
    padding: 1.4rem 0;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; /* Transition effects */
}



nav a.active-menu-link {
    text-decoration: underline; /* Underline for active link */
    text-underline-offset: 5px; /* Offset for underline */
    text-decoration-thickness: 1px; /* Thickness for underline */
}


.nav-btn {
    font-weight: 600;
    color: rgb(0, 62, 101);
}







/*----------- HAMBURGER MENU --------------*/

#menubutton {
    font-size: 2rem;
    background: none;
    cursor: pointer;
    font-family: "Montserrat";
    width: 100%;
    text-align: right;
    font-weight: 300;
    border: 0;
    color: var(--accent2-color); /* Color for hamburger button */
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .25rem 2vw;
}

#menubutton::before {
    content: "\2630"; /* Hamburger icon */
}

#menubutton.open::before {
    content: "X"; /* Close icon when open */
    font-weight: 600;
    font-family: "Inter";
}

@media (max-width: 999px) {
    nav ul {
        display: none; /* Hide nav items on mobile */
    }

    nav.open ul {
        display: flex; /* Show nav items when nav is open */
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        width: 100%; /* Full width */
    }

    #menubutton {
        display: block; /* Show hamburger button */
    }
}

@media (min-width: 999px) {
    #menubutton {
        display: none; /* Hide hamburger button on larger screens */
    }
}




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

    html, body {
        max-width: 100%;
        font-family: "Inter", serif;
        font-style: normal;
        overflow-x: hidden;
        background: var(--accent3-color);
        padding: 0; /* Reset padding */
    }

    .disclaimer-banner {
        background-color: rgb(255, 220, 43);
        color: black;
        text-align: center;
        padding: .4em;
        font-weight: 400;
        font-size: .7rem;
        letter-spacing: .1rem;
        position: fixed; /* Fix the banner position */
        width: 100%; /* Ensure it spans the full width */
        top: 0; /* Position it at the top */
        z-index: 1110; /* Higher than header's z-index */
    }


    .free-shipping-banner {
        background-color: rgb(0, 62, 101);
        color: white;
        text-align: center;
        padding: .6em;
        font-weight: 400;
        font-size: .6rem;
        letter-spacing: .1rem;
        position: fixed; /* Fix the banner position */
        width: 100%; /* Ensure it spans the full width */
        top: 20px; /* Position it at the top */
        z-index: 1100; /* Higher than header's z-index */
    }

    header {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start;
        padding: 1em; /* Add some padding for touch targets */
        margin-top: 40px; /* Adjust as needed */
    }

    .nav-links {
        flex-direction: column; /* Stack nav links */
        align-items: flex-start; /* Align items to the left */
        width: 100%; /* Full width for mobile */
    }

    nav {
        font-size: 0.9rem; /* Slightly smaller font size */
    }

    nav ul {
        flex-direction: column; /* Stack nav items */
        width: 100%; /* Full width */
    }

    nav a.active-menu-link {
        text-decoration: underline;
    }

    .navigation-links a {
        justify-content: flex-start; /* Align links to the left */
        padding: 1em; /* Add padding for touch targets */
        width: 100%; /* Full width for links */
    }

    .search-field {
        margin-top: 1em; /* Add space above search field */
    }

    .search-field {
        display: flex;
        align-items: center;
    }
    
    .search-icon {
        width: 20px; /* Adjust size as needed */
        height: 20px;
        opacity: 0.5;
    }

    .search-field .search-icon {
        position: absolute;
        left: 7.5em;
        top: 14.9em;
        color: var(--secondary-color);
        font-size: 1rem;
    }

    .search-field input {
        width: 100%; /* Full width for input */
        padding: 0.7em 0 0.7em 2.5em; /* Left padding to create space for icon */
        border: 1px solid var(--secondary-color);
        border-radius: 20px;
        outline: none;
        color: black;
        background-color: rgba(215, 222, 221, 0.4);
    }


/* ----- HERO SECTION ------*/


/* CSS for fade-in effect */
.hero-text, .hero-image {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    transform: translateY(20px); /* Start slightly below */
}

.hero-text.fade-in, .hero-image.fade-in {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}


h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 4em 0 0 0;
    color: var(--secondary-color);
    line-height: 1em; /* Ensure consistent line height */
}

.hero-text p {
    font-size: 1rem;
    margin: 2em 0;
}


.hero-btn {
    display: inline-block;
    padding: .8em 3em;
    background-color: var(--accent1-color);
    color: var(--accent3-color);
    text-decoration: none;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: box-shadow 0.3s ease;
}



    .hero {
        flex-direction: column; /* Stack hero text and image */
        align-items: center; /* Center content */
        padding: 2em 1em; /* Reduce padding */
    }

    .hero-text {
        max-width: 100%; /* Full width for mobile */
        text-align: center; /* Center text */
    }

    .hero-image {
        max-width: 100%; /* Responsive image */
        height: auto; /* Maintain aspect ratio */
        margin: 1em 0; /* Space between text and image */
        
    }

    .hero-btn {
        padding: 0.8em 1.5em; /* Adjust button padding */
        font-size: 1rem; /* Smaller button text */
    }


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

    .spin-image {
        width: 200px;
        position: absolute;
        top: 85%;
        right: 5%;
        animation: spin 20s linear infinite; /* Adjust 3s to your preferred speed */
        z-index: 99;
    }


    .animated-text {
        display: none;
    }


 /*------ SUPPORTING THOSE WHO STAND - SECTION --------*/



    #with-you-section {
        flex-direction: column; /* Stack cards vertically */
        padding: 2em 1em; /* Adjust padding */
        margin: 2em 0; /* Adjust margin */
    }

    .image-card {
        display: none; /* Each card takes full width */
        margin-bottom: 1em; /* Space between cards */
    }

    .quote {
    width: 100%;
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    color: rgb(0, 62, 101);
    margin-bottom: 2em;
    padding: .5em;
    
    border-left: 4px solid white;
    
  }




/*----- BEST SELLERS SECTION -------*/


    .product-carousel {
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden; /* Ensures scrolling is controlled */
    }

    

    .card-container {
        display: flex;
        gap: 10px;
        overflow-x: auto; /* Allows horizontal scrolling */
        scroll-behavior: smooth;
        width: 100%; /* Ensure it takes full width */
    }
    
    /* Scroll buttons styling */
    .scroll-button {
        position: absolute;
        font-size: 2rem;
        top: 30%;
        transform: translateY(-50%); /* Center vertically */
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: .5em .2em;
        cursor: pointer;
        z-index: 1; /* Ensure it appears over other elements */
        transition: color 0.3s;
    }
    
    .scroll-button:hover {
        color: rgb(70, 159, 154); /* Change to your desired hover color */
    }
    
    /* Positioning the buttons */
    #scrollLeft {
        left: 0; /* Align to the left side */
    }
    
    #scrollRight {
        right: 0; /* Align to the right side */
    }
    
    .products-title h1 {
        width: 100%;
        margin: 2em auto 0 2em;
        font-weight: 400;
    }
    
    #product-cards {
        display: flex;
        overflow-x: auto; /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory; /* Snap effect */
        gap: .1em; /* Add gap between cards */
        padding: 1em 2em;
        margin: 0em 0 8em 0;
    }
    
    .product-card {
        flex: 0 0 calc(80% - 16px); /* Show 3 full cards and half of the fourth card */
        scroll-snap-align: center; /* Align card to the center when scrolling */
        padding: 1em;
        text-align: center;
        margin: 1em 1em;
    }
    
    .product-card img {
        width: 100%;
        height: auto;
        cursor: pointer;
    }
    
    .product-card h3 {
        font-size: 1rem;
        font-weight: 300;
        margin: .5em 0 0 0;
    }
    
    .product-card p {
        letter-spacing: .1rem;
        margin: .5em 0;
    }
    
    /* Hide scrollbar for a cleaner look */
    #product-cards::-webkit-scrollbar {
        display: none;
    }
    


    /*--------- MODAL ---------*/
/* Modal general layout */
    

.modal {
    display: none; /* Hidden by default; will be changed to 'flex' in JavaScript */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    margin: 10em auto;
    max-width: 500px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}


.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Modal layout */
.modal-body {
    display: flex;
    align-items: flex-start;
    width: 100%;
}


.modal-product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.modal-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Text styling inside modal */
.modal-text h2 {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.modal-text p {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Input fields styling */
#email, #phoneNumber {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.input-row {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

#phoneNumber {
    flex: 2; /* smaller width for phone number input */
}

.cta-button {
    flex: 1; /* Adjust button to align with phone number field */
    padding: 8px;
    border-radius: 4px;
    background-color: rgb(0, 62, 101);
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Small screen adjustments */
@media (max-width: 500px) {
    .modal-body {
        flex-direction: column;
        align-items: center;
    }
    .modal-product-image {
        margin-bottom: 15px;
    }
}


/*------ FEATURES SECTION ------*/

.features-section {
    text-align: center;
    padding: 40px 20px; /* Add some padding for spacing */
    background-color: rgb(0, 62, 101);
}

.features-section h2 {
    margin: 1em 0 1.4em 0; /* Space between title and images */
    font-size: 2em; /* Adjust font size as needed */
    font-weight: 400;
    text-align: center;
    color: white;
}

.features-container {
    
    gap: 3em;
    justify-content: center; /* Center images within the container */
    flex-wrap: nowrap; /* Prevent wrapping to keep all images in one row */
    
}


.features-container img {
    width: 140px;
    border-radius: 8px;
    margin-bottom: 4em;
}

/* Fade-in Animation */
.features-section .feature {
    opacity: 0;
    transform: translateX(20px); /* Keeps the slight offset for the animation */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.features-section .feature.fade-in {
    opacity: 1;
    transform: translateX(0); /* Brings the image to its original position */
}



/* Style & Functionality Section */


.style-functionality-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4em 20% 4em 20%;
    background-color: rgb(234, 244, 255);
    color: var(--accent3-color);
    max-width: 1920px;
    margin: 0 auto;
}

.style-functionality-section .content {
    width: 100%;
    padding: 0 0 0 0;
    text-align: center;
}

.style-functionality-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgb(0, 62, 101);
}

.style-functionality-section p {
    font-size: 1rem;
    margin-bottom: 3em;
    color: #333;
}

.style-functionality-section .cta-button {
    padding: 1rem 2rem;
    background-color: rgb(0, 62, 101);
    color: var(--accent3-color);
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: box-shadow 0.3s ease-in-out;
}

.style-functionality-section .cta-button:hover {
    box-shadow: 2px 4px 10px rgb(0, 0, 0, 0.4);
}



.style-functionality-section .image img {
    position: relative;
    width: 370px;
    height: auto;
    border-radius: 8px;
    margin: 2em 0 0 0;
    right: 25%;
}


@media (max-width: 768px) {
    .style-functionality-section {
        flex-direction: column;
        text-align: center;
    }
    
    .style-functionality-section .content,
    .style-functionality-section .image {
        max-width: 100%;
    }

    .style-functionality-section .image {
        margin-top: 1.5rem;
    }
}



/*----------- TESTIMONIALS SECTION --------------*/



/* Main section container to hold title and testimonials */
.reviews-section {
    max-width: 1920px;
    margin: 4em auto 0 auto;
    padding: 20px;
    text-align: center;
    
}

/* Center and style the title */
.reviews-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1em;
    font-weight: 500;
    color: rgb(0, 62, 101);
}

/* Grid layout specifically for testimonials */
.reviews-container {
    max-width: 1440px;
    display: grid;
    grid-template-columns: 1fr; /* Default single column for small screens */
    gap: 20px;
    text-align: left;
    background-color: var(--accent3-color);
    padding: 1em 1em;
    margin: 4em auto;
}

/* Four-column layout for larger screens */
@media (min-width: 992px) {
    .reviews-container {
        grid-template-columns: repeat(4, 1fr); /* Four columns for large screens */
    }
}

.testimonial {
    background: linear-gradient(to bottom, rgb(0, 80, 130), rgb(0, 35, 55));
    padding: 2em;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Image styling */
.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    margin: 0 auto;
}

/* Text styling */

.testimonial h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: white;
}

.testimonial p {
    font-size: 1rem;
    margin-top: 10px;
    color: white;
}

/* Rating stars in yellow */
.rating {
    display: flex;
    gap: 3px;
    justify-content: center; /* Center-align stars */
    margin-top: 10px;
}

.rating .star {
    color: gold;
    font-size: 1.8rem;
}


/*--------- PARTNERS SECTION ---------*/


.partners-section {
    padding: 5em 0 10em 0;
    text-align: center;
    background-color: #eaf6ff;
}

.partners-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1em;
    font-weight: 500;
    color: rgb(0, 62, 101);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.partner-card {
    width: 200px;
    padding: 3em 2em 0 2em;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.partner-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.partner-card p {
    font-size: 1em;
    color: #555;
}



/*------- PRODUCT SECTION ---------*/


.product-container {
    max-width: 1000px;
    margin: 10em auto 0 auto;
    gap: 0;
}

.image-gallery {
    flex: 2;
    margin: 0 0 0 5em;
}

.main-image img {
    width: 70%;
    border-radius: 10px;
}

.thumbnail-images {
    display: flex;
    margin-top: 1em;
    gap: 1em;
}

.thumbnail-images img {
    width: 80px;
    cursor: pointer;
    border-radius: 5px;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 5em 0 5em;
}

.product-details h1 {
    font-size: 2rem;
    margin-bottom: 1em;
}

.product-details .description {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: .6em;
}

.product-details .price {
    font-size: 1.5rem;
}

.color-select {
    margin: 1em 0;
}

.size-select {
    margin: 0 0 1em 0;
}




.color-select {
    margin: 1em 0;
}


.color-select {
    margin: 15px 0;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: transform 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border: 2px solid #000;
}



.size-select {
    margin: 0 0 1em 0;
}


.size-select {
    margin: 0 0 2em 0;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.size-option:hover {
    transform: scale(1.1);
    background-color: #ddd;
}

.size-option.selected {
    background-color: #3e9ad1;
    color: white;
    border-color: #3e9ad1;
}









.shop-now-button {
    padding: 1em;
    margin: 2em 0;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.shop-now-button:hover {
    background-color: var(--primary-color);
}

.product-description-section {
    margin: 2em auto;
    max-width: 80%;
    text-align: center;
}

.product-description-section h2 {
    text-align: center;
    margin-bottom: 1em;
}



/*------- PRODCUT REVIEW SECTION ---------*/

/* Star Rating */
.star-rating {
    color: #FFD700; /* Gold color for the stars */
    font-size: 1.2rem;
    margin-bottom: 0.5em;
}


.product-reviews-section {
    margin: 2em auto;
    max-width: 800px;
    text-align: center;
}

.product-reviews-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1em;
    text-align: center;
}

.product-reviews-section .reviews-grid {
    margin: 2em auto;
    max-width: 80%;
}

.review {
    background-color: #8bacc5;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 2em;
}

.review h3 {
    margin-bottom: 1em;
}





}





/*----------- FOOTER --------------*/

.footer {
    background: linear-gradient(to bottom, rgb(0, 62, 101), rgb(0, 29, 46));
    color: var(--accent3-color);
    padding: 40px 0 0;
}

.footer-logo img {
    width: 6rem;
}

.footer-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 70%;
}


.footer-section {
    margin: 0 40px 0 80px;
}

.footer-section h4 {
    font-size: .8rem;
    margin-bottom: 2em;
    letter-spacing: .1rem;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
    padding: 0 0 20px;
}

.footer-section ul li {
    margin-bottom: 1em;
    font-size: .8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 2em;
    padding: 0;
    list-style: none;
}

.social-links li {
    display: inline-block; /* Align social links horizontally */
}

.social-links li a {
    font-size: 1.4rem;
    color: #ccc;
    transition: color 0.3s;
}

.social-links li a:hover {
    color: var(--primary-color);
}

.footer-separator {
    width: 100%;
    border: 0;
    border-top: 1px solid rgb(98, 152, 223);
    margin: 0 0 10px;
}

.footer-bottom {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10em;
    width: 55%;
    margin-top: 0;
    font-size: .8rem;
    color: #989898;
    letter-spacing: 1px;
}

.footer-bottom p {
    margin: 0;
}

.footer-logo img {
    max-width: 150px;
    margin: 2em 0;
}

.highlight {
    margin: 0 auto;
    font-weight: 600;
    font-size: .8rem;
    color: #989898;
}

footer p {
    width: 100%;
    justify-content: center;
    color: #898989;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        flex-basis: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1em;
    }

    .footer-bottom p {
        margin: 0 0 10px;
    }
}