
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(0, 0, 128);
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 2.6rem; 
  height: 2.6rem;
  margin-right: 0.5rem;
  object-fit: contain;
}

.logo h1 {
  font-size: 1.9rem;
  letter-spacing: 1px;
}

.background1{
  width: 100%;
  min-height: 500px;
  height: auto;
  object-fit: cover;
  display: block;
  position: auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar li {
  position: sticky;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.3rem 0.5rem;
}

.navbar a:hover {
  color: orange;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: navy;
  padding: 0.5rem 0;
  border-radius: 5px;
  z-index: 1;
  min-width: 120px;
  flex-direction: column;
  box-shadow: 0 4px 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: white;
  display: block;
  padding: 0.1rem 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}


.dropdown a:hover {
  color: white;
  background-color: rgb(255, 166, 0);
}


.arrow{
  font-size: 14px;
}


.marquee{
  background: linear-gradient(
    45deg,
    #fff8dc,
    #ffd700,
    #ffac1c,
    #ffd700,
    #fff8dc
  );
  color:rgb(0,0,128);
  height: 24px;
}

.landing{
    width:100%;
    position: relative;
}
.landing img {
  width: 100%;
  height: 627px;
  display: block;
  background-size: contain;
}
.latest-updates {
  width: 90%;                  
  margin:30px auto;            
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.latest-updates h2 {
  text-align: center;
  color: #fff;
  background-color: navy;
  padding: 12px 0;
  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: 12px 10px;
  gap: 10px;
}

.latest-updates li:hover {
  background-color:orange;
  color: white;
}

.latest-updates li a:hover{
  color: red;
}

.latest-updates li span {
  flex: 1;
  font-size: 16px;
  white-space: normal;
  word-wrap: break-word;
}

.latest-updates li a {
  color: orangered;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px; 
  min-width: 60px;     
}

.more-updates {
  display: block;
  text-align: right;
  margin-top: 15px;
  color: #ff6600;
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 600px) {
  .latest-updates {
    padding: 20px 15px;
  }

  .latest-updates li {
    flex-direction: column;
    align-items: flex-start;
  }

  .latest-updates li span {
    font-size: 14px;
  }

  .latest-updates li a {
    margin-top: 8px;
    margin-left: 0;
    align-self:flex-end ;
  }

  .latest-updates h2 {
    font-size: 18px;
  }
}

.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: space-between; 
  width: 90%;
  margin: 40px auto;
  box-sizing: border-box;
  gap: 0;   
}

.info-card {
  width: 48%;            
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.card-title {
  background-color: navy;
  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%;
  }
}

.footer {
  width: 100%;
  background-color: rgb(0, 0, 128);
  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 h1 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 1px;
}
.logo1 {
  grid-area: logo;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
}

.logo-img1 {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.logo1 h1 {
  font-size: 1.9rem;
  letter-spacing: 1px;
  color: white;
}

.footer-contact {
  grid-area: contact;
  text-align: right;
  color:white;
  line-height: 1.3;
}

.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:  orange;
}

@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: column; 
    align-items: center;   
    gap: 10px;
  }

  .logo {
    margin-bottom: 0;
  }

  .navbar {
    width: 100%;
  }

  .navbar ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center; 
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap; 
    padding: 0;
    margin: 0;
  }

  .navbar li {
    margin-bottom:0;
  }
}

