/* ============================
   Footer Main Container
   ============================ */
.footer {
    background-color: #c4d3dd; /* professional dark teal */
    color: var(--light-color);
    padding: 3rem 0 1rem 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* ============================
   Footer Grid
   ============================ */
.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2rem;
    padding: 0 5%;
}

/* Box Titles */
.footer .box-container .box h3 {
    font-size: 2rem;
    color: #ffffff;
    padding: 1rem 0;
    border-bottom: 2px solid rgba(18, 3, 3, 0.1);
}

/* Links */
.footer .box-container .box a {
    display: block;
    font-size: 1.4rem;
    color: var(--light-color);
    padding: 0.6rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .box-container .box a i {
    padding-right: 0.5rem;
    color: var(--blue);
    transition: all 0.3s ease;
}

.footer .box-container .box a:hover i {
    padding-right: 1rem;
}

.footer .box-container .box a:hover {
    color: #00bcd4; /* hover accent */
}

/* ============================
   Social Media Icons
   ============================ */
.footer .box-container .box a i.fab {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--blue);
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.footer .box-container .box a:hover i.fab {
    background-color: #00bcd4;
    color: #ffffff;
    transform: scale(1.2);
}

/* ============================
   Vision Text
   ============================ */
.vision-text {
    text-align: center;       
    font-size: 1.5rem;        
    font-weight: bold;
    color: #ff3b3b;           
    margin: 1rem 0;
    border-top: 0.2rem solid rgba(14, 7, 7, 0.2);
    padding-top: 1rem;
}

/* ============================
   Credit Text
   ============================ */
.footer .credit {
    text-align: center;
    font-size: 1.4rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.footer .credit span {
    color: #00bcd4;
}

/* ============================
   Responsive Adjustments
   ============================ */
@media screen and (max-width: 768px) {
    .footer .box-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer .box-container .box h3 {
        font-size: 1.8rem;
    }

    .footer .box-container .box a {
        font-size: 1.3rem;
    }

    .vision-text {
        font-size: 1.3rem;
    }

    .footer .credit {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .footer .box-container .box h3 {
        font-size: 1.6rem;
    }

    .footer .box-container .box a {
        font-size: 1.2rem;
    }

    .vision-text {
        font-size: 1.2rem;
    }

    .footer .credit {
        font-size: 1.1rem;
    }

    .footer .box-container .box a i.fab {
        width: 32px;
        height: 32px;
        line-height: 32px;
        margin-right: 0.4rem;
    }
}
