/* Pages CSS - For About, Privacy, Terms, Contact */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 4rem;
    margin-top: 75px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="rgba(255,255,255,0.1)" fill="none"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.page-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-icon:hover::before {
    opacity: 1;
}

.page-icon:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.page-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.page-icon:hover i {
    transform: scale(1.1);
}

/* Specific colors for different pages */
/* About page - info icon */
.page-header .page-icon i.fa-info-circle {
    color: #4caf50;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

/* Contact page - envelope icon */
.page-header .page-icon i.fa-envelope {
    color: #2196f3;
    text-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

/* Privacy page - shield icon */
.page-header .page-icon i.fa-shield-alt {
    color: #ff9800;
    text-shadow: 0 2px 10px rgba(255, 152, 0, 0.3);
}

/* Terms page - contract icon */
.page-header .page-icon i.fa-file-contract {
    color: #9c27b0;
    text-shadow: 0 2px 10px rgba(156, 39, 176, 0.3);
}

/* Page Container */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Typography */
.page-content h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.page-content h3 {
    color: #34495e;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.page-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.page-content ul,
.page-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    color: #555;
}

.page-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.page-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.page-content a {
    /* color: #667eea; */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.info-box h4 {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.info-box p {
    margin-bottom: 0;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(238, 90, 36, 0.08));
    border-left: 4px solid #ff6b6b;
    padding: 5px 0 5px 10px;
}

.warning-box h4 {
    color: #ff6b6b;
}

.success-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(102, 187, 106, 0.08));
    border-left: 4px solid #4caf50;
    padding: 5px 0 5px 10px;
}

.success-box h4 {
    color: #4caf50;
}

/* Contact Info Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .contact-icon::before {
    opacity: 1;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}

/* Different colors for different contact icons */
.contact-card:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    /* Green for email */
}

.contact-card:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    /* Blue for response time */
}

.contact-card:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    /* Orange for social media */
}

/* Business inquiries section */
.contact-grid:last-of-type .contact-card:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    /* Purple for business */
}

.contact-grid:last-of-type .contact-card:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #f44336, #ef5350);
    /* Red for legal */
}

.contact-grid:last-of-type .contact-card:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #607d8b, #78909c);
    /* Blue-grey for technical */
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #764ba2;
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn i {
    font-size: 1.1rem;
}

/* Social Links */
.social-links-page {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

/* Individual Social Media Colors */
.social-link[aria-label="Facebook"],
.social-link[title*="Facebook"] {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link[aria-label="Facebook"]:hover,
.social-link[title*="Facebook"]:hover {
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-link[aria-label="Twitter"],
.social-link[title*="Twitter"] {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link[aria-label="Twitter"]:hover,
.social-link[title*="Twitter"]:hover {
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.social-link[aria-label="Instagram"],
.social-link[title*="Instagram"] {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-link[aria-label="Instagram"]:hover,
.social-link[title*="Instagram"]:hover {
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4);
}

.social-link[aria-label="YouTube"],
.social-link[title*="YouTube"] {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link[aria-label="YouTube"]:hover,
.social-link[title*="YouTube"]:hover {
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.social-link[aria-label="Pinterest"],
.social-link[title*="Pinterest"] {
    background: linear-gradient(135deg, #bd081c, #e60023);
}

.social-link[aria-label="Pinterest"]:hover,
.social-link[title*="Pinterest"]:hover {
    box-shadow: 0 10px 25px rgba(189, 8, 28, 0.4);
}

.social-link[aria-label="LinkedIn"],
.social-link[title*="LinkedIn"] {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link[aria-label="LinkedIn"]:hover,
.social-link[title*="LinkedIn"]:hover {
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

/* Pulse animation on hover */
.social-link:hover {
    animation: socialPulse 0.6s ease-in-out;
}

@keyframes socialPulse {
    0% {
        transform: translateY(-3px) scale(1.1);
    }

    50% {
        transform: translateY(-5px) scale(1.15);
    }

    100% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon::before {
    opacity: 1;
}

.feature-item:hover .feature-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon i {
    transform: scale(1.1);
}

/* Different colors for different feature icons */
.feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    /* Green for destinations */
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    /* Orange for travel tips */
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    /* Purple for cultural insights */
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    /* Blue for seasonal info */
}

.feature-item:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    /* Light green for sustainable */
}

.feature-item:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #f44336, #ef5350);
    /* Red for deals */
}

.feature-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Last Updated */
.last-updated {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-container {
        padding: 3rem 0.5rem;
    }

    .page-content {
        padding: 2rem 1.5rem;
    }

    .page-content h2 {
        font-size: 1.6rem;
    }

    .page-content h3 {
        font-size: 1.3rem;
    }

    .contact-grid,
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-icon {
        width: 60px;
        height: 60px;
    }

    .page-icon i {
        font-size: 2rem;
    }

    .page-content {
        padding: 1.5rem;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Search Page Styles */
.search-container {
    min-height: calc(100vh - 200px);
    padding: 6rem 0 4rem;
    margin-top: 75px;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 5px 30px rgba(102, 126, 234, 0.2);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: translateY(-50%);
}

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

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

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

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

/* Search Results */
.search-results {
    max-width: 1200px;
    margin: 0 auto;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.search-results-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.clear-search-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-search-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.search-result-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.result-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.search-result-card h4 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.search-result-card h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-card h4 a:hover {
    color: #667eea;
}

.search-result-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.result-link:hover {
    color: #764ba2;
    gap: 0.8rem;
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.no-results-icon i {
    font-size: 3rem;
    color: #667eea;
}

.search-no-results h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.search-no-results p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Recommended Section */

.recommended-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.recommended-section .section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.recommended-section .section-icon i {
    font-size: 2.5rem;
    color: white;
}

.recommended-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.recommended-section .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-container {
        padding: 2rem 1rem 3rem;
    }

    .recommended-section .section-icon {
        width: 60px;
        height: 60px;
    }

    .search-header h1 {
        font-size: 2.2rem;
    }

    .search-header p {
        font-size: 1rem;
    }

    .search-box {
        margin-bottom: 3rem;
    }

    .search-input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .search-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .search-results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-result-card {
        padding: 1.5rem;
    }

    .recommended-section .section-title {
        font-size: 2rem;
    }

    .recommended-section .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .search-header h1 {
        font-size: 1.8rem;
    }

    .search-input {
        padding: 0.9rem 1rem;
    }

    .search-button {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        margin-top: 0;
        padding: 0.8rem;
        min-width: 50px;
        justify-content: center;
    }

    .search-button span {
        display: none;
    }

    .search-box {
        display: block;
    }

    .search-result-card {
        padding: 1.2rem;
    }

    .search-result-card h4 {
        font-size: 1.1rem;
    }

    .no-results-icon {
        width: 80px;
        height: 80px;
    }

    .no-results-icon i {
        font-size: 2.5rem;
    }

    .search-no-results h3 {
        font-size: 1.5rem;
    }
}

/* Ensure Culture Cards Display Correctly in Search Page */
.search-container .culture-grid-new {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

.search-container .culture-card-new {
    position: relative !important;
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    cursor: pointer !important;
    height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
}

.search-container .culture-card-bg {
    position: relative !important;
    height: 200px !important;
    overflow: hidden !important;
}

.search-container .culture-card-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.search-container .culture-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: white !important;
    backdrop-filter: blur(10px) !important;
    z-index: 3 !important;
    transition: all 0.3s ease !important;
}

.search-container .culture-card-content {
    padding: 1.5rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.search-container .culture-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 15px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    align-self: flex-start !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2) !important;
}

/* Responsive for Search Page Culture Cards */
@media (max-width: 1200px) {
    .search-container .culture-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .search-container .culture-grid-new {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }




    .search-container .culture-card-content {
        padding: 1.2rem !important;
    }
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.modal-icon.success {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    animation: successPulse 0.6s ease-out;
}

.modal-icon.error {
    background: linear-gradient(135deg, #f44336, #ef5350);
    animation: errorShake 0.6s ease-out;
}

.modal-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.modal-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    animation: iconGlow 0.8s ease-out 0.2s forwards;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: scale(1.1);
}

.modal-body {
    padding: 0 2rem 1.5rem;
    text-align: center;
}

.modal-message {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.modal-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.modal-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.modal-btn:active {
    transform: translateY(0);
}

.modal-btn i {
    font-size: 0.9rem;
}

/* Modal Animations */
@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes errorShake {

    0%,
    100% {
        transform: translateX(0) scale(0.8);
        opacity: 0;
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px) scale(1);
        opacity: 1;
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px) scale(1);
        opacity: 1;
    }
}

@keyframes iconGlow {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Form Loading States */
.submit-btn:disabled,
.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn .fa-spinner,
.newsletter-form .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.form-group input.success,
.form-group textarea.success,
.form-group select.success {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .modal-icon i {
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-message {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modal-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Enhanced Newsletter Form Styling - Commented out to use consistent style across all pages */
/*
.newsletter-form {
    position: relative;
}

.newsletter-form input[type="email"] {
    padding-right: 60px;
}

.newsletter-form button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    width: 50px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button[type="submit"]:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.newsletter-form button[type="submit"]:disabled {
    transform: translateY(-50%);
    opacity: 0.7;
}
*/
/* Search Results use the same styles as recommended cards from section-layouts.css?v=1 */
.search-results .culture-grid-new {
    margin-top: 2rem;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.search-results-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments for search results header */
@media (max-width: 768px) {
    .search-results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .search-results-header h3 {
        font-size: 1.3rem;
    }
}

/* Search Results Badge Colors - Match Recommended Cards */
.search-results .ancient-badge {
    background: rgba(184, 134, 11, 0.9);
}

.search-results .modern-badge {
    background: rgba(59, 130, 246, 0.9);
}

.search-results .festival-badge {
    background: rgba(239, 68, 68, 0.9);
}

.search-results .cuisine-badge {
    background: rgba(34, 197, 94, 0.9);
}

.search-results .celebration-badge {
    background: rgba(168, 85, 247, 0.9);
}

.search-results .architecture-badge {
    background: rgba(107, 114, 128, 0.9);
}