:root {
    --primary-font: 'Corbel', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --primary-color: #93358F;
    --text-color: white;
    --heading-color: #4EA72E;
    --container-padding: 15px;
    --transition-speed: 0.3s;
}

/* Base styles */
body {
    font-family: var(--primary-font);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #151515; /* Added a fallback background color */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.jumbotron {
    position: relative;
    background: transparent;
    color: white;
    padding-bottom: 0;
    overflow: hidden;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 20, 0.85);
    z-index: 1;
}

.jumbotron .container {
    position: relative;
    z-index: 2;
}

.jumbotron-button {
    text-decoration: none;
    background: white;
    color: #202020;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    border: 1px solid gray;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.jumbotron-button:hover {
    background-color: #202020; /* Light grey hover */
    color: #ffffff; /* Keep text color same as default */
    text-decoration: none; /* Remove underline on hover */
}

.jumbotron::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px; /* Adjust height of the gradient */
    background: linear-gradient(to bottom, rgba(20,20,20,0) 0%, rgba(20,20,20,1) 100%);
    z-index: 1;
}

section:not(.jumbotron) {
    padding: 4rem 0;
    position: relative;
}

section:not(.jumbotron):not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background-color: #444;
}

section:not(.jumbotron) .jumbotron-heading {
    text-align: left;
    font-size: 3.5rem;
    font-weight: 900; /* Make section titles extra bold */
    margin-bottom: 3rem; /* Increased margin to the bottom of the title */
}

/* Typography */
.responsive-text {
    font-family: var(--primary-font);
    font-size: clamp(9px, 2vw, 16px);
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.section-heading {
    color: var(--heading-color);
    margin-top: -50px;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    padding: 0 var(--container-padding);
}

.qa-label {
    color: var(--primary-color);
    font-weight: bold;
}

/* Layout */
.container {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.table-container th {
    width: 25%;
    padding: 10px;
    vertical-align: top;
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 1rem;
    background: #151515;
}

.video-container:hover {
    transform: scale(0.98);
    box-shadow: 0 0 10px rgba(20, 20, 20, 0.5); /* Add a box-shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-container:hover video {
    opacity: 0.95;
}

/* Add hover pause functionality */
.video-container video:hover {
    cursor: pointer;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.6);
    padding: 3px;
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px;
}



nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
    background-color: transparent;
}

nav a:hover {
    color: var(--text-color);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.image-item {
    margin-bottom: 2rem; /* Added margin to the bottom of images */
}

p {
    font-weight: 200; /* Set font weight to 200 */
    text-align: justify; /* Justify paragraph text */
    font-size: 1.2rem; /* Increase paragraph font size */
    margin-bottom: 1.5rem; /* Added margin to the bottom of paragraphs */
} 

p.responsive-text u {
    font-weight: 700;
}

/* Image Modal Styles */
.zoomable-image {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.zoomable-image:hover {
    transform: scale(0.99);
    box-shadow: 0 8px 25px rgba(20, 20, 20, 0.4);
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(20, 20, 20, 0.9);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex; /* Shown when active */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    transition: transform 0.3s ease;
}

.modal-content.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.modal-content:not(.zoomed) {
    cursor: zoom-in;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* Dropdown Button */
.dropbtn {
  background-color: transparent;
  color: white;
  padding: 16px;
  font-size: inherit; /* Changed from 16px to inherit from header */
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropbtn {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .info-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
  }
  
  .info-list li {
    background: linear-gradient(to bottom, #303030, #202020);
    color: #ffffff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
  }