/* CSS Variables & Reset */
:root {
    /* Rays Brand Palette */
    --primary-color: #0F172A;
    /* Deep Royal Blue (Trust, Corporate) */
    --secondary-color: #0F172A;
    /* Using Primary as Text color too for consistency */
    --accent-color: #F59E0B;
    /* Ray Amber (Energy, CTA) */
    --tech-blue: #38BDF8;
    /* Sky Tech (Innovation, Highlights) */

    /* Neutrals */
    --text-light: #64748B;
    --text-white: #ffffff;
    --white: #ffffff;
    --light-bg: #F8FAFC;
    /* Clean Neutral */

    /* UI Elements */
    --btn-primary-bg: var(--accent-color);
    --btn-primary-text: #ffffff;

    --dark-overlay: rgba(15, 23, 42, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.95);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-md: 8px;
    --radius-lg: 12px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Agency Button */
.btn-agency {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.btn-agency:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Sticky Header Adjustments */
/* Sticky Header Adjustments */
.header.sticky .btn-agency {
    border-color: var(--white);
    color: var(--white);
}

.header.sticky .btn-agency:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo a {
    display: block;
    position: relative;
    /* Use min-height to reserve space if needed, but auto height based on img is better for responsiveness if width is fixed */
}

.logo-img {
    width: 150px;
    /* Adjusted size */
    height: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Default state (Transparent Header) */
.logo-white {
    opacity: 1;
    position: absolute;
    /* Stack them */
    top: 0;
    left: 0;
    /* User provided white logo - No filter needed */
    /* filter: brightness(0) invert(1); */
}

.logo-color {
    opacity: 0;
    /* Original logo hidden initially */
}

/* Sticky State (White Background) */
.header.sticky .logo-white {
    opacity: 0;
}

.header.sticky .logo-color {
    opacity: 1;
    /* Show original logo (no filter needed as the image itself is colored) */
}

/* Footer Brand styling adjustment */
.footer-brand .logo-img {
    height: 60px;
    /* User uploaded specific logo, no filter needed */
    /* filter: brightness(0) invert(1); */
    margin-bottom: 20px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
}

.header.sticky .nav-list a {
    color: var(--secondary-color);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

/* Dropdown Navigation */
.header .nav-list .dropdown {
    position: relative;
}

.header .nav-list .dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header .nav-list .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.header .nav-list .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header .nav-list .dropdown-menu li {
    padding: 0;
}

.header .nav-list .dropdown-menu a,
.header.sticky .nav-list .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary-color) !important;
    font-size: 0.95rem;
}

.header .nav-list .dropdown-menu a:hover,
.header.sticky .nav-list .dropdown-menu a:hover {
    background-color: var(--light-bg) !important;
    color: var(--accent-color) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    color: var(--white);
    font-size: 1.2rem;
}

.header.sticky .search-icon {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 900px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 1450px;
    padding: 0 20px;
    color: var(--white);
}

.hero .subtitle {
    display: block;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.hero .title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero .title .highlight {
    color: var(--white);
    /* Changed to white as requested */
    font-weight: 800;
    /* Optional: Make it bolder to pop */
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero .slide-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.slide.active-slide .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.hero-slide-btn:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(245, 158, 11, 0.4);
}

/* Search Box - Glassmorphism */
.hero-search-box {
    background: var(--white);
    padding: 8px 10px 8px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    flex: 1;
    border-right: 1px solid #f1f5f9;
    transition: var(--transition);
}

.search-item:hover {
    background-color: #f8fafc;
    border-radius: 10px;
}

.search-item:last-of-type {
    border-right: none;
}

.search-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 10px;
    opacity: 0.7;
}

.search-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}

.search-text label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    opacity: 0.6;
}

.search-text input,
.search-text select {
    border: none;
    background: transparent;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    color: #000; /* Force Black */
    outline: none;
    font-size: 0.8rem; /* 2 sizes smaller (from 1rem) */
    font-weight: 600; /* Slightly bolder for clarity */
    padding: 5px 2px; /* Reduced side padding to gain space */
    text-indent: 2px; /* Extra nudge for text */
}

.search-text select option {
    color: #000;
    background: #fff;
}

.search-text select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 14px;
    padding-right: 25px;
}

.search-text select:focus {
    color: #000;
}

.btn-search {
    background-color: #ff7012; /* Vibrant Orange as requested */
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 112, 18, 0.3);
}

.btn-search:hover {
    background-color: #d97706;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Features */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Promo Banner */
.banner-promo {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

.promo-card {
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.cyber-promo {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 100%), url('img/slider4.jpeg');
}

.insurance-promo {
    background-color: var(--accent-color);
    background-image: linear-gradient(135deg, rgba(245,158,11,0.95) 0%, rgba(249,115,22,0.7) 100%), url('img/slider2.jpg');
}

.promo-card-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.promo-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.promo-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    color: var(--white);
}

.promo-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 85%;
    color: var(--white);
}

.promo-btn {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    color: var(--white);
}

.promo-card:hover .promo-btn {
    gap: 12px;
}

/* Destinations */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header.text-center {
    display: block;
    align-items: center;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.destination-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tag {
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}

.card-overlay-content {
    width: 100%;
    margin-top: auto;
}

.card-overlay h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1;
}

.card-price-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 5px;
}

.card-price-select .price-val {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.rating {
    color: #FCD34D;
    font-size: 0.9rem;
}

/* Tours */
.tours {
    background-color: var(--white);
}

.tours-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.tour-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.tour-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.tour-content {
    padding: 25px;
}

.meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.tour-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.reviews {
    color: #FCD34D;
    font-size: 0.85rem;
}

.reviews span {
    color: var(--text-light);
    margin-left: 5px;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.link-arrow:hover {
    gap: 10px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 15px;
    padding-right: 50px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-family: 'Outfit', sans-serif;
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: #0284c7;
}

.footer-bottom {
    padding: 15px 0;
    text-align: center;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

/* Popular Packages */
.packages {
    background-color: #f8fafc;
}

.packages-wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 30px;
    padding: 20px;
    /* Space for shadow and scroll */
    scroll-snap-type: x mandatory;
    width: 100%;
    margin: 0;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE */
    scroll-behavior: smooth;
}

.packages-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

/* Slider Controls */
.slider-container {
    position: relative;
    width: 85vw;
    /* Not full width */
    margin-left: calc(-42.5vw + 50%);
    margin-right: calc(-42.5vw + 50%);
    padding: 0 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.slider-btn.prev {
    left: 20px;
    /* Adjust button position for wider slider */
}

.slider-btn.next {
    right: 20px;
    /* Adjust button position for wider slider */
}


/* ============================================================ 
   PREMIUM CARD SYSTEM (Unified Design)
   ============================================================ */

.premium-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #e2e8f0;
    height: 100%;
    flex-shrink: 0;
    /* Prevent narrowing */
    width: 320px;
    /* Fixed width for uniform look */
}

/* Force uniform height inside slider */
.packages-wrapper .premium-card {
    height: auto !important;
    align-self: stretch;
    min-height: 480px;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.p-card-image {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.p-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-card:hover .p-card-image img {
    transform: scale(1.05);
}

.p-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.p-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-card-category {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

.p-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    min-height: 4.5rem;
    /* Reserve space for 3 lines */
}

.p-card-price {
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.p-card-price .price-label {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
}

.p-card-price .price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.p-card-price .price-suffix {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
}

.p-card-meta {
    display: flex;
    flex-flow: row wrap;
    gap: 10px 15px;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 20px;
    flex-grow: 1;
    align-content: flex-start;
}

.p-card-meta .meta-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-card-meta .meta-item:last-child {
    width: 100%;
}

.p-card-meta i {
    color: var(--secondary-color);
}

.p-card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.p-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Reduced gap */
    padding: 10px 8px; /* Reduced horizontal padding */
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    flex: 1;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap; /* Prevent wrapping */
}

.p-card-btn i {
    font-size: 1rem;
}

.btn-reserve {
    background-color: #f97316; /* Vibrant Orange */
    color: var(--white);
}

.btn-reserve:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-contact {
    background-color: #1e293b; /* Dark Navy/Blue */
    color: var(--white);
}

.btn-contact:hover {
    background-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.btn-contact span {
    font-size: 0.65rem;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
    text-align: center;
    font-size: 1.05rem;
}

/* ============================================================ 
   CONTACT MODAL STYLES
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .p-card-actions {
        flex-direction: row !important;
        gap: 8px;
    }
    
    .p-card-btn {
        flex: 1;
    }
}

/* Explore Map Section */
.explore-map {
    background-color: var(--white);
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 30px;
    /* Aspect ratio for the map image roughly */
    aspect-ratio: 16/9;
}

.world-map-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    /* Subtle background */
    filter: grayscale(100%);
}

.map-point {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.point-marker {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.3);
    transition: var(--transition);
}

.point-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.map-point:hover .point-marker {
    background-color: var(--accent-color);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.3);
}

.map-point:hover .point-marker::after {
    animation: none;
    background-color: var(--accent-color);
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.5);
}

.point-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    pointer-events: none;
    /* Prevents flickering */
}

.point-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.map-point:hover .point-tooltip,
.active-point .point-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
    z-index: 20;
}

.active-point .point-marker {
    background-color: var(--accent-color);
    /* Highlight active marker */
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.3);
}

.point-tooltip h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 5px;
}

.point-tooltip ul li {
    margin-bottom: 5px;
}

.point-tooltip ul li a {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    transition: var(--transition);
}

.point-tooltip ul li:hover,
.point-tooltip ul li a:hover {
    color: var(--accent-color);
}

.point-tooltip ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.map-filter {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.map-filter .btn {
    min-width: 150px;
}

/* Responsive */
@media (max-width: 1024px) {

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .destination-card.large {
        grid-column: span 2;
        grid-row: auto;
        height: 300px;
    }

    .hero .title {
        font-size: 3.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    /* Tablet Package adjustments */
    .package-content h3 {
        font-size: 1.2rem;
    }

    .package-price-box {
        width: 220px;
    }
}

@media (max-width: 768px) {

    /* Existing Mobile Styles */
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-black, #1f2937);
        padding: 40px 20px;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        z-index: 1500;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border-bottom: 2px solid var(--accent-color);
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 20px;
    }

    .header-actions {
        display: none !important; /* Hide desktop buttons on mobile to avoid overlap */
    }

    .logo-img {
        width: 100px !important;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1600;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        margin: 5px 0;
        transition: 0.3s;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Fixes */
    .hero .title {
        font-size: 2rem !important;
        padding: 0 10px;
        line-height: 1.2;
    }

    .hero .description {
        font-size: 0.95rem !important;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .hero-search-wrapper {
        position: relative !important;
        bottom: 0 !important;
        margin-top: -50px;
        z-index: 20;
        padding: 0 15px;
    }

    .hero-search-box {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 15px !important;
        border-radius: 20px;
        background: var(--white);
        padding: 20px !important;
        margin-top: 15px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .search-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 10px 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .search-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .search-item:nth-child(5) {
        grid-column: span 2; /* Mes / Año takes full width if needed, or keep 2-col */
        border-bottom: none;
    }

    .btn-search {
        grid-column: span 2;
        width: 100%;
        margin-top: 10px;
        justify-content: center;
        height: 50px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    /* Mobile Packages */
    .package-card {
        flex-direction: column;
    }

    .package-image {
        width: 100%;
        height: 250px;
    }

    .package-content {
        padding: 25px;
    }

    .package-meta {
        width: 100%;
        justify-content: space-between;
    }

    .package-meta span:not(:last-child)::after {
        display: none;
    }

    .package-price-box {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        text-align: left;
    }

    .package-price-box .reviews {
        display: none;
        /* Hide reviews on small mobile to save vertical space if needed, or keep */
    }

    .package-price-box .price h2 {
        font-size: 2rem;
    }

    .package-price-box .price span {
        margin-bottom: 0;
        display: inline;
        margin-left: 5px;
    }

    .package-price-box .btn-outline-white {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Global Header Logo Toggle */
.header .logo-color {
    display: none;
}

.header .logo-white {
    display: block;
}

.header.sticky .logo-color {
    display: block;
}

.header.sticky .logo-white {
    display: none;
}

/* Forced Overrides for Layout and Color */
.logo-white {
    position: static !important;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent-color) !important;
}

/* MODERN BLACK DESIGN OVERRIDES (Restored) */
:root {
    --accent-color: #f97316;
    /* Orange */
    --bg-black: #1f2937;
    /* Gray-800 Lighter Dark */
}

/* Sticky Header - Dark Gray & Orange */
.header.sticky {
    background: var(--bg-black) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Logo: Show Color Logo (Orange R + White Text) on Black BG */
.header.sticky .logo-white {
    display: none !important;
}

.header.sticky .logo-color {
    display: block !important;
}

.header.sticky .nav-list a {
    color: var(--white) !important;
}

.header.sticky .nav-list a:hover,
.header.sticky .nav-list a.active {
    color: var(--accent-color) !important;
}

.header.sticky .search-icon {
    color: var(--white) !important;
}

.header.sticky .hamburger span {
    background-color: var(--white) !important;
}

/* Footer Redesign */
.footer {
    background-color: #0f172a !important; /* Más oscuro que secondary-color */
    color: #e4e4e7;
    position: relative;
    border-top: 5px solid var(--accent-color);
}

.footer::before {
    content: none;
}

.footer h4 {
    color: var(--white) !important;
}

.footer a {
    color: #a1a1aa;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020617; /* Casi negro profundo */
    color: #94a3b8;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    animation: zoomEffect 8s infinite alternate;
}

/* Hero Slider Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

@media (max-width: 768px) {
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-arrow { left: 15px; }
    .next-arrow { right: 15px; }
}

/* Footer Logos */
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-logos img {
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.logo-lufthansa { height: 70px; }
.logo-iata { height: 50px; }
.logo-chile { height: 45px; }
.logo-sernatur { height: 35px; }
.logo-mice { height: 50px; }
.logo-fedetur { height: 26px; }

.footer-logos img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* Centralización Aéreos */
.centralizacion {
    background-color: var(--white);
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.centralizacion .container {
    max-width: 1350px;
}

.centralizacion-wrapper {
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.c-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.c-premium-card {
    background: var(--white);
    padding: 30px 20px; /* Reduced padding slightly to fit 4 in a row */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.c-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.c-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.c-premium-card:hover::before {
    transform: scaleX(1);
}

.c-premium-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.c-premium-card:hover .c-premium-icon {
    background: var(--accent-color);
    color: var(--white);
}

.c-premium-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 15px;
}

.c-premium-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.c-premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-premium-list li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.c-premium-list li i {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .c-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .centralizacion-wrapper {
        padding: 40px 20px;
    }
    .c-premium-grid {
        grid-template-columns: 1fr;
    }
}
/* Fade In Animation for page load */
@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
body {
    animation: fadeInPage 1s ease-in-out forwards;
}
