/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #125227;  /* MeriDukan Green */
    --secondary-color: #82b428;
    --dark-text: #222222;
    --light-bg: #f8f9fa;
}

body {
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Nav */
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile Responsive Menu Rules */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu toggle hum badme JS se add karenge */
    }
    .container {
        width: 95%;
    }
}
/* ==========================================
   Hero Section Styling
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, #f0f7f2 0%, #ffffff 100%);
    padding: 60px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background-color: #e2f0e5;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    line-height: 1.2;
    color: #111;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Hero CTA Buttons */
.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-merchant {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn-trial {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* App Badges */
.app-downloads {
    display: flex;
    gap: 15px;
}

.app-btn img {
    height: 40px;
}

/* Hero Right Image */
.hero-image {
    flex: 1;
    text-align: center;
}

.main-hero-img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================
   Mobile Responsiveness for Hero Section
   ========================================== */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        margin: 0 auto 25px auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .app-downloads {
        justify-content: center;
    }
}

/* ==========================================
   Business Categories Section
   ========================================== */
.categories-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.section-title h2 {
    font-size: 28px;
    color: #111;
    margin-bottom: 40px;
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.category-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(18, 82, 39, 0.1);
    transform: translateY(-5px);
}

.cat-icon {
    width: 50px;
    height: 50px;
    background-color: #e2f0e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px auto;
}

.category-card h3 {
    font-size: 15px;
    color: #222;
    margin-bottom: 5px;
    font-weight: 600;
}

.category-card p {
    font-size: 12px;
    color: #777;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile par 2 columns */
        gap: 12px;
    }
    .section-title h2 {
        font-size: 22px;
    }
}