/* ═══════════════════════════════════════════════════════════════
   Ghawth Charity Foundation — Official Design System
   Premium, warm, trustworthy, and impactful visual identity
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Font Import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@500;800&display=swap');

:root {
    /* ── Color Palette — iOS light theme design ── */
    --bg-main: #f2f2f7; /* iOS system gray background */
    --bg-warm: rgba(68, 172, 59, 0.03); 
    --bg-card: rgba(255, 255, 255, 0.82); /* iOS translucent material sheet */
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08); /* Hairline gray divider */
    --border-hover: rgba(0, 0, 0, 0.15);

    --text-primary: #000000; /* Normal body text is standard black */
    --text-secondary: #1c1c1e; /* iOS labels */
    --text-muted: #8e8e93; /* iOS secondary label */

    /* Brand Colors (Aligned with New Design Requirements) */
    --ghawth-blue: #43add6;        /* Info, borders, focus */
    --ghawth-blue-light: #70c4e4;
    --ghawth-blue-dark: #238bb2;
    --ghawth-orange: #44ac3b;       /* Primary Green for CTA/buttons */
    --ghawth-orange-light: #66c15e;
    --ghawth-green: #44ac3b;       /* Headings and Important Details */
    --ghawth-red: #ff3b30;          /* iOS destructive red */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #44ac3b 0%, #43add6 100%);
    --gradient-accent: var(--ghawth-blue); /* Flat filled controls */
    --gradient-orange: var(--ghawth-green); /* Flat filled controls */
    --gradient-warm: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    --gradient-footer: linear-gradient(180deg, #1b3d17 0%, #0d210a 100%); 
    --gradient-cta: linear-gradient(135deg, #44ac3b 0%, #43add6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.06);
    --shadow-blue: none;
    --shadow-orange: none;
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-en: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-ar: "SF Arabic", "Tajawal", "Inter", sans-serif;

    /* Radius */
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --radius-xs: 5px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: var(--font-en);
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global selection color */
::selection {
    background: rgba(67, 173, 214, 0.2);
    color: #1c1c1e;
}

/* Smooth focus outline for accessibility */
:focus-visible {
    outline: 2px solid var(--ghawth-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Global link styling */
a {
    color: var(--ghawth-blue);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ghawth-blue-dark);
}

/* RTL Arabic font override with specific weights for Tajawal */
.rtl-mode,
.rtl-mode * {
    font-family: var(--font-ar) !important;
}

.rtl-mode h1, .rtl-mode h2, .rtl-mode h3, .rtl-mode h4, .rtl-mode h5, .rtl-mode h6,
.rtl-mode .fw-bold, .rtl-mode strong, .rtl-mode th, .rtl-mode .main-title,
.rtl-mode .nav-link, .rtl-mode .btn, .rtl-mode .footer-heading, .rtl-mode .stat-number,
.rtl-mode h1 *, .rtl-mode h2 *, .rtl-mode h3 *, .rtl-mode h4 *, .rtl-mode h5 *, .rtl-mode h6 *,
.rtl-mode .btn *, .rtl-mode .nav-link * {
    font-weight: 800 !important; /* Tajawal ExtraBold */
}

.rtl-mode p, .rtl-mode span, .rtl-mode div, .rtl-mode li, .rtl-mode td,
.rtl-mode input, .rtl-mode textarea, .rtl-mode a:not(.nav-link):not(.btn) {
    font-weight: 500 !important; /* Tajawal Medium */
}

/* ── Background Ambient Effects ── */
body::before {
    content: "";
    position: fixed;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 104, 179, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
    animation: float-blob 20s ease-in-out infinite;
}

body::after {
    content: "";
    position: fixed;
    bottom: -20%;
    left: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 153, 74, 0.04) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
    animation: float-blob 25s ease-in-out infinite reverse;
}

@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(23, 104, 179, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(23, 104, 179, 0.3);
}

/* ═══════════════════════════════════════
   COMPONENT: Glass Card
   ═══════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════
   COMPONENT: Inputs & Forms
   ═══════════════════════════════════════ */
.glass-input {
    background: #ffffff;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    width: 100%;
}

.glass-input:focus {
    background: #ffffff;
    border-color: var(--ghawth-blue);
    box-shadow: 0 0 0 3px rgba(67, 173, 214, 0.15);
    outline: none;
}

.glass-input::placeholder { color: #a0aec0; }

select.glass-input {
    cursor: pointer;
    padding-right: 2rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6478' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* ═══════════════════════════════════════
   COMPONENT: Buttons
   ═══════════════════════════════════════ */
.btn-premium, .btn-orange, .btn-glass, .btn-outline-warm {
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-premium:active, .btn-orange:active, .btn-glass:active {
    transform: scale(0.96);
    transition-duration: 0.1s;
}

.btn-premium {
    background: var(--ghawth-blue);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(67, 173, 214, 0.2);
}
.btn-premium:hover {
    background: var(--ghawth-blue-dark);
    box-shadow: 0 4px 16px rgba(67, 173, 214, 0.3);
    transform: translateY(-1px);
}

.btn-orange {
    background: var(--ghawth-green);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(68, 172, 59, 0.2);
}
.btn-orange:hover {
    background: #399131;
    box-shadow: 0 4px 16px rgba(68, 172, 59, 0.3);
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(67, 173, 214, 0.06);
    border: none;
    color: var(--ghawth-blue);
}
.btn-glass:hover {
    background: rgba(67, 173, 214, 0.12);
    transform: translateY(-1px);
}

.btn-outline-warm {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    backdrop-filter: blur(4px);
}
.btn-outline-warm:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   COMPONENT: Badges
   ═══════════════════════════════════════ */
.badge-category {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35em 0.75em;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
}

.badge-medical { background: rgba(68, 172, 59, 0.08); color: #44ac3b; border: 0.5px solid rgba(68, 172, 59, 0.2); }
.badge-education { background: rgba(67, 173, 214, 0.08); color: #43add6; border: 0.5px solid rgba(67, 173, 214, 0.2); }
.badge-shelter { background: rgba(68, 172, 59, 0.08); color: #44ac3b; border: 0.5px solid rgba(68, 172, 59, 0.2); }
.badge-orphan { background: rgba(67, 173, 214, 0.08); color: #43add6; border: 0.5px solid rgba(67, 173, 214, 0.2); }
.badge-food { background: rgba(68, 172, 59, 0.08); color: #44ac3b; border: 0.5px solid rgba(68, 172, 59, 0.2); }
.badge-general { background: rgba(67, 173, 214, 0.08); color: #43add6; border: 0.5px solid rgba(67, 173, 214, 0.2); }

/* ═══════════════════════════════════════
   LAYOUT: Main Title
   ═══════════════════════════════════════ */
.main-title {
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    font-size: 2rem;
    line-height: 1.2;
}

/* ═══════════════════════════════════════
   HERO BANNER — Full-width cinematic
   ═══════════════════════════════════════ */
.hero-slider-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 3rem;
    min-height: 440px;
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
    transform: scale(1.1);
}

.hero-slide.active .hero-slide-bg img {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 58, 0.88) 0%, rgba(13, 79, 138, 0.76) 50%, rgba(23, 104, 179, 0.68) 100%);
}

.hero-slide-content {
    max-width: 680px;
    z-index: 2;
    color: #fff;
}

/* Slide Content Animations */
.hero-slide-content .slide-badge,
.hero-slide-content .slide-title,
.hero-slide-content .slide-sub,
.hero-slide-content .slide-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-content .slide-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slide.active .hero-slide-content .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slide.active .hero-slide-content .slide-sub {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-slide.active .hero-slide-content .slide-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Slider Controls */
.slider-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.slider-control-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-control-btn.prev {
    left: 24px;
}

.slider-control-btn.next {
    right: 24px;
}

/* Indicators */
.slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator-dot.active {
    width: 28px;
    border-radius: 5px;
    background: var(--ghawth-orange, #f37021);
}

.hero-content {
    max-width: 680px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem !important;
    line-height: 1.08;
    font-weight: 900 !important;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.92;
}

/* ═══════════════════════════════════════
   COMPONENT: Stats / Impact Numbers
   ═══════════════════════════════════════ */
.stat-box {
    border-inline-end: 1px solid rgba(23, 104, 179, 0.06);
    padding: 0.5rem 1rem;
}
.stat-box:last-child { border-inline-end: none; }

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
}

.stat-number {
    font-weight: 900;
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.35rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   COMPONENT: Progress Bar
   ═══════════════════════════════════════ */
.progress-container { margin-top: 1rem; }

.progress-bar-custom {
    height: 7px;
    background-color: rgba(23, 104, 179, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.2s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ═══════════════════════════════════════
   SECTION: About / Mission
   ═══════════════════════════════════════ */
.section-about {
    background: var(--gradient-warm);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.section-about::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 153, 74, 0.06), transparent);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   SECTION: Impact / How We Help
   ═══════════════════════════════════════ */
.impact-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.25s var(--ease-out);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.impact-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    transition: transform 0.3s var(--ease-bounce);
}

.impact-card:hover .impact-icon { transform: scale(1.1) rotate(-3deg); }

/* ═══════════════════════════════════════
   SECTION: CTA Banner
   ═══════════════════════════════════════ */
.cta-banner {
    background: var(--gradient-cta);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-blue);
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}

.cta-banner::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 153, 74, 0.15), transparent);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   SECTION: Trusted Partners
   ═══════════════════════════════════════ */
.partners-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.4s ease;
}

.partners-strip:hover {
    opacity: 0.7;
    filter: grayscale(0.5);
}

.partner-logo {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
    background: var(--gradient-footer);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ghawth-green), var(--ghawth-blue), var(--ghawth-green));
    background-size: 200% 100%;
    animation: footer-gradient-shift 6s ease-in-out infinite;
}

@keyframes footer-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.footer-text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    max-width: 360px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: block;
    padding: 0.35rem 0;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--ghawth-orange-light);
    transform: translateX(4px);
}

.rtl-mode .footer-link:hover {
    transform: translateX(-4px);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.footer-bottom-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--ghawth-green);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(68, 172, 59, 0.3);
    border-color: transparent;
}

/* ═══════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════ */
.auth-container { min-height: 80vh; }

.auth-card {
    border: 0.5px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-md) !important;
}

.input-group-text {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.12) !important;
    border-right: none !important;
    color: var(--text-secondary);
    border-top-left-radius: var(--radius-md) !important;
    border-bottom-left-radius: var(--radius-md) !important;
}

.rtl-mode .input-group-text {
    border-right: 0.5px solid rgba(0, 0, 0, 0.12) !important;
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: var(--radius-md) !important;
    border-bottom-right-radius: var(--radius-md) !important;
}

.form-control.bg-light {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.12) !important;
    border-top-right-radius: var(--radius-md) !important;
    border-bottom-right-radius: var(--radius-md) !important;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control.bg-light:focus {
    background-color: #ffffff !important;
    border-color: var(--ghawth-blue) !important;
    box-shadow: 0 0 0 3px rgba(67, 173, 214, 0.15) !important;
}

/* ═══════════════════════════════════════
   UTILITY: Hover effects
   ═══════════════════════════════════════ */
.hover-underline:hover { text-decoration: underline !important; }

.hover-lift {
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.pulse-dot {
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes count-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-count {
    animation: count-up 0.6s var(--ease-out) forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fade-in-up 0.5s var(--ease-out) forwards;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 992px) {
    .hero-banner {
        min-height: auto;
        padding: 3rem 2rem;
    }
    .hero-content h1 { font-size: 2.4rem !important; }
    .section-about { padding: 2.5rem 1.5rem; }
    .cta-banner { padding: 2.5rem 1.5rem; }
}

@media (max-width: 768px) {
    .stat-box {
        border-inline-end: none;
        border-bottom: 1px solid rgba(23, 104, 179, 0.06);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    .stat-box:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    .hero-banner { padding: 2.5rem 1.5rem; }
    .hero-content h1 { font-size: 2rem !important; }
    .stat-number { font-size: 1.75rem; }
    .partners-strip { gap: 1.5rem; }
    .site-footer { padding: 3rem 0 1.5rem; margin-top: 2rem; }
}

@media (max-width: 576px) {
    .glass-card { padding: 1.25rem; border-radius: var(--radius-md); }
    .hero-banner { border-radius: var(--radius-lg); }
    .hero-slider-container { min-height: 320px; border-radius: var(--radius-lg); }
    .hero-slide { padding: 2rem !important; }
}

/* ── Heading Color Alignment (For titles and important details) ── */
h1, h2, h3, h4, h5, h6, .main-title, .footer-heading {
    color: #44ac3b;
}

/* Preserve color inside hero, footer, and CTA banner text */
.hero-content h1, .hero-slide-content h1, .cta-banner h3,
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .footer-brand {
    color: #ffffff !important;
}

.site-footer .footer-heading {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ── Smooth Image Loading ── */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
    opacity: 1;
}