.navbar-brand h2{
    padding: 10px;
    margin: 15px;
    background-color: rgb(154, 199, 154);
    border-radius:15px;
    border: 1px solid green;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}


.navbar {
    height: auto;
    z-index: 1020;
}

.navbar-nav {
    flex-direction: row;
    border-radius: 30px;
    padding: 0px 30px;

}


.nav-item>a:hover {
    background-color: rgb(65, 147, 58);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-item {
    margin-left: 0.5rem;
    /* Adjust spacing between nav items */
}

.navbar-custom {
    margin-left: 1rem;
    /* Margin for login button */
}

.card-body {
    text-align: center;
    /* Center align the text in the card body */
}

.navbar-brand img {
    border-radius: 25%;
}

.collapse {
    border-radius: 30px;
}


.contact-text {
    margin-right: 1rem;
    /* Margin for contact text */
}

.navbar-nav .nav-link {
    color: #04331a !important;
    font-weight: 700;
    font-size: 35px;
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 40px;
        /* Smaller font size for smaller screens */
    }
}

/* Even smaller font size for very small screens (e.g., phones in portrait mode) */
@media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 15px;
        /* Even smaller font size for very small screens */
    }
}

/* image slider code */

.carousel-container {
    width: 65vw;
    /* 50% of the viewport width */
    margin: 0 auto;
    /* Center horizontally */
    background-color: rgb(114, 165, 114);
    /* Background color for visualization */
    z-index: 998;
}

.carousel-inner img {
    width: 100%;
    /* Ensure image fills the container */
    height: auto;
    /* Maintain aspect ratio */
}

@media (max-width: 768px) {
    .carousel-container {
        width: 90vw;
        /* Adjust for smaller screens if needed */
    }
}
           /* product styling */
h1{
    background-color: whitesmoke;
}

h2{
    margin-left: 0rem;
}


.card-img-top {
    max-width: auto;
    object-position: center;
    /* Ensure image fits within the card */
    height: auto;
    /* Maintain aspect ratio */
    padding: 5px;
}

.text-center {
    text-align: center;
    /* Center align text in the left column */
}

.card {
    max-width: 400px;  /* Restrict the maximum width of the card */
    margin-left: 20px;
    border: 2px solid white;
    background-color: teal;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .card {
        margin: 10px 20px;
        border: 2px solid white;
        background-color: rgb(77, 190, 190);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px 5px;
    }
}

.custom-card {
    max-width: 250px;
    /* max-height: 250px; */
    height: 300px;
    /* Reduce the width of the cards */
    margin: 0 auto;
    /* Center the card horizontally */
    overflow: hidden;
    /* Ensure any overflow is hidden */
    border: 2px solid #ddd;
    /* Add a border with desired thickness and color */
    border-radius: 8px;
    /* Optional: Round the corners of the border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; 

}

.custom-card img {
    width:70%;
    /* Make the image take up the full width of the container */
    height: 70%;
    /* Set a specific height for the image container */
    object-fit:cover;
    /* Cover the container, focusing on the center of the image */
    object-position: center;
    /* Center the image within the container */
    border-bottom: 2px solid #ddd;
    transition: transform 0.3s ease;
}

.custom-card:hover{
    border: 2px solid green;
}

.custom-card img:hover {
    transform: scale(1.05);
    background-color: rgb(247, 245, 244);

    /* Slightly enlarge the image on hover */
}