: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);
}


@media (min-width: 1000px) {



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


    .nav-links {
        display: flex;
        align-items: center;
    }

    .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: 1100; /* Higher than header's z-index */
    }


    .free-shipping-banner {
        background-color: rgb(0, 62, 101);
        color: white;
        text-align: center;
        padding: .8em;
        font-weight: 400;
        font-size: .7rem;
        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 {
        display: flex;
        align-items: center;
        justify-content: space-around;
        color: white;
        box-shadow: 0 0 20px rgba(12, 22, 21, 0.3);
        width: 100%;
        position: fixed;  /* Fix header position */
        top: 0;
        left: 0;
        z-index: 1000;
        margin-top: 50px; /* Adjust as needed */
    }



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

nav {
    background-color: var(--accent3-color);
    font-size: 1rem; /* Font size for navigation */
}

nav ul {
    display: flex;
    align-items: center; /* Vertically aligns items */
    gap: 1em; /* Adjust spacing between items */
}

nav a.active-menu-link {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

/* Navigation Links */
.navigation-links a {
    list-style-type: none;
    display: flex;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    color: var(--secondary-color);
    transition: background-color 0.3s, color 0.3s;
}

.navigation-links a:hover {
    color: rgb(70, 159, 154);
}

.navigation-links .nav-btn {
    font-weight: 500;
    color: var(--secondary-color);
    background-color: transparent;
}

.navigation-links .nav-btn:hover {
    color: rgb(70, 159, 154);
}

/* Search Field */
.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field 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);
}

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

::placeholder {
    font-size: 1rem;
}

.search-field {
    display: flex;
    align-items: center;
}

.search-icon {
    width: 20px; /* Adjust size as needed */
    height: 20px;
    opacity: 0.5;
}


/* Align search field within navigation links */
.navigation-links .search-field {
    display: flex;
    align-items: center;
    margin: 0;
}



  /*----------- MAIN --------------*/



/*----------- HERO SECTION FOR LARGE SCREENS --------------*/



/* 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 */
}




.hero-container {
    width: 100%;
    margin: 2em auto 0 auto;
    max-width: 1440px;
}

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4em 10em 0 10em;
    color: #333;
}

.hero-text {
    max-width: 50%;
    text-align: left;
    margin: 0 0 0 2em;
}

.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-btn:hover {
    box-shadow: 2px 4px 10px rgb(0, 0, 0, 0.4);
    color: var(--accent3-color);
}

/* Keyframe for 360-degree spin */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.hero-image {
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin: 2em 0 0 0;
    z-index: 999;
}



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


.hero {
    position: relative; /* Allows absolutely positioned children to stay within this section */
}

.ball-element {
    background: linear-gradient(to right, rgb(70, 159, 154), rgb(39, 96, 94));
    width: 600px;
    height: 400px;
    border-radius: 200px 0 0 200px;
    position: absolute; /* Position within the hero section only */
    top: 350px; /* Center vertically within the hero section */
    right: 0; /* Align to the right edge of the hero section */
    transform: translateY(-50%);
}




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

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

.animated-text {
    display: inline-block;
    border-right: 2px solid black; /* Optional blinking cursor */
    padding-left: 5px;
    overflow: hidden;
    white-space: nowrap;
    line-height: inherit; /* Match line height of h1 */
    vertical-align: text-bottom; /* Align with "Unique" */
    z-index: 9999;
}



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


#with-you-section {
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding: 6em 4em 4em 4em;
    background: linear-gradient(180deg, #e0f7fa, rgb(70, 159, 154));
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin: 4em 0;
  }
  
  .image-card {
    position: relative;
    overflow: hidden;
    flex: 1 1 30%; /* Each card takes up about 1/3 of the container's width */
    max-width: 300px; /* Optional: to limit the maximum width for each card */
    border-radius: 7rem;
  }
  
  .vertical-image {
    width: 100%; /* Makes sure the image fills the card's width */
    height: auto;
    transition: transform 0.3s ease-in-out;
  }
  
  .image-card:hover .vertical-image {
    transform: scale(1.04);
  }
  
  .overlay-text {
    position: absolute;
    bottom: 20px;
    left: 2.5em;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 10px 15px;
    transition: opacity 0.3s ease;
  }
  
  .image-card:hover .overlay-text {
    opacity: 0.9;
  }
  
  /* Quote Style */
  .quote {
    width: 100%;
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    color: rgb(0, 62, 101);
    margin-bottom: 2em;
    padding: .5em;
    
    border-left: 4px solid white;
    
  }

  
  
  /* Fade-in Animation */
  .image-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  
  .image-card.fade-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  



/* 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 6em;
    margin: 0em 0 8em 0;
}

.product-card {
    flex: 0 0 calc(30% - 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: 1.4rem;
    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 Styles */

.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: 3em; /* Adjust font size as needed */
    font-weight: 400;
    text-align: center;
    color: white;
}

.features-container {
    display: flex;
    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 {
    max-width: 50%;
    padding: 0 2em 0 0;
    text-align: center;
}

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

.style-functionality-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    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 {
    width: 600px;
    height: auto;
    border-radius: 8px;
    padding: 0 0 0 2em;
}


@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: 3rem;
    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 4em;
    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: 3rem;
    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: 250px;
    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 {
    display: flex;
    max-width: 1000px;
    margin: 8em auto;
    gap: 0;
}

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

.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 0;
}

.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;
}


.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;
}








.shop-now-button {
    padding: 1em;
    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: 750px;
}

.product-description-section h2 {
    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: 2rem;
    margin-bottom: 1em;
    text-align: center;
}

.product-reviews-section .reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 1em;
}

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

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





/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Slight upward movement */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* CSS for the fade-in effect */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}






}