@import url(main_css.css);

* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  scroll-behavior: smooth;
}

body {
  background-image: var(--bg-img);
  background-repeat: repeat;
  background-size: contain;
  overflow-x: hidden;
}

/* font awesome css */

.fa-arrow-right {
  transform: rotate(-45deg);
}

/* scroll to top */
.scroll-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.95rem 1.2rem;
  background-color: var(--white);
  color: var(--primary-text);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  /* display: none; */
}

.scroll-to-top:hover {
  background-color: var(--muted-color);
}

.scroll-to-top .fa-solid {
  margin-left: 0px;
  font-size: 0.85rem;
}

/* modal section starts here */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 999;
}

.modal {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
}

.modal-header {
  padding: 0.75rem 1rem;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--primary-text);
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
}

.modal-header .fa-xmark {
  margin-left: 0px;
  font-size: 0.75rem;
  line-height: 30px !important;
  vertical-align: middle;
}

.close-btn {
  cursor: pointer;
  font-size: 1.5rem;
  border: none;
  background: none;
}

.modal-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1 1 auto;
  color: var(--secondary-text);
  font-size: 0.85rem;
  line-height: 150%;
}

.modal-footer {
  padding: 1rem;
  background: var(--white);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
}

.modal-footer a {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  background: var(--white);
  color: var(--primary-text);
  transition: 0.3s;
  border: 1px solid var(--primary-text);
}

@media (max-width: 480px) {
  .modal {
    max-width: 100%;
  }
  .modal-body {
    max-height: 60vh;
  }
}
/* modal section ends here */

/* navbar starts here */
.menu-btn {
  text-align: center;
  padding: 0.6rem;
  border: 1px solid var(--border);
  display: none;
  border-radius: 8px;
}

.fa-bars {
  font-size: 1.2rem !important;
  margin-left: 0 !important;
  color: var(--primary-text);
}

.menu-btn.active {
  display: none;
}

.navbar-responsive {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: absolute;
  background-color: var(--white);
  top: 75px;
  box-shadow: 0px 10px 5px 2px rgba(0, 0, 0, 0.05);
  display: none;
  transition: all 0.3s ease-in-out;
}

.navbar-responsive ul {
  width: 100%;
}

.navbar-responsive ul li {
  list-style: none;
  display: block;
  margin: 1rem;
}

.navbar-responsive a {
  width: 100%;
  text-decoration: none;
  color: var(--primary-text);
  padding: 12px 16px;
  display: block;
  position: relative;
}

.nav_header {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(20px);
  position: fixed;
  z-index: 9;
}

.header_all {
  width: calc(100% + 20px);
  max-width: 1440px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo span {
  font-size: 24px;
  line-height: 24px;
}

.navbar ul li {
  list-style: none;
  display: inline-flex;
  margin-left: 16px;
}

.navbar a {
  text-decoration: none;
  color: var(--primary-text);
  padding: 12px 16px;
  display: inline-block;
  position: relative;
}

.navbar a::before {
  content: "";
  position: absolute;
  width: 0px;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: var(--primary-text);
  transition: all 0.3s ease-in-out;
}

.navbar a:hover::before {
  width: 100%;
}

.fa-solid {
  margin-left: 8px;
  font-size: 10px;
  line-height: 20px !important;
}

/* navbar ends starts here */

/* banner starts here */
.banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner_container {
  width: 100%;
  max-width: 1440px;
  margin: 90px auto 0;
  display: flex;
  flex-flow: column;
  gap: 36px;
  padding: 3.125rem;
}

.banner_container p {
  color: var(--secondary-text);
  line-height: 170%;
  font-size: 20px;
}

.banner_container .text-part {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.text-part span {
  color: var(--secondary-text);
}

.banner_container h3 {
  font-size: 72px;
  font-weight: 400;
  color: var(--primary-text);
}

.CTAs a {
  color: var(--primary-text);
  display: inline-block;
  padding: 16px;
  margin: 0 10px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  background-color: var(--white);
  border: 1px solid var(--primary-text);
}

.CTAs a:hover {
  transform: translateY(-2px);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
}

.CTAs a .fa-solid {
  line-height: 20px !important;
  font-size: 12px;
}

.CTAs a:nth-child(1) {
  margin-left: 0px;
}

.CTAs p {
  color: var(--secondary-text);
  line-height: 170%;
  font-size: 14px;
  margin: 24px 0;
}

.brands-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-direction: column;
}

.img-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand-img {
  width: 150px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.brand-img h2 {
  font-size: 1.755rem;
  font-weight: 500;
  color: var(--primary-text);
}

.brand-img p {
  color: var(--secondary-text);
  font-size: 14px;
}

.brands-container a .fa-solid {
  line-height: 20px !important;
  font-size: 12px;
}

.brands-container a:hover {
  text-decoration: underline;
}
/* banner section ends here */

/* image parallax section starts here */
.img-parallax {
  position: relative;
  height: 50vh;
  background-image: url("/images_final/ForWebsite/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: background-position;
}
/* image parallax section ends here */

/* featured work section starts here */
.featured-work {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-work-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.f-work-container h2 {
  font-size: 1.35rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--primary-text);
}

.f-work-container h2::before {
  content: "";
  display: block;
  background-color: var(--primary-color);
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.work-img {
  width: 100%;
  height: 100%;
}

.f-work {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.f-work > div {
  width: 50%;
}

.work-description h1 {
  margin: 0.8rem 0;
  font-size: 3rem;
  font-weight: 500;
  color: var(--primary-text);
}

.work-description p {
  font-weight: 300;
  color: var(--secondary-text);
  line-height: 150%;
  margin: 0.85rem 0;
}

.work-description ul {
  font-weight: 300;
  color: var(--secondary-text);
  line-height: 150%;
  padding-left: 1.5rem;
}
/* featured work section ends here */

/* Choosing service section starts here */
.choosing-service {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--bg-gradient);
}

.ch-service-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.ch-service-container h2 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--white);
}

.ch-service-container p {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 150%;
}

.ch-service-container h2::before {
  content: "";
  display: block;
  background-color: white;
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.service-all {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 1.755rem;
}

.service {
  width: 30%;
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--white);
  border: 1px solid var(--border);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
}

.service span {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 20px;
}

.service span .fa-solid {
  font-size: 1rem;
  color: var(--primary-text);
  margin-left: 0;
}

.service h3 {
  font-size: 1.575rem;
  margin: 8px 0;
  font-weight: 400;
  color: var(--primary-text);
}

.service-all .service p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--secondary-text);
  line-height: 150%;
}
/* Choosing service section ends here */

/* comparison section starts here */
.comparison {
  width: 100%;
  padding: 1rem;
}

.comp-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.comp-container h2 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--primary-text);
}

.comp-container h2::before {
  content: "";
  display: block;
  background-color: var(--primary-color);
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.comparison-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: var(--card);
}

/* both images fixed and cover the container */
.comparison-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

/* top (before) image is clipped via clip-path inset */
.img-before {
  clip-path: inset(0 50% 0 0); /* starts at 50% */
  -webkit-clip-path: inset(0 50% 0 0);
}

/* Labels */
.label {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-text);
  font-weight: 600;
  border-radius: 8px;
  z-index: 5;
  font-size: 0.85rem;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}

.label.before {
  left: 12px;
}

.label.after {
  right: 12px;
}

/* slider (bigger hit area) */
.slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 28px; /* larger hit area for easy dragging */
  cursor: ew-resize;
  z-index: 6;
  outline: none;
  touch-action: none; /* use pointer events for touch */
}

/* thin visible line inside the slider */
.slider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
  border-radius: 3px;
}

/* handle icon */
.slider::before {
  content: "⇔";
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgb(255, 255, 255);
  border-radius: 8px;
  font-size: 14px;
  color: #222;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 9;
}

/* focus style for accessibility */
.slider:focus::before {
  box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.18);
}

/* responsive tweak */
@media (max-width: 520px) {
  .label {
    font-size: 13px;
    padding: 5px 8px;
  }
  .slider {
    width: 40px;
  } /* easier to grab on mobile */
  .slider::before {
    font-size: 13px;
  }
}
/* comparison section ends here */

/* Wh-choosing service section starts here */
.wh-choosing-service {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-ch-service-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.wh-ch-service-container h2 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--primary-text);
}

.wh-ch-service-container p {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 150%;
}

.wh-ch-service-container h2::before {
  content: "";
  display: block;
  background-color: var(--primary-color);
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.wh-service-all {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 1.755rem;
}

.wh-service {
  width: 30%;
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--white);
  border: 1px solid var(--border);
}

.wh-service-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.wh-service span {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 20px;
}

.wh-service span .fa-solid {
  font-size: 1rem;
  color: var(--primary-text);
  margin-left: 0;
}

.wh-service-all .wh-service p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--primary-text);
  line-height: 150%;
}
/* Wh-choosing service section ends here */

/* portfolio section starts here */
.portfolio {
  width: 100%;
  padding: 1rem;
}

.gallery-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem;
}

.gallery-container h2 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--primary-text);
}

.gallery-container h2::before {
  content: "";
  display: block;
  background-color: var(--primary-color);;
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}
/* portfolio section ends here */

/* FAQs section starts here */
.FAQs {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--bg-gradient);
}

.FAQs-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.FAQs-container h3 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--white);
}

.FAQs-container h3::before {
  content: "";
  display: block;
  background-color: White;
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.accordion {
  overflow: hidden;
}

.accordion-item {
  margin: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  padding: 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h2 {
  font-weight: 300;
  color: var(--white);
}

.accordion-header .fa-chevron-down {
  color: var(--white);
  transition: all 0.3s ease-in-out;
}

.fa-chevron-down.active {
  transform: rotate(-180deg);
}

.accordion-body {
  display: none;
  color: var(--white);
  padding: 15px 20px;
  background: transparent;
  line-height: 150%;
}

.accordion-header.active {
  background: transparent;
}
/* FAQs section ends here */

/* footer section starts here */
footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--muted-color);
}

.footer-container {
  width: 100%;
  max-width: 1440px;
  padding: 3rem 2rem;
}

.footer-container p {
  font-size: 1rem;
  line-height: 150%;
  color: var(--secondary-text);
}

.footer-container h2 {
  font-size: 2.225rem;
  line-height: 150%;
  color: var(--primary-text);
  font-weight: 500;
  margin: 0.55rem 0;
}

.footer-container a:hover {
  transform: translateX(5px);
}

.footer-btm-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  width: 100%;
  max-width: 1440px;
  padding: 0.75rem 2rem;
}

.footer-bottom h3 {
  line-height: 150%;
  color: var(--primary-text);
  font-weight: 400;
  margin: 0.55rem 0;
  text-align: center;
  font-size: 0.85rem;
}
/* footer section starts here */

/* media query */

@media (max-width: 800px) {
  .nav_header {
    padding: 1rem;
  }

  .navbar ul {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .banner_container h3 {
    font-size: 2.5rem;
  }

  .banner_container p {
    font-size: 0.7rem;
  }

  .CTAs a {
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 0.7rem;
  }

  .f-work-container,
  .ch-service-container,
  .wh-ch-service-container,
  .comp-container {
    padding: 1rem;
  }

  .work-description h1,
  .ch-service-container h2,
  .wh-ch-service-container h2,
  .comp-container h2 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .f-work {
    flex-direction: column;
    gap: 1.5rem;
  }

  .f-work > div {
    width: 100%;
  }

  .service-all,
  .wh-service-all {
    gap: 1rem;
  }

  .service,
  .wh-service {
    width: 100%;
  }

  .gallery,
  .gallery-container,
  .comparison {
    padding: 0;
  }

  .FAQs-container h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
  }

  .banner_container,
  .FAQs-container {
    padding: 1.5rem;
  }

  .accordion-header h2 {
    font-size: 1.575rem;
    margin-bottom: 1rem;
  }

  .work-description span {
    font-size: 0.6rem;
    margin-left: 0.3rem;
  }

  .accordion-header h2 {
    font-size: 1rem;
  }

  .accordion-header {
    padding: 0.65rem 0;
  }

  .accordion-body {
    padding: 0 0 1rem;
  }

  .accordion-body p {
    font-size: 0.75rem;
    font-weight: 200;
  }

  .footer-container h2 {
    font-size: 1.25rem;
  }
}
