/* Modern Footer Styles */
.main-footer {
    background-color:#4F215C;
    color: #fff;
    padding: 0;
    margin-top: auto;
}

/* Footer Top Bar - Black Contact/Subscribe Band */
.footer-top-bar {
    background-color: #5CB447;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Support Items (Email & Phone) */
.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.support-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #5CB447;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.support-text {
    display: flex;
    flex-direction: column;
}

.support-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.support-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #4F215C;
}

/* Subscribe Section */
.subscribe-section {
    display: flex;
    gap: 0;
    align-items: center;
}

.subscribe-input {
    padding: 0.75rem 1.25rem;
    border: none;
    background-color: #fff;
    color: #000;
    font-size: 0.95rem;
    outline: none;
    min-width: 280px;
    border-radius: 0;
}

.subscribe-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.subscribe-btn {
    padding: 0.75rem 2rem;
    background-color: #4F215C;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border-radius: 0;
}

.subscribe-btn:hover {
    background-color: #3d1a49;
}

/* Wrapper adjustment for spacing */
.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    gap: 4rem;
}

/* Left Section */
.footer-left {
    max-width: 100%;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-left .company-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Footer Headings with Underline */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Social Links - Styled to match reference */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4F215C;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.social-links a i {
    font-size: 1.1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Quick Links - Two column layout */
.quick-links {
    display: flex;
    gap: 3rem;
}

.links-column {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 140px;
}

.links-column li {
    margin-bottom: 0.75rem;
    position: relative;
}

.links-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.links-column a:hover {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 0;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-top-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .support-item {
        width: 100%;
    }

    .subscribe-section {
        width: 100%;
    }

    .subscribe-input {
        flex: 1;
        min-width: 0;
    }

    .footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem 2rem;
    }

    .footer-left {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    /* Only footer-left is centred at this breakpoint */
    .footer-left .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 1.25rem 2rem;
        gap: 2rem;
    }

    /* All sections are now single-column centred — centre every underline */
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quick-links {
        justify-content: center;
    }

    .footer-right,
    .footer-middle {
        margin-top: 0;
    }

    .footer-bottom {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 576px) {
    .footer-top-content {
        padding: 0 1rem;
    }

    .support-link {
        font-size: 0.9rem;
        word-break: break-all;
    }

    /* Stack subscribe input + button vertically */
    .subscribe-section {
        flex-direction: column;
        gap: 0;
    }

    .subscribe-input {
        width: 100%;
        border-radius: 4px 4px 0 0;
    }

    .subscribe-btn {
        width: 100%;
        border-radius: 0 0 4px 4px;
        padding: 0.65rem 1rem;
    }

    .footer-wrapper {
        padding: 2rem 1rem 1.5rem;
        gap: 1.75rem;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        padding: 1.75rem 1rem 1.25rem;
        gap: 1.5rem;
    }

    .quick-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .links-column {
        text-align: center;
    }

    .footer-bottom {
        padding: 1rem;
        font-size: 0.85rem;
    }
}












