/* Base Styles - Costa Rica-inspired Color Palette */
:root {
    /* Primary Palette */
    --primary-color: #00538C; /* Deep ocean blue - primary brand color */
    --secondary-color: #E67E22; /* Sunset orange - secondary accent */
    --dark-color: #003B5C; /* Deeper blue for headers and footers */
    --light-color: #FFFFFF; /* Pure white for backgrounds */
    
    /* Nature-inspired Accent Colors */
    --accent-green: #27AE60; /* Rainforest green - represents Costa Rica's lush landscapes */
    --accent-teal: #1ABC9C; /* Tropical waters teal */
    --accent-gold: #F1C40F; /* Tropical sunshine yellow */
    --accent-coral: #E74C3C; /* Vibrant coral - tropical flowers */
    
    /* Neutral Colors */
    --gray-color: #607D8B; /* Blue-tinted gray for neutral elements */
    --gray-light: #ECF0F1; /* Light gray for subtle backgrounds */
    --gray-dark: #34495E; /* Dark slate for text contrast */
    
    /* Status Colors */
    --success-color: #27AE60; /* Rainforest green for success messages */
    --warning-color: #F39C12; /* Amber for warning messages */
    --danger-color: #C0392B; /* Red for error messages */
    --info-color: #3498DB; /* Sky blue for info messages */
    
    /* Text Colors */
    --text-primary: #2C3E50; /* Dark slate for main text */
    --text-secondary: #7F8C8D; /* Medium gray for secondary text */
    
    /* UI Elements */
    --border-color: #E0E0E0; /* Light gray border color */
    --card-shadow: 0 8px 20px rgba(0, 83, 140, 0.1); /* Enhanced shadow with primary color tint */
    --border-radius: 12px; /* Increased border radius for softer corners */
    --spacing-unit: 1rem; /* Base spacing unit for consistent spacing */
    
    /* Animation Variables */
    --transition-fast: 0.2s ease-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Improved Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Premium Typography System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif; /* Clean, modern body font */
    font-weight: 400;
    line-height: 1.7; /* Increased for better readability */
    color: var(--text-primary);
    background-color: var(--light-color);
    letter-spacing: 0.01em; /* Subtle letter spacing for readability */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00538C, #0e8fa0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mascot-container {
    width: 180px;
    height: 180px;
    margin-bottom: 30px;
    position: relative;
}

.loading-bar {
    width: 250px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: white;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.loading-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.loading-welcome {
    color: white;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading-welcome.show {
    opacity: 1;
    transform: translateY(0);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--dark-color);
}

section {
    padding: 60px 0;
}

/* Buttons with Enhanced Premium Animation */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 83, 140, 0.15);
    letter-spacing: 0.5px;
}

.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: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 83, 140, 0.2);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 83, 140, 0.1);
}

.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border: none;
}

.primary:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color); /* Changed to pure white */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    animation: headerSlideDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes headerSlideDown {
    0% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    margin-left: -10px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; /* Reduced height for better proportion */
    width: auto;
    margin-right: 15px;
    border-radius: 4px;
    object-fit: contain; /* Ensures the logo maintains its aspect ratio */
}

/* Language Selector Styles */
.language-selector {
    position: absolute;
    top: 15px;
    right: 30px;
    z-index: 100;
}

.language-selector select, 
.mobile-language-selector select {
    appearance: none;
    background-color: var(--primary-color);
    border: 2px solid white;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 30px 8px 12px;
    width: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.language-selector::after,
.mobile-language-selector::after {
    content: '▼';
    color: white;
    font-size: 10px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.mobile-language-selector {
    margin: 15px auto;
    position: relative;
    width: 90%;
    max-width: 120px;
}

.mobile-language-selector select {
    width: 100%;
    background-color: var(--primary-color);
}

.logo h1 {
    font-size: 22px;
    margin-bottom: 0;
    color: var(--text-primary); /* Changed to dark blue */
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* The airplane icon has been removed as we now use the logo image */

.main-nav {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-primary); /* Changed to dark blue */
    position: relative;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown-menu.wide {
    min-width: 300px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    color: var(--dark-color);
    padding: 8px 20px;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu .sub-category {
    padding: 12px 20px 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.has-dropdown::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Mobile dropdown */
.mobile-dropdown {
    display: none;
    padding-left: 20px;
}

.mobile-menu li.active .mobile-dropdown {
    display: block;
}

.mobile-menu .mobile-dropdown li {
    margin-bottom: 8px;
}

.mobile-dropdown li:first-child {
    margin-top: 8px;
}

.mobile-dropdown a {
    font-size: 16px;
    color: var(--primary-color);
}

.mobile-has-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-has-dropdown::after {
    content: '+';
    font-size: 20px;
    color: var(--primary-color);
}

.mobile-has-dropdown.active::after {
    content: '-';
}

.main-nav a {
    position: relative;
    transition: color var(--transition-medium);
    padding: 5px 0;
    overflow: hidden;
}

.main-nav a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium) cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: left;
}

.main-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--accent-teal-rgb), 0.1) 100%);
    transition: top 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    border-radius: 4px;
}

.main-nav a:hover {
    color: var(--accent-teal);
    transform: translateY(-2px);
    text-shadow: 0 0 1px rgba(var(--primary-color-rgb), 0.3);
}

.main-nav a:hover::before {
    top: 0;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-nav li {
    position: relative;
    transition: transform 0.3s ease;
}

.main-nav li:hover {
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary); /* Changed to dark blue */
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000;
}

.collage-full-image {
    width: 95%;
    height: 95%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: zoomEffect 30s infinite alternate;
    max-width: 95%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    filter: contrast(1.05) saturate(1.1) brightness(1.02);
    transition: all 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

@keyframes zoomEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hero-buttons .btn {
    min-width: 180px;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.hero-buttons .btn.secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
}

/* Quick Search Section */
.quick-search {
    background-color: white;
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    padding: 40px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.quick-search h2 {
    text-align: center;
    margin-bottom: 30px;
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    max-width: 300px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-btn {
    padding: 12px 30px;
}

.search-results {
    margin-top: 30px;
}

/* Flight Info Section */
.flight-info {
    background-color: white;
}

.flight-info h2 {
    text-align: center;
    margin-bottom: 30px;
}

.info-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.flight-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.flight-table-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr 1fr;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 15px;
}

.flight-table-header > div {
    padding: 0 10px;
}

.flight-list {
    max-height: 400px;
    overflow-y: auto;
}

.flight-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr 1fr;
    border-bottom: 1px solid #eee;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.flight-item:hover {
    background-color: #f9f9f9;
}

.flight-item > div {
    padding: 0 10px;
}

.status-on-time {
    color: var(--success-color);
    font-weight: 500;
}

.status-delayed {
    color: var(--warning-color);
    font-weight: 500;
}

.status-cancelled {
    color: var(--danger-color);
    font-weight: 500;
}

.flight-loading, .news-loading {
    text-align: center;
    padding: 30px;
    color: var(--gray-color);
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

/* Airport Services Section */
.airport-services {
    background-color: white;
}

.airport-services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-medium);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(39, 174, 96, 0.05), rgba(26, 188, 156, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 83, 140, 0.1);
    border-color: var(--accent-teal);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: transform var(--transition-medium), color var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-teal);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* COVID Alert Section */
.covid-alert {
    background-color: rgba(220, 53, 69, 0.1);
}

.alert-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--danger-color);
}

.alert-content h2 {
    color: var(--danger-color);
}

/* Destination Spotlight Section */
.destination-spotlight {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.destination-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 83, 140, 0.05) 0%, rgba(39, 174, 96, 0.1) 100%);
    z-index: 1;
}

.destination-spotlight h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.destination-spotlight p.subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.destination-carousel {
    position: relative;
    z-index: 2;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.destination-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0) scale(1);
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    perspective: 1500px;
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}

.destination-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

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

.destination-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

.destination-card:hover .destination-image {
    transform: scale(1.07) translateZ(20px);
    filter: saturate(1.2) contrast(1.1);
}

.destination-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    transition: all 0.5s ease;
    opacity: 0.7;
}

.destination-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 70%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.destination-card:hover .destination-image::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 1;
}

.destination-card:hover .destination-image::before {
    opacity: 1;
}

.destination-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destination-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.destination-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.destination-rating {
    display: flex;
    align-items: center;
    color: var(--accent-gold);
    font-weight: 600;
}

.destination-rating i {
    margin-right: 5px;
}

.view-destination {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.view-destination:hover {
    color: var(--accent-teal);
}

.view-destination::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-teal);
    transition: width var(--transition-medium) ease-in-out;
}

.view-destination:hover::after {
    width: 100%;
}

.view-destination i {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.view-destination:hover i {
    transform: translateX(10px);
}

.destination-cta {
    text-align: center;
    margin-top: 30px;
}

.explore-all-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 83, 140, 0.2);
    transition: all var(--transition-medium);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.explore-all-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: all 0.5s ease;
    z-index: -1;
}

.explore-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 83, 140, 0.25);
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-color));
}

.explore-all-btn:hover::before {
    left: 100%;
}

/* News Updates Section */
.news-updates {
    background-color: white;
}

.news-updates h2 {
    text-align: center;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid transparent;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-10px) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 83, 140, 0.15);
    border-color: rgba(0, 83, 140, 0.15);
}

.news-card:hover::after {
    transform: scaleX(1);
}

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

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-summary {
    margin-bottom: 15px;
    color: var(--gray-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 16px;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 0 30px;
    border: none;
}

.newsletter-form button:hover {
    background-color: #D35400; /* Darker orange */
}

/* Page Hero Section for Subpages */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 160px 0 80px; /* Increased top padding to account for fixed header */
    text-align: center;
    color: white;
    margin-top: 0; /* Reset any negative margin */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Location Section */
.location {
    background-color: white;
}

.location h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    height: 400px;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.info-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--light-color); /* Changed to pure white */
    color: var(--text-primary); /* Changed to dark blue text */
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--dark-color); /* Changed to dark blue */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-primary); /* Changed to dark blue */
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color); /* Changed to light blue for hover effect */
}

.contact-info li {
    margin-bottom: 15px;
    color: var(--text-secondary); /* Changed to secondary text color */
}

.footer-bottom {
    border-top: 1px solid var(--border-color); /* Changed border color */
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--primary-color); /* Changed to primary color */
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color); /* Changed to light blue for hover effect */
}

/* Homepage Dashboard Layout */
.homepage-dashboard {
    padding: 40px 0;
    background-color: white;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.dashboard-widget {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.flight-search-widget {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.services-widget {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

/* Weather Widget Styles */
.weather-widget {
    grid-column: 1 / 2;  
    grid-row: 2 / 3;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 83, 140, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.weather-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('public/images/weather-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

/* Flight Booking Styles */
.booking-section {
    padding: 60px 0;
}

.booking-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.airline-booking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.airline-booking-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
    z-index: 1;
}

.airline-booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.03), rgba(26, 188, 156, 0.07));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.airline-booking-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 83, 140, 0.12);
    border-color: var(--accent-teal);
}

.airline-booking-card:hover::before {
    opacity: 1;
}

.airline-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.airline-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.airline-booking-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.airline-routes {
    background-color: rgba(0, 51, 102, 0.05);
    border-radius: 6px;
    padding: 10px;
    margin: 15px 0;
}

.book-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

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

.booking-search {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-bottom: 60px;
    border: 1px solid var(--border-color);
    position: relative;
}

.booking-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    border-radius: 12px 12px 0 0;
}

.booking-search h3 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.booking-search h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--primary-color));
    border-radius: 3px;
}

.booking-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #FAFAFA;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.form-group input[type="text"]:hover,
.form-group input[type="date"]:hover,
.form-group select:hover {
    border-color: rgba(var(--primary-color-rgb), 0.5);
    background-color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 3px 8px rgba(0, 83, 140, 0.06);
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(0, 83, 140, 0.15), 0 6px 12px rgba(0, 83, 140, 0.08);
}

.radio-group {
    display: flex;
    gap: 30px;
    margin: 5px 0;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.radio-group label:hover {
    color: var(--primary-color);
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.search-flight-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 10px rgba(0, 83, 140, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.search-flight-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: all 0.5s ease;
}

.search-flight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 83, 140, 0.25);
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-color));
}

.search-flight-btn:hover::before {
    left: 100%;
}

.search-flight-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 83, 140, 0.15);
}

.booking-info h3 {
    text-align: center;
    margin-bottom: 30px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* One way trip style */
.form-group.return-date-group.hidden {
    display: none;
}

.weather-widget h2 {
    color: white;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.weather-content {
    display: flex;
    align-items: center;
    padding: 5px 20px 20px;
    position: relative;
    z-index: 2;
}

.weather-icon-container {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.weather-icon {
    font-size: 84px;
    text-align: center;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    animation: floatIcon 6s ease-in-out infinite;
}

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

.weather-details {
    flex: 0 0 60%;
    padding-left: 15px;
}

.weather-temp {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.weather-desc {
    font-size: 18px;
    margin-bottom: 12px;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.weather-info {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 10px;
}

.weather-location {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.weather-location::before {
    content: '📍';
    margin-right: 5px;
    font-size: 14px;
}

.weather-updated {
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

.news-contact-widget {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
}

.widget-half {
    flex: 1;
    padding: 0 15px;
}

.widget-half:first-child {
    border-right: 1px solid #eee;
}

.search-tabs.compact {
    margin-bottom: 15px;
}

.search-form.compact {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-form.compact input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.mini-flight-preview {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.flight-item {
    margin-bottom: 8px;
    font-size: 14px;
}

.flight-label {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 5px;
}

.flight-value {
    color: var(--primary-color);
}

.services-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.service-item {
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.service-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.service-item h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.news-preview {
    margin-bottom: 15px;
}

.news-title {
    font-weight: 500;
    margin-bottom: 10px;
}

.link-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.link-btn:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.highlight-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

.highlight-btn:hover {
    background-color: var(--secondary-color);
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Back to Top Button and Help Button - Enhanced */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.help-button {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 99;
}

#back-to-top-btn, #help-btn {
    width: 60px;
    height: 60px;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
}

#back-to-top-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    opacity: 0;
    visibility: hidden;
}

#help-btn {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-color));
    opacity: 1;
    position: relative;
    overflow: hidden;
}

#help-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    top: -50%;
    left: -50%;
    transition: all 0.5s ease;
}

#help-btn:hover::before {
    top: -20%;
    left: -20%;
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top-btn:hover, #help-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#back-to-top-btn:active, #help-btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.floating-btn-text {
    position: absolute;
    background: white;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    color: var(--dark-color);
    right: 70px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

#help-btn:hover + .floating-btn-text,
#back-to-top-btn:hover + .floating-btn-text {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.open {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group {
        max-width: 100%;
    }

    .flight-table-header, .flight-item {
        grid-template-columns: 1fr 1.5fr 1fr;
    }

    .airline-col, .status-col {
        display: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .flight-search-widget, 
    .services-widget {
        grid-column: 1;
    }
    
    .services-flex {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-contact-widget {
        grid-column: 1;
        flex-direction: column;
    }
    
    .widget-half:first-child {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }

    .hero {
        min-height: 500px;
    }

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

    .quick-search {
        padding: 20px;
    }

    .flight-table-header, .flight-item {
        grid-template-columns: 1fr 1fr;
    }

    .time-col {
        display: none;
    }
    
    .services-flex {
        grid-template-columns: 1fr 1fr;
    }
}
/* Account Page Styles */
.page-header {
    background-color: white;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.breadcrumbs {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.account-section {
    padding: 3rem 0;
    background-color: white;
    min-height: 60vh;
}

.account-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

/* Auth Forms */
.auth-forms {
    padding: 2rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.form-error {
    color: var(--danger-color);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* User Dashboard */
.user-dashboard {
    padding: 2rem;
}

.dashboard-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.dashboard-content {
    display: none;
}

.dashboard-content.active {
    display: block;
}

.dashboard-content h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Tracked Flights */
.search-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.search-container h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.tracked-flights-list {
    margin-top: 2rem;
}

.tracked-flights-list h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.tracked-flight-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
    padding: 0.75rem 1rem;
    background-color: #f1f1f1;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
}

.tracked-flight-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.tracked-flight-item:last-child {
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

.tracked-flight-item .status-success {
    color: var(--success-color);
}

.tracked-flight-item .status-warning {
    color: var(--warning-color);
}

.tracked-flight-item .status-danger {
    color: var(--danger-color);
}

.tracked-flights-loading,
.no-flights {
    padding: 2rem;
    text-align: center;
    color: var(--gray-color);
}

.btn.small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn.danger {
    background-color: var(--danger-color);
    color: white;
}

.btn.danger:hover {
    background-color: #c82333;
}

.untrack-btn {
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }
    
    .tracked-flight-header,
    .tracked-flight-item {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .destination-col,
    .airline-col {
        display: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row button {
        width: 100%;
    }
}

/* Rounded Corners Styles - Added for consistency across the site */
.card, 
.service-card, 
.info-item, 
.news-card, 
.alert-content, 
.quick-search, 
.flight-table,
.search-results,
.map-container,
.lounge-card,
.pricing-card,
.contact-form,
.form-container,
.dropdown-menu,
.toast-container,
.modal-content,
.alert-box,
.info-box,
table,
.rates-table,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea,
.feedback-form,
.booking-form,
.carousel,
.carousel-inner,
.carousel-item img,
.interactive-map,
.testimonial-card,
.statistics-container,
.stats-card {
    border-radius: var(--border-radius) !important;
    overflow: hidden;
}

/* Button rounded corners */
.btn, 
button[type="submit"],
input[type="submit"] {
    border-radius: var(--border-radius) !important;
}

/* Images with rounded corners */
.rounded-image,
.news-image img,
.service-image img,
.airline-logo img,
.partner-logo img,
.testimonial-avatar img {
    border-radius: var(--border-radius) !important;
}

/* Fix for input groups and form elements */
.input-group {
    border-radius: var(--border-radius) !important;
}
.input-group > *:first-child {
    border-top-left-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
}
.input-group > *:last-child {
    border-top-right-radius: var(--border-radius) !important;
    border-bottom-right-radius: var(--border-radius) !important;
}

/* Live Chat Support Styles */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 350px;
    display: flex;
    flex-direction: column;
    transform: translateY(calc(100% - 60px));
    transition: transform 0.3s ease;
}

.chat-widget.open {
    transform: translateY(0);
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    color: white;
}

.chat-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
}

.chat-body {
    background-color: white;
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 85%;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.user {
    align-self: flex-end;
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-message.agent {
    align-self: flex-start;
    background-color: #f1f1f1;
    color: var(--text-primary);
    border-bottom-left-radius: 5px;
}

.chat-timestamp {
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.7;
}

.chat-message.typing {
    background-color: #f1f1f1;
    border-radius: 15px 15px 15px 0;
    align-self: flex-start;
    padding: 10px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.typing-indicator span:nth-of-type(1) {
    animation: 1s blink infinite 0.3333s;
}

.typing-indicator span:nth-of-type(2) {
    animation: 1s blink infinite 0.6666s;
}

.typing-indicator span:nth-of-type(3) {
    animation: 1s blink infinite 0.9999s;
}

@keyframes blink {
    50% {
        opacity: 1;
    }
}

.chat-suggestions {
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-btn {
    background-color: #e8f4ff;
    border: 1px solid #d0e8ff;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-btn:hover {
    background-color: #d0e8ff;
    border-color: var(--primary-color);
}

.chat-footer {
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
}

.chat-input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.send-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    background-color: var(--dark-color);
    color: white;
}

.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border: none;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.chat-button:hover {
    background-color: var(--dark-color);
    color: white;
}

@media (max-width: 480px) {
    .chat-widget {
        width: 300px;
        right: 20px;
        bottom: 20px;
    }
    
    .chat-button {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Statistics Tables Styles */
.stats-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-color);
    font-size: 15px;
}

.stats-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.stats-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.stats-table tr:hover {
    background-color: rgba(0, 51, 102, 0.05);
}

.stats-table .table-total {
    background-color: rgba(0, 51, 102, 0.1);
}

.stats-table .table-note {
    text-align: center;
    font-style: italic;
    color: var(--gray-color);
}

.stats-note {
    font-size: 14px;
    color: var(--gray-color);
    margin-top: 10px;
    font-style: italic;
}

.positive-change {
    color: var(--success-color);
    font-weight: 500;
}

.negative-change {
    color: var(--danger-color);
    font-weight: 500;
}

/* Responsive styles for stats tables */
@media (max-width: 768px) {
    .stats-table {
        font-size: 14px;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 10px;
    }
}

/* Flight Booking Page Styles */
.booking-section {
    padding: 3rem 0;
}

.booking-intro {
    max-width: 850px;
    margin: 0 auto 3rem;
    text-align: center;
}

.booking-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.booking-intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.info-alert {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

/* Button styles are defined earlier in the file */

.airlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.airline-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.airline-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.airline-logo:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.airline-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.airline-info {
    padding: 1.5rem;
}

.airline-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.airline-info p {
    margin-bottom: 1rem;
    color: #333;
}

.airline-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.airline-features li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.airline-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.booking-help {
    background-color: #f5f7fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.booking-help h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-list {
    list-style-type: none;
    padding: 0;
}

.contact-info-list li {
    margin-bottom: 0.5rem;
}

.booking-faqs {
    margin-bottom: 3rem;
}

.booking-faqs h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.faq-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: "-";
}

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

/* Costa Rica Airlines Section */
.costa-rica-heading {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.costa-rica-subheading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #666;
}

/* Responsive adjustments for booking page */
@media (max-width: 768px) {
    .airlines-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-help, 
    .booking-faqs {
        padding: 1.5rem;
    }
}
/* Logo styling */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.airport-logo {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 22px;
    margin-bottom: 0;
    color: var(--text-primary);
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block; /* Ensure visibility */
}
