@keyframes pageLoadAnimation {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#landing {
    animation: pageLoadAnimation 1s ease-out;
}



#banner {
    padding: 16rem;
    position: relative;
    z-index: 1;


}

#banner .cs-container {
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

#banner .cs-content {
    z-index: 2;
    position: relative;
}

#banner .cs-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

#banner .cs-sub-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #fff;
    margin: 0.5rem 0 1.5rem;
    margin-bottom: 50px;
}

#banner .cs-button-solid {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #262626;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid white;
}

#banner .cs-button-solid:hover {
    background-color: #ffffff;
    color: #000000;
}

#banner .cs-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

#banner .cs-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#banner .cs-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #101010;
    opacity: 65%;
    z-index: 1;
}

@media only screen and (max-width: 768px) {
    /* Adjust Banner Section */
    #banner {
        padding: 10rem;
    }

    /* Container inside Banner: You can add adjustments if needed */
    #banner .cs-container {
        /* Optionally adjust container width or gap on mobile */
        gap: 1.5rem;
    }

    /* Title adjustments */
    #banner .cs-title {
        font-size: clamp(2rem, 6vw, 3rem); /* Slightly smaller title for mobile */
    }

    /* Subtitle adjustments */
    #banner .cs-sub-title {
        font-size: clamp(1.2rem, 4vw, 2rem); /* Smaller subtitle size */
        margin: 0.5rem 0 1rem;
        margin-bottom: 30px; /* Reduced bottom margin */
    }

    /* Button adjustments */
    #banner .cs-button-solid {
        font-size: 0.9rem; /* Slightly smaller button text */
        padding: 0.5rem 1.5rem; /* Reduced padding */
    }

    /* Background adjustments (if needed) */
    #banner .cs-background img {
        object-fit: cover;
        object-position: center;
    }
}


#about-us {
    padding: 4rem 1rem;
    background-color: #fff;
    font-family: "Poppins", sans-serif;
    margin-top: 20px;
    margin-bottom: 20px
}

#about-us .about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    gap: 2rem;
    flex-wrap: wrap;
}

#about-us .about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    margin-right: 40px;
}

#about-us .about-text {
    flex: 1;
    min-width: 300px;
    margin-left: 30px;
}

#about-us .about-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

#about-us .about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 768px) {
    /* Overall About Us Section */
    #about-us {
        padding: 2rem 1rem;
        margin-bottom: 50px;
    }

    /* Stack the container vertically and center its content */
    #about-us .about-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: auto;
    }

    /* Adjust the image styling */
    #about-us .about-image img {
        width: 100%;
        max-width: 100%;  /* Let the image use full width on mobile */
        margin-right: 0;
    }

    /* Center the text and remove left margin */
    #about-us .about-text {
        margin-left: 0;
        text-align: center;
    }

    /* Slightly reduce heading and paragraph sizes */
    #about-us .about-text h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    #about-us .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
}

/* === Our Products Section Styles === */
#our-products {
    background-color: #f8f8f8; /* Subtle background color */
    padding: 2rem 1rem;
    font-family: "Poppins", sans-serif;
    position: relative;
}

/* Section Header */
#our-products .products-header {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    margin-bottom: 2rem; /* Add space below the header */
}
#our-products .products-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}
#our-products .shop-now {
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    transition: color 0.3s;
}

#our-products .shop-now::before {
    content: "";
    width: 0%;
    height: 2px;
    background: var(--primary);
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: width 0.3s;
}

#our-products .shop-now:hover::before {
    width: 100%;
}

/* Product List Container */
#our-products .products-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 1rem;
    list-style: none;
    justify-content: center; /* Center the items */
}

/* Product Card Base Styles */
#our-products .cs-item {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
    /* Default (Desktop) - 4 products side by side */
    /* Each card is about 25% width minus gap */
    flex: 1 1 calc(25% - 1rem);
    max-width: 23.4375rem; /* ~375px cap if screen is huge */
    box-sizing: border-box;
}
#our-products .cs-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Link Reset */
#our-products .cs-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Picture Container */
#our-products .cs-picture-group {
    position: relative;
    margin-bottom: 1.25rem;
}
#our-products .cs-picture {
    width: 100%;
    height: 18.75rem; /* Fixed height (you can adjust this value as needed) */
    background-color: #f6f6f6;
    overflow: hidden;
    display: block;
    border-radius: 0.5rem 0.5rem 0 0; /* Optional: round the top corners */
}

/* Product Card Image */
#our-products .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Image covers the container uniformly */
    object-position: center; /* Center the image within the container */
    transition: transform 0.4s;
}

/* Optional: Hover effect to slightly zoom the image */
#our-products .cs-picture:hover img {
    transform: scale(1.05);
}

/* Product Details */
#our-products .cs-details {
    padding: 0 1rem 1rem;
    text-align: left;
}
#our-products .cs-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#our-products .cs-actions {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#our-products .cs-flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#our-products .cs-price {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Hover Transition for the Entire Card */
#our-products .cs-item:hover .cs-picture img {
    transform: scale(1.05);
}

/* === Responsive Breakpoints === */

/* Tablet: 2 products side by side */
@media (min-width: 768px) and (max-width: 1023px) {
    #our-products .cs-item {
        flex: 1 1 calc(50% - 1rem);
        max-width: 500px;
    }
}

/* Mobile: 1 product per row */
@media (max-width: 767px) {
    #our-products .products-list {
        flex-direction: column;
        align-items: center;
    }
    #our-products .cs-item {
        flex: 1 1 100%;
        max-width: 90%; /* Slight margin from screen edges */
    }
    #our-products .cs-picture img {
        height: auto; /* Let image size adapt */
    }
}



/*-- -------------------------- -->
<---       Meet The Team        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #meet-team-977 {
        padding: var(--sectionPadding);
        overflow: hidden;
    }
    #meet-team-977 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #meet-team-977 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        max-width: 40.625rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }
    #meet-team-977 .cs-topper {
        font-size: var(--topperFontSize);
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: inherit;
        letter-spacing: 0.1em;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
        display: block;
    }
    #meet-team-977 .cs-title {
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75rem;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
        position: relative;
    }
    #meet-team-977 .cs-text {
        font-size: var(--bodyFontSize);
        line-height: 1.5em;
        text-align: inherit;
        width: 100%;
        max-width: 40.625rem;
        margin: 0;
        color: var(--bodyTextColor);
    }
    #meet-team-977 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    #meet-team-977 .cs-item {
        list-style: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        position: relative;
    }
    #meet-team-977 .cs-item:hover {
        cursor: pointer;
    }
    #meet-team-977 .cs-item:hover .cs-picture:before,
    #meet-team-977 .cs-item:hover .cs-picture:after {
        opacity: 1;
    }
    #meet-team-977 .cs-item:hover .cs-picture img {
        transform: scale(1.1);
    }
    #meet-team-977 .cs-picture {
        width: 100%;
        height: 25rem;
        /* removed at tablet */
        aspect-ratio: 0.82;
        /* clips img tag from overflowing it on hover */
        overflow: hidden;
        display: block;
        position: relative;
        z-index: 1;
    }
    #meet-team-977 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */
        object-position: top;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: transform 0.7s;
    }
    #meet-team-977 .cs-info {
        width: 90%;
        max-width: 15rem;
        padding: 1.5rem;
        /* prevents padding from affecting the height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 10;
    }
    #meet-team-977 .cs-info:before {
        /* background-color */
        content: "";
        width: 100%;
        height: 100%;
        background: #1a1a1a;
        opacity: 0.8;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
        transition:
            background-color 0.3s,
            opacity 0.3s;
    }
    #meet-team-977 .cs-name {
        /* 20px - 25px */
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
        color: #fff;
        display: block;
    }
    #meet-team-977 .cs-job {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
        color: #fff;
        display: block;
    }
    #meet-team-977 .cs-social-group {
        margin: 0.5rem 0 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
    #meet-team-977 .cs-link {
        width: 2rem;
        height: 2rem;
        background-color: #e8e8e8;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #meet-team-977 .cs-link:hover .cs-icon {
        filter: grayscale(0);
        transform: translateY(-0.25rem);
    }
    #meet-team-977 .cs-icon {
        width: 0.75rem;
        height: auto;
        filter: grayscale(1);
        transition:
            filter 0.3s,
            transform 0.3s;
        z-index: 10;
    }
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
    #meet-team-977 .cs-card-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
    }
    #meet-team-977 .cs-item {
        width: 50%;
    }
    #meet-team-977 .cs-picture {
        /* remove the aspect ratio so the height can be squished */
        aspect-ratio: initial;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #meet-team-977 .cs-container {
        max-width: 80rem;
    }
    #meet-team-977 .cs-item {
        width: 25%;
    }
    #meet-team-977 .cs-item:hover .cs-info:before {
        background-color: var(--primary);
        opacity: 1;
    }
    #meet-team-977 .cs-item:hover .cs-social-group {
        height: 2rem;
        margin-top: 0.5rem;
    }
    #meet-team-977 .cs-item:hover .cs-link {
        opacity: 1;
        transform: translateX(0);
    }
    #meet-team-977 .cs-social-group {
        height: 0;
        margin-top: 0;
        transition:
            height 0.3s,
            marign-top 0.3s;
    }
    #meet-team-977 .cs-link {
        opacity: 0;
        transform: translateX(-0.5rem);
        transition:
            opacity 0.6s,
            transform 0.4s;
    }
    #meet-team-977 .cs-link:nth-of-type(2) {
        transition-delay: 0.1s;
    }
    #meet-team-977 .cs-link:nth-of-type(3) {
        transition-delay: 0.2s;
    }
    #meet-team-977 .cs-link:nth-of-type(4) {
        transition-delay: 0.3s;
    }
}


