/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    height: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    background-color: #F2EFE4;
}

/* Mobile Number Bar Styling */
.mobile-number-bar {
    background-color: #00aa1c; /* Light background color */
    padding: 10px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1030; /* Ensure it appears above other content */
    border-bottom: 1px solid #ddd; /* Optional border for separation */
}

/* Ensure no margin or padding affects positioning */
.mobile-number-bar p {
    margin: 0;
    font-size: 16px;
    color: #1d0084;
}

.mobile-number-bar a {
    color: #000000; /* Bootstrap primary color */
    text-decoration: none;
}

.mobile-number-bar a:hover {
    text-decoration: underline;
}

/* Header (Navbar) */
.header {
    position: fixed;
    top: 40px; /* Starts right below the mobile number bar */
    width: 100%;
    z-index: 1020; /* Just below the mobile number bar */
    margin: 0; /* Ensure no margin affecting positioning */
    padding: 0; /* Ensure no padding affecting positioning */
}

/* Adjust body padding to account for fixed header */
body {
    padding-top: 70px; /* Adjust based on the combined height of the mobile number bar and navbar */
}

/* Carousel */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 94vh; /* Make the carousel full screen */
    overflow: hidden;
}

.carousel-item {
    height: 100vh; /* Full screen */
    background-size: cover;
    background-position: center;
}

.content {
    position: absolute;
    text-shadow: #21212162 1px 1px 2px;
    top: 90%;
    transform: translate(0, -50%);
    width: 100%;
    text-align: center;
    z-index: 5; /* Ensure the content box is above the carousel */
}

.content-box {
    background: rgba(178, 178, 178, 0.289);
    padding: 50px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.content-box h1 {
    font-size: 40px;
    color: #fff;
}

/* Sections */
.about-section, .products-section, .sustainability-section {
    padding: 50px 0;
}

#about, #products, #sustainability {
    padding: 50px 0;
}

.about-section {
    padding: 60px 0;
}

.about-heading {
    margin-bottom: 40px;
    font-size: 80px;
    font-weight: 700;
    color: rgb(70, 28, 28);
}

.about-content-wrapper {
    display: flex;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 20px;
    align-items: center;
    gap: 40px; /* Adjusts spacing between image and content */
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-content {
    flex: 2;
    color: #4a4a4a;
}

.about-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 14px;
}


@media (max-width: 768px) {
    .about-content-wrapper {
        flex-direction: column;
        padding: 15px;
    }

    .about-content, .about-image {
        border-radius: 10px;
    }
}



.prod-row{
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 10px 5px 10px;
    border-radius: 24px;
}

.products-section {
    padding: 60px 0;
}

#product-heading {
    margin-bottom: 30px;
    font-size: 80px;
    font-weight: 700;
    color: rgb(70, 28, 28);
}

.product {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 0; /* No padding inside the container */
    transition: box-shadow 0.3s ease;
}

.product img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    justify-content: flex-end; /* Align items to the bottom */
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px; /* Match border radius of the image */
    padding: 10px; /* Optional: Add padding to the bottom for spacing */
}

.overlay-content {
    text-align: center;
    margin-bottom: 10px;
}

.overlay-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.overlay-content p {
    font-size: 16px;
    margin-bottom: 30px;
    margin: 20px 40px;
}

.overlay-content a {
    color: #fff;
    text-decoration: underline;
}

.product:hover img {
    transform: scale(1.05); /* Zoom effect on hover */
}

.product:hover .overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
    display: none; /* Hidden by default on desktop */
    

}

.product-info h2 {
    font-size: 24px;
    font-weight: 700;
}

.product-info p {
    font-size: 16px;
}


/* General styling for the sustainability section */
.sustainability-section {
    padding: 60px 0;
}

#info-heading {
    margin-bottom: 30px;
    font-size: 80px;
    font-weight: 700;
    color: rgb(70, 28, 28);
}

/* Styling for the info boxes */
.info-box {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
}

.info-img {
    flex: 1;
}

.info-img img {
    width: 80%;
    border-radius: 10px;
}

.info-content {
    flex: 2;
    color: #4a4a4a;
}

.info-content h3 {
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 900;
    color: #000;
    
}

.info-content p {
    margin-right: 30px;
    margin-bottom: 20px;
}


/* Products Section */
/* Footer Styles */
footer {
    background: #ffffff;
    color: #0f0f0f;
    padding: 40px 0;
}

footer .container {
    max-width: 1300px;
    margin: 0 auto;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
}

/* .contact-img img {
    max-width: 100%;
    height: auto;
} */

#con{
    font-size: 80px;
    font-weight: 700;
    color: rgb(70, 28, 28);
}

.contact-info {
    display: flex;
    justify-content: center;
}

.contact-deets {
    margin-bottom: 20px;
}

.address h3 {
    margin-bottom: 50px;
}

.address p {
    margin-bottom: 10px;
}

.whatsapp{
    margin-top: 40px;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
}

form button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #218838;
}

hr {
    margin: 30px 0;
}

.creds p {
    margin: 0;
}


@media (max-width: 768px) {
    .header {
        text-align: center;
    }
    .navbar .navbar-toggler {
        float: none;
    }
    .navbar .collapse {
        margin-top: 10px;
    }
    .navbar .navbar-nav {
        justify-content: center;
    }
    .navbar .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
    .navbar .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    .carousel-inner {
        height: auto;
    }
    .content {
        width: 100%;
        top:74%;
    }
    .about-heading {
        font-size: 40px;
    }
    
    #product-heading{
        font-size: 40px;
    }
    
    #info-heading{
        font-size: 40px;
    }
    
    #con{
        font-size: 50px;
    }


    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 15px; /* Ensure proper padding */
    }

    footer .row {
        width: 100%;
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center elements horizontally */
        gap: 50px; /* Space between elements */
    }

    footer .contact-img {
        text-align: center; /* Center the content inside contact-img */
    }

    footer .contact-img img {
        max-width: 80%; /* Make image responsive */
        height: auto; /* Maintain aspect ratio */
    }

    footer .contact-info {
        text-align: center; /* Center text inside contact-info */
    }

    footer #enquiry {
        margin-top: 20px;
        width: 100%; /* Ensure the form takes full width */
        text-align: center; /* Center text inside the form */
    }

    footer #enquiry form {
        display: flex;
        flex-direction: column; /* Stack form elements vertically */
        align-items: center; /* Center form elements */
        gap: 10px; /* Space between form elements */
    }

    footer .whatsapp-btn,
    footer .callus {
        display: inline-block;
        margin: 10px; /* Space between buttons */
    }

    .info-box {
        flex-direction: column;
        text-align: center; /* Center text for better readability on small screens */
    }

    .info-img {
        margin-bottom: 20px; /* Add space between image and content */
    }

    .info-img img {
        width: 100%; /* Ensure image takes full width of container */
    }

    .product-info {
        display: block; /* Show product info below image on mobile */
    }

    .overlay {
        display: none; /* Hide overlay on mobile */
    }

    .product:hover img {
        transform: none; /* Remove zoom effect on mobile */
    }
}