/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 80px;
  /* Add padding to account for the fixed navbar height */
  background-color: #fff;
  color: black;
}

/* Navbar Styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #FFDE4D;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #16325B;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
  padding: 0.5rem;
  z-index: 2;
}

.logo img {
  height: auto;
  max-width: 180px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  color: #FFDE4D;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 1rem;
}

.nav-links a:hover {
  background-color: rgba(255, 222, 77, 0.1);
  border-radius: 4px;
}

/* Dropdown Styles */
/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  color: #FFDE4D;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  background-color: #16325B;

}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #16325B;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 4px;
  margin-top: 4px;
  padding: 4px 0;
}

.dropdown-content a {
  color: #FFDE4D;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: rgba(255, 222, 77, 0.1);
}

/* Show the dropdown menu when hovering over the dropdown container */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Also show when the active class is applied (for click support) */
.dropdown.active .dropdown-content {
  display: block;
}
/* Keeping your existing mobile menu button styles */
.mobile-menu-btn {
  display: none;
}

/* Not adding any media queries to avoid overriding your mobile implementation */

html {
  scroll-behavior: smooth;
}

/* Updated responsive styles */
.marquee {
  margin-top: 1.5%;
  height: 90vh;
  overflow: hidden;
  position: relative;
}

.marquee-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Changed to cover to ensure full image coverage */
}

.marquee-item p {
  position: absolute;
  bottom: 20px;
  left: 50px;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  color: #FFDE4D;
  max-width: 90%;
}

/* About Section Styles */
.about {
  display: flex;
  background-color: #16325B;
  color: #FFDE4D;
  padding: 40px;
  border-radius: 10px;
  margin: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  max-height: 100%;
  height: 400px;
  width: 450px;
}

.about-image h2 {
  margin-left: 15%;
}

.about-content {
  flex: 1;
}

/* Dayalpur Specials and Sports Club Styles */
.sports-club,
.Medical {
  padding: 40px;

}

.dayalpur-specials,
.News {
  padding: 40px;
  background-color: #F4EDD3;
}

.dayalpur-specials h1,
.Medical h1,
.Latest-news h1,
.sports-club h1,
.interviews h1,
.Latest-news h1 {
  color: #16325B;
  text-align: center;
  margin-bottom: 4%;
}

.dayalpur-cards,
.sports-cards {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.dayalpur-card,
.sports-card {
  flex-basis: 30%;
  background-color: #16325B;
  color: #FFDE4D;
  border-radius: 10px;
  overflow: hidden;
}

.dayalpur-image,
.sports-image {
  height: 200px;
  overflow: hidden;
}

.dayalpur-image img,
.sports-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dayalpur-text,
.sports-text,
.Latest-news {
  padding: 20px;
}

.read-more {
  color: #FCF5ED;
  text-decoration: none;
  font-weight: bold;
}

.link {
  color: #FCF5ED;
  text-decoration: none;
  font-weight: bold;
}


/* Footer Styles */
footer {
  background-color: #16325B;
  color: #fff;
  padding: 40px;
  display: flex;
  justify-content: space-between;
}

.footer-section {
  flex-basis: 30%;
}

.footer-section h3 {
  margin-bottom: 20px;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  /* Navbar responsive adjustments */


  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    /* Adjust based on your navbar height */
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #16325B;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .logo img {
    max-height: 80px;
    max-width: 85px;
  }

  .nav-links a {
    width: 100%;
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 222, 77, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 222, 77, 0.1);
    background-color: #16325B;
    color: #FFDE4D;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    background-color: #16325B;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-content {
    display: block;
    width: 100%;
  }

  .dropdown-content a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 222, 77, 0.1);
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }


  .marquee {
    height: 60vh;
  }

  .marquee-item {
    height: 100%;
  }

  .marquee-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

  .marquee-item p {
    font-size: 26px;
    /* Moderately increased from original 24px */
    padding: 12px 15px;
    bottom: 20px;
    left: 15px;
    right: 15px;
    text-align: left;
    line-height: 1.2;
    max-width: 85%;
  }



  /* About section responsive */
  .about {
    flex-direction: column;
    padding: 5px;
    margin: 10% 20%;
  }

  .about-image {
    margin: 10;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 10px;
    max-height: 100%;
    height: 200px;
    width: 320px;
    margin: 6%
  }

  .about-image
  h1 {
    margin-left: 1%;  }
  .about-image
  h2 {
    margin-left: 25%;
  }

  /* Cards responsive */
  .dayalpur-cards,
  .sports-cards {
    flex-direction: column;
    gap: 20px;
  }

  .dayalpur-card,
  .sports-card {
    flex-basis: 100%;
  }

  /* Marquee responsive */
  .marquee {
    height: 60vh;
  }

  .marquee-item p {
    font-size: 5px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  /* Footer responsive */
  footer {
    flex-direction: column;
    gap: 30px;
  }

  .footer-section {
    flex-basis: 100%;
  }
}

/* Additional responsive breakpoint for smaller phones */
@media (max-width: 480px) {
  .marquee {
    height: 50vh;
    /* Adjusted for better visibility on smaller screens */
  }

  .marquee-item img {
    object-position: center;
    /* Ensures image is centered */
  }

  .marquee-item p {
    font-size: 15px;
    /* Slightly larger than original but not overwhelming */
    padding: 10px 12px;
    bottom: 15px;
    left: 10px;
    max-width: 90%;
  }


  .about {
    margin: 6px;
    padding: 10px;
  }

  .dayalpur-specials,
  .sports-club,
  .Medical {
    padding: 20px;
  }
}