*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: -10px;
  z-index: 1000;
}
.header:hover {
   background-color: darkblue;
}

.logo-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px; /* Adjust size as needed */
  height: 60px;
  border-radius: 50%; /* Makes it circular */
  background: linear-gradient(135deg, red, orange); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border: 2px solid gold; /* Optional gold border */
}

.logo {
  display: flex;
  align-items: center;
  flex-direction: column; /* Stack text vertically */
  text-align: center;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 1.5rem; /* Slightly smaller for circle */
  font-weight: bold;
  color: 2px  darkblue;
  margin: 0; /* Remove margin for tight spacing */
}

#logo-heading {
  font-size: 2.0rem;
  text-align: left;
  letter-spacing: 1px;
  color: solid white; /* White for contrast */
  margin-left: 30px;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar li {
  position: relative; 
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.3rem 0.5rem;
}
.color-orange{
  color: #ff6600 !important;
}
.navbar a:hover {
  color: #ff6600;
}

/* Dropdown styles */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  border-radius: 5px;
  background-color: darkblue;
  z-index: 1;
  min-width: 140px;
  flex-direction: column;
  box-shadow: 0 7px 8px rgba(0,0,0,0.15);
}

.navbar li:hover > .dropdown {
  display: flex;
  flex-direction: column;
}

.dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.dropdown li {
  padding: 0;
}

.dropdown a {
  color: solid white;
  display: block;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.dropdown #dropdown-items {
  margin: 5px;
}
.dropdown a:hover {
  color: white;
  background-color: #ff6600;
  background-position: center;
  background-size: cover;
  width: 100%;
}

.landing{
    margin: 0;
    height: 100vh;
    overflow: hidden;
    object-fit: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.top {
  background-image: url('home-image.jpg');
    background-position: auto;
    background-repeat: no-repeat;
    height: 800px;
    border-radius: 0;
    background-size: cover;
}
.marquee{
  padding: 7px;
  background-color: #ff6600;
  color: white;
  height: 30px;
}
.latest-updates {
  width: 85%;
  max-width: 85%;
  overflow: auto;
  white-space: nowrap;
  align-items: center;
  margin: 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 0;
  box-shadow: none;
  box-sizing: border-box;
}


.latest-updates h2 {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #fff;  
  background-color: darkblue;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 22px;
}

.latest-updates ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.latest-updates li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;

}
.latest-updates li:hover{
  background-color:   #ff6600;
  color: white;
}

.latest-updates li span {
  padding: 12px;
  flex: 1;
  font-size: 16px;
  white-space: normal;
  word-wrap: break-word;
  margin-right: 10px;
}

.latest-updates li a {
  color: rgb(0, 0, 128);
  font-weight: bold;
  text-decoration: none;
}

.more-updates {
  display: block;
  text-align: right;
  margin-top: 15px;
  color: #ff6600;
  font-weight: bold;
  text-decoration: none;
}
.updates-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .latest-updates li {
    flex-direction: column;
    align-items: flex-start;
  }

  .latest-updates li a {
    margin-top: 5px;
  }

  .latest-updates h2 {
    font-size: 18px;
  }

  .latest-updates li span {
    font-size: 14px;
  }
}



.slider-section {
  margin: 50px auto;
  height: 300px;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.section-title {
  text-align: center;
  background-color: #ff6600;
  color: white;
  padding: 10px 0;
  font-size: 24px;
}




  .info-section {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.info-card {
  margin: 0;
  width: 45%;
  min-width: 350px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card-title {
  background-color:#ff6600;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 20px;
}
.events-slider{
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px; 
  padding-bottom: 5px;
  height: 250px;
}
.drives-slider{
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.slider {
  display: flex;
  width: calc(350px * 3);
  min-height: fit-content;
  animation: slide 60s linear infinite;
  border-image-repeat: repeat;
 
  
}

.slider img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 5px;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 600px) {
  .info-section {
    flex-direction: column;
    align-items: center;
  }

  .info-card {
    width: 100%;
    height: 30px;
  }
}

.logo-text1 {
  font-size: 2rem;
  font-weight: bold;
  color:  #ff6600;
}

.logo1 h1 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 1px;
}

.footer {
  width: 100%;
  background-color: darkblue;
  line-height: 1.7;
  color: white;
  padding: 2rem;
  position: relative;
  top: 150px;
}

.footer-container {
  display: grid;
  grid-template-areas:
    "logo contact"
    "social contact";
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.logo1 {
  grid-area: logo;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
}

.footer-contact {
  grid-area: contact;
  text-align: right;
  color:white;
}

.footer-social {
  grid-area: social;
  display: flex;
  gap: 15px;
  font-size: 20px;
}

.footer-social a {
  color: white;
  transition: color 0.3s;
}

.footer-social a:hover {
  color:  #ff6600;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-areas:
      "logo"
      "contact"
      "social";
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

.rights {
  color: #fff;
  text-align: center;
  padding-top: 10px;
  font-weight: bold;
}


@media (max-width: 768px) {
  .header {
    flex-direction: row;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .navbar ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
