body {
    font-family: 'Poppins', sans-serif;
}

/* NAVBAR */
.custom-navbar {
    top: 20px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    background: rgb(0 0 0 / 75%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 90%;
    margin: auto;
    transition: 0.3s;
}

.custom-navbar.scrolled {
    background: #ff7a00 !important;
}

.navbar-nav .nav-link {
    color: #fff !important;
    text-align: center;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    width: 0;
    height: 2px;
    background: #ff7a00;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Dark overlay for readability */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

/* Text styling */
.hero-title {
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

/* Second line styling */
.hero-second-line {
    font-size: 60%;
    font-weight: 400;
    display: inline-block;
    margin-top: 10px;
    color: #ffcc80;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: auto;
}

#typewriter::after {
    content: "|";
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.btn-main {
    background: #ff7a00;
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
}

/* WHY RAJ */
.icon {
    font-size: 40px;
    color: #ff7a00;
    transition: 0.3s;
}

.card-custom:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* Active state */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add slight delay using CSS variables */
.reveal {
    transition-delay: var(--delay, 0s);
}

/* CARDS */
.card-custom {
    border-radius: 15px;
    transition: 0.3s;
}

.card-custom:hover {
    transform: translateY(-10px);
}

footer {
    background: #111;
    color: #fff;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 330px;
    /* SAME HEIGHT */
    object-fit: cover;
    /* CENTER FOCUS */
    transition: transform 0.5s ease;
}

/* Dark gradient overlay */
.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Title on image */
.destination-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    z-index: 2;
}

/* Hover zoom */
.destination-card:hover img {
    transform: scale(1.1);
}

.about-img {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.about-img:hover img {
    transform: scale(1.05);
}

.destination-track {
    display: flex;
    animation: scrollSlider 15s linear infinite;
}

.destination-track:hover {
    animation-play-state: paused;
}

.packages-section {
    background: linear-gradient(to bottom, #e6f7ff, #ffffff);
}

/* CARD */
.package-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 520px;
    cursor: pointer;
    transition: 0.5s ease;
}

/* IMAGE */
.package-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* OVERLAY (dark gradient) */
.package-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* TEXT CONTENT */
.package-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.package-content h3 {
    font-size: 28px;
    font-weight: 600;
}

.package-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* 🔥 HOVER EFFECT */
.package-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.social-proof {
    background: linear-gradient(to top, #111, #222);
    color: #fff;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
    position: relative;
}

/* Base glow */
.social-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: 0.4s;
}

/* Hover */
.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
}

/* Platform Colors */
.tripadvisor {
    background: #34e0a1;
}

.facebook {
    background: #1877f2;
}

.instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
}

.tiktok {
    background: #000;
}

/* Glow Effects */
.tripadvisor:hover::before {
    box-shadow: 0 0 20px #34e0a1;
    opacity: 1;
}

.facebook:hover::before {
    box-shadow: 0 0 20px #1877f2;
    opacity: 1;
}

.instagram:hover::before {
    box-shadow: 0 0 20px #d6249f;
    opacity: 1;
}

.tiktok:hover::before {
    box-shadow: 0 0 20px #fff;
    opacity: 0.6;
}

.eco-villa-section {
    background: linear-gradient(to right, #f8fbff, #ffffff);
}

/* Image */
.villa-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.villa-img:hover img {
    transform: scale(1.05);
}

/* Features */
.villa-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.villa-features li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* BACKGROUND LAYER */
.travel-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* ICON BASE */
.travel-bg i {
    position: absolute;
    font-size: 30px;
    color: rgba(255, 122, 0, 0.08);
    /* very subtle */
    animation: floatIcon linear infinite;
}

/* INDIVIDUAL POSITIONS */
.travel-bg i:nth-child(1) {
    left: 10%;
    font-size: 40px;
    animation-duration: 25s;
}

.travel-bg i:nth-child(2) {
    left: 30%;
    font-size: 25px;
    animation-duration: 18s;
}

.travel-bg i:nth-child(3) {
    left: 50%;
    font-size: 35px;
    animation-duration: 22s;
}

.travel-bg i:nth-child(4) {
    left: 70%;
    font-size: 28px;
    animation-duration: 20s;
}

.travel-bg i:nth-child(5) {
    left: 85%;
    font-size: 45px;
    animation-duration: 26s;
}

.travel-bg i {
    filter: blur(1px);
}

/* FLOAT ANIMATION */
@keyframes floatIcon {
    0% {
        top: 100%;
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        top: -10%;
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0;
    }
}

/* FLOAT ANIMATION */
@keyframes float {
    0% {
        top: 100%;
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        top: -10%;
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0;
    }
}

/* Smooth infinite scroll */
@keyframes scrollSlider {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* MOBILE FIX */
@media (max-width: 991px) {

    .navbar .container {
        position: relative;
    }

    /* CENTER LOGO */
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    /* RIGHT TOGGLER */
    .navbar-toggler {
        margin-left: auto;
        z-index: 10;
    }

    /* DROPDOWN STYLE */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        border-radius: 20px;
        padding: 20px;
        margin-top: 10px;
    }

    /* CENTER LINKS */
    .navbar-nav {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    .destination-track {
        animation-duration: 35s;
    }
}