body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #82F4E736;
}
/* Header styles */
header {
    background-color: #2A7E50; /* Dark blue background */
    color: white;
    padding: 2px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); /* Subtle shadow for a floating effect */
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem; /* Larger text for better visibility #82F4E736*/
    color: white;
    font-weight: bold; /* Adds weight to the logo text */
}

.logo img {
    height: 60px; /* Smaller logo size */
    margin-right: 10px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: block;
    background-color: #ff9900;
    color: white;
    cursor: pointer;
    font-size: 1.8rem;
    border: none;
    width: fit-content;
    text-align: center;
    border-radius: 5px;
    margin-left: auto;  /* Push the button to the right side */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.menu-toggle:hover {
    background-color: #ff7f00; /* Change color on hover */
}

/* Navigation Styles */
nav ul {
    padding: 10px;
    margin: 0;
    list-style: none;
    width: 100%;
    text-align: left;
    background-color: #2A7E5000; /* Darker background for the menu */
    position: absolute;
    top: 35px; /* Position below the header */
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 0; /* Start hidden */
    transform: translateY(-10px); /* Slight upward positioning for a smooth effect */
    transition: opacity 1.5s ease, transform 1.5s ease; /* Smooth transition */
    visibility: hidden; /* Prevents interaction while hidden */
}

nav ul.active {
    display: grid;
    margin-top: 15px;
    grid-template-columns: repeat(3, fit-content(100%));
    gap: 10px; /* Space between the columns */
    opacity: 1; /* Fully visible when active */
    transform: translateY(0); /* Reset to natural position */
    visibility: visible; /* Make it interactable */
}

nav ul li {
    margin: 5px 0;
}

nav ul li a {
    background-color: #8B4513; /* Hover effect */
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    padding: 5px 20px;
    display: block;
    border-radius: 0 25px 0 25px;
    transition: background-color 1.3s ease; /* Smooth hover effect */
    width: fit-content;
    white-space: nowrap;  /* Prevent text from wrapping */
    overflow: hidden;     /* Hide any overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflowi */
}

nav ul li a:hover {
    background-color: #ff9900; /* Hover effect */
    color: #004d99; /* Text color on hover */
}

.hero {
    background: url('banner.png') no-repeat center center/cover;
    color: white;
    padding: 50px 10px;
}
