/* Our Leaders Page Specific Styles */

h2.overlay-title {
    color: #0f0808;
}

/* Hero Section */
.leaders-hero {
    position: relative;
    
    padding-top: 120px;
    padding-bottom: 15px;
    overflow: hidden;
}

.hero-background-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-2.png') repeat, #1d1f23;
    z-index: -1;
}

.leaders-header-section {
    position: relative;
    z-index: 1;
}

.leaders-page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #838a91;
    margin-bottom: 40px;
    line-height: normal;
}

.leaders-subtitle-image {
    margin-bottom: 0;
}

.leaders-subtitle-image img {
    width: 100%;
    height: auto;
}

/* Main Leaders Section */
.main-leaders-section {
    padding: 40px 0;
    position: relative;
}

.leaders-headline {
    margin-bottom: 80px;
}

.section-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #ffffff;
    line-height: 54.314px;
    margin-bottom: 0;
}

/* Leaders Grid */
.leaders-grid {
    margin-bottom: 80px;
}

.leader-card {
    height: 390px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
 
.leader-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

 

/* Leader Overlay */
.leader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #8e61a5;
    padding: 26px 31px;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 90px;
    display: flex;
    align-items: center;
}

.leader-card:hover .leader-overlay {
    opacity: 1;
}

.leader-info {
    color: #ffffff;
}

.leader-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 0;
    line-height: normal;
}

.leader-position {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 0;
    line-height: 23.415px;
    letter-spacing: 0.04px;
    opacity: 0.9;
}

/* Section Divider */
.section-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, #838a91 50%, transparent 100%);
    opacity: 0.4;
}

/* Vision Section */
.vision-section {
    
    padding: 80px 0;
}

.vision-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #838a91;
    line-height: 47.325px;
    margin-bottom: 40px;
}

.vision-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #ffffff;
    line-height: normal;
    margin-bottom: 0;
}

/* Chairman Message Section */
.chairman-message-section {
    
    padding: 80px 0;
}

.chairman-image {
    height: 698px;
    overflow: hidden;
}

.chairman-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; 
}


.chairman-message {
    padding-left: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message-greeting {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 30px;
}

.message-content {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    line-height: normal;
}

.message-content p {
    margin-bottom: 20px;
}

.message-signature {
    margin-top: 30px;
}

.signature-greeting {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.signature-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 5px;
}

.signature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 0;
}

/* Values Section */
.values-section {
    
    padding: 80px 0;
}

.values-image {
    height: 500px;
    overflow: hidden;
}

.values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.values-divider {
    height: 100%;
    width: 1px;
    background: #838a91;
    margin: 0 auto;
}

.values-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #838a91;
    line-height: normal;
    margin-bottom: 40px;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.value-bullet {
    width: 8px;
    height: 8px;
    background: #8e61a5;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: #555;
    margin-bottom: 0;
    line-height: normal;
}

/* Footer Styles (inherited from our-projects.css) */
.footer {
    
    color: #ffffff;
}

.footer-main {
    padding: 99px 0;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-2.png') repeat, #1d1f23;
    z-index: -1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.footer-logo {
    height: 46px;
    width: 174px;
}

.footer-address {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    line-height: normal;
}

.footer-address p {
    margin-bottom: 0;
    line-height: 21.373px;
}

.footer-contact {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-left: 29px;
}

.footer-contact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #838a91;
}

.footer-contact h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 13px;
    width: min-content;
}

.footer-contact p {
    color: #838a91;
    margin-bottom: 13px;
    line-height: normal;
}

.footer-contact .email {
    color: #8e61a5;
}

.footer-about {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-left: 29px;
}

.footer-about::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #838a91;
}

.footer-about h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 13px;
    width: min-content;
}

.footer-about p {
    color: #838a91;
    line-height: normal;
    margin-bottom: 0;
}

.footer-bottom {
    background: #ffffff;
    padding: 45px 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.footer-links a {
    color: #8e61a5;
    text-decoration: none;
}

.footer-links span {
    color: #bcbdc0;
}

.footer-copyright {
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #838a91;
}

.footer-copyright p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .leaders-page-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .leaders-hero {
        padding-top: 147px;
        padding-bottom: 10px;
    }
    .section-headline {
        font-size: 28px;
        line-height: 42px;
    }
    
    .leader-card {
        height: 350px;
        margin-bottom: 30px;
    }
    
    .vision-title {
        font-size: 28px;
        line-height: 38px;
    }
    
    .vision-description {
        font-size: 20px;
    }
    
    .chairman-image {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .chairman-message {
        padding-left: 0;
    }
    
    .message-greeting,
    .message-content,
    .signature-greeting,
    .signature-name,
    .signature-title {
        font-size: 22px;
    }
    
    .values-title {
        font-size: 36px;
    }
    
    .values-image {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .values-divider {
        height: 1px;
        width: 100%;
        margin: 20px 0;
    }
    
    .main-leaders-section,
    .vision-section,
    .chairman-message-section,
    .values-section {
        padding: 60px 0;
    }
    
    .footer-main {
        padding: 60px 0;
    }
    
    .footer-contact,
    .footer-about {
        margin-top: 30px;
        padding-left: 0;
    }
    
    .footer-contact::before,
    .footer-about::before {
        display: none;
    }
    
    .footer-copyright {
        text-align: left;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .leaders-hero {
        padding-top: 147px;
        padding-bottom: 10px;
    }
    .leader-image img {
        height: 300px; 
        object-position: top; 
    }
    .leaders-page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .section-headline {
        font-size: 24px;
        line-height: 36px;
    }
    
    .leader-card {
        height: 300px;
    }
    
    .vision-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .vision-description {
        font-size: 20px;
    }
    
    .chairman-image {
        height: 300px;
    }
    
    .message-greeting,
    .message-content,
    .signature-greeting,
    .signature-name,
    .signature-title {
        font-size: 22px;
    }
    
    .values-title {
        font-size: 28px;
    }
    
    .value-text {
        font-size: 22px;
    }
    
    .main-leaders-section,
    .vision-section,
    .chairman-message-section,
    .values-section {
        padding: 40px 0;
    }
}

/* Dark theme overrides for existing elements */
body.leaders-page {
    
}

.leaders-page .header {
    
}

.leaders-page .nav-link.active {
    color: #8e61a5;
}

.leaders-page .nav-link.active::after {
    background: #8e61a5;
}





/* What We Stand For Section (from About page) */
.stand-for-section {
    margin-bottom: 0;
}

.stand-for-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 48px;
    line-height: normal;
}

.stand-for-content {
    position: relative;
    width: 100%;
    height: 622px;
    overflow: hidden;
    border-radius: 12px;
}

.stand-for-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .stand-for-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Stand For Overlay */
.stand-for-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 604px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    padding: 40px; 
    z-index: 1;
    transition: all 0.3s ease;
}


.overlay-content h3.overlay-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #555;
    margin-bottom: 63px;
    line-height: normal;
    width: 502px;
    height: 91px;
    display: flex;
    align-items: center;
}

.overlay-content p.overlay-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #838a91;
    line-height: 40px;
    margin-bottom: 0;
    text-align: left;
}
.rtl .overlay-content p.overlay-description {
    text-align: right;
}

/* Responsive Design for Stand For Section */
@media (max-width: 1199.98px) {
    .stand-for-overlay {
        width: 500px;
        padding: 150px 40px;
    }

    .overlay-content h3.overlay-title {
        font-size: 36px;
        width: 420px;
        height: 80px;
        margin-bottom: 50px;
    }

    .overlay-content p.overlay-description {
        font-size: 24px;
        line-height: 36px;
    }
}

@media (max-width: 991.98px) {
    .stand-for-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .stand-for-content {
        height: 500px;
    }

    .stand-for-overlay {
        width: 50%; 
        height: 100%;
        padding: 60px 20px;
        background: rgba(255, 255, 255, 0.75); 
    }

    .overlay-content h3.overlay-title {
        font-size: 32px;
        width: 100%;
        height: auto;
        margin-bottom: 40px;
    }

    .overlay-content p.overlay-description {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (max-width: 767.98px) {
    .stand-for-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

/*    .stand-for-content {
        height: 400px;
        position: relative;
    }*/

    .stand-for-overlay {
        width: 65%;
        height: 100%;
        padding: 20px 10px; 
        background: rgba(255, 255, 255, 0.7);
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: flex-start; 
    }

    .overlay-content h3.overlay-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .overlay-content p.overlay-description {
        font-size: 20px;
        line-height: 24px;
    }
}
