:root {
  --main-color: #202986;
  --accent-color: #d4af37;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar-brand {
  color: var(--accent-color) !important;
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-toggler {
  border: 1px solid var(--accent-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(32, 41, 134, 0.5));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("bg.jpg") bottom/cover no-repeat;
  transition: transform 0.2s ease;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-logo {
  width: 120px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #eee;
}

.btn-primary {
  background-color: var(--main-color);
  border: none;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #151a67;
}

/* Event Info Cards */
.hero-info {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-info .info-card {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--main-color);
  padding: 20px 30px;
  border-radius: 15px;
  min-width: 180px;
  color: #fff;
  transition: 0.3s transform ease, background 0.3s;
  will-change: transform;
}

.hero-info .info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.hero-info .info-card p {
  font-size: 1.1rem;
  margin: 0;
}

.hero-info .info-card:hover {
  background: rgba(32, 41, 134, 0.9);
  border-color: var(--accent-color);
}

/* Content Sections */
.content-section {
  padding: 80px 20px;
  background-color: #111;
}

.content-section:nth-child(even) {
  background-color: #0a0a0a;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--accent-color);
  font-weight: 700;
  text-align: center;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  color: #ccc;
  line-height: 1.8;
}

.section-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.section-content ul {
  margin-bottom: 30px;
  padding-left: 20px;
}

.section-content li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Agenda Section */
.agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.agenda-table th {
  background-color: var(--main-color);
  color: white;
  padding: 15px;
  text-align: left;
}

.agenda-table td {
  padding: 15px;
  border-bottom: 1px solid #333;
}

.agenda-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Speakers Section */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.speaker-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--main-color);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s, border-color 0.3s;
}

.speaker-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.speaker-name {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.speaker-role {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 15px;
}

/* Sponsors & Media */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.logo-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  min-width: 150px;
  text-align: center;
  transition: background 0.3s;
}

.logo-item:hover {
  background: rgba(32, 41, 134, 0.3);
}

/* Footer */
footer {
  background: #000;
  padding: 30px 0;
  text-align: center;
  color: #999;
  font-size: 0.95rem;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  margin: 0 5px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-info {
    flex-direction: column;
    gap: 20px;
  }
  .section-title {
    font-size: 2rem;
  }
  .agenda-table {
    font-size: 0.9rem;
  }
  .speakers-grid {
    grid-template-columns: 1fr;
  }
}

footer a img {
  transition: filter 0.3s;
}

footer a:hover img {
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(45deg); /* gives gold accent hover */
}

/* Speakers Section */
.content-section {
  padding: 80px 20px;
  background-color: #111;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--accent-color);
  font-weight: 700;
  text-align: center;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  color: #ccc;
  line-height: 1.8;
}

/* Speakers Section Enhancements */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.speaker-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--main-color);
  border-radius: 15px;
  padding: 25px 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speaker-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.speaker-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(32, 41, 134, 0.3);
}

.speaker-card:hover::before {
  transform: scaleX(1);
}

.speaker-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--main-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.speaker-card:hover .speaker-image {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.speaker-name {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.speaker-role {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 15px;
  line-height: 1.4;
}

.speaker-company {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.session-title {
  color: var(--accent-color);
  margin: 50px 0 20px;
  font-size: 1.8rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.session-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--accent-color));
  border-radius: 2px;
}

.moderator-section {
  background: rgba(32, 41, 134, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid var(--main-color);
  display: flex;
  align-items: center;
  gap: 25px;
}

.moderator-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  flex-shrink: 0;
}

.moderator-info {
  flex: 1;
}

.moderator-label {
  display: inline-block;
  background: var(--main-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.panelists-label {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
  border: 1px solid var(--accent-color);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .moderator-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .moderator-image {
    width: 120px;
    height: 120px;
  }

  .session-title {
    font-size: 1.5rem;
  }
}

/* Media Section Enhancements */
.media-logo {
  max-width: 120px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  /* filter: brightness(0) invert(1);  */
  transition: all 0.3s ease;
}

.media-name {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: 500;
}

.logo-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px 20px;
  border-radius: 12px;
  min-width: 160px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-item:hover {
  background: rgba(32, 41, 134, 0.3);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

/* Responsive adjustments for media section */
@media (max-width: 768px) {
  .logos-grid {
    gap: 20px;
  }

  .logo-item {
    min-width: 140px;
    padding: 20px 15px;
  }

  .media-logo {
    max-width: 100px;
    max-height: 50px;
  }
}
