/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-main-logo {
    width: 180px;
    height: auto;
    margin: 1.5rem auto 1.5rem auto;
    filter: brightness(1.2);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-sections {
    position: relative;
    z-index: 2;
}

.footer-section {
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ff6b35;
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.footer-contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-style: normal;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details h6,
.contact-details .contact-label {
    color: #fff;
    margin-bottom: 0.3rem;
    font-weight: 600;
    display: block;
}

.contact-details p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-details p a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details p a:hover {
    color: #ff6b35;
}

.footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-heart {
    color: #ff6b35;
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-bottom: 2rem;
}

.newsletter-section h4,
.newsletter-section h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    position: relative;
    margin-bottom: 1.5rem;
}

.newsletter-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link.facebook::before { background: #3b5998; }
.social-link.twitter::before { background: #1da1f2; }
.social-link.instagram::before { background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045); }
.social-link.linkedin::before { background: #0077b5; }
.social-link.youtube::before { background: #ff0000; }
.social-link.whatsapp::before { background: #25d366; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    transform: scale(1.1);
}

.social-link i {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.footer-nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-nav-links a:hover {
    color: #ff6b35;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-main-logo {
        width: 150px;
    }
    
    .footer-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-contact-info,
    .newsletter-section {
        padding: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav-links {
        justify-content: center;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Footer Skyline Image Styling */
.footer-skyline {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-skyline .skyline-image {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 8px;
    opacity: 0.8;
}

@media (max-width: 576px) {
    .footer-sections {
        padding: 0 1rem;
    }
    
    .newsletter-form {
        margin-bottom: 1rem;
    }
    
    .newsletter-input {
        padding: 12px 55px 12px 15px;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        width: 40px;
        height: 40px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-skyline .skyline-image {
        max-height: 80px;
    }
}
