.itinerary-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.itinerary-container {
    display: flex;
    gap: 30px;
}

.itinerary-content {
    flex: 1;
}

.sticky-form-sidebar {
    width: 350px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.itinerary-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #e67e22;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e67e22;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.day-detail {
    margin-bottom: 30px;
}

.day-detail h3 {
    color: #e67e22;
    margin-bottom: 15px;
    font-size: 20px;
}

.day-detail p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.inclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.included, .excluded {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.included h3, .excluded h3 {
    color: #e67e22;
    margin-bottom: 15px;
    font-size: 18px;
}

.included ul, .excluded ul {
    list-style-type: none;
    padding: 0;
}

.included li, .excluded li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    color: #555;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pricing-table th, .pricing-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pricing-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.pricing-table tr:hover {
    background-color: #f9f9f9;
}

.note {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

.form-container {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container h3 {
    color: #e67e22;
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e67e22;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #d35400;
}

@media (max-width: 992px) {
    .itinerary-container {
        flex-direction: column;
    }
    
    .sticky-form-sidebar {
        width: 100%;
        position: static;
        margin-top: 30px;
    }
    
    .inclusion-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile CSS for Tour Hero Section */
@media only screen and (max-width: 767px) {
    .tour-hero {
        padding: 0;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
    }
    
    .image-slideshow {
        position: relative;
        height: 60vh;
        overflow: hidden;
    }
    
    .image-slideshow .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    .image-slideshow .slide.active {
        opacity: 1;
    }
    
    .image-slideshow img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .slide-nav {
        position: absolute;
        bottom: 15px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        background: rgba(0, 0, 0, 0.5);
        padding: 10px;
    }
    
    .slide-nav button {
        background: transparent;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    
    .slide-indicator {
        color: white;
        font-size: 16px;
    }
    
    .tour-description {
        padding: 20px;
    }
    
    .tour-description h1 {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .tour-highlights {
        font-size: 16px;
        color: #666;
        margin-bottom: 15px;
        font-weight: bold;
    }
    
    .tour-summary p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
}


/* Safari Tour Hero Image Adjustment */
.tour-hero .hero-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.tour-hero .image-slideshow {
    width: 50%;
}

.tour-hero .image-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-hero .tour-description {
    width: 50%;
}

@media (max-width: 768px) {
    .tour-hero .hero-container {
        flex-direction: column;
    }
    .tour-hero .image-slideshow,
    .tour-hero .tour-description {
        width: 100%;
    }
}