/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Body Styling */
body {
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #012c60;
  padding: 15px 50px;
  color: white;
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo */
.header-logo {
  width: 260px;
  transition: all 0.3s ease;
}

.header-logo img {
  width: 90%;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* Navigation Links */
.header-links {
  display: flex;
  gap: 20px;
}

.header-links h1 {
  margin: 0;
  font-size: 1.1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Apply transition correctly to the entire link */
.header-links h1 a {
  text-decoration: none;
  color: white;
  display: inline-block; /* Ensures transform works properly */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.header-links h1 a:hover {
  color: #e2ae3f;
  transform: scale(1.1); /* Smooth zoom-in effect */
}

/* Hide Menu Toggle Checkbox */
.menu-toggle {
  display: none;
}

/* Menu Icon */
.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .header-logo {
    position: absolute;
    left: 20px;
  }

  header {
    height: 80px;
    padding: 15px 50px;
  }

  /* Show Menu Icon */
  .menu-icon {
    display: block;
  }

  /* Hide Navigation Links Initially */
  .header-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;
    background: #012c60;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .header-links h1 {
    margin: 10px 0;
  }

  /* Show Dropdown When Checkbox is Checked */
  .menu-toggle:checked + .menu-icon + .header-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: -20px;
  }
} /*trending text*/
/* Ensure the link container is relative and inline-block */
.trending-link a {
  position: relative;
  display: inline-block;
  padding-right: 0; /* no extra padding needed */
  white-space: nowrap; /* prevents text wrap which could break badge */
}

/* Trending badge styling */
.trending-label {
  position: absolute;
  bottom: -18px;
  right: 0px;
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: #012c60;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 204, 51, 0.6);
  pointer-events: none;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  transform: rotate(0deg);
  overflow: hidden;

  /* pulse animation */
  animation: pulse 1.5s infinite;
}

/* hover pop effect */
.trending-label:hover {
  transform: rotate(0deg) scale(1.15);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 0 16px rgba(255, 204, 51, 0.8);
}

/* ribbon pseudo-elements for 3D ribbon effect */
.trending-label::before,
.trending-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 100%;
  background: #ffb347;
  transform: skewX(-20deg);
  z-index: -1;
}

.trending-label::before {
  left: -6px;
}

.trending-label::after {
  right: -6px;
}

/* pulse animation keyframes */
@keyframes pulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 204, 51, 0.6);
  }
  50% {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 204, 51, 0.9);
  }
}

/* responsive tweaks */
@media screen and (max-width: 480px) {
  .trending-label {
    font-size: 0.6rem;
    bottom: -15px;
    right: 0px;
    padding: 2px 6px;
  }
}

/* Hero Section ------------------------------------------------------------------------------*/
.hero-section {
  padding: 120px 30px 35px; /* top padding to avoid fixed header */
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1600px; /* increased from 1300px */
  margin: auto;
}

.hero-image {
  flex: 1 1 45%;
}

.hero-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-content h1 {
  font-size: 2.7rem;
  color: #012c60;
  font-weight: 700;
}

.hero-content h1 strong {
  font-size: 2.5rem;
  color: #e2ae3f;
}

.hero-content p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-whatsapp-btn {
  display: inline-block;
  background: #012c60;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  width: 248px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-whatsapp-btn:hover {
  background: #e2ae3f;
  transform: scale(1.05);
}
/* Existing hero section CSS remains unchanged */

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column; /* stack items vertically */
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .hero-image {
    order: -1; /* move image above text */
    flex: 1 1 100%;
  }

  .hero-content {
    flex: 1 1 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-whatsapp-btn {
    width: 100%;
    max-width: 300px;
    margin: auto;
  }
}

/* General Safari Section Styles---------------------------------------------------------------------------------------*/
.safari-section {
  padding: 30px 20px;
  background: url('https://dxk1acp76n912.cloudfront.net/images/yalasafari/yala_safari4.jpg')
    center/cover no-repeat fixed;
  position: relative;
  color: #fff;
}

.safari-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

.safari-section .container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  z-index: 2;
}

.safari-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
  color: #e2ae3f;
  text-transform: uppercase;
  font-weight: 800;
}

.section-intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.4rem;
  opacity: 0.9;
}

/* Ride Cards */
.ride-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.ride-card {
  flex: 1 1 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  line-height: 1.3rem;
}
.ride-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 215, 0, 0.15);
}
.ride-card h3 {
  color: #fff;
}
.price {
  display: block;
  font-weight: bold;
  color: #e2ae3f;
  margin-top: 10px;
  font-size: 22px;
}

/* Price Table */
.price-table {
  margin: 40px 0;
}
.price-table h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #e2ae3f;
  font-size: 24px;
}
.price-table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
}
.price-table th,
.price-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.price-table th {
  background: rgba(255, 215, 0, 0.2);
  color: #e2ae3f;
  font-size: 18px;
}
.price-table tr:hover {
  background: rgba(255, 215, 0, 0.1);
}

/* Jeep & All-Inclusive Cards */
/* --- Jeep Safari Cards ------------------------------------------------------------------------------------ */
.safari-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.tour-image-card {
  background: #ffffff26;
  border-radius: 14px;
  overflow: hidden;
  color: #f1f1f1;
  max-width: 360px;
  flex: 1 1 340px;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.tour-image-card:hover {
  transform: translateY(-10px);
  background: #fff5d330;
}

.image-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.tour-details {
  padding: 18px;
  text-align: center;
}

.tour-details h3 {
  font-size: 24px;
  color: #ffdf6c;
  font-weight: bold;
  margin-bottom: 8px;
}

.tour-details p {
  font-size: 15px;
  color: #e5e5e5;
  margin-bottom: 8px;
}

.tour-details .tour-extra {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 12px;
}

.tour-details .tour-extra strong {
  font-size: 15px;
  color: #e67e22;
  margin-bottom: 12px;
  font-weight: 800;
}

.tour-schedule {
  margin: 10px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tour-schedule h4 {
  color: #ffdf6c;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 4px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0px 0;
  padding-left: 8px;
  border-left: 2px solid #ffc700;
  margin-top: 8px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.timeline-item .icon {
  font-size: 18px;
  color: #ffdf6c;
  min-width: 22px;
  text-align: center;
}

.timeline-item p {
  margin: 0;
  font-size: 14px;
  color: #f1f1f1;
}

.park-notice {
  font-size: 13px;
  color: #ff6b6b;
  margin-top: 12px;
  font-weight: bold;
  text-align: center;
  background: #00ff761f;
  padding: 6px 12px;
  border-radius: 6px;
}

/*-------------------------second one to css------------------------*/
.afternoon-schedule.accordion__item {
  overflow: hidden;
  margin-top: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
}

.afternoon-schedule .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 6px 15px;
  background: #222;
  border-radius: 6px;
}

.afternoon-schedule .accordion-header h4 {
  color: #ffdf6c;
  font-size: 18px;
  margin: 0;
}

.afternoon-schedule .accordion-header .icon {
  font-size: 15px;
  color: #ffdf6c;
}

.afternoon-schedule .accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 0px;
}

/*tour addons---------------------------------------------------------------------------*/
.tour-addons {
  margin-top: 12px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tour-addons h4 {
  color: #ffdf6c;
  font-size: 18px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: bold;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 8px;
  border-left: 2px solid #ffc700;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.timeline-item .icon {
  font-size: 18px;
  color: #ffdf6c;
  min-width: 22px;
  text-align: center;
}

.timeline-item p {
  margin: 0;
  font-size: 14px;
  color: #f1f1f1;
}

.timeline-item .addon-price {
  display: inline-block;
  margin-left: 6px;
  font-weight: bold;
  color: #e67e22;
}
/*------------------------------------------------------------------------------------------*/
.accordion-header span {
  font-size: 18px;
  color: #ffdb1f;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
}

/* SAARC header */
.saarc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  border-radius: 6px;
  padding: 6px 15px;
  margin-bottom: 10px; /* adds gap below this box */
}

/* Sri Lankan header */
.sri-lankan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  border-radius: 6px;
  padding: 6px 15px;
  margin-bottom: 4px; /* adds gap below this box */
}

.accordion-body__contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
}

.accordion-body__contents span {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
}

.price-highlight {
  color: #ffdf6c;
  font-weight: bold;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.per-person-text {
  font-size: 12px;
  color: #ffeb3b;
  margin-left: 6px;
  font-weight: normal;
}

.whatsapp-btn {
  background: #012c60;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
  text-transform: uppercase;
}

.whatsapp-btn:hover {
  background: #e2ae3f;
  color: #000;
  font-weight: bold;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion__item.active .accordion-body {
  max-height: 1000px; /* enough to show content */
}

.icon {
  font-weight: bold;
}

/* --- All Inclusive Cards --- */
.all-inclusive-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

/* Card Styling */
.all-inclusive-card {
  display: flex;
  flex-direction: row; /* image left, text right */
  align-items: stretch;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.all-inclusive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Tour Details (RIGHT SIDE) */
.tour-details-all {
  flex: 1;
  padding: 25px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center; /* ✅ all text centered */
}

.tour-details-all h3 {
  font-size: 24px;
  color: #ffdf6c;
  font-weight: bold;
  margin-bottom: 8px;
}

.tour-details-all p {
  font-size: 22px;
  color: #e5e5e5;
  margin-bottom: 8px;
}

.tour-details-all .tour-extra {
  font-size: 16px;
  margin: 10px 0;
  color: #ffffff;
}

.tour-details-all .tour-extra strong {
  font-size: 16px;
  margin: 10px 0;
  color: #e67e22;
}

.tour-details-all .price-highlight {
  color: #ffde59;
  font-weight: bold;
  font-size: 22px;
}

/* Image (LEFT SIDE) */
.all-inclusive-card .image-wrapper {
  flex: 1;
  min-width: 320px;
  max-width: 480px;
}

.all-inclusive-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WhatsApp button */
.all-inclusive-card .whatsapp-btn {
  display: inline-block;
  margin-left: 15px;
  padding: 6px 16px;
  background: #012c60;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s;
}

.all-inclusive-card .whatsapp-btn:hover {
  background: #e2ae3f;
}

/* ✅ Responsive Design */
@media (max-width: 992px) {
  .all-inclusive-card {
    flex-direction: column; /* stack on tablet/mobile */
  }
  .all-inclusive-card .image-wrapper {
    min-width: 100%;
    max-width: 100%;
    height: 280px;
  }
  .tour-details-all {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .all-inclusive-card .image-wrapper {
    height: 220px;
  }
  .tour-details-all h3 {
    font-size: 20px;
  }
  .tour-details-all p {
    font-size: 15px;
  }
  .tour-details-all .price-highlight {
    font-size: 17px;
  }
  .tour-details-all .tour-extra {
    font-size: 13px;
  }
}

/* --- Common Button Style --- */
.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  background: #e2ae3f;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.3s;
}

.btn:hover {
  background: #ffb700;
}

/*---------------------table----------------------------------------*/
.yala-table-section {
  padding: 40px 30px;
  background: #faf9f6; /* light safari background */
}

.table-title {
  text-align: center;
  font-size: 35px;
  color: #2d4739; /* deep green */
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: -25px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.yala-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.yala-table th,
.yala-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.yala-table th {
  background: #2d4739;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.yala-table tr:nth-child(even) {
  background: #f5f5f5;
}

.yala-table td {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

/* Remove horizontal scroll and fit stacked table on screen */
.table-wrapper {
  overflow-x: hidden; /* remove horizontal scroll */
}

/* Mobile stacked table */
@media (max-width: 768px) {
  .yala-table thead {
    display: none; /* hide table headers */
  }

  .yala-table,
  .yala-table tbody,
  .yala-table tr,
  .yala-table td {
    display: block;
    width: 100%; /* full width */
    max-width: 100%; /* prevent overflow */
    box-sizing: border-box; /* include padding in width */
  }

  .yala-table tr {
    margin-bottom: 0px;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .yala-table td {
    padding: 6px 10px;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal; /* allow text wrap */
  }

  /* Label before each td */
  .yala-table tr td:nth-child(1)::before {
    content: 'Location';
  }
  .yala-table tr td:nth-child(2)::before {
    content: 'Characteristics';
  }
  .yala-table tr td:nth-child(3)::before {
    content: 'Best For';
  }
  .yala-table tr td:nth-child(4)::before {
    content: 'Accessibility';
  }
  .yala-table tr td:nth-child(5)::before {
    content: 'Crowd Level';
  }
  .yala-table tr td:nth-child(6)::before {
    content: 'Success Rate';
  }

  .yala-table td::before {
    display: inline-block;
    margin-right: 8px;
    font-weight: bold;
    color: #fff;
    background: #2d4739;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 80px; /* smaller min-width to fit screen */
  }
}

/* Extra small screen adjustments ≤425px */
@media (max-width: 425px) {
  .yala-table-section {
    padding: 40px 10px;
    background: #faf9f6; /* light safari background */
  }
  .yala-table td::before {
    min-width: 70px; /* fit smaller screens */
    font-size: 12px;
  }
  .yala-table td {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/*-------------------------------------------------------------------------------------------------*/

.yala-map-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: block;
}

.why-choose-safari {
  background: #dfdfdf;
  padding: 35px 20px;
  text-align: center;
}

.why-choose-safari h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
  font-weight: 700;
  margin-top: 0px;
}

.why-choose-safari h2 span {
  color: #e67e22; /* Safari orange accent */
  text-transform: uppercase;
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 40px;
  color: #e67e22;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Hotel Section Background */
.hotel-section {
  background: #fff
    url(https://dxk1acp76n912.cloudfront.net/images/homepage/watermarkwhite.png)
    no-repeat center center;
  padding: 40px 20px;
}

/* Hotel title styling */
.hotel-title h2 {
  font-size: 2.5rem;
  color: #222;
  font-weight: bold;
  font-family: 'Lato', sans-serif;
  text-align: center;
  margin: 20px 0;
  margin-top: -15px;
}

.hotel-title .subtitle {
  font-size: 1rem;
  text-align: center;
  margin-top: -10px;
  color: #666;
}

/* Flip Box Container */
.flip-box-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: -15px;
}

/* Flip Box Styling */
.flip-box {
  width: 220px;
  height: 320px;
  perspective: 1000px;
  margin: 20px 10px;
  position: relative;
  overflow: hidden; /* Prevents content from spilling */
}

/* Inner Flip Area */
.flip-box-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  position: relative;
}

/* On hover, flip the inner box */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Front and Back sides */
.flip-box-front,
.flip-box-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

/* Front Side */
.flip-box-front {
  background-color: #fff;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  z-index: 2;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Background hotel image */
.hotel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Circular logo */
.hotel-logo {
  position: absolute;
  top: 40px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  border: 2px solid #d48c2a;
}

.hotel-logo img {
  width: 80px;
  height: auto;
}

/* Hotel name text */
.hotel-name {
  position: absolute;
  top: 180px;
  font-size: 1.3rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  letter-spacing: 2px;
  color: #000000;
  z-index: 2;
  text-transform: uppercase;
}

/* Back Side */
.flip-box-back {
  background-color: #012c60;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  padding: 20px;
  text-align: center;
  transform: rotateY(180deg);
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.back-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Book Now Button */
.book-now-btn {
  padding: 10px 20px;
  background-color: transparent;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #d48c2a;
  border-radius: 0;
  margin-top: 30px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book-now-btn:hover {
  background-color: #d48c2a;
  border-color: #d48c2a;
  color: #fff;
}

/* footer */
footer {
  background: url('https://dxk1acp76n912.cloudfront.net/images/homepage/waterma.png')
    no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 30px 20px; /* Adjust padding as needed */
  text-align: center;
  margin-top: -10px;
}

/* Footer Logo */
.footer-logo {
  position: relative; /* Changed from absolute to relative */
  padding: 10px;
  width: 140px; /* Adjusted the width as per your requirement */
  height: auto; /* Keeps the aspect ratio of the logo */
  margin: 0 auto;
  font-weight: bold;
  margin-top: 40px;
}

.footer-logo img {
  width: 240%; /* Ensure the image fills the container */
  height: auto;
  margin-top: -300px !important;
  margin-left: -80px;
}

.footer-social {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
  gap: 20px;
  font-size: 1.4rem;
  text-align: center;
  margin-top: -5px !important;
}

.footer-social a {
  color: white;
}

/* Footer Content Section */
.footer-content {
  max-width: 1200px;
  margin: auto;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 10px;
  gap: 5;
  text-align: center; /* Ensure text is centered */
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
  .yala-benefits {
    padding: 40px 10px; /* Adjust padding for smaller screens */
  }

  .benefits-container {
    justify-content: space-around; /* More evenly distributed cards on mobile */
  }

  .benefit-card {
    width: 90%; /* Allow the cards to take more width on mobile */
    margin-bottom: 20px; /* Add space between cards on mobile */
    padding: 15px; /* Adjust padding for better appearance */
  }
  .benefits-title {
    font-size: 1.8rem; /* Slightly smaller font size for mobile */
  }

  .footer {
    padding: 20px 10px; /* Adjust padding for smaller screens */
    height: auto; /* Remove fixed height for flexibility */
    font-size: 14px; /* Slightly smaller font size for mobile */
    flex-direction: column; /* Stack elements vertically */
  }

  .footer-logo {
    position: relative; /* Changed from absolute to relative */
    padding: 10px;
    width: 140px; /* Adjusted the width as per your requirement */
    height: auto; /* Keeps the aspect ratio of the logo */
    margin: 0 auto;
    margin-top: 40px;
  }

  .footer-logo img {
    width: 240%; /* Ensure the image fills the container */
    height: auto;
    margin-top: -300px !important;
    margin-left: -80px;
  }

  .footer-social {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    text-align: center;
  }

  .footer-social a {
    color: white;
  }

  /* Footer Content Adjustments */
  .footer-content {
    font-size: 14px; /* Adjust text size for mobile */
    margin-top: 20px; /* Reduce margin-top */
    line-height: 1.5;
  }
}

.footer p a {
  color: #ffffff;
  text-decoration: none;
}

.footer p a:hover {
  text-decoration: none;
}

.footer p a:active {
  color: #f0a500; /* Optional color change on click */
}
.payment-box {
  background-color: white;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1px 0; /* Add some vertical padding */
  text-align: center;
  box-sizing: border-box;
  height: 60px;
}

.inline-payment-icons {
  display: inline-flex;
  flex-wrap: wrap; /* Wrap on small screens */
  justify-content: center;
  gap: 15px;
  align-items: center;
  opacity: 1;
}

/* Base icon size for large screens */
.inline-payment-icons img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.inline-payment-icons img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991px) {
  .inline-payment-icons img {
    height: 45px; /* Slightly smaller icons */
  }
}

/* Small devices (mobiles, less than 768px) */
@media (max-width: 768px) {
  .inline-payment-icons img {
    height: 45px; /* Smaller icons for small screens */
  }

  .payment-box {
    padding: 8px 5px; /* Less padding on very small screens */
    height: 60px;
  }
}

/* Very small devices (extra small phones, less than 480px) */
@media (max-width: 479px) {
  .inline-payment-icons {
    gap: 10px; /* Less gap on very small screens */
  }

  .inline-payment-icons img {
    height: 32px; /* Smallest icons */
  }
  .payment-box {
    height: 50px;
  }
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 20px 10px; /* Adjust padding for smaller screens */
    height: auto; /* Remove fixed height for flexibility */
    font-size: 14px; /* Slightly smaller font size for mobile */
    flex-direction: column; /* Stack elements vertically */
  }

  .footer-logo {
    position: relative; /* Changed from absolute to relative */
    padding: 10px;
    width: 140px; /* Adjusted the width as per your requirement */
    height: auto; /* Keeps the aspect ratio of the logo */
    margin: 0 auto;
    margin-top: 40px;
  }

  .footer-logo img {
    width: 240%; /* Ensure the image fills the container */
    height: auto;
    margin-top: -300px !important;
    margin-left: -80px;
  }

  .footer-social {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    text-align: center;
  }

  .footer-social a {
    color: white;
  }

  /* Footer Content Adjustments */
  .footer-content {
    font-size: 14px; /* Adjust text size for mobile */
    margin-top: 20px; /* Reduce margin-top */
    line-height: 1.5;
  }
}
