/* BATECH Brand Colors */
:root {
    --primary: #3E2B6C;
    --primary-dark: #2a1a4a;
    --accent: #E4332B;
    --accent-dark: #c42a22;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #2C3E50;
    --black: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--black);
    line-height: 1.6;
}

/* Navigation - Solid Purple Background */
.navbar {
    background: var(--primary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--light-gray);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-card {
    background: var(--light-gray);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.industry-card h3 {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.footer a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    padding: 8px 15px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

/* Even smaller for mobile */
@media (max-width: 768px) {
    .whatsapp-btn {
        padding: 6px 12px;
        font-size: 12px;
        bottom: 15px;
        right: 15px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .container {
        padding: 40px 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        margin: 5px;
        padding: 10px 20px;
    }
}
/* Hide social media, address, and map on mobile for all pages */
@media (max-width: 768px) {
    /* Hide social icons */
    .topbar-social,
    .top-bar-container > div:last-child,
    .top-bar [style*="display: flex; gap: 15px"] {
        display: none !important;
    }
    
    /* Hide address */
    .topbar-address,
    .top-bar span:first-child,
    .top-bar [style*="display: flex; flex-wrap: wrap; gap: 20px"] span:first-child {
        display: none !important;
    }
    
    /* Hide map/directions link */
    .topbar-map,
    .top-bar a[href*="google"],
    .top-bar [style*="text-decoration: none;"]:has(🗺️) {
        display: none !important;
    }
}
/* Footer logo - make white on purple background */
footer img {
    filter: brightness(0) invert(1);
}
/* Hero slides - ensure images show */
.hero-slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
/* Make text always centered on hero */
.hero-slide .container {
    text-align: center !important;
}

/* Desktop hero text left aligned */
@media (min-width: 769px) {
    .hero-slide .container {
        text-align: left !important;
    }
}
/* Mobile Menu Button */
/* Mobile Responsive Header */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        display: none;
        width: 50% !important;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-top: 0;
        background: transparent !important;
        padding: 0;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        z-index: 1000;
    }
    
    .nav-links a {
        background: rgba(255, 255, 255) !important;
        padding: 12px;
        color: white !important;
        border-radius: 8px;
        margin: 2px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Hide social media icons on mobile, show on desktop */
/* Hide social media icons on mobile for all pages */
@media (max-width: 768px) {
    .topbar-social,
    .top-bar-container > div:last-child,
    .top-bar [style*="display: flex; gap: 15px"] {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .topbar-social {
        display: flex !important;
    }
}

/* Mobile top bar styles */
@media (max-width: 768px) {
    /* Hide address and map on mobile */
    .topbar-address {
        display: none !important;
    }
    
    .topbar-map {
        display: none !important;
    }
    
    /* Hide social icons on mobile */
    .topbar-social {
        display: none !important;
    }
    
    /* Phone and email side by side */
    .topbar-contact {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 15px !important;
    }
    
    .topbar-phone, .topbar-email {
        display: inline-block !important;
    }
}
/* Mobile Menu Button - Hidden on desktop by default */
.mobile-menu-btn {
    display: none !important;
}

/* Only show on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .topbar-social {
        display: flex !important;
    }
    
    .topbar-address, .topbar-map {
        display: inline-block !important;
    }
}

/* ====== MOBILE MENU FINAL FIX - OVERRIDES ALL ====== */
@media (max-width: 768px) {
    /* Force hamburger button to show */
    .mobile-menu-btn {
        display: block !important;
        background: #3E2B6C !important;
        border: 1px solid #E4332B !important;
        color: #E4332B !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    /* Override all conflicting nav-links styles */
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #3E2B6C !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 0 !important;
        padding: 20px !important;
        z-index: 1000 !important;
        gap: 10px !important;
    }
    
    /* When active, show the menu */
    .nav-links.active {
        display: flex !important;
    }
    
    /* Style menu links */
    .nav-links a {
        background: transparent !important;
        color: white !important;
        padding: 12px !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .nav-links a:hover {
        color: #E4332B !important;
    }
}