html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior:smooth;
}


/* Lower Navbar Styling */
.main-navbar {
    position: sticky;
    background-color: #242424; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); 
    padding: 10px 15px; 
    top: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    color: #ffdd00; 
    font-weight: bold;
    font-size: 24px; 
}
.logo img {
    height: 55px; 
    margin-right: 8px;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.site-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.site-navigation ul li {  
    margin-left: 30px; 
    padding: 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.site-navigation ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px; 
    transition: color 0.3s ease, transform 0.3s ease;
}
.site-navigation ul li:hover {
    background-color: #333333; 
}

.site-navigation ul li a:hover {
    color: #ffdd00; 
    transform: scale(1.1);
}

/* Donate Button Styling */
.donate-btn {
    background-color: #4880da; 
    color: white;
    padding: 14px 32px; 
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-btn:hover {
    background-color: #578bdf; /* Lighter blue hover */
    transform: scale(1.05); /* Subtle hover effect */
}


/* dropdown */
/* Dropdown menu styling */
.site-navigation ul li.dropdown {
    position: relative;
}

.site-navigation ul li .dropdown-content {
    margin: 0;
    padding: 0;
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #242424;
    top: 100%; /* Aligns the dropdown below the parent li */
    left: 0;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    z-index: 1000;
}

.site-navigation ul li .dropdown-content li {
    list-style: none;
    margin: 0; /* No margin for dropdown items */
    padding: 8px 12px;
    border-radius: 0;
}

.site-navigation ul li .dropdown-content li a {
    font-size: 16px; /* Slightly smaller font */
    padding: 10px;
    color: white; 
    /* background-color: #333333; */
    display: block;
    text-align: left;
}

.site-navigation ul li .dropdown-content li a:hover {
    /* background-color: #444444; Change background on hover */
    color: #ffdd00;
}

.site-navigation ul li:hover .dropdown-content {
    display: block; /* Show the dropdown when hovering over parent */
}

.show {
    display: block !important;
}
/* Navbar links and dropdown without transitions */
.site-navigation ul li a,
.site-navigation ul li:hover,
.donate-btn,
.donate-btn:hover,
.site-navigation ul li .dropdown-content li a,
.site-navigation ul li .dropdown-content {
    transition: none; /* Removes transitions */
    transform: none; /* Removes transform on hover */
}

/* Keep other hover styles intact */
.site-navigation ul li:hover {
    background-color: #333333; /* No transition */
}

.donate-btn:hover {
    background-color: #4880da; /* Keep hover effect without animation */
}
.dropdown-toggle i {
    margin-left: 5px; /* Add some space between text and arrow */
    font-size: 12px; /* Adjust the size of the arrow */
}

@media (max-width: 1024px) {
    #hamburger-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .donate-btn {
        display: none;
    }

    .name{
        font-size: large;
    }
    
    .logo {
        justify-content: flex-start;
        margin-left: 10px;
    }

    .site-navigation {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: 242424; 
        color: white;
    }

    .site-navigation.active {
        display: flex; /* Show when hamburger is clicked */
    }

    .site-navigation ul li .dropdown-content {
        position: relative; 
        width: 100%; 
        left: 0; 
        top: 0; 
    }

    .site-navigation ul li .dropdown-content li a {
        padding: 10px 20px;
        font-size: 16px; 
    }
    
    .site-navigation ul li {
        margin: 5px 0; 
    }

    .navbar-content {
        flex-direction: column;
        text-align: center;
        align-items:flex-start;
    }

    .site-navigation ul {
        flex-direction: column;
        margin-top: 10px;
    }

    .site-navigation ul li {
        margin: 10px 0;
    }
}

/* Responsive Design for Navbar */
@media (max-width: 1111px) and (min-width: 1028px) {
    .navbar-content {
        justify-content: space-around; 
    }

    .donate-btn {
        padding: 10px 22px; 
        font-size: 18px; 
        box-sizing: border-box; 
    }

    .site-navigation ul li {
        margin-left: 20px; 
    }
}

@media (max-width: 768px) {

    .logo{
        justify-content: center;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 10px;
    }

    .social-media-icons a {
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        flex-direction: column;
    }

    .logo img {
        height: 50px;
    }

    .donate-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}
@media (max-width: 381px) {
    .top-bar-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
        font-size: 12px; /* Smaller text for narrow width */
    }

    .social-media-icons {
        margin-top: 10px;
    }

    .navbar-content {
        flex-direction: column;
        text-align: center;
    }

    .site-navigation ul {
        flex-direction: column;
        margin-top: 10px;
    }

    .site-navigation ul li {
        margin: 5px 0;
    }

    .site-navigation ul li a {
        font-size: 14px; /* Smaller font size */
    }

    .donate-btn {
        font-size: 14px; /* Smaller font for mobile */
        padding: 8px 20px; /* Adjust padding */
    }
}
/* 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 */
}
