* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Features / Values Section ===== */
.features-section {
    background: #fafafa;
    padding: 26px 40px;
    border-top: 1px solid #f0f3f6;
    border-bottom: 1px solid #f0f3f6;
}
.features-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.feature {
    background: transparent;
    padding: 18px 12px;
    text-align: left;
}
.feature-icon {
    font-size: 28px;
    color: #1f6feb;
    margin-bottom: 6px;
}
.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}
.feature-underline {
    width: 36px;
    height: 4px;
    background: #cfe6ff;
    margin-bottom: 12px;
    border-radius: 2px;
}
.feature-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; text-align: left; }
}


:root {
    --bg-color: rgba(13, 162, 204, 1.000);
    --hd-color: rgba(13, 163, 204, 0.685);
    --ft-color: rgb(60 105 133 / 94%)
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    padding-top: 72px; /* offset for fixed navbar */
}

@media (max-width: 1100px) {
    body, html {
        overflow-x: hidden;
    }
}

.hero {
    background: linear-gradient(196deg, rgb(54 93 87 / 92%), rgb(26 45 87 / 75%)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600') center/cover;
    min-height: 450px;
    padding: 40px 60px 80px;
    position: relative;
}

/* Top Navigation - Fully Fixed */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    /* background: #1a2957; */
    background: var(--bg-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 72px;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.currency {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.flag {
    width: 22px;
    height: 16px;
    background: linear-gradient(to bottom,
        #b22234 0%, #b22234 7.7%,
        white 7.7%, white 15.4%,
        #b22234 15.4%, #b22234 23.1%,
        white 23.1%, white 30.8%,
        #b22234 30.8%, #b22234 38.5%,
        white 38.5%, white 46.2%,
        #b22234 46.2%, #b22234 53.9%,
        white 53.9%, white 61.6%,
        #b22234 61.6%, #b22234 69.3%,
        white 69.3%, white 77%,
        #b22234 77%, #b22234 84.7%,
        white 84.7%, white 92.4%,
        #b22234 92.4%, #b22234 100%);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 53.9%;
    background: #3c3b6e;
}

.sign-in-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid white;
    border-radius: 24px;
    color: white;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sign-in-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-icon {
    width: 18px;
    height: 18px;
    border: 1.5px solid white;
    border-radius: 50%;
    position: relative;
}

.user-icon::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.user-icon::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    border-radius: 50% 50% 0 0;
    background: white;
}

/* Hero Heading */
.hero-heading {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 7px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    margin-bottom: 35px;
}

.book-now {
    color: white;
    font-weight: 700;
}

/* Search Card */
.search-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    top: -24px;
    margin: 0 18px 0 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.tabs::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    background: white;
    border: none;
    border-radius: 12px 12px 0 0;
    transition: all 0.2s;
    white-space: nowrap;   /* keep label on one line */
    flex-shrink: 0;
}

.tab span {
    white-space: nowrap;
}

.tab.active {
    background: #1a2957;
    color: white;
}

.tab-icon {
    font-size: 18px;
}

.save-badge {
    background: #ffc107;
    color: #1a2957;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 4px;
    white-space: nowrap;
}

/* Form Body */
.form-body {
    padding: 24px 28px 28px;
}

.form-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.trip-type {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
}

.trip-option {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    border: none;
    background: transparent;
}

.trip-option.active {
    background: white;
    color: #1a2957;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.class-select {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #374151;
    cursor: pointer;
}

.bundle-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #16a34a;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    /* sits naturally next to the input on the right */
}

.lock-icon {
    font-size: 14px;
}

.bundle-info-input {
    background: #dcfce7;
    color: #166534;
    border: 1.5px solid transparent;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    min-width: 360px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    margin-left: auto; /* pushes this and the button together to the right */
}

.bundle-info-input::placeholder {
    color: #166534;
    opacity: 0.85;
}

.bundle-info-input:hover {
    border-color: #86efac;
}

.bundle-info-input:focus {
    background: #ffffff;
    border-color: #16a34a;
    color: #064e3b;
}

.bundle-info-input:focus::placeholder {
    opacity: 0.4;
}

/* Search Inputs Row */
.inputs-row {
    display: grid;
    grid-template-columns: 2fr auto 2fr 0.7fr 0.7fr 0.7fr auto;
    gap: 10px;
    align-items: end;
}

.input-field {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    min-height: 54px;
    position: relative;
}

.input-icon {
    color: #6b7280;
    font-size: 20px;
    flex-shrink: 0;
}

.input-content {
    flex: 1;
}

.input-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 2px;
}

.input-value {
    font-size: 15px;
    color: #111827;
    font-weight: 600;
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
}

.input-value::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Select dropdown styling */
/* select.input-value {
    cursor: pointer;
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px;
    padding-right: 32px;
    padding-left: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

select.input-value option {
    padding: 14px 16px;
    background: white;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    border: none;
    margin: 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

select.input-value option:first-child {
    color: #9ca3af;
}

select.input-value option:checked {
    background: #dbeafe;
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 600;
} */



/*
    PERSONALISE LES DATE INPUTS
    Cache le select natif 
*/

/* Réduit les selects origine/destination */
.input-field:not(.date-field) {
  flex: 1.2;
}

/* Agrandit les champs date */
.input-field.date-field {
  flex: 1;
}

.input-field:not(.date-field) {
  width: 305px;
  min-width: 180px;
}

.input-field.date-field {
  width: 200px;
  min-width: 160px;
}

.search-bar, /* ou le nom de ton conteneur parent */
.flight-search,
.input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cache l'input natif */
input.input-date {
  display: none;
}

/* Trigger date */
.date-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 100%;
}

.date-trigger .date-text {
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: #1a1a2e;
  flex: 1;
}

.date-trigger .date-text.placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Calendrier dropdown */
.date-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  z-index: 999;
  padding: 16px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.date-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Header mois/année */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-header .cal-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}

.cal-nav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.1s;
  line-height: 1;
}

.cal-nav:hover { background: #f0f4f8; }

/* Jours de la semaine */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.cal-weekdays span {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  padding: 4px 0;
  text-transform: uppercase;
}

/* Grille des jours */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  text-align: center;
  padding: 7px 4px;
  font-size: 13px;
  color: #1a1a2e;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.cal-day:hover { background: #f0f4f8; }

.cal-day.today {
  border: 1.5px solid #378ADD;
  color: #1d6fba;
  font-weight: 600;
}

.cal-day.selected {
  background: #1d6fba;
  color: #ffffff;
  font-weight: 600;
}

.cal-day.other-month {
  color: #d1d5db;
}

.cal-day.disabled {
  color: #e5e7eb;
  cursor: default;
  pointer-events: none;
}


/*
    PERSONALISE LES SELECTS
    Cache le select natif 
*/
select.input-value {
  display: none;
}

/* Wrapper positionné autour du select */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

/* Le trigger reprend l'apparence de ton input existant */
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a2e;
  padding: 0;
}

.custom-select-trigger .trigger-text {
  flex: 1;
  text-align: left;
  color: #1a1a2e;
}

.custom-select-trigger .trigger-text.placeholder {
  color: #9ca3af;
}

.custom-select-trigger .chevron {
  font-size: 16px;
  color: #6b7280;
  transition: transform 0.2s ease;
  margin-left: 8px;
}

.custom-select-trigger.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  right: -20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.custom-select-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

/* Options */
.custom-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 11px;
  font-family: inherit;
  color: #1a1a2e;
  cursor: pointer;
  border-bottom: 0.5px solid #f3f4f6;
  transition: background 0.1s;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: #f0f4f8;
}

.custom-option.selected {
  background: #EBF4FF;
  color: #1d6fba;
  font-weight: 500;
}

.custom-option .option-icon {
  font-size: 15px;
  color: #6b7280;
  flex-shrink: 0;
}

.custom-option.selected .option-icon {
  color: #1d6fba;
}

/* Date input styling */
.date-field .input-date {
    cursor: pointer;
    font-size: 14px;
}

.date-field .input-date::-webkit-calendar-picker-indicator {
    cursor: pointer;
    margin-right: 4px;
    filter: invert(0.7);
}

.clear-btn {
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
}

.swap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    align-self: center;
    height: 36px;
    margin: 0 -10px;
    z-index: 1;
}

.date-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 18px;
    padding: 0 4px;
}

.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    min-height: 54px;
    align-self: end;
}

.search-btn:hover {
    background: #1d4ed8;
}

.search-icon {
    font-size: 16px;
}

/* ===== Boxed wrapper around Trusted + Trending ===== */
.deals-box {
    width: 80%;
    max-width: 1180px;
    margin: 40px auto;
    background: #faf7f1;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

/* ===== Trusted Airlines Section ===== */
.trusted-section {
    background: transparent;
    padding: 36px 40px 28px;
    text-align: center;
}

.trusted-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.airlines-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0 auto;
}

.airline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1a2957;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    opacity: 0.85;
}

.airline-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    color: white;
}

.logo-united { background: #002244; }
.logo-delta { background: linear-gradient(135deg, #c8102e 50%, #003a70 50%); }
.logo-american { background: #c8102e; color: white; font-size: 9px; }
.logo-turkish { background: #c8102e; }
.logo-aircanada { background: #d22630; }
.logo-lufthansa { background: #05164d; color: #f9ba00; }
.logo-qatar { background: #5c0931; color: #fff; }
.logo-british { background: #075aaa; }
.logo-ethiopian { background: #078930; }

/* ===== Trending Deals Section ===== */
.trending-section {
    background: transparent;
    padding: 0 40px 40px;
}

.trending-wrapper {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.trending-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 340px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%),
                url('https://images.unsplash.com/photo-1522383225653-ed111181a951?w=1200') center/cover;
}

.trending-image-title {
    position: absolute;
    bottom: 20px;
    left: 22px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    max-width: 80%;
}

/* Slider styles */
.trending-slider { position: relative; width: 100%; height: 100%; }
.trending-slider .slides { position: relative; width: 100%; height: 100%; }
.trending-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 600ms ease, transform 700ms ease;
}
.trending-slider .slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.trending-slider .slide { pointer-events: none; }
.slide-caption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    color: white;
    font-size: 22px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    max-width: 70%;
}
.trending-slider .slide-prev,
.trending-slider .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
    pointer-events: auto;
}
.trending-slider .slide-prev { left: 12px; }
.trending-slider .slide-next { right: 12px; }
.trending-slider .slide-dots {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 6px;
    z-index: 6;
}
.trending-slider .slide-dots button {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
}
.trending-slider .slide-dots button.active { background: white; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }

@media (max-width: 800px) {
    .slide-caption { font-size: 18px; max-width: 90%; left: 14px; bottom: 14px; }
    .trending-slider .slide-prev, .trending-slider .slide-next { padding: 8px; }
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deal-card {
    background: #ebe7e0;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.deal-card:hover {
    background: #e0dcd5;
    transform: translateX(2px);
}

.deal-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.deal-route {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
}

.deal-dates {
    font-size: 11px;
    color: #6b7280;
}

.deal-arrow {
    color: #1f2937;
    font-size: 18px;
    font-weight: 300;
}

.trending-disclaimer {
    text-align: center;
    color: #6b7280;
    font-size: 11px;
    margin-top: 22px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Our Works / Latest Projects ===== */
.works-section {
    padding: 24px 40px;
}
.works-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}
.works-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 18px;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: start;
}
.work-card {
    background: white;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.05);
    text-align: left;
}
.work-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}
.work-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    color: #1f2937;
}
.work-excerpt {
    font-size: 12px;
    color: #6b7280;
    margin: 8px 0;
    min-height: 40px;
}
.work-link {
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .works-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
    background: var(--ft-color);
    color: white;
    padding: 60px 60px 24px;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 320px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.payment-badge {
    background: white;
    color: #1a2957;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 38px;
    text-align: center;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 1100px) {
    .inputs-row {
        grid-template-columns: 1fr;
    }
    .swap-btn, .date-arrow {
        display: none;
    }
    .hero {
        padding: 24px 20px 60px;
    }
    .navbar {
        padding: 14px 20px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-right {
        gap: 16px;
        flex-wrap: wrap;
    }
    body {
        padding-top: 0;
    }
    .deals-box {
        width: 92%;
    }
    .trusted-section,
    .trending-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .trending-wrapper {
        grid-template-columns: 1fr;
    }
    .trending-image {
        min-height: 280px;
    }
    .footer {
        padding: 40px 20px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
    }
    .nav-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .nav-link {
        font-size: 13px;
    }
    .currency {
        font-size: 13px;
    }
    .sign-in-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    /* Tabs: keep them on one row, scrollable, all visible */
    .tabs {
        margin: 0 8px;
        top: -16px;
        padding-bottom: 2px;
    }
    .tab {
        padding: 12px 14px;
        font-size: 13px;
        gap: 6px;
    }
    .tab-icon {
        font-size: 15px;
    }
    .save-badge {
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 10px;
    }

    /* Form controls stack nicely on mobile */
    .form-controls {
        gap: 10px;
    }
    .bundle-info-input {
        min-width: 0;
        width: 100%;
        margin-left: 0;
    }
    .bundle-toggle {
        width: 100%;
        justify-content: center;
    }
}
