footer {
    background-color: #000000; /* Keep black footer */
    color: var(--text-medium); /* Medium text for less emphasis */
    padding: 60px 0 30px; /* Adjusted padding */
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Stronger border */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; /* Added gap for spacing */
    margin-bottom: 50px; /* Increased space before bottom */
}

.footer-section {
    flex: 1;
    margin-bottom: 20px;
    min-width: 220px; /* Adjusted min-width */
}

/* Specific styling for first section */
.footer-about p {
    color: var(--text-medium); /* Use medium color */
    line-height: 1.7;
}

.footer-section h3, .footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 18px; /* Slightly smaller heading */
    font-weight: 600;
}

.footer-section ul {
    list-style-type: none;
    padding: 0; /* Remove default padding */
}

.footer-section ul li {
    margin-bottom: 12px; /* Increased spacing */
}

.footer-section a {
    color: var(--text-light); /* Lighter text for links */
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.footer-section a:hover, .footer-section a:focus {
    color: var(--accent-gold);
    text-decoration: underline;
}
.footer-section address { /* Style address block */
    font-style: normal;
    line-height: 1.8;
}
.footer-section address a {
    color: var(--text-light); /* Ensure address links match */
}
.footer-section address a:hover, .footer-section address a:focus {
     color: var(--accent-gold);
}


.footer-social-icons a { /* Style footer social icons */
    color: var(--text-light); /* Light color */
    font-size: 24px;
    margin-right: 18px;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}
.footer-social-icons a:last-child {
    margin-right: 0;
}
.footer-social-icons a:hover, .footer-social-icons a:focus {
     color: var(--accent-gold);
     transform: scale(1.1);
}
.footer-social-icons a:focus-visible {
     outline: 2px solid var(--focus-outline-color);
     outline-offset: 2px;
     border-radius: 50%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px; /* Increased padding */
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Stronger border */
    color: var(--text-medium); /* Medium text */
    font-size: 14px;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center; /* Center items when stacked */
        text-align: center;
    }
    .footer-section {
        width: 100%;
        max-width: 400px; /* Limit width */
        margin-bottom: 30px;
    }
    .footer-section address {
        text-align: center; /* Center address text */
    }
    .footer-social-icons {
        justify-content: center; /* Center icons */
    }
}