.services {
  padding: 150px 80px 100px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.section-title {
  /* color: #9b9b9b; */
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, #e8e8e8 0%, #191919 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.accordion-tabs {
  padding: 0 50px;
}

/* SECTION LAYOUT */

@media (min-width: 768px) {
  .accordion-tabs {
    display: flex;
    gap: 80px;
  }
}

/* LEFT TABS */

.tabs-wrapper {
  display: none;
}

@media (min-width: 768px) {
  .tabs-wrapper {
    display: block;
    width: 60%;
  }
}

.tabs {
  list-style: none;
}

.tabs li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 50px 0;
  border-bottom: 1px solid #2a2a2a;
  cursor: pointer;
}

.tabs li .index {
  color: #777;
  width: 40px;
}

.tabs li .title {
  flex: 1;
  font-size: 50px;
  font-weight: 700;
  transition: color 0.3s;
  color:#fff;
}

.tabs li .arrow {
  overflow: hidden;
}

.tabs li .arrow img {
  width: 28px;
}

.tabs li.tab--active .title,
.accordion__title.accordion__title--active .title {
  color: #fff;
}

/* RIGHT CONTENT */

.accordion {
  width: 100%;
}

@media (min-width: 768px) {
  .accordion {
    width: 40%;
  }
}

.accordion__content {
  display: none;
}

.accordion__content--active {
  display: block;
}

/* MOBILE TITLES */

.accordion__title {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid #2a2a2a;
  cursor: pointer;
}

.accordion__title .index {
  color: #777;
  width: 40px;
}

.accordion__title .title {
  flex: 1;
  font-size: 36px;
  font-weight: 700;
  color:#fff;
}

.accordion__title .arrow img {
  width: 26px;
}

.accordion__title--active .title {
  color: #fff;
}

@media (min-width: 768px) {
  .accordion__title {
    display: none;
  }
}

/* HIDE ACTIVE ARROW */

.tabs li.tab--active .arrow,
.accordion__title.accordion__title--active .arrow {
  opacity: 0;
}

/* CONTENT */

.accordion__content {
  padding: 40px 0;
}

.accordion__content a {
  text-decoration: none;
  color: inherit;
}

.accordion__content p {
  margin-top: 0;
  line-height: 1.6;
  color: #ccc;
}

/* CONTENT ANIMATION */

.accordion__content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s ease;
}

.accordion__content--active {
  opacity: 1;
  transform: translateY(0);
}

/* TAGS */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.tag {
  position: relative;
  z-index: 0;

  padding: 12px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 400;
  color: white;

  border-radius: 999px;
  border: 1px solid transparent;

  background: linear-gradient(135deg, #7e7e7e 0%, #2b2b2b 100%);

  letter-spacing: 0.3px;

  overflow: hidden;
  background-clip: padding-box, border-box;
}

/* TAG HOVER */

.tag::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;

  /* background: linear-gradient(135deg, #fff 0%, #1b1b1b 75%, #111 100%); */

  background: linear-gradient(135deg, #d4d4d4 0%, #575757 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;

  /* opacity: 0; */
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* .tag:hover::after {
  opacity: 1;
} */

/* TEXT */

.accordion__content p {
  max-width: 520px;
  margin-bottom: 80px;
}

/* LEARN MORE */

.learn-more {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 18px;
  letter-spacing: 1px;

  border-bottom: 1px solid #fff;
  padding-bottom: 15px;
  width: 100%;
}

.learn-more .arrow img {
  width: 30px;
}

/* ARROW ANIMATION */

.tabs li:hover img,
.learn-more:hover img,
.accordion__title:hover img {
  animation: arrow-swipe 0.5s ease-in-out;
}

.accordion__content .gif {
  width: 70%;
  margin: 50px 0;
}

@keyframes arrow-swipe {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateX(120%);
    opacity: 0;
  }

  41% {
    transform: translateX(-120%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .services {
    padding: 80px 20px;
    gap: 30px;
  }

  .section-title img {
    width: 26px;
  }

  .services .section-title {
    font-size: 40px;
  }

  .accordion {
    margin: 20px 0;
  }

  .accordion__content {
    padding: 30px 0;
  }

  .accordion__title .title {
    font-size: 32px;
  }

  .tag {
    font-size: 13px;
  }

  .accordion__content p {
    font-size: 14px;
  }

  .accordion__content .gif {
    width: 100%;
    margin-bottom: 0;
  }

  .accordion-tabs {
    padding: 0;
  }

  .accordion__title {
    padding: 30px 0;
    gap: 0;
  }
}






.industries {
  color: #fff;
  padding: 50px 80px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.industries .section-title {
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, #e8e8e8 0%, #191919 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.industry-wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.industry-wrapper .item {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: 16px 10px;
  border-bottom: 1px solid #464646;
  cursor: pointer;
  overflow: visible;
  transition: color 0.4s ease;
}

.industry-wrapper .item .item-name-wrapper {
  display: flex;
  gap: 30px;
}

.industry-wrapper .item .item-name-wrapper .count {
  color: #777;
  font-size: 12px;
  padding-top: 2px;
}

.hover-image {
  position: absolute;
  right: 15%;
  /* top: 50%; */
  /* transform: translate(-50%, -50%); */
  width: 220px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.15s ease; /* quick fade */
}

/* Show image on hover */
.item:hover .hover-image {
  opacity: 1;
  /* transform: translate(-50%, -50%) scale(1); */
}

/* Text color change */
.item:hover {
  color: #000;
}

/* Background layer */
.industry-wrapper .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleY(0);
  transform-origin: bottom; /* Start from bottom */
  transition: transform 0.4s ease;
  z-index: 0;
}

/* On hover */
.industry-wrapper .item:hover::before {
  transform: scaleY(1);
}

/* Text above background */
.industry-wrapper .item span {
  position: relative;
  z-index: 1;
}

/* Text color change */
.industry-wrapper .item:hover,
.industry-wrapper .item:hover .item-name-wrapper .count {
  color: #000;
}

@media (max-width: 768px) {
  .industries {
    padding: 50px 20px;
  }

  .hover-image {
    display: none;
  }

  .industry-wrapper .item .item-name-wrapper {
    gap: 20px;
  }

  .industries .section-title {
    font-size: 40px;
  }
}
















/*============== Blog CSS=================== */

.articles-section {
  padding: 80px 80px;
}

/* Header */
.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.articles-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, #e8e8e8 0%, #191919 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.view-all {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.view-all svg {
  width: 35px;
  transition: all 0.5s;
}

.view-all:hover svg {
  animation: arrow-swipe 0.5s ease-in-out;
}

.view-all:hover svg path {
  stroke: #fff;
}

/* Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.articles-grid .blog-card {
  width: 100%;
  height: 280px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 25px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover::after {
  opacity: 1;
}

.articles-grid .blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.blog-card .blog-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
  z-index: 1;
}

.blog-card .blog-content h4 {
  font-size: 26px;
  transition: all 0.5s;
}

.blog-card .readmore-button {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s;
}

.blog-card .readmore-button svg {
  width: 16px;
}

.blog-card:hover .readmore-button {
  opacity: 1;
}

.blog-card:hover .blog-content {
  background-color: linear-gradient(145deg, #00000000 #000);
}

/* Responsive */

@media (max-width: 1200px) {
  .articles-section {
    padding: 70px 40px;
  }

  .articles-title {
    font-size: 40px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .articles-grid .blog-card {
    height: 575px;
  }

  .blog-card .blog-content h4 {
    font-size: 30px;
  }

  .blog-card .blog-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .articles-section {
    padding: 50px 20px;
  }

  .articles-title {
    font-size: 28px;
  }

  .articles-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .articles-grid .blog-card {
    height: 500px;
  }

  .blog-card .blog-content {
    padding: 25px 20px;
  }

  .blog-card .blog-content h4 {
    font-size: 24px;
  }

  .blog-card .blog-content p {
    font-size: 14px;
  }

  .view-all {
    font-size: 16px;
    gap: 10px;
  }

  .view-all svg {
    width: 24px;
  }

  .blog-card .readmore-button {
    opacity: 1;
  }
}

@keyframes arrow-swipe {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateX(50%);
    opacity: 0;
  }

  41% {
    transform: translateX(-50%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

















.section-container {
  padding: 50px 80px;
}

.section-title {
  /* color: #9b9b9b; */
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, #e8e8e8 0%, #191919 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.main-faq-container {
  display: flex;
  gap: 100px;
  margin: 50px 0 0 0;
}

.accordion-container {
  width: 65%;
}

/* ============================= */
/* FAQ ACCORDION STYLES */
/* ============================= */

.faq-item {
  background: #4a4a4a9e;
  border-radius: 20px;
  padding: 25px 50px;
  margin-bottom: 20px;
  border: 1px solid #5b5b5b;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 20px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-question svg {
  width: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(45deg);
}

.faq-question svg path {
  transition: stroke 0.3s ease;
}

/* When accordion is open */
.faq-item.active .faq-question svg {
  transform: rotate(-45deg);
}

/* Active arrow color */
.faq-item.active .faq-question svg path {
  stroke: #fff;
}

/* Smooth height animation */
.faq-answer {
  height: 0;
  overflow: hidden;
  transition:
    height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
  padding: 0 100px 0 0;
}

.faq-answer p {
  margin-top: 15px;
  font-size: 15px;
  color: #ddd;
  line-height: 1.6;
}

/* Active State */

.faq-item.active .faq-question h3 {
  color: #fff;
}

.faq-item.active .arrow {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* =========faq right======== */
.faq-right {
  width: 30%;
  /* height: 650px; */
  padding: 40px 40px;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.faq-right img {
  position: absolute;
  top: -40%;
  right: -30%;
  rotate: 75deg;
  width: 650px;
  opacity: 0.2;
}

.faq-right h4 {
  font-size: 26px;
}

.faq-right .bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.faq-right .bottom h2 {
  font-size: 32px;
}

.faq-right .bottom p {
  font-size: 18px;
  font-weight: 500;
}

.faq-right .bottom .contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #010101;
  width: fit-content;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  z-index: 1;
}

/* Tablet */
@media (max-width: 1024px) {
  .section-container {
    padding: 60px 40px;
  }

  .main-faq-container {
    flex-direction: column;
    gap: 60px;
  }

  .accordion-container {
    width: 100%;
  }

  .faq-right {
    width: 100%;
  }

  .faq-right img {
    width: 500px;
    top: -50%;
    right: -40%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-container {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 36px;
  }

  .main-faq-container {
    margin: 50px 0;
    gap: 40px;
  }

  .faq-item {
    padding: 20px;
    border-radius: 16px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .faq-question svg {
    width: 16px;
  }

  .faq-answer {
    padding: 0;
  }

  .faq-right {
    padding: 30px 20px;
    gap: 50px;
  }

  .faq-right h4 {
    font-size: 20px;
  }

  .faq-right .bottom h2 {
    font-size: 16px;
    margin: 20px 0 0 0;
  }

  .faq-right .bottom p {
    font-size: 14px;
  }

  .faq-right img {
    width: 400px;
    top: -30%;
    right: -20%;
  }

  .faq-right .contact-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}
