.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 10px;
  margin: -10px; /* Negative margin to offset outer gaps */
  padding: 0;
  margin-top: 15px;
  height: 400px !important;
}

.grid-item {
  overflow: hidden;
  border-radius: 10px;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* line */
.heading-underline {
  position: relative; /* Establish positioning context for the pseudo-element */
  display: inline-block; /* Adjusts width to the content */
  padding-bottom: 10px; /* Space for the line */
}

.heading-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px; /* Length of the blue line; adjust as needed */
  height: 4px; /* Thickness of the line */
  background-color: var(--golden); /* Blue color */
}

/*visa information */
.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card {
  border: none;
  background: transparent;
}

/* calculator */

.guarantee-alert {
  background: #f8f9fa;
  color: #000;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #dee2e6;
}

.traveller-card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dee2e6;
}

.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border: 1px solid #dee2e6;
  background: white;
  color: #000;
}

.counter-btn:hover {
  background: #f8f9fa;
}

.counter-display {
  min-width: 36px;
  text-align: center;
  font-weight: 500;
}

.fee-row {
  padding: 1rem;
  border-radius: 8px;
}

.start-btn {
  background: #000;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  padding: 1rem !important;
  color: white;
}

.start-btn:hover {
  background: #222;
}

.price-tag {
  font-weight: 500;
  color: #000;
}

.promotion-text {
  color: #198754;
  font-weight: 500;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
}

.iconn {
  color: #000;
}

.form-control:focus {
  outline: none; /* Remove the default outline */
  border-color: wheat; /* Change the border color to golden */
  box-shadow: 0 0 0 0.2rem rgba(175, 135, 0, 0.25); /* Add a golden glow effect */
}

hr {
  background-color: #eee;
  border: 0; /* Remove default border */
  height: 1px; /* Set a specific height */
  margin: 20px 0; /* Add margin for spacing */
}

.carousel-image {
  height: 300px; /* Set a fixed height for all images */
  object-fit: cover; /* Ensure the image covers the entire area without distortion */
  width: 100%; /* Ensure the image takes up the full width of its container */
}

/* scroller for small screen */
.nowrap-scroll {
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px; /* Space for hidden scrollbar */
  margin-bottom: -20px; /* Offset padding */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.nowrap-scroll::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.nowrap-scroll {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

@media (min-width: 992px) {
  .nowrap-scroll {
    white-space: normal;
    overflow-x: visible;
  }
}

.date-picker-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 8px;
}

.date-picker-card .form-control {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 4px;
}

.date-picker-card .form-label {
  margin-bottom: 0;
  color: #495057;
  font-size: 0.9rem;
}

.date-picker-card .bi {
  margin-right: 6px;
}

.was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid {
  border-color: #198754;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.divider {
  margin: 1rem 0;
  text-align: center;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: transparent;
  border-top: 1px dashed #dee2e6; /* Added dashed border */
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

/* star rating */
.stars {
  font-size: 2.5rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s, transform 0.2s;
}

.stars:hover,
.stars.selected {
  color: var(--golden);
  transform: scale(1.1);
}

/* Apply margin-left only after the first star */
.stars:not(:first-child) {
  margin-left: 5px;
}

.locked {
  pointer-events: none;
}

.modal-content {
  border-radius: 10px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* text editor */
.editor-container {
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.editor-toolbar {
  background: #f8f9fa;
  padding: 5px;
  display: flex;
  gap: 5px;
  border-bottom: 1px solid #ccc;
}

.editor-content {
  min-height: 150px;
  padding: 10px;
  outline: none;
}

/* ratings */
.card-rating {
  max-width: 380px;
  border-radius: 12px;
  background: #fff;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  padding: 20px;
}
.rating-bar {
  height: 10px;
  border-radius: 5px;
  background-color: #e0e0e0;
  position: relative;
  overflow: hidden;
  transition: width 0.5s ease-in-out;
}
.rating-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease-in-out;
}
.bg-green {
  background-color: var(--golden);
}
.bg-light-green {
  background-color: var(--blue);
}
.bg-yellow {
  background-color: var(--blue);
}
.bg-orange {
  background-color: var(--blue);
}
.bg-red {
  background-color: var(--blue);
}
.rating-row:hover .rating-fill {
  opacity: 0.8;
}
.rating-number {
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease-in-out;
}
.rating-row:hover .rating-number {
  color: #000;
}

.flatpickr-calendar {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* accordion */
.accordion-button:not(.collapsed) {
  color: white;
  background-color: var(--blue);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1); /* White icon when expanded */
}

.accordion-button.collapsed::after {
  filter: none; /* Black icon when collapsed */
}

/* visa css */
.visa-container {
  width: 100%;
  margin: 15px auto;
}

.visa-card-box {
  border: 1px solid #14385c;
  border-radius: 16px;
  overflow: hidden;
}

.visa-card-header {
  background: linear-gradient(120deg, #14385c, #1e4a73, #0d2c4d);
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.visa-card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: rotate(-30deg);
}

.visa-title-text {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: clamp(18px, 5vw, 24px);
}

.visa-subtitle-text {
  opacity: 0.9;
  font-size: clamp(13px, 4vw, 15px);
  font-weight: 400;
}

.visa-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px;
  background-color: white;
}

.visa-info-block {
  padding: 16px;
  border-radius: 16px;
  background-color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.visa-info-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(175, 135, 0, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.visa-info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(20, 56, 92, 0.1);
  border-color: rgba(226, 232, 240, 0);
}

.visa-info-block:hover::after {
  transform: translateX(100%);
}

.visa-icon-box {
  margin-bottom: 12px;
  position: relative;
}

.visa-icon-circle {
  display: inline-flex;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.visa-icon-circle i {
  font-size: 20px;
  color: white;
}

.visa-icon-circle::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.2;
  bottom: -4px;
  right: -4px;
  z-index: -1;
}

.visa-label-text {
  font-size: 12px;
  color: #543019;
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.visa-value-text {
  font-size: clamp(16px, 5vw, 22px);
  font-weight: 700;
  color: #14385c;
  margin-bottom: 8px;
}

.visa-description-text {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.5;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}
