/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #333;
  font-family: "Manrope", sans-serif;
}

a {
  color: #0d6efd;
  text-decoration: none;
  transition: 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #0a58ca;
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  margin: 0 0 20px 0;
  padding: 0;
  color: #111;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  padding: 6px 0;
  /* height: 80px; Removed to allow mobile menu expansion */
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#header.header-scrolled {
  padding: 5px 0;
  /* Reduced padding on scroll */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 50px;
  /* Limit height */
}

#header .header-right img {
  padding: 0;
  margin: 0;
  max-height: 50px;
  /* Limit height */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Utilize Bootstrap defaults mostly, specific overrides here */
.navbar-logo {
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.navbar-nav .nav-link {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #444 !important;
  transition: 0.3s;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

.dropdown-item {
  font-size: 16px;
  font-family: "Manrope", sans-serif;
}

.dropdown-item:active {
  background-color: #0d6efd;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  padding: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100%;
  display: flex;
  z-index: 1;
  animation: slideAnimation 20s ease-in-out infinite;
}

.slide {
  width: 25%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@keyframes slideAnimation {

  0%,
  20% {
    transform: translateX(0%);
  }

  25%,
  40% {
    transform: translateX(-25%);
  }

  50%,
  65% {
    transform: translateX(-50%);
  }

  75%,
  90% {
    transform: translateX(-75%);
  }

  100% {
    transform: translateX(-75%);
  }
}

.hero-container {
  position: absolute;
  bottom: 0;
  left: 0;
  top: calc(var(--header-height, 90px) + 8px);
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 1rem 1rem;
  z-index: 3;
}

.hero-content {
  background: rgba(6, 12, 34, 0.6);
  padding: clamp(1.5rem, 4vw, 3.75rem) clamp(1rem, 3vw, 1.5rem);
  backdrop-filter: blur(3px);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 6vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

#hero h1 span {
  color: #fec544;
  /* Vibrant Yellow accent */
}

.btn-hero {
  color: #fec544;
  border: 2px solid #fec544;
  background: transparent;
  transition: 0.3s;
}

.btn-hero:hover {
  background: #fec544;
  color: #111;
}

#hero h4 {
  color: #eee;
  font-size: 24px;
}

#hero p {
  color: #ebebeb;
  font-weight: 700;
  font-size: clamp(1rem, 3.8vw, 1.25rem);
}

@media (max-width: 768px) {
  #hero .btn-hero {
    padding: 0.7rem 1.75rem !important;
    font-size: 0.85rem;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
  position: relative;
}

.section-header h2 {
  font-size: 42px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.1;
  position: relative;
  padding: 10px 0;
  display: inline-block;
}

.section-header.text-start h2 {
  border-left: 10px solid #0d6efd;
  padding-left: 25px;
}

.section-header.text-end h2 {
  border-right: 10px solid #0d6efd;
  padding-right: 25px;
}

.section-header.text-center h2 {
  border-bottom: 8px solid #0d6efd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Helper for alternating sections */
.section-alt {
  background-color: #f8f9fa;
}

/* Committee Cards */
.conf2025-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  padding: 30px 20px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: 0.3s;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  /* Subtle border */
}

.conf2025-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.conf2025-card img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ccc;
}

/* ToI Cards */
.toi-card {
  transition: all 0.3s ease-in-out;
}

.toi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.toi-card:hover .icon-box {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Additional Professional Tweaks */
.bg-light {
  background-color: #f2f4f7 !important;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-outline-warning {
  color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-warning:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Card hover effects generic */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Organizing Committee Animation */
.committee-card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.committee-card:hover img {
  transform: scale(1.20);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.committee-card:hover .fw-bold {
  color: #0d6efd;
  transition: color 0.3s ease;
}

/* Infinite Scroller */
.scroller {
  max-width: 100%;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg,
      transparent,
      white 20%,
      white 80%,
      transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

.footer-cmt-scroller .scroller__inner {
  padding-block: 0.5rem;
  gap: 4rem;
}

.footer-cmt-note {
  color: #cfe2ff;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-cmt-scroller[data-animated="true"] .footer-cmt-note {
  white-space: nowrap;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 1rem));
  }
}

/* Utility */
.ls-1 {
  letter-spacing: 1px;
}

/* Keynote Speaker Card Styles */
.transform-hover {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.transform-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15) !important;
  /* Blue tint shadow */
}

/* Ensure image scales smoothly if we want that effect too */
.transform-hover img {
  transition: transform 0.5s ease;
}

.transform-hover:hover img {
  transform: scale(1.03);
}

/* Submission Button Animation */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease-in-out;
  z-index: 1;
}

.btn-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #fec544;
  /* Yellow color */
  transition: width 0.4s ease-in-out;
  z-index: -1;
}

.btn-animated:hover {
  color: #000 !important;
  /* Text color turns black for contrast */
  border-color: #fec544;
}

.btn-animated:hover::before {
  width: 100%;
}
