/* =========================
   PAGE PADDING (YOUR RULE)
========================= */
.faq-hero-wrapper {
    padding-left: 80px;
    padding-right: 80px;
    width: 100%;
    overflow: visible;
    background-color: black;

}

/* Tablet */
@media (max-width: 991px) {
    .faq-hero-wrapper {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .faq-hero-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================
   INNER CONTAINER
========================= */
.faq-hero-container {
   max-width: 1280px;
    height: 266px;
    margin: 0 auto;
    background: #232323;
    border-radius: 32px;
    padding: 60px 40px;
    box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.25);
    position: relative; /* REQUIRED */
    display: flex;
    justify-content: space-between;
    /* overflow: visible; IMPORTANT */

   
}

/* =========================
   LEFT CONTENT
========================= */
.faq-content {
    max-width: 704px;
}

/* Subtitle */
.faq-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2%;
    text-transform: uppercase;
    color: #A882FF;
    margin-bottom: 10px;
}

/* Title */
.faq-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 2%;
    margin-bottom: 10px;
}

/* Breadcrumb */
.faq-breadcrumb {
    font-size: 14px;
    color: #ffffff;
}

.faq-breadcrumb .active {
    color: #A882FF;
    

}

 .faq-image {
    position: absolute;
    right: 0px;   /* push outside right */
    bottom: 0px;  /* push outside bottom */
} 

.faq-image img {
    width: 569px;
    height: 345px;
    object-fit: contain;
    border-radius: 32px;
}
/* =========================
   RESPONSIVE FIXES
========================= */
@media (max-width: 991px) {
    .faq-hero-container {
        height: auto;                 /* remove fixed height */
        flex-direction: column;       /* stack content */
        align-items: flex-start;      /* text start */
        gap: 24px;
        padding-bottom: 40px;
    }

    .faq-image {
        position: static;             /* remove absolute */
        align-self: flex-end;         /* image to right */
        width: 100%;
        height: auto;
        display: flex;
        justify-content: flex-end;
        margin-block-end: -40px;
        margin-right: -40px;
        margin-top: -90px;
    }

    .faq-image img {
        width: 320px;                 /* controlled size */
        height: auto;
    }

    .faq-title {
      font-size: 20px;
    }
    .faq-content {
        max-width: 400px;
    }
}


@media (max-width: 767px) {
    /* .faq-title {
        font-size: 24px;
        line-height: 34px;
    }

    .faq-subtitle {
        font-size: 12px;
    } */

    .faq-image img {
        width: 230px;
        margin-right: 0px;
      margin-top:  60px;
    }
}


/* ===== FIX FOR 1024px & BELOW ===== */
@media (max-width: 1199px) and (min-width: 992px) {
    .faq-hero-container {
    
        height: 320px;
        /* height: auto; */
        align-items: flex-start;
        justify-content: space-between;
    }

    .faq-image {
        position: static;      /* stop overflow */
        margin-right: -40px;
        /* margin-top: 80px; */
          margin-block-end: -40px;
    }

    .faq-image img {
        width: 420px;          /* smaller image */
        height: auto;
    }

    .faq-content {
        max-width: 600px;
    }
}

/* hero faq  */

/* faq start */
/* =========================
   SECTION PADDING (YOUR RULE)
========================= */
.faq-section {
    padding-left: 80px;
    padding-right: 80px;
    background: #000;
}

@media (max-width: 991px) {
    .faq-section {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================
   INNER WRAPPER
========================= */
.faq-section-inner {
    max-width: 1440px;
    margin: 0 auto;
    gap: 44px;
}

/* =========================
   LEFT BLOCK
========================= */
.faq-left {
    width: 708px;
    height: 458px;
    gap: 32px;
}

.faq-tag {
    color: #A882FF;
    font-size: 14px;
    letter-spacing: 2%;
    font-weight: 700;
    text-transform: uppercase;
}

.faq-heading {
    font-size: 48px;
    font-weight: 800;
    margin: 16px 0;
    
}

.faq-description {
    color:  #DBDBDB;
    font-family: lato;
    max-width: 520px;
}

.faq-robot {
    display: flex;
    justify-content: flex-end;
}

.faq-robot img {
    width: 180px;
}

/* =========================
   RIGHT FAQ
========================= */
.faq-right {
    width: 528px;
    height: 408px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
}

.faq-answer {
    margin-top: 12px;
    color:  #DBDBDB;
    font-size: 14px;
    font-family: lato;
}

/*  */
/* =========================
   ACCORDION BEHAVIOR
========================= */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

/* Open state */
.faq-item.active .faq-answer {
    max-height: 200px; /* enough for content */
    opacity: 1;
}

/* Arrow animation */
.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}


/* =========================
   RESPONSIVE STACKING
========================= */
@media (max-width: 991px) {
    .faq-section-inner {
        flex-direction: column;
    }

    .faq-left,
    .faq-right {
        width: 100%;
        height: auto;
    }

    .faq-robot {
        justify-content: flex-start;
        /* margin-top: 24px; */
        margin-top: 10px;
    }
}

/* faq e */

/* cards faq */
/* 
.creations-section {
  background: #000;
  padding-left: 80px;
  padding-right: 80px;
  padding-top: 64px;
  padding-bottom: 64px; 

  overflow: hidden;  
}

/* Tablet *
@media (max-width: 991px) {
  .creations-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Mobile *
@media (max-width: 767px) {
  .creations-section {
    padding-left: 20px;
    padding-right: 20px;
  }
} */

/* ================================
   CREATIONS SECTION (FULL STYLE)
================================ */

.creations-section {
  background: #000;
  padding: 64px 80px;
  overflow: hidden;
}

/* Tablet */
@media (max-width: 991px) {
  .creations-section {
    padding: 64px 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .creations-section {
    padding: 48px 20px;
  }
}

/* ================================
   HEADER
================================ */

/* .creations-header {
  max-width: 1280px;
  margin: 0 auto 48px;
}

.creations-label {
  font-family: Orbitron;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #A882FF;
  display: inline-block;
  margin-bottom: 8px;
}

.creations-title {
  font-family: Orbitron;
  font-weight: 900;
  font-size: 48px;
  line-height: 64px;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.creations-desc {
  font-family: Lato;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.02em;
  color: #DBDBDB;
  max-width: 1120px !important;
}

.creations-btn {
  font-family: Lato;
  padding: 12px 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(
    101.67deg,
    #93C3FD 0%,
    #7D86ED 45.89%,
    #5B63ED 100%
  );
  text-decoration: none;
  white-space: nowrap;
} */



  .creations-header {
  max-width: 1280px;
  margin: 0 auto 48px;
}

/* TOP BLOCK */
.creations-label {
  font-family: Orbitron;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #A882FF;
  display: inline-block;
  margin-bottom: 8px;
}

.creations-title {
  font-family: Orbitron;
  font-weight: 900;
  font-size: 48px;
  line-height: 64px;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 20px;
}

/* BOTTOM ROW */
.creations-bottom {
  display: flex;
  align-items: center; /* KEY FIX */
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.creations-desc {
  font-family: Lato;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.02em;
  color: #DBDBDB;
  max-width: 1120px !important;
  margin: 0; /* important */
}

.creations-btn {
  font-family: Lato;
  padding: 12px 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(
    101.67deg,
    #93C3FD 0%,
    #7D86ED 45.89%,
    #5B63ED 100%
  );
  text-decoration: none;
  white-space: nowrap;
}


/* ================================
   CARDS GRID
================================ */

.creations-cards {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

/* Top row */
.card-lg {
  grid-column: span 2;
}

.card-md {
  grid-column: span 1;
}

/* ================================
   CARD BASE
================================ */

.project-card {
  background: #2B2B2B;
  border-radius: 32px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* Hover */
.project-card:hover {
  background: #E8E7DE;
  transform: translateY(-6px);
}

.project-card:hover .project-title,
.project-card:hover .project-author {
  color: #000;
}

/* ================================
   TIME BADGE
================================ */

.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #8B5CF6;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* ================================
   CARD TEXT
================================ */

.card-body-custom {
  padding: 16px 8px 8px;
}

.project-title {
  font-family: Orbitron;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.project-author {
  font-family: Lato;
  font-size: 14px;
  color: #CFCFCF;
}

/* ================================
   IMAGES
================================ */

.card-lg .project-image,
.card-md .project-image {
  height: 260px;
}

.card-sm .project-image {
  height: 220px;
}

.project-image {
  margin-top: auto;
  border-radius: 24px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   RESPONSIVE
================================ */

/* 1024 – keep desktop layout */
@media (max-width: 1199px) {
  .creations-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 991px) {
  .creations-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-lg {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .creations-cards {
    grid-template-columns: 1fr;
  }

  .card-lg,
  .card-md {
    grid-column: span 1;
  }

  .creations-title {
    font-size: 32px;
    line-height: 42px;
  }

  .creations-desc {
    font-size: 16px;
    line-height: 24px;
  }
}
