/* ==========================================================================
   AL-NOOR INTERNATIONAL RELIEF ASSOCIATION - MAIN DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-darker: #047857;
    --primary-light: #34d399;
    --primary-ultra-light: #ecfdf5;
    --primary-glow: rgba(16, 185, 129, 0.25);

    --secondary: #0ea5a5;
    --secondary-dark: #068989;
    --secondary-light: #22d3ee;
    --secondary-ultra-light: #f0fdfa;

    --accent-gold: #f59e0b;
    --accent-gold-light: #fef3c7;
    --accent-red: #ef4444;
    --accent-red-dark: #dc2626;

    --dark: #0f172a;
    --dark-surface: #1e293b;
    --dark-subtle: #334155;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --bg-page: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-glass: rgba(255, 255, 255, 0.75);

    --border-light: rgba(226, 232, 240, 0.8);
    --border-glass: rgba(255, 255, 255, 0.6);
    --border-primary: rgba(16, 185, 129, 0.2);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 24px 60px rgba(16, 185, 129, 0.12);
    --shadow-glow: 0 10px 30px rgba(16, 185, 129, 0.2);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Fonts */
    --font-ar: 'Noto Naskh Arabic', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, serif;
    --font-latin: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ================= Reset & Global ================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body.lang-en, body.lang-tr {
    font-family: var(--font-latin);
}

/* RTL Phone & Number Direction Helper */
.phone-ltr {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block;
    text-align: left;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ================= Background Glowing Elements ================= */
.ambient-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

.ambient-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.15);
    top: -100px;
    right: -100px;
}

.ambient-blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(14, 165, 165, 0.12);
    top: 40%;
    left: -150px;
}

.ambient-blob-3 {
    width: 450px;
    height: 450px;
    background: rgba(245, 158, 11, 0.08);
    bottom: 5%;
    right: -50px;
}

/* ================= Top Emergency & Announcement Bar ================= */
.top-announcement {
    background: linear-gradient(135deg, #881337 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff;
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 700;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.top-emergency-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.emergency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fef08a;
    display: inline-block;
}

.top-quick-contacts {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.92);
}

.top-contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.lang-switch-group {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 2px 3px;
    gap: 3px;
}

.lang-pill {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    padding: 2px 7px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-pill.active, .lang-pill:hover {
    background: #ffffff;
    color: #b91c1c;
}

/* ================= Main Sticky Navigation (Compact & Sleek) ================= */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.25s ease;
}

.main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo-card {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 10px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
    border: 1px solid var(--border-primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.brand-wrapper:hover .brand-logo-card {
    transform: scale(1.04);
}

.brand-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.nav-link-item a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link-item a:hover::after, .nav-link-item a.active::after {
    width: 100%;
}

.nav-link-item a:hover {
    color: var(--primary-dark);
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-group .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    gap: 6px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--dark);
    font-size: 14.5px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border-light);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: var(--primary-ultra-light);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
}

/* ================= Hero Section ================= */
.hero-section {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--primary-darker);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #059669 0%, #0ea5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 34px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trust-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
}

.trust-text span {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Hero Visual Box */
.hero-visual-box {
    position: relative;
}

.hero-card-main {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 34px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-card-logo {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.hero-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-card-meta h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.hero-card-meta p {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-quick-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
}

.quick-feat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(241, 245, 249, 0.7);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.quick-feat-item i {
    color: var(--primary);
    font-size: 15px;
}

.quick-feat-badge {
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.hero-card-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 800;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-light);
    z-index: 3;
}

.floating-badge-1 {
    top: -20px;
    left: -20px;
}

.floating-badge-2 {
    bottom: -20px;
    right: -20px;
}

.floating-badge i {
    font-size: 20px;
}

.floating-badge.success i { color: #10b981; }
.floating-badge.gold i { color: #f59e0b; }

.floating-badge-text strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
}

.floating-badge-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* ================= Impact Statistics Banner ================= */
.stats-section {
    padding: 30px 0 70px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-primary);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.stat-plus {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
}

/* ================= Section Header Component ================= */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-darker);
    font-size: 13px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.section-title {
    font-size: 34px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================= About Us & Values ================= */
.about-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.about-narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.narrative-card {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: 34px;
    border: 1px solid var(--border-light);
    position: relative;
}

.narrative-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.narrative-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.narrative-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.narrative-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 8 Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--bg-page);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(14, 165, 165, 0.1);
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
}

.value-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Strategic Goals 2026-2028 */
.strategy-box {
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.strategy-box-header {
    text-align: center;
    margin-bottom: 36px;
}

.strategy-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.strategy-box-header h3 {
    font-size: 26px;
    font-weight: 900;
}

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

.strategy-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: all 0.3s ease;
}

.strategy-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.strategy-card-num {
    font-size: 12px;
    font-weight: 900;
    color: #34d399;
    margin-bottom: 8px;
}

.strategy-card h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.strategy-card p {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ================= Target Beneficiaries ================= */
.beneficiaries-section {
    padding: 80px 0;
}

.beneficiaries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.beneficiary-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.beneficiary-pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.beneficiary-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.beneficiary-text {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
}

/* ================= Programs & Projects ================= */
.programs-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

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

.program-card {
    background: var(--bg-page);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-primary);
}

.program-card-badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.badge-giving { background: rgba(16, 185, 129, 0.12); color: #059669; }
.badge-relief { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.badge-seasons { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.badge-growth { background: rgba(14, 165, 165, 0.12); color: #0891b2; }

.program-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 12px;
}

.program-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.subprojects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.subproject-chip {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.subproject-chip i {
    font-size: 11px;
    color: var(--primary);
}

.program-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.program-link {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-link:hover {
    gap: 10px;
}

/* ================= Company Profile Hub ================= */
.profile-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-page) 0%, #ecfdf5 100%);
    border-top: 1px solid var(--border-light);
}

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

.profile-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.profile-flag-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
}

.profile-cover-preview {
    width: 140px;
    height: 180px;
    margin: 10px auto 20px;
    background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.profile-cover-preview img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
}

.profile-cover-preview span {
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
}

.profile-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.profile-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.profile-meta-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.profile-meta-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-view-doc {
    width: 100%;
    padding: 11px;
    border-radius: var(--radius-md);
    background: var(--primary-ultra-light);
    color: var(--primary-darker);
    font-weight: 800;
    font-size: 13.5px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-view-doc:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-download-doc {
    width: 100%;
    padding: 11px;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--dark);
    font-weight: 800;
    font-size: 13.5px;
    border: 1.5px solid var(--border-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-download-doc:hover {
    border-color: var(--dark);
    background: #f8fafc;
}

/* ================= Transparency & Legal License Hub ================= */
.license-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.registry-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 36px;
    color: #ffffff;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.registry-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.registry-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.registry-seal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.registry-title-group h3 {
    font-size: 20px;
    font-weight: 800;
}

.registry-title-group p {
    font-size: 13px;
    color: #94a3b8;
}

.registry-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.reg-item-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.reg-item-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 4px;
}

.reg-item-val {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.registry-verify-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 14px;
}

.verify-code-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #cbd5e1;
}

.code-badge {
    background: rgba(14, 165, 165, 0.25);
    color: #22d3ee;
    font-family: monospace;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-copy-code {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.btn-copy-code:hover {
    background: var(--primary);
}

.btn-gov-verify {
    background: linear-gradient(135deg, #0ea5a5 0%, #068989 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-gov-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 165, 0.4);
    color: #ffffff;
}

/* 3 Licenses Display Cards */
.license-docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.license-doc-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.license-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: #ffffff;
}

.license-thumb {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.license-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.license-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.license-doc-card:hover .license-thumb-overlay {
    opacity: 1;
}

.license-thumb-btn {
    background: #ffffff;
    color: var(--dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
}

.license-doc-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.license-doc-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

/* ================= Interactive Bylaws Explorer ================= */
.bylaws-section {
    padding: 80px 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border-light);
}

.bylaws-controls-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.bylaws-search-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    margin-bottom: 18px;
    transition: border-color 0.25s ease;
}

.bylaws-search-group:focus-within {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.bylaws-search-group i {
    color: var(--text-muted);
    font-size: 16px;
}

.bylaws-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14.5px;
    color: var(--dark);
}

.bylaws-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bylaws-filter-btn {
    background: #f1f5f9;
    border: none;
    color: #475569;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bylaws-filter-btn.active, .bylaws-filter-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.bylaws-match-count {
    margin-right: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Accordion Component */
.bylaws-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.accordion-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.accordion-num-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.accordion-chevron {
    color: var(--text-muted);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    display: none;
    padding: 0 22px 22px;
    border-top: 1px solid #f1f5f9;
    color: var(--text-main);
    font-size: 14.5px;
    line-height: 1.8;
    background: #fafcfb;
}

.accordion-item.open .accordion-content {
    display: block;
    padding-top: 18px;
}

.accordion-actions-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
}

.btn-copy-clause {
    background: none;
    border: 1px solid var(--border-light);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-clause:hover {
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    border-color: var(--primary);
}

/* Bylaws CTA Card */
.bylaws-cta-card {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border-radius: var(--radius-xl);
    padding: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 12px 32px rgba(6, 95, 70, 0.25);
}

.bylaws-cta-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.bylaws-cta-info p {
    font-size: 13.5px;
    color: #d1fae5;
}

/* ================= Project Documentation Portals (Modern 2-Column Layout) ================= */
.projects-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    border-top: 1px solid var(--border-light);
}

.project-portals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 880px;
    margin: 0 auto;
}

.portal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 34px 28px;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14, 165, 165, 0.15);
    border-color: var(--secondary);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.portal-lang-badge {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(14, 165, 165, 0.08);
    color: var(--secondary-dark);
    border: 1px solid rgba(14, 165, 165, 0.2);
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body[dir="ltr"] .portal-lang-badge {
    right: auto;
    left: 18px;
}

.portal-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--secondary-ultra-light) 0%, rgba(14, 165, 165, 0.15) 100%);
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 10px auto 16px;
    box-shadow: 0 4px 14px rgba(14, 165, 165, 0.12);
    transition: transform 0.3s ease;
}

.portal-card:hover .portal-icon-box {
    transform: scale(1.08);
}

.portal-status-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin: 0 auto 12px;
    width: fit-content;
}

.portal-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.portal-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
}

.btn-open-portal {
    margin-top: auto;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(14, 165, 165, 0.25);
    transition: all 0.25s ease;
}

.btn-open-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(14, 165, 165, 0.38);
    color: #ffffff;
}

.btn-open-portal i {
    transition: transform 0.25s ease;
}

.btn-open-portal:hover i {
    transform: translate(-3px, -3px);
}

body[dir="ltr"] .btn-open-portal:hover i {
    transform: translate(3px, -3px);
}

/* ================= Video Gallery & Media ================= */
.videos-section {
    padding: 80px 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border-light);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.video-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-wrapper img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-card:hover .video-play-btn {
    transform: scale(1.15);
    background: #ef4444;
}

.video-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-tag {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.video-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.video-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: auto;
}

.videos-cta-wrap {
    text-align: center;
}

/* ================= Social Channels & Contact Hub ================= */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card-main {
    background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--secondary-ultra-light) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-sm);
}

.contact-card-main h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-card-main p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-items-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-content strong {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.contact-item-content span, .contact-item-content a {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
}

/* Social Buttons Grid */
.social-buttons-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-btn-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: var(--dark);
    font-weight: 800;
    font-size: 15px;
}

.social-btn-row i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-btn-row:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.social-btn-row.whatsapp i { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.social-btn-row.instagram i { background: rgba(225, 48, 108, 0.15); color: #e1306c; }
.social-btn-row.facebook i { background: rgba(24, 119, 242, 0.15); color: #1877f2; }
.social-btn-row.x-twitter i { background: rgba(15, 23, 42, 0.12); color: #0f172a; }
.social-btn-row.youtube i { background: rgba(255, 0, 0, 0.15); color: #ff0000; }

.social-btn-row:hover i {
    transform: scale(1.1);
}

/* ================= Footer ================= */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 70px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    font-size: 13.5px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 14px;
}

/* ================= Responsive Layout Rules ================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-visual-box {
        max-width: 520px;
        margin: 0 auto;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    .beneficiaries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .profile-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .license-docs-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .registry-items-grid {
        grid-template-columns: 1fr;
    }
    .project-portals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 760px;
        margin: 0 auto;
    }
    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links-desktop, .nav-cta-group {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .navbar-container {
        height: 56px;
    }
    .hero-section {
        padding: 40px 0 60px;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-lead {
        font-size: 15px;
        margin-bottom: 24px;
    }
    .section-title {
        font-size: 24px;
    }
    .section-desc {
        font-size: 14.5px;
    }
    .about-narrative-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .beneficiaries-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .project-portals-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .floating-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-announcement-inner {
        justify-content: center;
        text-align: center;
    }
    .top-quick-contacts {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .hero-title {
        font-size: 25px;
        line-height: 1.3;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .hero-card-main {
        padding: 20px 16px;
    }
    .profile-card,
    .license-doc-card,
    .portal-card {
        padding: 24px 16px;
    }
    .section-header {
        margin-bottom: 34px;
    }
    .registry-box {
        padding: 22px 16px;
    }
    .contact-card-main {
        padding: 24px 16px;
    }
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.mobile-nav-links a {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    display: block;
    padding: 8px 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
}

.drawer-overlay.active {
    display: block;
}

/* LTR adjustments when lang is EN or TR */
body[dir="ltr"] .mobile-nav-drawer {
    right: auto;
    left: -100%;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body[dir="ltr"] .mobile-nav-drawer.open {
    left: 0;
}

body[dir="ltr"] .profile-flag-badge {
    right: auto;
    left: 20px;
}

body[dir="ltr"] .social-btn-row:hover {
    transform: translateX(4px);
}

body[dir="ltr"] .bylaws-match-count {
    margin-right: 0;
    margin-left: auto;
}
