/* ========================================
   MODERN FOOTER STYLES
   ======================================== */

.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1e 100%) !important;
    color: #ffffff !important;
    padding-top: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Footer Newsletter Widget (Now in Column 1) */
.footer-newsletter-widget {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.newsletter-small-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Modern Newsletter Form */
.modern-newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: #5F2DED;
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    width: 100%;
}

.newsletter-input-group input::placeholder {
    color: #888;
}

.newsletter-btn {
    background: linear-gradient(135deg, #5F2DED 0%, #F2277E 100%);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(95, 45, 237, 0.4);
}

.newsletter-btn i {
    font-size: 16px;
}

/* Footer Main Content */
.footer-main-content {
    padding: 30px 0 10px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-description {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Footer Widget Titles */
.footer-widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #5F2DED 0%, #F2277E 100%);
    border-radius: 2px;
}

/* Contact Info */
.footer-contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 12px;
}

.contact-item i {
    color: #5F2DED;
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    color: #ffffff;
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
}

.contact-text p {
    color: #b8b8b8;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-text a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #5F2DED;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 30px 0;
}

/* Location Sections with Maps */
.footer-location-section {
    margin-bottom: 15px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.location-header i {
    color: #5F2DED;
    font-size: 18px;
}

.location-header strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.location-address {
    color: #b8b8b8;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-left: 26px;
}

.footer-map {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-map iframe {
    display: block;
    width: 100%;
}

/* Small Divider for Maps */
.footer-divider-small {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 15px 0;
}

/* Footer Bottom Line with Privacy, Terms & Social */
.footer-bottom-line {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-top: 10px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #5F2DED;
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-bottom-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-bottom-social .social-label {
    color: #b8b8b8;
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
}

.footer-bottom-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-bottom-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(95, 45, 237, 0.3);
}

.footer-bottom-social a.facebook:hover {
    background: #1877f2;
}

.footer-bottom-social a.linkedin:hover {
    background: #0077b5;
}

.footer-bottom-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-bottom-social a.whatsapp:hover {
    background: #25d366;
}

.footer-bottom-social a.youtube:hover {
    background: #ff0000;
}

@media (max-width: 767px) {
    .footer-bottom-line {
        padding: 20px 0;
    }

    .footer-bottom-links,
    .footer-bottom-social {
        justify-content: center;
    }

    .footer-bottom-social .social-label {
        display: none;
    }
}

/* Social Media */
.footer-social-media h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icons a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icons a.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icons a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-icons a.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-icons a.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-icons a.pinterest:hover {
    background: #e60023;
    border-color: #e60023;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    display: block;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-links a i {
    color: #5F2DED;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Footer Bottom Credits (Made with Love) */
.footer-bottom-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
}

.copyright-text {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
}

.copyright-text strong {
    color: #ffffff;
    font-weight: 700;
}

.made-with-love {
    color: #b8b8b8;
    font-size: 14px;
    margin: 0;
}

.made-with-love i {
    color: #ff2828;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40%,
    60%,
    80% {
        transform: scale(0.9);
    }

    50%,
    70% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer-newsletter-section {
        padding: 40px 30px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .newsletter-content h2 {
        font-size: 26px;
    }

    .newsletter-content {
        text-align: center;
    }

    .footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .footer-newsletter-section {
        padding: 30px 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .newsletter-content h2 {
        font-size: 22px;
    }

    .newsletter-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .newsletter-btn span {
        display: none;
    }

    .newsletter-input-group input {
        padding: 12px 15px 12px 45px;
        font-size: 14px;
    }

    .footer-logo img {
        max-width: 150px;
    }

    .footer-widget-title {
        font-size: 18px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
}

@media (max-width: 575px) {
    .newsletter-content h2 {
        font-size: 20px;
    }

    .newsletter-content p {
        font-size: 14px;
    }

    .contact-item {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 14px;
    }
}