 :root {
            --primary-green: #10B981;
            --secondary-green: #059669;
            --accent-gold: #F59E0B;
            --light-gold: #FEF3C7;
            --text-dark: #1F2937;
            --text-light: #6B7280;
            --bg-light: #F9FAFB;
            --bg-3nabi: #900c31;
        }

        html {
            text-size-adjust: 100%;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: var(--bg-light);
        }

        .rtl {
            direction: rtl;
        }

        .ltr {
            direction: ltr;
        }

        .hero-section {
            /* gradient overlay + background image */
            background-image:  url('/images/ramadan.png');
            background-repeat: no-repeat;
            background-size: cover;
            /* background-position: center; */
            min-height: 85vh;
            /* fixed attachment only on large screens for better mobile performance */
            background-attachment: scroll;
        }

        .hero-ramadan-img {
            display: block;
            width: min(1200px, 96%);
            height: auto;
            opacity: 0.98;
            filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.3));
        }

        @media (min-width: 992px) {
            .hero-section {
                background-attachment: fixed;
            }
        }

        .navbar {
            transition: all 0.3s ease;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }

        /* Programs section background image */
        .programs-bg {
            background: url('/images/pg_clean.png');
            background-color: rgb(136, 136, 136);
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .speech-bg {
            background: url('/images/pg_clean.png');
            background-color: rgb(136, 136, 136);
            background-size: cover;
            background-position: center;
            position: relative;

        }

        .speech-bg::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.85);
            /* subtle white overlay to keep cards readable */
            pointer-events: none;
        }

        .speech-bg .max-w-7xl {
            position: relative;
            z-index: 10;
        }

        .programs-bg::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.85);
            /* subtle white overlay to keep cards readable */
            pointer-events: none;
        }

        .programs-bg .max-w-7xl {
            position: relative;
            z-index: 10;
        }

        /* ensure content sits above overlay */

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-fade-in {
            opacity: 1;
            transform: translateY(0);
        }

        .counter {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-green);
        }

        .program-card {
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .program-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-gold);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .news-card {
            transition: all 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .gallery-image {
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .gallery-image:hover {
            transform: scale(1.05);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
        }

        .btn-secondary {
            background: var( --primary-green);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-padding {

            padding: 80px 0;
        }
        .Newsletter{
            background: var(--bg-3nabi);


        }

        @media (max-width: 768px) {
            .counter {
                font-size: 2rem;
            }

            .section-padding {
                padding: 40px 0;
            }
        }
