/* Import Engaging Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@300;400;500&display=swap');

/* Reset some basic elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background-color: #121212;
  color: #ffffff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Navigation Bar */
.navbar {
  background-color: #1f1f1f;
  position: fixed;
  width: 100%;
  z-index: 100;
  border-bottom: 2px solid #79bde8;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #79bde8;
  text-decoration: none;
}

.nav-menu {
  list-style: none;
  display: flex;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #79bde8;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #ffffff;
  margin: 4px 0;
  transition: 0.4s;
}

/* Hero Section (Centered for major titles & captions) */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(18, 18, 18, 0.65);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  color: #79bde8;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  background-color: #79bde8;
  color: #121212;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.btn:hover {
  background-color: #68a8ce;
}

/* Section Blocks (Left-aligned Content for Readability) */
.section {
  position: relative;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.section-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(18, 18, 18, 0.75);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* Section Headings */
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #79bde8;
}

/* Override h2 alignment on the videos page */
.videos-page .section h2 {
  text-align: center;
}

/* Section Paragraphs */
.section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Bullet Lists */
.section-content ul {
  list-style: disc;
  list-style-position: inside;
  text-align: left;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

/* Videos Page Specific Styles - Center YouTube Videos */
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.video-item {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #1f1f1f;
  border-top: 2px solid #79bde8;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: -100%;
    width: 100%;
    background-color: #1f1f1f;
    transition: left 0.3s ease;
    padding-left: 1.5rem; /* Increased left padding */
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
