/* 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;
  }
}

/* Image Section */
.image-container {
  position: relative;
  width: 100%;
  height: 440px;
  margin-top: 90px;
  overflow: hidden;
}

/* Image Animation */
.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.5;

  animation: imageFade 15s infinite;
}

/* Keyframes for 3 images */
@keyframes imageFade {
  0% {
    background-image: url('https://dxk1acp76n912.cloudfront.net/images/seat-reservation/kandy-tour1.jpeg');
  }
  33.33% {
    background-image: url('https://dxk1acp76n912.cloudfront.net/images/seat-reservation/kandy-tour2.jpeg');
  }
  66.66% {
    background-image: url('https://dxk1acp76n912.cloudfront.net/images/seat-reservation/kandy-tour3.jpeg');
  }
  100% {
    background-image: url('https://dxk1acp76n912.cloudfront.net/images/seat-reservation/kandy-tour1.jpeg');
  }
}

/* Overlay Text and Button */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #012c60;
}

.overlay h2 {
  font-size: 3rem;
  font-weight: bold !important;
  margin-bottom: 10px;
  font-family: 'Lato', sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.overlay .sub-title {
  font-size: 1.8rem;
  color: #000000;
  margin: 0.5rem 0 1rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.book-tour-btn {
  background-color: #012c60;
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  font-size: 1.4rem; /* Adjust font size for better scaling */
  font-weight: bold;
  border-radius: 5px;
  display: inline-block; /* Ensures proper sizing */
  transition: background-color 0.3s ease;
}

.book-tour-btn:hover {
  background-color: #d48c2a;
}

@media (max-width: 768px) {
  .book-tour-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .overlay .sub-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .book-tour-btn {
    font-size: 0.8rem;
    padding: 8px 15px;
  }
  .overlay .sub-title {
    font-size: 1rem;
  }
}

/* Make the Image Container Responsive */
@media screen and (max-width: 1024px) {
  .image-container {
    margin-top: 80px !important;
    height: 340px !important; /* Adjust height for tablet screens */
  }

  .overlay h2 {
    font-size: 1.5rem; /* Smaller font size for mobile devices */
  }

  .overlay .sub-title {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .image-container {
    margin-top: 80px;
    height: 240px !important;
  }

  .overlay h2 {
    font-size: 1.3rem; /* Adjust font size for smaller devices */
  }

  .book-tour-btn {
    font-size: 1rem; /* Smaller button on small screens */
    margin-top: -10px;
  }

  .overlay .sub-title {
    font-size: 0.8rem;
  }
}

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

/* Main Popup Container */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.popup-content {
  background: linear-gradient(135deg, #c9ffd4, #dacdff);
  padding: 20px;
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: row;
  border-radius: 10px;
  overflow: hidden;
  flex-wrap: wrap;
}

/* Inner Layout */
.popup-inner {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

.popup-image img {
  width: 220px;
  height: 350px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 10px;
  background-color: #000;
}

/* Text Content */
.popup-text {
  flex: 1;
  text-align: center;
  font-size: 15px;
}

.popup-text h2 {
  color: #012c60;
  font-size: 28px;
  margin-bottom: 10px;
}

.popup-text h2 strong {
  color: #007f5f;
  font-weight: 700;
}

.time-number {
  font-size: 2.5rem;
  color: #012c60;
  font-weight: bold;
  padding: 10px 15px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.time-label {
  font-size: 0.9rem;
  margin-top: 5px;
  color: #555;
}

.popup-text p {
  font-size: 1rem;
  color: #00011d;
  text-align: center;
  margin-top: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.popup-text strong {
  font-family: 900;
  color: #d32f2f;
  font-size: 1.3rem;
}

/* Button */
.whatsapp-btn-pop {
  background-color: #012c60;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: glowButton 1.5s infinite alternate;
}

.whatsapp-btn-pop:hover {
  background-color: #e2ae3f;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .popup-content {
    flex-direction: column;
    align-items: center;
    width: 400px;
  }

  .popup-inner {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .popup-image img {
    width: 300px;
    height: auto;
    max-height: 300px;
  }

  .popup-text {
    font-size: 14px;
  }

  .popup-text h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 360px;
  }
  .popup-image img {
    width: 300px;
    height: 200px;
    max-height: 300px;
  }
  .whatsapp-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .popup-text h2 {
    font-size: 28px;
  }

  .popup-text {
    font-size: 16px;
  }
}

/*tour-intro*/
.tour-info-enhanced {
  background-color: #f0f8ff;
  background-position: center 20px;
  padding: 6rem 2rem 3rem;
  position: relative;
}

.info-overlay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: -50px auto;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.8rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #012b45;
  margin-bottom: 0.6rem;
}

.info-card h3 i {
  color: #e08e0b;
  font-size: 1.5rem;
  margin-right: 8px;
}

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

/*perahera infor*/
.Perahera-info {
  background: linear-gradient(to bottom, #fffaf3, #fff3e0);
  padding: 50px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  margin-top: 20px;
}

.Perahera-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.Perahera-heading {
  font-size: 2.5rem;
  text-align: center;
  color: #b6731c;
  margin-bottom: 30px;
}

.Perahera-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #444;
  position: relative;
  padding-left: 40px;
}

.highlight-icon {
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 1.5rem;
  color: #c17e1f;
}

.Perahera-highlight {
  margin-top: 30px;
  padding: 18px 24px;
  background-color: #fff5da;
  border-left: 6px solid #c17e1f;
  font-size: 1rem;
  color: #5a3b00;
  border-radius: 10px;
}

/*Inquiry form-section*/
.inquiry-section {
  background: #f9f9f9;
  padding: 40px 20px;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  margin-bottom: 40px;
}

.inquiry-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #012c60;
  font-weight: bold;
  text-transform: none;
}

/*hotel location base*/
.form-group {
  position: relative;
  max-width: 500px;
  margin: auto;
}

#locationInput {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.autocomplete-box {
  position: absolute;
  background: rgb(237, 237, 237);
  border-top: none;
  z-index: 1000;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
}

.autocomplete-item {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.autocomplete-item:hover {
  background-color: #eef5ff;
}

.hotel-results {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 210px;
  overflow-y: auto;
  overflow-x: hidden; /* ✅ Prevents horizontal scroll */
  margin-top: -15px;
  margin-right: 55px;
}

.hotel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.hotel-card:hover {
  background-color: #f0f8ff;
}

.hotel-name {
  font-weight: bold;
  color: #012c60;
  max-width: 100%;
  white-space: nowrap;
  font-size: 1rem;
  text-transform: uppercase;
  margin-right: -205px; /* ✅ Don't use negative margins */
}

.hotel-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #0d6efd;
  flex-shrink: 0; /* ✅ prevents checkbox from shrinking */
  pointer-events: none;
  margin-right: -100px;
}

/*guest and room*/
/* General Styling for the form group */
.form-group {
  margin-bottom: 20px;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* A more modern font stack */
  position: relative; /* Important for absolute positioning of dropdown */
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600; /* Slightly bolder */
  color: #2c3e50; /* Darker, more sophisticated text color */
}

/* Style for the main input field */
#guestInput {
  width: 100%;
  padding: 10px 18px; /* Slightly more padding */
  border: 1px solid #c9d0d6; /* Softer border color */
  border-radius: 10px; /* More rounded corners */
  cursor: pointer;
  font-size: 17px; /* Slightly larger font */
  color: #34495e;

  outline: none; /* Remove default focus outline */
}

/* Dropdown Container */
.guest-dropdown {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #ffffff; /* Clean white background */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Deeper shadow */
  padding: 20px; /* More generous padding */
  margin-top: 10px;
  position: absolute;
  z-index: 1000;
  min-width: 300px; /* Slightly wider */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease; /* Animation for show/hide */
}

.guest-dropdown.hidden {
  opacity: 0;
  transform: translateY(-10px); /* Slide up effect when hidden */
  pointer-events: none; /* Disable interactions when hidden */
}

/* Individual Guest Rows (Adults, Children, Rooms) */
.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px; /* More space between rows */
  padding-bottom: 5px;
  border-bottom: 1px solid #f0f0f0; /* Light separator line */
}

.guest-row:last-of-type {
  border-bottom: none; /* No border for the last row */
  margin-bottom: 0;
}

.guest-row span:first-child {
  /* Targets the labels (Adults, Children, Rooms) */
  font-size: 16px;
  color: #34495e;
  font-weight: 500;
  flex-grow: 1;
}

/* Increment/Decrement Buttons */
.guest-row button {
  background-color: #e9ecef; /* Lighter grey for buttons */
  color: #495057;
  border: none; /* No border */
  border-radius: 50%;
  width: 34px; /* Slightly larger buttons */
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px; /* Larger +/- signs */
  line-height: 1; /* Adjust line height for better centering */
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  margin: 0 10px; /* More space around buttons */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
}

.guest-row button:hover {
  background-color: #012c60; /* Primary blue on hover */
  color: #ffffff; /* White text on hover */
  transform: translateY(-1px); /* Slight lift */
}

.guest-row button:active {
  background-color: #e9ecef;
  transform: translateY(0); /* Press effect */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); /* Inset shadow for pressed state */
}

/* Count Display */
.guest-row span[id$='Count'] {
  font-weight: 700; /* Bolder count */
  font-size: 20px; /* Larger count font */
  min-width: 30px;
  text-align: center;
  color: #007bff; /* Primary color for the count */
}

/* Child Ages Section */
#tempChildAges {
  margin-top: 15px; /* More space above */
  padding-top: 15px;
  border-top: 1px solid #f0f0f0; /* Solid, light separator */
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Slightly more gap */
  align-items: center; /* Vertically align label and selects */
}

#tempChildAges label {
  width: 100%;
  margin-bottom: 8px; /* More space below label */
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

#tempChildAges select {
  padding: 10px 12px; /* More padding in selects */
  border: 1px solid #d0d7de;
  border-radius: 6px; /* Nicely rounded selects */
  font-size: 15px;
  background-color: #fcfdfe; /* Very light background */
  cursor: pointer;
  flex: 1;
  min-width: 120px; /* Adequate min-width */
  appearance: none; /* Remove default select arrow */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="%23495057" d="M7.646 10.854l-3.5-3.5a.5.5 0 0 1 .708-.708L8 9.793l3.146-3.147a.5.5 0 0 1 .708.708l-3.5 3.5a.5.5 0 0 1-.708 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

#tempChildAges select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Done Button */
.done-btn {
  width: 100%;
  padding: 10px 25px; /* Larger padding */
  background-color: #012c60;
  color: white;
  border: none;
  border-radius: 10px; /* More rounded */
  font-size: 17px; /* Slightly larger text */
  font-weight: 600; /* Semi-bold */
  cursor: pointer;
  margin-top: 25px; /* More space above */
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); /* Deeper shadow */
}

.done-btn:hover {
  background-color: #e2ae3f;
  transform: translateY(-2px); /* More pronounced lift */
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.done-btn:active {
  background-color: #004085;
  transform: translateY(0);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2); /* Inset shadow for pressed state */
}

.inquiry-form .form-group {
  margin-bottom: 20px;
}

.inquiry-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
}

.inquiry-form input {
  width: 500px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

/* Minimize width and align promo code with text */
.promo-group-inline .promo-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-inline input {
  width: 500px; /* smaller box */
  color: #007f5f; /* text color inside box */
  font-weight: 800; /* bold text */
  font-size: 15px;
}

/* "Get 30% off!" styling */
.promo-note-inline {
  font-size: 18px;
  font-weight: 700;
  color: #ff6600;
}

/* Start Date Field Styling */
.start-date-group .start-date-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-date-note {
  font-size: 14px;
  color: #777;
  font-style: italic;
}

.start-date-inline input[type='date'] {
  width: 500px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

/* Shared form-group styling */
/* Container styling */
.form-group {
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

/* Label styling */
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

/* intl-tel-input field */
#whatsapp-number {
  width: 100%;
  max-width: 500px;
  padding: 10px 12px 10px 58px; /* extra left-padding for flag & code */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

/* intl-tel-input container tweaks */
.iti {
  width: 100%;
  max-width: 500px;
}

/* dropdown list customization (optional) */
.iti__country-list {
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.error-msg {
  color: red;
  font-size: 0.9rem;
  margin-top: 5px;
}

#check-availability-btn {
  display: block;
  margin: 30px auto 0;
  background-color: #012c60;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  max-width: 300px;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: glowButton 1.5s infinite alternate;
}

#check-availability-btn:hover {
  background-color: #e2ae3f;
}

.swal-confirm-btn {
  font-weight: bold;
}

.swal-cancel-btn {
  font-weight: bold;
}

/* Responsive Inquiry Form */
@media (max-width: 768px) {
  .inquiry-section {
    padding: 15px 15px;
    max-width: 90%;
  }

  .inquiry-form input,
  .promo-inline input,
  .start-date-inline input[type='date'],
  .custom-dropdown,
  .vehicle-select,
  #whatsapp-number {
    width: 500px; /* Full width on smaller screens */
    max-width: 100%;
    box-sizing: border-box;
  }
  .vehicle-select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .inquiry-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  #check-availability-btn {
    max-width: 100%;
    font-size: 1rem;
    padding: 10px 15px;
  }

  #whatsapp-number {
    width: 350px;
  }
}
/*inquiry form new features------------------------------------------------------------------------------*/

.form-group {
  margin-bottom: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #012c60;
  font-size: 1.1em;
}

.form-group select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1em;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  color: #333;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  appearance: none; /* Remove default dropdown arrow for styling */
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23012c60" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
}

.form-group select:focus {
  border-color: #012c60;
  box-shadow: 0 0 0 3px rgba(1, 44, 96, 0.1);
  background-color: #fff;
}
/*-------------------------------------------------------------------------------------------------*/

/*iteneries*/
.itinerary-container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem 4rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fffdf5;
  color: #2c3e50;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #d68f00;
  font-weight: 700;
}

.section-title .fa-map-marker-alt {
  margin-right: 0.5rem;
  color: #b37100;
}

.timeline {
  position: relative;
  margin-left: 2rem;
  border-left: 4px solid #d68f00;
  padding-left: 2rem;
  margin-bottom: 4rem;
}

.step {
  position: relative;
  margin-bottom: 2.8rem;
}

.fa-step-icon {
  position: absolute;
  left: -3.2rem;
  top: 0;
  font-size: 1.7rem;
  color: #d68f00;
  background: #fffdf5;
  border-radius: 50%;
  padding: 0.3rem;
  border: 3px solid #d68f00;
  width: 2.7rem;
  height: 2.7rem;
  text-align: center;
  line-height: 2rem;
  box-shadow: 0 0 6px rgba(214, 143, 0, 0.6);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: #b37100;
  font-weight: 600;
}

.step p,
.step ul {
  font-size: 1rem;
  line-height: 1.5;
  margin-left: 0.3rem;
  color: #34495e;
}

.step ul {
  list-style: none;
  padding-left: 0;
}

.step ul li {
  margin-bottom: 0.3rem;
}

.info-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 350px;
  background: #f8f5e8;
  padding: 1.8rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(214, 143, 0, 0.3);
  color: #2c3e50;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #b37100;
}

.card.include h3 i.fa-check-circle {
  color: #27ae60;
}

.card.exclude h3 i.fa-times-circle {
  color: #c0392b;
}

.card ul {
  list-style-type: disc;
  padding-left: 1.4rem;
}

.card ul li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #34495e;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #34495e;
  background: #fffefc;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Flex wrapper */
.flex-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card common */
.perahera-highlight-section {
  padding: 40px 20px;
  background: #f9f9f9;
  margin-top: -30px;
}

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

.highlight-card {
  flex: 1 1 450px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #012c60;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 5px solid #e2ae3f;
  padding-left: 10px;
}

.highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-card li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #444;
  margin-top: 10px;
}

.highlight-card li i {
  color: #ff6600;
  font-size: 1.4rem;
  margin-top: 4px;
}

/* 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: 0px;
}

/* 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 */
}

.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;
  }
}

.reference-link {
  margin-top: 20px;
  font-size: 18px;
  color: #555;
  text-align: left;
}

.reference-link a {
  color: #012c60;
  text-decoration: underline;
  word-break: break-word;
}

.reference-link a:hover {
  color: #e2ae3f;
}

/* 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;
  }
}
