:root {
  --primary-color: #efe17c;
  --secondary-color: #a29bfe;
  --accent-color: #efe17c;
  --dark-bg: #1a1a2e;
  --darker-bg: #16213e;
  --card-bg: #000000;
  --text-light: #e6e6e6;
  --text-lighter: #ffffff;
  --text-muted: #b8b8b8;
  --gradient-start: #6c5ce7;
  --gradient-end: #a29bfe;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(108, 92, 231, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(162, 155, 254, 0.1) 0%,
      transparent 20%
    );
  overflow-x: hidden;
}
.navbar a,
.navbar p {
  font-size: 1.2vw;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

/* ==================== Webinar Section ==================== */
.webinar-section {
  margin: 80px 0vw;
  padding: 0 0px;
  position: relative;
  overflow: hidden;
}

/* Enhanced Stars Background Animation */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.stars {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration, 5s) infinite ease-in-out;
  opacity: 0;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
}

.stars:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 10%;
  left: 20%;
  --duration: 7s;
  animation-delay: 0.5s;
}

.stars:nth-child(2) {
  width: 5px;
  height: 5px;
  top: 30%;
  left: 80%;
  --duration: 8s;
  animation-delay: 1s;
}

.stars:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 70%;
  left: 50%;
  --duration: 6s;
  animation-delay: 1.5s;
}

/* Enhanced twinkle animation */
@keyframes twinkle {
  0%, 100% { 
    opacity: 0; 
    transform: scale(0.5); 
    box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.5);
  }
  50% { 
    opacity: 1; 
    transform: scale(1.2); 
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.9);
  }
}

.section-header {
  width: 100vw;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.section-header h1 {
  color: var(--accent-color);
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(239, 225, 124, 0.2);
}

.section-header h1::after {
  content: "";
  position: absolute;
  width: 20vw;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.webinar-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 1vw;
  justify-content: center;
  flex-direction: row;
  width: 100vw;
  align-items: center;
  position: relative;
}

.webinar-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 15px;
  margin: 0vw 0vw 0vw 0vw;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border-left: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  border: 0.2vw solid rgba(244, 247, 108, 0.541);
}

.webinar-card:nth-child(2) {
  animation-delay: 0.5s;
}

.webinar-card:nth-child(3) {
  animation-delay: 0.7s;
}

.webinar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.1) 0%,
    rgba(108, 92, 231, 0) 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.webinar-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 1px 10px #efe17c;
}

.webinar-card:hover::before {
  opacity: 1;
}

.webinar-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.webinar-card:hover::after {
  transform: scaleX(1);
}

.webinar-title {
  color: var(--accent-color);
  font-size: 1.7rem;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  z-index: 1;
}

.webinar-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  bottom: 0;
  left: 0;
  border-radius: 3px;
}

.webinar-host {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.webinar-host i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.webinar-topic {
  color: var(--text-lighter);
  font-weight: 500;
  line-height: 1.5;
  z-index: 1;
  flex-grow: 0.5;
}

.webinar-time {
  background: rgba(0, 206, 201, 0.15);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  border-left: 3px solid var(--accent-color);
  z-index: 1;
  transition: all 0.3s ease;
}

.webinar-time:hover {
  transform: translateX(5px);
}

.webinar-time i {
  margin-right: 12px;
  font-size: 1.2rem;
}

.zoom-info {
  margin-bottom: 25px;
  z-index: 1;
  margin: 0vw;
}

.zoom-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  word-break: break-all;
  border: 2px solid var(--primary-color);
  background: rgba(239, 225, 124, 0.1);
  z-index: 1;
}

.zoom-link:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(239, 225, 124, 0.3);
  text-decoration: none;
}

.zoom-link i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.zoom-details {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 10px 0;
  display: flex;
  align-items: center;
  z-index: 1;
}

.zoom-details i {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.join-instructions {
  margin-top: auto;
  font-size: 0.95rem;
  color: var(--text-muted);
  z-index: 1;
}

.join-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}

.join-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  transform: translateX(5px);
}

.join-link i {
  margin-right: 10px;
  font-size: 1rem;
}

/* AI Animation Styles */
.ai-animation {
  width: 450px;
  height: 450px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
  overflow: visible;
}

.ai-animation svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.left-animation {
  margin-right: 0px;
}

.right-animation {
  margin-left: 0px; /* Pull the animation more into view */
  margin-top: 3vw;
}

path[stroke="#efe17c"], 
path[stroke="#6c5ce7"] {
    stroke-width: 12px !important;
    filter: drop-shadow(0 0 8px rgba(239, 225, 124, 0.7));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
  .webinar-container {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .section-header h1 {
    font-size: 2.4rem;
  }

  .webinar-card {
    max-width: 100%;
    min-height: auto;
  }

}

@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2rem;
  }

   .left-animation {
    display: none;
 }

 .ai-animation svg {
    height: 132%;
 }

  .webinar-section {
    padding: 0 0px;
    margin: 60px 0vw;
  }

  .section-header {
    margin-bottom: 40px;
    margin-top: 20px;
  }

  .webinar-container {
    flex-direction: column;
    align-items: center;
  }

  .webinar-card {
    max-width: 100%;
  }
}

@media (max-width: 576px) {

 .left-animation {
    display: none;
 }

 .ai-animation svg {
    height: 132%;
 }

  .section-header h1 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .webinar-title {
    font-size: 1.5rem;
  }

  .webinar-topic {
    font-size: 1.1rem;
  }

  .webinar-card {
    padding: 25px;
  }
}
