/* Your styles go here */
body {
  font-family: Arial, sans-serif;
}
/* Popup Styles */
.popup {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  justify-content: center; /* Center the popup */
  align-items: center; /* Center the popup */
  z-index: 1000; /* Sit on top */
}
.popup-content {
  background: linear-gradient(#04ae98, rgb(10 96 78)), url(your-image-url.jpg);
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  max-height: 500px;
  min-height: 410px;
  text-align: center;
}
/* Set poll options to stack vertically */
#pollOptions {
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  align-items: center; /* Center the buttons */
}
.poll-button {
  display: block; /* Change to block for full-width */
  margin: 5px 0; /* Add vertical margin */
  padding: 5px 15px;
  border: none;
  border-radius: 5px;
  background-color: rgb(14 64 98 / 40%);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%; /* Full width */
  height: 70px;
}
.poll-button:hover {
  background-color: #45a049; /* Darker green */
}
.poll-button.selected {
  background-color:#1fb899; /* Blue for selected */
}
/* New Vote Button Styles */
.vote-button {
  display: block; /* Change to block for full-width */
  margin: 5px 0; /* Add vertical margin */
  padding: 5px 15px;
  border: none;
  border-radius: 5px;
  background-color: #f44336; /* Red */
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%; /* Full width */
}
.vote-button:hover {
  background-color: #d32f2f; /* Darker red */
}
/* Result Text Styles */
#result {
  margin-top: 10px; /* Add space above result text */
  word-wrap: break-word; /* Allow long text to wrap within the box */
  overflow: hidden; /* Prevent overflow */
  
  color: rgb(255, 255, 255); /* Set text color to white */
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  color: #222;
  background-color: #f0f4f8;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}
.Wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #b9e6ec;
  display: grid;
  place-items: center;
  transition: opacity 0.25s, visiblity 1s;
}
.fade {
  opacity: 0;
  visibility: hidden;
}

.loader {
  border: 17px solid #b9e6ec; /* Light grey background */
  border-top: 17px solid #061824; /* Blue color for top */
  border-radius: 50%;
  width: 170px;
  height: 170px;
  animation: spin 1s linear infinite;
}

h1,
h2,
h3,
p {
  margin-bottom: 20px;
}

/* -------------about section styles------------------- */
.about {
  text-align: center;
  padding: 50px 20px;
  font-size: bolder;
}
.about-box {
  display: flex; /* Use Flexbox to position children in a row */
  align-items: center; /* Vertically center the items */
  margin-left: -25px;
}

.about .about-box .video-container {
  position: relative;
  flex: 1; /* Allow the video container to grow */
  max-width: 800px; /* Limit the width of the video */
  overflow: hidden;
}

.video-container video {
  max-width: 100%;

  width: calc(100% + 150px); /* Increase the width to crop from the right */
  height: auto; /* Maintain aspect ratio */
  position: relative;
  right: -50px; /* Move the video to the left to crop from the right */
}

.about .about-box .text {
  flex: 1; /* Allow the text container to grow */
  max-width: 640px; /* Optional: Limit the width of the text */
  display: flex;
  padding-left: 20px;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  gap: 15px;
}

.about .about-box .text h1 {
  font-size: 35px; /* Adjust font size as needed */
  letter-spacing: 1.3px;
  font-weight: 900; /* Increase this value to make it bolder */
  color: var(--ternary-color);
}

.about .about-box .text p {
  line-height: 25px;
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
  font-size: bolder;
}

.about .about-box .text ul li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about .about-box .text ul li .feature-icon {
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  border-radius: 5px;
}

.about .about-box .text ul li i {
  color: var(--body-color);
}

.about .about-box .text ul li span span {
  color: var(--main-color);
  font-weight: 600;
}

/* Styling the navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #1f2937;
  padding: 15px;
  color: white;
  height: 10vh;

  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  /* Navbar container */
  .navbar {
    background-color: #333;
    padding: 10px 20px;
  }

  /* Navbar list styling */
  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  /* Navbar links styling */
  .navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1em;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 5px;
  }
  /* Hover effect with underline and color change */
  .navbar ul li a:hover {
    color: #ffd700; /* Golden color on hover */
    background-color: #444;
    transform: scale(1.05);
  }

  /* Hover effect with underline and color change */
  .navbar ul li a:hover {
    color: #ffd700; /* Golden color on hover */
    background-color: #444;
    transform: scale(1.05);
  }

  /* Optional: Adding a subtle underline effect */
  .navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background-color: #ffd700; /* Underline color */
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .navbar ul li a:hover::after {
    transform: scaleX(1);
  }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  font-weight: 600;
  position: relative; /* Needed for the underline to position correctly */
}

/* Hover Effect */
.navbar a:hover {
  color: #ffd700; /* Change text color on hover */
  font-weight: bold; /* Optional: make hover link bold */
}

/* Active Link Styles */
.navbar a.active {
  color: #ffd700; 
  font-weight: bold; 
}

/* Underline effect for active link */
.navbar a.active::after,
.navbar a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px; 
  height: 2px; 
  background-color: #ffd700; 
  transform: scaleX(1); 
  transition: transform 0.3s ease; 
}

/* Optional: Remove underline on hover if you want to keep it only for active */
.navbar a:hover::after {
  transform: scaleX(1); /* Keep underline visible on hover */
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

#darkModeToggle {
  background-color: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
@media (max-width:480px)
{ 
  .ticket-list {
    flex-direction: column; /* Stack cards vertically on smaller screens */
    align-items: center;
  }
  .navbar ul {
    flex-direction: column;
  }
  #darkModeToggle{
  margin-top: 20px;
  }
}
/* Dark Mode CSS */
body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}
body.dark-mode .bus h2{
  color:white;
}
body.dark-mode .navbar {
  background-color: #333;
}

body.dark-mode .nav-links a {
  color: #f0f0f0;
}

body.dark-mode #darkModeToggle i {
  color: #f0f0f0;
}

/* Adjustments for preloader and other elements */
body.dark-mode #preloader {
  background-color: rgba(0, 0, 0, 0.988);
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.home {
  padding: 20px;
  background-color: #fff;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

h2 {
  color: #09372e;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.btn {
  background-color: #00bfa6;
  color: white;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.btn:hover {
  background-color: #00a690;
}

/* General styling for the container */
.bus {
  padding: 20px;
  text-align: center;
}

.bus h2 {
  margin-bottom: 30px;
  color: #333;
}

/* Ticket list container */
.ticket-list {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px; /* Adds space between the cards */
}

/* Individual ticket cards */
.ticket-card1 {
  background-color: #fff;
  max-width: 470px;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ticket-card2 {
  background-color: #fff;
  max-width: 470px;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ticket-card3 {
  background-color: #fff;
  max-width: 470px;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ticket-card4 {
  background-color: #fff;
  max-width: 470px;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.containers {
  padding: 20px;
  background: aliceblue;
  text-align: center;
}

.map-container {
  background-color: transparent;
  margin: 30px;
  height: 400px;
  min-width: 96%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 10px 20px hsla(0, 0%, 0%, 0.5);
  /* margin-right: 20px; */
}

iframe {
  border: none;
  width: 100%;
  height: 100%;
  /* border-radius: 20px; */
}
.map-container iframe:hover{
  transform: scale(1.02,1.02);
  transition-duration: 90ms;
  /* transform-style: ; */
}

.contact-links {
  margin: 20px 0;
}

.contact-links a {
  display: inline-block;
  margin: 10px;
  padding: 15px 30px;
  text-decoration: none;
  color: white;
  background-color: #25d366;
  border-radius: 5px;
}

.contact-links a.email-link {
  background-color: #007bff;
}

.portfolio .portfolio-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.about,
.contact {
  padding: 40px 20px;
  background-color: #f9f9f9;
  margin: 20px auto;
  border-radius: 12px;
  max-width: 1200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about h2,
.contact h2 {
  text-align: center;
  color: black;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p,
.contact p {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}
footer{
  margin-top: 50px;
}
/* footer {
  background-color: #1f2937;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  position: relative;
  width: 100%;
  bottom: 0;
  font-size: 1rem;
}

.footer a {
  color: #00bfa6;
  text-decoration: none;
}

.footer a:hover {
  color: #00a690;
} */

body.dark-mode {
  background: linear-gradient(135deg, #007acc, #00cc99);
  color: #fff;
}

body.dark-mode .navbar {
  background-color: #000;
}
body.dark-mode .ticket-card p {
  color: rgb(197, 208, 218);
}
body.dark-mode .ticket-card h3 {
  color: whitesmoke;
}

body.dark-mode .ticket-card {
  background: linear-gradient(135deg, hsl(204, 75%, 50%), #079874);
  color: #fff;
}

body.dark-mode .ticket-card button {
  background-color: #00bfa6;
}

body.dark-mode .ticket-card button:hover {
  background-color: #00a690;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .ticket-card {
    flex: 1 1 calc(45% - 20px);
  }

  .navbar .nav-links {
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .ticket-card {
    flex: 1 1 100%;
  }

  .hero-slider {
    height: 50vh;
  }

  .caption {
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .navbar .logo {
    font-size: 15px;
    margin-top: -15px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .caption {
    font-size: 1.2rem;
  }
}

.my {
  margin-top: 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
}

.hero-slider {
  position: relative;
  width: 80%;
  height: 100vh;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slide {
  position: relative;
  margin-top: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide img {
  width: 100%;
  height: 100%;
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
}

h2 {
  font-size: 20px;
  margin-bottom: 0.5em;
}

p {
  font-size: 1.2em;
}

.nav-buttons {
  position: absolute;
  top: 90%;
  width: 50%;
  display: flex;
  margin-left: 25%;
  justify-content: space-between;
  transform: translateY(-50%);
}
/* Position of .nav-buttons within the 550px screen width */
@media (max-width: 550px) {
  .nav-buttons {
    top: 30%;
  }
}

.bbtn {
  display: inline-block;
  background: linear-gradient(135deg, #079874, #076887);
  color: white !important;
  margin: 0 10px;
  font-size: 18px;
  font-weight: bold !important;
  padding: 15px 40px !important;
  cursor: pointer !important;
  border: none !important;
  border-radius: 50px !important;
  transition: padding 0.4s ease, margin 0.4s ease, background-color 0.4s ease,
    color 0.4s ease, box-shadow 0.4s ease !important;
  box-shadow: 0 8px 25px rgba(7, 152, 116, 0.5);
  text-align: center;
  width: auto;
  height: auto;
}

.bbtn:hover {
  padding-left: 60px !important;
  padding-right: 60px !important;
  margin: 0 !important;
  background: linear-gradient(135deg, #076887, #07a887) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(7, 152, 116, 0.6) !important;
}

.bbtn:active {
  transform: translateY(2px) !important;
  box-shadow: 0 6px 20px rgba(7, 152, 116, 0.5) !important;
}

.bbtn:focus {
  outline: none !important;
  box-shadow: 0 0 10px rgba(7, 152, 116, 0.7), 0 0 20px rgba(7, 152, 116, 0.5) !important;
}

button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

button:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* move to top button */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #26c9bb;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  line-height: 20px;
  /* border-top: 10px; */
  /* padding-top: 20px; */
}

#topBtn:hover {
  background-color: #000;
}

/* FAQ Section */

/* Responsive Design */
@media (max-width: 600px) {
  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .faq-heading {
    font-size: 20px;
  }
}