/* Home Page Section 3 - What We Do */

.what-section {
    padding: 60px 0;
    background-color: #fff;
}

.what-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.what-header {
    text-align: center;
    margin-bottom: 40px;
}

.what-header h2 {
    font-family: Cairo, sans-serif;
    font-size: 45px;
    color: #555;
    font-weight: 900;
    margin-bottom: 22px;
    line-height: 1.2;
}

.what-header p,
.card p {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: rgb(0, 0, 0) !important;
    font-size: 20px !important;
    line-height: 26px !important;
    margin-bottom: 1.5rem !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-smooth: always !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    margin: auto;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    transform: scale(0);
    opacity: 0;
}

.bwbg-animate-zoom-in.animate-in-view {
    animation: bwbg-zoomIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bwbg-zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.card-image img {
    width: 200px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
	margin: auto;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card h3 {
    font-family: Cairo, sans-serif;
    font-size: 24px;
    color: #555;
    font-weight: 900;
    margin-bottom: 12.7px;
    line-height: 1.2;
	text-align:left;
}

.card p {
    margin-bottom: 15px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: #777;
}

.card p:last-child {
    margin-bottom: 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    transition: transform 0.3s ease;
}

.mission-vision-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.mission-card {
    background-color: #000;
    color: #fff;
}

.vision-card {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.mission-vision-card h3 {
    font-family: Cairo, sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mission-card h3 {
    color: #fff;
    transition: color 0.3s ease;
}

.vision-card h3 {
    color: #000;
    transition: color 0.3s ease;
}

.mission-vision-card p {
    font-family: Cairo, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.mission-card p {
    color: #fff;
    transition: color 0.3s ease;
}

.vision-card p {
    color: #000;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .what-section {
        padding: 50px 0;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 50px;
    }
    
    .what-header h2 {
        font-size: 38px;
    }
    
    .what-header p {
        font-size: 18px;
    }
    
    .card h3 {
        font-size: 22px;
    }
    
    .mission-vision-card h3 {
        font-size: 28px;
    }
    
    .mission-vision-card p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .what-section {
        padding: 40px 0;
    }
    
    .what-header h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .what-header p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .mission-vision-card {
        padding: 30px 20px;
    }

    .card p {
        text-align: center;
    }
    
    .card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .mission-vision-card h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .mission-vision-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .what-section {
        padding: 30px 0;
    }
    
    .what-header h2 {
        font-size: 28px;
    }
    
    .what-header p {
        font-size: 15px;
    }
    
    .card h3 {
        font-size: 18px;
    }
    
    .card p {
        font-size: 13px;
    }
    
    .cards-grid {
        gap: 25px;
    }
    
    .mission-vision-grid {
        gap: 20px;
        margin-top: 30px;
    }
    
    .mission-vision-card {
        padding: 25px 15px;
    }
    
    .mission-vision-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .mission-vision-card p {
        font-size: 14px;
    }
}
