/* Apple Enterprise Solution Page Styles */

/* ====== Base ====== */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #000;
    line-height: 1.6;
    background: #ffffff; /* ensure white backdrop */
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2 {
    font-weight: 700;
    margin: 0 0 0.5em 0;
}

p {
    margin: 0 0 1em 0;
}

/* ====== HERO SECTION ====== */
.hero-section {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background: #ffffff; /* keeps hero clean even if body bg overridden elsewhere */
}

.reseller-logo {
    width: 140px;
    margin: 0 auto 1.5rem;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #7d3eea; /* purple */
    margin-bottom: 2.5rem;
}

.hero-image {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* ====== INTRO ====== */
.intro-text {
    max-width: 900px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    font-size: 1.1rem;
    text-align: justify;
}

/* ====== INFO CARDS ====== */
.info-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    background: #d9c9e9; /* light lavender */
    margin: 0 0 2rem 0;
}

/* Alternate background shade for visual separation */
.info-card:nth-of-type(even) {
    background: #e6d7f3;
}

.info-card.reverse {
    flex-direction: row-reverse;
}

.text-col,
.img-col {
    flex: 1 1 50%;
}

.text-col {
    max-width: 550px;
}

.img-col {
    text-align: center;
    background: #ffffff; /* white frame so images with white bg blend */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Limit image size & maintain aspect */
.img-col img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
}

.badge {
    display: inline-block;
    background: #e6e0ff;
    color: #6c28d9;
    padding: 0.4rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn.primary {
    border: 2px solid #fff;
    color: #fff;
}

.btn.primary:hover {
    background: #fff;
    color: #6c28d9;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-card.reverse {
        flex-direction: column;
    }

    .text-col,
    .img-col {
        flex: 1 1 100%;
        max-width: none;
    }

    .text-col {
        order: 1;
    }

    .img-col {
        order: 2;
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }
}
