@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap");

:root {
  --primary-color: #d9501e;
  --primary-color-light: #e45d2c;
  --secondary-color: #cfb382; /* khaki */
  --text-dark: #12110f;
  --text-light: #383a41;
  --extra-light: #eeecec;
  --white: #ffffff;
  --max-width: 1450px;
  --header-font: "League Spartan", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 3rem 1rem;
}

.section__headercontainer {
  max-width: var(--max-width);
  margin: auto;
  padding: 3rem 1rem;
  height: 500px;
}

.section__header {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  columns: var(--text-dark);
  text-align: center;
  text-transform: uppercase;
}

.section__header span{
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  font-style: italic;
  columns: var(--text-dark);
  text-align: center;
  text-transform: uppercase;
}

.section__description {
  font-weight: 500;
  font-family: var(--header-font);
  color: var(--text-light);
  text-align: center;
  font-size: 1.3rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-light);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.logo span {
  color: var(--text-dark);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: var(--header-font);
  background-color: var(--extra-light);
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .section__header {
    font-size: 2rem;
  }

  .section__description {
    font-size: 1.1rem; 
    padding: 0 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .section__headercontainer {
    height: auto; 
    padding: 2rem 1rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .section__header {
    font-size: 1.8rem;
  }

  .section__description {
    font-size: 1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .section__container {
    padding: 2rem 0.5rem;
  }

  .section__headercontainer {
    padding: 2rem 0.5rem;
    height: auto;
  }
}

/* Top Bar */
.topbar {
  display: flex;
  align-items: center;
  background-color: var(--text-dark);
  color: white;
  padding: 10px 20px;
  position: relative;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  height: 40px;
  isolation: isolate;
}

.message-container {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 20px;
  z-index: 1;
}

.message {
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
  text-align: center; /* Keep this to center the text within */
}

.scroll-down {
  transform: translateY(20px);
  transition: transform 0.5s ease-in-out;
}

/* Language selector styling */
.language-selector {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push to right side */
  position: relative;
  z-index: 9998; /* Place above the centered message */
}

/* Dropdown styling */
.lang-dropdown {
  position: relative;
  z-index: 10000;
  display: inline-block;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  background-color: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
  border-radius: 3px;
  position: relative; 
  z-index: 9998;
}

.lang-dropdown-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-dropdown-btn i {
  margin-left: 0.25rem;
}

.lang-flag {
  width: 18px;
  height: 12px;
  margin-right: 0.4rem;
  object-fit: cover;
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #222;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10001;
  border-radius: 3px;
}

.lang-dropdown-content a {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.lang-dropdown-content a:hover {
  background-color: #333;
}

.lang-dropdown-content a.active {
  background-color: rgba(255, 215, 0, 0.2);
  font-weight: bold;
}

/* Show class for mobile dropdown */
.lang-dropdown-content.show {
  display: block;
}

/* RTL specific adjustments for language selector */
.rtl .language-selector {
  margin-left: 0;
  margin-right: auto;
}

.rtl .lang-flag {
  margin-right: 0;
  margin-left: 0.4rem;
}

.rtl .lang-dropdown-btn i {
  margin-left: 0;
  margin-right: 0.25rem;
}

.rtl .lang-dropdown-content {
  right: auto;
  left: 0;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .topbar {
    padding: 8px 10px;
  }
  
  .message {
    font-size: 14px;
    padding: 3px 0;
  }
  
  .language-selector {
    margin-right: 0.5rem;
  }
  
  .rtl .language-selector {
    margin-left: 0.5rem;
    margin-right: auto;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .topbar {
    padding: 6px 8px;
  }
  
  .message {
    font-size: 10px;
  }
  
  .lang-dropdown-btn {
    padding: 0.2rem 0rem;
    font-size: 9px;
  }
  
  .lang-flag {
    width: 16px;
    height: 10px;
  }
}
/* Top Bar End */

/* Navigation Bar */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 1000;
}
.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--extra-light);
  border-bottom: 1px solid var(--text-light);
  position: relative;
  z-index: 10000;
}
.nav__logo img {
  height: auto;
  max-height: 70px;
  width: auto;
}
.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}
.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0.5rem;
  background-color: var(--extra-light);
  border-bottom: 1px solid var(--text-light);
  padding: 0.5rem;
  transform: none;
}
.nav__links.open {
  transform: translateY(0);
}
.nav__links a {
  font-family: var(--header-font);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  color: var(--text-dark);
}
.nav__links a:hover {
  color: var(--primary-color);
}
.nav__links li a.active {
  color: #ff6347;
  font-weight: bold;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .nav__menu__btn {
    display: block;
  }
  
  .nav__header {
    padding: 0.7rem;
  }
  
  .nav__logo img {
    max-height: 65px;    
    width: auto;       
  }
  
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    transform: none;
  }
  
  .nav__links.active {
    max-height: 400px;
    opacity: 1;
    padding: 0.8rem 0;
  }
  
  .nav__links a {
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .nav__header {
    padding: 0.6rem;
  }
  
  .nav__logo img {
    max-height: 50px;    
    width: auto;       
  }
  
  .nav__menu__btn {
    font-size: 1.3rem;
  }
  
  .nav__links a {
    padding: 0.6rem 0;
    font-size: 0.9rem;
  }
}
/* Navigation Bar End */

/* Header Section */
.header {
  padding-block: 4rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* Reduced opacity from 0.5 to 0.1 (10%) */
  z-index: 1;
}

.header__container h1 {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 4rem;
  font-family: var(--header-font);
  /*text-shadow: 
    -1px -1px 0 black,  
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;*/
}

.header__container h1 span {
  font-size: 3.5rem;
  font-weight: 700;
}

.header__container p {
  margin-bottom: 5rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  /*text-shadow: 
    -1px -1px 0 black,  
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;*/
}

/* Image Slider */
.slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0; /* Make all images invisible by default */
  transition: opacity 1s ease-in-out;
}

.slider__image.active {
  opacity: 1; /* Only the active image will be visible */
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    padding-block: 3rem;
  }

  .header__container h1 {
    font-size: 3rem; /* Reduce header size */
    line-height: 2rem;
  }

  .header__container h1 span {
    font-size: 2.5rem;
  }

  .header__container p {
    font-size: 1.2rem; /* Reduce paragraph size */
    margin-bottom: 3rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .header {
    padding-block: 2rem;
  }
  
  .header__content {
    margin-top: -2rem; 
  }

  .header__container h1 {
    font-size: 1.7rem; /* Smaller header */
    line-height: 1.5rem;
  }

  .header__container h1 span {
    font-size: 1.5rem;
  }

  .header__container p {
    font-size: 0.8rem; /* Adjust text size */
    margin-bottom: 2rem;
  }
}
/* Header Section End */

/* Advantage Section */
.advantage__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.advantage__card {
  padding: 1rem;
  display: flex;
  position: relative;
  align-items: center;
  gap: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.advantage__card img {
  max-width: 70px;
  flex-shrink: 0;
}

.advantage__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-dark);
}

.advantage__card p {
  color: var(--text-light);
  line-height: 1.5rem;
  font-size: 1.1rem;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .advantage__container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
  }

  .advantage__card {
    padding: 1.2rem;
  }

  .advantage__card img {
    max-width: 60px; /* Slightly smaller images */
  }

  .advantage__card h4 {
    font-size: 1.1rem;
  }

  .advantage__card p {
    font-size: 1rem;
    line-height: 1.4rem;
    text-align: justify;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .advantage__container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.6rem;
    align-items: stretch;
  }
  
  .advantage__card {
    flex-direction: row;
    text-align: left;
    padding: 1rem;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 80px;
  }
 
  .advantage__card img {
    max-width: 50px;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  
  .advantage__card-content {
    flex: 1;
  }
  
  .advantage__card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    height: auto;
    display: block;
  }
  
  .advantage__card p {
    font-size: 0.9rem;
    line-height: 1.3rem;
    text-align: left;
    margin: 0;
  }
}
/* Advantage Section End */

/* Registration Section */
.registration {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.registration__container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.registration__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.registration__description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.registration__btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.registration__btn:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background-color: var(--primary-color-light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
}

.close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffcccc;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-color-light);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .registration {
        padding: 60px 0;
    }

    .registration__title {
        font-size: 2rem;
    }

    .registration__description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .registration__btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 0;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select {
        font-size: 0.95rem;
        padding: 10px;
    }

    .submit-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .registration {
        padding: 40px 0;
    }

    .registration__title {
        font-size: 1.5rem;
    }

    .registration__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .registration__btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        width: 100%;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .close {
        font-size: 24px;
        right: 15px;
    }

    .modal-body {
        padding: 20px;
    }

    .form-group input,
    .form-group select {
        font-size: 0.9rem;
        padding: 10px;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
/* Registration Section End */

/* Destinations Section */
.destination {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.destination__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

.destination__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 1rem;
  padding: 2rem;
  max-width: var(--max-width);
}

.destination__card {
  width: 100%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--background-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.destination__card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.destination__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.destination__card:hover .destination__content {
  opacity: 1;
}

.destination__name {
  padding: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-family: var(--header-font);
}

.destination__name i {
  font-size: 1.3rem;
}

.destination__name span {
  font-size: 1.3rem;
}

.destination__card.coming-soon .destination__content {
    opacity: 0 !important;
}

.destination__card.coming-soon:hover .destination__content {
    opacity: 0 !important;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 10;
}

.coming-soon-overlay i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.coming-soon-text {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Slider Buttons */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 1rem;
  font-size: 1rem;
  z-index: 2;
  border-radius: 30%;
}

.slider__btn--left {
  left: 0;
}

.slider__btn--right {
  right: 0;
}

/* Add hover effect */
.slider__btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.destination .view-more-container {
  text-align: center;
}

.destination .view-more-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.destination .view-more-btn:hover {
  background-color: var(--primary-color-light);
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .destination__wrapper {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 0.8rem;
  }

  .destination__card img {
    height: 400px; /* Reduce image height */
  }

  .destination__content {
    font-size: 1.2rem;
  }

  .destination__name {
    font-size: 1rem;
  }

  .destination .view-more-btn {
    padding: 0.8rem 1.5rem; /* Adjust button size */
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .destination__wrapper {
    grid-template-columns: 1fr; /* Stack cards in one column */
    gap: 0.6rem;
  }

  .destination__card img {
    height: 500px; /* Smaller image height */
  }

  .destination__content {
    font-size: 1rem;
  }

  .destination__name {
    font-size: 0.9rem;
  }

  .destination .view-more-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}
/* Destinations Section End */

/* Destination Details Section */
.destination-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  max-width: var(--max-width);
}

.details-section {
  flex: 1;
  max-width: 40%;
  z-index: 1;
}

.details-section h2{
  color: var(--text-dark);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.details-section h3{
  color: var(--text-dark);
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.details-section p{
  color: var(--text-light);
  padding: 0.2rem 0;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
}

/* Main image section */
.images-section {
  flex: 1;
  max-width: 100%;
  position: relative;
  z-index: 0;
  top: 2rem;
  padding: 1rem;
}

/* Desktop grid view */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.image-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

/* Mobile slider */
.mobile-slider {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 3rem;
}

.slider-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.slider-item {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-item img {
  max-width: 100%;
  max-height: 100%; 
  width: auto;     
  height: auto;     
  object-fit: contain; 
  cursor: zoom-in;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.slider-dot.active {
  background: #333;
}

/* Zoom overlay */
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(239, 234, 234, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.zoom-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  scroll-behavior: smooth;
  overflow: auto;

  /* Hide scrollbar for Chrome, Safari and Opera */
  &::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.zoom-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 150vh;
  object-fit: contain;
  margin: 0 auto;
  cursor: zoom-out;
}

.collapsible {
  background-color: var(--extra-light);
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem 0;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.1rem;
  line-height: 1;
  font-family: var(--header-font);
  font-weight: bold;
  position: relative;
}

.collapsible i {
  margin-right: 8px; 
  font-size: 1.2rem; 
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-light);
  padding: 0.3rem 0;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: justify;
}

.collapsible-content ul {
  list-style-type: square; 
  margin-left: 20px; 
  padding: 0;
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left; 
}

.collapsible.active + .collapsible-content {
  max-height: 200px; 
}

.collapsible::before {
  content: "+"; 
  font-weight: bold;
  position: absolute; 
  right: 1rem; 
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dark);
}

.collapsible.active::before {
  content: "−"; 
}

.project-details {
  margin-bottom: 20px;
}

.project-image img {
  width: 560px;
  height: 360px;
  border-radius: 8px;
  margin: 10px auto; /* Centers horizontally */
  display: block; /* Ensures margin auto works */
}

.destination-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-family: var(--header-font);
  font-size: 1.1rem;
}

.destination-btn {
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-back {
  background-color: #6c757d;
  color: white;
  border: 2px solid #6c757d;
}

.btn-book {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-back:hover {
  background-color: #545b62;
  color: white;
}

.btn-book:hover {
  background-color: var(--primary-color-light);
  color: white;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .destination-container {
    flex-direction: column; /* Stack details and images */
    gap: 1rem;
  }
  
  .images-section {
    order: 1;
  }

  .details-section {
    max-width: 100%;
    order: 2;
  }

  .details-section h2 {
    font-size: 1.4rem;
  }

  .details-section p {
    font-size: 1rem;
  }

  .desktop-grid {
    display: none;
  }
  
  .mobile-slider {
    display: block;
  }
  
  .slider-item {
    width: 100%;
  }
  
  .slider-item img {
    height: 700px;
  }
  
  .project-image img {
    width: 480px; 
    height: 350px;  
  }

  .destination-buttons {
    flex-direction: row; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px;
  }

  .destination-btn {
    width: auto; 
    min-width: 180px; 
    padding: 10px 20px;
    font-size: 1.1rem;
    text-align: center;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .destination-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .images-section {
    order: 1;
  }
  
  .details-section {
    order: 2;
  }

  .details-section h2 {
    font-size: 1.3rem;
  }

  .details-section p {
    font-size: 1rem;
  }

  .slider-item img {
    height: 500px;
  }
  
  .slider-nav {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .project-image img {
    width: 380px; 
    height: 250px;  
  }

  .destination-buttons {
    flex-direction: row; 
    justify-content: center; 
    flex-wrap: wrap;
    gap: 8px;
  }

  .destination-btn {
    width: auto;
    min-width: 160px; 
    padding: 8px 16px;
    font-size: 1rem;
    text-align: center;
  }
}
/* Destination Details Section End */

/* Instagram Posts Section */
.instagram-section {
  padding: 2rem 0;
}
.instagram-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.instagram-container {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}
.instagram-post {
  flex: 0 0 calc((100% - 40px) / 3); /* Exactly one-third of space minus gaps */
  width: calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
  transition: transform 0.3s ease;
}
.instagram-container.single-post {
  justify-content: center; /* Center the single post */
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.slider-button:hover {
  background: rgba(255, 255, 255, 0.9);
}
.prev {
  left: -20px;
}
.next {
  right: -20px;
}
.no-posts {
  text-align: center;
  color: #666;
  width: 100%;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .instagram-wrapper {
    padding: 0 25px; /* Add padding for the buttons */
  }
  .instagram-container {
    gap: 15px;
    padding: 15px 0;
  }
  .instagram-post {
    flex: 0 0 calc((100% - 15px) / 2); /* Show two posts at a time */
    width: calc((100% - 15px) / 2);
    min-width: calc((100% - 15px) / 2);
  }
  .slider-button {
    width: 35px;
    height: 35px;
    display: flex; /* Always show buttons on tablet */
    background: rgba(255, 255, 255, 0.9);
  }
  .prev {
    left: 0;
  }
  .next {
    right: 0;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .instagram-section {
    padding: 1.5rem 0;
  }
  .instagram-wrapper {
    padding: 0 20px;
  }
  .instagram-container {
    gap: 15px;
    padding: 10px 0;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory; /* Snap to each post */
  }
  .instagram-post {
    flex: 0 0 85%; /* Show one post at a time with a peek of the next */
    min-width: 85%;
    scroll-snap-align: center; /* Snap alignment */
    margin: 0 auto;
  }
  .instagram-post blockquote {
    margin: 0 auto !important; /* Center the post */
    width: 100% !important;
  }
  .slider-button {
    width: 30px;
    height: 30px;
    display: flex; /* Show buttons on mobile */
    opacity: 0.9;
  }
}

/* Extra small devices */
@media (max-width: 320px) {
  .instagram-post {
    flex: 0 0 95%; /* Wider posts for very small screens */
    min-width: 95%;
  }
  .instagram-wrapper {
    padding: 0 15px;
  }
}
/* Instagram Posts Section End */

/* You May Also Like Section */
.related_destination {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.related__header {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  columns: var(--text-dark);
}

.related-destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Set to 3 columns */
  gap: 20px;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.related-destination {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.related-destination img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}

.related-destination h3 {
  margin: 10px 0 0;
  font-size: 1.1rem;
}

.related-destination p {
  margin: 10px 0 10px; 
  color: #333;
  font-size: 1rem;
}

.related-destination:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.related_destination .view-more-container {
  text-align: center;
}

.related_destination .view-more-btn {
  display: inline-block;
  padding: 1rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.related_destination .view-more-btn:hover {
  background-color: var(--primary-color-light);
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .related-destinations-grid {
    grid-template-columns: repeat(2, 1fr); /* Change to 2 columns */
    gap: 15px;
  }

  .related-destination img {
    height: 300px; /* Adjust image height for tablets */
  }
  
  .related-destination .view-more-btn {
    padding: 0.8rem 1.5rem; /* Adjust button size */
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .related-destinations-grid {
    grid-template-columns: repeat(1, 1fr); /* Switch to single column */
  }

  .related-destination img {
    height: 350px; /* Reduce image size for mobile */
  }
  
  .related-destination .view-more-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}
/* You May Also Like Section End */

/* Booking Form Section */
.booking-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-family: var(--header-font);
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1rem;
  font-family: var(--header-font);
}

.form-btn {
  padding: 12px 24px; 
  border-radius: 5px; 
  text-decoration: none; 
  font-weight: bold; 
  font-size: 1rem;
  line-height: 1; 
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
  width: 200px;
}

.booking-summary {
  background-color: #e9ecef;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.booking-summary h3 {
  line-height: 2.5;
}

.booking-summary p {
  line-height: 2;
  font-size: 1.1rem;
}

.submit-btn {
  display: block; 
  margin: 0 auto; 
  width: 50%; 
  max-width: none;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.40rem;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn i {
  margin-right: 5px; 
}

.submit-btn:hover {
  background-color: #218838;
}

#summarySection .submit-btn {
  width: 100%; 
  text-align: center;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* T&C Modal Styles */
.tc-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.tc-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.tc-modal-content h3 {
    text-align: center;
}

.tc-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.tc-close:hover,
.tc-close:focus {
    color: #000;
    text-decoration: none;
}

.tc-content {
    margin-top: 20px;
    line-height: 1.6;
    text-align: justify;
    font-size: 16px;
}

.tc-content p {
    margin-bottom: 8px;
}

/* Main bullet points (•) */
.tc-content p:has(> span.main-bullet),
.tc-content p[data-bullet="main"] {
    margin-left: 0;
    padding-left: 20px;
    text-indent: -20px;
}

/* Sub bullet points (-) */
.tc-content p:has(> span.sub-bullet),
.tc-content p[data-bullet="sub"] {
    margin-left: 20px;
    padding-left: 20px;
    text-indent: -20px;
}

.main-point {
    margin-left: 0;
    padding-left: 20px;
    text-indent: -20px;
    margin-bottom: 8px;
}

.sub-point {
    margin-left: 20px;
    padding-left: 20px;
    text-indent: -20px;
    margin-bottom: 6px;
}

.tc-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.tc-content strong {
    font-weight: bold;
}

.tc-checkboxes {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.tc-checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.tc-checkbox-item:last-child {
    margin-bottom: 0;
}

.tc-checkbox-item input[type="checkbox"] {
    margin-top: 5px;
    transform: scale(1.2);
}

.tc-checkbox-item label {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}

.submit-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .booking-container {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group select {
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    height: 45px;
    color: black;
  }
  
  .form-group textarea {
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    height: 100px;
    color: black;
  }

  .form-buttons {
    flex-direction: row; 
    justify-content: center; 
    flex-wrap: wrap; 
  }

  .form-btn, .submit-btn {
    width: auto;
    min-width: 160px; 
    text-align: center;
  }
  
  .booking-summary p {
    font-size: 1rem;
  }
  
  .tc-modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
    border-radius: 8px;
  }

  .tc-close {
    font-size: 24px;
    right: 10px;
    top: 8px;
  }

  .tc-content {
    font-size: 15px;
  }

  .tc-checkbox-item label {
    font-size: 15px;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .booking-container {
    max-width: 90%;
    padding: 1rem;
  }

  .form-group input,
  .form-group select {
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    height: 45px;
    color: black;
  }
  
  .form-group textarea {
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    height: 100px;
    color: black;
  }

  .form-buttons {
    flex-direction: row; 
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; 
  }

  .form-btn, .submit-btn {
    width: auto;
    min-width: 140px;
    padding: 10px; /* Adjust padding for smaller screens */
    text-align: center;
  }
  
  .booking-summary p {
    font-size: 1rem;
  }
  
  .tc-modal-content {
    width: 98%;
    margin: 15% auto;
    padding: 12px;
    border-radius: 6px;
  }

  .tc-close {
    font-size: 22px;
    right: 8px;
    top: 6px;
  }

  .tc-content {
    font-size: 14px;
    line-height: 1.5;
  }

  .tc-content h4 {
    font-size: 16px;
  }

  .tc-checkboxes {
    padding: 10px;
  }

  .tc-checkbox-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tc-checkbox-item label {
    font-size: 14px;
  }
 
  .tc-checkbox-item input[type="checkbox"] {
    margin-top: 0;
    margin-bottom: 5px;
    transform: scale(1.1);
  }
}
/* Booking Form Section End */

/* Semua Destinasi Section */
.alldestination {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.alldestination__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

.alldestination__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 1rem;
  padding: 2rem;
}

.alldestination__card {
  width: 100%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--background-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alldestination__card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.alldestination__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.alldestination__card:hover .alldestination__content {
  opacity: 1;
}

.alldestination__name {
  padding: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-family: var(--header-font);
}

.alldestination__name i {
  font-size: 1.3rem;
}

.alldestination__name span {
  font-size: 1.3rem;
}

.alldestination__card.coming-soon {
  position: relative;
  filter: grayscale(100%);
  pointer-events: none;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 1;
}

.coming-soon-overlay i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.coming-soon-text {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .alldestination__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .alldestination__card img {
    height: 400px;
  }

  .alldestination__content {
    font-size: 1.3rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .alldestination__wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .alldestination__card img {
    height: 500px;
  }

  .alldestination__content {
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
  }
}
/* Semua Destinasi Section End */

/* Jadual Perjalanan Section */
.schedule-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.schedule-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-5px);
}

.schedule-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.destination-name {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.destination-name a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.destination-name a:hover {
  color: var(--primary-color);
}

.schedule-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  justify-content: center;
}

.schedule-date span {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.no-schedules {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 1rem;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .schedule-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .schedule-card {
    padding: 1.25rem;
  }

  .destination-name {
    font-size: 1.15rem;
  }

  .schedule-date span {
    font-size: 1rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .schedule-wrapper {
    grid-template-columns: 1fr; /* Full-width cards */
    gap: 1rem;
  }

  .schedule-card {
    padding: 1rem;
    border-radius: 0.8rem;
  }

  .destination-name {
    font-size: 1rem;
  }

  .schedule-date span {
    font-size: 0.95rem;
  }

  .no-schedules {
    padding: 1.5rem;
    font-size: 1rem;
  }
}
/* Jadual Perjalanan Section End */

/* Tentang Kami Section */
.tentang-kami-container {
  padding-bottom: 4rem;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.about-section, 
.contact-info-section {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-title, 
.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
  text-transform: uppercase;
}

.about-image-container {
  margin-bottom: 2rem;
  text-align: center;
}

.about-image {
  max-width: 60%;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
  font-size: 1.1rem;
}

.about-slogan {
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Contact Info Section */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  background: #f8f9fa;
  border-radius: 0.8rem;
  padding: 1.5rem;
}

.contact-details h4 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  margin-top: 4px;
}

.contact-item p {
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
}

.map-container {
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tablet (max-width: 768px) */
@media (min-width: 768px) {
  .contact-card {
    flex-direction: row;
  }
  
  .contact-details, 
  .map-container {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .about-section, 
  .contact-info-section {
    padding: 1.5rem;
  }
  
  .about-title, 
  .contact-title {
    font-size: 1.3rem;
  }
  
  .about-content p {
    font-size: 0.95rem;
  }
  
  .about-slogan {
    font-size: 1.1rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .about-section, 
  .contact-info-section {
    padding: 1.25rem;
    border-radius: 0.8rem;
  }
  
  .about-title, 
  .contact-title {
    font-size: 1.2rem;
  }
  
  .about-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .about-slogan {
    font-size: 1rem;
  }
  
  .contact-item {
    gap: 0.6rem;
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
}
/* Tentang Kami Section End */

/* Hubungi Kami Section */
.hubungi-kami-container {
  padding-bottom: 4rem;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
  min-width: 750px; 
  max-width: 900px; 
  width: 90%; 
  margin-left: auto;
  margin-right: auto;
}

.contact-form-section {
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
  text-transform: uppercase;
}

.map-container {
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.required {
  color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid #e0e0e0;
  font-family: inherit;
  transition: border-color 0.3s ease;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* File Upload Styling */
.file-upload {
  margin-top: 0.5rem;
}

.upload-area {
  border: 2px dashed #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--primary-color);
  background-color: rgba(var(--primary-color-rgb), 0.05);
}

.upload-icon {
  font-size: 1.8rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.file-input {
  display: none;
}

.file-name {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
  width: fit-content;
  align-self: center;
  min-width: 130px;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
    min-width: auto;
    width: 95%;
  }

  .contact-title {
    font-size: 1.3rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  .upload-area {
    padding: 1rem 0.75rem;
  }

  .submit-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .contact-wrapper {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .contact-form-section {
    padding: 1.5rem 1rem;
  }

  .contact-title {
    font-size: 1.2rem;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .upload-area {
    padding: 0.75rem 0.5rem;
  }

  .upload-icon {
    font-size: 1.5rem;
  }

  .file-name {
    font-size: 0.85rem;
  }

  .submit-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
}
/* Hubungi Kami Section End */

/* Terma & Syarat Section */
.terma-syarat-container {
  padding-bottom: 4rem;
  width: 80%;
}

.terms-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.terms-intro-section,
.terms-sections {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.terms-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
  text-transform: uppercase;
}

.terms-content .terms-intro {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
  font-size: 1.1rem;
}

.terms-section {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 2rem;
}

.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  min-width: 3rem;
  text-align: center;
  background: #f8f9fa;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-content {
 flex: 1;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-content > p {
  margin-bottom: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* New Nested List Styles */
.nested-list {
  list-style: none;
  padding-left: 0;
}

.nested-list > li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* Sub-bullets (·) - indented */
.sub-bullets {
  list-style: none;
  padding-left: 1.5rem;
}

.sub-bullets li {
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.sub-bullets li::before {
  content: "-";
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.1rem;
}

/* Main bullets (•) */
.main-bullets {
  list-style: none;
  padding-left: 0;
}

.main-bullets li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.main-bullets li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .terma-syarat-container {
    width: 90%;
    padding-bottom: 3rem;
  }

  .terms-section {
    flex-direction: column;
    gap: 1rem;
  }

  .section-number {
    margin: 0 auto 1rem auto;
  }

  .terms-title {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .terms-content .terms-intro,
  .section-content > p,
  .main-bullets li,
  .sub-bullets li,
  .nested-list > li {
    font-size: 1rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .terma-syarat-container {
    width: 95%;
    padding-bottom: 2rem;
  }

  .terms-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .section-number {
    font-size: 1.2rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .terms-content .terms-intro,
  .section-content > p,
  .main-bullets li,
  .sub-bullets li,
  .nested-list > li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .main-bullets li,
  .sub-bullets li {
    padding-left: 1rem;
  }

  .sub-bullets li::before {
    font-size: 1.2rem;
    top: 0;
  }
}
/* Terma & Syarat Section End */

/* Footer Section */
.footer {
  background-color: #d6d4d4; 
  text-align: center;
  margin-top: 1rem;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Updated to support 5 columns */
}

.footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer__col p {
  margin-block: 1rem;
  font-family: var(--header-font);
  color: var(--text-light);
  line-height: 1.5rem;
  font-size: 1.2rem;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__col .view-more-btn {
    display: block; 
    margin-top: 1rem;
    text-align: center;
    color: var(--text-dark);
    text-decoration: underline;
}

.footer__socials {
  display: flex;
  justify-content: center; /* Center the items horizontally */
  align-items: center; /* Center items vertically */
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.2rem;
  color: var(--text-light);
}

.footer__socials a:hover {
  color: var(--primary-color);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  font-family: var(--header-font);
  font-size: 1.2rem;
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(4, 1fr); /* Reduce to 3 columns */
    gap: 1rem;
  }
  
  .footer__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85%;
  }
  
  .footer__col {
    display: flex;
    flex-direction: column;
    align-items: center; 
  }

  .footer__col h4 {
    font-size: 1.2rem;
  }

  .footer__col p {
    font-size: 1rem;
  }

  .footer__socials {
    gap: 0.8rem;
  }

  .footer__socials a {
    font-size: 1.2rem;
  }
  
  .footer__links a {
    font-size: 1rem;
  }

  .footer__bar {
    font-size: 1rem;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .footer__container {
    grid-template-columns: 1fr; /* Single-column layout */
    text-align: center;
  }
  
  .footer__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
  }

  .footer__col {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__col h4 {
    font-size: 1.1rem;
  }

  .footer__col p {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .footer__socials {
    flex-direction: column; /* Stack social icons vertically */
    gap: 0.5rem;
  }

  .footer__socials a {
    font-size: 1.2rem;
  }

  .footer__bar {
    font-size: 1rem;
    padding: 0.8rem;
  }
}
/* Footer Section End */

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
    border: none;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 3rem;
    background-color: transparent;
    transform: none;
    border: none;
  }

  .feature__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .destination__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .package__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .subscribe__container {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .subscribe__container form {
    margin-inline-start: unset;
  }

  .subscribe__container p {
    max-width: 400px;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .destination__grid {
    gap: 2rem;
  }

  .package__grid {
    gap: 2rem;
  }
}
