/* =========================== SECTION 1 ==========================*/
.section1-overall{
    margin-left: 3em;
    margin-right: 3em;
    padding-top: 6em;
    padding-bottom: 2em;
    align-items: center;
    text-align: center;
}

.section1-text {
    color: var(--border-color);
}

/* =========================== SECTION 2 ==========================*/
.section2-video {
  position: relative;
  min-height: 100vh;       
  overflow: hidden;
  color: #fff;
}

.section2-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,      /* transparent on top */
    rgba(0, 0, 0, 0.9) 100%    /* black at bottom */
  );
  z-index: 1;
  pointer-events: none;
}


.section2-video__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;         /* important: cover the area */
  z-index: 0;
}

.section2-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.section2-video__content {
  position: relative;
  z-index: 2;
  max-width: 50em;
  padding: 14em 3em;
  text-align: left;
}
.section2-subtitle {
  font-size: 1.25em;
  color: var(--secondary-color); 
  text-align: left;
}

.section2-description{
    font-size: 1.25em;
    text-align: left;
    color: var(--primary-color);
    list-style-type: none;
}

/* =========================== SECTION 3 ==========================*/
.section3-video {
  position: relative;
  min-height: 100vh;       
  overflow: hidden;
  color: #fff;
}

.section3-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.section3-video__content {
  position: relative;
  z-index: 2;
  max-width: auto;
  padding: 4em 10em;
  text-align: left;
}
.section3-subtitle {
  font-size: 1.25em;
  color: var(--secondary-color); 
  text-align: left;
}

.section3-description{
    font-size: 1.25em;
    text-align: left;
    color: var(--primary-color);
    list-style-type: none;
}

.section3-video__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 10em;
  height: 10em;
  transform: translate(-40%, -30%);
  object-fit: cover;         /* important: cover the area */
  z-index: 0;
}



/* =========================== SECTION 4 ==========================*/
.section4-box{
    padding: 1em;
}

.section4-subtitle {
  font-size: 1.25em;
  color: var(--secondary-color); 
  text-align: center;
}

/* =========================== SECTION 5 ==========================*/
.section-5-background {
    background-image: url('/static/images/logo/GDT_Logo.png');
    background-size: contain; /* Maintain aspect ratio */
    background-repeat: no-repeat; /* Prevent repeating */
    background-position: center;
    width: 100%;  /* Adjust width */
    height: 100%; /* Adjust height */
    position: absolute;
    top: 50%; /* Move to vertical center */
    left: 50%; /* Move to horizontal center */
    transform: translate(-50%, -50%); /* Center the image */
}

.section-5-box{
    border-radius: var(--border-radius);
    height: 15em;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* =========================== SECTION 6 ==========================*/
.section6-overall-container {
    position: relative;
    min-height: 80vh; 
    border-top: 0.03em solid var(--primary-color); 
    width: 60em;
    margin: 0 auto; 
    padding-top: 2em;
    padding-bottom: 0em;
}

.section6-container {
    max-width: 50em;
}

.faq-question {
    cursor: pointer;
    margin-bottom: 0.625em;
    padding: 0.625em;
    border: none;
}

.faq-answer {
    display: none;
    padding: 0.625em;
    background-color: var(--background-color);
}

.faq {
    text-align: left;
    margin-bottom: 1.25em;
}
.section6-question{
    border-bottom: 0.0625em solid var(--border-color);
}

.arrow-container {
    display: flex;
    align-items: center;
    width: 1em;
}

.arrow {
    border: 0.0625em solid var(--primary-color); 
    border-width: 0 0.1875em 0.1875em 0;
    display: inline-block;
    padding: 0.1875em;
    float: right;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transition: transform 0.3s ease; /* For a smooth transition */
}
    
.faq-question.active .arrow {
    transform: rotate(45deg); /* Correct rotation for active class */
}

/* =========================== SECTION 7 ==========================*/
.section7-container{
    width: 60em;
    color: var(--background-color);
    background: linear-gradient(to right, #70B5FF, #70E2FF, #7088FF, #4CFCE7, #8670FF); 
    border-radius: var(--border-radius);
    padding: 4em 1em 4em 1em;
}

.contact-color{
    border: 0.0625em solid var(--primary-color); 
    width: 16em;
    height: 4em;
    border-radius: 5em;
    color: var(--primary-color);
    background-color: var(--background-color);
}

