/* Add perspective to the container */
.perspective {
    perspective: 1000px;
  }
  
  /* Define the card styles */
  .tour-card {
    position: relative;
    width: 100%; /* Ensure the card takes full width */
    height: 100%; /* Adjust height if needed */
  }
  
  /* Enable 3D space and set the transition for smooth flipping */
  .tour-card .relative {
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
  }
  
  /* Flip the card on hover */
  .tour-card:hover .relative {
    transform: rotateY(180deg);
  }
  
  /* Ensure the backface is hidden for both front and back faces */
  .backface-hidden {
    backface-visibility: hidden;
  }
  
  /* Style for the front face */
  .tour-card .relative .absolute:first-child {
    transform: rotateY(0deg);
  }
  
  /* Style for the back face */
  .tour-card .relative .absolute:last-child {
    transform: rotateY(180deg);
  }
/* Body and typography */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #212121, #0e0522);
}

/* Form container */
form {
    transition: all 0.3s ease;
}

/* Form labels and inputs */
input, textarea, button {
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
}

/* Focused input styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.6);
}

/* Error message */
#email-error, #name-error, #message-error {
    display: none;
    font-size: 0.875rem;
    /* color: red; */
}

/* Input border when validation fails */
input:invalid, textarea:invalid {
    border-color: red;
}

/* Modal styles */
#success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Main container settings for About section */
#about {
  background-color: #1a1a1a;  /* Dark background */
  color: white;
  text-align: left;  /* Align the text to the left */
  padding: 60px 20px;
}

/* Heading styling */
#about h2 {
  font-size: 36px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;  /* Center the main heading */
}

/* Paragraph Text */
#about p {
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Styling Read More link */
#readMoreLink {
  color: #60a5fa;  /* Light Blue color */
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  margin-top: 20px;
}

#readMoreLink:hover {
  color: #3b82f6;
  text-decoration: underline;
}

/* Hidden Content Styling */
#moreInfo {
  margin-top: 30px;
  color: #d1d5db; /* Light Gray Text */
}

#moreInfo h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 25px;
  text-align: center;  /* Center all subheadings */
}

#moreInfo ul {
  list-style-type: disc;
  margin-left: 20px;
}

#moreInfo ul li {
  margin-bottom: 10px;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
  #about {
    padding: 30px 15px;
  }

  #about h2 {
    font-size: 28px;
  }

  #about p {
    font-size: 16px;
  }
}


#success-modal div {
    background-color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
}

/* Button hover effect */
button:hover {
    transform: scale(1.05);
    background-color: #45a049;
}
.faq-question:hover {
  background-color: transparent !important;
  color: inherit !important;
}


/* Floating labels */
input:focus + label,
input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.875rem;
    color: #4CAF50;
}

/* Success button styles */
#close-modal {
    margin-top: 20px;
    background-color: #45a049;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
