/* ====================card-1============================ */


.modern-blog-card {
    background: #fff;
    border-radius: 20px;
    transition: 0.4s ease;
    border: 2px solid #eef2f0;
    border-bottom: 6px solid #0A9642;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.modern-blog-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #0A9642;
}

.img-wrapper {
    padding: 10px;
    /* Small inner padding */
    border-bottom: 2px solid #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-image {
    max-width: 100%;
    height: auto;
    /* Responsive height */
    display: block;
    border-radius: 15px;
    /* Internal border radius for the image itself */
    transition: transform 0.4s ease;
}

.content-box {
    padding: 25px;
    flex-grow: 1;
    /* content box fills remaining space */
}

.category {
    color: #0A9642;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-box h5 {
    font-size: 19px;
    font-weight: 700;
    margin: 12px 0;
    line-height: 1.4;
}

.read-more {
    color: #111;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    margin-top: auto;
    /* read-more always at bottom of content-box */
}

.read-more:hover {
    color: #0A9642;
    gap: 12px;
}


/* ======================card-2======================= */

.review-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid #0A9642;
    /* Premium look */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 150, 66, 0.15);
}

.quote-icon {
    color: #0A9642;
    font-size: 32px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.client-info h5 {
    margin: 0;
    font-size: 18px;
    color: #222;
    font-weight: 700;
}

.client-info span {
    font-size: 13px;
    color: #0A9642;
    font-weight: 600;
    text-transform: uppercase;
}

/* =====================card-3============================ */

.stats-section {
    background: linear-gradient(rgba(13, 60, 150, 0.9), rgba(13, 60, 150, 0.9)),
        url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.icon-box {
    background: #00d4ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: 0.3s;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item:hover .icon-box {
    transform: scale(1.1);
    background: #ffffff;
}

.stats-section .stat-item h3 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 2.5rem;
    /* Apni pasand ke hisaab se adjust karein */
    margin-bottom: 10px;
}

/* Background dark rakhein taaki white text achhe se dikhe */
.stats-section {
    background-color: #333;
    /* Yaha apna preferred dark color daalein */
    padding: 60px 0;
}


/* =======================card-4======================== */

.sponsors-grid {
    display: grid;
    /* Ye line 5 cards ko equal width degi */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sponsor-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    /* Fixed card height */
    transition: transform 0.3s ease;
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Image stretched nahi hogi */
}

/* Card pe halka hover effect */
.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.sponsors-grid {
    display: grid;
    /* Ye line 5 cards ko equal width degi */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sponsor-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    /* Fixed card height */
    transition: transform 0.3s ease;
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Image stretched nahi hogi */
}

/* Card pe halka hover effect */
.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}