/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4A90E2;
    --light-blue: #87CEEB;
    --lighter-blue: #B0E0E6;
    --dark-blue: #2C5F8D;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #2C3E50;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    direction: rtl;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 30px 0;
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.main-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.circular-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.info-label {
    font-weight: 600;
    margin-left: 10px;
}

.info-value {
    font-weight: 400;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--light-blue) 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 400;
}

.organizers {
    margin-top: 30px;
}

.organizer-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    display: inline-block;
    min-width: 300px;
}

.organizer-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.organizer-card ul {
    list-style: none;
    text-align: right;
}

.organizer-card li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    position: relative;
    padding-right: 25px;
}

.organizer-card li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.section {
    background: var(--white);
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 10px var(--shadow);
}

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

.section-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle-text {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
    margin-right: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    margin: 0 auto;
    border-radius: 2px;
}

/* Introduction Section */
.intro-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
}

.content-box {
    padding: 20px;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-description {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
}

.pricing-table {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    border: 3px solid var(--primary-blue);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--lighter-blue);
}

.package-name {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    color: var(--gray);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price-note {
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    text-align: right;
}

.features-list li {
    padding: 12px 0;
    padding-right: 30px;
    color: var(--text-dark);
    font-size: 1.05rem;
    position: relative;
    border-bottom: 1px solid var(--light-gray);
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--lighter-blue);
}

.pricing-note p {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Itinerary Section */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue), var(--light-blue));
    transform: translateX(50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 200px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin: 0 20px;
    box-shadow: 0 3px 10px var(--shadow);
    border-right: 4px solid var(--light-blue);
}

.timeline-content h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Organization Section */
.organization-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.step-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px var(--shadow);
}

.step-title {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-description {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    border-right: 4px solid var(--primary-blue);
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details strong {
    color: var(--primary-blue);
    margin-left: 10px;
}

/* Services Section - رحلاتنا وتاريخنا */
.services-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-image-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    transition: transform 0.3s ease;
}

.service-image-card:hover {
    transform: translateY(-3px);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.service-image-card h3 {
    display: none;
}

.services-description {
    margin-top: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    border-right: 4px solid var(--primary-blue);
    text-align: center;
}

.services-description p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Buses Section - Simplified */
.buses-section {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
}

.cooperation-note {
    margin: 20px 0;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    border-right: 4px solid var(--primary-blue);
    text-align: center;
}

.cooperation-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

.buses-specs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.spec-item {
    padding: 10px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.buses-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
}

.gallery-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Hotels Section - Simplified */
.hotels-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
}

.hotels-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.hotel-image-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    transition: transform 0.3s ease;
}

.hotel-image-card:hover {
    transform: translateY(-3px);
}

.hotel-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.hotel-image-card h3 {
    padding: 15px;
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin: 0;
}

/* Organization Proposal Section - Simplified */
.organization-proposal-section {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
}

.proposal-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.proposal-day {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow);
    border-top: 4px solid var(--primary-blue);
}

.day-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.day-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.day-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

.supervisor-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    border-right: 4px solid var(--primary-blue);
    text-align: center;
}

.supervisor-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.supervisor-note strong {
    color: var(--primary-blue);
}

.technical-note {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
    border-radius: 8px;
    border: 2px solid var(--primary-blue);
    text-align: right;
}

.technical-note h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.technical-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Meals Section */
.meals-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--lighter-blue) 100%);
}

.meals-content {
    margin-top: 20px;
}

.meals-category {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    margin-bottom: 20px;
    border-right: 4px solid var(--primary-blue);
}

.category-title {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lighter-blue);
}

.meals-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.meal-option {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--lighter-blue);
}

.option-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.option-desc {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

.option-desc ul {
    list-style: none;
    margin-top: 10px;
    padding-right: 20px;
}

.option-desc ul li {
    padding: 5px 0;
    position: relative;
    padding-right: 0;
}

.hotel-meals {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--lighter-blue);
    margin-top: 15px;
}

.hotel-meals p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* Pricing Section - Simplified */
.pricing-section {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
}

.pricing-simple {
    margin-top: 20px;
}

.pricing-info {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 5px;
}

.info-row span {
    color: var(--text-dark);
    font-weight: 500;
}

.info-row strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.price-simple {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow);
    border: 2px solid var(--primary-blue);
}

.price-simple.total {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    border-color: var(--dark-blue);
}

.price-label {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.price-simple.total .price-label {
    color: var(--white);
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.price-simple.total .price-value {
    color: var(--white);
}

.price-value span {
    font-size: 1.2rem;
    font-weight: 500;
}

.price-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Thanks Section */
.thanks-section {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
}

.thanks-content {
    margin-top: 20px;
}

.thanks-message {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    border-right: 4px solid var(--primary-blue);
    text-align: center;
}

.thanks-message p {
    margin: 15px 0;
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.8;
}

.thanks-message p:first-child {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.whatsapp-note {
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 2px solid var(--lighter-blue);
    font-weight: 500;
    color: var(--text-dark) !important;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    min-height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        justify-content: center;
    }

    .logos-container {
        gap: 20px;
    }

    .main-logo {
        height: 80px;
    }

    .circular-logo {
        width: 80px;
        height: 80px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 25px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-gallery,
    .buses-gallery,
    .hotels-gallery,
    .proposal-simple,
    .pricing-cards,
    .pricing-info {
        grid-template-columns: 1fr;
    }

    .buses-specs {
        flex-direction: column;
    }

    .timeline:before {
        right: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-right: 50px;
    }

    .timeline-date {
        flex: 0 0 120px;
        font-size: 0.9rem;
        padding: 15px;
    }

    .timeline-content {
        margin-right: 20px;
        margin-left: 0;
    }

    .pricing-card {
        padding: 25px;
    }

    .amount {
        font-size: 2.5rem;
    }
}

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

    .logos-container {
        gap: 15px;
    }

    .main-logo {
        height: 60px;
    }

    .circular-logo {
        width: 60px;
        height: 60px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 20px;
    }

    .service-card,
    .step-card,
    .contact-card,
    .info-card,
    .hotel-card,
    .price-card {
        padding: 20px;
    }

    .price-number {
        font-size: 2rem;
    }

    .detail-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hotels-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles - تحسين الطباعة وتحويل PDF - تنظيم راقي */
@media print {
    /* إعدادات الصفحة الأساسية - أبعاد محسنة */
    @page {
        size: A4;
        margin: 2cm 1.5cm;
        marks: crop cross;
        /* إزالة رؤوس وتذييلات الصفحات (اسم الملف والتاريخ) */
        @top-center { content: ""; }
        @top-left { content: ""; }
        @top-right { content: ""; }
        @bottom-center { content: ""; }
        @bottom-left { content: ""; }
        @bottom-right { content: ""; }
    }

    /* إزالة العناصر غير الضرورية */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* إزالة رؤوس وتذييلات الصفحات (اسم الملف والتاريخ) */
    @page {
        margin-header: 0;
        margin-footer: 0;
    }

    body {
        background: white !important;
        color: #1a1a1a !important;
        font-size: 11pt;
        line-height: 1.6;
        font-family: 'Cairo', Arial, sans-serif;
        margin: 0;
        padding: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* التأكد من ظهور جميع العناصر */
    * {
        visibility: visible !important;
    }

    .container,
    .main-content,
    .section,
    header,
    footer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* إخفاء أي عناصر رأسية أو تذييلية */
    header::before,
    header::after,
    footer::before,
    footer::after,
    .header::before,
    .header::after,
    .footer::before,
    .footer::after {
        display: none !important;
        content: "" !important;
    }

    /* Header للطباعة - تصميم راقي */
    .header {
        background: linear-gradient(135deg, #2C5F8D 0%, #4A90E2 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: white !important;
        padding: 25px 0;
        page-break-after: avoid;
        margin-bottom: 25px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    .header .container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    .logos-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30pt;
    }

    .main-logo {
        height: 80pt !important;
        width: auto;
        filter: brightness(1.1);
    }

    .circular-logo {
        width: 80pt !important;
        height: 80pt !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2pt solid white !important;
    }

    /* Hero Section - تصميم راقي */
    .hero {
        background: linear-gradient(135deg, #E6F3FF 0%, #B0E0E6 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 35px 0;
        page-break-after: avoid;
        margin-bottom: 25px;
        border-bottom: 3px solid var(--primary-blue);
    }

    .hero-title {
        font-size: 20pt;
        color: #1a4d7a !important;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 12.5pt;
        color: #2C3E50 !important;
        line-height: 1.7;
        margin: 5px 0;
    }

    /* Main Content */
    .main-content {
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Sections - تنظيم راقي للصفحات */
    .section {
        page-break-inside: avoid;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
        border: 1px solid #d0d0d0 !important;
        border-top: 4px solid var(--primary-blue) !important;
        margin: 0 auto 15px auto !important;
        padding: 20px 15px !important;
        background: white !important;
        break-inside: avoid;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    /* آخر قسم لا يبدأ صفحة جديدة */
    .section:last-child {
        page-break-after: auto;
    }

    /* تنظيم الصفحات - صفحة 1: البداية + رحلاتنا */
    .hero {
        page-break-after: avoid;
    }

    .services-section {
        page-break-before: auto !important;
        page-break-after: always;
        padding: 18px 15px !important;
        max-height: 24cm;
    }

    /* صفحة 2: الباصات + الفنادق */
    .buses-section {
        page-break-before: always !important;
        page-break-after: avoid !important;
        margin-bottom: 0 !important;
        padding-bottom: 8px !important;
        max-height: 13cm;
    }

    .hotels-section {
        page-break-before: avoid !important;
        page-break-after: always !important;
        margin-top: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* صفحة 3: التنظيم + الوجبات */
    .organization-proposal-section {
        page-break-before: always !important;
        page-break-after: avoid !important;
        margin-bottom: 0 !important;
        padding-bottom: 8px !important;
    }

    .meals-section {
        page-break-before: avoid !important;
        page-break-after: always !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* صفحة 4: السعر + الشكر */
    .pricing-section {
        page-break-before: always !important;
        page-break-after: avoid !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .thanks-section {
        page-break-before: avoid !important;
        page-break-after: auto;
        margin-top: 0 !important;
        padding-top: 8px !important;
    }

    /* العناوين - تصميم راقي */
    .section-title {
        font-size: 18pt;
        color: #1a4d7a !important;
        page-break-after: avoid;
        margin-bottom: 18px;
        font-weight: 700;
        text-align: center;
        padding-bottom: 8px;
        border-bottom: 3px solid var(--primary-blue);
    }

    .subtitle-text {
        font-size: 12pt;
        color: #666 !important;
        font-weight: 400;
    }

    .title-underline {
        display: none;
    }

    /* النصوص */
    .intro-text {
        font-size: 11pt;
        line-height: 1.6;
        color: black !important;
        text-align: justify;
    }

    /* Services Gallery - رحلاتنا وتاريخنا - تصميم راقي - صور أكبر ومنظمة */
    .services-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        page-break-inside: avoid;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }

    .service-image-card {
        page-break-inside: avoid;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        overflow: visible;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        background: white;
        padding: 4px;
    }

    .service-image {
        height: auto !important;
        max-height: 160px !important;
        width: 100%;
        object-fit: contain;
        display: block;
    }

    .service-image-card h3 {
        display: none;
    }

    .services-description {
        margin-top: 15px !important;
        padding: 15px;
        background: white !important;
        border: 1px solid #d0d0d0;
        border-right: 3px solid var(--primary-blue);
        border-radius: 6px;
        page-break-inside: avoid;
        text-align: center;
    }

    .services-description p {
        margin: 0;
        font-size: 10.5pt;
        line-height: 1.7;
        color: #1a1a1a !important;
        font-weight: 500;
    }

    /* Buses Section - دمج مع الفنادق - تصميم راقي */
    .cooperation-note {
        margin: 10px 0 !important;
        padding: 12px;
        page-break-inside: avoid;
        background: #f8f9fa !important;
        border: 1px solid #d0d0d0;
        border-right: 3px solid var(--primary-blue);
        border-radius: 6px;
    }

    .cooperation-note p {
        font-size: 10pt;
        font-weight: 600;
        color: #1a1a1a !important;
        margin: 0;
    }

    .buses-specs {
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        margin: 12px 0 !important;
        padding: 10px;
        page-break-inside: avoid;
        background: #f8f9fa;
        border-radius: 6px;
    }

    .spec-item {
        font-size: 9pt;
        padding: 8px 12px;
        background: var(--primary-blue) !important;
        color: white !important;
        border-radius: 5px;
        font-weight: 600;
        flex: 1;
        text-align: center;
        white-space: nowrap;
    }

    .buses-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        page-break-inside: avoid;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .gallery-item {
        page-break-inside: avoid;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .gallery-image {
        height: 100px !important;
        width: 100%;
        object-fit: cover;
    }

    /* Hotels Section - دمج مع الباصات - تصميم راقي */
    .hotels-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        page-break-inside: avoid;
        margin-top: 12px !important;
    }

    .hotel-image-card {
        page-break-inside: avoid;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .hotel-image {
        height: 90px !important;
        width: 100%;
        object-fit: cover;
    }

    .hotel-image-card h3 {
        display: none;
    }

    /* Proposal Simple - دمج مع عرض السعر - تصميم راقي */
    .proposal-simple {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        page-break-inside: avoid;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .proposal-day {
        page-break-inside: avoid;
        padding: 15px;
        border: 2px solid #e0e0e0;
        border-top: 4px solid var(--primary-blue);
        border-radius: 6px;
        background: #fafafa;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    .day-date {
        font-size: 13pt;
        font-weight: 700;
        color: var(--primary-blue) !important;
        margin-bottom: 8px;
    }

    .day-title {
        font-size: 10.5pt;
        font-weight: 600;
        color: #2C3E50 !important;
        margin-bottom: 6px;
    }

    .day-desc {
        font-size: 9.5pt;
        color: #555 !important;
        line-height: 1.5;
    }

    .supervisor-note {
        margin-top: 10px !important;
        padding: 10px;
        font-size: 9pt;
        page-break-inside: avoid;
    }

    .technical-note {
        margin-top: 12px !important;
        padding: 15px;
        page-break-inside: avoid;
        border: 2px solid var(--primary-blue) !important;
    }

    .technical-note h4 {
        font-size: 11pt;
        margin-bottom: 8px;
    }

    .technical-note p {
        font-size: 9.5pt;
        line-height: 1.6;
    }

    /* Meals Section - تصميم راقي */
    .meals-content {
        margin-top: 10px !important;
    }

    .meals-category {
        padding: 15px;
        margin-bottom: 12px !important;
        page-break-inside: avoid;
    }

    .category-title {
        font-size: 13pt;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }

    .meals-options {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 10px !important;
    }

    .meal-option {
        padding: 12px;
        page-break-inside: avoid;
    }

    .option-number {
        font-size: 10pt;
        margin-bottom: 8px;
    }

    .option-desc {
        font-size: 9pt;
        line-height: 1.6;
    }

    .option-desc ul {
        margin-top: 6px;
        padding-right: 15px;
    }

    .option-desc ul li {
        padding: 3px 0;
        font-size: 8.5pt;
    }

    .hotel-meals {
        padding: 12px;
        margin-top: 10px !important;
    }

    .hotel-meals p {
        font-size: 10pt;
    }

    /* Pricing Section - دمج مع التنظيم - تصميم راقي */
    .pricing-simple {
        margin-top: 12px !important;
    }

    .pricing-info {
        padding: 15px;
        margin-bottom: 15px !important;
        gap: 10px;
        page-break-inside: avoid;
        background: #f8f9fa;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
    }

    .info-row {
        padding: 10px 12px;
        font-size: 10pt;
        background: white;
        border-radius: 4px;
        border-right: 3px solid var(--primary-blue);
    }

    .info-row span {
        color: #555 !important;
        font-weight: 500;
    }

    .info-row strong {
        font-size: 11pt;
        color: var(--primary-blue) !important;
        font-weight: 700;
    }

    .pricing-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        page-break-inside: avoid;
    }

    .price-simple {
        page-break-inside: avoid;
        padding: 20px;
        border: 3px solid var(--primary-blue) !important;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .price-simple.total {
        background: linear-gradient(135deg, #2C5F8D 0%, #4A90E2 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: white !important;
        border-color: #1a4d7a !important;
    }

    .price-label {
        font-size: 10pt;
        color: #666 !important;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .price-simple.total .price-label {
        color: rgba(255,255,255,0.9) !important;
    }

    .price-value {
        font-size: 28pt;
        font-weight: 700;
        color: var(--primary-blue) !important;
        line-height: 1.2;
    }

    .price-simple.total .price-value {
        color: white !important;
    }

    .price-value span {
        font-size: 14pt;
        font-weight: 600;
    }

    .price-note {
        font-size: 9pt;
        color: #777 !important;
        margin-top: 8px;
    }

    /* Thanks Section - تصميم راقي */
    .thanks-section {
        page-break-before: auto;
        page-break-after: auto;
    }

    .thanks-message {
        padding: 20px;
        page-break-inside: avoid;
    }

    .thanks-message p {
        font-size: 11pt;
        line-height: 1.7;
        color: #1a1a1a !important;
    }

    .thanks-message p:first-child {
        font-size: 12pt;
        font-weight: 600;
        color: var(--primary-blue) !important;
    }

    .whatsapp-note {
        font-size: 10.5pt;
        margin-top: 15px !important;
        padding-top: 15px;
    }

    /* Footer - تصميم راقي */
    .footer {
        background: linear-gradient(135deg, #1a4d7a 0%, #2C5F8D 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: white !important;
        padding: 15px 0;
        page-break-before: auto;
        margin-top: 20px;
        border-top: 3px solid var(--primary-blue);
    }

    .footer-content {
        padding: 0 20px;
        min-height: 10px;
    }

    /* إزالة الحركات والتأثيرات */
    * {
        animation: none !important;
        transition: none !important;
    }

    /* إخفاء العناصر غير الضرورية */
    script,
    .no-print {
        display: none !important;
    }

    /* تحسين عرض الألوان */
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* ضمان عدم تقسيم الجداول والقوائم */
    table,
    ul,
    ol {
        page-break-inside: avoid;
    }

    /* تحسين عرض القوائم */
    ul li,
    ol li {
        page-break-inside: avoid;
        margin-bottom: 5px;
    }

    /* تحسين عرض الصور */
    img {
        max-width: 100%;
        height: auto;
        page-break-inside: avoid;
    }

    /* تحسين المسافات بين الأقسام */
    .section + .section {
        margin-top: 0;
    }

    /* تحسين عرض البطاقات */
    .service-card,
    .step-card,
    .contact-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 15px;
    }

    /* تحسين عرض الجداول الزمنية */
    .timeline-item,
    .proposal-item {
        page-break-inside: avoid;
    }

    /* تحسين عرض المعلومات */
    .info-card,
    .gallery-item,
    .hotel-card {
        page-break-inside: avoid;
    }

    /* تحسين المسافات - تنظيم راقي */
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* تحسين الخطوط - جودة عالية */
    body,
    p,
    li {
        font-size: 11pt;
        color: #1a1a1a !important;
    }

    h1 { 
        font-size: 22pt; 
        font-weight: 700;
        color: #1a4d7a !important;
    }
    h2 { 
        font-size: 18pt; 
        font-weight: 700;
        color: #1a4d7a !important;
    }
    h3 { 
        font-size: 15pt; 
        font-weight: 600;
        color: #2C3E50 !important;
    }
    h4 { 
        font-size: 13pt; 
        font-weight: 600;
        color: #2C3E50 !important;
    }

    /* تحسين جودة الصور */
    img {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* إزالة العناصر غير الضرورية */
    script,
    .no-print {
        display: none !important;
    }

    /* التأكد من ظهور جميع العناصر المهمة */
    h1, h2, h3, h4, h5, h6 {
        visibility: visible !important;
        display: block !important;
        color: #1a4d7a !important;
        page-break-after: avoid;
    }

    p, div, section, article {
        visibility: visible !important;
        display: block !important;
        color: #1a1a1a !important;
    }

    span, strong, em {
        display: inline !important;
        visibility: visible !important;
        color: inherit !important;
    }

    ul, ol {
        visibility: visible !important;
        display: block !important;
        margin: 10px 0 !important;
        padding-right: 25px !important;
    }

    li {
        visibility: visible !important;
        display: list-item !important;
        color: #1a1a1a !important;
    }

    table {
        visibility: visible !important;
        display: table !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }

    img {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important;
    }

    /* تحسين الجداول والقوائم */
    table,
    ul,
    ol {
        page-break-inside: avoid;
    }

    ul li,
    ol li {
        page-break-inside: avoid;
        margin-bottom: 4px;
    }

    /* إزالة رؤوس وتذييلات الصفحات الافتراضية (اسم الملف والتاريخ) */
    @page {
        margin-top: 2cm;
        margin-bottom: 2cm;
        margin-left: 1.5cm;
        margin-right: 1.5cm;
    }

    /* إخفاء أي نص تلقائي من المتصفح */
    body::before,
    body::after,
    html::before,
    html::after {
        display: none !important;
        content: "" !important;
    }
}
