*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #f5f2ee;
}

/* FOOTER */
footer {
    position: relative;
    overflow: hidden;
    background-image: url("/static/images/FIRESEFTY.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* overlay */
footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* accent line */
.accent-line {
    height: 3px;
    background: linear-gradient(90deg, #ff4500, #ff8c00, #ffd000, transparent);
    position: relative;
    z-index: 1;
}

/* main grid */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding: 40px 50px;
    max-width: 1300px;
    margin: auto;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* LOGO / BRAND */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.logo-icon {
    font-size: 28px;
}

.logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #fff;
    line-height: 1.3;
}

.logo-name span {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: #ff8c00;
    margin-top: 4px;
}

/* description */
.brand-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 25px;
    max-width: 300px;
}

/* whatsapp button */
.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.wa-link i {
    font-size: 17px;
}

.wa-link:hover {
    background: #25D366;
    color: #fff;
}

/* 100% placement tag */
.placement-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    color: #ff8c00;
    border: 1px solid rgba(255, 140, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    margin-top: 10px;
}

.placement-tag i {
    font-size: 10px;
}

/* headings */
/* HEADINGS */
h4 {
    font-size: 20px;
    /* slightly larger for visibility */
    font-weight: 700;
    /* bold for emphasis */
    margin-bottom: 20px;
    /* more spacing from content */
    color: #fff;
    /* white for overlay contrast */
    text-align: center;
    /* centered under the column */
    text-decoration: underline;
    /* underline to separate sections */
    text-decoration-color: #ff8c00;
    /* accent color for underline */
    text-underline-offset: 6px;
    /* space between text and underline */
    letter-spacing: 0.5px;
    /* subtle spacing for readability */
}

/* course list */
.course-list {
    list-style: disc;
    padding-left: 20px;
}

.course-list li {
    font-size: 17px;
    margin-bottom: 8px;
    color: #fff;
    transition: color 0.2s;
}

.course-list li:hover {
    color: #ff8c00;
}

/* contact */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ci {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ci i {
    color: #ff7020;
    font-size: 17px;
    margin-top: 3px;
}

.ci p {
    font-size: 17px;
    color: #fff;
    line-height: 1.6;
}

.ci a {
    color: #fff;
    text-decoration: none;
}

.ci a:hover {
    color: #ff8c00;
}

/* footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 25px 50px;

    position: relative;
    /* add */
    z-index: 1;
    /* add */
}

.copy {
    font-size: 14px;
    color: #fff;
}

.copy strong {
    color: #ff8c00;
}

/* socials */
.socials {
    display: flex;
    gap: 10px;
}

.soc {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.soc:hover {
    background: #ff8c00;
    border-color: #ff8c00;
    color: #fff;
    transform: translateY(-2px);
}

/* entrance animation */
.footer-main>* {
    opacity: 0;
    transform: translateY(18px);
    animation: up 0.6s ease forwards;
}

.footer-main>*:nth-child(1) {
    animation-delay: 0.05s;
}

.footer-main>*:nth-child(2) {
    animation-delay: 0.15s;
}

.footer-main>*:nth-child(3) {
    animation-delay: 0.25s;
}

@keyframes up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* responsive */
@media(max-width:768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-logo {
        justify-content: center;
    }

    .contact-list {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}