/* ================================
   GLOBAL SETTINGS
================================ */
body {
    font-family: "Poppins", sans-serif;
    direction: ltr;
    text-align: left;
    background-color: #ffffff;
    color: #333;
}

.section-title-en {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00823E;
    position: relative;
    display: inline-block;
}

.section-title-en::after {
    content: "";
    width: 60%;
    height: 3px;
    background-color: #00823E;
    display: block;
    margin: 8px auto 0;
    border-radius: 5px;
}

.brand-logo {
    height: 56px
}

/* ================================
   HERO SECTION
================================ */
.hero-en {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('/assets/images/shelter-rehab.jpg') center/cover no-repeat;
    border-bottom: 5px solid #00823E;
    padding: 20px;
}

.hero-en h1 {
    font-size: 3.2rem;
}

.hero-en p {
    font-size: 1.1rem;
}

.hero-en .btn-primary {
    background-color: #00823E;
    border-color: #00823E;
    font-weight: 600;
}

.hero-en .btn-primary:hover {
    background-color: #006f34;
}

.hero-en .btn-outline-light:hover {
    background-color: #ffffff;
    color: #00823E;
    font-weight: bold;
}

.hero-en .container {
    margin-top: 220px; 
}

/* ================================
   INFO BOXES (Where We Work)
================================ */
.info-box-en {
    background: #fff;
    border-left: 5px solid #00823E;
    border-radius: 8px;
    transition: 0.3s;
}

.info-box-en:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

.info-box-en ul {
    padding-left: 20px;
}

.info-box-en li {
    margin-bottom: 8px;
}


/* ================================
   FOCUS CARDS
================================ */
.focus-card-en {
    border-radius: 10px;
    background-color: #fff;
    transition: .3s;
    font-size: 1.3rem;
}

.focus-card-en:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.focus-card-en h5 {
    font-size: 1rem;
    margin-top: 10px;
}


/* ================================
   PARTNER CARDS
================================ */
.partner-card-en {
    background: #fff;
    border-radius: 10px;
    border-bottom: 4px solid #00823E;
    transition: 0.3s ease;
}

.partner-card-en:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.partner-card-en h5 {
    color: #00823E;
    font-weight: 700;
}

/* ================================
   ABOUT PAGE – GENERAL
================================ */
.about-intro-en {
    max-width: 900px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Highlight cards on the right of "Who We Are" */
.about-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-highlight-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: 0.25s ease;
}

.about-highlight-card .emoji {
    font-size: 1.4rem;
}

.about-highlight-card h5 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
    color: #00823E;
}

.about-highlight-card p {
    font-size: 0.85rem;
    margin: 0;
}

.about-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Core values cards – reuse English style */
.value-card-en {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: 0.25s ease;
}

.value-card-en .emoji {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 8px;
}

.value-card-en h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #00823E;
}

.value-card-en p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.value-card-en:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Governance list */
.governance-list-en {
    list-style: none;
    padding-left: 0;
}

.governance-list-en li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
}

.governance-list-en li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 1px;
    color: #00823E;
    font-size: 0.9rem;
}

/* ================================
   ABOUT – IMAGE GALLERY
================================ */
.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.about-gallery .gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.about-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.about-gallery .gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-gallery .gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.about-gallery .gallery-item:hover::after {
    opacity: 1;
}

/* ================================
   GOVERNANCE – IMAGE GRID
================================ */

.governance-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.gov-img-box {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.gov-img-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gov-img-box:hover img {
    transform: scale(1.08);
}

/* ====== Responsive ====== */

@media (max-width: 992px) {
    .governance-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .governance-gallery {
        grid-template-columns: 1fr;
    }

    .gov-img-box img {
        height: 220px;
    }
}

.leadership-section {
    background: #fff;
}

.leadership-section .row {
    display: flex;
    flex-wrap: wrap;
}

.leader-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    transition: .3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}


.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.leader-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 4px solid #00823E;
}

.leader-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00823E;
    min-height: 40px;
}

.leader-card h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
    min-height: 40px;
}

.leader-card p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    flex-grow: 1;
}

/* ================================
   RESPONSIVE – ABOUT PAGE
================================ */
@media (max-width: 768px) {
    .about-highlight-grid {
        grid-template-columns: 1fr;
    }

    .about-intro-en {
        font-size: 1rem;
    }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .hero-en h1 {
        font-size: 2.3rem;
    }

    .hero-en {
        height: 60vh;
    }

    .section-title-en {
        font-size: 1.8rem;
    }

    .focus-card-en {
        font-size: 1.1rem;
    }
}

/* =========================================
   PROPOSALS SECTION – RESPONSIVE + ANIMATION
========================================= */

.proposals-section {
    /*background: #f4f6f7;*/
    /*    border-top: 5px solid #00823E;
    border-bottom: 5px solid #00823E;*/
}

/* Card Wrap */
.proposal-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.35s ease;
    border-bottom: 4px solid #00823E;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover effect */
.proposal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Image Box */
.proposal-img-box {
    height: 190px;
    overflow: hidden;
}

.proposal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

/* Image zoom animation on hover */
.proposal-card:hover .proposal-img {
    transform: scale(1.12);
}

/* Body */
.proposal-body {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proposal-body h5 {
    color: #00823E;
    font-weight: 700;
    margin-bottom: 8px;
}

.proposal-body p {
    font-size: 0.97rem;
    min-height: 55px;
}

/* Button */
.proposal-btn {
    margin-top: auto;
    background-color: #00823E;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 7px 14px;
    transition: 0.3s;
}

.proposal-btn:hover {
    background-color: #006d33;
    color: #fff;
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
    /* توسيط أفقي */
    align-items: center;
}

.social-links a {
    background: #fff;
    color: #007c3b;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: #007c3b;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 50px;
    /* حجم الأيقونة */
    height: auto;
    transition: 0.3s ease;
}

.whatsapp-btn img:hover {
    transform: scale(1.1);
}

/* 🌐 تصميم قائمة اللغة */
.dropdown {
    position: relative;
    display: inline-block;  /* مهم جدًا لضبط مكان القائمة تحت الزر */
}

/* زر اختيار اللغة */
.dropbtn {
    background: transparent;
    color: #fff;
    border: 1px solid #00a651;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
    margin-left: 10px;
}

.dropbtn:hover {
    background: #00a651;
    color: #fff;
}

/* القائمة المنسدلة */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #111;
    min-width: 160px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    top: 42px;     /* تحت الزر مباشرة */
    left: 0;       /* تجعل القائمة تبدأ من جهة الأيقونة */
    z-index: 999;
    text-align: right;
}

.dropdown-content a {
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #00a651;
    color: #fff;
}

/* إظهار القائمة */
.dropdown:hover .dropdown-content {
    display: block;
}

/**/
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    width: 150px;
    overflow: hidden;
    z-index: 9999;
}

.lang-menu a {
    display: block;
    padding: 12px;
    color: #fff;
    text-decoration: none;
}

/* ======== HERO ======== */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 80px;
}

.video-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

    .video-background iframe {
        width: 100%;
        height: 100%;
        border: none;
        pointer-events: none;
    }

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 20px;
    border-radius: 12px;
    max-width: 90%;
}

    .hero-overlay h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }

.hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.btn-main,
.btn-outline {
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-main {
    background-color: #00a651;
    color: #fff;
}

.btn-outline {
    border: 2px solid #00a651;
    color: #00a651;
}

    .btn-main:hover,
    .btn-outline:hover {
        background-color: #00a651;
        color: #fff;
        transform: translateY(-3px);
    }
