







.site-footer {
    background: #052D70;
    color: #ffffff;
    padding: 60px 0 20px;
    
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    

    display: flex;
    justify-content: space-between;
    gap: 40px;

    align-items: flex-start;
    flex-wrap: wrap; /* 🔥 IMPORTANT */
}

/* ===============================
   FOOTER COLUMNS
================================ */

.footer-col {
    flex: 1 1 220px;   /* 🔥 magic line */
    min-width: 220px;
}

.footer-col ul {
    padding-left: 0;
    margin: 0;
}


.footer-about img {
    max-width: 230px;
    height: auto;
    margin-bottom: 15px;
}

.footer-about p {
    max-width: 90%;
    line-height: 1.6;
}

/* ===============================
   FOOTER HEADINGS
================================ */

.footer-col h3 {
    color: #ffffff;              /* Blue heading */
    margin-bottom: 25px;
    position: relative;
    font-size: 20px;
    font-weight: 600;
}

/* Heading underline */
.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background-color: #74AF14;
}

/* ===============================
   FOOTER LISTS (Quick Links & Certificates)
================================ */

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Arrow icon before link */
.footer-col ul li a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #74AF14;
}

/* Hover effect */
.footer-col ul li a:hover {
    color: #74AF14;
}

/* Hover underline animation */
.footer-col ul li a::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #74AF14;
    transition: width 0.3s ease;
}

.footer-col ul li a:hover::after {
    width: 60%;
}

/* ===============================
   RECENT POSTS
================================ */

.footer-post {
    display: flex;
    align-items: center;   /* vertical align image & text */
    gap: 12px;
    margin-bottom: 15px;
    background: #0b1e5d; /* dark blue background */
    padding: 8px 10px;
    border-radius: 8px;
}

.footer-thumb img {
    width: 60px;        /* slightly smaller */
    height: 60px;       /* fixed square for uniformity */
    object-fit: cover;  /* crop image properly */
    border-radius: 10px;
    flex-shrink: 0;     /* prevent shrinking */
}

.footer-post a {
    color: #ffffff;       /* white text */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-post a:hover {
    color: #74AF14;       /* green hover */
}

/* Optional: image overlay on hover */
.footer-post:hover .footer-thumb img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
/* ===============================
   FOOTER CONTACT (Phone / Email)
================================ */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    
}

.footer-icon {
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-icon i {
    color: #74AF14;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

/* ===============================
   FOOTER BOTTOM
================================ */

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

/*  FOOTER AREA END */





/* ===============================
   FOOTER RESPONSIVE (Mobile Updated)
================================ */

@media (max-width: 768px) {

    .site-footer {
        padding: 40px 0 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;   /* LEFT ALIGN */
        text-align: left;          /* LEFT ALIGN */
    }

    .footer-col {
        width: 100%;
    }

    /* Quick Links & Certifications side by side */
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        width: 48%;
        display: inline-block;
        vertical-align: top;
    }

    /* Logo smaller */
    .footer-about img {
        max-width: 160px;
        margin-bottom: 12px;
    }

    .footer-about p {
        font-size: 14px;
    }

    /* Headings smaller */
    .footer-col h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-col h3::after {
        left: 0; /* keep underline left */
        transform: none;
        width: 40px;
    }

    /* Footer links smaller */
    .footer-col ul li a {
        font-size: 13px;
        padding-left: 18px;
    }

    /* Recent posts compact */
    .footer-post {
        padding: 6px 8px;
        gap: 8px;
    }

    .footer-thumb img {
        width: 50px;
        height: 50px;
    }

    .footer-post a {
        font-size: 13px;
    }

    /* Contact icons smaller */
    .footer-item {
        font-size: 13px;
    }

    .footer-icon {
        width: 30px;
        height: 30px;
    }

    .footer-icon i {
        font-size: 13px;
    }

    .footer-bottom {
        margin-top: 25px;
        padding-top: 15px;
        padding-left: 36px;
        font-size: 13px;
        text-align: left;
    }

    .footer-contact{
        gap: 1px;
    }
}


