/* Base Resets & Mobile-First Variables */
:root {
    --primary: #e6007e; /* Magenta matching the WhatsApp button */
    --bg-color: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.branch-indicator {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
    padding: 40px 20px;
    text-align: left;
}

.badge {
    background: var(--text-main);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(230, 0, 126, 0.3);
}

/* Services & Machinery Sections */
.services, .machinery {
    padding: 40px 20px;
}

.services h3, .machinery h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

.machine-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.machine-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee; /* Placeholder bg if image is missing */
}

.machine-info {
    padding: 15px;
}

.machine-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.machine-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.branch-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.branch-btn {
    background: var(--white);
    border: 2px solid #eee;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
}

.branch-btn:hover {
    border-color: var(--primary);
}

.branch-btn strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
}

.branch-btn span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.branch-btn .wa-number {
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

/* Responsive Desktop Tweaks */
@media (min-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .branch-indicator {
        width: auto;
    }
    .hero {
        padding: 80px 40px;
        text-align: center;
    }
    .hero-buttons {
        max-width: 300px;
        margin: 0 auto;
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .machinery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
  }
      
