/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* Smooth scrolling and animations */
html {
    scroll-behavior: smooth;
}

/* Fade in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes skeleton-loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Apply animations to sections */
.hero,
.benefits,
.destinations,
.trip-packages,
.community,
.travel-agent-section,
.testimonials,
.cta-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Quiz Overlay Styles */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.quiz-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: scaleIn 0.5s ease-out;
}

.quiz-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.quiz-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.quiz-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.quiz-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.quiz-content {
    padding: 40px;
    min-height: 500px;
}

.quiz-screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-screen.active {
    display: block;
}

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

/* Quiz Start Screen */
.quiz-intro {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-intro h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.quiz-intro p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.archetype-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.archetype-preview h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.archetype-preview ul {
    list-style: none;
    padding: 0;
}

.archetype-preview li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
    transition: transform 0.2s ease;
}

.archetype-preview li:hover {
    transform: translateX(5px);
}

.archetype-preview li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Quiz Questions Screen */
.quiz-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

#quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
    position: relative;
}

#quiz-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    text-align: center;
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
}

.question-container {
    margin-bottom: 40px;
}

#question-text {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

.options-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    background: white;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.quiz-option:hover::before {
    left: 100%;
}

.quiz-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.quiz-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    padding: 12px 30px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.results-content {
    text-align: center;
}

.results-content h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
}

.archetype-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.archetype-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.archetype-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.archetype-benefits {
    margin-top: 30px;
}

.archetype-benefits h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-icon {
    background: #27ae60;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-text {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.5;
}

.main-website {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-website.hidden {
    display: none;
    opacity: 0;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #667eea;
    transform: translateX(5px);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-archetype {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-archetype::before {
    content: '🌟';
    font-size: 1rem;
}

.btn-login {
    background: transparent;
    color: #667eea;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

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

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: #f8f9fa;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.benefit-image {
    height: 250px;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.benefit-content {
    padding: 30px;
}

.benefit-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Destinations Section */
.destinations {
    padding: 100px 0;
    background: white;
}

.destinations h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
}

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

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

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

.destination-image {
    height: 200px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.destination-content {
    padding: 25px;
    text-align: center;
}

.destination-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.destination-content p {
    color: #666;
    margin-bottom: 15px;
}

.airport-code {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.btn-explore {
    background: transparent;
    color: #667eea;
    padding: 10px 25px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.destinations-cta {
    text-align: center;
}

/* Trip Packages Section */
.trip-packages {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.trip-packages-header {
    text-align: center;
    margin-bottom: 50px;
}

.trip-packages-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.trip-packages-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.trip-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.trip-package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

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

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trip-package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-content {
    padding: 25px;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.package-title {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.package-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.package-destination {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
}

.package-dates {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.package-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.package-agent {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.agent-avatar {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.package-capacity {
    color: #666;
    font-size: 0.9rem;
}

.package-actions {
    display: flex;
    gap: 10px;
}

.btn-view-package {
    flex: 1;
    background: transparent;
    color: #667eea;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-view-package:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-book-now {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.trip-packages-cta {
    text-align: center;
}

/* Travel Agent Section */
.travel-agent-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.travel-agent-header {
    text-align: center;
    margin-bottom: 50px;
}

.travel-agent-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.travel-agent-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.travel-agent-layout {
    max-width: 1200px;
    margin: 0 auto;
}

/* Agent Dashboard */
.agent-dashboard {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

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

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

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

.stat-card h3 {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-card span {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
}

.agent-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.agent-actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.agent-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.agent-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.agent-actions .btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.agent-actions .btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Packages Feed */
.packages-feed {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.packages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.packages-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.package-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.packages-container {
    padding: 30px;
    max-height: 600px;
    overflow-y: auto;
}

.package-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.package-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.package-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.package-item-title {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.package-item-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-item-status.active {
    background: #d4edda;
    color: #155724;
}

.package-item-status.upcoming {
    background: #fff3cd;
    color: #856404;
}

.package-item-status.completed {
    background: #f8d7da;
    color: #721c24;
}

.package-item-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.package-item-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-item-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.package-item-actions button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-edit {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-edit:hover {
    background: #667eea;
    color: white;
}

.btn-delete {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.btn-delete:hover {
    background: #e74c3c;
    color: white;
}

/* Modal Styles for Travel Agent */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 30px;
}

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

/* Package Details Modal */
.package-details-content {
    max-width: 800px;
}

.package-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.package-image {
    border-radius: 12px;
    overflow: hidden;
}

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

.package-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-meta span {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.package-meta .destination {
    background: #e3f2fd;
    color: #1976d2;
}

.package-meta .dates {
    background: #f3e5f5;
    color: #7b1fa2;
}

.package-meta .price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.package-description,
.package-includes {
    color: #666;
    line-height: 1.6;
}

.package-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.package-booking {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.package-booking h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Responsive Design for Trip Packages and Travel Agent */
@media (max-width: 768px) {
    .trip-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .agent-stats {
        grid-template-columns: 1fr;
    }
    
    .agent-actions {
        flex-direction: column;
    }
    
    .agent-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .packages-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .package-filters {
        justify-content: center;
    }
    
    .package-details {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .package-item-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .package-item-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .package-item-actions {
        justify-content: stretch;
    }
    
    .package-item-actions button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .trip-packages-header h2,
    .travel-agent-header h2 {
        font-size: 2rem;
    }
    
    .package-content {
        padding: 20px;
    }
    
    .package-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Community Section */
.community {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.community-header {
    text-align: center;
    margin-bottom: 50px;
}

.community-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.community-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.community-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Community Sidebar */
.community-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.5rem;
}

.profile-info h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.archetype-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-nav h4 {
    color: #2c3e50;
    margin: 20px 0 15px 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-list {
    margin-bottom: 25px;
}

.community-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.community-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.community-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.community-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
}

.community-item:hover .community-icon,
.community-item.active .community-icon {
    background: rgba(255, 255, 255, 0.3);
}

.community-info {
    flex: 1;
}

.community-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.community-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Community Main Content */
.community-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.community-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.sort-options {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.sort-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* Posts Container */
.posts-container {
    padding: 25px;
    max-height: 600px;
    overflow-y: auto;
}

.post {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.post:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.post-community {
    background: #e9ecef;
    color: #666;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-time {
    color: #999;
    font-size: 0.85rem;
}

.post-content {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.post-text {
    color: #666;
    line-height: 1.6;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.post-action {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 0.9rem;
}

.post-action:hover {
    color: #667eea;
}

.post-action.liked {
    color: #e74c3c;
}

.post-action i {
    font-size: 1rem;
}

/* Create Post Modal */
.create-post-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.create-post-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.create-post-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

.create-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.create-post-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design for Community */
@media (max-width: 768px) {
    .community-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .community-sidebar {
        position: static;
        order: 2;
    }
    
    .community-main {
        order: 1;
    }
    
    .community-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .sort-options {
        justify-content: center;
    }
    
    .create-post-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .community-header h2 {
        font-size: 2rem;
    }
    
    .community-sidebar {
        padding: 20px;
    }
    
    .community-toolbar {
        padding: 15px 20px;
    }
    
    .posts-container {
        padding: 20px;
    }
    
    .post {
        padding: 15px;
    }
    
    .post-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    opacity: 0.2;
    font-family: serif;
}

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

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.testimonial-info h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.rating {
    background: #27ae60;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: #2c3e50;
    line-height: 1.6;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    margin-top: 30px;
    background: white;
    color: #667eea;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #667eea;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: #667eea;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu li:nth-child(6) { transition-delay: 0.6s; }

    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 10px 0 0 20px;
        display: none;
    }

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

    .dropdown-menu a {
        color: #667eea;
        padding: 8px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Floating action button mobile adjustments */
    .floating-action-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Hero section mobile improvements */
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

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

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

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 200px;
        text-align: center;
    }

    /* Card improvements for mobile */
    .benefit-card,
    .destination-card,
    .testimonial-card {
        margin: 0 10px;
    }

    .benefit-content,
    .destination-content {
        padding: 20px;
    }

    /* Testimonial cards mobile layout */
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rating {
        align-self: flex-end;
    }

    /* CTA section mobile improvements */
    .cta-section h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .cta-section h3 {
        font-size: 1.4rem;
    }

    .cta-section p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Footer mobile improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        margin-bottom: 10px;
    }

    /* Hide user archetype on mobile */
    .user-archetype {
        display: none;
    }

    /* Quiz improvements for mobile */
    .quiz-container {
        margin: 10px;
        max-height: 95vh;
    }

    .quiz-content {
        padding: 20px;
    }

    .quiz-header h1 {
        font-size: 1.5rem;
    }

    .quiz-intro h2 {
        font-size: 1.5rem;
    }

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

    .quiz-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .quiz-navigation .btn-primary,
    .quiz-navigation .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .quiz-header {
        padding: 20px;
    }

    .quiz-content {
        padding: 15px;
    }

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

    .benefits,
    .destinations,
    .testimonials {
        padding: 60px 0;
    }

    .benefit-content,
    .destination-content {
        padding: 20px;
    }

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

    .cta-section h3 {
        font-size: 1.4rem;
    }
}

/* Floating Action Button */
.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-action-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    animation: pulse 1s ease-in-out infinite;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(44, 62, 80, 0.8);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
    background: rgba(44, 62, 80, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-weight: 500;
}

.success-message.show {
    transform: translateX(0);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Card Hover Effects */
.benefit-card,
.destination-card,
.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before,
.destination-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.benefit-card:hover::before,
.destination-card:hover::before,
.testimonial-card:hover::before {
    left: 100%;
}

/* Button Improvements */
.btn-primary,
.btn-secondary,
.btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-outline:hover::before {
    left: 100%;
}

/* Navbar Improvements */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section Improvements */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Section Headers */
.benefits h2,
.destinations h2,
.testimonials h2,
.cta-section h2 {
    position: relative;
    display: inline-block;
}

.benefits h2::after,
.destinations h2::after,
.testimonials h2::after,
.cta-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.empty-state p {
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Hidden class for conditional display */
.hidden {
    display: none !important;
}

/* Enhanced Mobile Optimizations */
@media (max-width: 768px) {
    /* General Mobile Improvements */
    .container {
        padding: 0 15px;
    }
    
    /* Enhanced Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 20px;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu a:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateX(10px);
    }

    /* Enhanced Mobile Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Mobile Quiz Improvements */
    .quiz-container {
        margin: 10px;
        max-height: 95vh;
        border-radius: 15px;
    }

    .quiz-content {
        padding: 25px 20px;
    }

    .quiz-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .quiz-intro h2 {
        font-size: 1.5rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quiz-option {
        padding: 20px 15px;
        min-height: 60px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .quiz-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .quiz-navigation .btn-primary,
    .quiz-navigation .btn-secondary {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
        min-height: 50px;
    }

    /* Mobile Hero Improvements */
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        min-height: 50px;
    }

    /* Mobile Card Improvements */
    .benefit-card,
    .destination-card,
    .testimonial-card,
    .trip-package-card {
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .benefit-content,
    .destination-content,
    .package-content {
        padding: 20px;
    }

    .testimonial-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .rating {
        align-self: center;
    }

    /* Mobile Trip Packages */
    .trip-packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .package-actions {
        flex-direction: column;
        gap: 10px;
    }

    .package-actions a {
        width: 100%;
        text-align: center;
        padding: 12px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Travel Agent */
    .agent-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .agent-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .agent-actions button {
        width: 100%;
        justify-content: center;
        padding: 15px;
        min-height: 48px;
    }
    
    .packages-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .package-filters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .package-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .package-item-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .package-item-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .package-item-actions {
        justify-content: stretch;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .package-item-actions button {
        flex: 1;
        min-width: 120px;
        padding: 10px;
        min-height: 44px;
    }

    /* Mobile Community */
    .community-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .community-sidebar {
        position: static;
        order: 2;
    }
    
    .community-main {
        order: 1;
    }
    
    .community-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .sort-options {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sort-btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .create-post-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions button {
        width: 100%;
        min-height: 48px;
    }

    /* Mobile Modal Improvements */
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
        max-height: 90vh;
        border-radius: 12px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .create-post-content,
    .create-package-content {
        margin: 20px;
        width: calc(100% - 40px);
        padding: 25px 20px;
    }

    /* Mobile Form Improvements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 15px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
        border-radius: 8px;
    }

    /* Mobile Post Improvements */
    .post-actions {
        flex-wrap: wrap;
        gap: 15px;
    }

    .post-action {
        min-width: 60px;
        padding: 8px 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile CTA Section */
    .cta-section h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form input {
        width: 100%;
        padding: 15px;
        min-height: 48px;
    }

    /* Hide user archetype on mobile */
    .user-archetype {
        display: none;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .quiz-header {
        padding: 20px 15px;
    }
    
    .quiz-content {
        padding: 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .benefits,
    .destinations,
    .trip-packages,
    .community,
    .travel-agent-section,
    .testimonials,
    .cta-section {
        padding: 60px 0;
    }
    
    .benefit-content,
    .destination-content,
    .package-content {
        padding: 15px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section h3 {
        font-size: 1.3rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .create-post-content,
    .create-package-content {
        margin: 10px;
        width: calc(100% - 20px);
        padding: 20px 15px;
    }
    
    .package-item {
        padding: 15px;
    }
    
    .package-item-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .package-item-actions button {
        width: 100%;
        margin-bottom: 8px;
    }

    .community-header h2 {
        font-size: 2rem;
    }
    
    .community-sidebar {
        padding: 20px;
    }
    
    .community-toolbar {
        padding: 15px 20px;
    }
    
    .posts-container {
        padding: 20px;
    }
    
    .post {
        padding: 15px;
    }
    
    .post-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .quiz-container {
        max-height: 85vh;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .benefit-card:hover,
    .destination-card:hover,
    .testimonial-card:hover,
    .trip-package-card:hover,
    .package-item:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    /* Add active states for touch */
    .btn-primary:active,
    .btn-secondary:active,
    .btn-outline:active {
        transform: scale(0.98);
    }
    
    /* Increase touch targets */
    .nav-menu a,
    .sort-btn,
    .filter-btn,
    .post-action {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve scrolling performance */
    .posts-container,
    .packages-container {
        -webkit-overflow-scrolling: touch;
    }

    /* Better touch feedback */
    .quiz-option:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .community-item:active {
        transform: scale(0.98);
    }
}

/* High DPI Mobile Devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-image: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80&dpr=2');
    }
}

/* Dark Mode Support for Mobile */
@media (prefers-color-scheme: dark) {
    .modal-content,
    .create-post-content,
    .create-package-content {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        background: #2a2a2a;
        color: #ffffff;
        border-color: #444;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: #667eea;
        background: #333;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-action-button {
        animation: none;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Optimize animations for mobile */
    .benefit-card,
    .destination-card,
    .testimonial-card,
    .trip-package-card {
        will-change: transform;
    }
    
    /* Improve scrolling performance */
    .posts-container,
    .packages-container,
    .quiz-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Optimize images for mobile */
    .benefit-image img,
    .destination-image img,
    .package-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile-specific additional styles */
body.nav-open {
    overflow: hidden;
}

.mobile-form-error {
    background: #ff6b6b;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    animation: slideInDown 0.3s ease;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

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

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile navbar scrolled state */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile quiz swipe indicators */
.quiz-container::before,
.quiz-container::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.quiz-container::before {
    left: 10px;
    content: '←';
}

.quiz-container::after {
    right: 10px;
    content: '→';
}

.quiz-container.swipe-hint::before,
.quiz-container.swipe-hint::after {
    opacity: 1;
}

/* Mobile loading states */
.mobile-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
}

.mobile-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

/* Mobile empty states */
.mobile-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.mobile-empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.mobile-empty-state h3 {
    margin-bottom: 10px;
    color: #333;
}

.mobile-empty-state p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile touch feedback animations */
@keyframes touchFeedback {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.touch-feedback {
    animation: touchFeedback 0.2s ease;
}

/* Mobile slide animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile-specific button states */
@media (max-width: 768px) {
    .btn-primary:active,
    .btn-secondary:active,
    .btn-outline:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .quiz-option:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .community-item:active {
        transform: scale(0.98);
    }
    
    .post-action:active {
        transform: scale(0.95);
    }
    
    .package-item-actions button:active {
        transform: scale(0.95);
    }
}

/* Mobile accessibility improvements */
@media (max-width: 768px) {
    /* Increase focus indicators for mobile */
    .btn-primary:focus,
    .btn-secondary:focus,
    .btn-outline:focus,
    .quiz-option:focus,
    .community-item:focus {
        outline: 3px solid #667eea;
        outline-offset: 2px;
    }
    
    /* Improve text contrast */
    .hero-content h1,
    .hero-content h2,
    .hero-content p {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    /* Better touch targets */
    .nav-menu a,
    .sort-btn,
    .filter-btn,
    .post-action,
    .package-item-actions button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Mobile landscape optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .quiz-container {
        max-height: 80vh;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .nav-menu {
        height: calc(100vh - 50px);
        top: 50px;
        padding: 20px;
    }
}

/* Mobile performance variables */
:root {
    --animation-duration: 0.3s;
}

@media (max-width: 768px) {
    :root {
        --animation-duration: 0.2s;
    }
}

/* Mobile-specific utility classes */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px;
        border-radius: 8px;
        border: 2px solid #e9ecef;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        outline: none;
    }
    
    .form-group label {
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
        color: #333;
    }
}

/* Mobile modal improvements */
@media (max-width: 768px) {
    .modal-content,
    .create-post-content {
        border-radius: 12px;
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-header,
    .create-post-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        border-bottom: 1px solid #e9ecef;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Mobile community improvements */
@media (max-width: 768px) {
    .community-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .community-toolbar {
        position: sticky;
        top: 70px;
        background: white;
        z-index: 10;
        border-bottom: 1px solid #e9ecef;
        padding: 15px 20px;
    }
    
    .posts-container {
        padding: 20px;
    }
    
    .post {
        margin-bottom: 20px;
        border-radius: 12px;
        overflow: hidden;
    }
}

/* Mobile travel agent improvements */
@media (max-width: 768px) {
    .agent-dashboard {
        margin-bottom: 30px;
    }
    
    .packages-header {
        position: sticky;
        top: 70px;
        background: white;
        z-index: 10;
        border-bottom: 1px solid #e9ecef;
        padding: 15px 20px;
    }
    
    .packages-container {
        padding: 20px;
    }
    
    .package-item {
        margin-bottom: 20px;
        border-radius: 12px;
        overflow: hidden;
    }
}