﻿.crm-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    max-width: 1100px;
    margin-top: 118px !important;
    margin: auto;
}

.crm-left {
    max-width: 48%;
}

.crm-title {
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 10px;
}

    .crm-title span {
        color: #FD4673;

    }

.crm-description {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Typing Effect */
.typewrite > .wrap {
    border-right: 0.08em solid #006400;
    color: #FFF;
    display: inline-block;
}

.crm-button {
    background-color: #004d00;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

    .crm-button:hover {
        background-color: #003300;
    }

.crm-right {
    max-width: 48%;
}

.crm-image {
    width: 100%;
    height: 360px; /* Desktop view ke liye height badhayi gayi hai */
    object-fit: cover; /* Image ko frame ke andar adjust karne ke liye */
}

/* Responsive */
@media (max-width: 768px) {
    .crm-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .crm-left, .crm-right {
        max-width: 100%;
    }

    .crm-title {
        font-size: 2rem;
    }

    .crm-description {
        font-size: 1.2rem;
    }

    /* Add margin-top to image only in mobile view */
    .crm-image {
        margin-top: 50px; /* Aap apne hisab se margin adjust kar sakte hain */
        height: auto; /* Mobile view mein automatic height maintain karega */
    }
}

/* New Section Styles */
.clients-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #0D006F;
}

.clients-title {
    font-size: 2rem;
    color: #FFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.clients-subtitle {
    font-size: 1rem;
    color: #FFF;
    margin-bottom: 30px;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Desktop - 5 logos per row */
    column-gap: 8px; /* Left-right ka gap kam kiya */
    row-gap: 12px; /* Upar-neeche ka gap */
    justify-items: center;
    max-width: 900px; /* Container width fix kiya */
    margin: 0 auto; /* Center alignment */
    border-radius: 10px;
}

.client-logo {
    width: 160px; /* Desktop width */
    height: 90px; /* Desktop height */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: yellow;
    transition: box-shadow 0.3s ease-in-out;
    padding: 10px;
}

    .client-logo:hover {
        box-shadow: yellow;
    }

    .client-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* ✅ Mobile Responsive - 2 Logos per Row */
@media (max-width: 768px) {
    .clients-logos {
        grid-template-columns: repeat(2, 1fr); /* Mobile - 2 logos per row */
        column-gap: 5px; /* Mobile mein left-right gap aur kam */
        row-gap: 10px; /* Mobile mein upar-neeche ka gap */
    }

    .clients-title {
        font-size: 1.5rem;
    }

    .clients-subtitle {
        font-size: 0.9rem;
    }

    .client-logo {
        width: 140px; /* Mobile ke liye width chhoti */
        height: 80px; /* Mobile ke liye height chhoti */
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%); /* Start from right */
        opacity: 0;
    }

    100% {
        transform: translateX(0); /* Slide to original position */
        opacity: 1;
    }
}

@keyframes slideInTop {
    0% {
        transform: translateY(-100%); /* Start from top */
        opacity: 0;
    }

    100% {
        transform: translateY(0); /* Slide to original position */
        opacity: 1;
    }
}

/* New Section for Lead Automation & Distribution */
.lead-automation-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 50px; */
    max-width: 1100px;
    margin: auto;
}

.lead-automation-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 275px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* Left Side */
.lead-automation-left {
    flex: 1;
    max-width: 420px; /* Increased from 320px */
}

.lead-automation-image {
    width: 390px; /* Increased from 230px */
    height: 500px; /* Increased from 400px */
    border-radius: 8px;
    object-fit: contain; /* Ensures images maintain aspect ratio */
}

.dashboard-image {
    /* width: 380px;  */
    height: 290px;
    border-radius: 8px;
    /* object-fit: contain; */
}

/* Right Side */
.lead-automation-right {
    flex: 1;
    max-width: 800px;
}

.lead-automation-title {
    font-size: 2em;
    margin-bottom: 10px;
    color: #FFF;
}

.lead-automation-image-phone {
    height: 448px;
    width: 424px;
    margin-top: -177px;
}

.lead-automation-list {
    list-style-type: none;
    padding: 0;
    font-size: 1.1em;
    color: #FFF;
}

.lead-automation-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 0px;
}

/* Adding smaller ✅ icon before each li item */
.lead-automation-list li::before {
    content: '✅';
    position: absolute;
    left: -51px;
    top: 37%;
    transform: translateY(-50%);
    font-size: 0.7em;
}

/* Reverse the order of image and content in the wrapper for alternate sections */
.lead-automation-wrapper.reverse {
    flex-direction: row-reverse;
}

/* Mobile Responsiveness - remains unchanged */
@media (max-width: 768px) {
    .lead-automation-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .lead-automation-left, .lead-automation-right {
        max-width: 100%;
        flex: none;
        margin-bottom: 20px;
    }

    .lead-automation-title {
        font-size: 1.5em;
    }

    .lead-automation-image, .dashboard-image {
        margin-left: -50px;
        width: 330px; /* Original size for mobile */
        height: 200px; /* Original size for mobile */
    }

    .lead-automation-list li::before {
        content: '✅';
        position: absolute;
        left: -52px;
        top: 16%;
        transform: translateY(-50%);
        font-size: 0.8em;
    }
}
