* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.preloader-plane {
    position: relative;
    animation: flyPlane 2s ease-in-out infinite;
}

@keyframes flyPlane {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    25% {
        transform: translateX(20px) translateY(-10px) rotate(5deg);
    }

    50% {
        transform: translateX(0) translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateX(-20px) translateY(-10px) rotate(-5deg);
    }
}

.preloader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
    margin-top: 15px;
}

.preloader-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin: 0 4px;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.preloader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0F766E;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0D5D56;
}

/* Hero Slider */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.7) 0%, rgba(30, 41, 59, 0.6) 100%);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #14B8A6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.destination-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-card:hover .destination-img {
    transform: scale(1.1);
}

.destination-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Package Card */
.package-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Service Card */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(15, 118, 110, 0.2);
}

.service-card:hover .service-icon {
    background: #0F766E;
    color: white;
    transform: rotateY(180deg);
}

.service-icon {
    transition: all 0.6s ease;
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Blog Card */
.blog-card {
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-img {
    transition: transform 0.5s ease;
}

/* Stats Counter */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navbar Scroll */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
}

.navbar-scrolled .nav-link {
    color: #1E293B !important;
}

.navbar-scrolled .nav-logo {
    color: #0F766E !important;
}

.navbar-scrolled .nav-cta {
    background: #0F766E !important;
    color: white !important;
}

.navbar-scrolled .menu-icon {
    color: #1E293B !important;
}

/* Search Box */
.search-tab.active {
    background: #0F766E;
    color: white;
}

/* Swiper-like Testimonial */
.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Newsletter Wave */
.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Button Hover Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Back to Top */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Image Placeholder Gradients */
.img-placeholder-1 {
    background: linear-gradient(135deg, #0F766E, #14B8A6, #2DD4BF);
}

.img-placeholder-2 {
    background: linear-gradient(135deg, #F59E0B, #FBBF24, #FCD34D);
}

.img-placeholder-3 {
    background: linear-gradient(135deg, #3B82F6, #60A5FA, #93C5FD);
}

.img-placeholder-4 {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA, #C4B5FD);
}

.img-placeholder-5 {
    background: linear-gradient(135deg, #EF4444, #F87171, #FCA5A5);
}

.img-placeholder-6 {
    background: linear-gradient(135deg, #EC4899, #F472B6, #F9A8D4);
}

/* Dropdown */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Rating Stars */
.star-filled {
    color: #F59E0B;
}

/* Parallax */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Gallery Hover */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Partner Logo */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Newsletter Input Focus */
.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}

/* Marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

.main-wrapper,
.wrapper,
.page-wrapper,
.site-wrapper {
    width: 100%;
    overflow: hidden;
}

section {
    max-width: 100%;
}