/**
 * Styles for Reaia Organization Page (organization.php)
 * Official Logo Green / Emerald / Teal Brand Theme with Crisp High-Contrast Typography & Gold Accents
 */

:root {
    --org-green: #0D9488;
    --org-green-dark: #0F766E;
    --org-green-deep: #064E3B;
    --org-green-light: #14B8A6;
    --org-green-mint: #5EEAD4;
    --org-gold: #D97706;
    --org-gold-light: #F59E0B;
    --org-gold-pale: #FEF3C7;
    --org-gradient-hero: linear-gradient(135deg, #064E3B 0%, #0D9488 50%, #0F766E 100%);
    --org-gradient-accent: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
    --org-gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --org-shadow: 0 12px 35px rgba(13, 148, 136, 0.22);
    --org-shadow-deep: 0 16px 40px rgba(6, 78, 59, 0.28);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.org-hero {
    background: var(--org-gradient-hero);
    border-radius: 24px;
    padding: 70px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--org-shadow-deep);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.org-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(94, 234, 212, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.org-hero-content {
    position: relative;
    z-index: 2;
}

.org-logo-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.org-logo-circle:hover {
    transform: scale(1.08) rotate(5deg);
}

.org-logo-circle i {
    font-size: 3.2rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.org-logo-img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.org-hero h1 {
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.5px;
}

.org-hero .lead {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.25rem;
    font-weight: 500;
}

.org-vision-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    padding: 12px 28px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.org-vision-badge i {
    color: #FDE68A;
}

.org-hero-info {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.org-info-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.org-info-item i {
    color: #FDE68A;
}

/* ==========================================================================
   Section Badges & Titles
   ========================================================================== */
.org-section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--org-gradient-accent);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.org-section-badge-light {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.org-about .section-title,
.org-programs .section-title,
.org-projects .section-title,
.org-partners .section-title {
    color: #0f172a;
    font-weight: 800;
    position: relative;
}

/* ==========================================================================
   About Us Section (من نحن / 22 سنة من العطاء)
   ========================================================================== */
.org-about {
    padding: 20px 0;
}

.org-about-image {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.org-about-image .main-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.15);
    border: 4px solid #ffffff;
    transition: transform 0.4s ease;
}

.org-about-image:hover .main-img {
    transform: scale(1.015);
}

.org-about-badge {
    position: absolute;
    bottom: -24px;
    right: 25px;
    background: var(--org-gradient-accent);
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.38);
    border: 3px solid #ffffff;
    min-width: 160px;
    animation: floatBadge 3.5s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.org-about-badge .years-number {
    display: block;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.org-about-badge .years-text {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-top: 4px;
    color: #F0FDFA;
}

.org-about-content p.lead {
    color: #334155 !important;
    font-size: 1.15rem;
    line-height: 1.9;
    font-weight: 500;
}

.org-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px 20px;
    background: #F0FDFA;
    border-radius: 14px;
    border: 1px solid #CCFBF1;
    transition: all 0.3s ease;
}

.org-feature-item:hover {
    background: #E6FFFA;
    transform: translateX(-6px);
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.12);
}

.org-feature-item i {
    font-size: 1.25rem;
    color: #0D9488 !important;
}

.org-feature-item span {
    color: #0F766E;
    font-weight: 600;
    font-size: 1rem;
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.org-program-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1.5px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.org-program-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--org-gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.org-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.15);
    border-color: #99F6E4;
}

.org-program-card:hover::after {
    transform: scaleX(1);
}

.org-program-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2rem;
    color: #ffffff;
    background: var(--org-gradient-accent) !important;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
    transition: transform 0.3s ease;
}

.org-program-card:hover .org-program-icon {
    transform: scale(1.1);
}

.org-program-title {
    font-weight: 800;
    color: #0F766E;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.org-program-desc {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.org-project-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #E2E8F0;
    transition: all 0.35s ease;
}

.org-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(13, 148, 136, 0.12);
    border-color: #99F6E4;
}

.org-project-image {
    position: relative;
    height: 100%;
    min-height: 360px;
}

.org-project-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.org-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--org-gradient-gold);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.org-project-content {
    padding: 42px 36px;
}

.org-project-title {
    font-weight: 800;
    margin-bottom: 16px;
    color: #064E3B;
    font-size: 1.55rem;
}

.org-project-desc {
    color: #334155;
    line-height: 1.85;
    font-size: 1.05rem;
    margin-bottom: 22px;
}

.org-project-features h5 {
    color: #0F766E;
    font-weight: 700;
    font-size: 1.1rem;
}

.org-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.org-features-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #E2E8F0;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.org-features-list li i {
    color: #0D9488 !important;
}

.org-features-list li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.org-stats-bg {
    background: var(--org-gradient-hero);
    border-radius: 24px;
    padding: 65px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--org-shadow-deep);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.org-stats-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 75% 25%, rgba(94, 234, 212, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.org-stat-card {
    text-align: center;
    padding: 22px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.org-stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.org-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.6rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.org-stat-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.org-stat-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.org-partner-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    border: 1.5px solid #E2E8F0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.org-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(13, 148, 136, 0.14);
    border-color: #99F6E4;
}

.org-partner-logo {
    max-width: 120px;
    max-height: 70px;
    margin-bottom: 14px;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter 0.3s ease;
}

.org-partner-card:hover .org-partner-logo {
    filter: grayscale(0%);
}

.org-partner-placeholder {
    width: 80px;
    height: 60px;
    background: #F0FDFA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #0D9488;
    font-size: 1.6rem;
    border: 1px dashed #99F6E4;
}

.org-partner-name {
    font-weight: 700;
    color: #0F766E;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Contact CTA Section
   ========================================================================== */
.org-contact-card {
    background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
    border-radius: 24px;
    padding: 45px 35px;
    border: 2px solid #99F6E4;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.08);
}

.org-contact-card h3 {
    color: #064E3B;
    font-weight: 800;
}

.org-contact-card p {
    color: #334155 !important;
    font-size: 1.05rem;
    font-weight: 500;
}

.org-contact-card .btn-primary {
    background: var(--org-gradient-accent) !important;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.35);
    transition: all 0.3s ease;
}

.org-contact-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.45);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
    .org-about-image .main-img {
        height: 360px;
    }
    .org-project-image {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .org-hero {
        padding: 45px 20px;
    }
    
    .org-hero h1 {
        font-size: 2.1rem;
    }
    
    .org-hero-info {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .org-about-image .main-img {
        height: 300px;
    }
    
    .org-about-badge {
        bottom: -15px;
        right: 15px;
        padding: 12px 20px;
    }
    
    .org-about-badge .years-number {
        font-size: 1.8rem;
    }
    
    .org-project-content {
        padding: 26px 20px;
    }
    
    .org-stats-bg {
        padding: 45px 20px;
    }
    
    .org-stat-value {
        font-size: 1.7rem;
    }
}
