@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #003366;
    --primary-light: #0056b3;
    --secondary: #2d9c4c;
    --accent: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Overlay Scrollbar — No White Strip */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 51, 102, 0.8) transparent; /* Firefox */
}

::-webkit-scrollbar {
    width: 8px;
    background: transparent; /* Make scrollbar background transparent */
}

::-webkit-scrollbar-track {
    background-color: transparent; /* Ensure track is transparent */
    box-shadow: none;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 51, 102, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #2d9c4c;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    touch-action: none;
}

#preloader-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.8) saturate(1.2);
}

#preloader::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88); /* Deep dark overlay for video */
    pointer-events: none;
    z-index: -1;
}

#preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

@keyframes cinematicMove {
    0% { 
        transform: scale(1.1) translate(0, 0); 
    }
    100% { 
        transform: scale(1.4) translate(-3%, -2%); 
    }
}

.loader-content {
    position: relative;
    z-index: 10;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 10px 40px rgba(0, 51, 102, 0.4);
    border-radius: 50%;
    border: 3px solid var(--secondary);
    transition: var(--transition);
}

.loader-ring {
    position: absolute;
    width: 115%;
    height: 115%;
    border: 4px solid transparent;
    border-top: 4px solid var(--secondary);
    border-right: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo {
    width: 110px;
    height: auto;
    animation: logoPulse 2s ease-in-out infinite;
}

.loading-text {
    position: relative;
    z-index: 10;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: textFlicker 2s infinite;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes textFlicker {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

html.loading, body.loading {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    position: fixed; /* Lock everything */
}

body {
    background-color: var(--accent);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}
::-webkit-scrollbar-track {
    background: transparent !important;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Header & Top Bar */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.top-bar {
    background: var(--primary);
    color: white;
    padding: 10px 8%;
    font-size: 0.85rem;
    position: relative;
    z-index: 5;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span i {
    color: var(--secondary);
    margin-right: 6px;
}

.social-address {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: white;
    transition: var(--transition);
}

.top-socials a:hover {
    color: var(--secondary);
}

/* Navbar logic handled below in responsive and main sections */

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-container img {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.company-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.company-name span {
    color: var(--secondary);
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

#navbar.scrolled .nav-links a {
    color: var(--primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

#navbar.scrolled .mobile-toggle {
    color: var(--primary);
}

.nav-cta {
    position: relative;
    background: var(--secondary) !important;
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
    overflow: hidden;
    z-index: 1;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s ease;
    white-space: nowrap;
    text-decoration: none;
}

.index-pkg-btn {
    position: relative !important;
    background: var(--secondary) !important;
    color: #ffffff !important;
    padding: 11px 28px !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    z-index: 1 !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    letter-spacing: 0.3px;
}

.index-pkg-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003366 0%, #005fa3 50%, #27ae60 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.index-pkg-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.index-pkg-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.18);
    transform: skewX(-45deg) translateX(-200%);
    transition: transform 0.8s ease;
    z-index: 0;
}

.index-pkg-btn:hover::after {
    transform: skewX(-45deg) translateX(200%);
}

.index-pkg-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.nav-cta::before, .btn-primary::before, .dest-book-btn::before, .st-btn-primary::before, .promo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003366 0%, #005fa3 50%, #27ae60 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.nav-cta:hover::before, .btn-primary:hover::before, .dest-book-btn:hover::before, .st-btn-primary:hover::before, .promo-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta:hover, .btn-primary:hover, .dest-book-btn:hover, .st-btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.3);
    transform: translateY(-3px);
    color: #fff !important;
}

/* Diagonal Effect Layer (Second layer for more depth) */
.nav-cta::after, .btn-primary::after, .dest-book-btn::after, .st-btn-primary::after, .promo-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-45deg) translateX(-200%);
    transition: transform 0.8s ease;
    z-index: 0;
}

.nav-cta:hover::after, .btn-primary:hover::after, .dest-book-btn:hover::after, .st-btn-primary:hover::after, .promo-btn:hover::after {
    transform: skewX(-45deg) translateX(200%);
}

/* Flutter-style Mobile Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 90%;
    max-width: 450px;
    height: 70px;
    border-radius: 35px;
    display: none; /* Shown in media query */
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.2);
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    width: 25%;
    height: 100%;
    transition: var(--transition);
}

.bottom-nav a i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.bottom-nav a.active {
    color: var(--secondary);
}

.bottom-nav a.active i {
    transform: translateY(-5px);
    color: var(--secondary);
}

/* Mobile Side Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    padding: 40px 30px;
}

.mobile-drawer.active {
    right: 0;
}

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

.drawer-header i {
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

.mobile-drawer ul {
    list-style: none;
}

.mobile-drawer li {
    margin-bottom: 25px;
}

.mobile-drawer a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    transition: 0.3s;
}

.mobile-drawer a:hover {
    color: var(--secondary);
    padding-left: 10px;
}
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    display: flex;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Richer, sleeker slight dark gradient overlay as requested */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 1100px;
    text-align: center;
    padding: 0 20px;
    transform: translateX(-100px);
    opacity: 0;
    transition: 1s ease 0.5s;
}

.slide.active .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #27ae60 !important; /* Rich Darker Green */
    text-shadow: 3px 3px 15px rgba(0,0,0,0.9);
    position: relative;
    z-index: 50;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.btn-primary {
    position: relative;
    background: var(--secondary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--secondary);
    transition: all 0.4s ease;
}

.btn-primary:hover {
    color: white;
}

/* Second Button Style */
.btn-secondary {
    position: relative;
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
    border: 2px solid #fff;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

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

/* Typing Effect styling */
.typewriter-text {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    min-height: 50px;
    display: inline-block;
}

.typewriter-text::after {
    content: '|';
    color: var(--secondary);
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .typewriter-text {
        font-size: 1.8rem;
        min-height: 40px;
    }
}

/* Cloud Overlay Effect Removed */
.cloud-overlay {
    display: none !important;
}

/* Packages Section */
.section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-top: 10px;
    font-weight: 800;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Dot indicators — hidden by default, JS shows them on mobile only */
.packages-scroll-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 5px;
}

.packages-scroll-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
}

.packages-scroll-dots span.active {
    background: var(--secondary);
    width: 24px;
    border-radius: 4px;
}

.package-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.package-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 3.5px;
    background: linear-gradient(135deg, var(--secondary), transparent, var(--primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.5s;
    z-index: 5;
    pointer-events: none;
}

/* Dual Shine Container & Lines */
.shine-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 6;
    pointer-events: none;
}

.shine-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 300%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(45, 156, 76, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.package-card:hover .shine-line {
    opacity: 1;
}

/* Line 1: Moves Top-Right */
.package-card:hover .line-1 {
    left: 150%;
    top: -50%;
}

/* Line 2: Moves Bottom-Left */
.package-card:hover .line-2 {
    left: -50%;
    top: 150%;
}

.package-card {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

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

.package-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

.package-card:hover .package-img img {
    transform: scale(1.15) rotate(2deg);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.package-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-info h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.package-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.package-meta {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background: white;
    transition: var(--transition);
    z-index: 1000;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* About Section with Glassmorphism */
.about-section {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&q=80&w=1470');
    background-attachment: fixed;
    background-size: cover;
    color: white;
    position: relative;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-glass {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 30px;
    flex: 1;
}

.about-glass h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.about-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 8% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo .company-name {
    color: white;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active, .reveal-right.active, .reveal-left.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 1200px) {
    .packages-grid, .dest-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .section {
        padding: 60px 0;
    }
    .section-header {
        padding: 0 20px;
    }
    /* === Flutter-style Horizontal Scroll for Packages === */
    #packages {
        overflow: hidden;
        position: relative;
    }
    #packages::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(to left, rgba(248,249,250,0.95) 0%, transparent 100%);
        pointer-events: none;
        z-index: 10;
    }
    .packages-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        padding: 20px 20px 50px 20px;
        gap: 18px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* Prevent vertical bounce from interfering */
        touch-action: pan-x;
    }
    .packages-grid::-webkit-scrollbar {
        display: none;
    }
    .package-card {
        flex: 0 0 82vw;       /* Shows ~18% of next card = Flutter peek effect */
        max-width: 320px;
        scroll-snap-align: start;
        /* Disable hover lift on touch so cards don't jump */
        transform: none !important;
        transition: box-shadow 0.3s ease !important;
    }
    .package-card:active {
        transform: scale(0.98) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
    }
    /* Scroll hint dots */
    .packages-scroll-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -20px;
        margin-bottom: 10px;
    }
    .packages-scroll-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0,51,102,0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .packages-scroll-dots span.active {
        background: var(--secondary);
        width: 22px;
        border-radius: 4px;
    }
    /* Destinations horizontal scroll — infinite JS loop handles navigation */
    .dest-row {
        display: flex !important;
        overflow-x: scroll !important;
        overflow-y: visible !important;
        gap: 20px !important;
        padding: 40px 0 !important; /* Removed side padding to fix scroll calculations */
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        margin-top: 0 !important;
        scroll-behavior: auto !important; /* Must be auto for seamless jump */
        -webkit-overflow-scrolling: touch;
    }
    .dest-row::-webkit-scrollbar {
        display: none;
    }
    .dest-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        margin-right: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-container {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .bottom-nav {
        display: flex;
    }
    #navbar {
        justify-content: space-between; /* Keep space-between on mobile for toggle */
        padding: 5px 5%;
        height: 70px;
        gap: 0;
    }
    .logo-container img {
        height: 55px;
    }
    .company-name {
        font-size: 1.1rem;
    }
    .company-name span {
        font-size: 0.55rem;
    }
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner look like Flutter apps */
    }
    .slide-content {
        padding: 0 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        margin-top: 40px; /* Offset for navbar */
    }
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    .slide-content h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        font-weight: 600;
    }
    .slide-content p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 30px;
        opacity: 0.9;
    }
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .package-card {
        flex: 0 0 88vw !important; /* Slightly wider on small phones */
        max-width: 300px !important;
    }
    .dest-card {
        flex: 0 0 280px;
        width: 280px !important;
    }
    .dest-card {
        height: 380px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .logo-container {
        justify-content: center;
    }
}


/* New About Section Styles */
.st-root {
    font-family: 'Outfit', sans-serif;
    background: #ffffff;
    padding: 40px 0;
    width: 100%;
}

.st-section {
    width: 98%;
    max-width: 1500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

/* IMAGE PANEL */
.st-image-panel {
    position: relative;
    min-height: 700px;
    background: linear-gradient(160deg, #003366 0%, #004080 40%, #005fa3 80%, #0077cc 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 8%;
}

.st-image-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
}

/* Decorative circles */
.st-deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
}
.st-deco-circle.c1 { width: 280px; height: 280px; top: -60px; right: -60px; }
.st-deco-circle.c2 { width: 180px; height: 180px; top: 80px; right: 80px; }
.st-deco-circle.c3 { width: 400px; height: 400px; bottom: -120px; left: -100px; }

/* Glass badge */
.st-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 8px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.st-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #27ae60;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(39,174,96,0); }
}

.st-image-heading {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.st-image-heading span {
    color: #27ae60;
}

.st-image-sub {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 320px;
}

/* Stats row */
.st-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 0;
    margin-top: 32px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    overflow: hidden;
}

.st-stat-item {
    flex: 1;
    padding: 18px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.st-stat-item:last-child { border-right: none; }

.st-stat-number {
    color: #27ae60;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.st-stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 400;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* CONTENT PANEL */
.st-content-panel {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.st-eyebrow {
    color: #27ae60;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.st-main-heading {
    color: #003366;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.st-main-heading em {
    font-style: normal;
    color: #27ae60;
}

.st-mission {
    color: #4a5568;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 36px;
    padding-left: 16px;
    border-left: 3px solid #27ae60;
}

/* Values grid */
.st-values-heading {
    color: #003366;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.6;
}

.st-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 36px;
}

.st-value-card {
    background: #f7faff;
    border: 1px solid rgba(0,51,102,0.08);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: default;
}

.st-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,51,102,0.1);
    border-color: rgba(39,174,96,0.4);
}

.st-value-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #003366, #005fa3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-value-icon svg {
    width: 20px;
    height: 20px;
}

.st-value-title {
    color: #003366;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.st-value-desc {
    color: #718096;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* CTA Row */
.st-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.st-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0,51,102,0.3);
    overflow: hidden;
    z-index: 1;
}

.st-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,51,102,0.4);
}

.st-btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #003366;
    background: transparent;
    border: 1.5px solid rgba(0,51,102,0.2);
    border-radius: 50px;
    padding: 13px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

.st-btn-secondary:hover {
    background: rgba(0,51,102,0.05);
    border-color: rgba(0,51,102,0.4);
}

.st-trust-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0aec0;
    font-size: 12px;
    font-weight: 400;
    margin-top: 16px;
}

.st-trust-line svg { flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .st-section {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }
    .st-image-panel {
        min-height: 340px;
        padding: 32px 28px;
    }
    .st-content-panel {
        padding: 36px 28px;
    }
    .st-values {
        grid-template-columns: 1fr;
    }
    .st-stats { gap: 0; }
    .st-stat-number { font-size: 22px; }
    .st-deco-circle.c3 { display: none; }
}

@media (max-width: 480px) {
    .st-root { padding: 40px 12px; }
    .st-content-panel { padding: 28px 20px; }
    .st-image-panel { padding: 24px 20px; }
    .st-cta-row { flex-direction: column; align-items: flex-start; }
    .st-btn-primary, .st-btn-secondary { width: 100%; justify-content: center; }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations (Immediate for About Section) */
.st-badge          { animation: fadeUp 0.5s ease both; }
.st-image-heading  { animation: fadeUp 0.55s 0.1s ease both; }
.st-image-sub      { animation: fadeUp 0.55s 0.18s ease both; }
.st-stats          { animation: fadeUp 0.55s 0.26s ease both; }
.st-eyebrow        { animation: fadeUp 0.55s 0.08s ease both; }
.st-main-heading   { animation: fadeUp 0.55s 0.14s ease both; }
.st-mission        { animation: fadeUp 0.55s 0.22s ease both; }
.st-values         { animation: fadeUp 0.55s 0.3s ease both; }
.st-cta-row        { animation: fadeUp 0.55s 0.38s ease both; }

/* About Page Stats Counter Area */
.stats-counter-area {
    padding: 60px 8% 20px;
    background: #ffffff;
}

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

.stat-box {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(45, 156, 76, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    color: var(--primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating animation for boxes */
.stat-box:nth-child(odd) { animation: floatStat 6s ease-in-out infinite; }
.stat-box:nth-child(even) { animation: floatStat 6s ease-in-out infinite 1s; }

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

@media (max-width: 768px) {
    .stats-counter-area {
        padding: 40px 5% 10px;
    }
}

/* Desktop: 3-column grid for destinations */
.dest-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    justify-content: center;
}

/* Hide Javascript Infinite Loop Clones on Desktop always */
@media (min-width: 992px) {
    .dest-row .dest-card[aria-hidden="true"] {
        display: none !important;
    }
}

.dest-card {
    position: relative;
    height: 450px;
    width: 320px;
    border-radius: 50px; /* Extra rounded as per screenshot */
    overflow: hidden;
    margin: 0 auto;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    animation: takeoff 4s ease-in-out infinite;
    cursor: pointer;
}

.dest-card:hover {
    transform: translateY(-20px) !important;
    border: 3px solid rgba(72, 255, 0, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 
                0 0 25px rgba(72, 255, 0, 0.8),
                0 0 50px rgba(72, 255, 0, 0.4) !important;
    animation: none;
}

.dest-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.85; /* Slight dim to make text pop */
}

.dest-card:hover .dest-thumb img {
    transform: scale(1.1);
    opacity: 0.7;
}

.dest-desc {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%, rgba(0,0,0,0.3) 100%);
    color: #fff;
}

.dest-price-btn {
    background: #ff5a5f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    text-decoration: none;
}

.dest-card h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.dest-card .location {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.dest-book-btn {
    position: relative;
    background: #fff;
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.dest-book-btn:hover {
    color: #fff;
}

.dest-card:hover .dest-book-btn {
    opacity: 1;
    transform: translateY(0);
}

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

/* Unique delays */
.dest-card:nth-child(1) { animation-delay: 0s; }
.dest-card:nth-child(2) { animation-delay: 0.5s; }
.dest-card:nth-child(3) { animation-delay: 1s; }
.dest-card:nth-child(4) { animation-delay: 1.5s; }
.dest-card:nth-child(5) { animation-delay: 2s; }
.dest-card:nth-child(6) { animation-delay: 2.5s; }

/* Promo Banners Styling */
.promo-section {
    padding: 60px 8%;
    background: #fff;
    overflow: hidden;
}

.promo-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promo-card {
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.promo-content {
    flex: 1;
    padding: 40px;
    z-index: 2;
    color: white;
}

.promo-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1;
}

.promo-title span {
    color: #ffca28; /* Gold color for year */
}

.promo-offer {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.promo-offer span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

.promo-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.promo-btn:hover {
    color: #fff !important;
}

.promo-image {
    flex: 1;
    height: 100%;
}

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

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

/* Specific Card Themes */
.umrah-promo {
    background: linear-gradient(135deg, #e67e22, #d35400); /* Orange Theme */
}

.umrah-promo .promo-content {
    background: linear-gradient(to right, #d35400 30%, transparent 100%);
    position: absolute;
    inset: 0;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hajj-promo {
    background: #1a5276; /* Darker Blue Theme */
}

.hajj-promo .promo-image {
    position: absolute;
    left: 0;
    width: 50%;
}

.hajj-promo .promo-content {
    margin-left: 50%;
    background: #1a5276;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%); /* Diagonal Shutter Effect */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Promos */
@media (max-width: 991px) {
    .promo-container {
        grid-template-columns: 1fr;
    }
    
    .promo-card {
        height: 300px;
    }
    
    .promo-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 500px) {
    .promo-card {
        flex-direction: column;
        height: auto;
    }
    
    .umrah-promo .promo-content, .hajj-promo .promo-content {
        position: relative;
        width: 100%;
        margin: 0;
        background: inherit;
        clip-path: none;
        padding: 40px 25px;
    }
    
    .promo-image {
        display: none;
    }
}

/* ========================================= */
/* Welcome To Sailani Section                */
/* ========================================= */
.st-welcome-section {
    padding: 80px 5%;
    background: #fff;
    overflow: hidden;
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.welcome-content {
    flex: 1.2;
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.welcome-title span {
    color: var(--secondary);
}

.welcome-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.welcome-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.welcome-list li {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-list li i {
    font-size: 0.7rem;
    color: var(--secondary);
}

.welcome-stats {
    display: flex;
    gap: 20px;
}

.w-stat-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f4fbf6; /* Light green tint */
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(45, 156, 76, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.w-stat-box::after {
    content: '\f005'; /* FontAwesome star */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 5rem;
    color: rgba(45, 156, 76, 0.05);
    transform: rotate(15deg);
}

.w-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(45, 156, 76, 0.1);
    border-color: var(--secondary);
}

.w-stat-icon {
    font-size: 2.2rem;
    color: var(--secondary);
}

.w-stat-info {
    display: flex;
    flex-direction: column;
}

.w-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.w-stat-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.welcome-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-image img {
    width: 100%;
    max-width: 550px;
    height: 550px;
    object-fit: cover;
    /* Organic Blob Shape Mask */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: organicBlob 10s ease-in-out infinite alternate;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 8px solid #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.welcome-image img:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(45, 156, 76, 0.3);
    /* No scale, no shape change, no stopping animation */
}

/* Base slow breathing blob animation */
@keyframes organicBlob {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@media (max-width: 991px) {
    .welcome-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    .welcome-title {
        font-size: 2.3rem;
    }
    .welcome-list {
        grid-template-columns: 1fr;
    }
    .welcome-image img {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .welcome-stats {
        flex-direction: column;
    }
    .welcome-image img {
        height: 350px;
    }
}

/* ========== FLOATING CHAT WIDGET ========== */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}

/* Floating Buttons Stack */
.floating-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* WhatsApp Icon Direct Link Button */
.whatsapp-stack-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366; /* WhatsApp Brand Green */
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-stack-btn:hover {
    transform: scale(1.1) translateY(-4px);
    background: #1da851;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* Toggle button (chat bubble / popup trigger) */
.chat-toggle-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1da851 0%, var(--secondary) 100%);
    border: none;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff;
    font-size: 32px;
}

.chat-toggle-btn i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.chat-toggle-btn:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 15px 30px rgba(39, 174, 96, 0.45);
}

.chat-toggle-btn:active {
    transform: scale(0.95);
}

/* chat popup container */
.chat-popup {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px; /* Made slightly bigger for premium UI */
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.15), 0 0 0 1px rgba(0,0,0,0.05); /* Clean corporate shadow */
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
    display: none; /* hidden by default, toggled via JS */
}

.chat-popup.active {
    display: block;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* chat header — Sailani Premium theme */
.chat-header {
    padding: 24px 25px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #005fa3 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.chat-title h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    margin-bottom: 2px;
}

.chat-title span {
    font-size: 0.7rem;
    color: #ffffff;
    background: var(--secondary);
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(39, 174, 96, 0.4);
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* messages area */
.chat-messages {
    padding: 25px 20px 20px;
    height: 320px; /* Made taller for chat visibility */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
}

/* custom scroll */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.message.incoming {
    align-self: flex-start;
}

.message.outgoing {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-bubble {
    padding: 14px 18px;
    border-radius: 18px 18px 18px 4px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-size: 0.95rem; /* Larger font size */
    line-height: 1.5;
    color: var(--text-dark);
}

.outgoing .msg-bubble {
    background: linear-gradient(135deg, var(--secondary) 0%, #1da851 100%);
    border-radius: 18px 18px 4px 18px;
    color: white;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

.msg-time {
    font-size: 0.7rem;
    color: #888888;
    margin-top: 6px;
    margin-left: 2px;
}

.outgoing .msg-time {
    color: rgba(255,255,255,0.85);
    text-align: right;
    margin-right: 2px;
}

/* chat input area */
.chat-footer {
    padding: 18px 22px 22px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f7f9;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    border: 1px solid transparent;
    transition: border 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--secondary);
    background: #ffffff;
}

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 0.95rem; /* Better text fit */
    color: var(--text-dark);
    outline: none;
}

.input-group input::placeholder {
    color: #a0aab2;
    font-weight: 400;
}

.send-btn {
    background: var(--primary);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.send-btn:hover {
    background: #005fa3;
    transform: scale(0.95);
}

.demo-watermark {
    text-align: center;
    margin-top: 12px;
    color: #b0bdc5 !important;
    font-size: 0.65rem !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================================
   Featured Packages — Flutter-style Mobile Horizontal Carousel
   ============================================================ */
@media (max-width: 991px) {

    /* Show scroll dot indicators */
    .packages-scroll-dots {
        display: flex;
    }

    /* Section: remove horizontal padding so cards go full-width edge to edge */
    /* CRITICAL: NO overflow:hidden here — it would block horizontal scroll! */
    #packages.section {
        padding: 60px 0 50px;
        position: relative;
        overflow: visible;
    }

    #packages .section-header {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    /* --- Main: grid → horizontal flex scroll carousel --- */
    .packages-grid {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: unset !important;
        overflow-x: auto !important;
        overflow-y: visible !important;        /* Force visibility to allow vertical page scroll */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 5px 20px 40px 20px;
        scroll-padding-left: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        touch-action: pan-y !important;        /* Tell mobile browsers to allow vertical page scroll */
    }

    .packages-grid:active, .packages-grid.grabbing {
        cursor: grabbing !important;
    }

    .packages-grid::-webkit-scrollbar {
        display: none;
    }

    /* --- Card sizing: Better proportions for mobile --- */
    .packages-grid .package-card {
        flex: 0 0 72% !important;              /* Slightly smaller width for better look */
        min-width: 250px;
        max-width: 300px;
        scroll-snap-align: start;
        transition: box-shadow 0.3s ease, transform 0.2s ease !important;
        height: auto;
    }

    /* Smaller images on mobile */
    .packages-grid .package-img {
        height: 180px !important;
    }

    /* Compact info for mobile */
    .packages-grid .package-info {
        padding: 18px !important;
    }

    .packages-grid .package-info h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .packages-grid .package-info p {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .packages-grid .price {
        font-size: 1.1rem !important;
    }

    /* Toned-down hover on mobile */
    .packages-grid .package-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
    }
}

/* Tiny screens: slightly slimmer cards */
@media (max-width: 480px) {
    .packages-grid .package-card {
        flex: 0 0 86% !important;
        min-width: 240px;
    }

    .package-img {
        height: 210px;
    }
}

/* fully responsive layout for mobile - Flutter Inspired */
@media (max-width: 600px) {
    .chat-popup {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        border-radius: 0;
        margin: 0;
        z-index: 10000;
        flex-direction: column;
        display: none;
        background: #f8f9fa;
    }
    
    .chat-popup.active {
        display: flex;
        animation: chatMobileIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes chatMobileIn {
        from { transform: translateY(100vh); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .chat-header {
        padding: 40px 20px 20px; /* Space for notches */
        border-radius: 0;
        flex-shrink: 0;
    }

    .chat-messages {
        flex: 1;
        height: auto;
        padding: 20px 15px;
        background: #fdfdfd;
    }

    .msg-bubble {
        padding: 12px 16px;
        font-size: 0.9rem;
        max-width: 90%;
    }

    .chat-footer {
        padding: 15px 15px 30px; /* Safe area for bottom nav/bars */
        background: #fff;
        border-top: 1px solid #eee;
        flex-shrink: 0;
    }

    .input-group {
        padding: 5px 5px 5px 18px;
    }

    .chat-header-actions .icon-btn i::before {
        content: "\f053" !important; /* fa-chevron-left */
    }

    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-toggle-btn {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}
