* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5a47;
    --secondary-color: #4b7d6b;
    --accent-color: #ff6b35;
    --gold-color: #ffd700;
    --success-color: #28a745;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #2d5a47 0%, #4b7d6b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(45, 90, 71, 0.9), rgba(75, 125, 107, 0.85));
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Ensure content is not hidden behind the fixed header */
body {
    padding-top: 80px;
    /* matches header height; adjust if header height changes */
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -40px;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 2000;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* Visible focus outline for keyboard users */
:focus-visible {
    outline: 3px solid #ffa726;
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Header */
header {
    background: var(--gradient-primary);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

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

.logo svg {
    width: 40px;
    height: 40px;
    animation: float 3s ease-in-out infinite;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

/* Mobile menu animation: transform + opacity for smoother open/close */
nav ul {
    transition: transform 300ms cubic-bezier(.2, .9, .2, 1), opacity 200ms ease;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #ff8c57);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero),
        url('https://wallpaperaccess.com/full/136008.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text .highlight {
    color: #c08000;
    /* Darker gold for better contrast */
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero .order-now {
    animation: fadeInUp 0.8s ease;
}

.order-now {
    max-width: 340px;
    background: linear-gradient(135deg, var(--accent-color), #ff8c57);
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    border-radius: 50px;
    transition: all 0.3s ease-out, opacity 0.3s ease 0.5s;
}

.order-now:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.order-now a {
    color: var(--white);
    text-decoration: none;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Booking Form */
.booking-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease 0.4s backwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.booking-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(45, 90, 71, 0.1);
    padding: 0.5rem;
    border-radius: 15px;
}

.tab {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
}

.tab.active {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(45, 90, 71, 0.3);
}

.tab:hover:not(.active) {
    background: rgba(45, 90, 71, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 48px;
    /* Minimum touch target size */
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(75, 125, 107, 0.1);
    transform: translateY(-2px);
}

.passenger-class {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.search-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(45, 90, 71, 0.3);
    position: relative;
    overflow: hidden;
}

.search-btn.cta-main {
    background: linear-gradient(135deg, #ff6b35, #ff8c57);
    font-size: 1.3rem;
    padding: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

.search-btn.cta-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 90, 71, 0.4);
}

.search-btn:active {
    transform: translateY(-1px);
}

.search-btn.loading {
    background: linear-gradient(90deg,
            var(--secondary-color) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            var(--secondary-color) 100%);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: rgba(255, 0, 0, 0.1);
    padding: 0.8rem 0;
    text-align: center;
    color: #d32f2f;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.disclaimer-text {
    display: block;
    text-align: center;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--gold-color), #ffed4e);
    padding: 1rem 0;
    text-align: center;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 32px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 2rem;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(75, 125, 107, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    font-size: 0.9rem;
}

/* Destinations Section */
.destinations {
    padding: 5rem 0;
    background: var(--bg-light);
}

.destinations-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.destination-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.destination-img {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    position: relative;
    background-size: cover;
    background-position: center;
}

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-info {
    transform: translateY(0);
}

.destination-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.destination-info p {
    color: #f8f9fa;
    /* Changed from opacity .9 for better contrast on dark background */
    font-size: 0.9rem;
    opacity: 1;
    margin-bottom: 1rem;
}

.price-tag {
    display: inline-block;
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* News Section */
.news {
    padding: 5rem 0;
    background: var(--white);
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
    border: 0.5px solid rgba(151, 151, 151, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    /* overflow: hidden; */
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    /* width: 200%; */
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: #ffffff;
    /* Ensure white text on primary gradient background */
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--white);
    padding: 1.5rem 2rem;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 2rem;
}

.faq-answer p {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    padding-top: 1.5rem;
    line-height: 1.6;
}

.faq-answer.show {
    max-height: 2000px;
    /* Adjust as needed */
    padding: 0 2rem 1.5rem;
}

.faq-hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-hidden.show {
    max-height: 3000px;
    transition: max-height 0.5s ease-in;
}

.show-more-btn {
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.show-more-btn:hover {
    background-color: var(--secondary-color);
}

/* App Section */
.app-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.app-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-info h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.app-info p {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.app-features {
    list-style: none;
    margin-bottom: 2rem;
}

.app-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
}

.app-downloads {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-download-btn {
    padding: 0.8rem 1.5rem;
    background: var(--text-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-download-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.app-mockup {
    text-align: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-radius: 30px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 260px;
    height: 520px;
    background: var(--gradient-primary);
    border-radius: 20px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem 0 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

#contact h2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 32px 32px;
    color: var(--primary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: #2c3e50;
    /* Ensure social links have enough contrast on light background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #eff1f1;
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    /* Ensure copyright text has enough contrast on light background */
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

.trust-badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-badge-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Foldable Device Optimizations */
@media (max-width: 400px) {
    .booking-form {
        margin: 1rem;
        padding: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
    }

    .form-tabs {
        padding: 0.3rem;
        gap: 0.3rem;
    }

    .tab {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

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

    .search-btn.cta-main {
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 4rem 1rem 1rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .order-now {
        margin: 0 auto;
        font-size: 16px;
    }
}

/* Galaxy Z Fold 5 Specific */
@media screen and (device-width: 344px) and (device-height: 882px) {
    .booking-form {
        margin: 0.5rem;
        padding: 0.8rem;
        width: calc(100% - 1rem);
    }

    .form-tabs {
        margin-bottom: 1rem;
    }

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

    .form-group input,
    .form-group select {
        font-size: 14px;
    }

    .hero-content {
        padding: 3rem 0.5rem 1rem;
    }

    .order-now {
        margin: 0 auto;
        font-size: 16px;

    }

}

/* Responsive Design */
/* Tablet Optimization */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 0.8rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .logo {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
    }

    .order-now {
        /* margin: 0 auto; */
        font-size: 16px;
    }
}

/* Specific iPad/Surface Pro Optimization */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-container {
        flex-wrap: nowrap;
    }

    nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
        margin-left: 1rem;
    }

    nav::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    nav ul {
        padding: 0.5rem 0;
        margin: 0;
        flex-wrap: nowrap;
        width: auto;
    }

    nav ul li {
        flex-shrink: 0;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 6rem 1.5rem 2rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .order-now {
        margin: 0 auto
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Mobile nav uses max-height + opacity for smooth animation */
    nav ul {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 0 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        /* collapsed */
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 320ms ease, opacity 220ms ease, transform 320ms cubic-bezier(.2, .9, .2, 1);
        pointer-events: none;
    }

    nav ul.show {
        max-height: 600px;
        /* enough to reveal items; adjust if needed */
        opacity: 1;
        transform: translateY(0);
        padding: 1rem;
        pointer-events: auto;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .passenger-class {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-badges {
        gap: 1rem;
    }

    .app-downloads {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .phone-screen {
        width: 210px;
        height: 420px;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: -150%;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: right 0.3s ease;
    border-left: 4px solid var(--success-color);
}

.notification.show {
    right: 0px;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.notification-message {
    color: #2c3e50;
    /* Changed from var(--text-light) for better contrast */
    font-size: 0.9rem;
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: absolute;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    top: 100%;
    left: 0;
    margin-top: 4px;
}

.autocomplete-item {
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

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

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

.autocomplete-item.highlighted {
    background: var(--secondary-color);
    color: var(--white);
}

/* Carousel Specific Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.news-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    box-sizing: border-box;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    gap: 0.5rem;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background-color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pagination-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .news-slide {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .carousel-button {
        padding: 0.7rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 6px 18px rgba(45, 90, 71, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 200ms ease, opacity 200ms ease;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:focus {
    outline: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(75, 125, 107, 0.15);
}

.contact-buttons {
    position: fixed;
    bottom: 80px;
    /* Đặt cao hơn nút back-to-top */
    right: 15px;
    /* Thay đổi từ left thành right */
    left: auto;
    /* Reset left position */
    z-index: 999;
}

.contact-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-toggle:hover {
    transform: scale(1.1);
}

.contact-list {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-item:hover {
    transform: scale(1.1);
}

.contact-phone {
    background: #25D366;
}

.contact-messenger {
    background: #0084FF;
}

.contact-viber {
    background: #7360F2;
}

.contact-telegram {
    background: #0088cc;
}

.contact-zalo {
    background: #0068FF;
}

.contact-whatsapp {
    background: #25D366;
}