.homepage {
    height: 85vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: -10px;
}

.carousel {
    height: 100%;
    overflow: hidden;
    position: relative;
    /* border-radius: 10px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.m-le {
    margin-left: 0px !important;
}

.carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
    /* To position the caption absolutely within the item */
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    /* Adjust based on where you want the text */
    left: 20px;
    /* Adjust position */
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.5);
    /* Optional background for better readability */
    padding: 10px 15px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
}

/* Social Media Icons */
.social-icons {
    margin-top: 20px;
    margin-bottom: -20px;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #f7f7f7;
    /* Light background color */
    padding: 10px 0;
    border-radius: 10px;
    /* Rounded corners for a softer look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Optional shadow for depth */
}

.social-icons a {
    font-size: 1.2rem;
    /* Smaller icon size */
    color: #7a7a7a;
    /* Greyish color */
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
    /* Optional: Blue color on hover */
}


.achievement-section {
    background-color: #0d0d0d;
    /* dark theme background */
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.achievement-heading {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.achievement-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.achievement-card {
    background-color: white;
    /* card background */
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px 20px;
    width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.achievement-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 0, 0.1);
}

.achievement-card .count {
    font-size: 42px;
    font-weight: bold;
    color: #FF9800;
    /* bright yellow */
    display: block;
    margin-bottom: 12px;
}

.achievement-card .label {
    font-size: 18px;
    color: black;
    border-top: 1px solid black;
    padding-top: 10px;
    display: block;
}



.home-img-separator {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    z-index: 1;
    margin-top: -1.5rem;
}

@media (max-width: 768px) {
    .social-icons {
        gap: 10px;
        /* Adjust gap for smaller screens */
        padding: 8px 0;
        /* Adjust padding for smaller screens */
    }

    .social-icons a {
        font-size: 1rem;
        /* Further reduce icon size on smaller screens */
    }

    .homepage {
        padding: 0;
    }

    .carousel {
        width: 100%;
        height: 90vh;
    }

    .carousel-caption {
        font-size: 1rem;
        padding: 8px 12px;
        bottom: 10px;
        left: 10px;
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-icons a {
        font-size: 1rem;
    }

    .dynamic-heading {
        font-size: 1.5rem;
    }
}


/* scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    /* Ensure the button is above other elements */
    overflow: hidden;
    /* Prevent overflow from causing extra space */
}

.scroll-btn {
    background-color: #007bff;
    /* Blue background */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    /* Makes the button circular */
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
}

.scroll-btn i {
    font-size: 16px;
}

/* Responsive Scroll Button for smaller screens */
@media (max-width: 400px) {
    .scroll-to-top {
        bottom: 15px;
        left: 15px;
    }

    .scroll-btn {
        padding: 12px;
        font-size: 18px;
    }

    .scroll-btn i {
        font-size: 14px;
    }
}

/* Whatsapp widget responsiveness */
.elfsight-app-8eef5ff3-8280-4b10-a0cd-810ec58eb551 {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 999;
    max-width: 100%;
    /* Ensure widget doesn't exceed screen width */
    overflow: hidden;
    /* Prevent any overflow */
}

/* Responsive adjustment for WhatsApp widget */
@media (max-width: 400px) {
    .elfsight-app-8eef5ff3-8280-4b10-a0cd-810ec58eb551 {
        bottom: 50px;
        right: 15px;
        max-width: 95%;
        /* Adjust for smaller screens */
    }
}

/* Prevent horizontal overflow caused by any elements */
body {
    overflow-x: hidden;
    /* Disable horizontal scrolling to fix extra space */
}