/* General Styles */
body {
  font-family: "Anton", sans-serif;
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden;
}

/* ===== Landing Page Styles ===== */

/* Video Background */
.video-background {
  position: fixed; /* Fix the video in place */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1; /* Keep it behind the content */
}

/* Overlay */
.overlay {
  position: relative;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
}

/* Branding Section */
.branding {
  display: flex;
  padding: 0px;
}

/* Logo Section */
.hefestus-text {
  font-family: "Technocra", sans-serif;
  font-size: 4rem;
}

.subtitle {
  margin: 10px;
}

/* Sponsors Carousel */
.sponsors-carousel {
  position: absolute;
  bottom: 0px;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  backdrop-filter: blur(10px);
}

/* Sectors Section */
.sectors {
  background-color: #fca205;
  padding: 20px 50px;
  text-align: center;
}
.sectors img {
  margin: 0 auto;
  max-width: 80%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.sectors img:hover {
  /*transform: scale(1.1);*/
}

/* Footer */
.footer {
  background-color: white; /* Solid white background */
  position: relative; /* Ensures it appears above the video */
  z-index: 1; /* Keeps it above the fixed video */
  padding: 40px 0;
}
.footer img {
  max-width: 50%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.footer-overlay {
  background-color: white;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ===== Shared Header Styles (Landing Page & Articles) ===== */
.header {
  background-color: #fca205;
  padding: 15px 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  height: 50px;
  margin-right: 15px;
}
.header-title {
  font-size: 24px;
  margin: 0;
}
.nav {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}
.nav-item .nav-link {
  color: black;
  text-decoration: none;
  font-size: 18px;
  padding: 5px 10px;
  transition: 0.3s;
}
.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  text-decoration: underline;
  font-weight: bold;
}
.text-padding {
  padding-top: 25px;
}

/* ===== Article Page Styles ===== */

/* Make the header fixed at the top */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fca205; /* Keeping the yellow background */
  z-index: 1000; /* Ensures it stays above other content */
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Apply padding only to the article page */
.article-page {
  padding-top: 50px; /* Adjust this value based on the header height */
}

.article-container {
  padding: 40px 0;
}
.article-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}
.article-text {
  font-size: 18px;
  margin-bottom: 15px;
}
.article-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}
.video-container {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .sponsors-carousel {
    padding: 20px;
    backdrop-filter: blur(5px);
  }
  .sponsors-carousel img {
    max-height: 50px; /* Reduce sponsor image size */
  }
}
@media (max-width: 576px) {
  .sponsors-carousel {
    padding: 10px;
  }
  .sponsors-carousel img {
    max-height: 40px;
  }
}
