/* ==========================================================================
   PREMIUM LUXURY DESIGN SYSTEM & THEME
   Palette: Rich Obsidian Navy (#0a1529), Imperial Gold (#c5a059),
            Champagne White (#f4f6f9), Slate Onyx (#1e2530)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75;
    color: #1e2530;
    background-color: #f4f6f9;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: #f4f6f9;
}
body::-webkit-scrollbar-thumb {
    background: #c5a059;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gold-text {
    color: #c5a059 !important;
}

/* ==========================================================================
   GLOBAL ENTRY SCROLL ANIMATION SYSTEM (FROM BOTTOM TO TOP)
   ========================================================================== */
.animate-section {
    opacity: 0;
    transform: translateY(60px); /* Bottom displacement */
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
                transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
    will-change: transform, opacity;
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0); /* Rises beautifully into standard view */
}

/* ==========================================================================
   1. PREMIUM FIXED NAV BAR (MODERN VIP GLASS LAYOUT)
   ========================================================================== */
.main-header {
    background-color: rgba(10, 21, 41, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 16px;
    color: #d1d5db;
    position: relative;
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    width: 0;
    height: 1.5px;
    background-color: #c5a059;
    transition: width 0.3s ease;
}

.nav-menu a:hover:not(.nav-cta)::after, 
.nav-menu a.active:not(.nav-cta)::after {
    width: calc(100% - 32px);
}

.nav-menu a:hover:not(.nav-cta),
.nav-menu a.active:not(.nav-cta) {
    color: #c5a059;
}

.nav-cta {
    background: transparent;
    border: 1px solid #c5a059;
    color: #c5a059 !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: #c5a059;
    color: #0a1529 !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Premium Hamburger Trigger Asset (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-toggle .bar:nth-child(2) {
    width: 80%;
    align-self: flex-end;
}

/* Hamburger state transformations during toggle activation */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #c5a059;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #c5a059;
}

/* ==========================================================================
   2. HERO BANNER
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(10, 21, 41, 0.65), rgba(10, 21, 41, 0.85)), 
                url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero-overlay {
    max-width: 850px;
    width: 100%;
    padding: 20px;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #c5a059;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h1 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero p {
    color: #e5e7eb;
    font-size: 1.15rem;
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
}

.hero-tags span {
    display: inline-block;
    background: rgba(197, 160, 89, 0.12);
    color: #c5a059;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse-wheel {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    position: relative;
}

.mouse-wheel::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #c5a059;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollMouse 1.8s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% { opacity: 0; top: 6px; }
    30% { opacity: 1; }
    100% { opacity: 0; top: 18px; }
}

/* ==========================================================================
   3. STRUCTURAL CONTROLS & SECTIONS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px;
}

.section-tag {
    display: block;
    color: #855806;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: #0a1529;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    color: #556070;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.img-wrapper {
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(10,21,41,0.08);
}

.img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.img-wrapper:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   4. INTRO SECTION LAYOUT
   ========================================================================== */
.intro-section {
    margin-bottom: 90px;
}

.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-text {
    flex: 1.2;
}

.split-text h2 {
    color: #0a1529;
    font-size: 2.3rem;
    margin-bottom: 24px;
    line-height: 1.25;
}

.split-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4a5568;
    text-align: justify;
}

.split-img {
    flex: 0.8;
}

/* ==========================================================================
   5. LONELY PLANET STYLE THREE COLUMN GRID
   ========================================================================== */
.journey-steps-section {
    margin-bottom: 100px;
}

.grid-header-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: #141414;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(10, 21, 41, 0.1);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-box {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 35px 30px;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.step-box:hover {
    transform: translateY(-8px);
}

.step-inner-content {
    width: 100%;
    color: #ffffff;
    z-index: 2;
}

.step-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #c5a059;
}

.step-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.step-btn {
    display: inline-block;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.step-btn:hover {
    background-color: #ffffff;
    color: #0a1529;
}

/* ==========================================================================
   6. ASYMMETRIC CARD
   ========================================================================== */
.favorite-places-section {
    margin-bottom: 100px;
}

.favorite-split-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.favorite-text-side {
    flex: 1;
}

.fav-label {
    display: block;
    font-size: 0.8rem;
    color: #855806;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.favorite-text-side h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a1529;
    margin-bottom: 25px;
}

.favorite-text-side p {
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 35px;
}

.take-me-btn {
    display: inline-block;
    background-color: #0a1529;
    color: #ffffff;
    padding: 14px 32px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.take-me-btn:hover {
    background-color: #c5a059;
    color: #0a1529;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.25);
}

.favorite-image-side {
    flex: 1.2;
    width: 100%;
}

.favorite-image-side img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   7. HORIZONTAL TRACK SCROLLER (NO CLIP FIX)
   ========================================================================== */
.scroller-section {
    margin-bottom: 100px;
}

.scroller-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
}

.scroller-title-area h2 {
    font-size: 2.3rem;
    color: #0a1529;
    margin-bottom: 10px;
}

.scroller-nav-indicator {
    display: flex;
    align-items: center;
    gap: 30px;
}

.view-all-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0a1529;
    border-bottom: 1px solid #0a1529;
    padding-bottom: 4px;
}

.scroller-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background-color: #ffffff;
    color: #0a1529;
    border: 1px solid rgba(10,21,41,0.1);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

.arrow-btn:hover {
    background-color: #0a1529;
    color: #ffffff;
}

.scroller-container-wrapper {
    overflow: hidden;
    width: 100%;
}

.horizontal-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 5px 35px 5px; /* Fixed: allows bottom area rendering seamlessly */
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.package-card {
    flex: 0 0 340px;
    background: #ffffff;
    border: 1px solid rgba(10,21,41,0.05);
    padding: 20px;
    box-shadow: 0 10px 25px rgba(10,21,41,0.02);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10,21,41,0.06);
}

.card-image-box {
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin-bottom: 18px;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #855806;
    margin-bottom: 10px;
}

.package-card h3 {
    font-size: 1.15rem;
    color: #0a1529;
    margin-bottom: 25px;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf2f7;
    padding-top: 15px;
}

.book-now-btn {
    border: 1px solid #0a1529;
    color: #0a1529;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.book-now-btn:hover {
    background-color: #0a1529;
    color: #ffffff;
}

.price-tag {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1425;
}

.price-tag span {
    display: block;
    font-size: 0.7rem;
    color: #718096;
}

/* ==========================================================================
   8. AUDIENCE BLOCKS & NOTIFICATION BOX
   ========================================================================== */
.audience-section {
    margin-bottom: 100px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.audience-card {
    background: #ffffff;
    padding: 40px 30px;
    border: 1px solid rgba(10,21,41,0.04);
    position: relative;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0a1529;
}

.audience-card:hover::before {
    background-color: #c5a059;
}

.badge {
    display: inline-block;
    background: #f0f4f8;
    color: #0a1529;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 4px 10px;
    font-weight: 700;
    margin-bottom: 20px;
}

.audience-card h3 {
    color: #0a1529;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.audience-card p {
    color: #4a5568;
    font-size: 0.95rem;
}

.highlights-section {
    margin-bottom: 100px;
}

.highlights-row {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight-item {
    display: flex;
    background: #ffffff;
    padding: 30px;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(10,21,41,0.04);
}

.icon-placeholder {
    font-size: 1.2rem;
    color: #c5a059;
    background: #0a1529;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-content h3 {
    color: #0a1529;
    margin-bottom: 6px;
}

.inline-link {
    color: #855806;
    font-weight: 700;
    font-size: 0.85rem;
}

.notice-box {
    background: #ffffff;
    border-top: 4px solid #c5a059;
    padding: 40px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.notice-icon {
    width: 24px;
    height: 24px;
    background: #855806;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ==========================================================================
   9. LUXURY HIGH-END FOOTER DESIGN
   ========================================================================== */
.main-footer {
    background-color: #0a1529;
    color: #ffffff;
    border-top: 3px solid #c5a059;
    padding: 80px 0 30px 0;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 380px;
}

.footer-links-col h4, 
.footer-academic h4 {
    color: #c5a059;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-academic p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-academic .stu-info {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   10. MEDIA QUERIES & RESPONSIVENESS CORES (COMPREHENSIVE FIX)
   ========================================================================== */

/* Target dynamic FAQ components or any two-column grids */
div[class*="faq-grid"], 
div[class*="questions-container"],
.faq-section-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
        .menu-toggle {
        display: flex;
    }

    /* Transforming nav links block to sliding drawer layout */
    .nav-menu {
        position: fixed;
        top: 61px; /* Aligns perfectly right under the header */
        right: -100%;
        width: 280px;
        height: calc(100vh - 61px);
        background-color: rgba(10, 21, 41, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1999;
    }

    /* Active drawer injection */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        text-align: left;
    }

    .nav-menu a:not(.nav-cta)::after {
        left: 0;
    }

    .nav-menu a:hover:not(.nav-cta)::after, 
    .nav-menu a.active:not(.nav-cta)::after {
        width: 40px; /* Short premium dynamic line marker */
    }

    .nav-cta {
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }
    .container {
        padding: 60px 20px;
    }
    
    .hero h1 { 
        font-size: 2.6rem; 
    }
    
    .split-layout, .favorite-split-container { 
        flex-direction: column; 
        gap: 40px; 
    }
    
    .split-text, .split-img, .favorite-text-side, .favorite-image-side { 
        width: 100%; 
    }
    
    .three-column-grid { 
        grid-template-columns: 1fr; 
    }
    
    .step-box { 
        height: 400px; 
    }
    
    .favorite-image-side img { 
        height: 380px; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }

    /* FAQ protection fallback on intermediate screens */
    div[class*="faq-grid"], 
    div[class*="questions-container"],
    .faq-section-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Hamburger Menu Trigger Activation */
    .menu-toggle {
        display: flex;
    }

    /* Transforming nav links block to sliding drawer layout */
    .nav-menu {
        position: fixed;
        top: 61px; /* Aligns perfectly right under the header */
        right: -100%;
        width: 280px;
        height: calc(100vh - 61px);
        background-color: rgba(10, 21, 41, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1999;
    }

    /* Active drawer injection */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        text-align: left;
    }

    .nav-menu a:not(.nav-cta)::after {
        left: 0;
    }

    .nav-menu a:hover:not(.nav-cta)::after, 
    .nav-menu a.active:not(.nav-cta)::after {
        width: 40px; /* Short premium dynamic line marker */
    }

    .nav-cta {
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }

    /* Existing Page Layout Adjustments */
    .hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .highlight-item { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .scroller-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
    }
    
    .scroller-nav-indicator { 
        width: 100%; 
        justify-content: space-between; 
    }
    
    .package-card { 
        flex: 0 0 290px; 
    }
}
 
@media (max-width: 480px) {
    .container {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 1.85rem !important;
    }

    .favorite-text-side h2,
    .split-text h2,
    .section-title h2 {
        font-size: 1.9rem !important;
    }

    /* Absolute global security to isolate any minor custom element overflows */
    html, body {
        overflow-x: hidden !important;
        position: relative;
    }
}