/* ===== Service Section Styles ===== */
.service-section {
    padding: 60px 20px;
      background: linear-gradient(135deg, #ffffff 0%, hsl(203, 100%, 94%) 100%);;
}

.service-section:nth-child(even) {
     background: linear-gradient(135deg, hsl(186, 100%, 94%) 100%, #ffffff 0% );/* Alternate background for contrast */
}

.service-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-section .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

/* Reverse layout for even sections */
.service-section:nth-of-type(even) .grid {
    direction: rtl; /* Flip content order visually */
}

.service-section:nth-of-type(even) .grid .col {
    direction: ltr; /* Keep text direction normal */
}

.service-section img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.service-section h5.highlight {
    font-size: 1.5rem;
    color: #2563eb; /* Primary blue */
    margin-bottom: 20px;
    font-weight: 700;
}

.service-section ul {
    list-style: none;
    padding: 0;
}

.service-section ul > li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-section ul > li ul li {
    font-size: 0.95rem;
    font-weight: normal;
    color: #555;
    margin-top: 5px;
}

/* ===== Animation Effects ===== */
[data-animate="slide-left"] {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideLeft 0.8s ease forwards;
}

[data-animate="slide-right"] {
    opacity: 0;
    transform: translateX(40px);
    animation: slideRight 0.8s ease forwards;
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .service-section .grid {
        grid-template-columns: 1fr;
        text-align: center;
        direction: ltr !important; /* Keep normal order on mobile */
    }

    .service-section img {
        margin: 0 auto 20px;
    }
}

/* ===== CRM & ERP Section ===== */
.crm-erp-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #ffffff 0%, hsl(203, 100%, 94%) 100%);
    text-align: center;
}

.crm-erp-section .wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.crm-erp-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.crm-erp-section .lead {
    font-size: 1.1rem;
    color: #555;
    max-width: 750px;
    margin: 0 auto 50px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* ===== Service Card ===== */
.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.in-view {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: var(--delay, 0s);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Icon styling */
.service-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Headings & Paragraph */
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ===== Animation ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .crm-erp-section h2 {
        font-size: 1.5rem;
    }
    .crm-erp-section .lead {
        font-size: 1rem;
    }
}

