/* --- CSS Variables for Consistency --- */
:root {
    --primary-red: #cc0000; /* Ibinalik sa pula para sa consistency */
    --dark-gray: #333;
    --light-gray: #f4f4f4;
    --text-gray: #555;
    --text-color-light: #fff; 
    --font-family: 'Poppins', sans-serif; /* Changed font to Poppins */
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth; /* Adds smooth scrolling for anchor links */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: #f5f5f0; /* Warm off-white background */
    /* Subtle geometric pattern with softer contrast */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e0e0d8' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Locations Banner Section --- */
.locations-banner {
    position: relative;
    padding: 120px 20px; /* Ibinalik ang padding para sa mas magandang impact */
    text-align: center;
    color: #fff;
    background-image: url('https://images.pexels.com/photos/2246476/pexels-photo-2246476.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); /* Mas dramatic na city view */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to prevent covering other pages */
}

.locations-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)); /* Gradient overlay */
    display: block;
}

.locations-banner .overlay-text {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.locations-banner h1 {
    font-size: 4em; /* Pinalaki ang font size ng header */
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5); /* Nagdagdag ng text shadow */
}

.locations-banner p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* --- Location Map Section --- */
.location-map-section {
    padding: 0; /* Inalis ang padding para maging full-width ang banner */
}

/* --- New Header Section for Map --- */
.map-header-banner {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    background-image: url('https://images.pexels.com/photos/323705/pexels-photo-323705.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); /* Blueprint/map background */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to prevent covering other pages */
}

.map-header-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 62, 80, 0.75); /* Dark blue overlay */
}

.location-map-section .section-title {
    color: #fff; /* Pinalitan ng puti */
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.location-map-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9); /* Pinalitan ng puti */
    text-align: center; /* Tinitiyak na naka-gitna ang text */
    max-width: none; /* Aalisin ang max-width para mag-full width sa loob ng container */
    margin: 0; /* Ire-reset ang margin */
}

.map-container-wrapper {
    padding-top: 60px; /* Nagdagdag ng espasyo sa pagitan ng banner at mapa */
}

 .map-embed-container {
    position: relative;
    width: 100%; 
    height: 80vh;
    max-height: 750px;
    border-radius: 15px; /* Pinalaki ang radius */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
}

.map-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} 

/* --- Branch List Section --- */
.branch-list-section {
    padding: 25px 20px; /* Binawasan ang padding mula sa 80px para maging mas dikit */
    background-color: #ffffff;
}

/* --- Alternating Section Backgrounds --- */
.branch-list-section:nth-of-type(even) {
    background-color: var(--background-gray); /* Gagamit ng variable mula sa about.css */
}


.section-header {
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

/* --- New Animated Box Header Design --- */
.collapsible-trigger {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text content */
    padding: 30px;
    border: 1px solid #e9ecef; /* Light gray border */
    border-radius: 12px;
    background-color: var(--background-white); /* Pinalitan ng puti */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 0; /* Remove margin, content will be below */
    overflow: hidden; 
    z-index: 1;
}

/* --- New Parallax Icon Background --- */
.collapsible-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.15; /* Halos transparent */
    filter: grayscale(50%) blur(2px); /* Naka-grayscale at blur para hindi distracting */
    transform: scale(1.1); /* Naka-zoom in sa simula */
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Background Image for Each Region --- */
/* Metro Manila: Cityscape */
.branch-list-section:nth-of-type(1) .collapsible-trigger::before {
    background-image: url('https://images.pexels.com/photos/374870/pexels-photo-374870.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
}
/* Luzon: Mountains/Rice Terraces */
.branch-list-section:nth-of-type(2) .collapsible-trigger::before {
    background-image: url('https://images.pexels.com/photos/1578750/pexels-photo-1578750.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
}
/* Visayas: Beach/Coastline */
.branch-list-section:nth-of-type(3) .collapsible-trigger::before {
    background-image: url('https://images.pexels.com/photos/1078983/pexels-photo-1078983.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
}
/* Mindanao: Waterfall/Nature */
.branch-list-section:nth-of-type(4) .collapsible-trigger::before {
    background-image: url('https://images.pexels.com/photos/3601094/pexels-photo-3601094.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
}

/* Hover Effect */
.collapsible-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red); /* Dark gray border on hover */
}

.collapsible-trigger:hover::before {
    transform: scale(1); /* Mag-zo-zoom out sa orihinal na laki */
    opacity: 0.3; /* Bahagyang magiging mas malinaw */
    filter: grayscale(0%) blur(0px); /* Aalisin ang grayscale at blur */
}

/* Active State */
.collapsible-trigger.active {
    background-color: #f8f9fa; /* Slightly darker white when active */
    border-color: var(--primary-red); /* Dark gray border when active */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Pulsing Animation on Active */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 58, 64, 0.3); }
    70% { box-shadow: 0 0 0 10px rgba(52, 58, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 58, 64, 0); }
}

.collapsible-trigger.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    animation: pulse 1.5s infinite;
    z-index: -1;
}

/* Collapsible content styling */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 12px 12px;
    margin-top: -12px;
    padding: 0 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
}

.collapsible-trigger.active + .collapsible-content {
    max-height: 3000px;
    padding: 30px 20px;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    margin-bottom: 30px;
}

/* Chevron Icon Animation */
.collapsible-trigger i {
    color: var(--dark-gray); /* Pinalitan ang kulay ng icon */
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.collapsible-trigger.active i {
    transform: rotate(180deg);
}
/* Ensure the branches-grid has top margin when revealed */
.collapsible-content .branches-grid {
    padding-top: 40px; /* Use padding instead of margin */
}
.collapsible-trigger + .collapsible-content .branches-grid {
    padding: 40px 30px; 
    border: 2px solid var(--primary-red); /* Ginawang mas makapal at pula para tumugma sa active header */
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.section-title {
    font-size: 3em;
    font-weight: 900;
    color: var(--dark-gray); /* Pinalitan ng dark gray */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    text-shadow: none; /* Inalis ang shadow para sa mas malinis na itsura */
}

.section-subtitle {
    font-size: 1.3em;
    color: var(--text-gray); /* Pinalitan ng gray */
    margin: 5px 0 0 0;
    font-weight: 400; 
    line-height: 1.6; 
    letter-spacing: 0.3px;
    position: relative;
}

/* ================================================== */
/* --- END OF UNIQUE METRO MANILA ANIMATION --- */
/* ================================================== */

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Dinagdagan ang gap */
}

.branch-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e9ecef; /* Nagdagdag ng outline para mapansin ang box */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.branch-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Pinalitan ang anino ng itim */
    border-color: var(--primary-red);
}

.branch-card:hover::before {
    transform: translateX(200%) skewX(-15deg);
}

/* Pulsing effect on hover - Pinalitan ang kulay ng itim */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.branch-card:active {
    animation: pulse 0.5s;
    transform: translateY(-5px) scale(0.99);
}

.branch-name {
    font-size: 1.6em;
    font-weight: 800;
    color: var(--primary-red);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.branch-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s ease;
}

.branch-card:hover .branch-name {
    letter-spacing: 1px;
}

.branch-card:hover .branch-name::after {
    width: 80px;
    background: #6c757d; /* Pinalitan ng mas light na gray */
}

.branch-address, .branch-phone {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-size: 1em;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.7;
}

.branch-phone {
    font-weight: 600;
    color: var(--dark-gray);
}

.branch-card .branch-address {
    flex-grow: 1; /* Itulak pababa ang phone at button */
    text-align: center;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--dark-gray), #555);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-directions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #5a6268, #343a40); /* Pinalitan ng shades of gray */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-directions:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25); /* Pinalitan ang anino ng itim */
    color: white;
}

.btn-directions:hover::before {
    opacity: 1;
}

.btn-directions:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-directions i {
    transition: transform 0.3s ease;
}

.btn-directions:hover i {
    transform: translateX(3px);
}


/* ================================================== */
/* --- MOBILE RESPONSIVE STYLES --- */
/* ================================================== */

@media (max-width: 992px) {
    /* Adjust banner for medium screens */
    .locations-banner {
        padding: 80px 15px;
    }
    
    .locations-banner h1 {
        font-size: 2.8em;
        line-height: 1.2;
    }
    
    .locations-banner p {
        font-size: 1.1em;
    }
    
    /* Adjust branch cards grid */
    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .branch-card {
        padding: 25px 20px;
    }
    
    .branch-name {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .branch-address, .branch-phone {
        font-size: 0.95em;
        text-align: left;
        justify-content: flex-start;
    }
    
    .btn-directions {
        width: 100%;
        padding: 12px 15px;
    }
}

@media (max-width: 992px) {
    /* ================================================== */
/* --- ENHANCED HAMBURGER MENU --- */
    /* Navbar Layout Adjustments */
    .navbar .container {
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        height: 70px; /* Set a fixed height for alignment */
        padding: 0 20px; /* Override vertical padding from style.css */
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 1000;
    }

    /* Enhanced Hamburger Menu Design */
    .mobile-menu-toggle {
        display: flex !important;
        order: -1;
        margin: 0;
        background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
        border: 1px solid rgba(255,255,255,0.05);
        cursor: pointer;
        padding: 0;
        z-index: 1010; /* Increased to stay above the menu */
        position: relative;
        width: 52px;
        height: 52px;
        border-radius: 16px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }

    .mobile-menu-toggle::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(145deg, #333333, #1a1a1a);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .mobile-menu-toggle:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .mobile-menu-toggle:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-toggle .hamburger-line {
        height: 2.5px;
        background: var(--primary-red) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-toggle .hamburger-line:nth-child(1) { 
        top: 16px; 
        width: 24px; 
        transform-origin: 50% 50%;
        transition: transform 0.4s 0.1s cubic-bezier(0.4, 0, 0.2, 1), 
                    width 0.3s ease, 
                    top 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-toggle .hamburger-line:nth-child(2) { 
        top: 24px; 
        width: 20px; 
        opacity: 1;
        transform-origin: 50% 50%;
        transition: all 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-toggle .hamburger-line:nth-child(3) { 
        bottom: 16px; 
        width: 16px;
        transform-origin: 50% 50%;
        transition: transform 0.4s 0.1s cubic-bezier(0.4, 0, 0.2, 1), 
                    width 0.3s ease, 
                    bottom 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Active state animation */
    .mobile-menu-toggle.active {
        background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu-toggle.active .hamburger-line {
        background: var(--primary-red);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        top: 24px;
        width: 24px;
        transform: translateX(-50%) rotate(45deg);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    top 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    width 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        bottom: 24px;
        width: 24px;
        transform: translateX(-50%) rotate(-45deg);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    width 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    #mainNavigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background-color: #1a1a1a;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.12);
        padding: 100px 25px 40px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005; /* Increased to be higher than logo (1000) */
        overflow-y: auto;
        transform: translateX(-100%);
    }
    
    #mainNavigation.active {
        transform: translateX(0);
    }
    
    #mainNavigation::before {
        content: '';
        position: absolute;
        top: 0;
        left: 100%;
        width: 100vw;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    #mainNavigation.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    #mainNavigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }
    
    #mainNavigation li {
        width: 100%;
        margin: 5px 0;
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    #mainNavigation.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animation for menu items */
    #mainNavigation.active li:nth-child(1) { transition-delay: 0.1s; }
    #mainNavigation.active li:nth-child(2) { transition-delay: 0.15s; }
    #mainNavigation.active li:nth-child(3) { transition-delay: 0.2s; }
    #mainNavigation.active li:nth-child(4) { transition-delay: 0.25s; }
    #mainNavigation.active li:nth-child(5) { transition-delay: 0.3s; }
    
    #mainNavigation a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        color: #f0f0f0;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    #mainNavigation a:hover,
    #mainNavigation a:focus {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--primary-red);
        transform: translateX(5px);
    }
    
    #mainNavigation a.active {
        color: var(--primary-red);
        font-weight: 600;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: var(--primary-red);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: var(--primary-red);
    }
    
    .mobile-only {
        display: block;
    }

        /* Contact button styles */
    .btn-contact:not(.mobile-only) {
        display: inline-block; /* Show on desktop */
        padding: 10px 20px;
        background: linear-gradient(45deg, var(--primary-red), #e60000);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .btn-contact:not(.mobile-only):hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    }
    
    /* Mobile menu contact button */
    .mobile-only .btn-contact {
        display: block;
        width: 100%;
        text-align: center;
        margin: 15px 0 0;
        padding: 12px 20px;
        background: linear-gradient(45deg, var(--primary-red), #e60000);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .mobile-only .btn-contact:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    }
    
    /* Hide desktop contact button on mobile */
    @media (max-width: 992px) {
        .btn-contact:not(.mobile-only) {
            display: none;
        }
        
        .mobile-only .btn-contact {
            display: block;
        }
    }

    /* Adjust banner for small screens */
    .locations-banner {
        padding: 70px 15px;
    }
    
    .locations-banner h1 {
        font-size: 2.2em;
    }
    
    .locations-banner p {
        font-size: 1em;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8em;
        letter-spacing: 1px;
    }
    
    .section-subtitle {
        font-size: 1em;
    }
    
    /* Collapsible sections */
    .collapsible-trigger {
        padding: 20px 15px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .collapsible-trigger i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    
    .collapsible-content {
        padding: 0 10px !important;
    }
    
    .collapsible-trigger + .collapsible-content .branches-grid {
        padding: 20px 10px;
    }
    
    /* Branch cards */
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .branch-card {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .branch-name {
        font-size: 1.3em;
    }
    
    /* Map section */
    .map-embed-container {
        height: 50vh;
        border-radius: 8px;
    }
    
    .map-header-banner {
        padding: 60px 15px;
    }
    
    .map-header-banner .section-title {
        font-size: 1.8em;
    }
    
    .map-header-banner .section-subtitle {
        font-size: 1em;
    }
    
    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto;
    }
    
    .footer-links h3, 
    .footer-contact h3 {
        margin-top: 20px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .locations-banner h1 {
        font-size: 1.8em;
    }
    
    .section-title {
        font-size: 1.6em;
    }
    
    .branch-card {
        padding: 18px 12px;
    }
    
    .branch-name {
        font-size: 1.2em;
    }
    
    .branch-address, 
    .branch-phone {
        font-size: 0.9em;
    }
    
    .btn-directions {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .map-embed-container {
        height: 45vh;
    }
}
