.cqps-header {
    text-align: center;
    width: var(--rn-width1);
    margin: 45px auto;
}

.cqps-subtitle {
    font-size: clamp(24px, 5vw, 33px);
    font-family: 'PoppinsBold';
    text-align: center;
    width: var(--rn-width1);
}

.cqps-subtitle span {
    color: var(--red);
}

.cqps-main-title {
    font-size: clamp(14px, 3vw, 18px);
    font-family: "poppinsRegular";
    color: var(--text-gray);
    margin-top: 15px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cqps-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: var(--rn-width1);
    margin: auto;
}

.cqps-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.cqps-card:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(227, 6, 19, 0.25);
    border-color: var(--red);
}

.cqps-card h3 {
    font-size: clamp(18px, 4vw, 22px);
    margin: 20px 0 15px 0;
    font-family: 'PoppinsSemiBold';
    transition: color 0.3s ease;
    line-height: 1.3;
}

.cqps-card p {
    font-size: clamp(13px, 3vw, 15px);
    line-height: 1.7;
    color: inherit;
    font-family: "poppinsRegular";
    transition: color 0.3s ease;
    margin: 0;
}
.cqps-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;           /* optional: keeps consistent shape */
  height: 80px;
  /* border-radius: 16px; */
  margin-bottom: 1.2rem;
}

.cqps-icon svg path,
.cqps-icon svg rect,
.cqps-icon svg circle,
.cqps-icon svg polygon {
  fill: #e5373f !important;
}



 






.cqps-card:hover .cqps-icon {
    background-color: white; /* Or use a direct color like #ff0000 */
}


.cqps-icon {
    background-color: #FCE7E8;
    border-radius: 10%;
    transition: background-color 0.3s ease;
}

.cqps-icon svg path,
.cqps-icon svg rect,
.cqps-icon svg polygon {
    transition: fill 0.3s ease, stroke 0.3s ease;
}


/* Tablet Styles */
@media (max-width: 768px) {
    .cqps-section {
        margin: 60px auto;
        padding: 0 15px;
    }
    
    .cqps-header {
        margin-bottom: 40px;
    }
    
    .cqps-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .cqps-card {
        padding: 35px 25px;
        border-radius: 12px;
    }
    
    .cqps-card:hover {
        transform: translateY(-5px);
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .cqps-section {
        margin: 40px auto;
        padding: 0 10px;
    }
    
    .cqps-header {
        margin-bottom: 30px;
    }
    
    .cqps-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cqps-card {
        padding: 30px 20px;
        border-radius: 10px;
    }
    
    .cqps-card h3 {
        margin: 15px 0 12px 0;
    }
    
    .cqps-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(227, 6, 19, 0.2);
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .cqps-section {
        padding: 0 8px;
    }
    
    .cqps-card {
        padding: 25px 15px;
    }
    
    .cqps-cards {
        gap: 15px;
    }
}
.cqps-card.cqps-icon{
    height: 50% !important;
    width: 50%  !important;
}