
/* About bg section  */
.about_bg {
    background: linear-gradient(rgba(0, 0, 0, 0.185), rgba(0, 0, 0, 0.5)), url(assets/aboutSectionData/shariah-complaint-banner-bg\ \(1\).webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    font-family: "Ubuntu", sans-serif;
}

.about_bg>h1 {
    color: white;
    font-size: 60px;
    font-weight: 400;
    font-family: Marcellus;
    font-weight: 400;
    font-size: 46px;
}
/* About bg section ends here  */
/* Conent of about  */
.about_content :nth-child(1) {
    text-align: center;
    margin-top: 50px;
}

.about_content :nth-child(2) {
    text-align: center;
    margin: 20px;
}

.about_content :nth-child(7) {
    font-weight: bold;
}

.about_content :nth-child(8) {
    text-align: center;
    margin: auto;
    margin-top: 20px;
    margin-bottom:20px ;
}

.about_content {
    width: 80vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    padding: 20px;
    line-height: 26px;
    font-weight: 400;
    font-size: 17px;
}

.about_content p {
    margin: 5px;
    padding: 10px;

}

.cta-button {
    background: var(--text-color);
    color: var(--main-color);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

     /* CEO Message Section */
    /* Board of Directors Section */
.ceo-message {
    padding: 60px 20px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

.message-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.messagesDiv {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.messagesDiv:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.ceoImage {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.ceoImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.directorImage img {
    width: 100%;
    height: 95%;
    object-fit: contain;
    background-color: #FFFFFF;
}

.messagesDiv:hover .ceoImage img {
    transform: scale(1.05);
}

/* Message Card - Hidden by default */
.message-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    color: white;
    padding: 30px;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show message card on hover */
.messagesDiv:hover .message-card {
    display: block;
    opacity: 1;
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffc107;
    font-weight: 600;
}

.message-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
}

.message-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
}











