html {
  scroll-behavior: smooth;
  scroll-padding-top: 10px;
  /* Adjust based on your navbar height */

}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
}

.hero h1,
.hero h4,
.hero .hero-date-box,
.hero .download-brochure-box {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}



.hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('../images/main_gate.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  /* Ensure it fills full height */
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px; /* matches navbar height */
}

/* Adjust menu alignment for mobile */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-item {
    padding: 5px 0;
  }
}

.hero-theme {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  color: white;
  margin-bottom: 15px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.hero-date-box {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 0 auto 20px;
}

.about-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url('../images/image\ \(1\).jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
  font-family: 'Merriweather', serif;
  /* Classy serif font */
}

.download-brochure-box{
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 0 auto 20px;
}

.event-highlights-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-left: 70px;
  /* or 3rem, etc. */
}

.highlight-box {
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 20px 25px;
  border-radius: 05px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 200px;
  max-width: 250px;
}

.highlight-box i {
  font-size: 2rem;
  color: #007BFF;
  /* Steel blue icon */
  margin-bottom: 10px;
}

.highlight-box h5 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.highlight-box p {
  font-size: 0.95rem;
  margin: 0;
}

.about-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
}

.scroll-circle {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 215, 0, 0.9);
  /* Golden with slight transparency */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 2s infinite;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-circle:hover {
  background-color: rgba(255, 215, 0, 1);
  transform: scale(1.1);
}

.scroll-circle i {
  font-size: 1.5rem;
  color: #000;
  /* Black icon inside the circle */
}

.hero img.logo {
  max-width: 120px;
  margin-bottom: 20px;
  filter: brightness(1000);
  filter: contrast(1000);
}

.hero h1 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 3rem;
}

/* Navbar link styles */
.custom-navbar .nav-link {
  font-size: 1.1rem; /* Larger text */
  color: white !important; /* White text */
  padding: 0.5rem 1rem; /* More space */
  letter-spacing: 0.5px; /* Slightly spaced letters */
}

.custom-navbar .nav-link:hover {
  color: #f8d210 !important; /* Yellowish hover color */
}

/* Center logo positioning */
.navbar-center-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Mobile: hide center logo & prevent overflow */
@media (max-width: 992px) {
  .navbar-center-logo {
    display: none;
  }
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-item {
    padding: 5px 0;
  }
}

.top-center-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.top-center-logo img {
  height: 60px;
}
/*
body {
  padding-top: 80px;
  /* prevent content from being hidden under fixed nav */
/*}*/

.top-left-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-left-logo img {
  max-height: 50px;
}

.logo-text {
  color: white;
  font-size: 2.0rem;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
}

.top-right-menu {
  position: absolute;
  top: 20px;
  right: 40px;
  display: flex;
  gap: 40px;
  z-index: 2;
}

.top-right-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.top-right-menu a:hover {
  color: #ccc;
}

.timer {
  font-size: 1.5rem;
  margin-top: 10px;
}

.scroll-down-btn {
  display: inline-block;
  margin-top: 30px;
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
  transition: color 0.3s;
}

.scroll-down-btn:hover {
  color: #ccc;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }
}

.main-content {
  background-color: #fdfdfd;
  /*background-image: url("https://www.transparenttextures.com/patterns/xv.png");
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */

}

.info-section {
  padding: 80px 20px;
}

.custom-card-title {
  text-align: center;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  color: #333;
}


.about-bg .bg-light {
  background-color: rgba(255, 255, 255, 0.85) !important;
  color: #000;
}



.event-card {
  background: #f8f9fa;
  border: none;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-icon {
  font-size: 2.5rem;
  color: #007BFF;
  margin-bottom: 15px;
}

.speakers-section {
  padding: 60px 20px;
}

.speaker-card {
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}

footer {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.schedule-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-left: 5px solid #007BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.schedule-item .time {
  font-weight: bold;
  min-width: 150px;
  color: #007BFF;
}

.schedule-item .details h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.schedule-item.break {
  border-left-color: #28a745;
  background: #e6f4ea;
}

.schedule-item.highlight {
  border-left-color: #ffc107;
  background: #fff8e1;
}

.speakers-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
  position: relative;
}

.speakers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/speakers-bg.png');
  /* Optional decorative BG */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.speaker-card {
  position: relative;
  background-color: #ffffff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  height: 100%;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.speaker-card img.speaker-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #007BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.speaker-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0 5px;
  color: #333;
}

.speaker-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.page-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-content {
  max-width: 1200px;
  width: 100%;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

.border-image-left,
.border-image-right {
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  background-repeat: repeat-y;
  background-size: cover;
  background-position: center top;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.border-image-right {
  right: 0;
  background-image: url('../images/right.jpg');
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.border-image-left {
  left: 0;
  background-image: url('../images/left.jpg');
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.committee-carousel {
  gap: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.committee-card {
  scroll-snap-align: start;
  width: 320px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.committee-card:hover {
  transform: translateY(-5px);
}

.committee-header {
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.committee-body {
  padding: 20px;
}

.committee-body ul {
  padding-left: 0;
  list-style: none;
}

.committee-body li {
  font-size: 0.95rem;
  margin-bottom: 10px;
}