/* --- Navigation Dropdown Styles --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav a {
    margin: 0 15px;
    padding: 10px 0;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: #007BFF;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 100;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.dropdown-content li a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Footer Styles --- */
.main-footer {
    background: #343a40;
    color: #adb5bd;
    padding: 50px 0 0 0;
    margin-top: 40px; /* Adds space above the footer */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.7;
    margin: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.social-links a {
    color: #adb5bd;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #ffffff;
}