/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, #2c4a7f 0%, #4169b3 100%);
    position: relative;
    color: white;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px 60px;
}

/* Footer Top - Logo and Social */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo img {
    height: 80px;
    width: 80px;
    border: 3px solid #dc143c;
    padding: 10px;
    border-radius: 50%;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr;
    gap: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0 0 25px 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
}

/* Contact Column */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-list li i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    width: 20px;
}

.footer-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list li a:hover {
    color: white;
}

.footer-address {
    margin-top: 10px;
}

.footer-address p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin: 5px 0;
    line-height: 1.6;
}

/* Explore & Services Columns */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

/* Newsletter Column */
.newsletter-column {
    max-width: 400px;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 14px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    outline: none;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    background: linear-gradient(135deg, #5b8dd4 0%, #4169b3 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #4a7cc3 0%, #2f4f8f 100%);
    transform: translateX(-2px);
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 60px;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 60px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #4169b3;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: #2f4f8f;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Scroll Animations */
.footer-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-container {
        padding: 60px 40px 50px;
    }

    .footer-top {
        margin-bottom: 50px;
        padding-bottom: 35px;
    }

    .footer-logo img {
        height: 70px;
        width: 70px;
        border: 3px solid #dc143c;
        padding: 10px;
        border-radius: 50%;
        object-fit: contain;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .newsletter-column {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer-bottom-container {
        padding: 20px 40px;
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .footer-container {
        padding: 50px 25px 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 30px;
        text-align: center;
    }

    .footer-logo img {
        height: 60px;
        width: 60px;
        border: 3px solid #dc143c;
        padding: 10px;
        border-radius: 50%;
        object-fit: contain;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-heading {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .footer-list li,
    .footer-links li a,
    .newsletter-description,
    .footer-address p {
        font-size: 14px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        padding: 14px 25px;
    }

    .footer-bottom {
        margin-top: 40px;
    }

    .footer-bottom-container {
        padding: 20px 25px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    .scroll-top-btn {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .footer-container {
        padding: 40px 20px 35px;
    }

    .footer-top {
        gap: 25px;
        margin-bottom: 35px;
        padding-bottom: 25px;
    }

    .footer-logo img {
        height: 50px;
        width: 50px;
        border: 3px solid #dc143c;
        padding: 10px;
        border-radius: 50%;
        object-fit: contain;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-list {
        gap: 12px;
    }

    .footer-list li,
    .footer-links li a,
    .newsletter-description,
    .footer-address p {
        font-size: 13px;
    }

    .newsletter-input {
        padding: 13px 18px;
        font-size: 13px;
    }

    .newsletter-btn {
        padding: 13px 22px;
        font-size: 14px;
    }

    .footer-bottom-container {
        padding: 18px 20px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 15px;
    }
}
