/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #444;
    background-color: #f9f9f9;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 3rem 0;
}

h1, h2 {
    color: #e47907;
    font-weight: bold;
}

p {
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Header Styles */
header {
    background: #34495e;
    color: #ecf0f1;
    padding: 2rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header h1 {
    font-size: 2.8rem;
    margin: 0.5rem 0;
}

header p {
    font-size: 1.1rem;
    margin: 0;
    animation: bounce 2s infinite;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

nav ul li {
    display: inline;
    flex: 1 1 auto;
    text-align: center;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #2c3e50;
}

/* Button Styles */
.button {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
    font-size: 1rem;
    animation: fadeIn 1.5s ease-out;
}

.button:hover {
    background: #d35400;
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

footer nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    gap: 1rem;
}

footer nav ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
}

footer nav ul li a:hover {
    color: #ecf0f1;
}

/* Section Specific Styles */
#home {
    background: url('law4.avif') no-repeat center center/cover;
    color: #ecf0f1;
    text-align: center;
    height: 40vh;
    padding: 6rem 0;
    animation: fadeIn 2s ease-out;
    position: relative;
}

#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
}

#home h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.welcome {
    font-size: large;
    font-weight: bold;
}

#about ul {
    list-style: square;
    margin: 1rem 0 0 1.5rem;
    color: #444;
    animation: fadeIn 1.5s ease-out;
}

#programs ul {
    list-style: disc;
    margin: 1rem 0 0 1.5rem;
    color: #444;
    animation: fadeIn 1.5s ease-out;
}

#membership, #events, #resources, #contact {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-out;
}

#membership{
    background: #34495e;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    color: white;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-out;
}

#membership h2, #events h2, #resources h2, #contact h2 {
    margin-bottom: 1.5rem;
}

/* Card-Like Sections */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out;
}
