/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Logo container */
.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 10px;
}

.logo {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Image container */
.image-container {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    min-height: 0;
}

/* Main image styles */
.main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile styles */
@media (max-width: 767px) {
    .logo-container {
        padding: 8px 5px;
    }
    
    .logo {
        max-width: 80px;
    }
    
    .image-container {
        padding: 3px;
    }
    
    .main-image {
        border-radius: 4px;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .logo-container {
        padding: 12px 10px;
    }
    
    .logo {
        max-width: 90px;
    }
    
    .image-container {
        padding: 8px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .logo-container {
        padding: 15px 10px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .image-container {
        padding: 10px;
    }
    
    .main-image {
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
}

/* WhatsApp Section Styles */
.whatsapp-section {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
    background: white;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.whatsapp-main-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-main-button:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.2rem;
}

.branch-button .whatsapp-icon {
    font-size: 1rem;
}

/* Branch Section Styles */
.branch-section {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
    background: white;
    margin: 0 0 20px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.branch-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 100%;
}

.branch-button {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.branch-button:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

/* Mobile styles for WhatsApp sections */
@media (max-width: 767px) {
    .whatsapp-section, .branch-section {
        margin: 10px;
        padding: 15px;
    }
    
    .whatsapp-section h2 {
        font-size: 1.3rem;
    }
    
    .branch-section h3 {
        font-size: 1.1rem;
    }
    
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .branch-button {
        padding: 10px 6px;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .whatsapp-main-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Tablet styles for WhatsApp sections */
@media (min-width: 768px) and (max-width: 1023px) {
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop styles for WhatsApp sections */
@media (min-width: 1024px) {
    .branch-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
