/* 
* TechVanguard - About Page Stylesheet
* Extension of styles.css
* Version 1.0
*/
/* =================== YELLOW CIRCLE =================== */
.yellow-circle {
  position: relative;
  background: radial-gradient(circle, #FADE83 0%, #7d6f42 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  opacity: 0.6;
}

.circle-1 {
  position: absolute;
  width: 1200px;
  height: 1200px;
  top: 3%;
  right: -5%;
}

.circle-2 {
  position: absolute;
  width: 1200px;
  height: 1200px;
  top: 30%;
  left: -35%;
}

.circle-3 {
  position: absolute;
  width: 1100px;
  height: 1100px;
  top: 45%;
  left: 65%;
}

/* =================== DMS HERO SECTION =================== */
.dms-hero {
  margin: 6.25vw;
  padding-top: 6.25vw;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.dms-title {
  font-family: 'Nasalization', sans-serif;
  font-size: 3.3333vw;
  font-weight: 400;
  color: var(--color-white);
  font-weight: var(--fw-regular);
  margin-bottom: 1.5625vw;
  text-align: center;
  letter-spacing: 0.01em;
}

.dms-hero-content p {
  font-weight: var(--fw-medium);
  align-self: center;
 
  text-align: center;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.dms-hero-content .cta-button {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-top: 5.2083vw;
}




.competitive {

  margin: auto;
  margin-top: 7.8125vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.6042vw;
  transition: margin 0.3s ease;
}


.competitive h2 {
  margin-bottom: 3.0417vw;
    }
.competitive>.cards {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1.0417vw;
  /* Space between cards */
}

.competitive>.cards>.card {
  position: relative;
  width: 100%;
  max-width: 35.25vw;
  height: 100%;
  min-height: 6.77vw;
  background-color: #201E27;
  padding: 1.5625vw 1.0417vw;
  color: white;
  border: 0.0781vw solid transparent;
  border-radius: 1.7188vw;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7812vw;
  box-shadow: 0 0 0.5208vw rgba(250, 222, 131, 0.2);
  background-clip: padding-box;
}

/* Glow effect behind item */
.competitive>.cards>.card::after {
  content: '';
  position: absolute;
  inset: -0.2604vw;
  background: linear-gradient(to bottom, #FADE83, #FFC300);
  border-radius: 1.8229vw;
  z-index: -1;
  opacity: 0.1;
  filter: blur(0.2604vw);
}

/* Gradient border effect */
.competitive>.cards>.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.5625vw;
  padding: 0.1094vw;
  background:
    linear-gradient(135deg, #FADE83 0%, rgba(148, 131, 77, 0) 50%) top left,
    linear-gradient(315deg, #FADE83 0%, rgba(148, 131, 77, 0) 50%) bottom right;
  background-size: 100% 120%, 140% 100%;
  background-repeat: no-repeat;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.competitive>.cards>.card>h2 {
  font-size: 0.9375vw;
  font-weight: var(--fw-regular);
  margin-top: 0.5208vw;
  margin-bottom: 0;

  text-align: center;
  color: #fff;
}

.competitive>.cards>.card>p {
  padding-bottom: 0;
  text-align: center;
  max-width: 90%;
  font-size: 0.625vw;
  font-weight: var(--fw-regular);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: auto;
  color: var(--color-gray);
  font-family: "Nasalization", sans-serif;
}

/* =================== FAQ SECTION =================== */
/* FAQ content (wrapper for heading and container) */
.faq-content {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 3.125vw 0;
}

/* FAQ container (Flexbox for columns) */
.faq-container {
  width: 100%;
  padding: 0 1.042vw;
  margin: 2.083vw auto;
  max-width: 100%;
  display: flex;
  gap: 1.563vw;
  justify-content: center;
  transition: all 0.3s ease;
}

/* FAQ column (Flexbox for stacking items) */
.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.563vw;
  max-width: 36.458vw;
  min-width: 26.042vw;
}

/* Around color (wrapper for each FAQ item) */
.faq-column>.around-color-first,
.faq-column>.around-color {
  position: relative;
  width: 100%;
  border-radius: 1.302vw;
}

.faq-container>.around-color-first,
.faq-container>.around-color {
  border: 0.052vw solid transparent;
}

.faq-container>.faq-column>.around-color-first::before,
.faq-container>.faq-column>.around-color::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(to bottom, #fade83, #8b632900);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.9;
}


/* FAQ item styling */
.faq-item {
  position: relative;
  background-color: #201E27;
  border-radius: 30px;
  width: 100%;
  max-width: 38vw;
  aspect-ratio: 10/1.5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: none;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: auto;
  overflow: hidden;
  box-shadow: 0.0vw 0.0vw 0.5208vw 0.0vw #fade8366;
}

/* FAQ header (question and plus icon) */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 38vw;
  padding: 0.8vw 1.5vw;
  box-sizing: border-box;
  border-radius: 20px 20px 0 0;
  /* Bo góc trên, không bo góc dưới */
  margin: auto;
  min-height: 6vw;
  border: 1px solid transparent;

  flex-shrink: 0;
}

/* FAQ answer (collapsible content) */
.faq-answer {
  overflow: hidden;
  font-size: 0.729vw;
  line-height: 1.5;
  color: #fff;
  padding: 1.042vw;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

/* Add border to faq-answer when expanded */
.faq-answer.active {

  opacity: 1;
  height: 100%;
  transform: translateY(0);
}

.faq-item:has(.faq-answer.active) .faq-header {
  border: 1px solid #fade83;
  border-radius: 30px;
}


.plus-icon {
  font-size: 1.042vw;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

.plus-icon.active {
  transform: rotate(45deg);
}

/* Hiệu ứng hover cho FAQ item */
.faq-item:hover::before {
  opacity: 0.9;
}

/* Style cho FAQ item khi mở */
.faq-item:has(.faq-answer.active) {
  background-color: #201E27;
  border-bottom: 1px solid #fade8333;
}

.faq-item:has(.faq-answer.active)::before {
  opacity: 0.9;
}


/* FAQ header text */
.faq-header>span:nth-child(1) {
  font-size: 0.938vw;
  color: #fff;
  font-weight: var(--fw-regular);
  padding: 0.104vw;
  text-align: left;
  margin-left: 0.521vw;
  margin-right: 0.521vw;
}

.faq-item span {
  font-size: 0.938vw;
  color: #fff;
}

@media (max-width: 768px) {

  .competitive>.cards>.card {
    min-width: 50.25vw;
padding: 3.25vw;
  }


  .competitive > .cards > .card > h2 {
font-size: 1.4375vw;
  }
  .competitive > .cards > .card > p {
    font-size: 0.9375vw;
  }
  .content>h1 {
    font-size: 2.5rem;
    /* Smaller font size for the heading */
    margin-top: 50px;
    /* Space from the top of the page */
    margin-bottom: 20px;
  }

  .content>p {
    font-size: 0.75rem;
    /* Smaller font size for the description */
  }

  .btn-primary {
    scale: 0.8;
  }
.faq .faq-content h2 {
  font-size: 3.0833vw;
}
  .faq-container {
    flex-direction: column;
    align-items: center;
  }

  .faq-column {
    max-width: 80vw;
    /* Increase width for mobile */
    min-width: 70vw;
  }

  .faq-column>.around-color-first {
    margin-bottom: 2.302vw;
  }

  .faq-item {
    max-width: 78vw;
    /* Adjust for mobile */

  }

  .faq-item .faq-header .plus-icon {
    font-size: 2.938vw;
  }

  .faq-header {
    max-width: 78vw;
    /* Match the FAQ item's max-width */
    min-height: 10vw;
    /* Larger height for mobile */
    padding: 1vw 2vw;
  }

  .faq-header>span:nth-child(1) {
    font-size: 2vw;
    color: #fff;
    font-weight: var(--fw-regular);
    padding: 1.104vw;
    text-align: left;
    /* Already set to left, but we'll confirm */
    margin-left: 0.521vw;
    margin-right: 0.521vw;
  }


  .faq-answer {
    font-size: 2vw;
  }

  .faq-answer.active {
    padding: 2vw;
  } 

}