*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.services{
    width: 100%;
    height: auto;
    padding: 80px 70px;
}   

.cards{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
}

.card{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-containt{
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-position: center;
    border-radius: 0;
}

.card h3{
    padding: 10px 0;
    color: #2563eb;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

.services-title {
    font-size: 4.75em;
    font-weight: 700;
    line-height: 98%;
    color: black;
    margin-bottom: 50px;
    /* text-align: center; */
}

/* Desktop - Large (1440px and above) */
@media (min-width: 1440px) {
    .services {
        padding: 100px 80px;
    }
    
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 50px;
    }
    
    .card h3 {
        font-size: 20px;
    }
    
    .services-title {
        font-size: 4.75em;
        margin-bottom: 50px;
    }
}

/* Desktop (1025px to 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
    .services {
        padding: 80px 60px;
    }
    
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 40px;
    }
    
    .services-title {
        font-size: 3.5em;
        margin-bottom: 40px;
    }
}

/* Tablet Large (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .services {
        padding: 60px 40px;
    }
    
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
    }
    
    .card h3 {
        font-size: 16px;
    }
    
    .card p {
        font-size: 13px;
    }
    
    .card img {
        height: 160px;
    }
    
    .card-containt {
        padding: 16px;
    }
    
    .services-title {
        font-size: 2.5em;
        margin-bottom: 35px;
    }
}

/* Tablet Small (600px to 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .services {
        padding: 50px 25px;
    }
    
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px;
    }
    
    .card h3 {
        font-size: 15px;
    }
    
    .card p {
        font-size: 12px;
    }
    
    .card img {
        height: 140px;
    }
    
    .card-containt {
        padding: 14px;
    }
    
    .services-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
}

/* Mobile Large (480px to 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .services {
        padding: 40px 20px;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }
    
    .card h3 {
        font-size: 14px;
    }
    
    .card p {
        font-size: 11px;
        line-height: 1.5;
    }
    
    .card img {
        height: 120px;
    }
    
    .card-containt {
        padding: 12px;
    }
    
    .services-title {
        font-size: 1.6em;
        margin-bottom: 25px;
        line-height: 1.2;
    }
}

/* Mobile Small (below 480px) */
@media (max-width: 479px) {
    .services {
        padding: 30px 15px;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .card {
        border-radius: 10px;
    }
    
    .card h3 {
        font-size: 13px;
        padding: 8px 0;
        margin-bottom: 6px;
    }
    
    .card p {
        font-size: 11px;
        line-height: 1.5;
    }
    
    .card img {
        height: 100px;
    }
    
    .card-containt {
        padding: 10px;
    }
    
    .services-title {
        /* font-size: 1.3em; */
        margin-bottom: 20px;
        /* line-height: 1.2;
        white-space: normal; */


                width: 100%;
        font-size: 8.53vw;
        text-align: center;
    }
}