/* ===== مكونات الواجهة - المنطلق الأول لتأجير السيارات ===== */
/* المؤلف: فريق المنطلق الأول | التحديث: يناير 2024 */

/* ===== الأزرار ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover:before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 36, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 36, 120, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(235, 139, 39, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(235, 139, 39, 0.4);
}

.btn-whatsapp {
    background: var(--gradient-whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px);
}

.btn-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.btn-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.4);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== الهيدر ===== */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 36, 120, 0.2);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar a {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-color);
    padding: 8px 0;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.navbar a:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar a:hover:after, .navbar a.active:after {
    width: 100%;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--light-color);
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* ===== القسم البطولي ===== */
.hero-slider {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(45, 36, 120, 0.85), rgba(45, 36, 120, 0.9)), url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-slider:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.slide-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.slide-content h2:after {
    display: none;
}

.slide-content .lead {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    color: var(--white);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* ===== قسم من نحن ===== */
.about-section {
    padding: 120px 0;
    background-color: var(--light-color);
    position: relative;
}

.about-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232d2478' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* ===== الإحصائيات ===== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ===== قسم السيارات ===== */
.featured-cars {
    padding: 120px 0;
    position: relative;
}

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

.section-header p {
    color: var(--gray-color);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.car-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.car-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.car-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.car-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(235, 139, 39, 0.3);
    z-index: 2;
}

.car-info {
    padding: 30px;
}

.car-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.car-specs i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.car-pricing {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.price-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.price-item span {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-bottom: 8px;
}

.price-item strong {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
}

.car-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-footer {
    text-align: center;
}

/* ===== قسم الميزات ===== */
.features-section {
    padding: 120px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background: var(--gradient-secondary);
}

/* ===== قسم الدعوة إلى الإجراء ===== */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
}

.cta-content h2:after {
    background: var(--gradient-secondary);
    right: 50%;
    transform: translateX(50%);
}

.cta-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== الفوتر ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(-5px);
}

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

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 24px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

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

.social-icons a:hover {
    background: var(--gradient-secondary);
    transform: translateY(-5px) scale(1.1);
}

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

/* ===== واتساب العائم ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--whatsapp-color);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
    min-height: 70px !important;
    min-width: 70px !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.floating-whatsapp:hover {
    background: #1da851;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* ===== قسم التوصيات ===== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonials-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text:before {
    top: -20px;
    right: 10px;
}

.testimonial-text:after {
    bottom: -40px;
    left: 10px;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info span {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    min-height: auto !important;
    min-width: 50px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--gradient-secondary);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    min-height: 12px;
    min-width: 12px;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== القسم البطولي للصفحات ===== */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.page-hero-content h1:after {
    display: none;
}

.page-hero-content .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    color: var(--white);
}

/* ===== قسم الفلترة ===== */
.filter-section {
    background: var(--light-color);
    padding: 40px 0;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.filter-group {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    background: var(--white);
    color: var(--dark-color);
    transition: var(--transition);
    min-height: 50px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 36, 120, 0.1);
}

/* ===== قسم العروض ===== */
.offers-section {
    padding: 100px 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.offer-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.offer-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.offer-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(235, 139, 39, 0.3);
    z-index: 2;
}

.offer-content {
    padding: 30px;
}

.offer-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.offer-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
}

.offer-expiry {
    color: var(--gray-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-expiry i {
    color: var(--danger-color);
}

/* ===== العد التنازلي ===== */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    min-width: 100px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: var(--white);
}

.countdown-label {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--white);
}

/* ===== قسم الاتصال ===== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* ===== قسم الأسئلة الشائعة ===== */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    text-align: right;
    background: none;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}

/* ===== إشعارات النظام ===== */
.notification {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-hover);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-right: auto;
    min-height: auto !important;
    min-width: auto !important;
}

/* === أنماط إضافية لتحسين تجربة الجوال === */

/* تحسين تجربة اللمس للجوال */
@media (hover: none) and (pointer: coarse) {
    .btn:before {
        display: none;
    }
    
    .navbar a:hover:after {
        width: 0;
    }
    
    .navbar a.active:after {
        width: 100%;
    }
    
    .car-card:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .stat-item:hover {
        transform: none;
    }
    
    .floating-whatsapp:hover {
        transform: none;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .contact-method-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .contact-details {
        width: 100%;
    }
    
    .social-contact .social-icon {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .social-contact .social-icon span {
        font-size: 0.8rem;
    }
}

/* تحسينات للوضع الأفقي على الجوال */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .contact-form textarea {
        min-height: 80px;
    }
    
    .page-hero {
        min-height: 300px;
    }
}

/* تحسينات للشاشات عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* تحسينات لأجهزة iPad والأجهزة اللوحية */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-method-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 15px;
    }
    
    .contact-buttons-group {
        align-items: center;
    }
    
    .social-contact .social-icons {
        justify-content: center;
    }
}