/* ============================= */
/* FOOTER BASE STYLES             */
/* ============================= */
.footer-modern {
    background: #222;
    color: #fff;
    padding: 20px 15px 10px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.footer-modern a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-modern a:hover {
    color: #28a745;
}

/* ============================= */
/* FOOTER CONTAINER & GRID       */
/* ============================= */
.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between; /* space between columns */
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #28a745;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

/* ============================= */
/* NEWSLETTER BUTTON             */
/* ============================= */
.btn-newsletter {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.btn-newsletter:hover {
    background: #1e7e34;
}

/* ============================= */
/* SOCIAL LINKS                  */
/* ============================= */
.social-links a {
    display: inline-block;
    margin-right: 8px;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
}

/* ============================= */
/* CONTACT MODERN LAYOUT         */
/* ============================= */
.contact-modern {
    padding: 10px;
    border-radius: 6px;
}

.contact-modern h4 {
    color: #28a745;
    font-size: 16px;
}

.contact-modern .contact-info p {
    color: #ddd;
    margin: 4px 0;
}

.contact-modern .contact-info i {
    color: #28a745;
    margin-right: 5px;
}

/* CONTACT GRID: Info + Broker Logo */
.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-left {
    flex: 1 1 60%;
}

.contact-left p {
    margin: 4px 0;
    color: #ddd;
}

.contact-left i {
    color: #28a745;
    margin-right: 5px;
}

.contact-right {
    flex: 0 0 auto;
    text-align: center;
}

.contact-right .broker-logo {
    width: 150px;
}

.contact-right .brokerage-name {
    font-weight: 600;
    font-size: 12px;
    color: #ccc;
}

/* ============================= */
/* FOOTER BOTTOM                 */
/* ============================= */
.footer-bottom {
    margin-top: 15px;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 8px;
    font-size: 12px;
    color: #aaa;
}

/* ============================= */
/* RESPONSIVE STYLES              */
/* ============================= */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;      /* stack vertically */
        gap: 10px;                   /* small space between sections */
        justify-content: flex-start;  /* remove extra spacing */
        align-items: flex-start;     /* align everything to left */
    }

    .footer-col {
        flex: 1 1 100%;              /* full width for each column */
    }

    .contact-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-right {
        margin-top: 10px;
        text-align: right;
    }

    .contact-right .broker-logo {
        width: 200px;
    }

    .social-links img {
        width: 22px;
        height: 22px;
    }

    .btn-newsletter {
        font-size: 12px;
        padding: 5px 10px;
    }

    .footer-modern {
        padding: 10px 15px;
    }

    .contact-modern{
        padding: 0px;
    }
    .contact-modern h4 {
        font-size: 20px;
        font-weight: bold;
    }
}