@charset "utf-8";

@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);




.amiri{font-family: 'Amiri', serif;}
.droid-arabic-kufi{font-family: 'Droid Arabic Kufi', serif;}
.droid-arabic-naskh{font-family: 'Droid Arabic Naskh', serif;}
.lateef{font-family: 'Lateef', serif;}
.scheherazade{font-family: 'Scheherazade', serif;}
.thabit{font-family: 'Thabit', serif;}
/* ============================================
   CHERY RAMADAN WEBSITE - ENGLISH ONLY
   Complete CSS - Part 1 of 4
   Base Styles, Variables & Global Decorations
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #c4132a;
    --secondary-color: #a08866;
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2a2a2a;
    --border-color: #404040;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Droid Arabic Kufi', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: var(--transition);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================================
   GLOBAL RAMADAN DECORATIONS
   ================================================ */

.ramadan-decorations-global {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.ramadan-decorations-global.active {
    opacity: 1;
    visibility: visible;
}

.ramadan-decorations-global.active .global-moon {
    animation: floatMoonGlobal 8s ease-in-out infinite, fadeInScale 1s ease-out;
}

.ramadan-decorations-global.active .global-lantern {
    animation: swingLanternGlobal 4s ease-in-out infinite, fadeInDown 1s ease-out;
}

.ramadan-decorations-global.active .crescent-float {
    animation: floatCrescentGlobal 12s ease-in-out infinite, fadeInScale 1.2s ease-out;
}

.ramadan-decorations-global.active .global-star {
    animation: twinkleStar 3s ease-in-out infinite, fadeIn 0.8s ease-out;
}

.ramadan-decorations-global.active .islamic-pattern-bg {
    animation: rotatePatternGlobal 50s linear infinite;
}

/* Global Moon */
.global-moon {
    position: absolute;
    top: 80px;
    right: 120px;
    width: 120px;
    height: 120px;
    z-index: 10;
}

.moon-crescent {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.moon-crescent::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 90%;
    height: 90%;
    background: var(--bg-color);
    border-radius: 50%;
    opacity: 0.4;
}

.moon-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4), transparent 60%);
    border-radius: 50%;
    animation: pulseMoonRing 4s ease-in-out infinite;
}

/* Global Lanterns */
.global-lantern {
    position: absolute;
    width: 55px;
    height: 85px;
}

.lantern-pos-1 { top: 140px; left: 6%; }
.lantern-pos-2 { top: 200px; right: 8%; }
.lantern-pos-3 { bottom: 180px; left: 12%; }

.lantern-rope {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 35px;
    background: linear-gradient(180deg, transparent, var(--secondary-color));
}

.lantern-cap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 5px;
}

.lantern-body {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 65px;
    background: linear-gradient(180deg, var(--primary-color), #d4243d);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(196, 19, 42, 0.5);
}

.lantern-shine {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
    animation: lanternShineEffect 2.5s ease-in-out infinite;
}

.lantern-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 0 0 16px 16px;
}

.lantern-tassel {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 12px;
    background: linear-gradient(180deg, #ffd700, #ffed4e);
    border-radius: 0 0 4px 4px;
}

/* Stars & Crescents */
.stars-field-global {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.crescents-global {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 6;
}

.crescent-float {
    position: absolute;
    font-size: 45px;
    color: var(--secondary-color);
    opacity: 0;
}

.crescent-1 { top: 25%; left: 8%; }
.crescent-2 { top: 45%; right: 10%; }
.crescent-3 { bottom: 25%; left: 15%; }
.crescent-4 { top: 60%; right: 18%; }

/* Islamic Patterns */
.islamic-pattern-bg {
    position: absolute;
    width: 250px;
    height: 250px;
    opacity: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="250" height="250" xmlns="http://www.w3.org/2000/svg"%3E%3Cpattern id="islamic" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"%3E%3Cpath d="M30,0 L60,30 L30,60 L0,30 Z" fill="none" stroke="%23a08866" stroke-width="2"/%3E%3Ccircle cx="30" cy="30" r="12" fill="none" stroke="%23a08866" stroke-width="1.5"/%3E%3C/pattern%3E%3Crect width="250" height="250" fill="url(%23islamic)"/%3E%3C/svg%3E');
    z-index: 3;
}

.ramadan-decorations-global.active .islamic-pattern-bg {
    opacity: 0.06;
}

.pattern-1 { top: 15%; left: 3%; }
.pattern-2 { bottom: 20%; right: 5%; }

/* Decorations Entry Message */
.decorations-entry-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    color: white;
    padding: 30px 50px;
    border-radius: 25px;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: 0 20px 60px rgba(196, 19, 42, 0.6);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.decorations-entry-message.show {
    opacity: 1;
    visibility: visible;
    animation: bounceInMessage 0.6s ease-out;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes floatMoonGlobal {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(8deg); }
}

@keyframes pulseMoonRing {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; }
}

@keyframes swingLanternGlobal {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

@keyframes lanternShineEffect {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes floatCrescentGlobal {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.25; }
    50% { transform: translateY(-50px) rotate(90deg); opacity: 0.45; }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceInMessage {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

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

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulseParticles {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ================================================
   MOBILE DECORATIONS ADJUSTMENTS
   ================================================ */

@media (max-width: 768px) {
    .global-moon {
        width: 70px;
        height: 70px;
        top: 70px;
        right: 50px;
    }

    .global-lantern {
        width: 35px;
        height: 55px;
    }

    .lantern-pos-3 {
        display: none;
    }

    .crescent-float {
        font-size: 32px;
    }

    .crescent-3, .crescent-4 {
        display: none;
    }

    .islamic-pattern-bg {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .global-moon {
        width: 55px;
        height: 55px;
    }

    .global-lantern {
        width: 28px;
        height: 45px;
    }

    .lantern-pos-2 {
        display: none;
    }

    .islamic-pattern-bg {
        display: none;
    }
}


/* ============================================
   Part 2: Header, Hero Slider & Offers Section
   ============================================ */

/* ================================================
   HEADER & NAVIGATION - MOBILE FIXED
   ================================================ */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] #header {
    background: rgba(26, 26, 26, 0.95);
}

.navbar {
    padding: 8px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
	    flex-direction: row-reverse;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
	flex-direction: row-reverse;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
	    flex-direction: row-reverse;
}

.animated-btn {
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(196, 19, 42, 0.3);
    animation: pulse 2s ease-in-out infinite;
    transition: var(--transition);
}

.animated-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(196, 19, 42, 0.4);
    animation: none;
}

.mode-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mode-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Header */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }

    .logo img {
        height: 45px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        padding: 80px 0 30px;
        gap: 0;
        transition: left 0.4s ease;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
		direction: rtl;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 18px 25px;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(196, 19, 42, 0.05);
    }

    .animated-btn .btn-text {
        display: none;
    }

    .animated-btn {
        width: 45px;
        height: 45px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .nav-menu {
        width: 260px;
    }

    .nav-link {
        padding: 16px 20px;
        font-size: 1.05rem;
    }

    .animated-btn,
    .mode-toggle,
    .mobile-toggle {
        width: 42px;
        height: 42px;
    }
}

/* ================================================
   HERO SLIDER - HIGH RESOLUTION
   ================================================ */

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1080px;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Desktop Banner */
.slider-bg-image.slider-desktop {
    background-attachment: fixed;
}

/* Mobile Banner */
.slider-bg-image.slider-mobile {
    background-attachment: scroll;
    display: none;
}

@media (min-width: 769px) {
    .slider-bg-image.slider-desktop {
        display: block;
    }
    
    .slider-bg-image.slider-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .slider-bg-image.slider-desktop {
        display: none !important;
    }
    
    .slider-bg-image.slider-mobile {
        display: block;
    }

    .hero-slider {
        min-height: 500px;
        margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 480px;
        margin-top: 37px;
    }
	.slider-backgrounds {
   
    height: 83%;
    
}
}

.slider-bg-image.active {
    opacity: 1;
    visibility: visible;
}

.slider-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 19, 42, 0.65), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Slider Content */
.slider-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
}

.slider-content-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ramadan-greeting {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 700;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.moon-icon {
    font-size: 1.5rem;
    animation: rotateMoon 8s linear infinite;
}

.slider-title {
    margin-bottom: 25px;
}

.title-top {
    display: block;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-main {
    display: block;
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    color: white;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.slider-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    color: white;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slider-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, #c4132a, #d4243d);
    color: white;
    box-shadow: 0 8px 25px rgba(196, 19, 42, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 19, 42, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #c4132a;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
}

.slider-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
}

.feature-box i {
    font-size: 1.5rem;
    color: #ffd700;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

/* ================================================
   SECTION TITLES
   ================================================ */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.title-decoration {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.title-ramadan-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: bounceIcon 2s ease-in-out infinite;
}

/* Section Decorations */
.section-ramadan-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.section-lanterns-border {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 5%;
}

.mini-lantern {
    width: 28px;
    height: 42px;
    background: linear-gradient(180deg, var(--primary-color), #d4243d);
    border-radius: 5px 5px 10px 10px;
    animation: swingLantern 3s ease-in-out infinite;
    opacity: 0.5;
}

.mini-lantern:nth-child(1) { animation-delay: 0s; }
.mini-lantern:nth-child(2) { animation-delay: 0.5s; }
.mini-lantern:nth-child(3) { animation-delay: 1s; }
.mini-lantern:nth-child(4) { animation-delay: 1.5s; }
.mini-lantern:nth-child(5) { animation-delay: 2s; }

@keyframes swingLantern {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ================================================
   OFFERS SECTION
   ================================================ */

.offers-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .offers-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.offers-section .container {
    max-width: 1400px;
}

.offers-container {
    position: relative;
    background: var(--card-bg);
    padding: 45px 35px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--border-color);
}

.offers-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--border-color);
}

.intro-icon {
    font-size: 3.5rem;
    animation: bounceIcon 2s ease-in-out infinite;
}

.offers-intro h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.offers-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
	    direction: rtl;
}

.offer-card-full {
    position: relative;
    background: var(--bg-color);
    padding: 26px 20px;
    border-radius: 18px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    min-height: 170px;
	    direction: rtl;
}

.offer-card-full:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(196, 19, 42, 0.25);
}

.offer-number {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.12;
}

.offer-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.9rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(196, 19, 42, 0.4);
}

.offer-content-full h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.offer-content-full p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.88rem;
}

.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    animation: badgePulse 2s ease-in-out infinite;
}

.offers-cta {
    text-align: center;
    padding: 42px;
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.offers-cta h3 {
    font-size: 2.1rem;
    color: white;
    margin-bottom: 14px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-offers-btn {
    padding: 19px 48px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.cta-offers-btn:hover {
    transform: translateY(-5px);
}

/* Mobile Offers */
@media (max-width: 768px) {
    .offers-section {
        padding: 60px 0;
    }

    .offers-container {
        padding: 30px 20px;
    }

    .offers-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .offers-grid-full {
        grid-template-columns: 1fr;
    }

    .offer-card-full {
        padding: 20px;
    }

    .cta-offers-btn {
        width: 100%;
        font-size: 1rem;
        padding: 16px 30px;
    }
}



/* ============================================
   Part 3: Gallery & Form Sections
   ============================================ */

/* ================================================
   GALLERY SECTION - MOBILE FIXED
   ================================================ */

.gallery-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.gallery-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.gallery-carousel {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
}

.gallery-track.no-transition {
    transition: none !important;
}

.gallery-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: 20px;
}

.gallery-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 40px;
    min-height: 500px;
}

.gallery-slide:hover .gallery-card {
    transform: scale(1.02);
}

.car-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 15px;
    position: relative;
}

[data-theme="dark"] .car-image {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.gallery-slide:hover .car-image img {
    transform: scale(1.05) translateX(-10px);
}

.image-decoration {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}

.image-decoration span {
    font-size: 24px;
    color: #ffd700;
    animation: twinkleStar 2s ease-in-out infinite;
}

.car-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
	    direction: rtl;
}

.car-info h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.price {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.car-specs {
    list-style: none;
    padding: 0;
}

.car-specs li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.car-specs li:last-child {
    border-bottom: none;
}

.car-specs li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.view-btn {
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(196, 19, 42, 0.3);
    align-self: flex-start;
}

.view-btn:hover {
    transform: translateY(-3px);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
}

.indicator-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.indicator-dot.active {
    background: var(--primary-color);
    width: 40px;
    border-radius: 10px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* MOBILE GALLERY FIX */
@media (max-width: 1024px) {
    .gallery-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }

    .gallery-carousel-wrapper {
        padding: 0 50px;
    }

    .gallery-card {
        padding: 25px;
        min-height: auto;
    }

    .car-image {
        height: 250px;
    }

    .car-info h3 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
}

@media (max-width: 480px) {
    .gallery-carousel-wrapper {
       /* padding: 0 40px;*/
        padding: 0;
    }

    .gallery-card {
        padding: 20px;
    }

    .car-image {
        height: 200px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn { left: 2px; }
    .next-btn { right: 2px; }
}

/* ================================================
   FORM SECTION
   ================================================ */

.request-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .request-form-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.form-container-main {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 55px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--border-color);
    position: relative;
    z-index: 2;
}

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

.form-icon-container i {
    font-size: 4.5rem;
    color: var(--primary-color);
}

.form-header-section h3 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 800;
}

.ramadan-offer-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-row-grid.full-width-row {
    grid-template-columns: 1fr;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding: 18px 50px 18px 18px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1.02rem;
    font-family: inherit;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(196, 19, 42, 0.1);
}

.input-wrapper label {
    position: absolute;
    top: 18px;
    left: 18px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1.02rem;
}

.input-wrapper input:focus + label,
.input-wrapper input:valid + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:valid + label,
.input-wrapper select:focus + label,
.input-wrapper select:valid + label,
.input-wrapper select.has-value + label {
    top: -13px;
    left: 14px;
    font-size: 0.88rem;
    background: var(--card-bg);
    padding: 0 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.3rem;
    pointer-events: none;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 130px;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23a08866' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.submit-form-btn {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.35rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-transform: uppercase;
    box-shadow: 0 12px 35px rgba(196, 19, 42, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-form-btn:hover {
    transform: translateY(-5px);
}

.btn-shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
}

/* Mobile Form */
@media (max-width: 768px) {
    .request-form-section {
        padding: 60px 0;
    }

    .form-container-main {
        padding: 35px 25px;
    }

    .form-row-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .form-container-main {
        padding: 30px 20px;
    }

    .input-wrapper input,
    .input-wrapper textarea,
    .input-wrapper select {
        padding: 15px 45px 15px 15px;
        font-size: 0.96rem;
    }

    .submit-form-btn {
        padding: 18px;
        font-size: 1.15rem;
    }
}


/* ============================================
   Part 4: FAQ, Contact & Footer
   ============================================ */

/* ================================================
   FAQ SECTION
   ================================================ */

.faq-section {
    padding: 100px 0;
    background: var(--card-bg);
    position: relative;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
	    direction: rtl;
}

.faq-item {
    background: var(--bg-color);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 22px 65px 22px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
	font-family: 'Droid Arabic Kufi';
}

.faq-question:hover {
    color: var(--primary-color);
    background: rgba(196, 19, 42, 0.03);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 19, 42, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 25px 25px;
    line-height: 1.9;
    font-size: 1.02rem;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 18px 55px 18px 20px;
        font-size: 1.05rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.98rem;
    }
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
}

.contact-grid {
   
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.info-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #d4243d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 500px;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-brand {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 70px;
    filter: brightness(0) invert(1);
    margin: 0 auto 20px;
}

.footer-tagline p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-ramadan-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(160, 136, 102, 0.15);
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid rgba(160, 136, 102, 0.3);
    color: var(--secondary-color);
    font-weight: 700;
}

.ramadan-icon {
    font-size: 1.5rem;
    animation: rotateMoon 10s linear infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
	    direction: rtl;
}

.footer-column h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ramadan-wish {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ================================================
   PRINT & ACCESSIBILITY
   ================================================ */

@media print {
    .ramadan-decorations-global,
    .section-ramadan-deco,
    .carousel-nav,
    .carousel-controls {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
.space {
    padding: 0 25px 25px !important;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1rem;
	font-weight: normal;
}

/* END OF CSS */

