/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #001f3f 0%, #001829 100%);
    color: #ffffff;
    position: relative;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Footer About Column */
.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 70px;
    width: auto;
}

.footer-logo-divider {
    width: 2px;
    height: 55px;
    background: linear-gradient(180deg, transparent 0%, #FFA500 20%, #FFA500 80%, transparent 100%);
    align-self: flex-end;
}

.footer-logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.footer-logo-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFA500;
    line-height: 1;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-certifications h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFA500;
    margin-bottom: 0.8rem;
}

.cert-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFA500;
}

.cert-badge i {
    font-size: 1rem;
}

/* Footer Columns */
.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFA500, transparent);
}

/* Footer Links */
.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.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #FFA500;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact i {
    font-size: 1.2rem;
    color: #FFA500;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact strong {
    display: block;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.footer-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #FFA500;
}

/* Footer Social Section */
.footer-social-section {
    padding: 2rem 0;
    background: rgba(255, 165, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-social-left h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.footer-social-left p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.2rem;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: linear-gradient(135deg, #FFA500, #FF6347);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
    border-color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.crafted-by {
    margin-top: 0.5rem !important;
    font-size: 0.85rem !important;
}

.crafted-by a {
    color: #FFA500;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.crafted-by a:hover {
    color: #FF6347;
    text-decoration: underline;
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FFA500;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFA500, #FF6347);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.6);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo-image {
        height: 60px;
    }

    .footer-logo-text {
        font-size: 1.1rem;
    }

    .footer-social-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-right {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .crafted-by {
        margin-top: 0.3rem !important;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        gap: 0.5rem;
    }

    .footer-logo-image {
        height: 50px;
    }

    .footer-logo-text {
        font-size: 1rem;
    }

    .footer-logo-tagline {
        font-size: 0.75rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cert-badges {
        flex-direction: column;
    }

    .cert-badge {
        justify-content: center;
    }
}
