/* 
===============================
Travel Website Main CSS File
===============================
*/

/* 
===============================
General Styles
===============================
*/
:root {
    --example-color: #ffffff;
  }
  
  /* 
  ===============================
  Section Titles
  ===============================
  */
  .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
  }
  
  /* 
  ===============================
  Newsletter Subscription
  ===============================
  */
  .newsletter-container {
    width: 100%;
    padding: 30px 0;
    height: 250px;
    background: var(--primary-color);
  }
  
  .newsletter-box {
    width: 100%;
    text-align: center;
    position: relative;
  }
  
  .newsletter-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-color);
  }
  
  .newsletter-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
  }
  
  .newsletter-subtitle {
    font-size: 16px;
    color: white;
    margin-bottom: 30px;
  }
  
  .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .newsletter-form .form-group {
    flex: 1;
    min-width: 200px;
  }
  
  .newsletter-form .form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
    height: auto;
  }
  
  .newsletter-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  }
  
  .newsletter-form .form-control::placeholder {
    color: #b2bec3;
  }
  
  .submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    flex: 0 0 auto;
  }
  
  .submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .message {
    margin: 20px auto 0;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 15px;
    display: none;
    max-width: 600px;
  }
  
  .success {
    background-color: #e3f9f4;
    color: var(--tertiary-color);
    border-left: 4px solid var(--tertiary-color);
    display: block;
  }
  
  .error {
    background-color: #ffe9ed;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
    display: block;
  }

  .form-group-newsletter {
    margin-bottom: 0px!important;
  }
  
  /* 
  ===============================
  Banner Carousel
  ===============================
  */
  .full-height-carousel {
    height: 100%;
    width: 100%;
  }
  
  .full-height-carousel .item {
    height: 100%;
    width: 100%;
    text-align: center;
  }
  
  .full-height-carousel .item a {
    display: block;
    height: 100%;
    width: 100%;
  }
  
  .full-height-image {
    height: auto;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
  
  .carousel, .carousel-inner {
    height: 100%;
    width: 100%;
  }
  
  .carousel-control {
    width: 5%;
    opacity: 0.8;
    background-image: none !important;
  }
  
  .carousel-control:hover {
    opacity: 1;
  }
  
  .carousel-control .glyphicon {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
  font-size: 15px;
  margin-top: -20px;
  color: #333;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  background-color: rgba(255,255,255,0.6);
  border-radius: 50px;
  padding-top: 6px;
  }
  
  .carousel-control.left .glyphicon {
    left: 50%;
    margin-left: -10px;
  }
  
  .carousel-control.right .glyphicon {
    right: 50%;
    margin-right: -10px;
  }
  
  /* 
  ===============================
  Destinations Module
  ===============================
  */
  .continent-tabs {
    display: flex;
    justify-content: center;
    margin: 0 0 30px;
    flex-wrap: wrap;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2px;
  }
  
  .continent-tabs > li {
    margin: 0 5px;
  }
  
  .continent-tabs > li > a {
    padding: 12px 24px;
    background-color: transparent;
    color: #636e72;
    font-weight: 500;
    cursor: pointer;
    border: none !important;
    font-size: 16px;
    position: relative;
    border-radius: 0 !important;
    margin-right: 0;
  }
  
  .continent-tabs > li > a:hover {
    color: var(--tertiary-color);
    background-color: transparent;
  }
  
  .continent-tabs > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: all 0.3s ease;
  }
  
  .continent-tabs > li.active > a,
  .continent-tabs > li.active > a:hover,
  .continent-tabs > li.active > a:focus {
    color: var(--primary-color);
    font-weight: 600;
    background-color: transparent;
    border: none;
  }
  
  .continent-tabs > li.active > a::after {
    background-color: var(--primary-color);
  }
  
  /* Card container */
  .card-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 10px 60px;
    scroll-snap-type: x mandatory;
  }
  
  .card-scroll-container::-webkit-scrollbar {
    display: none;
  }
  
  /* Destination cards */
  .destination-card {
    flex: 0 0 300px;
    border-radius: 16px;
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 450px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }
  
  .card-image {
    width: 100%;
    height: 65%;
    object-fit: cover;
    display: block;
  }
  
  .card-content {
    height: 35%;
    padding: 15px 15px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .card-location {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-color);
    line-height: 1.2;
  }
  
  .card-package {
    font-size: 13px;
    color: #636e72;
    margin-bottom: 8px;
  }
  
  .card-departure {
    font-size: 13px;
    color: #2d3436;
    display: flex;
    align-items: center;
  }
  
  .card-departure i {
    margin-right: 8px;
    font-size: 16px;
  }
  
  .card-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
    background-color: #f5f5f7;
    padding: 0 15px;
    height: 40px;
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-bottom: 0;
    text-align: right;
  }
  
  .card-price span {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    color: #636e72;
    margin-right: 6px;
    margin-bottom: 0;
  }
  
  .card-price .price-amount {
    font-weight: 700;
    font-size: 18px;
    color: #2d3436;
  }
  
  /* Hotel card specific styling */
  .hotel-location {
    font-size: 14px;
    color: #636e72;
    display: flex;
    align-items: center;
  }
  
  .hotel-location i {
    margin-right: 6px;
    font-size: 14px;
  }
  
  .book-now-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    margin: 12px 0px 12px 0px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
  }
  
  .book-now-btn:hover {
    background-color: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
  }
  
  /* Navigation arrows */
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 20px;
    color: var(--tertiary-color);
    border: none;
  }
  
  .carousel-arrow:hover {
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-arrow.left {
    left: 10px;
  }
  
  .carousel-arrow.right {
    right: 10px;
  }
  
  .carousel-arrow.hidden {
    display: none;
  }
  
  /* Loading indicator */
  #loadingIndicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }
  
  #loadingIndicator.active {
    display: flex;
  }
  
  #loadingIndicator i {
    color: var(--primary-color);
  }
  
  .image-hotel {
    height: 100%;
  }
  
  .more-locations {
    color: var(--primary-color);
    cursor: help;
    border-bottom: 1px dotted var(--primary-color);
    font-weight: 500;
  }
  
  .tooltip {
    font-family: inherit;
    font-size: 12px;
  }
  
  /* 
  ===============================
  Highlight Banner
  ===============================
  */
  .highlight-banner {
    position: relative;
    width: 94%;
    max-width: 90%;
    height: 300px;
    overflow: hidden;
    margin: 30px auto 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .highlight-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 24px;
  }
  
  .highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    border-radius: 24px;
  }
  
  .highlight-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 800px;
  }
  
  .highlight-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    line-height: 1.2;
  }
  
  .highlight-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
  }
  
  .highlight-button:hover {
    background-color: var(--tertiary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
  }
  
 /* 
  ===============================
  Highlights
  ===============================
  */
  /* Bootstrap 3.3.7 extensions and overrides */
  .row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  /* Disable equal height on mobile screens */
  @media (max-width: 991px) {
    .row-eq-height {
      display: block;
    }
  }

  /* Main offer styling - Updated to match second image */
  .main-offer {
    background-color: #fff;
    border-radius: 12px;
    -webkit-box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-bottom: 0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .main-offer:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  }

  .main-offer a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
  }

  .main-image-wrap {
    position: relative;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
  }

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

  /* Updated ribbon to match "Última Oportunidade" style */
  .ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 20px;
    -webkit-box-shadow: 0 3px 15px rgba(243, 156, 18, 0.4);
    box-shadow: 0 3px 15px rgba(243, 156, 18, 0.4);
    text-transform: uppercase;
  }

  /* Updated main content with flexbox for bottom positioning */
  .main-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
  }

  /* Secondary offers container styling */
  .offers-container {
    margin: 0;
    padding: 0 15px;
  }

  .secondary-container {
    padding: 0;
  }

  /* Secondary offers styling - Updated to match second image */
  .secondary-offers-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
  }

  .secondary-offers-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
    height: 100%;
  }

  .secondary-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    flex: 1;
    gap: 15px;
    height: 100%;
  }

  .offer-slot {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .offer-slot:empty {
    /* Maintain the slot height even when empty */
    min-height: 150px;
  }

  /* Updated secondary offer styling - Remove orange vertical lines */
  .secondary-offer {
    background-color: #fff;
    border-radius: 12px;
    -webkit-box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: row;
  }

  .secondary-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  /* Remove the orange vertical line */
  .secondary-offer::before {
    display: none;
  }

  /* Add image container for secondary offers */
  .secondary-image-wrap {
    width: 35%;
    flex-shrink: 0;
    margin: 4px;
    border-radius: 10px;
  }

  .secondary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Updated secondary content with flexbox for bottom positioning */
  .secondary-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    word-wrap: break-word;
    min-width: 0;
    height: 100%;
  }

  .secondary-offer a {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
    flex-direction: row;
  }

  /* Wrapper for top content */
  .main-top-content,
  .secondary-top-content {
    flex-shrink: 0;
  }

  /* Content spacer to push bottom elements down */
  .content-spacer {
    flex-grow: 1;
  }

  /* Bottom content wrapper */
  .bottom-content {
    margin-top: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
  }

  /* Orange highlight for main offer */
  .main-offer-highlight {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-transform: uppercase;
    margin: 4px 0;
    display: inline-block;
    -webkit-box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
    align-self: flex-start;
  }

  /* Orange highlight tag for secondary offers */
  .offer-highlight {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-transform: uppercase;
    margin: 4px 0;
    display: inline-block;
    align-self: flex-start;
    width: fit-content;
  }

  /* Selected departures text */
  .selected-departures-text {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Content styling */
  .offer-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    color: #e67e22;
    line-height: 1.3;
    flex-grow: 0;
  }

  .secondary-offer .offer-title {
    font-size: 14px;
    margin-bottom: 3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    flex-grow: 0;
  }

  .offer-details {
    margin-top: auto;
  }

  .departure-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: end;
  }

  .date-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 12px;
    color: #636e72;
    margin-bottom: 6px;
  }

  .departure-text {
    color: #333;
    font-size: 13px;
    margin: 8px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  /* Remove airplane icon */
  .departure-text::before {
    display: none;
  }

  /* Hide price information */
  .price {
    display: none;
  }

  .price-label {
    display: none;
  }

  /* Section title */
  .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    margin-top: 0;
  }

  /* Mobile responsiveness */
  @media (max-width: 991px) {
    .p0 {
      padding: 0;
    }

    /* Disable equal height row */
    .row-eq-height {
      display: block;
    }

    /* Each column gets full width and stacks vertically */
    .col-md-4 {
      width: 100% !important;
      margin-bottom: 20px;
    }
    
    /* Allow main offer to be natural height on mobile */
    .main-offer {
      height: auto !important;
      margin-bottom: 20px;
      display: block;
    }
    
    .main-offer a {
      height: auto !important;
      display: block;
    }
    
    .main-content {
      padding: 15px;
      height: auto !important;
      display: block;
    }
    
    .main-image-wrap {
      height: 250px;
    }
    
    /* Keep content spacer for mobile with small height */
    .content-spacer {
      display: block;
      height: 10px;
    }
    
    /* Stack bottom content naturally with spacer */
    .bottom-content {
      margin-top: 10px;
    }
    
    .secondary-offers-container {
      margin-top: 0;
      height: auto;
      display: block;
    }
    
    .secondary-offers-wrap {
      flex-direction: column;
      gap: 15px;
      height: auto;
      display: block;
    }
    
    .secondary-column {
      width: 100% !important;
      height: auto;
      gap: 15px;
      display: block;
    }
    
    .offer-slot {
      display: block;
      height: auto;
      margin-bottom: 15px;
    }
    
    .secondary-offer {
      min-height: 140px;
      max-height: none;
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      height: auto;
    }
    
    /* Keep images visible and properly sized on tablet */
    .secondary-image-wrap {
      width: 40% !important;
      flex-shrink: 0;
      margin: 4px;
      border-radius: 10px;
      min-width: 120px;
      max-width: 200px;
    }
    
    .secondary-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
    }
    
    .secondary-content {
      padding: 15px;
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      overflow: hidden;
    }
    
    .secondary-offer a {
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      width: 100%;
      height: 100%;
    }
  }

  @media (max-width: 768px) {
    .offers-container {
      padding: 0 10px !important;
    }
    
    /* Keep main offer natural height */
    .main-offer {
      height: auto !important;
      display: block;
    }
    
    .main-offer a {
      height: auto !important;
      display: block;
    }
    
    .main-content {
      padding: 12px;
      height: auto !important;
      display: block;
    }
    
    .main-image-wrap {
      height: 200px;
    }
    
    /* Keep content spacer visible */
    .content-spacer {
      display: block;
      height: 8px;
    }
    
    .bottom-content {
      margin-top: 8px;
    }
    
    .secondary-offer {
      min-height: 120px;
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      height: auto;
    }
    
    .secondary-image-wrap {
      width: 35% !important;
      flex-shrink: 0;
      margin: 3px;
      border-radius: 8px;
      min-width: 100px;
      max-width: 180px;
    }
    
    .secondary-content {
      padding: 12px;
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      overflow: hidden;
    }
    
    .secondary-offer a {
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      width: 100%;
      height: 100%;
    }
    
    .secondary-offer .offer-title {
      font-size: 14px;
      margin-bottom: 4px;
    }
    
    .departure-text {
      font-size: 9px;
      margin: 4px 0;
    }
    
    .offer-highlight {
      padding: 4px 8px;
      font-size: 8px;
      margin: 6px 0;
    }
    
    .selected-departures-text {
      font-size: 10px;
      margin-top: 3px;
    }
  }

  @media (max-width: 480px) {
    /* Keep main offer natural height on very small screens */
    .main-offer {
      height: auto !important;
      display: block;
    }
    
    .main-offer a {
      height: auto !important;
      display: block;
    }
    
    .main-content {
      padding: 10px;
      height: auto !important;
      display: block;
    }
    
    .main-image-wrap {
      height: 180px;
    }
    
    /* Keep content spacer visible */
    .content-spacer {
      display: block;
      height: 6px;
    }
    
    .bottom-content {
      margin-top: 6px;
    }
    
    .secondary-offer {
      margin: 0 5px;
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      min-height: 110px;
      height: auto;
    }
    
    .secondary-image-wrap {
      width: 32% !important;
      flex-shrink: 0;
      margin: 3px;
      border-radius: 8px;
      min-width: 80px;
      max-width: 160px;
    }
    
    .secondary-content {
      padding: 10px;
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      overflow: hidden;
    }
    
    .secondary-offer a {
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      width: 100%;
      height: 100%;
    }
  }
  
  /* 
  ===============================
  Responsive Media Queries
  ===============================
  */

  /* Large devices (992px and up) */
  @media (min-width: 992px) {
    
  }

  /* Medium devices (768px to 991px) */
  @media (max-width: 991px) {

    .p0 {
      padding: 0;
    }

    /* Disable equal height row */
    .row-eq-height {
      display: block;
    }
    
    .main-offer {
      margin-bottom: 20px;
      height: auto !important;
      display: block;
    }
    
    .main-offer a {
      height: auto !important;
      display: block;
    }
    
    .main-content {
      padding: 15px;
      height: auto !important;
      display: block;
    }
    
    .main-image {
      height: 300px;
    }
    
    .main-image-wrap {
      height: 250px;
    }
    
    /* Keep content spacer visible on tablet */
    .content-spacer {
      display: block;
      height: 10px;
    }
    
    /* Stack bottom content naturally */
    .bottom-content {
      margin-top: 10px;
    }
    
    /* Reset the flex layout for secondary offers on tablet */
    .secondary-offers-container,
    .secondary-offers-wrap,
    .secondary-column,
    .secondary-offer a,
    .main-offer {
      display: block;
      height: auto;
    }
    
    /* Use Bootstrap's grid for tablet - TWO COLUMNS SIDE BY SIDE */
    .secondary-column {
      width: 100% !important;
      float: left;
      padding: 0 15px;
      min-height: auto;
    }
    
    /* Clearfix for floated columns */
    .secondary-offers-wrap::after {
      content: "";
      display: table;
      clear: both;
    }
    
    /* Reset padding for first/last columns on tablet */
    .secondary-offers-wrap .secondary-column:first-child,
    .secondary-offers-wrap .secondary-column:last-child {
      padding: 0 15px;
    }
    
    /* Reset flex properties for slots on tablet */
    .offer-slot {
      display: block;
      height: auto !important;
      min-height: 0 !important;
      -webkit-box-flex: 0;
      -webkit-flex: none;
      -ms-flex: none;
      flex: none;
    }
    
    .offer-slot:empty {
      display: none;
    }
    
    /* Make sure secondary offers have consistent height on tablet */
    .secondary-offer {
      height: auto;
      margin-bottom: 15px;
      min-height: 140px;
      max-height: none;
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
    }
    
    /* Keep images visible and properly sized on tablet */
    .secondary-image-wrap {
      width: 40% !important;
      flex-shrink: 0;
      margin: 4px;
      border-radius: 10px;
      min-width: 120px;
      max-width: 200px;
    }
    
    .secondary-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }
    
    .secondary-content {
      padding: 15px;
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      overflow: hidden;
    }
    
    .secondary-offer a {
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      width: 100%;
      height: 100%;
    }
    
    /* Highlight banner */
    .highlight-banner {
      height: 200px;
      width: 96%;
    }
    
    .highlight-title {
      font-size: 38px;
    }
  }

  /* Small devices (767px and below) */
  @media (max-width: 767px) {
    /* Newsletter */
    .newsletter-form {
      flex-direction: column;
      gap: 12px;
    }
    
    .newsletter-form .form-group {
      width: 100%;
      justify-content: center;
      display: flex;
    }
    
    .submit-btn {
      height: auto;
      padding: 15px 30px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: inherit;
      flex: 0 0 auto;
      display: block;
      margin: 0 auto;
      width: auto; 
    }

    .newsletter-container {
      padding: 0;
    }
    
    .newsletter-form .form-control {
      width: 60%;
      padding: 0px;
      font-size: 15px;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      transition: all 0.3s ease;
      font-family: inherit;
      height: auto;
    }
    
    .newsletter-title {
      font-size: 22px;
    }
    
    .newsletter-subtitle {
      font-size: 14px;
      margin-bottom: 15px;
    }
    
    /* Destination tabs */
    .continent-tabs {
      overflow-x: auto;
      justify-content: flex-start;
      padding-bottom: 10px;
    }
    
    .continent-tabs > li > a {
      padding: 10px 18px;
      white-space: nowrap;
    }
    
    .carousel-arrow {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
    
    .card-scroll-container {
      padding: 10px 50px;
    }
    
    .destination-card {
      flex: 0 0 280px;
    }
    
    /* Highlights */
    .main-image {
      height: 240px;
    }
    
    /* Main offer adjustments */
    .main-offer {
      height: auto !important;
      display: block;
    }
    
    .main-offer a {
      height: auto !important;
      display: block;
    }
    
    .main-content {
      padding: 12px;
      height: auto !important;
      display: block;
    }
    
    .main-image-wrap {
      height: 200px;
    }
    
    .content-spacer {
      display: block;
      height: 8px;
    }
    
    .bottom-content {
      margin-top: 8px;
    }
    
    /* Switch to single column on phones */
    .secondary-column {
      width: 100% !important;
      float: none;
      padding: 0 !important;
    }
    
    /* Reset the flex layout for secondary offers on mobile */
    .secondary-offers-container {
      margin-top: 20px;
      min-height: auto;
      display: block;
    }
    
    .secondary-offers-wrap {
      flex-direction: column;
      gap: 15px;
      display: block;
      height: auto;
    }
    
    /* Remove clearfix on mobile since we're not using floats */
    .secondary-offers-wrap::after {
      display: none;
    }
    
    /* Secondary offers - keep images next to content */
    .secondary-offer {
      min-height: 120px;
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      height: auto;
    }
    
    /* Maintain image visibility and sizing */
    .secondary-image-wrap {
      width: 35% !important;
      flex-shrink: 0;
      margin: 3px;
      border-radius: 8px;
      min-width: 100px;
      max-width: 180px;
    }
    
    .secondary-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
    }
    
    .secondary-content {
      padding: 12px;
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      overflow: hidden;
    }
    
    .secondary-offer a {
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      width: 100%;
      height: 100%;
    }
    
    .secondary-offer .offer-title {
      font-size: 13px;
      margin-bottom: 4px;
      line-height: 1.2;
    }
    
    .departure-text {
      font-size: 10px;
      margin: 4px 0;
      line-height: 1.2;
    }
    
    .offer-highlight {
      padding: 4px 8px;
      font-size: 8px;
      margin: 6px 0;
    }
    
    .selected-departures-text {
      font-size: 9px;
      margin-top: 3px;
    }
    
    .departure-info {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
      -webkit-box-align: start;
      -webkit-align-items: flex-start;
      -ms-flex-align: start;
      align-items: flex-start;
    }
    
    .price {
      margin-top: 10px;
      text-align: left;
    }
    
    /* Highlight Banner */
    .highlight-banner {
      height: 150px;
      width: 96%;
      border-radius: 20px;
      margin: 25px auto 35px;
    }
    
    .highlight-image, .highlight-overlay {
      border-radius: 20px;
    }
    
    .highlight-title {
      font-size: 32px;
      margin-bottom: 20px;
    }
    
    .highlight-button {
      padding: 12px 25px;
      font-size: 16px;
    }
  }

  /* Extra small devices (480px and below) */
  @media (max-width: 480px) {
    /* Section titles */
    .section-title {
      font-size: 24px;
    }
    
    /* Destination tabs */
    .continent-tabs > li > a {
      padding: 8px 15px;
      font-size: 14px;
    }
    
    .carousel-arrow {
      width: 36px;
      height: 36px;
    }
    
    .card-scroll-container {
      padding: 10px 40px;
    }
    
    .destination-card {
      flex: 0 0 260px;
    }

    /* New mobile card proportions */
    .card-image {
      height: 60%;
    }
    
    .card-content {
      height: 40%;
    }
    
    /* Main offer adjustments for very small screens */
    .main-offer {
      height: auto !important;
      display: block;
    }
    
    .main-offer a {
      height: auto !important;
      display: block;
    }
    
    .main-content {
      padding: 10px;
      height: auto !important;
      display: block;
    }
    
    .main-image-wrap {
      height: 180px;
    }
    
    .content-spacer {
      display: block;
      height: 6px;
    }
    
    .bottom-content {
      margin-top: 6px;
    }
    
    /* Secondary offers - maintain side-by-side layout even on very small screens */
    .secondary-offer {
      margin: 20px 0px 10px 0px;
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      min-height: 110px;
      height: auto;
    }
    
    /* Smaller but still visible images */
    .secondary-image-wrap {
      width: 32% !important;
      flex-shrink: 0;
      margin: 3px;
      border-radius: 8px;
      min-width: 80px;
      max-width: 160px;
    }
    
    .secondary-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
    }
    
    .secondary-content {
      padding: 8px;
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      overflow: hidden;
    }
    
    .secondary-offer a {
      display: flex !important;
      flex-direction: row !important;
      align-items: stretch;
      width: 100%;
      height: 100%;
    }
    
    .secondary-offer .offer-title {
      font-size: 12px;
      margin-bottom: 3px;
      line-height: 1.1;
    }
    
    .departure-text {
      font-size: 9px;
      margin: 3px 0;
      line-height: 1.1;
    }
    
    .offer-highlight {
      padding: 3px 6px;
      font-size: 7px;
      margin: 4px 0;
      border-radius: 4px;
    }
    
    .selected-departures-text {
      font-size: 8px;
      margin-top: 2px;
    }
    
    /* Highlight Banner */
    .highlight-banner {
      height: 125px;
      width: 94%;
      border-radius: 16px;
      margin: 20px auto 30px;
    }
    
    .highlight-image, .highlight-overlay {
      border-radius: 16px;
    }
    
    .highlight-title {
      font-size: 28px;
      margin-bottom: 15px;
    }
    
    .highlight-button {
      padding: 10px 20px;
      font-size: 15px;
    }
  }

  /***********************
  * Masks                *
  ***********************/
  .mask-container{
    max-width: 70%;
    width: 94%;
  }
