/* General */
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center {
  text-align: center;
}

.section {
  padding: 4rem 0;
}

.bg-light {
  background: #f8f9fa;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background-color: #000;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: 220px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #3b82f6;
}

/* Hamburger menu (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 0 2rem;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Background Video */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* transform: scaleX(-1); */
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  color: #fff;
  z-index: 3;
}

.hero p {
  font-size: 50px;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero span {
  font-size: 24px;
  margin-bottom: 2rem;
  display: block;
}

/* Scroll Down Indicator */
/* .scroll-down {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-family: sans-serif;
  z-index: 10;
} */

/* Arrow animation */
/* .scroll-down .arrow {
  font-size: 50px;
  animation: arrowBounce 1.5s infinite;
  font-weight: bold;
} */

/* Text animation */
/* .scroll-down span {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  animation: textBounce 1.5s infinite;
} */

/* Arrow bounce animation */
/* @keyframes arrowBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.7;
  }
  40% {
    transform: translateY(15px) scale(1.1);
    opacity: 1;
  }
  60% {
    transform: translateY(8px) scale(1);
    opacity: 0.85;
  }
} */

/* Text bounce animation (sync with arrow) */
/* @keyframes textBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  40% {
    transform: translateY(10px);
    opacity: 1;
  }
  60% {
    transform: translateY(5px);
    opacity: 0.8;
  }
} */

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 50px;
}

.btn_getintouch {
  background: #3A6AFD;
  color: #FFF;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
}

.btn_getintouch:hover {
  background: white;
  color: #000;
}

.btn_explore {
  background: #242834;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  margin-left: 10px;
}

.btn_explore:hover {
  background: white;
  color: #3A6AFD;
}

/* Features Row */
.features-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 80px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
  max-width: 220px;
}

.feature P {
  font-size: 22px;
}

.feature .bar {
  display: inline-block;
  width: 4px;
  height: 60px;
  border-radius: 6px;
  background: #3A6AFD;
}

/* About Section */
.section_1 {
  padding: 0 0 5rem;
}

#about {
  position: relative;
  background: url('assets/about_bg.png') no-repeat center center/cover;
  background-color: #252525;
  color: #fff;
  display: flex;
  align-items: flex-start;
}

/* Dark overlay */
#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#about .container {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  height: 100%;
}

/* Limit content to half */
#about .content {
  max-width: 60%;
  text-align: left;
}

/* Heading box */
.about-header h2 {
  display: inline-block;
  background: #fff;
  color: #000;
  min-width: 300px;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 16px 16px;
  margin-bottom: 70px;
}

/* Paragraphs */
#about p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 60px;
  color: #fff;
}

/* Button */
#about .link {
  display: inline-block;
  background: #3A6AFD;
  color: #fff;
  padding: 15px 20px;
  min-width: 200px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

#about .link:hover {
  background: #fff;
  color: #3A6AFD;
}

/* Clients Section */
#clients {
  background: #111;
  color: #fff;
  text-align: left;
}

#clients h2 {
  display: inline-block;
  background: #fff;
  color: #000;
  min-width: 300px;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 16px 16px;
  margin-bottom: 70px;
}

#clients p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 50px;
}

/* Client Logos Grid */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}

.client-logos img {
  max-width: 150px;
  transition: all 0.3s ease;
}

.client-logos img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Our Mission Section */
.section_3 {
  padding: 0 0 5rem;
}

#products {
  background: #111;
  color: #fff;
  text-align: left;
}

#products h2 {
  display: inline-block;
  background: #fff;
  color: #000;
  min-width: 300px;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 16px 16px;
  margin-bottom: 50px;
}

.heading {
  font-size: 40px;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

/* Carousel container */
#products .grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 30px;
}

/* Hide scrollbar */
#products .grid::-webkit-scrollbar {
  display: none;
}

#products .grid {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Individual card styling */
#products .card {
  flex: 0 0 23%;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: #fff;
}

#products .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

#products .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Carousel wrapper to position arrows */
.section_3 .container {
  position: relative;
}

/* Arrows styling */
.section_3 .arrow {
  position: absolute;
  top: 75%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Hover effect */
/* .section_3 .arrow:hover {
  background: rgba(255, 76, 96, 0.9);
  transform: translateY(-50%) scale(1.1);
} */

/* Left and Right positions */
.section_3 .arrow.left {
  left: -60px;
}

.section_3 .arrow.right {
  right: -60px;
}

@media (max-width: 900px) {
  .section_3 .arrow {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  .section_3 .arrow.left {
    left: -15px;
  }

  .section_3 .arrow.right {
    right: -15px;
  }
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  #products .card {
    flex: 0 0 30%;
  }
}

@media (max-width: 900px) {
  #products .card {
    flex: 0 0 45%;
  }
}

@media (max-width: 600px) {
  #products .card {
    flex: 0 0 80%;
  }
}

/* Tools Section */
#tools {
  background: #111;
  color: #fff;
  text-align: left;
}

#tools h2 {
  display: inline-block;
  background: #fff;
  color: #000;
  min-width: 300px;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 16px 16px;
  margin-bottom: 70px;
}

#tools p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 50px;
}

/* Client Logos Grid */
.tools-imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.tools-imgs img {
  max-width: 138px;
  transition: all 0.3s ease;
}

.tools-imgs img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* FAQ section */
#faq {
  position: relative;
  padding: 80px 20px;
  color: #fff;
  background-color: #00060f;
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 200% auto;
  overflow: hidden;
}

.faq-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.faq-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.faq-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(-1036.5px);
}

#faq .container {
  position: relative;
  z-index: 2;
  margin: 80px auto;
}

/* Heading & FAQ items */
#faq h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 30px;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 0 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.faq-header span {
  font-size: 20px;
  color: #fff;
}

.faq-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 400px;
}

.faq-search input {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.faq-search input::placeholder {
  color: rgb(185, 185, 185);
}

.faq-search button {
  background: transparent;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-search button i {
  color: #fff;
  font-size: 18px;
}

.faq-item {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  max-width: 60%;
}

.faq-question {
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 10px;
}


/* Responsive section */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  /* .container {
    max-width: 768px;
  } */
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}


/* Responsive  */
@media (max-width: 992px) {
  .nav-links {
    gap: 1.5rem;
  }
}

/* Responsive: mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    /* height of navbar */
    right: -100%;
    height: calc(100vh - 70px);
    width: 100%;
    text-align: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero p {
    font-size: 40px;
  }

  .hero span {
    font-size: 20px;
  }

  .feature P {
    font-size: 20px;
  }

  .section_3 .arrow.left {
    left: -33px;
    top: 74%;
  }

  .section_3 .arrow.right {
    right: -33px;
    top: 74%;
  }

  #about .content {
    max-width: 100%;
  }

  #about p {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .faq-header span {
    font-size: 18px;
  }

  .faq-header {
    gap: 100px;
  }

  .faq-item {
    max-width: 100%;
  }

  #about .link {
    padding: 7px 25px;
    min-width: 145px;
  }

  .heading {
    font-size: 30px;
  }

  #faq h2 {
    font-size: 32px;
  }
}


/* Extra small screens */
@media (max-width: 480px) {

  .navbar {
    padding: 1rem;
  }

  .hero p {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 600;
  }

  .hero span {
    font-size: 16px;
  }

  .hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .btn_getintouch {
    padding: 0.5rem 1rem;
    font-size: 13px;
    width: 190px;
    height: 40px;
  }

  .btn_explore {
    padding: 0.5rem 1rem;
    font-size: 13px;
    width: 240px;
    height: 40px;
    margin-left: 0;
  }

  .feature P {
    font-size: 16px;
  }

  .features-row {
    flex-direction: column;
    margin-top: 60px;
  }

  .nav-links {
    width: 100%;
    padding: 1.5rem;
    gap: 1.5rem;
    align-items: center;
  }

  .logo img {
    height: 40px;
    width: 180px;
  }

  #about .container {
    padding: 0 35px;
  }

  .about-header h2 {
    min-width: 210px;
    font-size: 16px;
    margin-bottom: 40px;
  }

  #about p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  #about .content {
    max-width: 100%;
  }

  #about .link {
    padding: 7px 25px;
    min-width: 145px;
  }

  #products .container {
    padding: 0 35px;
  }

  #products h2 {
    min-width: 210px;
    font-size: 16px;
    margin-bottom: 40px;
  }

  .heading {
    font-size: 20px;
  }

  #products .card img {
    height: 150px;
  }

  .section_3 .arrow.left {
    left: 38px;
    top: 72%;
  }

  .section_3 .arrow.right {
    right: 38px;
    top: 72%;
  }

  #tools .container {
    padding: 0 35px;
  }

  #tools h2 {
    min-width: 210px;
    font-size: 16px;
    margin-bottom: 40px;
  }

  .grid3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-imgs img {
    max-width: 110px;
  }

  #faq .container {
    margin: 0;
    padding: 0 20px;
  }

  #faq h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .faq-header span {
    font-size: 18px;
  }

  .faq-header {
    margin: 0 0 20px;
  }

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

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

  .faq-item {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .faq-bg {
    width: 100%;
  }

  .faq-bg img {
    transform: none;
    object-fit: cover;
  }

}

@media (max-width: 375px) {
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* Very small screens (320px) */
@media (max-width: 320px) {
  .nav-links {
    width: 160px;
    padding: 1rem;
    gap: 2px;
  }

  .logo img {
    height: 35px;
    width: 150px;
  }
}