/* ==========================================================================
   WHATSAPP BUSINESS API - TEMPLATE DESIGN MATCH
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors matching the template */
    --wba-primary: #1E40AF;
    /* Deep Blue */
    --wba-primary-light: #eff6ff;
    /* Very light blue background */
    --wba-text-dark: #0f172a;
    /* Headings */
    --wba-text-body: #475569;
    /* Body text */
    --wba-whatsapp: #25D366;
    /* WhatsApp Green */
    --wba-whatsapp-bg: #e8f9ef;
    /* Light Green for icon boxes */
    --wba-bg-white: #ffffff;
    --wba-bg-gray: #f8fafc;
    /* Light gray sections */
    --wba-border: #e2e8f0;

    /* Soft template shadows */
    --wba-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --wba-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.wba-page-wrapper {
    font-family: 'Poppins', sans-serif;
    color: var(--wba-text-body);
    line-height: 1.6;
    margin: 0 3%;
    /* Retained 3% margin */
}

/* Base Typo */
.wba-h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--wba-text-dark);
    margin-bottom: 15px;
}

.wba-h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wba-text-dark);
    margin-bottom: 15px;
}

.wba-h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wba-text-dark);
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--wba-primary) !important;
}

.wba-text-whatsapp {
    color: var(--wba-whatsapp);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-5 {
    margin-top: 2rem;
}

/* Layouts */
.wba-section {
    padding: 80px 0;
}

.wba-bg-white {
    background-color: var(--wba-bg-white);
}

.wba-bg-light {
    background-color: var(--wba-bg-gray);
}

.wba-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

.wba-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.wba-section-header p {
    font-size: 1.1rem;
    color: var(--wba-text-body);
}

/* Grids */
.wba-grid {
    display: grid;
    gap: 30px;
}

.wba-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.wba-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}

.wba-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.wba-grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.wba-hero {
    padding: 80px 0;
    background: var(--wba-bg-white);
}

.wba-hero-container {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* padding: 0 20px; */
    display: flex;
    align-items: center;
    gap: 50px;
}

.wba-hero-content {
    flex: 1.2;
}

.wba-hero-image {
    flex: 1;
    text-align: center;
}

.wba-hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--wba-shadow-hover);
}

.wba-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wba-primary-light);
    color: var(--wba-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.wba-badge i {
    color: var(--wba-whatsapp);
    font-size: 1.1rem;
}

.wba-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--wba-text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.wba-subheading {
    font-size: 1.2rem;
    color: var(--wba-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.wba-description {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.wba-hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.wba-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wba-btn-primary {
    background: var(--wba-primary);
    color: white !important;
    border: 2px solid var(--wba-primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.wba-btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.wba-btn-outline {
    background: transparent;
    color: var(--wba-primary) !important;
    border: 2px solid var(--wba-border);
}

.wba-btn-outline:hover {
    border-color: var(--wba-primary);
    background: var(--wba-primary-light);
}

.wba-hero-mini-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wba-text-body);
}

.wba-hero-mini-features span i {
    color: var(--wba-whatsapp);
}

/* ==========================================================================
   2. SPLIT LAYOUT (Intro)
   ========================================================================== */
.wba-split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.wba-split-image {
    flex: 1;
}

.wba-split-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--wba-shadow);
}

.wba-split-text {
    flex: 1;
    text-align: justify;
}

.wba-split-text p {
    margin-bottom: 15px;
}

/* ==========================================================================
   3. CARDS (Template Match)
   ========================================================================== */
.wba-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid var(--wba-border);
    box-shadow: var(--wba-shadow);
    transition: all 0.3s ease;
}

.wba-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--wba-shadow-hover);
    border-color: var(--wba-primary-light);
}

.wba-card-icon {
    width: 48px;
    height: 48px;
    background: var(--wba-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wba-card-icon i {
    font-size: 20px;
    color: var(--wba-primary);
}

.wba-card-centered {
    text-align: center;
}

.wba-card-centered .wba-card-icon {
    margin: 0 auto 20px auto;
}

/* Header layout for Key Features */
.wba-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.wba-card-header .wba-card-icon {
    margin-bottom: 0;
}

.wba-card-header h4 {
    margin-bottom: 0;
    margin-top: 0;
}

/* Highlight Service Cards */
.wba-card-highlight {
    border-top: 4px solid var(--wba-primary);
}

/* Custom Lists inside cards */
.wba-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    border-top: 1px solid var(--wba-border);
    padding-top: 15px;
}

.wba-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--wba-text-dark);
}

.wba-list li::before {
    content: "•";
    color: var(--wba-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* ==========================================================================
   4. CHECK GRIDS & HIGHLIGHT BOXES
   ========================================================================== */
.wba-highlight-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--wba-border);
    box-shadow: var(--wba-shadow);
    margin-top: 40px;
}

.wba-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.wba-check-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--wba-text-dark);
}

.wba-check-grid li i {
    color: var(--wba-whatsapp);
}

/* Centered Check List for 'Why Choose Us' */
.wba-choose-us-box {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    border: 1px solid var(--wba-border);
    box-shadow: var(--wba-shadow);
}

.wba-check-list-centered {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 12px;
}

.wba-check-list-centered li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--wba-text-dark);
}

.wba-check-list-centered li i {
    color: var(--wba-whatsapp);
    font-size: 1.2rem;
}

/* ==========================================================================
   5. COMPACT BENEFIT & INDUSTRY CARDS
   ========================================================================== */
.wba-benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--wba-border);
    text-align: center;
    box-shadow: var(--wba-shadow);
    transition: 0.3s;
}

.wba-benefit-card:hover {
    border-color: var(--wba-whatsapp);
    transform: translateY(-3px);
}

.wba-benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--wba-whatsapp-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.wba-benefit-icon i {
    color: var(--wba-whatsapp);
    font-size: 20px;
}

.wba-benefit-card .wba-h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.wba-benefit-card p {
    font-size: 0.9rem;
    margin: 0;
}

.wba-industry-card {
    background: var(--wba-bg-white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--wba-border);
    box-shadow: var(--wba-shadow);
}

.wba-industry-card .wba-h4 {
    border-bottom: 2px solid var(--wba-primary-light);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (EXACT FIT)
   ========================================================================== */
* {
    box-sizing: border-box;
}

@media (max-width: 992px) {

    .wba-hero-container,
    .wba-split-layout {
        flex-direction: column;
        text-align: center;
    }

    .wba-hero h1 {
        font-size: 2.5rem;
    }

    .wba-hero-buttons {
        justify-content: center;
    }

    .wba-hero-mini-features {
        justify-content: center;
    }

    .wba-card-header {
        flex-direction: column;
        text-align: center;
    }

    .wba-split-layout {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .wba-split-text {
        display: contents;
        /* Removes wrapper so children can be ordered */
    }

    .wba-split-text .wba-h2 {
        order: 1;
        margin-bottom: 10px;
    }

    .wba-split-text .wba-h3 {
        order: 2;
        margin-bottom: 30px;
        font-size: 1.3rem;
    }

    .wba-split-image {
        order: 3;
        margin-bottom: 30px;
        width: 100%;
    }

    .wba-split-text p {
        order: 4;
        margin-bottom: 15px;
    }

    /* Other Tablet Fixes */
    .wba-contact-details {
        justify-content: center;
    }

    .wba-card-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .wba-grid-2,
    .wba-grid-3,
    .wba-grid-4,
    .wba-grid-5 {
        grid-template-columns: 1fr;
    }

    .wba-section {
        padding: 50px 0;
    }

    .wba-hero {
        padding: 40px 0;
    }

    .wba-choose-us-box {
        padding: 30px 15px;
    }

    .wba-check-list-centered li {
        align-items: flex-start;
        text-align: left;
    }

    .wba-highlight-box {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .wba-hero h1 {
        font-size: 2rem;
    }

    .wba-h2 {
        font-size: 1.8rem;
    }

    .wba-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .wba-btn {
        width: 100%;
        justify-content: center;
    }

    .wba-split-text p {
        text-align: justify;
    }
}