* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Arial, sans-serif;
}

header {
  background-color: #83aff0;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 80px;
}

.navbar {
  display: flex;
}

.navbar a {
  position: relative;
  padding: 8px;
  color: white;
  text-decoration: none;
  font-size: 17px;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.navbar a:hover::after {
  background-color: #cf142b;
}


.active {
  background-color: #cf142b;
}

@media screen and (max-width: 850px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    float: none;
    display: block;
    text-align: center;
  }
}

@media screen and (min-width: 850px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

footer {
  background-color: #83aff0;
  color: #fff;
  padding: 20px;
  text-align: center;
  
}

.socials a {
  color: #fff;
  font-size: 24px;
  margin: 0 10px;
  text-decoration: none;
}

.socials a:hover {
  color: #cf142b;
}



/* auto scrolling carousel*/
.slide {
  display: none;
}

.slideshow {
  max-width: 60%;
  max-height: 500px; 
  position: relative;
  margin: auto;
  overflow: hidden;
}

.caption, .count {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  text-align: center;
  font-weight: bold;
}

.caption {
  bottom: 8px;
  width: 100%;
}

.count {
  top: 0;
  font-size: 12px;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #cf142b;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 300px) {
  .caption {
    font-size: 11px;
  }
}






.topsection {
  text-align: center;
  margin: 20px 100px 50px 100px;
  color: #333;
}

.topsection h1 {
  margin-bottom: 20px;
  font-family: "Protest Revolution", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #cf142b;
  font-size: 500%;
}

h2 {
  font-family: "Protest Revolution", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #cf142b;
  font-size: 250%;

}

.topsection p {
  line-height: 1.5;
}


@media only screen and (max-width: 768px) {
  .topsection h1 {
    font-size: 300%;
  }
}

@media only screen and (max-width: 480px) {
  .topsection h1 {
    font-size: 200%;
  }
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.subtitle-and-image {
  display: flex;
  align-items: center;
  margin-top: 40px;
}

.subtitle {
  flex: 1;
  padding-right: 20px;
}

.subtitle h2 {
  font-family: "Protest Revolution", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #cf142b;
  font-size: 200%;
  margin-bottom: 10px;
}

.subtitle p {
  text-align: justify;
  line-height: 1.5;
}

.floating-image img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .subtitle-and-image {
    flex-direction: column;
    text-align: center;
  }

  .subtitle, .floating-image {
    width: 100%;
  }
}






/* Contact Us page styling */
.contact-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 5px;
}

.contact-form h2 {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form .form {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #cf142b;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #333
}

input:focus {
  outline-color: red;
}

input:focus, .contact-form textarea:focus {
  outline-color: red;
}

body.contact-page {
  background-image: url('../images/img8.png');
  background-size: cover;
}

.confirmation-message {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
}







/* discover page styling */
.additional-info {
  display: none;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.grid-item {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: auto; 
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.title {
  margin-top: 15px;
  font-size: 1.5em;
  color: #333;
}

.description {
  margin-top: 10px;
  color: #666;
  overflow: hidden;
  max-height: 10000px; 
  transition: max-height 0.3s ease; 
}

.read-more {
  display: none;
  margin-top: 10px;
}

.read-more-btn {
  background-color: #cf142b;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #83aff0;
}



/*transport  page styling*/
.grid-container1 {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 20px;
  justify-items: center; 
  margin: 0 100px; 
}

.grid-item1 {
  width: 100%; 
  text-align: center;
  border: 1px solid #ccc; 
  padding: 20px;
}

.grid-item1 h2 {
  margin: 0;
  font-size: 24px;
}

.grid-item1 p {
  margin: 5px 0;
  font-size: 18px;
}

.links {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.links a {
  margin: 0 10px;
  
}


@media screen and (max-width: 768px) {
  .grid-container {
      margin: 0 20px; 
  }
}


.transporttop {
  text-align: center; 
}

.transporttop h1 {
  padding-top: 20px;
  margin-bottom: 20px;
  font-family: "Protest Revolution", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #cf142b;
  font-size: 5vw; 
  margin-left: auto;
  margin-right: auto;
}


.bus-map {
  max-width: 100%; 
  height: auto; 
  display: block;
  margin-top: 20px; 
  margin-left: auto; 
  margin-right: auto;
}





/* Transport page styling */
.acomtop{
  text-align: center; 
}

.acomtop h1 {
  padding-top: 20px;
  margin-bottom: 20px;
  font-family: "Protest Revolution", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #cf142b;
  font-size: 5vw; 
  margin-left: auto;
  margin-right: auto;
}

.grid-item p {
  color: #333;
  font-family: "Protest Revolution", sans-serif;
  margin: 5px 0;
  font-weight: 600;
}


.btn1 {
  display: inline-block;
  padding: 10px 20px;
  background-color: #83aff0;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn1:hover {
  background-color: #cf142b;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh; 
}

.video-container video {
  max-width: 100%; 
  max-height: 100%; 
  width: auto;
  height: auto;
}

@media (min-width: 769px) {
  .video-container video {
    max-width: 70%;
    max-height: 70%;
  }
}
