/* Enhanced Features CSS */

/* Search Page Styles */
.search-main {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.search-box-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    height: 60px;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    padding: 0 60px 0 20px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 50px;
    border-radius: 25px;
    padding: 0 20px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

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

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #007A3D;
    background: white;
    color: #007A3D;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #007A3D;
    color: white;
}

/* Search Results */
.search-results-grid {
    margin-top: 2rem;
}

.search-result-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.result-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.result-header h4 {
    margin: 0;
    flex: 1;
}

.result-category {
    background: #007A3D;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.popular-tag {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.popular-tag:hover {
    background: #007A3D;
    color: white;
}

/* Travel Packages Styles */
.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;
    margin-bottom: 2rem;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card.featured {
    border: 3px solid #007A3D;
}

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

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #CE1126;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.package-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.package-content {
    padding: 1.5rem;
}

.package-highlights {
    margin: 1rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 1rem 0;
}

.package-price .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007A3D;
}

.package-price .per-person {
    color: #666;
    font-size: 0.9rem;
}

/* Category Cards */
.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    color: #007A3D;
    margin-bottom: 1rem;
}

.package-count {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

/* News Styles */
.featured-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.article-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #007A3D;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.trending-news {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.trending-item {
    display: flex;
    gap: 15px;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.trending-date {
    font-size: 0.8rem;
    color: #666;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab.active,
.category-tab:hover {
    background: #007A3D;
    color: white;
    border-color: #007A3D;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #007A3D;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin: 1rem 0;
    color: #666;
    font-size: 0.8rem;
}

.read-more {
    color: #007A3D;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Feedback Styles */
.feedback-form-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 1rem 0;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ddd;
}

.star:hover,
.star.active {
    color: #ffc107;
}

.rating-text {
    margin-left: 15px;
    font-weight: 500;
    color: #666;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-country {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f8f9fa;
    font-size: 0.9rem;
    color: #666;
}

.review-type {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Visa Eligibility Styles */
.map-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.map-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.eligible {
    background: #007A3D;
}

.legend-color.visa-free {
    background: #28a745;
}

.legend-color.embassy {
    background: #ffc107;
}

.legend-color.not-allowed {
    background: #dc3545;
}

.world-map {
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #007A3D;
}

.country-info-panel {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.country-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.country-flag {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
}

.visa-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.visa-status.eligible {
    background: #007A3D;
    color: white;
}

.visa-status.visa-free {
    background: #28a745;
    color: white;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.detail-label {
    font-weight: 500;
    min-width: 120px;
}

.countries-grid {
    margin-top: 2rem;
}

.country-category {
    margin-bottom: 3rem;
}

.countries-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.flag-icon {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

.processing-badge {
    background: #007A3D;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: auto;
}

.processing-badge.extended {
    background: #ffc107;
    color: #000;
}

.processing-badge.visa-free {
    background: #28a745;
}

/* Statistics */
.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.stat-icon {
    font-size: 3rem;
    color: #007A3D;
    margin-bottom: 1rem;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007A3D;
    margin-bottom: 0.5rem;
}

/* Quick Links */
.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.quick-link-icon {
    font-size: 3rem;
    color: #007A3D;
    margin-bottom: 1rem;
}

/* Newsletter */
.newsletter-card {
    background: linear-gradient(135deg, #007A3D 0%, #005a2d 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.newsletter-content {
    flex: 1;
}

.newsletter-form {
    flex: 1;
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    height: 50px;
}

.newsletter-form .btn {
    border: none;
    height: 50px;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-filters .filter-buttons {
        justify-content: flex-start;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .package-card,
    .news-card,
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    .countries-list {
        grid-template-columns: 1fr;
    }
    
    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .search-input {
        height: 50px;
        font-size: 1rem;
        padding: 0 50px 0 15px;
    }
    
    .search-btn {
        height: 40px;
        padding: 0 15px;
    }
    
    .package-content,
    .news-content,
    .review-card {
        padding: 1rem;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

