.footer {
    background: var(--primary);
    color: var(--white);
    padding: 20px 2%;
    position: relative;
}


/* Main Container */

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr 1.3fr;
    gap: 45px;
    align-items: flex-start;
}

/* Vertical Divider */

.footer-col {
    position: relative;
}

.footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
}


/* ===============================
   Logo
================================== */

.footer-logo {
    width: 240px;
    margin-bottom: 25px;
}


/* ===============================
   About Text
================================== */

.footer .about p {
    color: #d9e6e8;
    line-height: 1.8;
    font-size: 15px;
}


/* ===============================
   Headings
================================== */

.footer h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}


/* Gold Line */

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: var(--secondary);
    border-radius: 20px;
}


/* ===============================
   Lists
================================== */

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 4px;
}


/* ===============================
   Links
================================== */

.footer ul li a {
    text-decoration: none;
    color: #d8e3e6;
    transition: 0.35s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.footer ul li a::before {
    content: "›";
    color: var(--secondary);
    font-size: 18px;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: var(--secondary);
    transform: translateX(8px);
}

.footer ul li a:hover::before {
    transform: translateX(5px);
}


/* ===============================
   Social Icons
================================== */

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    transition: 0.35s;
    font-size: 18px;
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(255, 169, 0, 0.35);
}


/* ==========================================================
   CONTACT INFORMATION
========================================================== */

.footer-col .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col .contact-info li a::before {
    content: none;
}

.footer-col .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d9e6e8;
    margin-bottom: 12px;
    line-height: 1.2;
    font-size: 15px;
}

.footer-col .contact-info i {
    color: var(--secondary);
    font-size: 18px;
    min-width: 20px;
    margin-top: 4px;
}


/* ==========================================================
   GOOGLE MAP
========================================================== */

.map {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid rgba(255, 169, 0, 0.2);
    transition: 0.35s;
}

.map:hover {
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(255, 169, 0, 0.2);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1);
    transition: 0.35s;
}

.map:hover iframe {
    filter: grayscale(0%);
}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--secondary);
    margin-block-start: 8px;
    width: 100%;
    border-radius: 5px;
}

.footer-bottom p {
    color: var(--primary);
    font-size: 14px;
    margin: 0;
}


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links span {
    color: #666;
    color: var(--primary);
}

.footer-links a {
    color: #d9e6e8;
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: #666;
}


/* ==========================================================
   HOVER EFFECT
========================================================== */

.footer-col {
    transition: 0.35s;
}

.footer-col:hover {
    transform: translateY(-4px);
}


/* ==========================================================
   SCROLL ANIMATION READY
========================================================== */

.footer-col {
    opacity: 1;
}


/* ==========================================================
   SELECTION
========================================================== */

.footer ::selection {
    background: var(--secondary);
    color: var(--primary);
}


/* ==========================================================
   SCROLLBAR
========================================================== */

.footer ::-webkit-scrollbar {
    width: 8px;
}

.footer ::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 20px;
}

.footer ::-webkit-scrollbar-track {
    background: var(--primary);
}


/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */


/* ---------- Large Screens ---------- */

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .footer-col::after {
        display: none;
    }
}


/* ---------- Tablet ---------- */

@media (max-width: 992px) {
    .footer {
        padding: 60px 6% 0;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    .footer-logo {
        width: 200px;
    }
    .footer h3 {
        font-size: 20px;
    }
    .footer .about p {
        font-size: 14px;
    }
}


/* ---------- Mobile ---------- */

@media (max-width: 768px) {
    .footer {
        padding: 50px 25px 0;
        text-align: center;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logo {
        margin: auto;
        display: block;
        margin-bottom: 25px;
    }
    .social-icons {
        justify-content: center;
    }
    .footer ul li a {
        justify-content: center;
    }
    .contact-info li {
        justify-content: center;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}


/* ---------- Small Mobile ---------- */

@media (max-width: 480px) {
    .footer {
        padding: 45px 18px 0;
    }
    .footer-logo {
        width: 170px;
    }
    .footer h3 {
        font-size: 19px;
    }
    .footer .about p,
    .footer ul li,
    .contact-info li {
        font-size: 14px;
    }
    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .map {
        height: 180px;
    }
}


/* ==========================================================
   SMOOTH ANIMATIONS
========================================================== */

.footer a,
.footer i,
.footer .map,
.footer-col,
.social-icons a {
    transition: all 0.35s ease;
}


/* ==========================================================
   ACCESSIBILITY
========================================================== */

.footer a:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

.footer-col ul {
    padding-inline-start: 0;
}


/* ==========================================================
   END OF FOOTER CSS
========================================================== */