/* Estilos específicos para contact.html */

/* Barra superior responsiva */
.topbar-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-contact-info, .topbar-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-contact-info p {
    margin: 0 10px 0 0;
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: center;
}

.topbar-social a {
    color: #7bb241 !important;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.topbar-social a:hover {
    color: #4e7c1b !important;
}

@media (max-width: 600px) {
    .topbar-contact-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .topbar-contact-info, .topbar-social {
        gap: 10px;
    }
    .topbar-contact-info p {
        font-size: 0.95rem;
    }
}

/* Estilos mejorados para la página de contacto */
.contact-hero {
    background: linear-gradient(135deg, #7bb241 0%, #00649f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.contact-form-section {
    background: white;
    padding: 80px 0;
}

.contact-form-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Select mejorado */
.select-wrapper {
    position: relative;
}

.select-wrapper select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 48px; /* espacio para flecha */
    cursor: pointer;
    background-color: #fff;
}

.select-wrapper::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7bb241;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.select-wrapper select.form-control:hover {
    border-color: #cdd6dd;
}

.select-wrapper select.form-control:focus {
    border-color: #7bb241;
    box-shadow: 0 0 0 0.2rem rgba(123, 178, 65, 0.25);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #7bb241;
    box-shadow: 0 0 0 0.2rem rgba(123, 178, 65, 0.25);
    background: white;
}

.btn-contact {
    background: linear-gradient(135deg, #7bb241, #00649f);
    border: none;
    border-radius: 15px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123, 178, 65, 0.4);
    color: white;
}

.locations-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.locations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Statistics Section */
.locations-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7bb241, #00649f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilo para todas las tarjetas de ubicación */
.location-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Estilo especial para la ubicación principal (La Paz) */
.location-card.main-location {
    border: 3px solid #7bb241;
    box-shadow: 0 15px 35px rgba(123, 178, 65, 0.2);
    transform: scale(1.02);
}

.location-card.main-location::before {
    content: 'Sede Principal';
    position: absolute;
    top: 10px;
    right: -35px;
    background: #7bb241;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Efecto hover para todas las tarjetas */

.location-card:hover {
    transform: translateY(-5px);
}

.location-card.main-location:hover {
    transform: translateY(-5px) scale(1.02);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Botón flotante de WhatsApp */
.floating-action {
    position: fixed;
    bottom: 100px;
    right: 38px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* Desktop Locations Layout */
.desktop-locations {
    position: relative;
    z-index: 2;
}

/* Headquarters Section Styles */
.headquarters-section {
    margin-bottom: 60px;
}

.headquarters-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.headquarters-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #7bb241, #00649f);
    opacity: 0.05;
    transition: opacity 0.4s ease;
}

.headquarters-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(123, 178, 65, 0.2);
}

.headquarters-card:hover::before {
    opacity: 0.1;
}

.headquarters-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(123, 178, 65, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.headquarters-info {
    position: relative;
    z-index: 2;
}

.location-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 15px 35px rgba(123, 178, 65, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.headquarters-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headquarters-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.headquarters-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(123, 178, 65, 0.1);
    transform: translateX(10px);
}

.detail-item i {
    color: #7bb241;
    font-size: 1.2rem;
    width: 20px;
}

.detail-item span {
    color: #555;
    font-weight: 500;
}

.headquarters-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-location-action {
    background: linear-gradient(135deg, #7bb241, #00649f);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-location-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(123, 178, 65, 0.4);
    color: white;
}

.btn-location-action.secondary {
    background: transparent;
    border: 2px solid #7bb241;
    color: #7bb241;
}

.btn-location-action.secondary:hover {
    background: #7bb241;
    color: white;
}

.headquarters-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.headquarters-map iframe {
    transition: transform 0.3s ease;
}

.headquarters-map:hover iframe {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
}

.map-pulse {
    width: 20px;
    height: 20px;
    background: #7bb241;
    border-radius: 50%;
    animation: pulse-map 2s infinite;
    box-shadow: 0 0 0 0 rgba(123, 178, 65, 0.7);
}

@keyframes pulse-map {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(123, 178, 65, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(123, 178, 65, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(123, 178, 65, 0);
    }
}

/* Branches Section */
.branches-section {
    margin-top: 60px;
}

.branches-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.branches-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    border-radius: 2px;
}

.branch-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Hover hint indicator */
.branch-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7bb241, #00649f);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.branch-card:hover::after {
    bottom: -35px;
    opacity: 1;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.branch-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(123, 178, 65, 0.2);
}

/* Magnetic effect on hover */
.branch-card:hover {
    animation: magneticPull 0.6s ease-out;
}

@keyframes magneticPull {
    0% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-8px) scale(1.01); }
    60% { transform: translateY(-18px) scale(1.025); }
    100% { transform: translateY(-15px) scale(1.02); }
}

.branch-card:hover::before {
    transform: scaleX(1);
}

.branch-header {
    padding: 25px 25px 20px;
    text-align: center;
    position: relative;
}

.branch-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7bb241, #00649f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

/* Pulsing ring effect */
.branch-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #7bb241, #00649f);
    background-clip: padding-box;
    opacity: 0;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.2);
    }
}

.branch-card:hover .branch-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(123, 178, 65, 0.4);
}

.branch-card:hover .branch-icon::before {
    animation: pulseRingFast 0.8s infinite;
}

@keyframes pulseRingFast {
    0%, 100% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.4);
    }
}

.branch-header h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.branch-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.branch-content {
    padding: 0 25px 20px;
    flex-grow: 1;
}

.branch-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
}

.branch-address i {
    color: #7bb241;
    margin-top: 2px;
    flex-shrink: 0;
}

.branch-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #7bb241, #00649f);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.branch-actions {
    padding: 20px 25px 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

.btn-branch-map,
.btn-branch-contact,
.btn-branch-directions {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

/* Button glow effect */
.btn-branch-map::before,
.btn-branch-contact::before,
.btn-branch-directions::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.btn-branch-map:hover::before,
.btn-branch-contact:hover::before,
.btn-branch-directions:hover::before {
    width: 100%;
    height: 100%;
}

.btn-branch-map {
    background: linear-gradient(135deg, #7bb241, #00649f);
    color: white;
}

.btn-branch-contact {
    background: #f8f9fa;
    color: #7bb241;
    border: 2px solid #7bb241;
}

.btn-branch-directions {
    background: #f8f9fa;
    color: #00649f;
    border: 2px solid #00649f;
}

.btn-branch-map:hover,
.btn-branch-contact:hover,
.btn-branch-directions:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-branch-contact:hover {
    background: #7bb241;
    color: white;
}

.btn-branch-directions:hover {
    background: #00649f;
    color: white;
}

.branch-map-container {
    display: none;
    margin: 15px 25px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Loading shimmer effect */
.branch-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.branch-map-container.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: mapReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mapReveal {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8) rotateX(-15deg);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05) rotateX(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.branch-map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
    transition: transform 0.3s ease;
}

.branch-map-container:hover iframe {
    transform: scale(1.02);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Coverage Section */
.coverage-section {
    margin-top: 60px;
}

.coverage-card {
    background: linear-gradient(135deg, #7bb241 0%, #00649f 100%);
    color: white;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coverage-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.coverage-card h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.coverage-card p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.coverage-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.coverage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.coverage-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.coverage-item i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.coverage-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    .contact-form-card {
        padding: 30px 20px;
    }
    .contact-card {
        padding: 30px 20px;
    }
    
    /* Locations responsive */
    .locations-section {
        padding: 60px 0;
    }
    
    .locations-stats {
        gap: 30px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .headquarters-card {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .headquarters-info h3 {
        font-size: 2rem;
    }
    
    .location-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .headquarters-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-location-action {
        width: 100%;
        justify-content: center;
    }
    
    .branches-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .branch-card {
        margin-bottom: 20px;
    }
    
    .branch-header {
        padding: 20px 20px 15px;
    }
    
    .branch-content {
        padding: 0 20px 15px;
    }
    
    .branch-actions {
        padding: 15px 20px 20px;
        gap: 8px;
    }
    
    .btn-branch-map,
    .btn-branch-contact,
    .btn-branch-directions {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .coverage-card {
        padding: 30px 20px;
    }
    
    .coverage-card h4 {
        font-size: 1.5rem;
    }
    
    .coverage-stats {
        gap: 20px;
        flex-direction: column;
    }
    
    .coverage-item {
        padding: 15px;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .coverage-item i {
        font-size: 1.5rem;
    }
}

/* Mobile Footer Styles */
.mobile-footer {
    display: none;
    padding: 20px 15px;
    background-color: #212121;
    color: #fff;
}

.mobile-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-footer-brand h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.mobile-footer-brand p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.mobile-footer-section {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-footer-toggle {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.mobile-footer-toggle i {
    transition: transform 0.3s ease;
}

.mobile-footer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
}

.mobile-footer-content.show {
    max-height: 500px;
    padding: 10px 15px 20px;
}

.mobile-footer-content a {
    display: block;
    color: #adb5bd !important;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-footer-content a:hover {
    color: #7bb241 !important;
}

.mobile-footer-content p {
    color: #adb5bd;
    margin-bottom: 10px;
}

.mobile-social-links a {
    display: inline-block;
    color: #7bb241 !important;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Desktop Footer Styles - Default */
.desktop-footer {
    display: block;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .desktop-footer {
        display: none;
    }
    
    .mobile-footer {
        display: block;
    }
}

@media (max-width: 576px) {
    .locations-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .headquarters-card {
        padding: 20px 15px;
    }
    
    .headquarters-info h3 {
        font-size: 1.6rem;
    }
    
    .headquarters-description {
        font-size: 1rem;
    }
    
    .detail-item {
        padding: 10px;
        gap: 10px;
    }
    
    .detail-item span {
        font-size: 0.9rem;
    }
    
    .branches-title {
        font-size: 1.5rem;
    }
    
    .branch-header h5 {
        font-size: 1.2rem;
    }
    
    .branch-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .coverage-card h4 {
        font-size: 1.3rem;
    }
    
    .coverage-card p {
        font-size: 1rem;
    }
    
    .floating-action {
        bottom: 90px;
        right: 28px;
    }
}

/* Extra compact layout for small phones */
@media (max-width: 480px) {
	.contact-hero {
		padding: 50px 0;
	}
	.contact-hero h1 {
		font-size: 2rem;
	}
	.contact-hero p {
		font-size: 1rem;
		max-width: 90%;
	}

	.section-title {
		margin-bottom: 35px;
	}
	.section-title h2 {
		font-size: 1.6rem;
	}
	.section-title p {
		font-size: 0.95rem;
	}

	.contact-section {
		padding: 40px 0;
	}
	.contact-card {
		padding: 20px 16px;
		box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	}
	.contact-icon {
		width: 56px;
		height: 56px;
		font-size: 1.4rem;
		margin-bottom: 15px;
	}

	.contact-form-section {
		padding: 40px 0;
	}
	.contact-form-card {
		padding: 22px 16px;
	}
	.form-control {
		padding: 12px 14px;
		font-size: 0.95rem;
		border-radius: 12px;
	}
	.btn-contact {
		padding: 12px 20px;
		font-size: 1rem;
		border-radius: 12px;
	}

	.locations-section {
		padding: 40px 0;
	}
	.locations-stats {
		gap: 20px;
		margin-top: 20px;
	}
	.stat-number {
		font-size: 1.8rem;
	}
	.stat-label {
		font-size: 0.85rem;
	}

	.headquarters-card {
		padding: 20px 15px;
	}
	.location-icon-large {
		width: 64px;
		height: 64px;
		font-size: 1.6rem;
		margin-bottom: 12px;
	}
	.headquarters-info h3 {
		font-size: 1.4rem;
		margin-bottom: 12px;
	}
	.headquarters-description {
		font-size: 0.95rem;
		margin-bottom: 16px;
	}
	.detail-item {
		padding: 10px;
		gap: 10px;
		margin-bottom: 10px;
	}
	.btn-location-action {
		padding: 10px 16px;
		border-radius: 20px;
	}
	.headquarters-map iframe {
		height: 220px;
	}

	.branches-title {
		font-size: 1.4rem;
		margin-bottom: 20px;
	}
	.branch-card {
		box-shadow: 0 6px 16px rgba(0,0,0,0.08);
		transition: none;
	}
	.branch-card:hover,
	.branch-card:hover::before,
	.branch-card:hover::after {
		transform: none;
		box-shadow: none;
	}
	.branch-header {
		padding: 16px 16px 12px;
	}
	.branch-icon {
		width: 46px;
		height: 46px;
		font-size: 1.1rem;
		margin-bottom: 10px;
	}
	.branch-header h5 {
		font-size: 1.1rem;
	}
	.branch-content {
		padding: 0 16px 12px;
	}
	.branch-actions {
		padding: 12px 16px 16px;
		gap: 8px;
	}
	.btn-branch-map,
	.btn-branch-contact,
	.btn-branch-directions {
		width: 34px;
		height: 34px;
		font-size: 0.8rem;
	}
	.branch-map-container iframe {
		height: 180px;
	}

	.coverage-card {
		padding: 24px 16px;
	}
	.coverage-card h4 {
		font-size: 1.3rem;
	}
	.coverage-card p {
		font-size: 0.95rem;
		margin-bottom: 20px;
	}
	.coverage-stats {
		gap: 14px;
	}
	.coverage-item {
		padding: 12px;
	}
	.coverage-item i {
		font-size: 1.3rem;
	}

	.floating-action {
		bottom: 80px;
		right: 20px;
	}
}

@media (max-width: 360px) {
	.contact-hero h1 {
		font-size: 1.8rem;
	}
	.form-control {
		padding: 10px 12px;
		font-size: 0.9rem;
	}
	.btn-contact {
		padding: 10px 16px;
		font-size: 0.95rem;
	}
	.headquarters-map iframe,
	.branch-map-container iframe {
		height: 160px;
	}
	.floating-action {
		bottom: 72px;
		right: 16px;
	}
}