:root {
    --text-navy: #001d3d;
    --white: #ffffff;
    --text-grey: #666666;
}

.trending-deals {
    padding: 60px 0;
    background-color: var(--white);
    font-family: "DM Sans", sans-serif;
    text-align: center;
}

.trending-deals h2 {
    font-size: var(--h1-size, 48px);
    font-weight: 800;
    color: var(--brand-dark, #001d3d);
    margin-bottom: 50px;
}

.deals-grid {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.trending-card {
    flex: 0 0 calc(25% - 19px);
    background-color: var(--white);
    border-radius: 15px;
    padding: 50px 25px 30px 25px;
    /* Added more top padding for the badge overlap */
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    margin-top: 20px;
    /* Space for the badge overlap */
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
    justify-content: flex-end;
    /* Push text to the right to make room for absolute badge */
    padding-left: 60px;
    /* Room for the badge on the left */
    min-height: 60px;
}

/* The ribbon badge overlapping the top edge */
.company-badge {
    position: absolute;
    top: -15px;
    /* Moves it above the card edge */
    left: 25px;
    background-color: #003566;
    color: white;
    width: 65px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    border-radius: 15px 0 15px 15px;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* The folded dog-ear corner */
.company-badge::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, white 50%, #001d3d 50%);
    /* Match section bg / card bg */
    border-bottom-left-radius: 12px;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin-bottom: 10px;
    /* Slight offset for centering look */
}

.deal-text {
    font-size: 14px;
    color: #004e92;
    font-weight: 600;
    margin: 15px 0;
}

.btn-trending-deal {
    background-color: #003566;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.btn-trending-deal:hover {
    background-color: #001d3d;
}

.btn-trending-deal i {
    font-size: 11px;
}

/* Responsive */
@media (max-width: 1200px) {
    .trending-card {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 600px) {
    .trending-card {
        flex: 0 0 100%;
    }

    .trending-deals h2 {
        font-size: 28px;
    }
}

.top-picks-section {
    padding: 60px 20px;
    max-width: 1249px;
    margin: 0 auto;
}

.top-picks-header {
    margin-bottom: 40px;
    text-align: center;
}

.top-picks-header h2 {
    font-size: var(--h2-size, 32px);
    font-weight: 700;
    color: var(--text-navy, #001d3d);
    margin: 0 0 10px 0;
}

.top-picks-header p {
    font-size: 15px;
    color: var(--text-navy);
    opacity: 0.85;
    margin: 0;
}

/* Slider Specific Styles */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-window {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.picks-grid {
    display: flex;
    /* Changed from grid to flex for smooth scrolling */
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: max-content;
}

.pick-card {
    flex: 0 0 calc(20% - 20px) !important;
    /* Force 5 cards on desktop */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Navigation Arrows */
.slider-nav {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.2s ease;
    color: var(--text-navy);
    font-size: 18px;
    flex-shrink: 0;
}

.slider-nav:hover {
    background-color: var(--text-navy);
    color: var(--white);
    border-color: var(--text-navy);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--text-navy);
    width: 20px;
    border-radius: 5px;
}

/* Force 5 cards on Desktop by using fixed width */
.pick-card {
    flex: 0 0 225px !important;
    width: 225px !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Responsive Slider */
@media (max-width: 1300px) {
    .pick-card {
        flex: 0 0 280px !important;
        width: 280px !important;
    }
}

@media (max-width: 1024px) {
    .pick-card {
        flex: 0 0 240px !important;
        width: 240px !important;
    }
}

@media (max-width: 768px) {
    .picks-grid {
        gap: 15px !important;
    }

    .pick-card {
        flex: 0 0 80vw !important;
        /* Use viewport width for consistency */
        width: 80vw !important;
    }

    .logo-wrapper {
        height: 100px !important;
        padding: 15px !important;
    }

    .discount-text {
        font-size: 16px !important;
    }

    .pick-btn {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .pick-card {
        flex: 0 0 85vw !important;
        width: 85vw !important;
    }

    .slider-nav {
        display: none;
    }
}

/* Properties already handled in main block */

.logo-wrapper {
    background-color: var(--white);
    border-radius: 15px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow like in screenshot */
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo-wrapper.dark {
    background-color: #000;
    /* For Shop Simon logo */
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pick-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 2px;
    align-items: center;
    text-align: center;
}

.brand-name {
    font-size: 13px;
    color: var(--text-grey);
    text-transform: capitalize;
}

.discount-text {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
    font-family: "DM Sans", sans-serif;
}

.pick-btn {
    background-color: #ff5e14;
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.pick-btn:hover {
    background-color: #2b365f;
}

.expiry-text {
    font-size: 11px;
    color: var(--text-grey);
    text-align: center;
    margin-top: 4px;
    /* Move closer to button */
}

/* Simon Logo Mockup */
.simon-logo-placeholder {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simon-diamond {
    font-size: 20px;
    line-height: 1;
    margin-bottom: -5px;
}

.simon-text {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Smooth spacing for discount text line */
.brand-name {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.discount-text {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 5px 0;
    font-family: "DM Sans", sans-serif;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .picks-grid {
        /* Maintain flex for slider */
        display: flex;
    }
}

@media (max-width: 600px) {
    .picks-grid {
        /* Maintain flex for slider */
        display: flex;
    }

    .top-picks-header h2 {
        font-size: 26px;
    }
}

/* Opportunity Section */
.opportunity-section {
    background-color: #002d62;
    /* Precise navy from theme */
    padding: 50px 0;
    /* Increased vertical padding for premium spacing */
    color: white;
}

.opportunity-container {
    max-width: 1249px;
    /* Slightly wider container */
    margin: 0 auto;
    padding: 0 20px;
    /* Reduced horizontal padding */
    display: flex;
    flex-direction: column;

    /* Increased gap between rows */
}

.opportunity-row {
    display: flex;
    align-items: center;
    gap: 120px;
    /* Significant gap between text and image */
}

.opportunity-row.reverse {
    flex-direction: row-reverse;
}

.opportunity-text {
    flex: 1;
}

.opportunity-text h2 {
    font-size: var(--h2-size, 32px);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.25;
    color: var(--white, #ffffff);
}

.opportunity-text p {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.opportunity-image {
    flex: 1.3;
    height: 480px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Precise dimensions for the top right image as requested */
.opportunity-image.top-right-img {
    width: 558px;
    height: 466px;
    flex: none;
}

/* Precise dimensions for the bottom left image as requested */
.opportunity-image.bottom-left-img {
    width: 457px;
    height: 429px;
    flex: none;
}

.opportunity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* View Deal Button */
.view-deal-btn {
    background-color: #ff5e14;
    color: white;
    border: none;
    padding: 8px 8px 8px 25px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: fit-content;
    font-family: "DM Sans", sans-serif;
}

.view-deal-btn:hover {
    background-color: #00d1df;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 184, 196, 0.4);
}

.deal-icon {
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.view-deal-btn:hover .deal-icon {
    transform: rotate(15deg);
}

.deal-icon i {
    color: #00b8c4;
    font-size: 16px;
}

/* ===============================
   RESPONSIVE (Improved)
   =============================== */

/* Large laptop */
@media (max-width: 1200px) {
    .opportunity-container {
        padding: 0 40px;
    }

    .opportunity-row {
        gap: 70px;
    }

    .opportunity-image.top-right-img,
    .opportunity-image.bottom-left-img {
        width: 100%;
        max-width: 520px;
        height: 400px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .opportunity-section {
        padding: 70px 0;
    }

    .opportunity-container {
        padding: 0 25px;
    }

    .opportunity-row,
    .opportunity-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .opportunity-text h2 {
        font-size: 30px;
    }

    .opportunity-text p {
        font-size: 15px;
    }

    .opportunity-image,
    .opportunity-image.top-right-img,
    .opportunity-image.bottom-left-img {
        width: 100%;
        height: 320px;
        flex: none;
        order: -1;
    }

    .view-deal-btn {
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .opportunity-section {
        padding: 55px 0;
    }

    .opportunity-container {
        padding: 0 18px;
    }

    .opportunity-text h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .opportunity-text p {
        font-size: 14px;
    }

    .opportunity-image {
        height: 260px;
        border-radius: 8px;
    }

    .view-deal-btn {
        padding: 10px 10px 10px 20px;
        font-size: 14px;
    }

    .deal-icon {
        width: 30px;
        height: 30px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .opportunity-image {
        height: 210px;
    }

    .opportunity-text h2 {
        font-size: 20px;
    }

    .opportunity-text p {
        font-size: 13px;
    }
}

/* Why Choose Us Section - Brand Colors Aligned */
.why-choose-us {
    background-color: #f8fafc;
    /* Very light slate background */
    padding: 80px 0;
    font-family: "Inter", sans-serif;
    color: #002d5b;
    /* Brand Navy */
}

.why-choose-us .container {
    max-width: 1249px;
    margin: 0 auto;
    padding: 0 10px;
}

.why-choose-us .section-intro {
    margin-bottom: 60px;
    text-align: left;
}

.why-choose-us .section-intro span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ff5e14;
    /* Brand Orange */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-us .section-intro h2 {
    font-size: var(--h1-size, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #002d5b;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
}

.reason-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reason-icon {
    width: 55px;
    height: 55px;
    background-color:#ff5e14 ;
    /* Light blue tint */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}


.reason-card:hover .reason-icon {
    background-color: #003566;
    transform: rotate(5deg);
}

.reason-icon i {
    font-size: 24px;
    color: #ffffff;
    /* Brand Blue */
    transition: all 0.3s ease;
}

.reason-card:hover .reason-icon i {
    color: #fff;
}

.reason-card h3 {
    font-size: var(--h3-size, 24px);
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #002d5b;
}

.reason-card p {
    font-size: 15px;
    color: #64748b;
    /* Slate grey */
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .why-choose-us .section-intro h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-us {
        padding: 60px 0;
    }

    .why-choose-us .section-intro h2 {
        font-size: 30px;
    }
}

/* Popular Destinations Section */
.popular-destinations-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.destinations-header {
    margin-bottom: 50px;
    text-align: center;
}

.destinations-header span {
    color: #ff5e14;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    /* Small Text - 14px */
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.destinations-header h2 {
    font-size: 48px;
    /* Heading 1 - 48px */
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.1;
    margin: 0;
}

.destinations-slider-wrapper {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
    /* This prevents the clones from causing horizontal scroll */
}

.destinations-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destination-slide-card {
    flex: 0 0 calc(25% - 15px);
    /* Back to 4 cards for better spacing */
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.destination-slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Color Filters based on screenshot colors */
.destination-slide-card.dest-blue {
    background-color: #1e40af;
}

.destination-slide-card.dest-yellow {
    background-color: #d97706;
}

.destination-slide-card.dest-cyan {
    background-color: #0891b2;
}

.destination-slide-card.dest-purple {
    background-color: #7c3aed;
}

.destination-slide-card.dest-grey {
    background-color: #4b5563;
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Subtle colored layer */
.destination-slide-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.15;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.destination-slide-card:hover::before {
    opacity: 0.3;
}

.destination-overlay h3 {
    color: #ffffff;
    font-size: 24px;
    /* Heading 3 - 24px */
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.destination-overlay span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    /* Small Text - 14px */
    font-weight: 500;
}

/* Hover Effects */
.destination-slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.destination-slide-card:hover img {
    transform: scale(1.1);
}

/* Navigation */
.dest-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b2b71;
    font-size: 18px;
    transition: all 0.3s ease;
}

.dest-nav-btn:hover {
    background: #6366f1;
    color: white;
}

.dest-nav-btn.prev {
    left: 10px;
    background-color: #003566;
    color: white;
}

.dest-nav-btn.next {
    right: 10px;
    background-color: #003566;
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .destination-slide-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .destinations-header h2 {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .destination-slide-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .destination-slide-card {
        flex: 0 0 100%;
        height: 350px;
    }

    .destinations-header h2 {
        font-size: 32px;
    }

    .destination-overlay h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .destination-slide-card {
        flex: 0 0 100%;
    }

    .dest-nav-btn {
        display: none;
    }
}

/* Redesigned Deal Cards - EXACT Reference Match */
.destination-card {
    flex: 0 0 280px !important; /* Smaller width for peeking effect on mobile */
    width: 280px !important;
    height: auto !important;
    padding: 20px;
    border: 1px solid #f1f5f9;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 10px 5px;
}

@media (min-width: 992px) {
    .destination-card {
        flex: 0 0 320px !important;
        width: 320px !important;
    }
}

.deal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.store-info i {
    width: 42px;
    height: 42px;
    background: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 18px;
}

.expiry-badge {
    background: #fff5eb !important;
    color: #ff5e14 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.discount-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #002d5b !important; /* Deeper Navy Blue */
    margin-bottom: 5px !important;
    line-height: 1.25 !important;
}

.deal-description {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    height: 40px;
    overflow: hidden;
}

.deal-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.time-left {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.success-rate {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Reveal Code Button with 1px Dashed Border as per Screenshot */
.btn-reveal {
    display: block;
    width: 100%;
    background: #fff9f6 !important;
    border: 1.1px dashed #ff5e14 !important;
    color: #ff5e14 !important;
    text-align: center;
    padding: 11px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 5px !important;
}

.btn-reveal:hover {
    background: #ff5e14 !important;
    color: #fff !important;
    border-style: solid !important;
}

.popular-destinations h2.hello {
    font-size: 32px;
    color: #1E3A8A;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

/* Dots Styling to match Screenshot */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 12px !important;
    height: 4px !important; /* Elongated dots for active state */
    background: #cbd5e1 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.slider-dots .dot.active {
    width: 24px !important;
    background: #ff5e14 !important;
}