/* =====================================
   AP INFOTECH PREMIUM FOOTER
===================================== */

.ap-footer {
    background: #00152f;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

/* Top CTA */
.footer-cta {
    background: linear-gradient(110deg, #002b55, #004477);
    padding: 35px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-cta h3 {
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-cta p {
    color: #cbd5e1;
    margin: 0;
}

.footer-cta-btn {
    display: inline-block;
    padding: 13px 27px;
    background: #ffc107;
    color: #00152f;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: .3s ease;
}

.footer-cta-btn:hover {
    background: #fff;
    color: #00152f;
    transform: translateY(-4px);
}


/* Logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: .5px;
}

.footer-logo strong {
    color: #ffc107;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffc107;
    color: #00152f;
    font-size: 27px;
    border-radius: 10px;
}

.footer-about {
    color: #aebdd0;
    font-size: 14px;
    line-height: 1.9;
    max-width: 360px;
}


/* Social Icons */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all .35s ease;
}

.footer-social a:hover {
    background: #ffc107;
    color: #00152f;
    border-color: #ffc107;
    transform: translateY(-6px) rotate(8deg);
    box-shadow: 0 7px 20px rgba(255,193,7,.25);
}


/* Footer Headings */
.footer-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 5px;
    background: #ffc107;
}


/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    color: #aebdd0;
    text-decoration: none;
    font-size: 14px;
    transition: .3s ease;
    display: inline-block;
}

.footer-links a::before {
    content: "›";
    color: #ffc107;
    font-size: 20px;
    margin-right: 9px;
    vertical-align: -1px;
}

.footer-links a:hover {
    color: #ffc107;
    transform: translateX(5px);
}


/* Contact Section */
.footer-contact {
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,193,7,.12);
    color: #ffc107;
    font-size: 20px;
    border-radius: 10px;
    transition: .3s ease;
}

.contact-item:hover .contact-icon {
    background: #ffc107;
    color: #00152f;
    transform: translateY(-4px);
}

.contact-item h6 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
}

.contact-item p,
.contact-item a {
    display: block;
    color: #aebdd0;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
    margin-bottom: 2px;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: #ffc107;
}


/* Bottom Copyright */
.footer-bottom {
    background: #000e20;
    padding: 20px 0;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
    line-height: 1.8;
}

.footer-bottom strong {
    color: #ffc107;
}


/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 991px) {

    .footer-cta h3 {
        font-size: 23px;
    }

    .footer-heading {
        margin-bottom: 18px;
    }

    .footer-contact {
        padding: 25px 0;
    }

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 767px) {

    .footer-cta {
        padding: 28px 15px;
    }

    .footer-cta h3 {
        font-size: 22px;
    }

    .footer-cta p {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-logo {
        font-size: 23px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .footer-about {
        font-size: 13px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .contact-item {
        gap: 12px;
    }

    .footer-bottom {
        padding: 18px 10px;
    }

    .footer-bottom p {
        text-align: center;
        font-size: 12px;
        margin-bottom: 5px;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 400px) {

    .footer-logo {
        font-size: 21px;
    }

    .footer-social {
        gap: 8px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-links a {
        font-size: 12px;
    }

}