:root {
    --primary-color: #044cac;
    --primary-dark: #0e1f26;
    --secondary-color: #a5b0c6;
    --midnight-green: #08171c;
    --charcoal: #44444e;
    --light-bg: #f8f9fa;
    --soft-slate-light: #d5dae6;
    --dark-text: #08171c;
    --gradient-primary: linear-gradient(135deg, #044cac 0%, #2a6fd6 100%);
    --gradient-dark: linear-gradient(135deg, #0e1f26 0%, #08171c 100%);
    --shadow-sky: 0 8px 30px rgba(4, 76, 172, 0.25);
    --shadow-soft: 0 4px 20px rgba(165, 176, 198, 0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 76px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-dark) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    box-shadow: 0 4px 15px rgba(4, 76, 172, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #023a85;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sky);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sky);
}

.navbar-premium {
    background: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(0px);
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.navbar-premium.scrolled {
    background: rgba(30, 35, 40, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.navbar-brand img {
    height: 66px;
    transition: all 0.3s ease;
}

.navbar-premium.scrolled .navbar-brand img {
    height: 54px;
}

.navbar-nav {
    position: relative;
}

.nav-pill-tracker {
    position: absolute;
    height: 38px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.6rem 1.2rem;
    margin: 0 4px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.navbar-nav .nav-link::before {
    display: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: none;
}

.navbar-nav .nav-link::after {
    display: none;
}

.navbar .btn-outline-light {
    border-width: 1.5px;
    font-weight: 600;
    padding: 8px 24px;
}

.navbar .btn-outline-light:hover {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

.hero-section {
    height: 90vh;
    position: relative;
    background: #000;
    margin-top: -76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(14, 31, 38, 0.2), rgba(8, 23, 28, 0.6));
    z-index: 1;
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section>* {
    z-index: 2;
}

.page-header {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -96px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 31, 38, 0.4), rgba(8, 23, 28, 0.7));
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-size: 3rem;
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        margin-top: -60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.feature-card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-card i {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-card h6 {
    margin-bottom: 0;
    line-height: 1.3;
    font-size: 0.95rem;
}

.service-card,
.card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover,
.service-card:hover,
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(14, 31, 38, 0.15) !important;
}

.service-card img {
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.nav-pills .nav-link {
    color: var(--dark-text);
    background: #fff;
    border: 1px solid var(--soft-slate-light);
    border-radius: 50px;
    margin: 0 5px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s;
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sky);
}

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-float {
    background-color: #25d366;
}

.call-float {
    background-color: var(--primary-color);
}

footer {
    background: var(--gradient-dark) !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(14, 31, 38, 0.98);
        backdrop-filter: blur(15px);
        margin-top: 15px;
        border-radius: 15px;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .navbar-collapse.show .navbar-nav .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(5) {
        transition-delay: 0.25s;
    }

    .navbar-nav {
        text-align: center;
        gap: 15px;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        border-radius: 10px;
        display: inline-block;
        width: 100%;
    }

    .navbar-nav .nav-link.active::before {
        display: none;
    }

    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: #fff !important;
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .navbar {
        height: 60px !important;
        min-height: 60px !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    .navbar-brand img {
        max-height: 45px !important;
    }

    .hero-section {
        height: 85vh;
        margin-top: -60px;
    }

    .hero-title {
        font-size: 2.2rem !important;
        margin-top: 20px;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .hero-section .carousel-item,
    .hero-section .carousel-inner {
        height: 100%;
    }

    .hero-section img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .feature-card {
        min-height: 130px;
        padding: 1rem 0.75rem;
    }

    .feature-card i {
        font-size: 1.75rem;
        height: 40px;
        width: 40px;
        margin-bottom: 0.75rem;
    }

    .feature-card h6 {
        font-size: 0.85rem;
    }

    .row.g-4 .col-6 {
        display: flex;
    }

    .row.g-4 .col-6 .feature-card {
        flex: 1;
    }

    .service-card img {
        border-radius: 20px 20px 0 0;
        height: 200px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .card {
        margin-bottom: 1rem;
    }

    .navbar-collapse {
        background-color: var(--primary-dark);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .feature-card {
        min-height: 120px;
        padding: 0.75rem 0.5rem;
    }

    .feature-card h6 {
        font-size: 0.8rem;
    }
}

.category-card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    text-align: left;
    position: relative;
    border: 2px solid transparent;
}

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

.category-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(4, 76, 172, 0.1);
}

.category-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-card-body {
    padding: 1.25rem;
}

.category-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.category-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.4;
}

.success-modal-content {
    border-radius: 20px;
    border: none;
    text-align: center;
    padding: 2rem;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.destination-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 140px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.destination-card:hover {
    transform: translateY(-3px);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.destination-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 10px;
    color: white;
    text-align: center;
}

.destination-card h5 {
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 66px;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .navbar-nav .nav-link.active {
        color: #fff !important;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
}

section[id] {
    scroll-margin-top: 86px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 66px;
    }
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
    width: 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.package-section {
    padding: 100px 0;
    background-color: #fff;
}

.package-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.package-section .section-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 50px;
    font-weight: 400;
}

.package-card {
    position: relative;
    display: block;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #f0f0f0;
    transform: translateZ(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.package-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: #fff;
}

.package-card .card-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.card-btn {
    display: inline-block;
    padding: 10px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
    cursor: pointer;
}

.card-btn:hover,
.package-card:hover .card-btn {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.package-card:hover .card-bg {
    transform: scale(1.08);
}

.couple-bg {
    background-image: url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2");
}

.common-bg {
    background-image: url("https://images.unsplash.com/photo-1539635278303-d4002c07eae3");
}

.custom-bg {
    background-image: url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800");
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .package-card {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .package-section {
        padding: 40px 0;
    }

    .packageSwiper .swiper-slide {
        width: 90%;
    }

    .package-card {
        width: 100%;
        height: auto;
        aspect-ratio: 7 / 5;
        border-radius: 16px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .package-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .package-card .card-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .card-content {
        padding: 1.2rem;
    }

    .card-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

.section-overlap {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.listing-card {
    border: none;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(4, 76, 172, 0.15);
}

.listing-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.listing-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.listing-card:hover .listing-card-img {
    transform: scale(1.08);
}

.listing-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.listing-card-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    z-index: 5;
}

.listing-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.listing-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.listing-card-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.listing-card-price {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed #e9ecef;
}

.price-tag {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.price-sub {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.listing-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-soft-primary {
    background: rgba(4, 76, 172, 0.1);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-soft-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.card-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    width: fit-content;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.card-btn:hover {
    background: #023a85;
    color: #fff;
    transform: translateY(-2px);
}

.card-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.card-btn.outline:hover {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .package-section {
        background-color: #ffffff !important;
    }

    .package-wrapper {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .package-wrapper::-webkit-scrollbar {
        display: none;
    }

    .package-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        min-height: 260px;
    }

    .package-section .section-title {
        font-size: 1.5rem;
    }
}

.transport-card-img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    .transport-card-img {
        height: 150px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

.swiper-pagination-bullet {
    background-color: var(--secondary-color) !important;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

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

.package-item {
    width: 100%;
}

.package-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .span-full {
        grid-column: 1 / -1;
    }

    .package-item:not(.span-full) .package-card {
        height: 90px;
        aspect-ratio: auto;
    }

    .span-full .package-card {
        height: 110px;
        aspect-ratio: auto;
    }

    .package-card h3 {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }

    .package-card .card-tagline {
        font-size: 0.75rem;
        margin-bottom: 4px;
        line-height: 1.1;
    }

    .card-btn-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(4px);
        border-radius: 50%;
        color: #fff;
        font-size: 0.75rem;
    }

    .card-content {
        padding: 10px;
    }

    .span-full .card-btn {
        padding: 5px 14px;
        font-size: 0.8rem;
    }
}

.package-card.animating {
    overflow: hidden;
    pointer-events: none;
}

.package-card.animating .card-bg {
    transform: scale(1.15) !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.package-card.animating .card-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.review-content {
    font-size: 1rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.reviewSwiper {
    padding-bottom: 60px;
}

.reviewSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.reviewSwiper .review-card {
    width: 100%;
    max-width: 100%;
    flex: 1;
    overflow: hidden;
}

.reviewSwiper .swiper-wrapper {
    align-items: stretch;
}

@media (min-width: 1024px) {
    .reviewSwiper {
        max-width: 1100px;
        margin: auto;
    }
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    margin-top: auto;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviewer-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-text);
}

.reviewer-info .small {
    font-size: 0.85rem;
    color: #888;
}

.stars {
    color: #fbbf24;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: 1rem;
}

/* Gallery Mosaic Layout */
.gallery-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    /* Crucial for packing mixed sizes */
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item.g-span-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.g-span-wide {
    grid-column: span 2;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
}

/* Mobile Swiper Adjustments */
.gallery-mobile-swiper {
    padding-bottom: 40px;
    /* Space for pagination */
}

.gallery-mobile-swiper .swiper-slide {
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.gallery-mobile-swiper img,
.gallery-mobile-swiper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Re-use Overlay styles */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

/* Always show overlay on mobile for context or keep hover logic? */
/* User requested "Carousel like manner", usually overlays are visible or appear on tap. */
/* Let's keep hover/tap logic. On mobile hover = tap/long press often. */
.gallery-item:hover .gallery-overlay,
.gallery-mobile-swiper .swiper-slide:active .gallery-overlay {
    opacity: 1;
}

/* For better mobile UX, maybe always show a gradient at bottom with text? */
@media (max-width: 768px) {
    .gallery-overlay {
        opacity: 1;
        /* Always visible on mobile */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%);
    }

    .gallery-info h5,
    .gallery-info p {
        transform: translateY(0);
    }
}

.gallery-info h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-info h5,
.gallery-item:hover .gallery-info p {
    transform: translateY(0);
}

/* Video Badge */
.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-media-container {
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media-container img,
.lightbox-media-container video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-details {
    margin-top: 1.5rem;
    color: #fff;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@media (max-width: 991px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }
}

/* Multi-Upload Styles */
.gallery-count-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(var(--primary-rgb), 0.9);
    /* Fallback or variable usage */
    background: #044cac;
    /* Primary color */
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-internal-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    z-index: 10001;
}

.internal-nav {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: transform 0.2s;
}

.internal-nav:hover {
    transform: scale(1.2);
    color: #4f46e5;
}

.media-counter {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* Fade animation for internal switch */
.fade-in-up {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}