/* Custom Styles for VisaGuide */

/* Logo Styles */
.logo {
    height: auto;
    max-width: 100%;
    transition: all 0.3s ease;
}

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

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo {
        max-height: 1.5rem;
    }
}

@media (min-width: 769px) {
    .logo {
        max-height: 2.0rem;
    }
}

/* Hero Section with Video Background */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/static/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.4) 0%, transparent 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 1200px;
    padding: 0 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: white;
}

.hero-content .flex-1 h1,
.hero-content .flex-1 p {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
}

/* Enhanced Search Bar */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: #374151;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #9CA3AF;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    overflow: hidden;
    z-index: 100;
}

/* Enhanced Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

/* Enhanced Country Cards */
.country-card {
    background: white;
    border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    will-change: transform;
}

.country-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.country-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.2);
}

.country-card:hover::after {
    opacity: 1;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 24px; /* Match parent */
}

.country-card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Enhanced Flag Display */
.country-flag-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.country-card:hover .country-flag-container {
    transform: scale(1.1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 25px rgba(0, 0, 0, 0.1);
}

.country-flag {
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.country-card:hover .country-flag {
    transform: scale(1.1);
}

/* Enhanced Typography */
.country-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

.country-card:hover .country-title {
    color: #3b82f6;
}

.country-region {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.country-summary {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced Visa Status Badge */
.visa-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.visa-status-required {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #fbbf24;
}

.visa-status-free {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #10b981;
}

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

/* Card Footer */
.country-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.visa-types-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.visa-type-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.visa-type-tag:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.more-types-indicator {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    font-style: italic;
}

/* Learn More Button Effect */
.learn-more-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid transparent;
}

.learn-more-button:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateX(4px);
}

.learn-more-arrow {
    transition: transform 0.3s ease;
}

.learn-more-button:hover .learn-more-arrow {
    transform: translateX(4px);
}

/* Grid Layout Improvements */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Search Result Cards - Consistent Styling */
.search-result-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.search-result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.search-result-card-content {
    padding: 1.75rem;
}

.search-result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-result-flag {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.search-result-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.search-result-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #visaTypes { grid-template-columns: 1fr; }
    .visa-info-grid { grid-template-columns: 1fr; }
    
    .country-card-content {
        padding: 1.5rem;
    }
    
    .country-flag-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .country-flag {
        font-size: 2.5rem;
    }
    
    .country-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .country-card-content {
        padding: 1.25rem;
    }
    
    .country-flag-container {
        width: 50px;
        height: 50px;
    }
    
    .country-flag {
        font-size: 2rem;
    }
    
    .country-title {
        font-size: 1.25rem;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
}

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

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        max-height: 70vh;
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-input {
        padding: 16px 50px 16px 20px;
        font-size: 16px;
    }
    
    .search-button {
        padding: 10px 16px;
    }
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Font Classes */
.font-inter { font-family: 'Inter', sans-serif; }

.bubble-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 260px;
    font-weight: 500;
}

.bubble-link:nth-child(2) {
    transform: translateX(-50px);
}
.bubble-link:nth-child(4) {
    transform: translateX(-25px);
}

.bubble-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.bubble-link:nth-child(2):hover {
    transform: translateX(-50px) scale(1.05);
}

.bubble-link:nth-child(4):hover {
    transform: translateX(-25px) scale(1.05);
}

.bubble-link i {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Visa Planner Bar */
.visa-planner-bar {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1100px;
    background: white;
    border-radius: 50px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.planner-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    border-right: 1px solid #e5e7eb;
    color: #374151;
}

.planner-item:last-of-type {
    border-right: none;
}

.planner-item i {
    font-size: 1.8rem;
    color: #6b7280;
}

.planner-item div {
    display: flex;
    flex-direction: column;
}

.planner-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.planner-value {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
}

.planner-button {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 20px;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.planner-button:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6);
    transform: translateY(-2px);
}

/* New Green Theme Styles */
.hero-section-green {
    height: calc(100vh - 80px); /* Full viewport height minus navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero-content-green {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.hero-lottie-globe {
    width: 600px !important;
    height: 600px !important;
    position: absolute;
    opacity: 0.2;
}

.hero-text-container {
    z-index: 1;
}

.hero-heading-discover, .hero-heading-world {
    font-size: 12rem;
    font-weight: 900;
    line-height: 0.9;
    color: white;
    text-transform: uppercase;
    letter-spacing: -5px;
}

.hero-heading-discover {
    color: #90EBCD; /* Light accent green */
}

.hero-image-discover {
    position: absolute;
    width: 250px;
    height: auto;
    bottom: -50px;
    left: 50%;
    transform: translateX(-40%);
    z-index: 1;
    transition: transform 0.3s ease;
}
.hero-image-discover:hover {
    transform: translateX(-40%) scale(1.05);
}

/* Main Content Cards */
.stats-card-green, .destination-finder-green {
    background-color: #D4F4E8; /* Lighter green */
    border-radius: 2rem;
    padding: 2rem;
    color: #0B3D34;
}

.arrow-button-green {
    background-color: transparent;
    border: 1px solid #90EBCD;
    color: #0B3D34;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: auto;
}
.arrow-button-green:hover {
    background-color: #0B3D34;
    color: white;
}

.arrow-button-green-filled {
    background-color: #0B3D34;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.arrow-button-green-filled:hover {
    transform: scale(1.1);
}

/* Destination Finder Form */
.form-group-green label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0B3D34;
}
.input-wrapper-green {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #E6F8F2;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}
.input-wrapper-green i {
    color: #555;
    margin-right: 0.75rem;
}
.input-wrapper-green input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: #0B3D34;
    font-weight: 500;
}
.search-button-green {
    width: 100%;
    height: 100%;
    background-color: #0B3D34;
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.search-button-green:hover {
    background-color: #082f28;
}
.form-group-green {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Klook Inspired Design */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f1f1f1; /* Fallback color */
    color: #374151; /* Default dark text color */
    font-family: 'Inter', sans-serif;
}

.hero-klook {
    height: 100vh;
    display: flex;
    background-image: url('/static/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 6rem;
    box-sizing: border-box;
    transition: background-image 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    position: relative;
}

/* Add subtle gradient overlay to match page theme */
.hero-klook::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.05) 0%, 
        rgba(59, 130, 246, 0.05) 25%,
        rgba(99, 102, 241, 0.03) 50%,
        rgba(20, 184, 166, 0.02) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Only make specific text elements white in hero-klook, not everything */
.hero-klook h1,
.hero-klook h2,
.hero-klook h3,
.hero-klook h4,
.hero-klook h5,
.hero-klook h6,
.hero-klook p:not(.search-box-klook p),
.hero-klook .city-item,
.hero-klook .filter-buttons-klook button {
    color: white;
}

.hero-klook-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem; /* Adds space between the carousel and scroll indicator */
    position: relative;
    z-index: 2;
}

.city-carousel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 2rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.city-carousel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(20, 184, 166, 0.6) 0%, 
        rgba(59, 130, 246, 0.8) 50%, 
        rgba(20, 184, 166, 0.6) 100%
    );
}

.city-item {
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 1rem;
}

.city-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.city-item.active {
    font-size: 5rem;
    color: white;
    transform: translateX(1rem);
}

.city-item.semi-active {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.city-item.distant {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.city-item.active::before {
    background: none;
    border-radius: 0;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 15px solid #14b8a6;
    left: -2.5rem;
    filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.4));
}

.hero-klook-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-left: 4rem;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.search-and-filter-klook {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    width: 100%;
}

.search-box-klook {
    background: white;
    border-radius: 50px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 1px rgba(20, 184, 166, 0.1);
    text-shadow: none;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box-klook:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(20, 184, 166, 0.2);
    transform: translateY(-2px);
}

.search-box-klook:focus-within {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2), 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.search-box-klook i {
    color: #888;
    margin: 0 1rem;
}

.search-box-klook input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
}

.search-box-klook button {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.search-button-klook:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.filter-buttons-klook {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 640px;
    align-self: center;
    justify-content: center;
}

.filter-buttons-klook button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-weight: 500;
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.filter-buttons-klook button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(20, 184, 166, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
}

.filter-buttons-klook button:hover::before {
    left: 100%;
}

.filter-buttons-klook button:hover {
    background: rgba(20, 184, 166, 0.3);
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.filter-buttons-klook button i {
    margin-right: 0.5rem;
}

.gallery-klook img:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Navbar Styles */
#navbar {
    background: linear-gradient(135deg, #0d9488, #2563eb);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(13, 148, 136, 0.3);
}

#navbar .nav-link {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

#navbar .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

#navbar .text-2xl {
    color: white;
}

#navbar .nav-contact-button {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#navbar .nav-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
}

.hero-section #navbar,
.hero-section #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-section #navbar .nav-link,
.hero-section #navbar.scrolled .nav-link {
    color: #1f2937;
}

.hero-section #navbar .nav-link:hover,
.hero-section #navbar.scrolled .nav-link:hover {
    color: #14b8a6;
}

.hero-section #navbar .text-2xl,
.hero-section #navbar.scrolled .text-2xl {
    color: #1f2937;
}

.hero-section #navbar .nav-contact-button,
.hero-section #navbar.scrolled .nav-contact-button {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
}

#navbar.scrolled {
    background: linear-gradient(135deg, #0d9488, #2563eb);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(13, 148, 136, 0.4);
}

#navbar.scrolled .nav-link {
    color: white;
}

#navbar.scrolled .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

#navbar.scrolled .text-2xl {
    color: white;
}

#navbar.scrolled .nav-contact-button {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
}

/* Live Search Results */
.search-results-klook {
    display: none;
    position: absolute;
    top: 60px; /* Position below the search bar */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 100;
    padding: 0.5rem 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.search-result-item:hover {
    background-color: #f7f7f7;
}

.search-result-item .flag {
    font-size: 2rem;
}

.search-result-item strong {
    font-weight: 600;
    display: block;
}

.search-result-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    /* Truncate long summaries for preview */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 400px; /* Adjust as needed */
}

/* Enhanced search result styles */
.search-result-item.see-all-results {
    background-color: #f8fafc;
    border-top: 2px solid #e2e8f0;
    font-weight: 500;
}

.search-result-item.see-all-results:hover {
    background-color: #e2e8f0;
}

.search-result-item.see-all-results .see-all-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
}

.search-result-item.see-all-results strong {
    color: #3b82f6;
    font-size: 0.95rem;
}

.search-result-item.see-all-results p {
    color: #6b7280;
    font-size: 0.85rem;
}

.search-result-item.no-results {
    background-color: #fef2f2;
    cursor: default;
    pointer-events: none;
}

.search-result-item.no-results .no-results-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
}

.search-result-item.no-results strong {
    color: #dc2626;
    font-size: 0.95rem;
}

.search-result-item.no-results p {
    color: #7f1d1d;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-klook {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        gap: 3rem;
        text-align: center;
    }

    .hero-klook-left {
        order: 2; /* Move carousel below search */
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .hero-klook-right {
        order: 1; /* Move search above carousel */
        padding-left: 0;
        width: 100%;
        max-width: 640px;
        align-items: center;
    }

    .city-carousel {
        padding-left: 0;
        align-items: center;
    }

    .city-carousel::before, .city-item.active::before {
        display: none; /* Hide the vertical line and arrow on smaller screens */
    }

    .city-item.active {
        font-size: 4rem;
        transform: none;
    }

    .city-item.semi-active {
        font-size: 1.8rem;
    }

    .city-item.distant {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    #navbar .hidden {
        display: none;
    }

    .hero-klook {
        padding: 3rem 1rem;
    }
    
    .city-item.active {
        font-size: 3.5rem;
    }

    .city-item.semi-active {
        font-size: 1.5rem;
    }

    .city-item.distant {
        font-size: 1.1rem;
    }

    .filter-buttons-klook {
        flex-direction: column;
        align-items: stretch;
    }

    /* Mobile search results styling */
    .search-results-klook {
        max-height: 300px;
        margin-top: 8px;
    }

    .search-result-item {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .search-result-item .flag {
        font-size: 1.5rem;
    }

    .search-result-item p {
        font-size: 0.85rem;
        max-width: 250px;
        -webkit-line-clamp: 1;
    }

    .search-result-item strong {
        font-size: 0.9rem;
    }
}

/* Navbar spacing fix for pages that need top padding */
.navbar-spaced {
    padding-top: 80px;
    /* color: #1f2937; */ /* No longer needed here, set on body */
}

/* Responsive navbar spacing */
@media (max-width: 768px) {
    .navbar-spaced {
        padding-top: 70px;
    }
}

/* UAE Special Hero with 3D Floating Card */
.uae-hero-card {
    position: relative;
    min-height: 350px;
    background: linear-gradient(135deg, #1a365d 0%, #2b5797 50%, #4a90a4 100%);
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0;
    color: white;
}

.uae-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 350px;
    position: relative;
    overflow-x: hidden;
}

.uae-hero-left {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.uae-hero-left h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.uae-hero-left p {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.uae-hero-left .text-lg {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* 3D Card Container - Allow overflow */
.uae-card-3d-container {
    position: absolute;
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    perspective: 1000px;
    z-index: 15;
}

.uae-floating-card {
    width: 350px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% { 
        transform: rotateY(-15deg) rotateX(5deg) translateZ(0px);
    }
    50% { 
        transform: rotateY(-15deg) rotateX(5deg) translateZ(20px);
    }
}

.uae-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.uae-card-front {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2b5797 50%, #4a90a4 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.uae-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: 20px;
    pointer-events: none;
}

.uae-card-front::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.uae-card-content-3d {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Card Header */
.uae-card-header {
    position: relative;
    margin-bottom: 16px;
}

.uae-geometric-pattern {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    background-image: url('https://i.pinimg.com/736x/0f/16/e1/0f16e1696165cdc1bf8722f7b917d37a.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    opacity: 0.3;
    filter: brightness(1.5);
}

.uae-card-title h3 {
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.uae-card-title p {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

/* Card Body */
.uae-card-body {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: 'Oswald', sans-serif;
}

.uae-card-body .text-xs {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.uae-card-body .font-bold {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.uae-skyline {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.3) 60%,
        rgba(255, 255, 255, 0.1) 80%,
        rgba(255, 255, 255, 0.2) 100%
    );
    clip-path: polygon(
        0% 100%, 10% 70%, 15% 80%, 25% 40%, 35% 60%, 
        45% 30%, 55% 50%, 65% 20%, 75% 45%, 85% 35%, 
        95% 55%, 100% 65%, 100% 100%
    );
    opacity: 0.6;
}

/* Card Footer */
.uae-card-footer {
    margin-top: auto;
}

.uae-chip {
    width: 32px;
    height: 24px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 4px;
    position: relative;
}

.uae-chip::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Entry animation */
.uae-floating-card {
    animation: cardEnter 1.5s ease-out, float3D 6s ease-in-out infinite 1.5s;
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: rotateY(-60deg) rotateX(20deg) translateX(100px) translateZ(-100px);
    }
    100% {
        opacity: 1;
        transform: rotateY(-15deg) rotateX(5deg) translateX(0px) translateZ(0px);
    }
}

/* UAE Page Content Styling */
.uae-page .bg-white {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(74, 144, 164, 0.1);
}

.uae-page .border-gray-200 {
    border-color: rgba(74, 144, 164, 0.2);
}

.uae-page .text-indigo-600 {
    color: #2b5797;
}

.uae-page .bg-indigo-100 {
    background: linear-gradient(135deg, rgba(43, 87, 151, 0.1) 0%, rgba(74, 144, 164, 0.1) 100%);
}

.uae-page .text-indigo-800 {
    color: #1a365d;
}

.uae-page .bg-blue-50 {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.05) 0%, rgba(91, 163, 184, 0.05) 100%);
    border-left-color: #4a90a4;
}

/* Responsive adjustments for UAE card */
@media (max-width: 1200px) {
    .uae-card-3d-container {
        right: 10px;
        top: 35%;
    }
    
    .uae-floating-card {
        width: 300px;
        height: 190px;
    }
}

@media (max-width: 992px) {
    .uae-hero-card {
        min-height: 300px;
    }
    
    .uae-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
        min-height: 300px;
    }
    
    .uae-card-3d-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
    }
    
    .uae-floating-card {
        width: 320px;
        height: 200px;
    }
    
    @keyframes float3D {
        0%, 100% { 
            transform: rotateY(0deg) rotateX(5deg) translateZ(0px);
        }
        50% { 
            transform: rotateY(0deg) rotateX(5deg) translateZ(15px);
        }
    }
}

@media (max-width: 768px) {
    .uae-hero-card {
        min-height: 280px;
    }
    
    .uae-hero-container {
        padding: 2rem 1rem;
        min-height: 280px;
    }
    
    .uae-hero-left h1 {
        font-size: 2.5rem;
        font-weight: 300;
    }
    
    /* Hide some monuments on mobile for cleaner look */
    .uae-monument.monument-1,
    .uae-monument.monument-5 {
        display: none;
    }
    
    /* Adjust remaining monuments for mobile */
    .uae-monument.monument-2 {
        bottom: -20px;
        right: -25px;
        width: 30px;
        height: 30px;
    }
    
    .uae-monument.monument-3 {
        top: 60px;
        left: -25px;
        width: 25px;
        height: 25px;
    }
    
    .uae-floating-card {
        width: 280px;
        height: 180px;
    }
}

/* New Vietnam Hero Card Styles */
.vietnam-hero-card-new {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #C0392B; /* A deep red similar to the image */
    background-image: url('https://www.transparenttextures.com/patterns/subtle-grunge.png'); /* A subtle texture */
    padding: 6rem 2rem;
    min-height: 450px;
    color: white;
}

.vietnam-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.vietnam-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.vietnam-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.vietnam-hero-divider {
    width: 150px;
    height: 2px;
    background-color: white;
    margin: 2rem auto 0;
    opacity: 0.8;
}

.vietnam-hero-img-left,
.vietnam-hero-img-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 55%; /* Ensure images are wide enough */
    object-fit: cover;
    z-index: 5;
    opacity: 1;
}

.vietnam-hero-img-left {
    left: 0;
    clip-path: polygon(0 0, 90% 0, 60% 100%, 0% 100%);
}

.vietnam-hero-img-right {
    right: 0;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 10% 100%);
}

.vietnam-hero-backdrop-left,
.vietnam-hero-backdrop-right {
    position: absolute;
    width: 50%;
    height: 130%;
    background-color: #F1C40F; /* Gold color from the design */
    z-index: 4;
    filter: blur(10px); /* Add a blur for softer edges */
}

.vietnam-hero-backdrop-left {
    left: -15%;
    top: -15%;
    transform: rotate(-20deg);
    border-radius: 50%;
}

.vietnam-hero-backdrop-right {
    right: -15%;
    top: -15%;
    transform: rotate(20deg);
    border-radius: 50%;
}

/* Vietnam Special Hero with 3D Floating Card */
.vietnam-hero-card {
    position: relative;
    min-height: 350px;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 30%, #FF6347 70%, #FFD700 100%);
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0;
    color: white;
}

.vietnam-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 350px;
    position: relative;
    overflow-x: hidden;
}

.vietnam-hero-left {
    flex: 1;
    max-width: 580px;
    z-index: 2;
    padding-right: 2rem;
}

.vietnam-hero-left h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.vietnam-hero-left p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.6;
}

.vietnam-hero-left .text-lg {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Vietnam 3D Card Container */
.vietnam-card-3d-container {
    position: absolute;
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    perspective: 1000px;
    z-index: 15;
}

.vietnam-floating-card {
    width: 350px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    animation: vietnamFloat3D 6s ease-in-out infinite;
}

@keyframes vietnamFloat3D {
    0%, 100% { 
        transform: rotateY(-15deg) rotateX(5deg) translateZ(0px);
    }
    50% { 
        transform: rotateY(-15deg) rotateX(5deg) translateZ(20px);
    }
}

.vietnam-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.vietnam-card-front {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #FF6347 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.vietnam-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 215, 0, 0.05) 50%, 
        rgba(255, 215, 0, 0.02) 100%
    );
    border-radius: 20px;
    pointer-events: none;
}

.vietnam-card-front::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.vietnam-card-content-3d {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Vietnam Card Header */
.vietnam-card-header {
    position: relative;
    margin-bottom: 16px;
}

.vietnam-pattern {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    background-image: url('https://i.pinimg.com/736x/8a/28/3f/8a283fcb2d8d42821b909209e5cebaff.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    opacity: 0.4;
    filter: brightness(1.3) contrast(1.1);
}

.vietnam-card-title h3 {
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.vietnam-card-title p {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

/* Vietnam Card Body */
.vietnam-card-body {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: 'Oswald', sans-serif;
}

.vietnam-landscape {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 35px;
    background: linear-gradient(to right, 
        rgba(255, 215, 0, 0.2) 0%,
        rgba(255, 215, 0, 0.3) 15%,
        rgba(255, 215, 0, 0.1) 30%,
        rgba(255, 215, 0, 0.4) 45%,
        rgba(255, 215, 0, 0.2) 60%,
        rgba(255, 215, 0, 0.3) 75%,
        rgba(255, 215, 0, 0.1) 90%,
        rgba(255, 215, 0, 0.2) 100%
    );
    clip-path: polygon(
        0% 100%, 8% 60%, 16% 75%, 24% 40%, 32% 65%, 
        40% 25%, 48% 55%, 56% 20%, 64% 50%, 72% 30%, 
        80% 45%, 88% 35%, 96% 60%, 100% 70%, 100% 100%
    );
    opacity: 0.7;
}

.vietnam-card-body .text-xs {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.vietnam-card-body .font-bold {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Vietnam Card Footer */
.vietnam-card-footer {
    margin-top: auto;
}

.vietnam-chip {
    width: 32px;
    height: 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 4px;
    position: relative;
}

.vietnam-chip::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(139, 0, 0, 0.2);
    border-radius: 2px;
}

/* Vietnam Entry animation */
.vietnam-floating-card {
    animation: vietnamCardEnter 1.5s ease-out, vietnamFloat3D 6s ease-in-out infinite 1.5s;
}

@keyframes vietnamCardEnter {
    0% {
        opacity: 0;
        transform: rotateY(-60deg) rotateX(20deg) translateX(100px) translateZ(-100px);
    }
    100% {
        opacity: 1;
        transform: rotateY(-15deg) rotateX(5deg) translateX(0px) translateZ(0px);
    }
}

/* Vietnam Page Content Styling */
.vietnam-page .bg-white {
    background: linear-gradient(145deg, #ffffff 0%, #fff8f8 100%);
    border: 1px solid rgba(220, 20, 60, 0.1);
}

.vietnam-page .border-gray-200 {
    border-color: rgba(220, 20, 60, 0.2);
}

.vietnam-page .text-indigo-600 {
    color: #DC143C;
}

.vietnam-page .bg-indigo-100 {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(255, 99, 71, 0.1) 100%);
}

.vietnam-page .text-indigo-800 {
    color: #8B0000;
}

.vietnam-page .bg-blue-50 {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-left-color: #FF6347;
}

/* Responsive adjustments for Vietnam card */
@media (max-width: 1200px) {
    .vietnam-card-3d-container {
        right: 10px;
        top: 35%;
    }
    
    .vietnam-floating-card {
        width: 300px;
        height: 190px;
    }
}

@media (max-width: 992px) {
    .vietnam-hero-card {
        min-height: 300px;
    }
    
    .vietnam-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
        min-height: 300px;
    }
    
    .vietnam-card-3d-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
    }
    
    .vietnam-floating-card {
        width: 320px;
        height: 200px;
    }
    
    @keyframes vietnamFloat3D {
        0%, 100% { 
            transform: rotateY(0deg) rotateX(5deg) translateZ(0px);
        }
        50% { 
            transform: rotateY(0deg) rotateX(5deg) translateZ(15px);
        }
    }
}

@media (max-width: 768px) {
    .vietnam-hero-card {
        min-height: 280px;
    }
    
    .vietnam-hero-container {
        padding: 2rem 1rem;
        min-height: 280px;
    }
    
    .vietnam-hero-left h1 {
        font-size: 2.5rem;
        font-weight: 300;
    }
    
    .vietnam-floating-card {
        width: 280px;
        height: 180px;
    }
}

/* Universal Special Hero Card System */
.special-hero-card {
    position: relative;
    min-height: 350px;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0;
    /* Background will be set dynamically by JavaScript */
    color: white;
}

.special-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 350px;
    position: relative;
    overflow-x: hidden;
}

.special-hero-left {
    flex: 1;
    max-width: 580px;
    z-index: 2;
    padding-right: 2rem;
}

.special-hero-left h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.special-hero-left p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.6;
}

.special-hero-left .text-lg {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Universal 3D Card Container */
.special-card-3d-container {
    position: absolute;
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    perspective: 1000px;
    z-index: 15;
}

.special-floating-card {
    width: 350px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    animation: specialFloat3D 6s ease-in-out infinite;
}

@keyframes specialFloat3D {
    0%, 100% { 
        transform: rotateY(-15deg) rotateX(5deg) translateZ(0px);
    }
    50% { 
        transform: rotateY(-15deg) rotateX(5deg) translateZ(20px);
    }
}

.special-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.special-card-front {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Background will be set dynamically by JavaScript */
}

.special-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: 20px;
    pointer-events: none;
}

.special-card-front::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.special-card-content-3d {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Universal Card Header */
.special-card-header {
    position: relative;
    margin-bottom: 16px;
}

.special-pattern {
    /* Background image will be set dynamically by JavaScript */
}

.special-card-title h3 {
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.special-card-title p {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

/* Universal Card Body */
.special-card-body {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: 'Oswald', sans-serif;
}

.special-landscape {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 35px;
    /* Background will be set dynamically by JavaScript */
    clip-path: polygon(
        0% 100%, 8% 60%, 16% 75%, 24% 40%, 32% 65%, 
        40% 25%, 48% 55%, 56% 20%, 64% 50%, 72% 30%, 
        80% 45%, 88% 35%, 96% 60%, 100% 70%, 100% 100%
    );
    opacity: 0.7;
}

.special-card-body .text-xs {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.special-card-body .font-bold {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Universal Card Footer */
.special-card-footer {
    margin-top: auto;
}

.special-chip {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    position: relative;
    /* Background will be set dynamically by JavaScript */
}

.special-chip::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Entry animation for universal card */
.special-floating-card {
    animation: specialCardEnter 1.5s ease-out, specialFloat3D 6s ease-in-out infinite 1.5s;
}

@keyframes specialCardEnter {
    0% {
        opacity: 0;
        transform: rotateY(-60deg) rotateX(20deg) translateX(100px) translateZ(-100px);
    }
    100% {
        opacity: 1;
        transform: rotateY(-15deg) rotateX(5deg) translateX(0px) translateZ(0px);
    }
}

/* Responsive adjustments for universal special card */
@media (max-width: 1200px) {
    .special-card-3d-container {
        right: 10px;
        top: 35%;
    }
    
    .special-floating-card {
        width: 300px;
        height: 190px;
    }
}

@media (max-width: 992px) {
    .special-hero-card {
        min-height: 300px;
    }
    
    .special-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
        min-height: 300px;
    }
    
    .special-card-3d-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
    }
    
    .special-floating-card {
        width: 320px;
        height: 200px;
    }
    
    @keyframes specialFloat3D {
        0%, 100% { 
            transform: rotateY(0deg) rotateX(5deg) translateZ(0px);
        }
        50% { 
            transform: rotateY(0deg) rotateX(5deg) translateZ(15px);
        }
    }
}

@media (max-width: 768px) {
    .special-hero-card {
        min-height: 280px;
    }
    
    .special-hero-container {
        padding: 2rem 1rem;
        min-height: 280px;
    }
    
    .special-hero-left h1 {
        font-size: 2.5rem;
        font-weight: 300;
    }
    
    .special-floating-card {
        width: 280px;
        height: 180px;
    }
}

/* Image Hero Styles */
.image-hero-card {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    padding: 0;
    color: white;
}

.image-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 400px;
    position: relative;
    gap: 3rem;
}

.image-hero-left {
    flex: 1;
    max-width: 550px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.image-hero-left h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.image-hero-left p {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.image-hero-left .text-lg {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.image-display-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-image {
    width: 450px;
    height: 320px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
    animation: imageFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

@keyframes imageFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-10px) scale(1);
    }
}

.hero-image:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
}

/* Responsive adjustments for image hero */
@media (max-width: 1200px) {
    .image-hero-container {
        gap: 2rem;
        padding: 3rem 2rem;
    }
    
    .image-hero-left {
        max-width: 500px;
    }
    
    .hero-image {
        width: 380px;
        height: 280px;
    }
}

@media (max-width: 992px) {
    .image-hero-card {
        min-height: 350px;
    }
    
    .image-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
        padding: 3rem 2rem;
        min-height: 350px;
    }
    
    .image-hero-left {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .image-display-container {
        order: -1;
    }
    
    .hero-image {
        width: 350px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .image-hero-card {
        min-height: 320px;
    }
    
    .image-hero-container {
        padding: 2rem 1rem;
        gap: 2rem;
        min-height: 320px;
    }
    
    .image-hero-left h1 {
        font-size: 2.5rem;
        font-weight: 300;
        margin-bottom: 0.75rem;
    }
    
    .image-hero-left .text-lg {
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        width: 300px;
        height: 200px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .image-hero-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .image-hero-left h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        width: 280px;
        height: 180px;
    }
}

/* New Visa Type Card Styles */
.visa-type-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.visa-type-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.visa-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.visa-card-title-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.visa-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.visa-card-entry-type,
.visa-type-card .visa-card-entry-type,
.visa-card-header .visa-card-entry-type,
span.visa-card-entry-type,
.visa-type-card .visa-card-header .visa-card-entry-type {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    border: 1px solid #1d4ed8 !important;
    text-shadow: none !important;
    display: inline-block !important;
}

.visa-card-description {
    font-size: 0.9rem;
    color: #4b5563;
    background-color: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 3px solid #0ea5e9;
}

.visa-card-purpose {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

.visa-card-body {
    padding: 1.5rem;
}

.visa-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
}

.info-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.info-item-header i {
    color: #9ca3af;
}

.info-item-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.visa-fees-section,
.visa-conditions-section,
.visa-notes-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e5e7eb;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.fee-amount {
    font-weight: 600;
    color: #0ea5e9;
}

.fee-notes {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.25rem;
}

.visa-conditions-list {
    list-style-position: inside;
    list-style-type: disc;
    color: #4b5563;
    font-size: 0.9rem;
    padding-left: 0.5rem;
}

.visa-conditions-list li {
    margin-bottom: 0.5rem;
}

.visa-notes-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
}
/* End New Visa Type Card Styles */

/* Ensure form elements and specific components maintain proper colors even in hero sections */
.hero-klook .search-box-klook input,
.hero-klook input,
.hero-klook select,
.hero-klook textarea,
.hero-klook .visa-card-entry-type,
.hero-klook .search-result-item,
.hero-klook .search-result-item strong,
.hero-klook .search-result-item p {
    color: #333 !important;
}

.hero-klook .search-box-klook i {
    color: #888 !important;
}

/* Ensure visa entry types are always visible regardless of container */
.visa-card-entry-type,
.visa-type-card .visa-card-entry-type,
.visa-card-header .visa-card-entry-type,
span.visa-card-entry-type,
.visa-type-card .visa-card-header .visa-card-entry-type,
.hero-klook .visa-card-entry-type,
.hero-section .visa-card-entry-type {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    border: 1px solid #1d4ed8 !important;
    text-shadow: none !important;
    display: inline-block !important;
}

/* Ensure proper text colors for different sections */
/* Hero sections should have white text */
.hero-section,
.hero-klook,
.hero-section-green {
    color: white;
}

.hero-section *,
.hero-klook *,
.hero-section-green * {
    color: white;
}

/* But form elements in hero sections should maintain proper colors for usability */
.hero-section input,
.hero-section select,
.hero-section textarea,
.hero-klook input,
.hero-klook select,
.hero-klook textarea {
    color: #333 !important;
}

/* Navigation and footer should have white text */
#navbar,
footer {
    color: white;
}

/* Regular content areas should have dark text */
.bg-gray-50,
.bg-white,
.bg-gray-100 {
    color: #1f2937;
}

.bg-gray-50 *,
.bg-white *,
.bg-gray-100 * {
    color: inherit;
}

/* New Hero Design V4 - Image Shape */
.new-hero-container {
    display: flex;
    width: 100%;
    min-height: 550px;
    background-color: #1A2C4A; /* Dark Blue */
    overflow: hidden;
    position: relative;
}

.new-hero-left-panel {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 6rem;
    position: relative;
    z-index: 2; /* Text on top */
}

.new-hero-text-content {
    color: white;
}

.new-hero-country-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 6.5rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.new-hero-subtitle { /* This is now the main summary */
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    max-width: 500px;
    line-height: 1.6;
}

.new-hero-description { /* This is the secondary text */
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.new-hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #F1C40F; /* Gold */
    color: #1A2C4A; /* Dark Blue */
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.new-hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.new-hero-right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://www.hindustantimes.com/ht-img/img/2025/03/25/1600x900/vietnam_1742885224191_1742885224438.jpg');
    background-size: cover;
    background-position: 70% 50%; /* Center the interesting part of the image */
    z-index: 1; /* Image below text */
    clip-path: ellipse(100% 100% at 100% 50%);
    mask-image: linear-gradient(to right, transparent 2%, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 2%, black 30%);
}

.new-hero-swoosh,
.new-hero-swoosh::after {
    display: none !important;
}

@media (max-width: 1024px) {
    .new-hero-container {
        flex-direction: column;
        min-height: auto;
    }
    .new-hero-left-panel, .new-hero-right-panel {
        width: 100%;
    }
    .new-hero-right-panel {
        position: relative;
        min-height: 300px;
        clip-path: none;
        mask-image: linear-gradient(to top, transparent 0%, black 40%);
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 40%);
    }
    .new-hero-left-panel {
        padding: 3rem 2rem;
        align-items: center;
        text-align: center;
        margin-top: -80px; /* Pull text up over the faded image */
        background: transparent;
    }
    .new-hero-country-name {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .new-hero-country-name {
        font-size: 3.5rem;
    }
    .new-hero-cta-button {
        padding: 0.8rem 1.5rem;
    }
}

#navbar.scrolled .nav-contact-button {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
}
#navbar.scrolled #mobile-menu-button i {
    color: white;
}

#navbar .nav-link,
#navbar.scrolled .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

#navbar .nav-link::after,
#navbar.scrolled .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #14b8a6;
    transition: width 0.3s ease;
}

#navbar .nav-link:hover::after,
#navbar.scrolled .nav-link:hover::after {
    width: 100%;
}

/* Universal Hero Styles V5 */
.unified-hero-container {
    display: flex;
    width: 100%;
    height: 55vh; /* Half-page height */
    min-height: 450px; /* Minimum height for smaller viewports */
    background-color: #EBF5FF; /* Brighter blue */
    overflow: hidden;
    position: relative;
}

.unified-hero-left-panel {
    width: 58%; /* Give more space to image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 6rem;
    position: relative;
    z-index: 2; /* Text on top */
}

@media (max-width: 640px) {
    .unified-hero-container { min-height: 380px; }
    .unified-hero-right-panel { min-height: 220px; }
}

.unified-hero-text-content {
    color: #1A2C4A; /* Dark blue text */
}

.unified-hero-country-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 5rem;
    color: #1A2C4A; /* Dark blue text */
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.unified-hero-country-name.long-country-name {
    font-size: 3.8rem;
}

.unified-hero-subtitle { /* This is now the main summary */
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #2c3e50; /* Darker text */
    margin-bottom: 1rem;
    max-width: 500px;
    line-height: 1.6;
}

.unified-hero-description { /* This is the secondary text */
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #34495e; /* Darker text */
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

.unified-hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #F1C40F; /* Gold */
    color: #1A2C4A; /* Dark Blue */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.unified-hero-cta-button:hover {
    background-color: #2563EB; /* darker indigo */
}

.unified-hero-right-panel {
    position: relative;
    flex: 1.2;
    background-size: cover;
    background-position: center;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.unified-hero-right-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, 
            rgba(26, 44, 74, 1) 0%, 
            rgba(26, 44, 74, 0.95) 10%,
            rgba(26, 44, 74, 0.7) 30%,  
            rgba(26, 44, 74, 0.2) 55%, 
            rgba(26, 44, 74, 0) 70%
        ),
        linear-gradient(to top, 
            rgba(0,0,0,0.4) 0%, 
            rgba(0,0,0,0) 40%
        );
    pointer-events: none; /* Allows clicking through the overlay */
}

@media (max-width: 1024px) {
    .unified-hero-container {
        flex-direction: column;
        height: auto;
    }
    .unified-hero-left-panel, .unified-hero-right-panel {
        width: 100%;
    }
    .unified-hero-right-panel {
        border-radius: 0;
        min-height: 300px;
    }

    .unified-hero-right-panel::after {
        border-radius: 0;
        background: 
            linear-gradient(to bottom, 
                rgba(235, 245, 255, 0.9) 0%, 
                rgba(235, 245, 255, 0.5) 40%, 
                rgba(235, 245, 255, 0) 80%
            );
    }

    .unified-hero-left-panel {
        padding: 2rem;
        align-items: center;
        text-align: center;
        margin-top: 0;
        background: transparent;
    }
    .unified-hero-country-name {
        font-size: 4rem;
    }
    .unified-hero-country-name.long-country-name {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .unified-hero-left-panel { padding-top: 1.25rem; }
    .unified-hero-country-name {
        font-size: 3rem;
        line-height: 1.15;
    }
    .unified-hero-country-name.long-country-name {
        font-size: 2.6rem;
    }
    .unified-hero-subtitle { font-size: 1rem; }
    .unified-hero-description { font-size: 0.9rem; }
    .unified-hero-cta-button {
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .unified-hero-left-panel { padding: 2rem 1.25rem 1.25rem; }
    .unified-hero-country-name { font-size: 2.6rem; }
    .unified-hero-country-name.long-country-name { font-size: 2.2rem; }
}

.new-hero-country-name,
.unified-hero-country-name,
.vietnam-hero-title,
.uae-hero-left h1,
.image-hero-left h1,
.special-hero-left h1,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

.new-hero-subtitle,
.new-hero-description,
.unified-hero-subtitle,
.unified-hero-description,
.vietnam-hero-subtitle {
    font-family: 'Roboto', sans-serif;
}

.unified-hero-subtitle,
.unified-hero-description {
    max-width: 55ch; /* Limit text width for readability */
}

/* FAQ Section Styles */
.faq-item .faq-question {
    transition: background-color 0.2s ease;
}

.faq-item .faq-question:hover {
    background-color: #f0f4f8; /* A light blue-gray hover */
}

.faq-item .faq-question i {
    transition: transform 0.3s ease-in-out;
}

.faq-item .faq-question .rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: block !important; /* Override inline style for transition */
}

.faq-answer.open {
    max-height: 500px; /* Adjust as needed */
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* About Us Section Styles from Dribbble */
.eyebrow-text {
    font-size: 0.875rem; /* 14px */
    font-weight: 400; /* Changed from 600 to 400 */
    text-transform: uppercase;
    color: #4B5563; /* gray-600 */
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.main-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem !important; 
    font-weight: 300; /* Reduced from 500 to 400 (normal weight) */
    line-height: 1.3;
    color: #1F2937; /* gray-800 */
    margin-bottom: 2rem;
}

.main-headline .highlight-text {
    font-weight: 600; /* Changed from bolder/700 to 600 */
    color: #0B3D34;
}

.read-more-btn {
    display: inline-block;
    border: 1px solid #D1D5DB; /* gray-300 */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* pill shape */
    font-weight: 500;
    color: #374151; /* gray-700 */
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.read-more-btn:hover {
    background-color: #F3F4F6; /* gray-100 */
    border-color: #9CA3AF; /* gray-400 */
    color: #1F2937; /* gray-800 */
}

/* What We Do Section Styles */
.what-we-do-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #1a3a6b;
}

.image-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1.5rem; /* 24px */
    transition: transform 0.3s ease;
}

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

.image-card img {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== NEW STYLES FOR COUNTRY DETAIL PAGE ===== */

/* Brighter Header */
.unified-hero-container {
    background-color: #EBF5FF !important; /* Brighter blue */
}

.unified-hero-text-content {
    color: #1A2C4A !important; /* Dark blue text */
}

.unified-hero-country-name {
    color: #1A2C4A !important; /* Dark blue text */
}

.unified-hero-subtitle {
    color: #2c3e50 !important; /* Darker text */
}

.unified-hero-description {
    color: #34495e !important; /* Darker text */
}

.unified-hero-right-panel::after {
    background: 
        linear-gradient(to right, 
            #EBF5FF 0%, 
            rgba(235, 245, 255, 0.95) 20%,
            rgba(235, 245, 255, 0.7) 40%,  
            rgba(235, 245, 255, 0.2) 60%, 
            rgba(235, 245, 255, 0) 75%
        ),
        linear-gradient(to top, 
            rgba(0,0,0,0.2) 0%, 
            rgba(0,0,0,0) 40%
        ) !important;
}

/* Stats Card Morph Effect */
.stats-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem; /* 12px */
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0,0,0,0.05);
    border-radius: 1rem; /* 16px */
}

/* ===== END NEW STYLES ===== */

/* Enhanced Stats Section Styles */
.stats-card-enhanced {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card-enhanced:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
}

.stats-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.stats-card-enhanced:hover::before {
    opacity: 1;
}

.counter-number {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for status indicators */
@keyframes statsCardPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.stats-card-enhanced .animate-pulse {
    animation: statsCardPulse 2s infinite;
}

/* Enhanced floating animations */
@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stats-card-enhanced .group-hover\:animate-float:hover {
    animation: floatGentle 3s ease-in-out infinite;
}

/* Responsive adjustments for stats section */
@media (max-width: 768px) {
    .stats-card-enhanced {
        padding: 1.5rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .stats-card-enhanced h3 {
        font-size: 1rem;
    }
    
    .stats-card-enhanced p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .stats-card-enhanced {
        padding: 1.25rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
}

/* Enhanced About Us Section Styles */
.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text .absolute {
    animation: highlightSlide 0.8s ease-out forwards;
    animation-delay: 0.5s;
    transform: translateX(-100%) skewX(-12deg);
}

@keyframes highlightSlide {
    to {
        transform: translateX(0) skewX(-12deg);
    }
}

/* Feature Point Cards */
.feature-point-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-point-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced CTA Button */
.read-more-btn {
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.read-more-btn:hover::before {
    left: 100%;
}

/* Floating Cards Animation */
@keyframes floatUp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-stat-card {
    animation: floatUp 4s ease-in-out infinite;
}

.floating-rating-card {
    animation: floatUp 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Image Container Enhancements */
.image-container-enhanced {
    position: relative;
}

.image-container-enhanced::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(20, 184, 166, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 2rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container-enhanced:hover::before {
    opacity: 1;
}

/* Responsive Adjustments for About Section */
@media (max-width: 768px) {
    .highlight-text .absolute {
        display: none;
    }
    
    .highlight-text {
        background: linear-gradient(135deg, #14b8a6, #3b82f6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .floating-stat-card,
    .floating-rating-card {
        position: relative;
        margin: 1rem auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .feature-point-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced FAQ Section Styles */
/* Custom animations for FAQ */
@keyframes animate-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes animate-bounce-slow {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-10px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-spin-slow {
    animation: animate-spin-slow 8s linear infinite;
}

.animate-bounce-slow {
    animation: animate-bounce-slow 3s infinite;
}

/* FAQ Category Pills */
.faq-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1.5rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-category-pill:hover {
    border-color: #14b8a6;
    color: #14b8a6;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(20, 184, 166, 0.15);
}

.faq-category-pill.active {
    background: linear-gradient(135deg, #14b8a6, #3b82f6);
    border-color: #14b8a6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.faq-category-pill i {
    font-size: 0.875rem;
}

/* Enhanced FAQ Items */
.faq-item-enhanced {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.faq-item-enhanced.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.faq-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #3b82f6, #6366f1, #64748b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.faq-card:hover::before {
    opacity: 1;
}

.faq-question-enhanced {
    cursor: pointer;
    padding: 16px 20px;
}

.faq-icon-container {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.faq-card:hover .faq-icon-container {
    background: #f0f9ff;
}

.faq-chevron {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.faq-answer-enhanced {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer-enhanced.open {
    max-height: 500px;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-enhanced.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-item-enhanced.active .faq-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.02), rgba(59, 130, 246, 0.02));
}

/* Search Input Enhancement */
#faq-search {
    font-size: 1rem;
    line-height: 1.5;
}

#faq-search:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

#search-clear.visible {
    opacity: 1;
}

/* Enhanced Visual Elements */
.tag-style {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
}

/* Progress Bar Animation */
@keyframes progressFill {
    from { width: 0%; }
    to { width: 98.5%; }
}

.progress-bar-animated {
    animation: progressFill 2s ease-out forwards;
    animation-delay: 0.5s;
}

/* Responsive FAQ Adjustments */
@media (max-width: 768px) {
    .faq-category-pill {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .faq-card {
        border-radius: 1rem;
    }
    
    .faq-question-enhanced .flex {
        padding: 1.5rem;
    }
    
    .faq-question-enhanced h3 {
        font-size: 1.125rem;
    }
    
    .faq-answer-enhanced .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .faq-category-pill {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .faq-question-enhanced .flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .faq-icon-container {
        align-self: flex-end;
    }
    
    #faq-search {
        font-size: 0.875rem;
        padding: 0.75rem 1rem 0.75rem 3rem;
    }
}

/* Stagger Animation for FAQ Items */
.faq-item-enhanced:nth-child(1) { animation-delay: 0.1s; }
.faq-item-enhanced:nth-child(2) { animation-delay: 0.2s; }
.faq-item-enhanced:nth-child(3) { animation-delay: 0.3s; }
.faq-item-enhanced:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item-enhanced {
    animation: slideInUp 0.6s ease forwards;
}

/* Enhanced mobile responsiveness for all sections */

/* Stats Section Mobile Improvements */
@media (max-width: 768px) {
    .stats-card-enhanced {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .stats-card-enhanced h3 {
        font-size: 1rem;
    }
    
    .stats-card-enhanced p {
        font-size: 0.875rem;
    }
    
    /* Stats section header text adjustments */
    .stats-section h2 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .stats-section p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    /* Achievement cards mobile optimization */
    .stats-section .grid.grid-cols-1.md\\:grid-cols-3 {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stats-section .grid.grid-cols-1.md\\:grid-cols-3 > div {
        padding: 1.5rem !important;
    }
    
    .stats-section .grid.grid-cols-1.md\\:grid-cols-3 h3 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .stats-card-enhanced {
        padding: 1.25rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    /* Very small screens - stack everything */
    .stats-section h2 {
        font-size: 2rem !important;
        padding: 0 0.5rem;
    }
    
    .stats-section .max-w-7xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Achievement cards very small screens */
    .stats-section .grid.grid-cols-1.md\\:grid-cols-3 > div {
        padding: 1rem !important;
    }
    
    .stats-section .grid.grid-cols-1.md\\:grid-cols-3 h3 {
        font-size: 1.125rem !important;
    }
    
    .stats-section .grid.grid-cols-1.md\\:grid-cols-3 p {
        font-size: 0.875rem !important;
    }
}

/* About Section Mobile Improvements */
@media (max-width: 768px) {
    .highlight-text .absolute {
        display: none;
    }
    
    .highlight-text {
        background: linear-gradient(135deg, #14b8a6, #3b82f6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .floating-stat-card,
    .floating-rating-card {
        position: relative !important;
        margin: 1rem auto;
        max-width: none;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    /* About section main headline mobile */
    .main-headline {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    /* Feature point cards mobile */
    .feature-point-card {
        flex-direction: row !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    /* About section grid adjustments */
    .about-section .grid.md\\:grid-cols-2 {
        gap: 2rem;
    }
    
    /* Image container mobile adjustments */
    .about-section .relative .absolute {
        display: none;
    }
}

@media (max-width: 480px) {
    .feature-point-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1.5rem;
    }
    
    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
    
    .main-headline {
        font-size: 1.75rem !important;
    }
    
    /* Very small screens - simplify about section */
    .about-section .grid.grid-cols-1.sm\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
}

/* FAQ Section Mobile Improvements */
@media (max-width: 768px) {
    .faq-category-pill {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        margin: 0.25rem;
    }
    
    .faq-card {
        border-radius: 1rem;
        margin-bottom: 1rem;
    }
    
    .faq-question-enhanced .flex {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .faq-question-enhanced h3 {
        font-size: 1.125rem;
    }
    
    .faq-answer-enhanced .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    /* FAQ section header mobile */
    .faq-section h2 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .faq-section p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    /* FAQ search bar mobile */
    #faq-search {
        padding: 0.875rem 1rem 0.875rem 3rem;
        font-size: 0.875rem;
    }
    
    /* FAQ categories mobile - wrap better */
    .faq-categories {
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .faq-category-pill {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .faq-question-enhanced .flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .faq-icon-container {
        align-self: flex-end;
        margin-top: -2rem;
    }
    
    #faq-search {
        font-size: 0.875rem;
        padding: 0.75rem 1rem 0.75rem 3rem;
    }
    
    /* FAQ very small screens */
    .faq-section h2 {
        font-size: 2rem !important;
        padding: 0 0.5rem;
    }
    
    .faq-section .max-w-6xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* FAQ item content adjustments */
    .faq-answer-enhanced .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .faq-answer-enhanced .p-6 {
        padding: 1rem !important;
    }
    
    .faq-question-enhanced h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* General mobile improvements for all enhanced sections */
@media (max-width: 768px) {
    /* Ensure all sections have proper mobile padding */
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Max width containers on mobile */
    .max-w-7xl, .max-w-6xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Background elements mobile optimization */
    .absolute.top-0, .absolute.bottom-0 {
        display: none;
    }
    
    /* Gradient text readability on mobile */
    .bg-gradient-to-r.from-teal-600.to-blue-600.bg-clip-text {
        background: linear-gradient(135deg, #14b8a6, #3b82f6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

@media (max-width: 480px) {
    /* Very small screens global adjustments */
    .py-20 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .max-w-7xl, .max-w-6xl {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Text size adjustments for very small screens */
    .text-4xl, .text-5xl {
        font-size: 1.875rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .text-xl {
        font-size: 1rem !important;
    }
    
    /* Button adjustments for very small screens */
    .px-8 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}

/* Touch-friendly adjustments for mobile */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .stats-card-enhanced:hover,
    .faq-card:hover,
    .feature-point-card:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }
    
    /* Increase touch targets */
    .faq-question-enhanced,
    .faq-category-pill {
        min-height: 48px;
        padding: 1rem;
    }
    
    /* Better spacing for touch */
    .faq-item-enhanced {
        margin-bottom: 1rem;
    }
}

/* Enhanced Mobile Menu Styles */
#mobile-menu {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

/* Hamburger Menu Animation */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

#mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Items */
.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin: 0.25rem 0;
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    transition: width 0.25s ease;
    z-index: -1;
}

.mobile-nav-item:hover::before {
    width: 100%;
}

.mobile-nav-item:hover {
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

.mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .mobile-nav-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.mobile-nav-text {
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-arrow {
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .mobile-nav-arrow {
    color: white;
    transform: translateX(4px);
}

/* Mobile CTA Button */
.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

/* Mobile Quick Links */
.mobile-quick-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: #6B7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.mobile-quick-link:hover {
    color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    transform: translateX(4px);
}

/* Mobile Social Links */
.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #6B7280;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-social-link:hover {
    background: #14b8a6;
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Mobile Menu Overlay */
#mobile-menu-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Solid navbar when mobile menu is open */
body.mobile-menu-open #navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
body.mobile-menu-open #navbar .nav-link { color: white !important; }
body.mobile-menu-open #mobile-menu-button { color: white !important; }
body.mobile-menu-open #navbar .text-2xl { color: white !important; }

/* Scrolled navbar mobile button color */
#navbar.scrolled #mobile-menu-button {
    color: white;
}

/* Enhanced Mobile Menu Responsive Adjustments */
@media (max-width: 480px) {
    #mobile-menu {
        width: 100vw;
        max-width: none;
    }
    
    .mobile-nav-item {
        padding: 1.25rem 1rem;
        margin: 0.125rem 0;
    }
    
    .mobile-nav-icon {
        width: 36px;
        height: 36px;
    }
    
    .mobile-nav-text {
        font-size: 0.95rem;
    }
    
    .mobile-cta-button {
        padding: 1.125rem 1.5rem;
    }
}

/* Enhanced Animation for Mobile Menu Entrance */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Staggered Animation for Mobile Menu Items */
.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }

#mobile-menu.show .mobile-nav-item {
    animation: slideInFromRight 0.4s ease-out forwards;
}

/* Improved Touch Targets for Mobile */
@media (hover: none) and (pointer: coarse) {
    .mobile-nav-item {
        min-height: 56px;
        padding: 1.25rem;
    }
    
    .mobile-cta-button {
        min-height: 56px;
        padding: 1.25rem 1.5rem;
    }
    
    .mobile-social-link {
        width: 48px;
        height: 48px;
        margin: 0.25rem;
    }
}

/* Enhanced Mobile Menu Header */
#mobile-menu .border-b {
    border-color: rgba(229, 231, 235, 0.8);
}

/* Header area inside mobile menu */
#mobile-menu .menu-header {
    background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(59,130,246,0.08));
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Mobile Menu Footer Enhancement */
#mobile-menu .bg-gray-50 {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

/* Close Button Enhancement */
#mobile-menu-close {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-close:hover {
    background: #FEE2E2;
    color: #DC2626;
    transform: rotate(90deg);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.morph-stat-button {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
    border: none;
}

.stat-total, .stat-visa-free, .stat-visa-required, .stat-regions {
    background: #2563eb;
    color: #fff;
    border: none;
}

.morph-stat-button .stat-number {
    color: #fff;
}

.morph-stat-button .stat-label {
    color: #e0e7ff;
}

.morph-stat-button .stat-icon {
    color: #93c5fd;
}

.morph-stat-button:hover {
    background: #1e40af;
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.18);
}

/* Document Checklist Styles */
.document-item {
    transition: all 0.2s ease;
}

.document-item:hover {
    transform: translateX(2px);
}

.checkbox-container {
    position: relative;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 20px;
    min-height: 20px;
}

.checkbox-label:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.checkbox-label.bg-green-500 {
    background: #10b981;
    border-color: #10b981;
}

.checkbox-label.bg-green-500 i {
    opacity: 1;
}

.document-name.line-through {
    text-decoration: line-through;
    color: #6b7280;
}

.document-details.line-through {
    text-decoration: line-through;
    color: #9ca3af;
}

.document-item.opacity-75 {
    opacity: 0.75;
}

/* Progress Bar Styles */
#documentProgress {
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Reset Button Styles */
.reset-checklist-btn {
    transition: all 0.2s ease;
}

.reset-checklist-btn:hover {
    color: #374151;
    transform: scale(1.05);
}

/* Responsive adjustments for checklist */
@media (max-width: 768px) {
    .document-item {
        padding: 0.75rem 1rem;
    }
    
    .checkbox-label {
        min-width: 18px;
        min-height: 18px;
    }
    
    .document-name {
        font-size: 0.875rem;
    }
    
    .document-details {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .document-item {
        padding: 0.5rem 0.75rem;
    }
    
    .checkbox-label {
        min-width: 16px;
        min-height: 16px;
    }
    
    .document-name {
        font-size: 0.8rem;
    }
    
    .document-details {
        font-size: 0.7rem;
    }
}

/* Compact grid layout for visa type cards on country detail page */
#visaTypes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

#visaTypes .visa-type-card {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#visaTypes .visa-card-header {
    padding: 1rem;
}

#visaTypes .visa-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#visaTypes .visa-info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    #visaTypes {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
}

#visaTypes .visa-type-card { min-height: 0; display: flex; flex-direction: column; }

@media (max-width: 1024px) {
    #visaTypes .visa-type-card { min-height: initial; }
}

@media (max-width: 640px) {
	/* Country hero mobile improvements */
	.unified-hero-text-content { text-align: center; }
	#unified-hero-title-container { margin-bottom: 0.5rem; display: flex; justify-content: center; }
	#unified-hero-country-flag { font-size: 1.75rem; }
	.unified-hero-subtitle { font-size: 0.95rem; line-height: 1.45; }
	.unified-hero-description {
		font-size: 0.9rem;
		line-height: 1.4;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-align: center;
	}
	.morph-nav-buttons { 
		display: grid; 
		grid-template-columns: repeat(2, minmax(0, 1fr)); 
		gap: 0.5rem; 
		margin-top: 0.75rem;
		justify-items: stretch;
	}
	.morph-nav-button { 
		width: 100%; 
		justify-content: center; 
		padding: 0.5rem 0.75rem; 
		font-size: 0.8rem; 
		border-radius: 9999px;
	}
	.unified-hero-right-panel { min-height: 220px; }
}

