:root {
    --gold: #D4AF37;
    --gold-bright: #FFD700;
    --coffee-dark: #2C1B12;
    --coffee-light: #4B3621;
    --cream: #FDFBF7;
    --quran-font: 'Amiri', serif;
    --main-font: 'Tajawal', sans-serif;
    --glass: rgba(44, 27, 18, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    font-family: var(--main-font);
    overflow-x: hidden;
    color: var(--coffee-dark);
}

#splash-screen {
    position: fixed;
    inset: 0;
    background: var(--coffee-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.splash-box {
    position: relative;
    width: 150px;
    height: 150px;
}

.splash-box img {
    width: 100%;
    z-index: 2;
    position: relative;
    animation: splashFloat 2s infinite ease-in-out;
}

.logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    animation: pulseGlow 2s infinite;
}

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

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.top-hadith {
    background: var(--coffee-dark);
    color: var(--gold);
    height: 45px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gold);
    overflow: hidden;
    font-family: var(--quran-font);
    font-size: 1.2rem;
}

.marquee-container {
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

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

.glass-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 0;
}

.nav-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.logo-frame {
    width: 70px;
    height: 70px;
    background: var(--coffee-dark);
    border: 2px solid var(--gold);
    border-radius: 50% 10% 50% 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
    transition: 0.5s;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.logo-frame img {
    width: 45px;
    transform: rotate(-45deg);
}

.logo-frame:hover {
    transform: rotate(225deg);
    border-color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: #fff;
    font-family: var(--quran-font);
    font-size: 1.4rem;
    position: relative;
    transition: 0.3s;
}

.nav-item::before {
    content: '۞';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--gold);
    opacity: 0;
    transition: 0.3s;
}

.nav-item.active {
    color: var(--gold);
}

.nav-item.active::before {
    opacity: 1;
}

.btn-contact {
    padding: 10px 25px;
    background: var(--gold);
    color: var(--coffee-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.4s;
    border: 2px solid var(--gold);
}

.btn-contact:hover {
    background: transparent;
    color: var(--gold);
}

.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/bg.png') center/cover;
    filter: blur(3px) brightness(0.4);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero-title {
    font-family: var(--quran-font);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--gold);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 3.5s;
}

.hero-desc {
    font-size: 1.3rem;
    color: #eee;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 3.8s;
}

.btn-hero-primary {
    padding: 18px 45px;
    background: var(--gold);
    color: var(--coffee-dark);
    text-decoration: none;
    font-size: 1.4rem;
    font-family: var(--quran-font);
    border-radius: 5px;
    transition: 0.4s;
    opacity: 0;
    animation: fadeInUp 1s forwards 4.1s;
}

.btn-hero-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.islamic-shape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: url('https://www.transparenttextures.com/patterns/islamic-art.png');
    opacity: 0.2;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--gold);
    border-radius: 10px;
    transition: 0.3s;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--coffee-dark);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    background-image: url('https://www.transparenttextures.com/patterns/islamic-art.png');
    padding: 50px 30px;
}

.side-menu.open { right: 0; }

.side-logo img { width: 100px; display: block; margin: 0 auto; filter: drop-shadow(0 0 10px var(--gold)); }

.side-divider { text-align: center; color: var(--gold); margin: 30px 0; }

.side-links { list-style: none; }

.side-links li { margin: 20px 0; transform: translateX(50px); opacity: 0; transition: 0.4s; }

.side-menu.open .side-links li { transform: translateX(0); opacity: 1; }

.side-links a { color: #fff; text-decoration: none; font-family: var(--quran-font); font-size: 1.6rem; transition: 0.3s; }

.side-links a:hover { color: var(--gold); padding-right: 10px; }

.side-footer { margin-top: 50px; text-align: center; }

.side-contact-btn {
    display: block;
    padding: 15px;
    background: var(--gold);
    color: var(--coffee-dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 20px;
}

.side-quote { color: rgba(255,255,255,0.5); font-family: var(--quran-font); }

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    backdrop-filter: blur(5px);
}

.overlay.visible { opacity: 1; pointer-events: all; }

@media (max-width: 992px) {
    .nav-menu, .btn-contact { display: none; }
    .burger-menu { display: flex; }
}
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    height: 75px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    object-fit: contain;
}


@media (max-width: 768px) {
    .main-logo {
        height: 60px;
    }
}
.nav-logo {
    position: relative;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 110px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    transition: all 0.4s ease-in-out;
    z-index: 1001;
    object-fit: contain;
}

@media (max-width: 768px) {
    .nav-logo {
        width: 90px;
        height: 50px;
    }
    .main-logo {
        height: 90px;
    }
}
.about-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fdfaf5, #fff);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.about-image-side {
    position: relative;
    z-index: 1;
}

.image-frame {
    position: relative;
    border-radius: 200px 200px 20px 20px; /* شكل قبة إسلامية */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(75, 54, 33, 0.2);
    border: 8px solid #fff;
    transition: 0.5s;
}

.image-frame img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: 0.8s;
}

.image-frame:hover img {
    transform: scale(1.1);
}

.inner-border {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 185px 185px 15px 15px;
    z-index: 2;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: var(--coffee-dark);
    padding: 25px;
    border-radius: 15px;
    border-right: 5px solid var(--gold);
    color: #fff;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    animation: floatAnim 3s infinite ease-in-out;
}

.floating-card .count {
    display: block;
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    font-family: var(--quran-font);
}

.decoration-element {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.15);
    z-index: -1;
}

.sub-title {
    color: var(--gold);
    font-family: var(--quran-font);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.main-title {
    font-family: var(--quran-font);
    font-size: 3rem;
    color: var(--coffee-dark);
    margin-bottom: 15px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 30px;
    border-radius: 2px;
}

.description {
    font-size: 1.2rem;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
}

.pillars {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.pillar-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid transparent;
}

.pillar-item:hover {
    border-color: var(--gold);
    transform: translateX(-10px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pillar-info h5 {
    font-family: var(--quran-font);
    font-size: 1.4rem;
    color: var(--coffee-dark);
    margin-bottom: 5px;
}

.read-more-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--coffee-dark);
    border: 2px solid var(--coffee-dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: var(--coffee-dark);
    transition: 0.4s;
    z-index: -1;
}

.read-more-btn:hover::before {
    left: 0;
}

.read-more-btn:hover {
    color: #fff;
}

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

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .title-line { margin: 0 auto 30px; }
    .pillar-item { text-align: right; }
    .image-frame img { height: 400px; }
    .floating-card { right: 20px; }
}
.values-section {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/islamic-art.png');
    opacity: 0.05;
    pointer-events: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.header-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(to var(--direction, right), var(--gold), transparent);
}

.section-header .header-line:last-child {
    --direction: left;
}

.header-icon {
    color: var(--gold);
    font-size: 1.5rem;
    animation: rotateIcon 4s linear infinite;
}

.header-title {
    font-family: var(--quran-font);
    font-size: 3.2rem;
    color: var(--coffee-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: #fff;
    padding: 60px 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(75, 54, 33, 0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.card-icon-wrapper {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.icon-circle {
    width: 90px;
    height: 90px;
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.icon-circle::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px dashed var(--gold);
    border-radius: 50%;
    animation: rotateIcon 10s linear infinite;
}

.card-title {
    font-family: var(--quran-font);
    font-size: 2.2rem;
    color: var(--coffee-dark);
    margin-bottom: 15px;
}

.card-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 25px;
    border-radius: 10px;
}

.card-text {
    font-family: var(--main-font);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--coffee-light);
    opacity: 0.9;
}

.card-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(212, 175, 55, 0.1) 50%);
    border-radius: 0 0 20px 0;
}

.value-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(75, 54, 33, 0.15);
}

.value-card:hover .icon-circle {
    background: var(--gold);
    color: #fff;
    transform: scale(1.1);
}

.active-card {
    border: 1px solid var(--gold);
    background: linear-gradient(to bottom, #fff, #fdfaf5);
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .header-title {
        font-size: 2.2rem;
    }
    .header-line {
        width: 50px;
    }
}
.values-section {
    padding: 120px 0;
    background-color: #f5f0e6; 
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    background-repeat: repeat;
    background-attachment: fixed; 
    opacity: 0.4; 
    filter: sepia(100%) hue-rotate(340deg) saturate(200%); 
    pointer-events: none;
    z-index: 1;
}

.value-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 60px 30px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(75, 54, 33, 0.15);
    position: relative;
    z-index: 2; 
    transition: all 0.4s ease-in-out;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.services-section {
    padding: 100px 0;
    background-color: var(--coffee-dark);
    position: relative;
    overflow: hidden;
}

.services-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.2;
    filter: invert(1);
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.services-main-title {
    font-family: var(--quran-font);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.services-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.services-divider .line {
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.services-divider i {
    color: var(--gold);
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.service-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.service-glass-card:hover::before {
    transform: translateX(100%);
}

.service-glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.1);
}

.service-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-text {
    flex: 1;
    text-align: right;
}

.service-text h3 {
    font-family: var(--quran-font);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.service-text p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: 0.4s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-glass-card:hover .service-icon-box {
    background: var(--gold);
    color: var(--coffee-dark);
    transform: rotateY(360deg);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-main-title {
        font-size: 2.5rem;
    }
    .service-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .service-text {
        text-align: center;
    }
}
.features-stats-section {
    padding: 120px 0;
    background-color: #fdfaf5;
    position: relative;
    overflow: hidden;
}

.stats-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/islamic-art.png');
    opacity: 0.1;
    pointer-events: none;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.features-intro {
    text-align: right;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--coffee-dark);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.intro-title {
    font-family: var(--quran-font);
    font-size: 2.8rem;
    color: var(--coffee-dark);
    line-height: 1.3;
    margin-bottom: 25px;
}

.intro-p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.intro-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.intro-features-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--coffee-medium);
    font-weight: 600;
}

.intro-features-list i {
    color: var(--gold);
}

/* استايل بارات التقدم */
.stats-container {
    background: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(75, 54, 33, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
    margin-bottom: 35px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-label {
    font-weight: 700;
    color: var(--coffee-dark);
    font-size: 1.05rem;
}

.stat-percent {
    color: var(--gold);
    font-weight: 800;
}

.progress-bar {
    height: 12px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to left, var(--gold), #b8860b);
    border-radius: 10px;
    position: relative;
    transition: width 2s cubic-bezier(0.1, 0.5, 0.2, 1);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s infinite;
}

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

@media (max-width: 992px) {
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .intro-title {
        font-size: 2.2rem;
    }
}
.blog-section { padding: 120px 0; background-color: #fcf9f4; position: relative; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.blog-card { background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 15px 45px rgba(75, 54, 33, 0.08); border: 1px solid rgba(212, 175, 55, 0.15); transition: 0.5s; cursor: pointer; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-15px) scale(1.02); border-color: var(--gold); box-shadow: 0 25px 60px rgba(212, 175, 55, 0.2); }
.blog-img { height: 300px; position: relative; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-category { position: absolute; top: 20px; right: 20px; background: var(--coffee-dark); color: var(--gold); padding: 8px 20px; border-radius: 50px; font-weight: bold; font-size: 0.9rem; z-index: 2; }
.blog-body { padding: 40px; }
.blog-body h3 { font-family: var(--quran-font); color: var(--coffee-dark); font-size: 2rem; margin-bottom: 20px; line-height: 1.4; transition: 0.3s; }
.blog-card:hover .blog-body h3 { color: var(--gold); }
.blog-body p { color: #555; font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #eee; }
.read-more { color: var(--coffee-dark); font-weight: 800; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.blog-card:hover .read-more { color: var(--gold); gap: 15px; }
.blog-date { color: #999; font-size: 0.9rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, #fdfbf7 0%, #ece2d0 100%);
    position: relative;
    overflow: hidden;
}

.blog-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 10;
}

.blog-sub-title {
    color: var(--gold);
    font-family: var(--quran-font);
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    font-weight: 400;
    font-style: italic;
}

.blog-main-title {
    color: var(--coffee-dark);
    font-family: var(--quran-font);
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.blog-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: var(--gold);
    font-size: 2rem;
}

.blog-divider::before,
.blog-divider::after {
    content: '';
    width: 120px;
    height: 2px;
    background: linear-gradient(to var(--dir, left), var(--gold), transparent);
    border-radius: 2px;
}

.blog-divider::after {
    --dir: right;
}

@media (max-width: 768px) {
    .blog-main-title { font-size: 2.8rem; }
    .blog-sub-title { font-size: 1.5rem; }
    .blog-divider::before, .blog-divider::after { width: 60px; }
}
:root {
    --gold: #D4AF37;
    --coffee-dark: #2C1B12;
    --quran-font: 'Amiri', serif;
}

.registration-section {
    padding: 120px 0;
    background-color: var(--coffee-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.register-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.15;
    filter: invert(1);
    pointer-events: none;
}

.register-header {
    position: relative;
    z-index: 10;
    margin-bottom: 70px;
}

.register-title {
    font-family: var(--quran-font);
    font-size: 3.8rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.register-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.register-divider span {
    width: 80px;
    height: 1px;
    background: linear-gradient(to var(--d, right), var(--gold), transparent);
}

.register-divider span:last-child { --d: left; }

.register-divider i { color: var(--gold); font-size: 1.5rem; }

.register-subtitle {
    color: var(--gold);
    font-size: 1.5rem;
    font-family: var(--quran-font);
    opacity: 0.9;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.track-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 40px;
    padding: 70px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.track-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.track-card:hover {
    transform: translateY(-20px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.track-card:hover::after { opacity: 1; }

.track-icon {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    transition: 0.5s;
}

.track-card:hover .track-icon {
    transform: scale(1.2) rotateY(360deg);
}

.track-card h3 {
    font-family: var(--quran-font);
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
}

.track-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.track-btn {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    font-size: 1.1rem;
    position: relative;
    z-index: 5;
}

.track-card:hover .track-btn {
    background: var(--gold);
    color: var(--coffee-dark);
    box-shadow: 0 0 20px var(--gold);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.reg-modal {
    background: rgba(44, 27, 18, 0.98);
    width: 90%;
    max-width: 500px;
    border-radius: 50px;
    padding: 70px 50px;
    position: relative;
    border: 1px solid var(--gold);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    transform: scale(0.8);
    transition: 0.5s;
}

.modal-overlay.active .reg-modal { transform: scale(1); }

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.5;
}

.close-modal:hover { opacity: 1; color: var(--gold); }

.phone-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    border: 1px solid var(--gold);
}

.reg-modal h3 {
    font-family: var(--quran-font);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.reg-modal p { color: rgba(255,255,255,0.6); margin-bottom: 40px; }

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 22px 60px 22px 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: #fff;
    font-size: 1.2rem;
    outline: none;
    text-align: right;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.field-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.4rem;
}

.submit-reg-btn {
    width: 100%;
    padding: 22px;
    background: var(--gold);
    color: var(--coffee-dark);
    border: none;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.submit-reg-btn:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

@media (max-width: 800px) {
    .registration-grid { grid-template-columns: 1fr; }
    .register-title { font-size: 2.8rem; }
}
.reg-modal h3, 
.reg-modal p {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.features-stats-section {
    padding: 120px 0;
    background-color: #fdfaf5;
    position: relative;
    overflow: hidden;
}

.features-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.features-wrapper {
    position: relative;
    z-index: 10;
}

.blog-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, #fdfbf7 0%, #ece2d0 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.blog-header, .blog-grid {
    position: relative;
    z-index: 10;
}
.contact-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, #ffffff 0%, #fdf5e6 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-pattern-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.3;
    pointer-events: none;
}

.contact-header {
    position: relative;
    z-index: 5;
    margin-bottom: 80px;
}

.contact-sub {
    color: var(--coffee-dark);
    font-family: var(--quran-font);
    font-size: 1.8rem;
}

.contact-main-title {
    font-family: var(--quran-font);
    font-size: 4rem;
    color: var(--gold);
}

.contact-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.contact-divider span {
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.contact-divider i { color: var(--coffee-dark); font-size: 1.5rem; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.contact-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    padding: 50px 30px;
    position: relative;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.gold-featured {
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid var(--gold);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(75, 54, 33, 0.1);
}

.contact-card:hover .card-glow { opacity: 1; }

.card-icon-header {
    font-size: 3.5rem;
    color: var(--coffee-dark);
    margin-bottom: 25px;
}

.contact-card:hover .card-icon-header {
    color: var(--gold);
    transform: scale(1.2);
}

.contact-card h3 {
    font-family: var(--quran-font);
    font-size: 2.2rem;
    color: var(--coffee-dark);
}

.phone-num {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--coffee-dark);
    margin-bottom: 30px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.action-btn.call {
    background: var(--gold);
    color: var(--coffee-dark);
}

.action-btn.whatsapp {
    background: var(--coffee-dark);
    color: var(--gold);
}

.action-btn:hover {
    transform: scale(1.05);
}

.location-box {
    margin-top: 80px;
    display: inline-block;
    background: var(--coffee-dark);
    padding: 30px 60px;
    border-radius: 100px;
    color: var(--gold);
    border: 2px solid var(--gold);
    z-index: 5;
    animation: pulseFloat 3s infinite ease-in-out;
}

.location-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-text { text-align: right; }

.location-text h4 { font-family: var(--quran-font); font-size: 1.6rem; }

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

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .location-box { padding: 20px 40px; border-radius: 30px; }
}
.contact-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, #ffffff 0%, #fdf5e6 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-pattern-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.3;
    pointer-events: none; /* يضمن عدم تداخل النقش مع النقرات */
    z-index: 1;
}

.contact-header { position: relative; z-index: 10; margin-bottom: 80px; }

.contact-main-title { font-family: 'Amiri', serif; font-size: 4rem; color: #D4AF37; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    padding: 50px 30px;
    position: relative;
    transition: 0.4s;
    overflow: hidden;
    z-index: 5;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none; /* مهم جداً لعدم حجب الروابط */
    z-index: 1;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 20; /* ليكون فوق طبقة الـ Glow */
}

.action-btn {
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    cursor: pointer !important; /* لظهور علامة اليد */
    position: relative;
}

.action-btn.call { background: #D4AF37; color: #2C1B12; }
.action-btn.whatsapp { background: #2C1B12; color: #D4AF37; }

.action-btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.location-box {
    margin-top: 80px;
    display: inline-block;
    background: #2C1B12;
    padding: 25px 50px;
    border-radius: 100px;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    position: relative;
    z-index: 10;
}

@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }
.main-footer {
    background-color: #1a100a; /* لون قهوة داكن جداً */
    padding: 80px 0 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--gold);
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/islamic-art.png');
    opacity: 0.05;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.footer-col-about-col {
    padding-left: 20px;
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-box img {
    width: 60px;
    filter: drop-shadow(0 0 5px var(--gold));
}

.footer-logo-box h3 {
    font-family: var(--quran-font);
    font-size: 2rem;
    color: var(--gold);
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.4s;
    border: 1px solid var(--gold);
}

.social-links a:hover {
    background: var(--gold);
    color: #1a100a;
    transform: translateY(-5px);
}

.col-title {
    font-family: var(--quran-font);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '۞';
    font-size: 0.8rem;
    color: var(--gold);
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 10px;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-contact-info i {
    color: var(--gold);
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 5;
}

.copyright {
    font-size: 1rem;
    color: #888;
    margin-bottom: 15px;
}

.developer-credits {
    font-size: 1.1rem;
    color: #fff;
}

.developer-credits a {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dashed var(--gold);
    transition: 0.3s;
}

.developer-credits a:hover {
    color: #fff;
    border-bottom-style: solid;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-box, .col-title::after, .social-links {
        justify-content: center;
    }
    .col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-contact-info li {
        justify-content: center;
    }
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s ease;
    animation: pulse-whatsapp 2s infinite;
    border: 2px solid #fff;
}
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #2c1b12;
    color: #d4af37;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid #d4af37;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(18, 140, 126, 0.5);
}
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-tooltip {
        display: none; 
    }
}