:root {
  --linkheight: 2rem;
  --sidebar-width: 250px;
  --header-height: 70px;
  --primary-color: #007bff;
  --bg-color: #f8f9fa;
  --text-color: #444;
  --border-color: #ddd;
  --hover-bg: #e9ecef;
  --content-max-width: 1200px;
  --font-size-p: 18px; /* Adjust font size for <p> */
  --font-size-h1: 2rem; /* Adjust font size for <h1> */
  --font-size-h2: 1.75rem; /* Adjust font size for <h2> */
  --font-size-h3: 1.5rem; /* Adjust font size for <h3> */
  --font-size-h4: 1.25rem; /* Adjust font size for <h4> */
  --font-size-h5: 1rem; /* Adjust font size for <h5> */
  --font-size-h6: 0.875rem; /* Adjust font size for <h6> */
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
  font-family: "Times New Roman", "Times New Roman", Times, serif,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p {
  font-size: var(--font-size-p);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

ul,
ol {
  list-style: none;
}

ul {
  background-color: rgb(0 0 0 / 0);
}

ul li {
  padding-left: 1rem;
}

.section-nav {
  width: 15em;
  position: fixed;
  top: 2rem;
  left: 2rem;
  padding-left: 0;
  border-left: 1px solid #ddd;
  background-color: rgb(0 0 0 / 0);
}

.section-nav a {
  display: inline-block;
  text-decoration: none;
  line-height: 2rem;
  padding: 0 1rem;
  color: #202020;
}

.section-nav a:hover,
.section-nav a:focus {
  color: red;
  text-decoration: underline;
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--bg-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center; /* Center align header content */
  height: 100%;
  padding: 0 20px;
  margin-left: var(--sidebar-width);
  max-width: var(--content-max-width);
  margin: 0 auto 0 var(--sidebar-width); /* Center the header content in remaining space */
}

.header-content img {
  height: 40px;
  margin-right: 15px;
}

.header-content h1 {
  margin: 0;
  font-size: 1.5rem;
}

/* Sidebar/Navigation styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background-color: var(--bg-color);
  padding-top: var(--header-height);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  z-index: 999;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin: 0;
  padding: 0;
}

.sidebar a {
  display: block;
  padding: 10px 15px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.sidebar a:hover {
  background-color: var(--hover-bg);
  border-left-color: var(--primary-color);
}

.sidebar a.active {
  background-color: var(--hover-bg);
  border-left-color: var(--primary-color);
  color: var(--primary-color);
}

/* Main content styles */
.content-wrapper {
  margin-left: var(--sidebar-width);
  padding: calc(var(--header-height) + 20px) 40px 40px;
  max-width: var(--content-max-width);
  margin: 0 auto 0 var(--sidebar-width); /* Center the content in remaining space */
}

/* Section styles */
.section-item {
  margin-bottom: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.mb-0{
  margin-bottom: 0px !important;
}
.mb-15{
  margin-bottom: 15px;
}
.section-title {
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.section-content {
  margin-bottom: 20px;
}

/* Video container styles */
.video-container {
  margin: 20px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.custom-video {
  max-width: 80%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

/* Image carousel styles */
.image-carousel {
  width: 80%;
  margin: 20px auto;
}

.image-carousel img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-dots {
  bottom: -25px;
}

/* Mobile styles */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
  padding: 10px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: block;
  }

  .header-content {
    margin-left: 50px;
    justify-content: flex-start; /* Adjust header alignment for mobile */
  }

  .content-wrapper {
    margin-left: 0;
    max-width: 100%;
    padding: calc(var(--header-height) + 20px) 20px 20px;
  }

  .custom-video,
  .image-carousel {
    width: 100%;
  }
}

/* Add right margin to content area to balance with sidebar */
@media (min-width: 769px) {
  .content-wrapper {
    margin-right: auto;
    margin-left: auto;
    padding-left: calc(var(--sidebar-width) + 10px);
    padding-right: 40px;
  }

  .header-content {
    margin-right: auto;
    margin-left: auto;
    padding-right: 40px;
  }
}
.contributors-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contributor-name {
  background-color: #f0f0f0;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.9em;
}
.section-title-with-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-logo {
    height: 24px; /* or any size you need */
    width: auto;
}
  /* Default to showing desktop logo */
  .logo-mobile {
    display: none;
  }

  /* Show mobile logo and hide desktop logo on small screens */
  @media (max-width: 768px) {
    .logo-desktop {
      display: none;
    }
    .logo-mobile {
      display: inline;
      height: 40px; /* You can adjust this as needed */
      margin-right: 15px;
    }
  }

  .logo-desktop {
    height: 50px;
    margin-right: 15px;
  }

  .header-content {
    display: flex;
    align-items: center;
  }
          .iframe-container {
            position: relative;
            width: 100%; /* Take full width of its parent */
            padding-bottom: 100%; /* 1:1 Aspect Ratio (height equals width) */
            height: 0; /* Important: height is controlled by padding-bottom */
            overflow: hidden; /* Hide any overflowing content */
            border-radius: 8px; /* Rounded corners for the container */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
            max-width: 800px; /* Limit max width for desktop viewing */
            margin: 0 auto;
        }

        /* Styles for the iframe itself */
        .iframe-container iframe {
            position: absolute; /* Position absolutely within the relative container */
            top: 0;
            left: 0;
            width: 100%; /* Fill the container's width */
            height: 100%; /* Fill the container's height */
            border: none; /* Remove default iframe border */
        }