:root {
    --primary-blue: #003566;
    --text-dark: #333333;
    --text-grey: #555555;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --brand-cyan: #00dbe2;
    /* Vibrant cyan from image */
    --brand-dark: #001d3d;
    /* Dark blue from top bar */
    --brand-orange: #ff5e14;
    /* Logo orange */
    --font-family: "Poppins", sans-serif;
    --container-width: 1200px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Top Bar Styles --- */
.top-bar {
    min-height: 44px;
    background-color: #002855;
    padding: 10px 0;
    font-size: 14px;
    color: var(--white);
}

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

.announcement {
    font-weight: 300;
}

.get-deal-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
    margin-left: 5px;
    text-decoration: none;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.join-free-link {
    color: var(--white);
    font-weight: 500;
}

.sign-in-top-btn {
    background-color: var(--brand-cyan);
    color: var(--white);
    padding: 6px 24px;

    font-weight: 600;
    transition: all 0.3s ease;
}

.sign-in-top-btn:hover {
    background-color: #00c2cb;
    box-shadow: 0 0 15px rgba(0, 219, 226, 0.4);
}

.join-btn:hover {
    background-color: #00abb3;
    /* Slightly darker cyan for hover */
    box-shadow: 0 2px 8px rgba(0, 194, 203, 0.3);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: var(--brand-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--brand-cyan);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--brand-cyan);
    transform: translateY(-3px);
    color: var(--brand-dark);
}

/* --- Main Navigation Styles --- */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-nav {
    background-color: var(--brand-cyan);
    padding: 20px 0;
}

.main-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 100%;
    width: 100%;
    display: block;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 5px;
}

.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.brand-name .best {
    color: var(--brand-orange);
}

.brand-tagline {
    font-size: 10px;
    color: #555;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Wrapper for Links and Actions */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 50px;
    padding: 3px 3px 3px 25px;
    /* Proportional padding */
    width: 420px;
    /* Wider search bar */
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    color: #555;
}

.search-bar input::placeholder {
    color: #ccc;
    font-weight: 300;
}

.search-btn {
    background-color: var(--brand-dark);
    color: var(--white);
    border: none;
    width: 44px;
    /* Perfectly circular button */
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

.header-favourite-btn {
    position: relative;
    font-size: 24px;
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -20px;
}

.header-favourite-btn:hover {
    color: var(--brand-orange);
    /* Changed to brand orange for visibility */
    transform: scale(1.1);
}

.heart-btn.active,
.heart-btn.fas {
    color: #ff4d4d !important;
}

.header-fav-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--brand-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white);
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
}

/* --- RESPONSIVE --- */

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .search-bar {
        width: 300px;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-right {
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .hamburger-btn {
        display: block;
    }

    .main-nav {
        padding: 15px 0;
    }

    .main-nav-inner {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-top: 15px;
        padding: 20px 0;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .nav-links a {
        font-size: 18px;
    }

    .search-bar {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .header-favourite-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Small Mobile (≤576px) */
@media (max-width: 576px) {
    .brand-name {
        font-size: 20px;
    }

    .brand-tagline {
        font-size: 8px;
    }

    .announcement {
        font-size: 11px;
        padding: 0 5px;
    }

    .join-free-link,
    .sign-in-top-btn {
        font-size: 12px;
    }

    .sign-in-top-btn {
        padding: 5px 15px;
    }
}

/* HEADER END */

/* Global Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 15px;
}

.search-results-dropdown.active {
    display: block;
}

.search-category h6 {
    font-size: 14px;
    color: var(--brand-dark);
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

.search-list {
    margin-bottom: 20px;
}

.search-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #444 !important;
    transition: all 0.2s;
}

.search-list li a:hover {
    color: var(--brand-cyan) !important;
    padding-left: 5px;
}

.search-list img {
    border-radius: 4px;
    object-fit: contain;
    background: #f8f8f8;
}

.search-list i {
    color: var(--brand-cyan);
    width: 30px;
    text-align: center;
}

.no-results {
    color: #888;
    text-align: center;
    padding: 20px 0;
}

.hero-section {
    padding: 100px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
}
/* HERO START */
.hero-content {
    background-color: #e9eef2;
    /* Light grayish-blue from image */
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: "DM Sans", sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 40px;
    line-height: 1.3;
}

.store-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.store-card {
    background-color: var(--white);
    width: 140px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.store-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }
}

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

    .hero-content {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .store-grid {
        gap: 15px;
        padding: 0 10px;
    }

    .store-card {
        width: 120px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 20px;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .store-grid {
        gap: 10px;
    }

    .store-card {
        width: calc(50% - 10px);
        min-width: 100px;
        height: 65px;
        padding: 10px;
    }
}

/* HERO END */
/* ===============================
   Exclusive Offers Slider
   =============================== */

.exclusive-offers {
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
    overflow: hidden;
    position: relative;
}

/* container */
.exclusive-container {
    padding: 0 10px;
    max-width: 1400px;
    margin: 0 auto;
}

/* =================================
   🔥 WRAPPER (NO GAP – IMPORTANT)
   ================================= */
.offers-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* =================================
   🔥 CARD (margin instead of gap)
   ================================= */
.offer-card {
    flex: 0 0 70%;
    /* main width */
    margin-right: 30px;
    /* spacing */
    min-width: 300px;

    height: 400px;
    border-radius: 20px;
    overflow: hidden;

    display: flex;
    position: relative;

    color: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

    flex-shrink: 0;
}

/* remove last margin */
.offer-card:last-child {
    margin-right: 0;
}

/* ===============================
   Background Colors
   =============================== */

.offer-card.blue-gradient {
    background: #004e92;
}

.offer-card.green-gradient {
    background: #27ae60;
}

/* ===============================
   Content Area
   =============================== */

.offer-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.offer-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.offer-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 450px;
}

/* ===============================
   Button
   =============================== */

.btn-get-deal {
    background-color: #ffd60a;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    width: fit-content;
    transition: 0.3s;
}

.btn-get-deal:hover {
    background-color: #ffc300;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 214, 10, 0.4);
}

/* ===============================
   Image Section
   =============================== */

.offer-image-box {
    flex: 0 0 42%;
    position: relative;
    background-color: var(--white);

    border-radius: 50% 0 0 50% / 100% 0 0 100%;
    overflow: hidden;

    margin-left: -40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
}

.offer-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============================
   Controls
   =============================== */

.offers-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;

    background-color: #e2e8f0;
    color: #001d3d;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: 0.3s;
}

.control-btn:hover {
    background-color: #cbd5e0;
}

/* ===============================
   Dots
   =============================== */

.pagination-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.p-dot {
    width: 8px;
    height: 8px;
    background-color: #cbd5e0;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.p-dot.active {
    width: 35px;
    height: 8px;
    background-color: #001d3d;
    border-radius: 10px;
}

/* ===============================
   RESPONSIVE (IMPROVED ONLY)
   =============================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .offer-card {
        flex: 0 0 75%;
    }
}

/* Laptop */
@media (max-width: 1200px) {
    .offer-card {
        flex: 0 0 85%;
    }

    .offer-content {
        padding: 40px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .offer-card {
        flex: 0 0 95%;
        height: 360px;
    }

    .offer-title {
        font-size: 28px;
    }

    .offer-desc {
        font-size: 16px;
    }

    .offer-image-box {
        flex: 0 0 40%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .offers-container {
        padding: 0 15px;
    }

    .offer-card {
        flex: 0 0 100%;
        margin-right: 0;

        flex-direction: column-reverse;
        height: auto;
        min-height: 480px;
    }

    .offer-image-box {
        width: 100%;
        flex: 0 0 260px;
        margin-left: 0;

        border-radius: 0;
        box-shadow: none;
    }

    .offer-content {
        padding: 35px 25px;
        text-align: center;
        align-items: center;
    }

    .btn-get-deal {
        margin: auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .offer-card {
        min-height: 440px;
    }

    .offer-content {
        padding: 25px 18px;
    }

    .offer-title {
        font-size: 22px;
    }

    .offer-desc {
        font-size: 14px;
    }

    .offer-image-box {
        flex: 0 0 200px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }
}

/* EXCLUSIVE OFFERS END */

.weekly-travel-section {
    padding: 60px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
}

.weekly-offers-box {
    background-color: #003566;
    /* Deep blue from image */
    border-radius: 10px;
    padding: 60px 15px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--white);
    overflow: hidden;
}

.weekly-info {
    flex: 0 0 300px;
    text-align: center;
}

.weekly-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.explore-btn {
    background-color: #00dbe2;
    /* Cyan blue from design */
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #00c2cb;
    transform: translateY(-2px);
}

.sponsored-label {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.trip-logo {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.trip-logo .dot {
    color: #ff5e14;
    /* Orange dot from Trip.com logo */
}

.resort-cards-container {
    display: flex;
    gap: 20px;
    flex-grow: 1;
    justify-content: space-between;
}

.resort-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    flex: 0 1 calc(33.33% - 14px);
    /* Perfectly fit 3 cards with gaps */
    min-width: 250px;
    /* Minimum width before stacking */
    color: #333;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.resort-thumb {
    height: 180px;
    overflow: hidden;
}

.resort-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resort-details {
    padding: 20px;
}

.resort-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #000;
}

.resort-discount {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.resort-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.view-deal-btn {
    background-color: #003566;
    color: var(--white);
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.view-deal-btn i {
    font-size: 10px;
}

.price-tag {
    font-size: 12px;
    color: #666;
}

.price-tag b {
    color: #000;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 1200px) {
    .resort-cards-container {
        flex-wrap: wrap;
    }

    .resort-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 992px) {
    .weekly-offers-box {
        flex-direction: column;
    }

    .weekly-info {
        flex: 0 0 auto;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .resort-card {
        flex: 0 0 100%;
    }
}

/* WEEKLY OFFERS END */

/* POPULAR DESTINATIONS */
.popular-destinations {
    padding: 60px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
    text-align: center;
}

.popular-destinations h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--brand-dark);
    margin-bottom: 50px;
}

/* Slider wrapper */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
    /* small padding for edges */
}

/* Slider track */
.slider {
    display: flex;
    gap: 20px;
    /* space between slides */
    transition: transform 0.6s linear;
}

/* Slide card */
.destination-card {
    flex: 0 0 calc(20% - 16px);
    /* 5 cards per row with 20px gap (20*4/5 = 16) */
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.destination-image {
    height: 200px;
    overflow: hidden;
}

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

.destination-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.destination-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.destination-discount {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.destination-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-view-deal {
    background-color: #003566;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: auto;
}

.btn-view-deal:hover {
    background-color: #001d3d;
}

.btn-view-deal i {
    font-size: 12px;
}

/* Navigation buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 5px 12px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Responsive slides */
@media (max-width: 1200px) {
    .destination-card {
        flex: 0 0 50%;
        /* 2 slides per view */
    }
}

@media (max-width: 768px) {
    .popular-destinations h2 {
        font-size: 28px;
    }

    .destination-card {
        flex: 0 0 70%;
        /* 1-2 slides per view, partially visible */
    }
}

@media (max-width: 600px) {
    .destination-card {
        flex: 0 0 100%;
        /* 1 slide per view */
    }
}

/* POPULAR DESTINATIONS END */

/* TREANDING DEALS END */

.seasonal-deals-section {
    padding: 40px 0;
    background-color: #002855;
    /* Dark blue background matching design */
    font-family: "DM Sans", sans-serif;
    color: var(--white);
    text-align: center;
}

.seasonal-deals-section h2 {
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
    font-family: "Spinnaker", sans-serif;
}

.seasonal-grid {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.seasonal-card-wrapper {
    flex: 0 0 calc(25% - 19px);
    text-align: left;
    min-width: 250px;
}

.seasonal-card {
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.seasonal-card:hover {
    transform: translateY(-8px);
}

.seasonal-card .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Vignette/Dark Overlay inside the card */
.seasonal-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* Round brand logo on card */
.seasonal-card .brand-logo {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.seasonal-card .brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Get Deal button ON the card */
.seasonal-card .get-deal-btn-card {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--white);
    color: #333;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.seasonal-card .get-deal-btn-card:hover {
    opacity: 1;
}

.seasonal-info h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--white);
}

.seasonal-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .seasonal-card-wrapper {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 600px) {
    .seasonal-card-wrapper {
        flex: 0 0 100%;
    }

    .seasonal-deals-section h2 {
        font-size: 28px;
    }
}

/* SEASONAL DEALS END */

/* RECENTLY ADDED CASHBACK START */

.cashback-section {
    padding: 40px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
    text-align: center;
}

.cashback-section h2 {
    font-size: 35px;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 50px;
    font-family: "Spinnaker", sans-serif;
}

.cashback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 100px;
    /* Increased space between first and second column */
    row-gap: 30px;
    max-width: 1300px;
    /* Widened the container slightly to accommodate the larger gap */
    margin: 0 auto;
}

.cashback-card {
    display: flex;
    background-color: var(--white);
    border-radius: 4px;
    /* Using subtle rounded edges like the image */
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.cashback-logo-box {
    flex: 0 0 160px;
    background-color: #e9eef2;
    /* Light blueish-gray from image */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cashback-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cashback-info {
    flex: 1;
    padding: 25px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cashback-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cashback-rate {
    font-size: 14px;
    color: #004e92;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cashback-rate:hover {
    color: #003566;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .cashback-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .cashback-logo-box {
        flex: 0 0 120px;
    }

    .cashback-info {
        padding: 15px 20px;
    }

    .cashback-info h3 {
        font-size: 14px;
    }
}

/* RECENTLY ADDED CASHBACK END */
/* ===============================
   Top Travel Products Section
   =============================== */
.top-travel-products {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.products-header {
    margin-bottom: 50px;
}

.products-header h2 {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.products-header p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================
   PRODUCTS GRID
   =============================== */
.products-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 25px;
    justify-items: center;
}

/* ===============================
   PRODUCT CIRCLE CARD
   =============================== */
.product-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    border: 4px solid var(--white);
    background-color: var(--white);
}

.product-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.product-circle:hover img {
    transform: scale(1.1);
}

/* ===============================
   RESPONSIVE
   =============================== */

/* Large Laptop */
@media (max-width: 1200px) {
    .top-travel-products {
        margin: 60px auto;
    }
    .products-header h2 {
        font-size: 28px;
    }
    .product-circle {
        width: 120px;
        height: 120px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .top-travel-products {
        margin: 50px auto;
        padding: 0 15px;
    }
    .products-header h2 {
        font-size: 24px;
    }
    .products-header p {
        font-size: 14px;
    }
    .products-row {
        gap: 20px;
    }
    .product-circle {
        width: 110px;
        height: 110px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .products-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .product-circle {
        width: 100px;
        height: 100px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .products-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-circle {
        width: 95px;
        height: 95px;
    }
}

/* TRAVEL ACCESSORIES END */
/* ===============================
   Perfect Journey Section
   =============================== */
.perfect-journey {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
}

.perfect-journey h2 {
    font-family: var(--font-secondary);
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--dark-text);
}

/* Steps Grid */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.steps-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Step Card */
.step-card {
    width: 100%;
    max-width: 339px;
    height: 234px;
    box-sizing: border-box;
    background-color: rgba(0, 53, 102, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card.bordered {
    border: 1.5px solid #002d62;
}

.step-card.step-1 {
    background-color: #ffffff;
    border: 1px solid #f1f1f1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Icon */
.step-icon {
    width: 43px;
    height: 43px;
    background-color: #002d62;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon i {
    color: white;
    font-size: 18px;
}

/* Text */
.step-card h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #002d62;
    margin-bottom: 12px;
}

.step-card p {
    font-family: var(--font-secondary);
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    font-weight: 400;
}

/* Steps Image */
.steps-image img {
    width: 100%;
    max-width: 408px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ===============================
   RESPONSIVE
   =============================== */

/* Laptop / Tablet */
@media (max-width: 1200px) {
    .steps-container {
        gap: 35px;
    }
    .step-card {
        max-width: 300px;
        height: auto;
        padding: 25px;
    }
    .steps-image img {
        max-width: 350px;
        height: auto;
    }
}

/* Tablet / Mobile */
@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .steps-image {
        order: -1;
    }

    .steps-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .steps-col {
        gap: 20px;
    }

    .perfect-journey h2 {
        font-size: 28px;
    }

    .step-card h3 {
        font-size: 18px;
    }

    .step-card p {
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .perfect-journey {
        padding: 0 15px;
    }

    .perfect-journey h2 {
        font-size: 22px;
    }

    .step-card {
        padding: 20px;
    }

    .step-card h3 {
        font-size: 16px;
    }

    .step-card p {
        font-size: 11px;
    }

    .steps-image img {
        height: auto;
        border-radius: 15px;
    }
}

/* TRAVEL JOURNEY END */

.reviews-section {
    padding: 80px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
    text-align: center;
}

.reviews-section h2 {
    font-size: 35px;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 70px;
    font-family: "Spinnaker", sans-serif;
    line-height: 1.3;
}

.reviews-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card-wrapper {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 80px;
    /* Space for the avatar overhang */
}

.review-card {
    background-color: var(--white);
    padding: 60px 30px 40px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    width: 100%;
}

.review-number {
    width: 50px;
    height: 50px;
    background-color: #003566;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.review-text {
    font-size: 14px;
    color: #7a8b9e;
    line-height: 1.6;
}

.user-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid var(--white);
    overflow: hidden;
    margin: 0 auto 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .review-card-wrapper {
        flex: 0 0 calc(50% - 15px);
        max-width: none;
    }
}

@media (max-width: 650px) {
    .review-card-wrapper {
        flex: 0 0 100%;
    }
}

/* REVIEWS END */

.travel-blogs-section {
    padding: 40px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
}

.travel-blogs-section h2 {
    font-size: 35px;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 70px;
    font-family: "Spinnaker", sans-serif;
    text-align: center;
}

.blogs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
}

.blog-img-box {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-img-box img {
    transform: scale(1.05);
}

.blog-content {
    text-align: left;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #003566;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
    cursor: pointer;
}

.blog-content h3:hover {
    color: #001d3d;
}

.blog-excerpt {
    font-size: 14px;
    color: #7a8b9e;
    line-height: 1.6;
    margin-bottom: 25px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
}

.post-date {
    font-size: 12px;
    color: #aab7c4;
}

.btn-view-blog {
    display: inline-block;
    padding: 10px 35px;
    border: 1px solid #003566;
    background-color: #003566;
    color: #e9eef2;
    border-radius: 50px;
    /* Pill shape */
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-blog:hover {
    background-color: #003566;
    color: var(--white);
}

/* Specific Layout Adjustments based on screenshot */
/* Post 2 and 3 have horizontal layouts in the 2nd and 3rd columns */

.blogs-grid .post-vertical {
    grid-row: span 2;
}

.blogs-grid .post-horizontal {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Make text side slightly wider */
    grid-column: span 2;
    gap: 30px;
    align-items: start;
}

.blogs-grid .post-horizontal .blog-img-box {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .blogs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-horizontal {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .post-vertical,
    .post-horizontal {
        grid-column: span 1;
        grid-row: span 1;
        display: flex;
        flex-direction: column;
    }

    .post-horizontal .blog-img-box {
        margin-bottom: 25px;
    }
}

/* BLOGS END */

.site-footer {
    padding: 80px 0 30px;
    background-color: var(--white);
    color: #555;
    font-family: "DM Sans", sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-branding {
    flex: 0 0 320px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #7a8b9e;
    /* Muted blue-gray */
    margin-bottom: 30px;
}

.footer-branding h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: #003566;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background-color: #001d3d;
}

.footer-links-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    /* Large horizontal gap between the two main columns */
}

.footer-column-group {
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Vertical gap between stacked categories */
}

.footer-column h4 {
    font-size: 18px;
    color: #003566;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: #7a8b9e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #003566;
}

/* Subscribe Section */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-form input {
    padding: 12px 20px;
    background-color: #e9eef2;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.subscribe-form .btn-subscribe {
    background-color: #003566;
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form .btn-subscribe:hover {
    background-color: #001d3d;
}

/* Get in Touch Section */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #7a8b9e;
    font-size: 14px;
}

.contact-item i {
    width: 30px;
    height: 30px;
    background-color: #003566;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e9eef2;
    margin-bottom: 40px;
}

/* Partners Section */
.footer-partners {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-partners img {
    height: 45px;
    filter: grayscale(0);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-partners img:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #e9eef2;
    padding-top: 25px;
    color: #7a8b9e;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-partners {
        justify-content: center;
    }
}

/* FOOTER END */
/* Pagination Styles */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 8px;
}

.page-item {
    margin: 0 4px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    color: var(--brand-dark);
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    color: #fff;
    background-color: var(--brand-cyan);
    border-color: var(--brand-cyan);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.page-link:hover {
    background-color: #f1f3f5;
    border-color: #dee2e6;
    color: var(--brand-dark);
}

/* Additional Pagination Helpers */
.pagination-wrapper nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Show the arrows (first and last items) but style them consistently */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-size: 18px;
    font-weight: bold;
}

/* Hide the text-only Previous/Next buttons usually found in the separate row */
.pagination-wrapper .d-sm-none,
.pagination-wrapper .d-flex.justify-content-between.flex-fill {
    display: none !important;
}

/* Ensure the desktop row is visible since Bootstrap CSS is missing */
.pagination-wrapper .d-none {
    display: block !important;
}

.pagination-wrapper .d-sm-flex {
    display: flex !important;
    justify-content: space-between !important;
    width: 100%;
}

.pagination-wrapper .small.text-muted,
.pagination-wrapper .text-sm.text-gray-700.leading-5 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}
