* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.75;
}

img, video {
    max-width: 100%;
}

/* --- الشريط العلوي والقائمة الرئيسية --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 41, 29, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-accent);
}

.navbar {
    max-width: 1380px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    min-width: 0;
    flex: 1 1 auto;
}

.logo-box img {
    height: 46px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-box:hover img {
    transform: scale(1.06);
}

.logo-text {
    min-width: 0;
}

.logo-text h1 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.25;
}

.logo-text span {
    font-size: 0.72rem;
    color: var(--green-mint);
    display: block;
    line-height: 1.2;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 7px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

/* زر احجز الآن في القائمة الرئيسية مع نبض جذاب */
.nav-book-btn {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: var(--white) !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    animation: pulseGlow 2.2s infinite;
}

.nav-book-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.install-app-btn {
    display: none;
    background: var(--gold-accent);
    color: var(--green-darkest);
    border: none;
    padding: 7px 12px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    cursor: pointer;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: 0.3s;
}

.install-app-btn:hover {
    background: var(--gold-light);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--gold-light);
    cursor: pointer;
    padding: 4px 6px;
}

/* --- الصفحة الرئيسية (Hero Slider) --- */
.hero {
    position: relative;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 100px 16px 52px;
    overflow: hidden;
    background-color: var(--green-darkest);
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 10s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 41, 29, 0.72) 0%, rgba(15, 76, 54, 0.62) 50%, rgba(8, 41, 29, 0.86) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    z-index: 2;
}

.bismillah {
    font-family: var(--font-quran);
    font-size: clamp(1.65rem, 4.2vw, 2.5rem);
    color: var(--gold-light);
    margin-bottom: 14px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.quran-box {
    width: 100%;
    background: rgba(8, 41, 29, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 157, 95, 0.6);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    margin: 14px 0 20px;
    box-shadow: var(--shadow-lg);
    overflow-wrap: break-word;
}

.quran-verse {
    font-family: var(--font-quran);
    font-size: clamp(1.2rem, 3.6vw, 1.9rem);
    line-height: 2.05;
    color: var(--white);
    margin-bottom: 8px;
}

.quran-ref {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--gold-light);
    font-weight: 700;
}

.hero-title {
    font-size: clamp(1.65rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-top: 10px;
    line-height: 1.35;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    color: var(--green-mint);
    margin: 10px auto 24px;
    max-width: 720px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    background: linear-gradient(135deg, var(--green-medium), var(--green-primary));
    color: var(--white);
    border: 1px solid var(--gold-light);
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--gold-accent), #a88043);
    color: var(--green-darkest);
}

/* --- الأقسام العامة --- */
section {
    position: relative;
    padding: 75px 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 4.2vw, 2.2rem);
    font-weight: 800;
    color: var(--green-primary);
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--green-light), var(--gold-accent));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 720px;
    margin: 12px auto 0;
    font-size: 1rem;
}

/* --- خدماتنا --- */
.services-section {
    background-color: var(--white);
}

.services-intro {
    background: var(--green-soft);
    border-right: 5px solid var(--green-primary);
    padding: 22px;
    border-radius: var(--radius-md);
    margin-bottom: 35px;
    font-size: 1.05rem;
    color: var(--green-darkest);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--bg-light);
    padding: 26px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--green-mint);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-light);
}

.service-icon {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-light));
    color: var(--white);
    font-size: 1.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: transform 0.6s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    color: var(--green-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* --- العروض --- */
.offers-section {
    background: linear-gradient(180deg, var(--green-soft) 0%, var(--white) 100%);
}

.partner-badge {
    display: inline-block;
    background: var(--green-primary);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 10px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--green-mint);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-accent);
}

.offer-header {
    background: linear-gradient(135deg, var(--green-darkest), var(--green-primary));
    color: var(--white);
    padding: 22px;
    text-align: center;
}

.offer-header h3 {
    font-size: 1.5rem;
    color: var(--gold-light);
}

.offer-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 14px;
    border-radius: 20px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.offer-body {
    padding: 22px;
}

.offer-list {
    list-style: none;
    margin-bottom: 16px;
}

.offer-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--green-mint);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
}

.offer-list li i {
    color: var(--green-light);
    margin-top: 4px;
    flex-shrink: 0;
}

.offer-subtitle {
    font-weight: 700;
    color: var(--green-primary);
    margin: 14px 0 10px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.price-item {
    background: var(--green-soft);
    padding: 12px 8px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--green-mint);
}

.price-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-item strong {
    font-size: 1.25rem;
    color: var(--green-primary);
}

.coming-soon-banner {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.08rem;
    font-weight: 700;
    border: 2px dashed var(--gold-light);
}

/* --- السكن في مكة المكرمة والمدينة المنورة --- */
.hotel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid var(--green-mint);
}

.hotel-slider {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hotel-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hotel-slider img.active {
    opacity: 1;
}

.slider-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(8, 41, 29, 0.88);
    color: var(--gold-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    z-index: 2;
}

.hotel-info h3 {
    color: var(--green-primary);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.hotel-features {
    list-style: none;
    margin-top: 12px;
}

.hotel-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
}

.hotel-features i {
    color: var(--gold-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

/* --- الرؤية والرسالة --- */
.vision-section {
    background: linear-gradient(135deg, var(--green-darkest), var(--green-primary));
    color: var(--white);
}

.vision-section .section-header h2 {
    color: var(--gold-light);
}

.vision-section .section-header p {
    color: var(--green-mint);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(230, 200, 145, 0.4);
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.13);
}

.vm-card i {
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.vm-card h3 {
    color: var(--gold-light);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--white);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.goal-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 22px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.16);
}

.goal-card i {
    font-size: 1.9rem;
    color: var(--gold-light);
    margin-bottom: 10px;
}

/* --- من نحن --- */
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 5px solid var(--green-primary);
}

.about-statement {
    font-size: 1.15rem;
    line-height: 1.95;
    max-width: 820px;
    margin: 0 auto 14px;
    color: var(--green-darkest);
    font-weight: 600;
}

.about-subnote {
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-muted);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.contact-person {
    background: var(--green-soft);
    padding: 24px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--green-mint);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-person:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.contact-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-accent);
    margin: 0 auto 14px;
    display: block;
    box-shadow: var(--shadow-sm);
}

.contact-person h4 {
    color: var(--green-darkest);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    direction: ltr;
    transition: 0.3s;
}

.phone-link:hover {
    background: var(--green-light);
}

.domain-badge {
    display: inline-block;
    margin-top: 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--green-primary);
}

/* --- قسم الفيديو في نهاية الصفحة --- */
.video-section {
    background: linear-gradient(180deg, var(--green-soft) 0%, var(--white) 100%);
}

.video-wrapper {
    max-width: 860px;
    margin: 0 auto;
    background: var(--green-darkest);
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold-accent);
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    max-height: 480px;
    border-radius: var(--radius-md);
    display: block;
    background: #000000;
}

.video-caption {
    text-align: center;
    color: var(--green-mint);
    font-size: 0.95rem;
    margin-top: 12px;
}

/* --- الأزرار العائمة مع نبض جذاب --- */
.floating-whatsapp {
    position: fixed;
    bottom: 18px;
    right: 16px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    max-width: calc(100vw - 32px);
}

.whatsapp-balloon {
    background: var(--white);
    color: var(--green-darkest);
    padding: 8px 14px;
    border-radius: 22px;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.3;
    box-shadow: var(--shadow-md);
    border: 2px solid #25D366;
    animation: pulseBounce 2.2s infinite;
}

.whatsapp-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    animation: pulseWhatsapp 2s infinite;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-icon {
    transform: scale(1.1);
}

.floating-form {
    position: fixed;
    bottom: 18px;
    left: 16px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
    color: var(--white);
    padding: 11px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1.2;
    border: 2px solid var(--gold-light);
    box-shadow: var(--shadow-lg);
    animation: pulseGold 2.4s infinite;
    transition: transform 0.3s ease;
}

.floating-form:hover {
    transform: translateY(-3px) scale(1.03);
}

/* --- الفوتر --- */
footer {
    background: var(--green-darkest);
    color: var(--white);
    padding: 40px 16px 115px;
    text-align: center;
    border-top: 3px solid var(--gold-accent);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--green-mint);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    font-size: 0.98rem;
    color: #d1ebe0;
}

.copyright strong {
    color: var(--gold-light);
}

/* --- الحركات والنبض الجذاب --- */
@keyframes pulseBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75); transform: scale(1); }
    50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); transform: scale(1.06); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); }
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(230, 200, 145, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 10px rgba(230, 200, 145, 0); transform: scale(1.04); }
    100% { box-shadow: 0 0 0 0 rgba(230, 200, 145, 0); transform: scale(1); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65); }
    50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- التجاوب مع التابلت والموبايل --- */
@media (max-width: 1180px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--green-darkest);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 8px;
        display: none;
        border-bottom: 2px solid var(--gold-accent);
    }
    .nav-links.active { display: flex; }
    .nav-links a { text-align: center; }
    .nav-book-btn { justify-content: center; }
    .hotel-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .logo-box img { height: 40px; }
    .logo-text h1 { font-size: 0.95rem; }
    .logo-text span { font-size: 0.68rem; }
    .install-app-btn { padding: 6px 10px; font-size: 0.74rem; }
    .floating-form { bottom: 84px; left: 14px; padding: 9px 14px; font-size: 0.8rem; }
    .floating-whatsapp { bottom: 16px; right: 14px; }
    .whatsapp-balloon { font-size: 0.75rem; padding: 7px 11px; }
    .whatsapp-icon { width: 48px; height: 48px; font-size: 1.55rem; }
}