/* page-specific styles: HOME PAGE */

.home-navbar {
  min-height: 100px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(0, 31, 51, 0.95);
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
  }
}

.header-logo {
  width: 66px;
  height: 40px;
  flex-shrink: 0;
  aspect-ratio: 33/20;
}

@media (min-width: 1024px) {
  .header-logo {
    width: 124px;
    height: 75px;
  }
}

/* Custom Dropdown Styles */
.nav-item.dropdown .dropdown-toggle.show {
  background-color: #fff;
  color: #001F33 !important;
  /* Dark blue text */
  border-radius: 4px 4px 0 0;
}

.dropdown-menu {
  background-color: rgba(22, 36, 61, 0.95);
  /* Dark semi-transparent */
  border: none;
  border-radius: 0 4px 4px 4px;
  /* Align with toggle */
  padding: 0;
  margin-top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 220px;
}

.dropdown-item {
  color: #fff;
  padding: 12px 20px;
  font-family: 'Avenir', sans-serif;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Arrow adjustment if needed */
.dropdown-toggle::after {
  display: none;
  /* Hide default arrow if not in screenshot, or style it */
}

.home-hero {
  min-height: 115vh;
  position: relative;
  /* Ensure positioning context */
}

@media (max-width: 1023px) {
  .home-hero {
    min-height: 300px;
  }
}

/* Gradient Blend to Page Background */
.home-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  /* Adjust height of blend area */
  background: linear-gradient(to bottom, rgba(0, 31, 51, 0) 0%, #001F33 100%);
  z-index: 1;
  /* Above video, below text content if z-index managed correctly */
  pointer-events: none;
}

.overlay {
  z-index: 1;
}

.home-hero .container {
  z-index: 2;
  width: 100%;
}

.object-fit-cover {
  object-fit: cover;
}

/* Show dropdown on hover (Desktop) */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* Align perfectly with bottom of nav item */
  }
}

/* Button hover tweak */
.btn-outline-light:hover {
  color: #fff;
  /* background-color: rgba(255, 255, 255, 0.15); */
}

.hero-text {
  left: 100px;
  bottom: 200px;
}

@media (max-width: 1023px) {
  .hero-text {
    left: 2px;
    bottom: 2px;
    /* right: 24px; */
  }
}


/* Event month styling */
.event-month {
  font-family: 'Avenir', Arial, sans-serif;
  font-weight: 700;
  /* Heavy */
  font-size: 40px;
  color: #d3ad6d;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-style: normal;
}

.hero-text-content {
  width: 730px;
}

.hero-content-box {
  border-radius: 12px;
  background: var(--wthite-10, rgba(255, 255, 255, 0.10));
  display: flex;
  padding: 24px;
  align-items: center;
  gap: var(--Gutter, 28px);
  align-self: stretch;
}

/* Logo Slider Styles */
.partners-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  gap: 20px;
  width: 100%;
  color: #d3ad6d;
  /* Gold color matching event-month */
  font-family: 'Avenir', sans-serif;
  font-weight: 400;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partners-heading::before,
.partners-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background-color: #0056b3;
  /* Dark blue/accent color for lines */
  opacity: 0.5;
}

.logo-slider {
  overflow: hidden;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.slider-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 0;
  /* Removed gap for border implementation */
  padding-right: 0;
  /* Removed padding */
  width: max-content;
}

.slider-track img {
  height: 40px;
  /* Logo height */
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
  box-sizing: content-box;
  /* Allows padding to add to height/width */
  padding: 20px 40px;
  /* Vertical padding extends border, horizontal creates space */
  border-left: 1.5px solid rgba(255, 255, 255, 0.30);
  /* Separator line */
}

.slider-track img:hover {
  opacity: 1;
}

/* Animation Keyframes */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Move half the width (one set of logos) */
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
    /* Start from shifted position */
  }

  100% {
    transform: translateX(0);
  }
}

/* Specific Row Animations */
.scroll-left .slider-track {
  animation: scroll-left 40s linear infinite;
}

.scroll-right .slider-track {
  animation: scroll-right 40s linear infinite;
}

/* Pause on hover */
.slider-row:hover .slider-track {
  animation-play-state: paused;
}

/* Agenda Accordion Styles */
.agenda-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 30px 0;
  cursor: pointer;
  gap: 20px;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.05);
  /* Subtle hover effect */
}

/* Time Badge */
.time-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  /* Dark blue/grey bg */
  color: #fff;
  font-family: 'Avenir', sans-serif;
  font-size: 14px;
  white-space: nowrap;
  min-width: 120px;
  /* Ensure alignment */
  justify-content: center;
}

.time-badge i {
  color: #D3AD6D;
}

/* Panel Title */
.panel-title {
  flex: 1;
  color: #FFF;
  font-family: 'Avenir', sans-serif;
  font-size: 20px;
  font-weight: 500;
}

/* Toggle Icon */
.toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0045E3;
  /* Blue circle */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s;
}

/* Accordion Body */
.accordion-body {
  display: none;
  /* Hidden by default */
  padding: 0 0 30px 140px;
  /* Indent to align with title */
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

/* .accordion-item.active .accordion-body {
  display: block; 
} Removed to allow jQuery slideDown to animate */

.text-gold {
  color: #D3AD6D;
}

/* Featured Speakers Section */
.speakers-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 20px;
  /* Space for scrollbar if visible, or visual spacing */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.speakers-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.speaker-card {
  min-width: 314px;
  width: 314px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Inactive State */
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.5s ease;
  /* Smooth transition for width/opacity */
}

.speaker-card.active {
  min-width: 428px;
  width: 428px;
  opacity: 1;
  filter: grayscale(0%);
}

.speaker-image {
  width: 100%;
  height: 360px;
  /* Default height */
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  transition: height 0.5s ease;
  /* Smooth height transition */
}

.speaker-card.active .speaker-image {
  height: 480px;
  /* Active height */
}

.speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay gradient effect on image? 
   The design shows a color overlay or duotone effect. 
   I'll add a subtle overlay to match the 'gold/blue' tint if needed, 
   but for now clean images. */

.speaker-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.speaker-name {
  color: #D3AD6D;
  /* Gold */
  font-family: 'Avenir', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.speaker-title {
  color: #FFF;
  font-family: 'Avenir', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.8;
  margin: 0;
}

/* Venue Section */
.venue-section {
  position: relative;
  min-height: 1000px;
  /* Restored to original height or keep user's 1000px preference if needed, but 800px is usually sufficient */
  display: flex;
  align-items: center;
  margin-top: 100px;
  overflow: hidden;
  /* Removed max-width, margin:auto, border-radius for full width */
}

.venue-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../images/bg-venue.png') center right / cover no-repeat;
  z-index: 0;
}

.venue-map-placeholder {
  width: 350px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  display: flex;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 40px;
}

.faq-question {
  width: 40%;
  color: #D3AD6D;
  /* Gold */
  font-family: 'Avenir', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  flex-shrink: 0;
}

.faq-answer {
  width: 60%;
  color: var(--White, #FFF);
  font-family: 'Avenir', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  /* 25.6px */
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 991px) {
  .faq-item {
    flex-direction: column;
    gap: 16px;
  }

  .faq-question,
  .faq-answer {
    width: 100%;
  }
}

.venue-map-container {
  width: 350px;
}

/* CTA Section */
.cta-card {
  border-radius: 24px;
  padding: 60px 50px;
  min-height: 320px;
  transition: transform 0.3s ease;
}

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

.cta-register {
  /* background: radial-gradient(126.13% 136.25% at 0% 0%, #C5A47E 0%, #9E7F5C 100%); */
  color: #021223;
}

.cta-sponsor {
  background: radial-gradient(97.46% 115.42% at 0% 0%, #0044CC 0%, #002D88 100%);
  color: #FFF;
}

.cta-label {
  font-family: 'Avenir', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  display: block;
}

.cta-heading {
  font-family: 'Avenir', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

/* Pattern Overlay using CSS gradients to mimic the triangles slightly */
.cta-bg-pattern {
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
  opacity: 0.3;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

/* ================= MOBILE HERO V2 (Lines 64-95 in index.html) ================= */
.hero-mobile-v2 {
  padding: 40px 0px;
  background-color: #001F33;
  /* Ensure dark background */
}

.hero-mobile-date {
  color: #D3AD6D;
  font-family: 'Avenir', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-mobile-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-mobile-location i {
  color: #D3AD6D;
  font-size: 20px;
}

.hero-mobile-location p {
  color: #fff;
  font-family: 'Avenir', sans-serif;
  font-size: 18px;
  margin: 0;
}

.hero-mobile-info-badge {
  display: inline-flex;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #fff;
  font-family: 'Avenir', sans-serif;
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-mobile-cta-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-mobile-cta-h1 {
  color: #fff;
  font-family: 'Avenir', sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.hero-mobile-btn-blue {
  background-color: #0045E3;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px;
  width: 100%;
  font-family: 'Avenir', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hero-mobile-btn-white {
  background-color: #E8F0FE;
  /* Light blue/white tint */
  color: #001F33;
  border: none;
  border-radius: 999px;
  padding: 16px;
  width: 100%;
  font-family: 'Avenir', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hero-mobile-btn-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-mobile-btn-row {
  display: flex;
  gap: 12px;
}

.hero-mobile-btn-row .hero-mobile-btn-white {
  flex: 1;
}

/* ================= MOBILE MENU OVERLAY ================= */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #001F33;
  /* Pure Navy */
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  visibility: hidden;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  height: 100px;
}

.mobile-menu-header .navbar-brand img {
  width: 66px;
  height: 40px;
  flex-shrink: 0;
  aspect-ratio: 33/20;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 4px;
}

.mobile-menu-content {
  flex: 1;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.menu-level {
  width: 100%;
  padding: 0 24px;
  display: none;
  /* Hide by default */
}

.menu-level.active {
  display: block;
  /* Show only active */
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li,
.back-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-family: 'Avenir', sans-serif;
  font-size: 18px;
}

.mobile-nav li a {
  color: #fff;
  text-decoration: none;
  display: block;
  width: 100%;
}

.mobile-nav li i,
.back-link i {
  color: #D3AD6D;
  /* Gold */
  font-size: 16px;
}

.back-link {
  justify-content: flex-start;
  gap: 15px;
  color: #fff;
  font-weight: 400;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer {
  padding: 24px;
  background-color: #001F33;
}

.register-interest-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border-radius: 999px;
  background-color: #0045E3;
  /* Blue from screenshot */
  border: none;
  font-size: 18px;
  font-weight: 500;
}

.register-interest-btnn {
 display: flex;
padding: 12px 25px;
justify-content: center;
align-items: center;
gap: 4px;
border-radius: 999px;
background: var(--Blue, #0045E3);
}

/* Body lock when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

.custom-navbar-toggler {
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-navbar-toggler .navbar-toggler-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}