/* General Navbar Styles */

.navbar-content{
  margin-top: 30px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 2rem;
  padding-top: 10px ;
  padding-bottom: 10px;
}

.navbar-social ion-icon{
  font-size: 3rem;

}
.navbar {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: -280px;
  /* Hidden by default */
  width: 100%;
  max-width: 280px;
  min-height: 100%;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: transform 0.25s ease-in-out, visibility 0.25s ease-in-out;
  visibility: hidden;
}

.navbar.active {
  transform: translateX(280px);
  /* Slide-in effect */
  visibility: visible;
}

.navbar-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.navbar-item ion-icon {
  margin-right: 0.75rem;
  font-size: 2.5rem;
}

.navbar-link {
  color: var(--space-cadet-1);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.navbar-social {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
}

.navbar-item a {
  color: inherit;
}

.navbar-social a {
  color: inherit;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s ease-in-out;
}

.navbar-social a:hover {
  color: #00A797;
  /* Add hover effect */
}

/* Responsive: Navbar Visibility on Mobile */
@media (max-width: 768px) {
  .navbar {
    display: block;
  }
}

/* Call Button Styles */
.call {
  display: flex;
  align-items: center;
  margin-left: 400px;
  color: rgb(148, 102, 255);
  padding: 10px 20px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bolder;
  font-size: 3rem;
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.call ion-icon {
  margin-left: 10px;
  font-size: 3rem;
}

.call:hover {
  color: #00A797;
}

.call span:first-child {
  margin-right: 10px;
  white-space: nowrap;
  /* Prevent line break */
}

/* Hide Call Button on Mobile View */
@media (max-width: 768px) {
  .call {
    display: none;
  }
}


.video-section {
  padding: 30px 0;
  background-color: #dedede;
  text-align: center;
  border-radius: 30px;
}

.video-section {
  max-width: 90%;
  margin: 0 auto;
}


.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}



.faq-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}


.faq {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-size: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.faq-question ion-icon {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

.faq-answer p {
  margin: 15px 0;
}

.faq-question[aria-expanded="true"] ion-icon {
  transform: rotate(180deg);
}

.faq-question[aria-expanded="true"]+.faq-answer {
  max-height: 200px;
  /* Adjust as needed */
}

/* Modal Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
  justify-content: center;
  align-items: center; 
  text-align: start;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


form label {
  margin-top: 10px;
}

form input,
form select,
form button {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

form button:hover {
  background-color: #218838;
}



/* Section styling */
.countries-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

/* Container for horizontal scrolling */
.countries-container {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* Enable horizontal scrolling */
  padding: 10px;
  scrollbar-width: thin; /* Firefox scrollbar */
  scrollbar-color: #ccc transparent;
  justify-content: space-evenly;
}

.countries-container::-webkit-scrollbar {
  height: 8px; /* Adjust scrollbar height */
}

.countries-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.countries-container::-webkit-scrollbar-track {
  background: transparent;
}

/* Individual country boxes */
.country-box {
  flex: 0 0 auto; /* Prevent shrinking and allow scrolling */
  width: 400px;
  height: fit-content;
  border: 2px solid #ddd;
  border-radius: 10%;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.country-box img {
  padding: 20px;
  border-radius: 15%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-box .country-name {
  padding: 10px;
  font-size: 3rem;
  font-weight: bold;
  color: darkcyan;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.country-box p {
  margin-bottom: 10%;
  padding: 10px;
  font-size: 2rem;
  color: #666;
  font-style: italic;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.country-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .country-box {
    width: 300px;
  }

  .country-box .country-name {
    font-size: 1.5rem;
  }

  .country-box p {
    font-size: 1.5rem;
  }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
  .country-box {
    width: 250px;
    animation: slideIn 1s ease-out;
  }

  .country-box img {
    padding: 10px;
  }

  .country-box .country-name {
    font-size: 1.2rem;
  }

  .country-box p {
    font-size: 1.2rem;
  }

  /* Animation for mobile */
  @keyframes slideIn {
    0% {
      transform: translateX(-50%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
}


.book2 {
  background-color: hsl(239, 87%, 69%); /* Light gray background */
  padding: 30px 0;
  text-align: center;
  border-radius: 20px;
  margin: 5px;
}

.book2 .action {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  justify-content: space-evenly;
 
}



.book3 {
  background-color: hsl(239, 87%, 69%); /* Light gray background */
  padding: 30px 0;
  text-align: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.book3 .action {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  justify-content: space-evenly;
}


.book1 {
  display: none;
}

.book1 .action {
  display: none;
}



@media (max-width: 767px) { /* Apply styles for screens smaller than 768px */
  .book1 {
    display: block; /* Show on mobile screens */
    background-color: hsl(240, 28%, 91%); /* Light gray background */
    padding: 30px 0;
    text-align: center;
    border-radius: 20px;
    margin: 5px;
  }

  .book1 .action {
    max-width: 800px;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
  }
  .modal-content {
    width: 100%;

  }
}
