/* Footer Styles */
.footer {
    background: #1B3B8C;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
}

.footer-top {
    padding: 40px 0;
    background: linear-gradient(rgba(27, 59, 140, 0.97), rgba(27, 59, 140, 0.97)),
                url('../images/footer-bg.jpg') center/cover fixed;
    position: relative;
}

.footer-logo {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-locations {
    position: relative;
    z-index: 1;
}

.footer-locations h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
}

.footer-locations h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #FF4081;
    border-radius: 2px;
}

.locations-grid {
    
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 37px;
    margin-top: 15px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    align-content: center;
    justify-items: center;
}

.location-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.location-item h4 {
    color: #FF4081;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: right;
    font-weight: 600;
}

.location-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: right;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.map-link i {
    margin-left: 5px;
    color: #FF4081;
    font-size: 0.85rem;
}

.map-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.footer-contact {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: #FF4081;
    font-size: 1.2rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #FF4081;
    transform: translateY(-2px);
}

.contact-item .phone-number {
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-bottom .social-links {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
}

.footer-bottom .social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-bottom .social-link:hover {
    color: #FF4081;
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* New sections above branches */
.footer-top-sections {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.footer-right-section {
    flex: 0.25;
}

.footer-left-section {
    flex: 0.25;
}

/* Quick Links Section */
.footer-links {
    text-align: right;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links h3 {
    color: #FF4081;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li:last-child {
    margin-bottom: 0;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.footer-links ul li a i {
    color: #4169E1;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.footer-links ul li a:hover i {
    color: #FF4081;
    transform: scale(1.1);
}

/* Emergency Section */
.footer-emergency {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-emergency::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: #FF4081;
}

.footer-emergency h3 {
    color: #FF4081;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.footer-emergency h3 i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

.emergency-text {
    margin-bottom: 12px;
}

.emergency-text p {
    color: #fff;
    margin: 2px 0;
    font-size: 0.9rem;
}

.emergency-text .highlight {
    color: #FF4081;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 4px;
}

.emergency-number {
    display: inline-flex;
    align-items: center;
    background: #FF4081;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    gap: 8px;
    transition: all 0.3s ease;
}

.emergency-number:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 64, 129, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-top-sections {
        flex-direction: column;
    }

    .footer-right-section, .footer-left-section {
        width: 100%;
    }

    .footer-links {
        padding: 15px;
    }

    .footer-links ul li a {
        justify-content: center;
    }

    .footer-emergency {
        text-align: center;
    }

    .footer-emergency h3 {
        justify-content: center;
    }
}

/* Responsive Footer Styles */
@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .locations-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 280px;
    }

    .location-item {
        text-align: center;
    }

    .location-item h4,
    .location-item p {
        text-align: center;
    }

    .map-link {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Footer Bottom */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom .container {
        gap: 20px;
    }

    .footer-contact {
        gap: 15px;
        flex-direction: column;
    }

    .contact-item {
        justify-content: center;
    }

    .contact-item .phone-number {
        font-size: 1.3rem;
    }

    .footer-bottom .social-links {
        padding: 6px 15px;
        gap: 12px;
    }

    .footer-bottom .social-link {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom .container {
        gap: 15px;
    }

    .contact-item .phone-number {
        font-size: 1.2rem;
    }

    .footer-bottom .social-links {
        padding: 5px 12px;
        gap: 10px;
    }

    .footer-bottom .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.8rem;
    }
} 