body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #2a3d50;
    line-height: 1.6;
}
header {
    background: linear-gradient(90deg, #229847, #0b6ca4);
    color: #fff;
    padding: 20px 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgb(12, 29, 45);
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
}
nav {
    background: #1A2A3A;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgb(12, 29, 45);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav ul li {
    position: relative; /* Required to position the submenu */
}
nav ul li ul {
    display: none; /* Initially hide the submenu */
    position: absolute; /* Ensures the submenu is positioned relative to the parent */
    background: #222;
    list-style: none;
    padding: 10px;
    top: 100%; /* Aligns the submenu right below the parent */
    left: 0;
    box-shadow: 0 4px 6px rgb(12, 29, 45);
    border-radius: 5px;
    z-index: 10; /* Keeps it above other elements */
}
nav ul li:hover > ul {
    display: block; /* Shows the submenu when hovering over the parent */
}
nav ul li ul li {
    position: relative; /* Required for nested submenus */
    align-items: center;
    justify-content: center;
    display: flex;
}
nav ul li ul li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* Positions the nested submenu to the right of the parent submenu */
    background: #2a3d50;
}
nav ul li ul li:hover > ul {
    display: block; /* Ensures nested submenus are displayed on hover */
}
nav ul li a, nav ul li ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 5px 10px;
}
nav ul li ul li a:hover {
    background: #44607b; /* Highlight submenu items on hover */
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}
nav ul li ul li a {
    color: #ddd;
}
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgb(12, 29, 45);
}
section {
    margin-bottom: 40px;
}
section h2 {
    color: #229847;
    font-size: 2rem;
    border-bottom: 2px solid #229847;
    padding-bottom: 10px;
}
p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}
ul {
    list-style: disc inside;
    margin: 20px 0;
    padding: 0 20px;
}
ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}
footer {
    background: #1A2A3A;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
footer p {
    margin: 0;
}

/* Styling for Branding Title */
.branding-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #229847, #0b6ca4);
    color: white;
}

.branding-title {
    font-size: 3.5rem; /* Slightly larger for brand emphasis */
    margin-bottom: 20px;
    color: #ffffff;
    animation: slideInFromTop 1s ease-out;
    font-weight: bold;
}
/* Animation for smooth entrance */
@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.branding-subtitle-section {
    text-align: center;
    padding: 10px 20px;
}
.branding-subtitle {
    font-size: 1.25rem;
    color: white;
    padding: 10px 20px; /* Add padding around the text */
    margin-bottom: 0;
    display: inline-block; /* Keep it inline to match the text size */
    animation: fadeInUp 1s ease-out;
}
/* Animation for smooth fade-in and slight upward motion */
@keyframes fadeInUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
}

/* Animation for home page content sections */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}