/* Mobile Responsive Styles */

/* Hero Slider Glass Effect Mobile */
/* تم إزالة التأثير الزجاجي */

/* Swiper Mobile Styles */
@media (max-width: 768px) {
    .consultants-swiper .swiper-button-next,
    .consultants-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .consultants-swiper .swiper-button-next::after,
    .consultants-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .consultants-swiper .swiper-pagination {
        margin-top: 15px;
    }
    
    .consultants-swiper .consultant-card {
        max-width: 270px;
    }
    
    .consultants-swiper .swiper-button-next,
    .consultants-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    /* Testimonials Swiper Mobile Styles */
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .testimonials-swiper .swiper-button-next::after,
    .testimonials-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .testimonials-swiper .swiper-pagination {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .consultants-swiper .swiper-button-next,
    .consultants-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .consultants-swiper .swiper-button-next::after,
    .consultants-swiper .swiper-button-prev::after {
        font-size: 12px;
    }
    
    .consultants-swiper .consultant-card {
        max-width: 260px;
        padding: 15px;
    }
    
    .consultants-swiper .consultant-avatar {
        width: 60px;
        height: 60px;
    }
    
    .consultants-swiper .consultant-name {
        font-size: 14px;
    }
    
    .consultants-swiper .consultant-specialization {
        font-size: 12px;
    }
    
    .consultants-swiper .swiper-button-next,
    .consultants-swiper .swiper-button-prev {
        display: none;
    }
    
    .consultants-swiper .swiper-pagination {
        margin-top: 10px;
    }
    
    /* Testimonials Swiper Mobile Small Styles */
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .testimonials-swiper .swiper-button-next::after,
    .testimonials-swiper .swiper-button-prev::after {
        font-size: 12px;
    }
    
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }
    
    .testimonials-swiper .swiper-pagination {
        margin-top: 10px;
    }
}

/* General Mobile Styles */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-slider {
        margin: 0;
        padding: 0;
        height: 300px;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        overflow: hidden;
        position: relative;
        top: 0;
        margin-top: 60px; /* وضع السلايدر أسفل الهيدر مع مسافة أكبر */
    }
    
    .hero-slider .carousel {
        height: 300px;
        border-radius: 0;
        overflow: hidden;
    }
    
    .hero-slider .carousel-item {
        height: 300px;
        border-radius: 0;
    }
    
    .hero-slider .slider-image-container {
        height: 300px;
        border-radius: 0;
        overflow: hidden;
    }
    
    .hero-slider .slider-image {
        height: 300px;
        width: 100%;
        object-fit: cover;
        object-position: center 60%;
        border-radius: 0;
    }
    
    .hero-slider .slider-overlay {
        border-radius: 0;
    }
    
    .hero-slider .carousel-caption {
        padding: 15px;
        justify-content: flex-end;
        bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
        border-radius: 0;
        z-index: 10;
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 1.2rem;
        margin-bottom: 5px;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        display: block;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 0.85rem;
        margin-bottom: 10px;
        color: rgba(255,255,255,0.95);
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        display: block;
    }
    
    .hero-slider .slider-buttons {
        flex-direction: row;
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .hero-slider .slider-buttons .btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .hero-slider .carousel-indicators {
        margin-bottom: 5px;
    }
    
    /* عرض القائمة العلوية في الشاشات الصغيرة (لا تخفها لكي تبقى ثابتة) */
    .main-nav {
        display: block;
    }
    
    /* تعديلات القائمة الجانبية */
    .sidebar-menu {
        width: 280px;
        top: 0;
        right: -280px;
    }
    
    .toggle-sidebar {
        position: fixed;
        top: calc(6px + 22.5px);
        transform: translateY(-50%);
        right: 5px;
        background: rgba(255,255,255,0.8);
        padding: 10px;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1100;
        display: flex;
    }
    
    .toggle-sidebar span {
        width: 20px;
        height: 2px;
        background-color: var(--primary-color);
    }
    
    /* تعديلات الأقسام الأخرى */
    .section-title, 
    .section-header h2,
    .why-choose-us-section .section-header h2,
    .how-to-use-section .section-header h2,
    .join-consultant-section .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        padding-top: 0.3rem;
    }
    
    .section-header p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    /* تعديلات قسم الخدمات */
    .services-row {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
    }
    
    .services-row .col-md-2 {
        width: 100%;
    }
    
    .service-card,
    .consultant-card,
    .stat-card {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .consultant-image-container {
        height: 180px;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }

    .testimonials-container {
        padding: 0 15px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .testimonial-card {
        width: 280px;
        min-width: 280px;
        padding: 20px;
    }

    .service-card {
        width: 180px;
        height: 180px;
        min-width: 180px;
        padding: 1.2rem;
    }

    .service-card i {
        font-size: 1.6rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .service-card p {
        font-size: 0.75rem;
    }

    .service-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .services-row .col-md-2 {
        width: 180px;
    }

    .consultant-card {
        min-width: 250px;
    }

    .client-avatar {
        width: 50px;
        height: 50px;
    }

    .client-name {
        font-size: 15px;
    }

    .client-position {
        font-size: 13px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    /* تعديلات قسم المستشارين */
    .consultants-section {
        padding: 40px 0;
        background: var(--light-blue);
        overflow: hidden;
        position: relative;
    }

    .consultants-section .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .consultants-section .section-title {
        padding: 0 15px;
        margin-bottom: 20px;
        margin-top: 0;
    }

    .consultants-container {
        width: 100%;
        overflow: visible;
        position: relative;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .consultants-section .swiper {
        width: 100%;
        padding: 0;
        margin: 0;
        overflow: visible;
    }

    .consultants-section .swiper-wrapper {
        padding: 10px 0;
        display: flex;
        align-items: center;
    }

    .consultants-section .swiper-slide {
        width: 85%;
        max-width: 300px;
        padding: 0;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
    }

    .consultants-section .swiper-slide-active {
        transform: scale(1);
    }

    .consultants-track {
        display: inline-flex;
        white-space: nowrap;
        animation: scroll linear infinite;
        will-change: transform;
    }

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

    .consultant-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
        box-shadow: 0 12px 30px rgba(39, 179, 246, 0.15);
    }

    .consultant-info {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .consultant-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--primary-color);
        margin-left: 15px;
        transition: all 0.3s ease;
    }

    .consultant-card:hover .consultant-avatar {
        border-color: var(--secondary-color);
        transform: scale(1.05);
    }

    .consultant-details {
        flex: 1;
    }

    .consultant-name {
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 3px;
        font-size: 16px;
    }

    .consultant-specialization {
        color: var(--secondary-color);
        font-size: 14px;
        margin-bottom: 3px;
    }

    .consultant-experience {
        color: var(--accent-color);
        font-size: 12px;
    }

    .consultant-rating {
        color: #ffa000;
        font-size: 14px;
        margin: 10px 0;
    }

    .consultant-price {
        color: #66BB6A;
        font-size: 16px;
        font-weight: 600;
        margin: 10px 0;
    }

    /* تأكيد لون السعر حتى مع وراثة لون النجوم */
    .consultants-swiper .consultant-rating .consultant-price {
        color: #66BB6A;
    }

    .consultant-skills {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 10px;
    }

    .skill-tag {
        background-color: var(--light-blue);
        color: var(--primary-color);
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 12px;
        transition: all 0.3s ease;
    }

    .skill-tag:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

    .badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 4px 12px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 500;
        box-shadow: 0 2px 10px rgba(39, 179, 246, 0.2);
    }

    #consultants-track-clone {
        position: absolute;
        top: 0;
        right: -100%;
    }

    /* تعديلات قسم الشهادات */
    .testimonials-track {
        padding: 0 15px;
    }
    
    .testimonial-card {
        min-width: 280px;
    }

    /* Services Section */
    .services-section {
        padding: 20px 10px;
    }

    .services-section .row {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 5px;
    }

    .services-section .col-md-2 {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .services-section .service-card {
        width: 100%;
        margin: 0 auto;
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: white;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(39, 179, 246, 0.12);
        border: 2px solid #e8eeff;
        min-height: 220px;
        transition: all 0.3s ease;
    }

    .services-section .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(39, 179, 246, 0.18);
        border-color: var(--primary-color);
    }

    .services-section .service-card i {
        font-size: 2.2rem;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 15px;
        display: block;
    }

    .services-section .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--light-blue), #e3f2fd);
        border-radius: 50%;
        border: 3px solid var(--primary-color);
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(39, 179, 246, 0.2);
    }

    .services-section .service-icon i {
        font-size: 1.8rem;
        color: var(--primary-color);
    }

    .services-section .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        color: var(--text-color);
        font-weight: 700;
        line-height: 1.4;
    }

    .services-section .service-card p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 18px;
        line-height: 1.6;
        flex-grow: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .services-section .service-card .btn,
    .services-section .service-card .service-btn {
        width: 100%;
        max-width: 200px;
        margin-top: auto;
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        white-space: nowrap;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(39, 179, 246, 0.3);
        transition: all 0.3s ease;
    }

    .services-section .service-card .btn:hover,
    .services-section .service-card .service-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(39, 179, 246, 0.4);
    }

    .services-section .service-card .btn i {
        font-size: 1rem;
        flex-shrink: 0;
    }

    /* Consultants Section */
    .consultants-section .consultant-card {
        margin: 10px;
        width: calc(100% - 20px);
    }

    .consultants-container {
        padding: 0 10px;
    }

    /* Testimonials Section */
    .testimonials-section .testimonial-card {
        margin: 10px;
        width: calc(100% - 20px);
    }

    /* Why Choose Us Section */
    .why-choose-us-section .feature-card {
        margin-bottom: 20px;
    }

    /* How to Use Section */
    .how-to-use-section .how-to-use-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .how-to-use-section .how-to-use-image {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 30px auto;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        float: none;
    }

    .how-to-use-section .how-to-use-image img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(39, 179, 246, 0.1);
        transform: none;
    }

    .how-to-use-section .how-to-use-steps {
        order: 1;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .how-to-use-section .step-item {
        background: white;
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(39, 179, 246, 0.1);
        border: 1px solid #e8eeff;
        width: 100%;
        max-width: 400px;
    }

    .how-to-use-section .step-title {
        background: var(--light-blue);
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.1rem;
        color: var(--text-color);
        border: 1px solid #e8eeff;
    }

    .how-to-use-section .step-title i {
        color: var(--primary-color);
        font-size: 1.2rem;
    }

    .how-to-use-section .step-content p {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }

    /* FAQ Section */
    .faq-section .faq-item {
        margin-bottom: 15px;
    }

    .faq-button {
        padding: 12px 15px;
    }

    .faq-button span {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }

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

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

    /* إخفاء أعمدة روابط سريعة وخدماتنا والنشرة البريدية في وضع الجوال */
    .footer .col-lg-2:nth-of-type(2),
    .footer .col-lg-3:nth-of-type(2),
    .footer .col-lg-3:nth-of-type(4) {
        display: none !important;
    }

    .social-links {
        justify-content: center;
    }

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

    .footer-bottom-links {
        margin-top: 15px;
        justify-content: center;
    }

    /* Join as Consultant Section */
    .join-consultant-section .join-options {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
        margin: 0 -10px;
        gap: 15px;
    }

    .join-consultant-section .join-option-card {
        flex: 0 0 auto;
        width: 200px;
        margin: 0;
        padding: 20px;
        min-width: 200px;
    }

    .join-consultant-section .join-option-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }

    .join-consultant-section .join-option-icon i {
        font-size: 1.5rem;
    }

    .join-consultant-section .join-option-card h3 {
        font-size: 1rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide scrollbar but keep functionality */
    .join-consultant-section .join-options::-webkit-scrollbar {
        display: none;
    }

    .join-consultant-section .join-options {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* إخفاء قسم خدماتنا في الفوتر */
    .footer .col-lg-3:nth-of-type(2) {
        display: none !important;
    }

    /* بطاقات الخصم التفاعلية */
    .consultants-section .discount-swiper {
        width: 100%;
        padding: 20px 0;
        margin-top: 20px;
    }

    .consultants-section .discount-swiper .swiper-wrapper {
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .consultants-section .discount-swiper .swiper-slide {
        width: 85%;
        max-width: 310px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }

    .consultants-section .discount-swiper .swiper-slide-active {
        transform: scale(1);
    }

    .consultants-section .discount-swiper .flip-card {
        margin: 0 auto;
        transform: scale(0.95);
    }

    .consultants-section .discount-swiper .swiper-slide-active .flip-card {
        transform: scale(1);
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .footer {
        padding: 25px 0 15px;
    }

    .footer h4 {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .testimonials-container {
        padding: 0 10px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }

    .testimonial-card {
        width: 280px;
        min-width: 280px;
        padding: 15px;
    }

    .consultant-card {
        min-width: 220px;
    }
    
    .consultant-image-container {
        height: 160px;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        margin: 0;
        height: 250px;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }
    
    .hero-slider .carousel,
    .hero-slider .carousel-item,
    .hero-slider .slider-image-container {
        height: 250px;
        border-radius: 0;
    }
    
    .hero-slider .slider-image {
        height: 250px;
        width: 100%;
        border-radius: 0;
    }
    
    .hero-slider .carousel-caption {
        padding: 5px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .hero-slider .slider-buttons {
        margin-bottom: 5px;
    }
    
    .hero-slider .slider-buttons .btn {
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    .services-section .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .services-section .col-md-2 {
        flex: 0 0 auto;
        width: 250px;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        margin: 220px auto 60px;
        max-width: 900px;
    }
    
    .hero-slider .carousel,
    .hero-slider .carousel-item {
        height: 400px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 1.1rem;
    }

    .services-section .col-md-2 {
        width: 50%;
    }

    /* تقليل المسافة بين بطاقات المستشارين وزر قائمة المستشارين */
    .consultants-section .text-center.mt-2 {
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .consultants-section .button {
        width: auto;
        min-width: 260px;
        height: auto;
        padding: 14px 28px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(39, 179, 246, 0.3);
        transition: all 0.3s ease;
        margin: 0 auto;
        white-space: nowrap;
        overflow: visible;
    }

    .consultants-section .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(39, 179, 246, 0.4);
    }

    .consultants-section .button i {
        font-size: 1.1rem;
        display: inline-block;
        flex-shrink: 0;
    }

    .consultants-section .button span {
        display: inline-block;
        white-space: nowrap;
    }
    
    .consultants-section .join-button {
        margin-top: 5px;
    }

    /* تقليل المسافة في قسم الشهادات */
    .testimonials-section {
        padding: 15px 0 !important;
    }

    /* تقليل المسافة في قسم انضم كمستشار */
    .join-consultant-section {
        padding: 3px 0 !important;
    }

    /* تقليل المسافة في قسم لماذا تختار منصة استشارة */
    .why-choose-us-section {
        padding: 5px 0 !important;
    }

    /* تقليل المسافة في قسم طريقة الاستخدام */
    .how-to-use-section {
        padding: 5px 0 !important;
    }

    .consultants-section .consultant-card {
        width: calc(50% - 20px);
    }

    .testimonials-section .testimonial-card {
        width: calc(50% - 20px);
    }
}

/* تأثيرات الحركة للقائمة الجانبية */
.sidebar-menu {
    transition: right 0.3s ease-out;
}

.toggle-sidebar span {
    transition: all 0.3s ease;
}

/* Hide scrollbar but keep functionality */
.consultants-container::-webkit-scrollbar {
    display: none;
}

.consultants-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* عرض العناوين العلوية في الشاشات الصغيرة (لا تخفها) */
@media (max-width: 768px) {
    /* تقليل المسافة العلوية للجسم ليتناسب مع ارتفاع الهيدر الجديد */
    html body {
        padding-top: 0;
    }
    
    /* إزالة padding-top من main-content لدمج السلايدر مع الهيدر */
    main,
    #main-content {
        padding-top: 0;
    }
    
    /* جعل main-content بحجم السلايدر */
    #main-content {
        min-height: 300px;
    }
    
    .main-nav {
        display: block;
        padding: 6px 0;
        min-height: 45px;
    }
    
    .main-nav .container {
        min-height: 45px;
        position: relative;
        padding: 0 10px;
        display: flex;
        align-items: center;
    }
    
    /* إخفاء قائمة التنقل وأزرار الإجراءات في وضع الجوال */
    .main-nav .nav-list,
    .main-nav .nav-actions {
        display: none;
    }
    
    /* إظهار الشعار على جانب الشاشة في وضع الجوال */
    .main-nav .container .nav-logo {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1050;
        height: auto;
        padding-left: 5px;
    }
    
    .main-nav .container .nav-logo img {
        height: 38px;
        width: auto;
        max-width: 120px;
    }
    
    /* التأكد من ظهور زر القائمة في نفس مستوى الشعار */
    .toggle-sidebar {
        display: flex;
        position: fixed;
        top: calc(6px + 22.5px);
        right: 5px;
        z-index: 1100;
        transform: translateY(-50%);
    }
}

/* Privacy Policy Mobile */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 0 1rem;
    }

    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .policy-section h2 {
        font-size: 1.3rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 0.95rem;
    }
} 