/* =========================================
   CUSTOM CLONE FOOTER CSS (FLEXBOX/GRID SYSTEM)
   Prefix: pf-footer-
========================================= */

/* Base Footer Styles */
.pf-footer-wrapper {
    background: var(--Neutrals-Dark-Navy, #0F172A);
    padding: 56px;
    margin-top: 0;
}

.pf-footer-wrapper * {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    box-sizing: border-box;
}

.pf-footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   1. Footer Links (6 Column GRID)
========================================= */
.pf-footer-links-row {
    display: grid;
    /* 2fr for About Us and Products to give them extra width, 1fr for the rest */
    grid-template-columns: 2.5fr 1fr 2.5fr .7fr .6fr .7fr;
    gap: 16px;
    margin-bottom: 60px;
}

.pf-footer-heading, 
.pf-footer-standalone-links h4 .pf-footer-standalone-a {
    color: var(--Neutrals-Off-White, #F1F5F9);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pf-footer-mobile-dropdown-icon {
    display: none;
    font-size: 12px;
    transition: transform 0.3s ease;
    width: 12px;
}

.pf-footer-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 2-column inner grid for About Us and Products */
.pf-footer-ul-2col {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 20px;
    row-gap: 15px;
}

/* Helper to keep grid formatting intact for empty slots */
.pf-empty-li {
    display: block;
}

.pf-footer-ul:not(.pf-footer-ul-2col) li {
    margin-bottom: 15px;
}

.pf-footer-ul li a {
    color: var(--Neutrals-Sky-Gray-2, #94A3B8);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pf-footer-ul li a:hover,
.pf-footer-standalone-links h4 .pf-footer-standalone-a:hover {
    color: #ffffff;
}

/* =========================================
   2. Locations (7 Column GRID)
========================================= */
.pf-footer-locations-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    padding-bottom: 60px;
}

.pf-footer-loc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--Neutrals-White, #FFF);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
}

.pf-footer-loc-head img {
    width: 20px;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
}

.pf-footer-loc-para {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.pf-footer-pin-icon {
    color: #00b270; 
    font-size: 14px;
    margin-top: 3px;
}

.pf-footer-loc-para p, .pf-footer-loc-para a {
    color: var(--Neutrals-Sky-Gray-2, #94A3B8);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px; /* 150% */
    margin: 0;
    text-decoration: none;
}

.pf-footer-loc-para a:hover {
    color: #ffffff;
}

/* =========================================
   3. Contact Row
========================================= */
.pf-footer-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    gap: 30px;
}

.pf-footer-fc-logo img {
    width: 160px;
    height: auto;
}

.pf-footer-fc-info {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.pf-footer-fc-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pf-footer-fc-item i {
    font-size: 24px;
    color: #9ba1b0;
}

.pf-footer-fc-item span {
    color: var(--Neutrals-Sky-Gray-2, #94A3B8);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.pf-footer-fc-item strong {
    overflow: hidden;
    color: var(--Neutrals-Off-White, #F1F5F9);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

/* =========================================
   4. Bottom Bar
========================================= */
.pf-footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

.pf-footer-bottom-left .pf-footer-privacy-links {
    margin-bottom: 8px;
}

.pf-footer-bottom-left .pf-footer-privacy-links a,
.pf-footer-bottom-left .pf-footer-privacy-links .pf-footer-divider,
.pf-footer-bottom-left .pf-footer-copyright-text p {
    color: var(--Neutrals-Sky-Gray-2, #94A3B8);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    margin: 0;
}

.pf-footer-bottom-left .pf-footer-privacy-links a:hover {
    color: #ffffff;
}

.pf-footer-bottom-left .pf-footer-privacy-links .pf-footer-divider {
    margin: 0 8px;
}

.pf-footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pf-footer-bottom-right .pf-footer-follow-text {
    color: #FFF;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    line-height: 21.6px;
    margin-bottom: 15px;
}

.pf-footer-social-icons {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pf-footer-social-icons a {
    color: #9ba1b0;
    font-size: 18px;
    transition: color 0.3s ease;
}

.pf-footer-social-icons a:hover {
    color: #ffffff;
}

/* =========================================
   MEDIA QUERIES 
========================================= */

@media (max-width: 1200px) {
    .pf-footer-links-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .pf-footer-locations-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .pf-footer-links-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-footer-ul-2col {
        grid-template-columns: 1fr;
    }
    .pf-footer-locations-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .pf-footer-wrapper {
        padding: 56px 16px;
    }
    
    .pf-footer-links-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 20px;
    }
    
    .pf-footer-link-col {
        flex: 1 1 100%;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .pf-empty-li {
        display: none;
    }

    /* Mobile Accordion Styles */
    .pf-footer-heading {
        cursor: pointer;
        padding-bottom: 15px;
        margin-bottom: 0;
    }
    
    .pf-footer-mobile-dropdown-icon {
        display: inline-block;
        filter: brightness(15);
    }
    
    .pf-footer-ul {
        display: none; /* Hidden by default on mobile */
        padding-bottom: 15px;
        padding-top: 10px;
    }
    
    .pf-footer-iconrotate .pf-footer-mobile-dropdown-icon {
        transform: rotate(180deg);
    }
    
    .pf-footer-locations-row {
        display: flex;
        flex-direction: column;
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    .pf-footer-location-box {
        flex: 1 1 100%;
    }
    
    .pf-footer-fc-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .pf-footer-bottom-bar {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .pf-footer-loc-para p br, .pf-footer-loc-para a br {
        display: none;
    }   
    
    .pf-footer-bottom-right {
        align-items: center;
    }

    .pf-footer-standalone-links h4 {
        margin-top: 0 !important;
    }
}