.top-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
}

.top-container-left {
    flex: 1.5;
}

.top-container-right {
    flex: 1;
    font-family: 'Arial', sans-serif;
    color: #333;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tour-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;  
    margin: 0;
}

.tour-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tour-detail:last-child {
    border-bottom: none;
}

.icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tour-detail p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;  
    flex-grow: 1;
}

/* Remove specific color classes for tour details */
.tour-detail .location,
.tour-detail .duration,
.tour-detail .language,
.tour-detail .guide {
    color: #333;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .top-container-right {
        padding: 15px;
        gap: 10px;
    }

    .tour-title {
        font-size: 24px;
    }

    .tour-detail {
        gap: 8px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }

    .tour-detail p {
        font-size: 14px;
    }

    .top-container {
        flex-direction: column-reverse;
        gap: 5px;
    }
}

.image-container {
  position: relative;
  height: 500px;
  margin: 2px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.image-index {
  width: 15%;
  background-color: #eaeaea;
  overflow-y: auto;
  position: absolute;
  height: 100%;
  z-index: 1;
}

.image-item {
  cursor: pointer;
  transition: opacity 0.3s;
}

.image-index .image-item {
  margin-bottom: 4px;
  width: 90%;
  padding-bottom: 50.625%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.image-index .image-item img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.image-index .image-item:hover {
  opacity: 0.8;
}

.image-display {
  width: 85%;
  position: absolute;
  left: 15%;
  height: 100%;
  overflow: hidden;
}

.image-display .image-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  display: none;
}

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

.image-display .image-item.active {
  opacity: 1;
  display: block;
}


.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-button.prev {
  left: 8px;
}

.nav-button.next {
  right: 8px;
}

.nav-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.active-dot, .dot:hover {
  background-color: #555;
}

@media screen and (max-width: 768px) {
  .image-container {
    height: 200px;
    width: calc(100%-10px);
    position: relative;
  }

  .image-index {
    display: none;
  }

  .image-display {
    width: 100%;
    left: 0;
    position: relative;
  }

  .image-display .image-item {
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    max-height: 100%;
  }

  .image-display .image-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Navigation buttons on small screen */
  .nav-button {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .nav-button.prev {
    left: 8px;
  }

  .nav-button.next {
    right: 8px;
  }

  .nav-button:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  /* Adjust dot positions for small screens */
  .indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
  }

  .dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
  }

  .active-dot, .dot:hover {
    background-color: #555;
  }
}





/* Content Wrapper Styles */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
}

/* Section Styling */
.content-wrapper section {
    margin-bottom: 20px;
}

/* Headings */
.content-wrapper h2, .content-wrapper h3 {
    color: #4b4b4b;
    margin-bottom: 6px;
}

.content-wrapper h2 {
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 6px;
}

.content-wrapper h3 {
    font-size: 18px;
}

/* Paragraphs */
.content-wrapper p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Lists */
.content-wrapper ul {
    list-style-type: square;
    margin: 20px 0;
    padding-left: 20px;
}

.content-wrapper ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Buttons */
.content-wrapper .button {
    display: inline-block;
    padding: 12px 20px;
    margin-top: 20px;
    background-color: #1a73e8;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
}

.content-wrapper .button:hover {
    background-color: #1558b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 15px;
    }

    .content-wrapper h2 {
        font-size: 24px;
    }

    .content-wrapper p, 
    .content-wrapper ul {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 10px;
    }

    .content-wrapper h2 {
        font-size: 20px;
    }

    .content-wrapper p, 
    .content-wrapper ul {
        font-size: 13px;
    }

    .content-wrapper .button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Divided Section */
.content-wrapper .divided-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.content-wrapper .divided-section .left {
    flex: 0 0 70%;
    padding: 20px;
}

.content-wrapper .divided-section .right {
    flex: 0 0 30%;
    padding: 20px;
}

@media (max-width: 768px) {
    .content-wrapper .divided-section {
        flex-direction: column;
    }

    .content-wrapper .divided-section .left,
    .content-wrapper .divided-section .right {
        flex: 0 0 100%;
    }
}

/* Right Section Styling */
.content-wrapper .right {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-wrapper .right .suggestation-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-wrapper .right .suggestation-container .suggestion-header {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.content-wrapper .right .suggestation-container .suggestion-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-color: #fff;
}

.content-wrapper .right .suggestation-container .suggestion-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.content-wrapper .right .suggestation-container .suggestion-item .suggestion-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

.content-wrapper .right .suggestation-container .suggestion-item .suggestion-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.content-wrapper .right .suggestation-container .suggestion-item .suggestion-image-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.content-wrapper .right .suggestation-container .suggestion-item .suggestion-image-container .suggestion-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-wrapper .right .suggestation-container .suggestion-item:hover .suggestion-image {
    transform: scale(1.1);
}

.content-wrapper .right .suggestation-container .suggestion-item .suggestion-text {
    flex: 1;
}

.content-wrapper .right .suggestation-container .suggestion-item .suggestion-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Table Styles */
.content-wrapper .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    border: none;
    min-width: 600px; /* Prevent table from shrinking too much */
}

.content-wrapper table th,
.content-wrapper table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.content-wrapper table th {
    background-color: #f4f4f4;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent column headers from wrapping */
}

.content-wrapper table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.content-wrapper table tr:hover {
    background-color: #f1f1f1;
}

.content-wrapper table td {
    color: #555;
    white-space: normal; 
    height: 2.5rem;
    line-height: 1.5; 
}


.content-wrapper table caption {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
    color: #333;
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
    .content-wrapper table th,
    .content-wrapper table td {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .content-wrapper .table-wrapper {
        margin: 10px 0;
    }
}


.content-wrapper .destination-list {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
  padding:15px;
}

.content-wrapper .destination-item {
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,.1);
  border-radius:5px;
  overflow:hidden;
  transition:transform .3s ease;
}

.content-wrapper .destination-item:hover {
  transform:translateY(-5px);
}

.content-wrapper .destination-image {
  width:100%;
  height:200px; /* Fixed height for all images */
  object-fit:cover; /* This will crop the image to fit within the defined dimensions */
  border-radius:5px 5px 0 0;
}

.content-wrapper .destination-item h4 {
  font-size:1.1rem;
  margin:10px 15px 5px;
  color:#333;
}

.content-wrapper .destination-item p {
  font-size:.9rem;
  margin:0 15px 15px;
  color:#666;
  line-height:1.5;
}

@media (max-width:768px) {
  .content-wrapper .destination-list {
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    padding:10px;
  }
  .content-wrapper .destination-image {
    height:150px; /* Adjusted height for smaller screens */
  }
  .content-wrapper .destination-item h4 {
    font-size:1rem;
  }
  .content-wrapper .destination-item p {
    font-size:.85rem;
  }
}

@media (max-width:480px) {
  .content-wrapper .destination-list {
    grid-template-columns:1fr;
  }
  .content-wrapper .destination-image {
    height:120px; /* Even smaller height for the smallest screens */
  }
}

.content-wrapper .ul-flex-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}

.content-wrapper .ul-flex-tag li {
  background: #e0e0e0;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
  color: #333;
  transition: background 0.3s ease;
  flex-grow: 1;
  flex-basis: calc(25% - 10px);
  white-space: normal; /* Allow text wrapping */
}

.content-wrapper .ul-flex-tag li:hover {
  background: #d0d0d0;
}

@media (max-width: 1024px) {
  .content-wrapper .ul-flex-tag li {
    font-size: 0.85rem;
    padding: 4px 12px;
    flex-basis: calc(33.33% - 10px);
  }
}

@media (max-width: 768px) {
  .content-wrapper .ul-flex-tag li {
    font-size: 0.8rem;
    padding: 4px 10px;
    flex-basis: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .content-wrapper .ul-flex-tag li {
    font-size: 0.75rem;
    padding: 3px 8px;
    flex-basis: calc(100% - 10px);
  }
}

@media (max-width: 320px) {
  .content-wrapper .ul-flex-tag li {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
}
.content-wrapper .interest-flex {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
  padding:0;
  list-style:none;
}

.content-wrapper .interest-flex li {
  background:#f0f0f0;
  border-radius:8px;
  padding:20px;
  font-size:1rem;
  color:#333;
  text-align:center;
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wrapper .interest-flex li:hover {
  transform:translateY(-5px);
  box-shadow:0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width:768px) {
  .content-wrapper .interest-flex {
    grid-template-columns:1fr;
  }
  .content-wrapper .interest-flex li {
    padding:15px;
    font-size:0.95rem;
  }
}

@media (max-width:480px) {
  .content-wrapper .interest-flex li {
    padding:10px;
    font-size:0.9rem;
  }
}

.content-wrapper .back-link {
  color:#3498db;
  text-decoration:none;
  font-size:14px;
  transition:color 0.3s ease;
}

.content-wrapper .back-link:hover {
  color:#2980b9;
  text-decoration:underline;
}