/* General Reset */
body, html, ul, li, h1, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Transparent Navbar for Large Screen */
.navbar {
    background-color: transparent;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

/* Navbar Shrink Style (Dark Background) */
.navbar.shrink {
    background-color: #333;  /* Dark background when scrolled */
}
/* Black Overlay for Small Screens */
@media (max-width: 768px) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.4);  /* Black overlay for menu bar on small screens */
    }
}

/* Navbar Container */
.navbar-container {
    display: flex;
    justify-content: space-between;  /* Default for large screens */
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Adjust for Small Screens */
@media (max-width: 768px) {
    .navbar-container {
        justify-content: center;  /* Center the logo and hamburger icon */
    }
}

/* Default Logo Styling */
.logo img {
    width: 100px;  /* Default logo size */
    transition: width 0.3s ease;  /* Smooth transition when resizing */
}

/* Smaller Logo when Scrolled */
.navbar.shrink .logo img {
    width: 50px;  /* Shrink logo to 50px when scrolled */
}

/* Adjust logo size for small screens */
@media (max-width: 768px) {
    .logo img {
        width: 50px; /* Small screen logo size */
    }
}

/* Navigation Menu Styling */
.nav-menu {
    display: flex;
    justify-content: center;  /* Center-align items horizontally */
    align-items: center;      /* Center-align items vertically */
    position: relative;
    width: 100%;
}

/* Dropdown Menu Styling */
.nav-menu ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Dropdown Menu Items (List Items) */
.nav-menu ul li {
    position: relative;
    margin: 2px 10px;  /* Space between menu items */
}

/* Dropdown Links (Items inside the dropdown) */
.nav-menu ul li a {
    color: white;
    text-decoration: none;
    padding: 12px 12px; /* Increase padding for button-like appearance */
    background-color: transparent; /* Transparent background by default */
    border-radius: 5px;  /* Rounded corners for items */
    font-weight: bold;  /* Bold text */
    display: block;  /* Make the links fill the entire menu item */
    transition: all 0.3s ease; /* Smooth transition */
}

/* Hover Effect for Dropdown Items */
.nav-menu ul li a:hover {
    background-color: #888;  /* Change background color to WhatsApp green */
    color: white;  /* Text color stays white */
    border: 2px solid white;  /* Add a border on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);  /* Add a subtle shadow */
}

/* Submenu (Dropdown) Styling */
.nav-menu ul li ul {
    display: none;  /* Hide the dropdown by default */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #333;  /* Dark background for dropdown */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);  /* Shadow for dropdown */
    z-index: 1000;  /* Ensure dropdown is above other content */
    opacity: 0;  /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth fade-in effect */
}

/* Show Dropdown on Hover */
.nav-menu ul li:hover > ul {
    display: block; /* Show the dropdown when hovering over the parent item */
    opacity: 1; /* Make the dropdown fully visible */
}

/* Dropdown Items */
.nav-menu ul li ul li {
    width: 100%;
}

.nav-menu ul li ul li a {
    padding: 12px 20px;  /* Adjust padding for dropdown items */
    background-color: transparent;  /* Transparent background */
    color: white;
    text-align: left;  /* Align text to the left */
    border: none;  /* Remove border */
}

/* Hover Effect for Dropdown Items */
.nav-menu ul li ul li a:hover {
    background-color: #25D366;  /* Background color on hover */
    color: white;  /* Keep text white */
    box-shadow: none;  /* No shadow for dropdown items */
}

/* Hamburger Menu Styles (for mobile) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Close Button for Small Screens */
.close-menu {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50px;  /* Adjust vertical position */
    left: 50%;  /* Center horizontally */
    transform: translateX(-50%);  /* Ensure it is centered */
    z-index: 1001;
}



/* Learn more button */
.whatsapp-us-image img {
    display: block;
    width: 100%; /* Adjust as needed */
    height: auto;
    transition: transform 0.3s ease;
}
.whatsapp-us-image:hover img {
    transform: scale(1.1); /* Slight zoom effect on hover */
}


/* WhatsApp Button Position */
.whatsapp-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 90%;
}

/* Hover Effect for WhatsApp Button */
.whatsapp-button-1:hover a {
    transform: scale(1.1);   /* Slightly enlarge on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .whatsapp-button {
        position: absolute;   /* Position absolute for small screens */
        left: 50%;            /* Horizontally center the button */
        top: 50%;             /* Vertically center the button */
        transform: translate(-50%, -50%); /* Center the button using transform */
        margin-top: 0;
        width: 120px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        z-index: 1000;
    }

    .nav-menu ul.active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 20px;    /* Center the hamburger menu horizontally */
        transform: translateX(-50%);  /* Ensure it's centered */
    }

    .close-menu.active {
        display: block;
    }
}

/* Dropdown Background Overlay */
.dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    z-index: 999;
}


/* Go to Top Button Styling */
#goToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position in the corner */
    bottom: 20px;    /* Position from the bottom */
    right: 30px;     /* Position from the right */
    z-index: 99;     /* Stay on top of other content */
    width: 50px;     /* Set a fixed width for a round shape */
    height: 50px;    /* Set a fixed height to match the width */
    border: none;    /* Remove borders */
    outline: none;   /* Remove outline */
    background-color: rgba(85, 85, 85, 0.6); /* Semi-transparent background color */
    color: white;    /* Text color */
    cursor: pointer; /* Add a pointer on hover */
    border-radius: 50%; /* Make the button round */
    font-size: 24px; /* Larger font size for better visibility */
    text-align: center; /* Center-align the text/icon */
    line-height: 50px; /* Vertically center the text/icon */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add a shadow for a floating effect */
}

/* Hover Effect */
#goToTopBtn:hover {
    background-color: rgba(51, 51, 51, 0.8); /* Darker semi-transparent background on hover */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
}


/* Share Buttons Container */
.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #fff;  /* Light background */
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Share Text */
.share-buttons p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    width: 100%;
    color: #333;
}

/* Share Button Links */
.share-btn {
    display: inline-block;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-btn img {
    width: 50px;  /* Icon size */
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hover Effect for Buttons */
.share-btn:hover img {
    border-color: #0073e6;  /* Change border color on hover */
    transform: scale(1.1);   /* Slightly enlarge on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .share-buttons {
        padding: 15px;
    }

    .share-btn img {
        width: 45px;  /* Adjust size for smaller screens */
        height: 45px;
    }
}

