/*
 * DT Footer Block Styles
 */

.dt-footer-wrapper {
    background-color: var(--dtf-main-bg);
    color: var(--dtf-text-color);
    padding: 60px 0 0;
    font-family: var(--dt-font-primary, sans-serif);
    font-size: 15px;
}

.dt-footer-container {
    max-width: 1400px; /* Wide container */
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

/* 4-Column Responsive Grid */
.dt-footer-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

/* Tablet: 2 columns */
@media (max-width: 991px) {
    .dt-footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .dt-footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .dt-footer-col {
        text-align: center; /* Center text on mobile */
    }
}

/* --- Column Content Styling --- */
.dt-footer-col-1 .dt-footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.dt-footer-col .dt-footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- UPDATED Social Icons CSS --- */
.dt-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
@media (max-width: 767px) {
    .dt-footer-socials {
        justify-content: center; /* Center icons on mobile */
    }
}

.dt-footer-socials a {
    display: inline-block;
    color: var(--dtf-link-color); /* Color is inherited by SVG */
    transition: all 0.3s ease;
}
.dt-footer-socials a:hover {
    color: var(--dtf-heading-color); /* Change color on hover */
    transform: scale(1.1);
}

.dt-footer-socials a .dtsm-icon {
    display: inline-block;
}

/* Style the SVG icon */
.dt-footer-socials a .dtsm-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Inherits the color from the <a> tag */
}
/* --- END UPDATED CSS --- */


/* Link Lists */
.dt-footer-heading {
    font-family: var(--dt-font-secondary, sans-serif);
    color: var(--dtf-heading-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

.dt-footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-footer-link-list li a {
    color: var(--dtf-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.dt-footer-link-list li a:hover {
    color: var(--dtf-heading-color);
    text-decoration: underline;
}

/* --- Bottom Bar Styling --- */
.dt-footer-bottom-bar {
    background-color: var(--dtf-bottom-bg);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255, 0.1);
}

.dt-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Wrap on mobile */
    gap: 20px;
}

.dt-footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: var(--dtf-text-color);
}

.dt-footer-link-list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.dt-footer-link-list-inline li a {
    color: var(--dtf-text-color);
    font-size: 14px;
    text-decoration: none;
}
.dt-footer-link-list-inline li a:hover {
    color: var(--dtf-link-color);
    text-decoration: underline;
}

/* Center bottom bar content on mobile */
@media (max-width: 767px) {
    .dt-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
    }
}