  /* Card Type Section animation support */
/* Prevent flash before animation */
.card-type .about-label,
.card-type .card-type-title,
.card-type .about-desc,
.card-type .paragraph-line .line,
.card-type .card-type-image,
.card-type .bottom-cards .card {
    opacity: 0;
}

/* Smooth transition for pulse */
.card-circle {
    transition: border-color 0.35s ease;
}


.card-type {
    width:100vw;
    overflow-x:clip;
    /* background: var(--primary); */
}
.card-type .container{
    position: relative;
}
.card-type .card-type-image{
    position: absolute;
    top: 100px;
    z-index: 0;
    max-width: 900px;
    width: 100%;

}
.card-type .card-type-image:lang(en){
    
    right: -10%;
}
.card-type .card-type-image:lang(ar){
    left: -15%;
}

.card-type .about-label {
    margin-bottom: 20px;
}

.card-type-title {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

.card-type-title .text-em {
    color: #7FE3FF; /* Light blue shade */
}

.card-type-title .text-gcc {
    color: #FFD428; /* Yellow shade */
}

.about-desc {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin-bottom: 10px;
}


.stat-item h4 {
    margin-bottom: 6px;
}
.stat-item p{
    color: var(--gayser);
}
.paragraph-line{
    margin-bottom:120px;
}
.bottom-cards {
    /* background: rgba(255, 255, 255, 0.05); */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 83px 50px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 100px 0;
    border: 1px solid rgba(75, 90, 96, 0.5)
}
.bottom-cards .card:nth-child(3n+2) { border-left: 1px solid rgba(75,90,96,0.5); border-right: 1px solid rgba(75,90,96,0.5); }

/* Center last row (cards 4 & 5) */
.bottom-cards .card:nth-child(1) {
        grid-column:1 /3;
 
}
.bottom-cards .card:nth-child(2) {
        grid-column:3 /5;
 
}
.bottom-cards .card:nth-child(3) {
        grid-column:5 /7;
 
}
.bottom-cards .card:nth-child(4) {
        grid-column:2 /4
}

.bottom-cards .card:nth-child(5) {
        grid-column: 4 / 6;
        border-right: none;
}

.bottom-cards .card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 50px; 
}

.bottom-cards .card .body-medium{
    color: var(--gayser);
}
.card img {
    width: 24px;
    height: 24px;
    margin-bottom: 16px;
}

.card-circle{
    border: 2px solid var(--blue-lagoon);
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-circle .inner-circle{
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background: var(--blue);
}

@media (max-width: 1440px) {
    .why-grid{
        gap: 20px;
        row-gap: 50px;
    }
    .top-row .right{
        max-width: 331px;
        height: 250px;
    }
}

/* Mobile */
@media (max-width: 1024px) {
    .bottom-cards {
        padding: 30px 10px;
        gap: 50px 0;
        display: flex;
        flex-direction: column;
    }
    .bottom-cards .card{
        padding: 20px;
    }
    .bottom-cards .card{
        grid-column: none;
    }
     .bottom-cards .card:nth-child(3n+2){
        border: none;
    }
}
@media (max-width: 900px) {
    .paragraph-line .line{
        width: 100%;
    }
    .top-row {
        flex-direction: column;
        margin-bottom: 50px;
    }
    
    
    .bottom-cards {
        grid-template-columns: 1fr;
    }
    .bottom-cards{
        gap: 20px 0;
    }
  
}
@media (max-width: 768px) {
    .top-row .right{
        height: 210px;
    }
}
/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .card-type .card-type-image{
        top:0;
        right: -300px;
        transform: none;

    }
}
@media (max-width: 768px) {
    .card-type .container{
        padding-top: 0;
    }
    .top-content{
        display: flex;
        flex-direction: column-reverse;
    }
    .card-type .card-type-image{
        right: 0;
        position: relative;
        margin-bottom: 32px;
    }
    .paragraph-line{
        margin-bottom: 20px;
    }
}
