/**
 * Footer Styles
 */

/* Footer Styles */
.site-footer {
    background-color: #2A6478;
    color: #fff;
}

.footer-widgets {
    width: 100%;
}

.footer-row {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-row:last-child {
    border-bottom: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column {
    min-width: 0;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li:last-child {
    margin-bottom: 0;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-row {
        padding: 30px 0;
    }

    .site-footer {
        padding-top: 40px;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-single-widget {
    margin-bottom: 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-widget {
    flex: 1;
    margin-right: 30px;
    text-align: right;
}

.footer-bottom-widget:last-child {
    margin-right: 0;
}

.widget {
    margin-bottom: 20px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul li:last-child {
    margin-bottom: 0;
}

.widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-widget {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer-bottom-widget:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

.footer-bottom-widget .widget_nav_menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom-widget .widget_nav_menu ul li {
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}

.footer-bottom-widget .widget_nav_menu ul li:not(:last-child)::after {
    content: "•";
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-widget .widget_nav_menu ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-widget .widget_nav_menu ul li a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-bottom-widget {
        text-align: center;
    }
    
    .footer-bottom-widget .widget_nav_menu ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-bottom-widget .widget_nav_menu ul li:not(:last-child)::after {
        content: "";
        margin: 0;
    }
    
    .footer-bottom-widget .widget_nav_menu ul li {
        margin-bottom: 8px;
    }
}

.footer-column .widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem !important;
}

.footer-column .widget ul li a:hover {
    color: #fff;
}

.footer-column .widget-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
} 

.subscription-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.subscription-form {
    margin-top: 20px;
}

.subscription-fields {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 15px;
}

.email-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    background: #f8f9fa;
    color: #333;
    transition: border-color 0.2s;
    min-width: 0;
}

.email-input:focus {
    border-color: #AD582C;
    background: #fff;
}

.submit-button {
    background: #2e4f5e;
    color: #fff;
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: -1px;
    display: flex;
    align-items: center;
    height: 47px;
    box-shadow: none;
}

.submit-button:hover {
    background: #183f4a;
}

.privacy-field {
    font-size: 12px;
    text-align: left;
    margin-top: 10px;
}

.privacy-field label,
.privacy-field label a {
    color: rgba(255, 255, 255, 0.7);
}

.privacy-field a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .subscription-fields {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .email-input,
    .submit-button {
        border-radius: 30px;
        width: 100%;
        margin-left: 0;
    }
}
