:root {
  --primary-color: #f15a22;
  --secondary-color: #00ffff;
  --dark-bg: #121212;
  --darker-bg: #0a0a0a;
  --light-text: #ffffff;
  --gray-text: #aaaaaa;
  --accent-blue: #00ccff;
  --accent-purple: #8a2be2;
  --transition-speed: 0.3s;
  --border-radius: 8px;

  /* Light Theme Variables */
  --light-bg: #e4e6eb;
  --lighter-bg: #f0f2f5;
  --dark-text: #1c1e21;
  --gray-dark-text: #65676b;
}

.light-theme {
  --dark-bg: var(--light-bg);
  --darker-bg: var(--lighter-bg);
  --light-text: var(--dark-text);
  --gray-text: var(--gray-dark-text);
  --border-color: #dddfe2;
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--light-text);
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
  transition: none;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 15px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: #e04a12;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 90, 34, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(241, 90, 34, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 90, 34, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  color: var(--light-text);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--darker-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loader-text {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--primary-color);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.breadcrumb {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child):after {
  content: "/";
  margin: 0 10px;
  color: var(--gray-text);
}

.breadcrumb-item a {
  color: var(--gray-text);
  transition: color var(--transition-speed);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-speed);
  box-shadow: 0 5px 15px rgba(241, 90, 34, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: #e04a12;
  transform: translateY(-5px);
}

.scroll-top i {
  font-size: 24px;
}

.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

.light-theme .bg-particles {
  opacity: 0.1;
}

.highlight-text {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.announcement-bar {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
  color: white;
  padding: 12px 0;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1001;
}

.announcement-bar a {
  color: white;
  text-decoration: underline;
  margin-left: 5px;
}

.announcement-bar a:hover {
  color: var(--secondary-color);
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.reveal {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
}

.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.stat-card {
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--border-radius);
  padding: 25px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.light-theme .stat-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-family: "Orbitron", sans-serif;
}

.stat-label {
  color: var(--gray-text);
  font-size: 16px;
}

/* News & Events Section */
.news-events {
  background-color: var(--darker-bg);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.news-events::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.news-events::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(241, 90, 34, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.news-events-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.news-events-tab {
  padding: 12px 25px;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--light-text);
}

.news-events-tab:hover {
  background: rgba(241, 90, 34, 0.2);
  transform: translateY(-3px);
}

.news-events-tab.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.light-theme .news-events-tab {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-text);
}

.light-theme .news-events-tab:hover {
  background: rgba(241, 90, 34, 0.1);
}

.light-theme .news-events-tab.active {
  background: var(--primary-color);
  color: white;
}

.news-events-content {
  display: none;
  position: relative;
  z-index: 5;
}

.news-events-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.news-item {
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.light-theme .news-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.light-theme .news-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-item-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item:hover .news-item-image img {
  transform: scale(1.1);
}

.news-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.news-item-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  margin-bottom: 10px;
}

.news-date {
  font-size: 14px;
  color: var(--gray-text);
}

.news-item-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--light-text);
  line-height: 1.4;
}

.news-item-content p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: auto;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.event-card {
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.light-theme .event-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.light-theme .event-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
  transform: scale(1.1);
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(241, 90, 34, 0.3);
}

.date-day {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.event-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-card-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--light-text);
  line-height: 1.4;
}

.event-card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.event-card-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-text);
  font-size: 14px;
}

.event-card-detail svg {
  color: var(--primary-color);
}

.event-card-content p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.event-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.view-all-container {
  text-align: center;
}

/* Webinars in News & Events Section */
.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.webinar-item {
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.light-theme .webinar-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.webinar-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.light-theme .webinar-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.webinar-item-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.webinar-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.webinar-item:hover .webinar-item-image img {
  transform: scale(1.1);
}

.webinar-date {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(241, 90, 34, 0.3);
}

.webinar-item-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.webinar-item-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--light-text);
  line-height: 1.4;
}

.light-theme .webinar-item-content h3 {
  color: var(--dark-text);
}

.webinar-item-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.webinar-item-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-text);
  font-size: 14px;
}

.webinar-item-detail svg {
  color: var(--primary-color);
}

.webinar-item-content p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.webinar-item-content .read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.webinar-item-content .read-more:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .webinars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .section-header h2 {
    font-size: 36px;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 28px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 14px;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }
}

