/* ============================================================
   Khalid Bin Al-Walid Association – Styles
   ============================================================ */

/* ── Google Fonts (loaded via HTML) ───────────────────────── */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary: #4CAF50;
    --accent: #E08E00;
    --success: #2ECC71;
    --bg-deep: #FFFFFF;
    --bg-dark: #F5F7F6;
    --bg-card: #FFFFFF;
    --bg-card-hover: #E8F5E9;
    --glass: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #7E7E7E;
    --gradient-main: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --gradient-hero: linear-gradient(135deg, #E8F5E9 0%, #FFFFFF 100%);
    --glow-primary: 0 4px 20px rgba(46, 125, 50, 0.18);
    --glow-secondary: 0 4px 20px rgba(76, 175, 80, 0.15);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Cairo', 'Inter', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.7;
}
body.en { direction: ltr; font-family: 'Inter', 'Cairo', sans-serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Particles Background ──────────────────────────────────── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.4; }
    90%  { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1.2); }
}

/* ── Container & Section Layout ───────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { position: relative; z-index: 1; padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0,198,255,0.15), rgba(108,99,255,0.15));
    border: 1px solid rgba(0,198,255,0.3);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}
.btn i { transition: transform 0.3s ease; }

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.25);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.4);
}
.btn-primary:hover i { transform: translateX(-4px); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    background: rgba(46, 125, 50, 0.06);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    padding: 14px 30px;
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877F2, #0C52B3);
    color: #fff;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3);
    padding: 14px 30px;
}
.btn-facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(24, 119, 242, 0.45);
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-img { height: 50px; width: auto; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(46, 125, 50, 0.08);
}

.lang-toggle {
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition);
}
.lang-toggle:hover {
    background: rgba(46, 125, 50, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu {
    display: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 90px;
    overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.shape-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; right: -200px;
    animation: shapePulse 8s ease-in-out infinite;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--secondary);
    bottom: -150px; left: -100px;
    animation: shapePulse 10s ease-in-out infinite reverse;
}
.shape-3 {
    width: 300px; height: 300px;
    background: var(--accent);
    top: 40%; left: 40%;
    animation: shapePulse 12s ease-in-out infinite 2s;
}
@keyframes shapePulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.22; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0,198,255,0.12), rgba(108,99,255,0.12));
    border: 1px solid rgba(0,198,255,0.25);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    width: fit-content;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    width: fit-content;
}

.stat-item { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: var(--glass-border); }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-logo-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-big {
    width: 260px;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(46, 125, 50, 0.4));
    animation: heroLogoFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.hero-glow {
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,198,255,0.2), transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    animation: badgeFloat 5s ease-in-out infinite;
    z-index: 3;
}
.floating-badge i { font-size: 0.9rem; }

.badge-flutter { top: 12%; left: -5%; color: #02569B; animation-delay: 0s; }
.badge-erp { top: 8%; right: -5%; color: var(--primary); animation-delay: 1.2s; }
.badge-uiux { bottom: 20%; left: -8%; color: #F24E1E; animation-delay: 2s; }
.badge-crm { bottom: 15%; right: -5%; color: var(--secondary); animation-delay: 0.7s; }

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

/* ── Services Section ──────────────────────────────────────── */
.services { background: var(--bg-dark); }

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: rgba(0,198,255,0.3); background: var(--bg-card-hover); }
.service-card:hover::before { opacity: 0.04; }

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0,198,255,0.15), rgba(108,99,255,0.15));
    border: 1px solid rgba(0,198,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, rgba(0,198,255,0.25), rgba(108,99,255,0.25));
    box-shadow: var(--glow-primary);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.service-tags span {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0,198,255,0.08);
    border: 1px solid rgba(0,198,255,0.2);
    color: var(--primary);
}

/* ── Products Section ──────────────────────────────────────── */
.products-section { background: var(--bg-deep); }

.product-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,114,255,0.35);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,198,255,0.3);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}
.product-card.hidden { display: none; }

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}
.bg-green { background: linear-gradient(135deg, #11998e, #38ef7d); }
.bg-blue  { background: linear-gradient(135deg, #00C6FF, #0072FF); }
.bg-orange{ background: linear-gradient(135deg, #F7971E, #FFD200); }
.bg-teal  { background: linear-gradient(135deg, #43C6AC, #191654); }
.bg-purple{ background: linear-gradient(135deg, #DA22FF, #9733EE); }
.bg-red   { background: linear-gradient(135deg, #FF4B2B, #FF416C); }

.product-badges { display: flex; gap: 6px; }
.prod-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}
.badge-pos      { background: rgba(255,210,0,0.12); color: #FFD200; border: 1px solid rgba(255,210,0,0.25); }
.badge-medical  { background: rgba(0,198,255,0.12); color: var(--primary); border: 1px solid rgba(0,198,255,0.25); }
.badge-logistics{ background: rgba(67,198,172,0.12); color: #43C6AC; border: 1px solid rgba(67,198,172,0.25); }
.badge-fnb      { background: rgba(255,75,43,0.12); color: #FF6B6B; border: 1px solid rgba(255,75,43,0.25); }

.product-card h3 { font-size: 1rem; font-weight: 800; }

.product-card p { color: var(--text-secondary); font-size: 0.88rem; }

.product-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.product-features li i { color: var(--success); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }

.product-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 0;
    border-top: 1px solid var(--glass-border);
    transition: var(--transition);
    margin-top: auto;
}
.product-cta:hover { color: var(--primary-dark); gap: 14px; }
.product-cta i { transition: transform 0.3s ease; }
.product-cta:hover i { transform: translateX(-4px); }

/* ── Projects Section ──────────────────────────────────────── */
.projects-section { background: var(--bg-dark); }

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: rgba(0,198,255,0.25); }

.project-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; }

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-img { transform: scale(1.05); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(5,11,24,0.85));
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.project-logo-small img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.project-info { padding: 24px; }

.project-type-badge {
    display: inline-block;
    background: rgba(0,198,255,0.1);
    border: 1px solid rgba(0,198,255,0.25);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-info h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.project-info p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; margin-bottom: 14px; }

.project-tech-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.project-tech-tags span {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* ── Why Us ────────────────────────────────────────────────── */
.why-us { background: var(--bg-deep); }

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

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(0,198,255,0.3); background: var(--bg-card-hover); }

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,198,255,0.15), rgba(108,99,255,0.15));
    border: 1px solid rgba(0,198,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}
.why-card:hover .why-icon { box-shadow: var(--glow-primary); transform: scale(1.1); }

.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.why-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }

/* ── Tech Stack ────────────────────────────────────────────── */
.tech-stack { background: var(--bg-dark); }

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-primary);
}
.tech-item i { font-size: 1.2rem; }
.tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0,198,255,0.35);
    background: rgba(0,198,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ── Clients Section ───────────────────────────────────────── */
.clients-section { background: var(--bg-deep); }

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    min-width: 220px;
}
.client-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,198,255,0.3);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

.client-logo {
    height: 80px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0.9) saturate(0.8);
    transition: var(--transition);
}
#client-organi .client-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
    padding: 5px; /* Adds a clean inner margin so the logo details don't touch the circular border */
}
.client-card:hover .client-logo {
    filter: brightness(1.1) saturate(1);
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ── CTA / Contact ─────────────────────────────────────────── */
.cta {
    background: linear-gradient(135deg, #080F1F 0%, #0D1A35 50%, #050B18 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon-big {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 114, 255, 0.5);
    animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0,114,255,0.5); }
    50% { box-shadow: 0 12px 48px rgba(0,114,255,0.7); }
}

.cta-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.cta-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }

.contact-info-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.contact-info-item i { color: var(--primary); font-size: 1.1rem; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: #020610;
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo { height: 40px; object-fit: contain; }

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 12px; }

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,114,255,0.4);
}

.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* ── Scroll Animations ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-visual { display: none; }
    .hero-badge, .hero-actions { margin-left: auto; margin-right: auto; }
    .hero-stats { margin: 0 auto; }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: rgba(5,11,24,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.open { display: flex; }
    .mobile-menu { display: flex; }

    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .cta-buttons { flex-direction: column; align-items: center; }
    .contact-info-row { flex-direction: column; align-items: center; gap: 16px; }

    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-links { justify-content: center; }
    
    .about-grid, .orphan-grid, .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
    .news-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 24px; text-align: center; }
    .footer-newsletter { justify-content: center; }
}

@media (max-width: 480px) {
    section { padding: 70px 0; }
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stat-divider { display: none; }
    .client-card { padding: 30px 40px; }
}

/* ── About Us Section ──────────────────────────────────────── */
.about-section { background: var(--bg-deep); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    aspect-ratio: 16/10;
}
.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.about-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ── Ongoing Projects Progress Bars ───────────────────────── */
.project-progress-wrap {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}
.project-progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* ── Orphan Care Section ───────────────────────────────────── */
.orphan-section {
    background: #F1F8F5; /* Soft light-green tint background */
}
.orphan-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}
.orphan-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    aspect-ratio: 16/10;
}
.orphan-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.orphan-pricing-wrap {
    display: flex;
    gap: 20px;
    margin-top: 28px;
}
.orphan-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    flex: 1;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.orphan-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}
.orphan-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}
.orphan-card .price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    margin: 12px 0;
}
.orphan-card .price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.orphan-card ul {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ── Latest News Section ───────────────────────────────────── */
.news-section { background: var(--bg-deep); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}
.news-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img {
    transform: scale(1.05);
}
.news-date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.news-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-info h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.45;
}
.news-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.65;
    flex: 1;
}
.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 16px;
    transition: var(--transition);
}
.news-more-btn:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ── Contact Section Overhaul ──────────────────────────────── */
.contact-section { background: var(--bg-dark); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 48px;
    align-items: stretch;
}
.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-card-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}
.contact-card-text h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}
.contact-card-text p {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.form-input-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #D9D9D9;
    background: #FFFFFF;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}
.form-input-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* ── Footer 4-Column Overhaul ─────────────────────────────── */
.footer {
    background: #141A17; /* Dark charcoal-green background */
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 24px;
    color: #CFD8DC;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.footer-col p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #B0BEC5;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col ul li {
    font-size: 0.88rem;
    color: #B0BEC5;
}
.footer-col ul li a {
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--secondary);
    padding-right: 4px;
}
.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    max-width: 100%;
}
.newsletter-input {
    flex: 1;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #FFFFFF;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}
.newsletter-input:focus {
    border-color: var(--secondary);
    background: rgba(255,255,255,0.08);
}
.newsletter-submit {
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--gradient-main);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}
.newsletter-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.footer-logo-wrap {
    margin-bottom: 16px;
}
.footer-logo {
    height: 48px;
    object-fit: contain;
}
.footer-social-wrap {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social-wrap .social-icon {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #CFD8DC;
}
.footer-social-wrap .social-icon:hover {
    background: var(--gradient-main);
    color: #ffffff;
    border-color: transparent;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: #90A4AE;
}

/* ── Logo Background Styling ───────────────────────────── */
.logo-img, .hero-logo-big, .footer-logo {
    background-color: #e0e0e0 !important; /* light grey circular background */
    border-radius: 50% !important;
    padding: 3px !important;
    box-sizing: border-box !important;
}


/* ── Added Premium Styling for Stats, Projects and Relief Sections ── */

/* Statistics Section */
.stats-section {
    background: var(--bg-deep);
    padding: 80px 0;
    border-bottom: 1px solid var(--glass-border);
}
.stats-category-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin: 32px 0 20px;
    border-right: 4px solid var(--primary);
    padding-right: 12px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 198, 255, 0.3);
    background: var(--bg-card-hover);
}
.stat-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 12px;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.stat-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Relief International Stats Container */
.stats-relief-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}
.relief-stats-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.border-gaza {
    border-top: 4px solid #11998e;
}
.border-sudan {
    border-top: 4px solid #F7971E;
}
.relief-stats-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gaza-title { color: #11998e; }
.sudan-title { color: #F7971E; }
.relief-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.relief-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.relief-stat-item {
    text-align: center;
}
.relief-stat-item .num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.relief-stat-item p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* 5-Column Projects Section override */
.projects-grid-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 in first row, 2 below or responsive wrap */
    gap: 24px;
    justify-content: center;
}
@media (min-width: 1200px) {
    .projects-grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 1199px) and (min-width: 768px) {
    .projects-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .projects-grid-5 {
        grid-template-columns: 1fr;
    }
}

.project-card-5 {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.project-card-5:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0,198,255,0.25);
}
.project-img-wrap-5 {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/11;
}
.project-img-5 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card-5:hover .project-img-5 {
    transform: scale(1.05);
}
.project-info-5 {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.project-type-badge-5 {
    display: inline-block;
    align-self: flex-start;
    background: rgba(0,198,255,0.08);
    border: 1px solid rgba(0,198,255,0.2);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.project-info-5 h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.project-info-5 p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.btn-sm-5 {
    padding: 8px 16px;
    font-size: 0.8rem;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

/* International Relief Section */
.relief-section {
    background: var(--bg-dark);
    padding: 80px 0;
}
.relief-campaign-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #11998e;
    margin: 40px 0 20px;
    border-right: 4px solid #11998e;
    padding-right: 12px;
}
.gaza-stages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .gaza-stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .gaza-stages-grid {
        grid-template-columns: 1fr;
    }
}
.stage-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.stage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(17, 153, 142, 0.3);
}
.stage-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.stage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.stage-card:hover .stage-img {
    transform: scale(1.05);
}
.stage-number-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.88rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.stage-info {
    padding: 20px;
}
.stage-info h3 {
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.stage-info p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sudan Relief Card */
.sudan-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
@media (max-width: 768px) {
    .sudan-card {
        grid-template-columns: 1fr;
    }
}
.sudan-card:hover {
    border-color: rgba(247, 151, 30, 0.3);
    box-shadow: var(--shadow-card-hover);
}
.sudan-img-wrap {
    position: relative;
    overflow: hidden;
}
.sudan-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sudan-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sudan-badge {
    align-self: flex-start;
    background: rgba(247, 151, 30, 0.1);
    border: 1px solid rgba(247, 151, 30, 0.25);
    color: #F7971E;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.sudan-info h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.sudan-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #F7971E;
    margin-bottom: 16px;
}
.sudan-info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .stats-relief-container {
        grid-template-columns: 1fr;
    }
    .relief-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .relief-grid {
        grid-template-columns: 1fr;
    }
}
