/* Tablet screens (1023px and below) */
@media (max-width: 1023px) {
    section.card-new .cards-left h2 {
        font-size: 3rem;
        text-align: left;
        /* 48px for tablets */
    }

    section.card-new .cards-left img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 120px;
    }

    section.card-new .grid {
        grid-template-columns: 1fr 1fr;
        /* Two columns on tablets */
    }

    section.card-new .space-y-6.mt-48.mb-48 {
        margin-top: 0;
        margin-bottom: 0;
    }

    section.card-new .relative.h-96 {
        height: 250px;
    }

    section.card-new .text-lg.font-bold {
        font-size: 1.25rem;
        /* 20px for tablets */
    }

    section.card-new .text-gray-600.text-sm,
    section.card-new .text-gray-500.text-sm,
    section.card-new .text-sm.text-gray-500 {
        font-size: 0.875rem;
        /* 14px for tablets */
    }
}

/* Mobile screens (767px and below) */
@media (max-width: 767px) {
    section.card-new {
        flex-direction: column;
        align-items: center;
    }

    section.card-new .cards-left {
        width: 100%;
        margin-bottom: 3rem;
    }

    section.card-new .cards-left h2 {
        font-size: 2rem;
        /* 32px for mobile */
        text-align: left;

    }

    section.card-new .cards-left img {
        display: none;
        /* Hidden on mobile */
    }

    section.card-new .cards-right {
        width: 100%;
    }

    section.card-new .grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    section.card-new .space-y-6.mt-48.mb-48 {
        margin-top: 0;
        margin-bottom: 0;
    }

    section.card-new .relative.h-96 {
        height: 200px;
        /* Smaller height for mobile */
    }

    section.card-new .text-lg.font-bold {
        font-size: 1rem;
        /* 16px for mobile */
    }

    section.card-new .text-gray-600.text-sm,
    section.card-new .text-gray-500.text-sm,
    section.card-new .text-sm.text-gray-500 {
        font-size: 0.75rem;
        /* 12px for mobile */
    }

    section .line-hr {}
}



/* Tablet screens (1023px and below) */
@media (max-width: 1023px) {
    section.people-say .grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }

    section.people-say h2 {
        font-size: 2rem;
        /* 32px for tablet */
    }

    section.people-say .text-gray-600.mb-4 {
        font-size: 0.875rem;
        /* 14px for tablet */
    }

    section.people-say .text-gray-600.font-semibold {
        font-size: 0.875rem;
        /* 14px for tablet */
    }

    section.people-say .text-gray-500.text-sm {
        font-size: 0.75rem;
        /* 12px for tablet */
    }
}

/* Mobile screens (767px and below) */
@media (max-width: 767px) {
    section.people-say {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    section.people-say h2 {
        font-size: 1.75rem;
        /* 28px for mobile */
    }

    section.people-say .grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 1.5rem;
    }

    section.people-say .bg-white {
        padding: 1rem;
    }

    section.people-say .text-gray-600.mb-4 {
        font-size: 0.875rem;
        /* 14px for mobile */
    }

    section.people-say .text-gray-600.font-semibold {
        font-size: 0.875rem;
        /* 14px for mobile */
    }

    section.people-say .text-gray-500.text-sm {
        font-size: 0.75rem;
        /* 12px for mobile */
    }

    section.people-say .w-10.h-10 {
        width: 2rem;
        height: 2rem;
    }

    section.people-say .w-5.h-5 {
        width: 1rem;
        height: 1rem;
    }

    section.people-say .w-5.h-5.ml-2 {
        width: 1rem;
        height: 1rem;
        margin-left: 0.25rem;
    }
}