/* ===============================
   Premium Footer Styling (Updated)
=============================== */
.footer {
    position: relative;
    background: linear-gradient(120deg, #2c5aa0 30%, #1b3b6f 100%, #547dc0 50%);
    color: #fff;
    padding: 50px 8% 30px;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: url("./Images/footer-bg-pattern.png") no-repeat center/cover;
    opacity: 0.08;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* ===============================
   Brand Column
=============================== */
.footer-brand {
    text-align: left;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    /* space between logo and text */
    margin-bottom: 10px;
}

.footer-logo {
    width: 55px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.footer-brand h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    color: #f4b860;
    margin: 0;
    line-height: 1.2;
}

.footer-brand p {
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f4b860;
    color: #0b2447;
    text-align: center;
    line-height: 38px;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #fff;
    transform: translateY(-4px);
}

/* ===============================
   Columns (Links, Services, Contact)
=============================== */
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: #f4b860;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #fff;
    transition: color 0.3s ease;
    text-decoration: none;
    list-style-type: none;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-links ul li i {
    color: #f4b860;
    margin-right: 8px;
}

.footer-links ul li:hover a,
.footer-contact ul li:hover a,
.footer-services ul li:hover,
.footer-contact ul li:hover {
    color: #f4b860;
}

.footer-services ul li i,
.footer-contact ul li i {
    color: #f4b860;
    margin-right: 8px;
}

/* ===============================
   Divider & Bottom Bar
=============================== */
.footer-divider {
    height: 1px;
    background-color: #d6dfe5;
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

.footer-bottom a,
.footer-credit-link {
    color: #f4b860;
    text-decoration: none;
    font-weight: 600;
    pointer-events: auto;
    position: relative;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}
/* ===============================
   Responsive Design
=============================== */

/* Medium screens: 2x2 grid for symmetry */
@media (min-width: 922px) and (max-width: 1368px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footer {
        padding: 40px 5% 25px;
    }
.brand-header {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 10px;
    }
    .footer-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 5% 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo-title {
        justify-content: center;
        flex-direction: column;
        /* stack logo + name on mobile */
        gap: 8px;
    }

    .footer-brand h2 {
        font-size: 1.6rem;
    }

    .footer-links h3,
    .footer-services h3,
    .footer-contact h3 {
        font-size: 1.2rem;
    }

    .footer-divider {
        margin: 30px 0 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 4% 15px;
    }

    

    .footer-container {
        gap: 25px;
    }

    .footer-logo {
        width: 45px;
    }

    .footer-brand h2 {
        font-size: 1.4rem;
    }

    .footer-links h3,
    .footer-services h3,
    .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-links ul li,
    .footer-services ul li,
    .footer-contact ul li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 5% 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left; /* align all text left */
    }

    .footer-brand {
        text-align: left;
    }

    .brand-header {
        justify-content: flex-start;
    }

    .footer-logo-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links h3,
    .footer-services h3,
    .footer-contact h3 {
        text-align: left;
        font-size: 1.2rem;
    }

    .footer-links ul,
    .footer-services ul,
    .footer-contact ul {
        padding-left: 0;
    }

    .footer-links ul li,
    .footer-services ul li,
    .footer-contact ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-divider {
        margin: 30px 0 15px;
    }
}
