html, body {
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}


/* Common styles for homeproduct and ourstory sections */
.homeproduct, .ourstory {
    margin-left: 20px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    padding: 20px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    margin-right: 20px;
    margin-bottom: 100px;
    position: relative;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}
.ourstory{
    margin-left: 60px;
}
.ourstory p{
    margin-right: 60px;
}
/* Styles for image content and text content */
.image-content {
    flex: 1;
    text-align: left; /* Align image to the left */
    padding-right: 90px; /* Space between image and text */
    margin-left: 30px;
}

.image-content img {
    max-width: 100%; /* Ensure the image is responsive */
    height: 200px;
    height: auto; /* Maintain aspect ratio */
    border-radius: 20px;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 42px; /* Adjust font size as needed */
    margin-top: 0;
    margin-bottom: 15px; /* Space below the heading */
    color: #bb1c2a;
}

.text-content p {
    font-size: 15.5px; /* Adjust font size as needed */
    margin-top: 0;
    margin-bottom: 30px; /* Space below the paragraph */
}

.text-content button {
    font-size: 16px;
    padding: 10px 20px;
    background-color: #bb1c2a; /* Button color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.text-content button:hover {
    background-color: #9c414a; /* Darker shade on hover */
}


/* Responsive styles */
@media (max-width: 768px) {
    .homeproduct{
        margin-top: -60px;
    }
    .homeproduct, .ourstory {
        flex-direction: column; /* Stack image and text vertically on small screens */
        align-items: left; /* Center align items */
        padding: 20px 10px; /* Adjust padding */
    }
    .ourstory{
        margin-left: 20px;
    }
    .ourstory p{
        margin-right: 20px;
    }
    .image-content {
        padding-right: 0;
        margin-left: 0;
        margin-bottom: 20px; /* Space below the image */
        order: -1; /* Place the image content first */
    }

    .text-content {
        padding-right: 0;
        order: 0; /* Keep text content order after the image */
    }

    .text-content h1 {
        font-size: 32px; /* Adjust font size for smaller screens */
        margin-bottom: 20px; /* Space below the heading */
        order: 1; /* Ensure the h1 comes after the image */
    }

    .text-content p {
        order: 2; /* Ensure paragraph comes after h1 */
        font-size: 16px; /* Adjust font size for smaller screens */
        margin-bottom: 20px; /* Space below the paragraph */
    }

    .text-content button {
        font-size: 16px; /* Adjust font size for smaller screens */
        padding: 8px 16px; /* Adjust padding for smaller screens */
        order: 3; /* Ensure button comes last */
    }
}

@media (max-width: 480px) {
    .homeproduct, .ourstory {
        flex-direction: column; /* Stack elements vertically */
        padding: 10px; /* Adjust padding for extra small screens */
    }

    .image-content {
        order: -1; /* Place the image content first */
        margin-bottom: 20px; /* Add space below the image */
    }

    .text-content {
        order: 0; /* Keep text content order after the image */
    }

    .text-content h1 {
        order: 1; /* Ensure the h1 comes after the image */
        font-size: 28px; /* Adjust font size for mobile view */
        margin-top: 0; /* Remove top margin for consistency */
        margin-bottom: 10px; /* Add margin for spacing below the h1 */
    }

    .text-content p {
        order: 2; /* Ensure paragraph comes after h1 */
        font-size: 13px; /* Adjust font size for mobile view */
        margin-top: 0; /* Remove top margin */
        margin-bottom: 10px; /* Add space below the paragraph */
        line-height: 1.2;
    }

    .text-content button {
        order: 3; /* Ensure button comes last */
        font-size: 12px; /* Adjust font size for mobile view */
        padding: 6px 12px; /* Adjust padding for mobile view */
        margin-top: 10px; /* Add space above the button */
    }
}
.meetoutgrantee h3{
    font-size: 43px;
    text-align: center;
    margin-bottom: 90px;
    color: #bb1c2a;
}
.icons {
    margin-left: 130px;
    margin-right: 130px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    text-align: center;
    cursor: pointer;
  }
  
  .icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #131313; /* Adjust color as needed */
    margin-bottom: 90px;
    border-radius: 1px;
    padding: 30px;
    transition: background-color 0.7s ease, border-color 0.3s ease, transform 0.4s ease; /* Add transform for scaling */
  }
  .icon:hover {
    background-color: #fcbcbc57;
    border-radius: 20px;
    transform: scale(1.9); /* Scale up slightly on hover */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Optional shadow for emphasis */
}
  .icon p{
    font-size: 13px;
    transition: font-size 0.6s ease; /* Smooth transition for font size */
    line-height: 1.2;
  }
  .icon i {
    font-size: 4.2rem; /* Adjust icon size as needed */
    margin-bottom: 0.5rem;
    cursor: pointer;
  }
  .icon span {
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif; /* Use your preferred font */
  }

#seedlinh{
    font-size: 60px;
}
#peresevatives{
    font-size: 60px;
}
#artificial{
    font-size: 60px;
}
@media (max-width: 768px){
    .meetoutgrantee h3{
        font-size: 32px;
    }
    .icon i{
        font-size: 2.2rem;
    }
    .icon span{
        font-size: 16px;
    }
    .icons {
        margin-left: 40px;
        margin-right: 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-bottom: 2rem;
        text-align: center;
        cursor: pointer;
    } 
    .icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #131313; /* Adjust color as needed */
        margin-bottom: 90px;
        border-radius: 1px;
        padding: 0px;
      }
}


/* Carousel styles */
.productcarousel {
    margin: 0 90px; /* Add margins to both left and right */
    position: relative;
    width: calc(100% - 140px); /* Adjust width to account for margins */
    overflow: hidden; /* Hide overflow to only show part of the carousel */
    margin-bottom: 100px;
    padding: 30px;
}

.carousel-container {
    display: flex;
    overflow: hidden; /* Hide overflow within the container */
    
}
.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
    flex-wrap: nowrap; /* Prevent items from wrapping to the next line */
    
}

/* For large screens (3 items) */
.carousel-item {
    flex: 1 0 33.33%; /* Show 3 items at a time */
    box-sizing: border-box;
    padding: 20px;
    position: relative; /* Relative positioning for child elements */
    
}

/* Product card styles */
.product-card {
    border: none; /* Remove the border */
    border-radius: 15px; /* Keep rounded corners */
    padding: 10px;
    text-align: center;
    background: #ffffffb2; /* White background for product card */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.486); /* Enhanced shadow for a soft card effect */
    position: relative;
    height: auto;
}
.product-card:hover {
    border: 2px solid #bb1c298e; /* Border around the product card */
    background: #f8c5c541; /* White background for product card */
}
.product-card img {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 60%;
    height: auto;
    border-bottom: 1px solid #f8f8f8c0; /* Divider line between image and symbol */
}

.symbol {
    position: absolute;
    top: -10px; /* Adjust to position above the top border */
    left: -10px; /* Adjust to position outside the left border */
    background-color: #ff0000; /* Background color of the symbol */
    color: white; /* Text color */
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px; /* Rounded corners */
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #bebebedc; /* Border to make the symbol stand out */
}
/* Responsive styles */
@media (max-width: 1024px) {
    .carousel-item {
        flex: 1 0 50%; /* Show 2 items at a time */
    }
    .product-card {
        height: 380px; /* Adjust height for smaller screens */
    }
}

/* Mobile view: display 1 item at a time */
@media (max-width: 600px) {
    .productcarousel {
        padding: 0 0px;
        margin-left: 40px;
        margin-right: 40px;
        width: calc(100% - 60px); /* Adjust width to account for margins */
    }
    .carousel-item {
        flex: 1 0 100%; /* Show 1 item at a time */
    }
    .product-card {
        height: auto;
        padding: 0px;
    }
    .product-card img {
        width: 30%;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .symbol {
        top: 5px;
        left: 5px;
        font-size: 10px;
        padding: 3px 6px;
    }
}


