/* Terms of Service Page Styling */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-intro {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.terms-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.terms-intro p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.terms-section h4 {
    color: #34495e;
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-section ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    list-style-type: disc;
}

.terms-section a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.terms-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.terms-footer {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.terms-footer p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terms-content {
        padding: 0 15px;
    }

    .terms-section h3 {
        font-size: 20px;
    }

    .terms-section h4 {
        font-size: 16px;
    }

    .terms-intro,
    .contact-info,
    .terms-footer {
        padding: 20px;
    }
}

/* Package Cards Styling */
.package-filter-row {
    background: #f8f9fa;
    padding: 20px 0;
    margin-bottom: 40px;
}

.package-filters {
    text-align: center;
}

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

.filter-btn {
    padding: 10px 20px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: #67469C;
    color: white;
    border-color: #67469C;
}

.packages-content {
    padding: 60px 0;
}

.package-col {
    margin-bottom: 30px;
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                      linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.package-card:hover .package-image img {
    transform: scale(1.05);
}

.package-content {
    padding: 25px;
}

.package-type {
    font-size: 12px;
    font-weight: 700;
    color: #67469C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.package-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.package-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.package-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.package-details .duration,
.package-details .destination {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-details .duration span,
.package-details .destination span {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.package-details .duration,
.package-details .destination {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.package-content .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background: #67469C;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.package-content .btn:hover {
    background: #5a3d8a;
    transform: translateY(-2px);
}

.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination-wrapper .pagination {
    display: inline-flex;
    gap: 10px;
}

.pagination-wrapper .pagination .page-link {
    padding: 10px 15px;
    background: white;
    color: #67469C;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-wrapper .pagination .page-link:hover,
.pagination-wrapper .pagination .page-item.active .page-link {
    background: #67469C;
    color: white;
    border-color: #67469C;
}

/* Responsive adjustments for package cards */
@media (max-width: 768px) {
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .package-content {
        padding: 20px;
    }
    
    .package-content h3 {
        font-size: 1.3rem;
    }
    
    .package-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Simple Itinerary Detail Styles - Matching Homepage */
.packages-content {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Simple responsive adjustments */
@media (max-width: 768px) {
    .packages-content {
        padding: 40px 0;
    }
}


