/* General header styling */
header {
  background-color: #fcfdfd;
  /* Bootstrap light */
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.header-center {
  flex: 1;
  text-align: center;
}


/* Container alignment */
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo styling */
.header-logo .logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 600;
  padding: 10px 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff !important;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 5px;
}

/* Navbar collapse area */
.navbar-collapse {
  flex-grow: 1;
  justify-content: center;
}


/* Toggler icon customization */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar-collapse {
    justify-content: center;
  }

  form[role="search"] {
    margin-top: 10px;
    justify-content: center;
  }

  .header-logo .logo-img {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .navbar-nav .nav-link {
    padding: 8px 10px;
  }

  form[role="search"] input {
    width: 150px;
  }
}


/* Desktop hover dropdown */
@media (min-width: 576px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .nav-item.dropdown:hover>.nav-link {
    color: #0d6efd;
  }
}

/* Dropdown UI */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #0d6efd;
  color: #fff;
}


 .marquee-container {
      background: linear-gradient(90deg, #0d6efd, #007bff); /* Blue gradient */
      color: #fff;
      padding: 10px 0;
      overflow: hidden;
      position: relative;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 25px;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}


.register-btn {
  background: #ff5722;
  color: #fff;
  padding: 6px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.register-btn:hover {
  background: #e64a19;
  transform: scale(1.05);
}
/* Label */
.label {
  display: inline-block;
  background: #ffd500;
  /* Yellow */
  color: white;
  /* Blue text */
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 16px;
  margin-right: 20px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* Text */
.marquee-text {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

/* Keyframes */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Pause on hover */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}




footer {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  /* Deep Blue → Light Blue */
  color: #ffffff;
}

footer h5 {
  color: #ffffff;
  font-weight: 750;
}

footer p {
  color: #e3f2fd;
  font-size: 17px;
  line-height: 1.7;
}

.ec-divider {
  /* width: 47%; */
  height: 4px;
  background: #d2def0;
  border-radius: 4px;
}

/* Social icons */
footer .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

footer .btn-outline-light:hover {
  background-color: #ffffff;
  color: #0d47a1;
}

/* Links hover (if added later) */
footer a {
  color: #bbdefb;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}





.photo-content-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: #f5f5f5;
}

.photo-content-section img {
  width: 100%;
  border-radius: 10px;
}

.content-box {
  padding: 20px;
}

@media (max-width: 576px) {
  .photo-content-section {
    flex-direction: column;
  }
}

#backToTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed at bottom right */
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border: none;
  outline: none;
  background-color: #2b3542;
  /* Blue circle */
  color: white;
  font-size: 24px;
  /* Arrow size */
  cursor: pointer;
  border-radius: 50%;
  /* Perfect circle */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
  text-align: center;
  line-height: 50px;
  /* Vertically center the arrow */
}

#backToTopBtn:hover {
  background-color: #0b5ed7;
  /* Darker blue */
  transform: translateY(-3px);
  /* Slight lift on hover */
}


/* Gallery Section */
.gallery-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.gallery-title {
  text-align: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.gallery-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #007bff;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Image Card */
.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
}

@media (max-width: 576px) {
  .gallery-img {
    height: 180px;
  }
}



/* Slider Section */
.slider-section {
  position: relative;
  overflow: hidden;
}

.slider-img {
  height: 350px;
  object-fit: cover;
  filter: brightness(70%);
}

.carousel-img {
  height: 470px;
  object-position: center;
}

/* Text Content Overlay */
.carousel-caption {
  bottom: 120px;
  text-align: left;
  max-width: 600px;
  animation: fadeInUp 1.2s ease forwards;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: slideDown 1.2s ease;
}

.slide-text {
  font-size: 1.1rem;
  margin-top: 10px;
  animation: fadeIn 1.5s ease;
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.subcentre-img {
  width: 100%;
  height: 355px;
  object-fit: cover;
  /* image stretch nahi hogi */
  border-radius: 12px;
}

@media (max-width: 576px) {
  .subcentre-img {
    height: 250px;
  }
}


/* Conference Section Design */
.conference-section {
  background: #f5f8ff;
}

.section-title {
  font-weight: 700;
  color: #0d6efd;
}

.conf-img-box img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.conf-img-box img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.conf-heading {
  font-size: 26px;
  font-weight: 700;
  color: #0d6efd;
}

.conf-text {
  font-size: 16px;
  margin: 15px 0;
  color: #333;
}

.conf-points {
  list-style: none;
  padding-left: 0;
}

.conf-points li {
  margin-bottom: 8px;
  font-weight: 500;
  color: #0d6efd;
}

.conf-btn {
  margin-top: 15px;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.conf-btn:hover {
  background-color: #084ec1;
}