* {
  border: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

:root {
  --text-black: #141414;
  --text-gray: #404040;
  --text-light-gray: #dbdbdb;
  --text-lighter-gray: #f2f2f2;
  --text-white: #f2f2f2;
  --background-white: #fafafa;
  --background-black: #262626;
  --lighter-blue: #8cb7fc;
  --light-blue: #2f77eb;
  --dark-blue: #0049ca;
}

body,
button,
input,
textarea {
  font-family: Inter, Arial, sans-serif;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 60px;
  background-color: var(--light-blue);
  color: var(--text-white);
  border-radius: 60px;
  margin-top: 40px;
  cursor: pointer;
}

.button:hover {
  border: 2px solid var(--lighter-blue);
}

html,
body {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background: var(--background);
  color: var(--text-black);
}

a {
  color: var(--text-black);
  text-decoration: none;
  cursor: pointer;
}

ul li {
  list-style: none;
}

textarea {
  resize: none;
}

.link-text-effect:hover {
  color: var(--dark-blue);
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.section-gap {
  margin-top: 120px;
}

.content-gap {
  margin-top: 40px;
}

.content-gap-s {
  margin-top: 20px;
}

.letter-gap {
  margin-right: 10px;
}

.text-white {
  color: var(--text-light-gray);
}

.text-blue {
  color: var(--light-blue);
}

.text-light-blue {
  color: var(--lighter-blue);
}

.text-xl {
  width: 900px;
  max-width: 100%;
  font-size: 25px;
  line-height: 1.2;
  font-weight: bold;
}

.text-m-width {
  width: 100%;
  max-width: 900px;
}

.text-m {
  font-size: 22px;
  font-weight: normal;
  line-height: 1.3;
}

.text-s {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.3;
}

.text-width-m {
  max-width: 800px;
  width: 100%;
}

.desktop-menu-items li a:hover {
  color: var(--dark-blue);
}

.smooth-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--text-black);
}

.smooth-underline::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px; /* Thickness of the underline */
  bottom: -10px;
  left: 0;
  background-color: var(--background-black);
  transform: scaleX(0); /* Start hidden/small */
  transform-origin: bottom left; /* Grow from the left side */
  transition: transform 0.3s ease-out; /* The "smooth" part */
}

.smooth-underline:hover::after {
  transform: scaleX(1); /* Expand to full width */
}

/* Menu Section */
.mobile-menu-icon {
  display: none;
}

.mobile-menu-items {
  display: none;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu .logo img {
  max-width: 180px;
  height: auto;
}

.menu .desktop-menu-items {
  display: flex;
  gap: 20px;
}

.sec-02-content {
  display: flex;
  justify-content: center;
}

.sec-02-content video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.sec-03-content img {
  width: 100%;
  height: auto;
}

/* image slideshow */

.slideshow-container {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
}

.slideshow-track {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  justify-items: center;
  transition: transform 0.5s ease-in-out; /* Smooth slide animation */
  max-width: 95%;
  width: 100%;
  height: auto;
}

.slide {
  min-width: 100%; /* Ensures each slide occupies the full container width */
  box-sizing: border-box;
}

.slide-card {
  position: relative;
}

.slide-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Creates the inner shadow overlaying the image */
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.719) 20%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none; /* Allows users to still click or drag the image below */
}

.slide-title {
  position: absolute;
  bottom: 10%;
  left: 40%;
  transform: translate(-50%);
  color: white;
  font-size: 22px;
  z-index: 10;
  padding: 10px;
  border-radius: 20px;
  width: 60%;
  text-align: left;
}

.slide img {
  width: 100%;
  height: 600px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--text-light-gray);
  border-radius: 10px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 15px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 15px;
}
.next-btn {
  right: 15px;
}

.services {
  background-color: #0d1738;
  padding-top: 10px;
  padding-bottom: 80px;
}

.sec-04-content-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
  align-content: center;
  background-color: #0d1738;
  border-radius: 15px;
}

.sec-04-content-text {
  padding: 40px;
}

.sec-04-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.sec-04-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hr-line::after {
  content: ""; /* Required to make the pseudo-element appear */
  display: block;
  border-bottom: 1px solid var(--lighter-blue);
  margin-top: 100px; /* Optional spacing */
}

.website-icons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.website-icons img {
  max-width: 120px;
  height: auto;
  border-radius: 5px;
}

.icon-active img {
  background-color: #0a5fe7;
}

.web-icon:hover {
  cursor: pointer;
}

.brand-icon:hover {
  cursor: pointer;
}

.video-icon:hover {
  cursor: pointer;
}

/* Form */

label {
  display: block;
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
}

input,
textarea,
select {
  display: block;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  margin-top: 10px;
  padding: 10px;
}

input {
  border: 1px solid var(--text-light-gray);
  border-radius: 10px;
  width: 800px;
  height: 50px;
}

form select {
  border: 1px solid var(--text-light-gray);
  border-radius: 10px;
  width: 800px;
  height: 50px;
}

textarea {
  border: 1px solid var(--text-light-gray);
  border-radius: 10px;
  width: 800px;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-gray);
  font-family: inherit;
  opacity: 0.5;
  font-size: 18px;
}

input:focus,
textarea:focus {
  border: 2px solid var(--light-blue);
}

/* FAQ */

.faq-flexbox {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
}

.faq-flexbox span img {
  width: 20px;
  height: auto;
}

.sec-05-content-group::after {
  content: ""; /* Required to make the pseudo-element appear */
  display: block; /* Ensures the line takes its own space below */
  border-bottom: 1px solid var(--background-black);
  margin-top: 20px; /* Optional spacing */
}

.sec-05-content-answer {
  color: var(--text-gray);
}

.social-media-content ul {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-content ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.back-to-top {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border: 1px solid var(--text-black);
  border-radius: 10px;
  padding: 10px;
}

.back-to-top p:hover {
  cursor: pointer;
}

.footer-content-02::after {
  content: ""; /* Required to make the pseudo-element appear */
  display: block; /* Ensures the line takes its own space below */
  border-bottom: 1px solid var(--background-black);
  margin-top: 80px; /* Optional spacing */
}

.footer-content-03 {
  display: flex;
  justify-content: center;
}

.footer-gap {
  padding: 20px;
}

/* JavaScript Toggle Class */
.hidden {
  display: none;
}

.flip {
  transform: scaleY(-1);
  transition: transform 0.1s ease-in-out;
}

/* Mobile responsive breakpoints */

@media screen and (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  .button {
    width: 250px;
    height: 45px;
  }

  .overflow {
    overflow-y: hidden;
  }

  .container {
    padding: 25px;
  }

  .text-xl {
    font-size: 20px;
    line-height: 1.3;
    font-weight: bold;
  }

  .text-m {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
  }

  .text-s {
    font-size: 17px;
    font-weight: normal;
    line-height: 1.5;
  }

  .section-gap {
    margin-top: 40px;
  }

  .sec-01-content {
    margin-top: -100px;
  }

  .menu .desktop-menu-items {
    display: none;
  }

  .menu .logo {
    z-index: 1000;
  }

  .menu .logo img {
    max-width: 150px;
    height: auto;
  }

  .mobile-menu-icon {
    width: 35px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
  }

  .mobile-menu-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--text-black);
    border-radius: 3px;
    transition: all 0.2s ease-in-out;
    transform-origin: left center;
  }

  .mobile-menu-icon.active span:nth-child(1) {
    position: relative;
    top: -7px;
    transform: rotate(45deg);
  }

  .mobile-menu-icon.active span:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  .mobile-menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .mobile-menu-items {
    display: block;
  }

  .mobile-menu-overlay {
    background-color: var(--background-white);
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 500;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .mobile-menu-overlay.active {
    transform: translateY(0);
  }

  .mobile-menu-items ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    left: 0;
    top: 120;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .mobile-menu-items ul.active {
    transform: translateX(40px);
  }

  .mobile-social-media-content {
    position: fixed;
    bottom: 0;
    margin-bottom: 40px;
    z-index: 1000;
  }

  .mobile-social-media-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .mobile-contact-content {
    position: fixed;
    bottom: 80px;
    z-index: 1000;
  }

  .mobile-contact-content ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
  }

  .slide-title {
    left: 115px;
    width: 80%;
  }

  .sec-04-content-text {
    padding: 10px;
  }

  .sec-04-content-group {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .website-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
  }

  .web-icon-title p {
    font-size: 16px;
    text-align: center;
  }

  .website-icons img {
    max-width: 60px;
    height: auto;
    border-radius: 5px;
    border: 0.5px solid var(--lighter-blue);
  }

  .arrow img {
    max-width: 14px;
    height: auto;
  }

  input,
  form select,
  textarea {
    width: 100%;
  }
}
