* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Degular-medium', sans-serif;
  /* overflow-x: hidden; */
}

body {
  overflow-x: hidden;

}

/* hero-section */
.hero-background {
  width: 100vw;
  background-image: url(../public/images/hero-background.png);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 70px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* gap: 60px; */
}

/* hero-header */
.header {
  display: flex;
  width: 1063px;
  height: 73px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  position: fixed;
  top: 30px;
  background-color: #ffffff;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0px 4px 20px rgba(4, 4, 4, 0.493);
}

.header .swiftier-header-logo {
  position: relative;
  width: 130px;
  height: 60px;
  object-fit: cover;
}

.header .header-div {
  display: inline-flex;
  gap: 24px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.header .header-div-2 {
  display: inline-flex;
  gap: 8px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.header .header-text {
  position: relative;
  width: fit-content;
  /* font: 20px 'degular-semi-bold', 'sans-serif'; */
  font-family: 'Degular-medium', sans-serif;
  /* font-style: italic; */
  font-weight: 500;
  color: #000000;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.header .header-div-3 {
  display: inline-flex;
  gap: 16px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.header .linked {
  font-size: 16px;
  transition: all 0.3s ease;
  /* Smooth transition */
}

.header .linked:hover {
  color: #0e0c0c;
  transform: scale(1.03);
  /* Slightly expand the button */
  transition: all 0.3s ease;
  /* Smooth transition */
}

.header .linked:active {
  transform: scale(0.98);
}

.header .div-wrapper {
  display: flex;
  width: 135px;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Smooth transition */
}


.header .header-text-2:hover {
  color: #0e0c0c;
  transform: scale(1.01);
  /* Slightly expand the button */
  transition: all 0.3s ease;
  /* Smooth transition */
}

.header .header-text-2 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: 'Degular-medium', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #1e1e1e;
  letter-spacing: 0;
  line-height: normal;
}

.header .div-wrapper-2 {
  display: flex;
  width: 135px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  background-color: #39b54a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Smooth transition */
}

.header .div-wrapper-2:hover {
  background-color: #2e9a3d;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  /* Add shadow effect */
  transform: scale(1.01);
  /* Slightly expand the button */
  transition: all 0.3s ease;
  /* Smooth transition */
}

.header .div-wrapper-2:active {
  transform: scale(0.98);
}

.header .header-text-3 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: 'Degular-medium', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0;
  line-height: normal;
}

.header a {
  text-decoration: none;
  color: inherit;
}

/* ========== UPDATED DROPDOWN STYLES START HERE ========== */
/* Desktop Products Dropdown (unchanged) */
.header-div-2.products-dropdown {
  position: relative;
  cursor: pointer;
}

.products-submenu {
  position: absolute;
  top: 100%;
  left: -300px;
  width: 1150px;
  height: 200px;
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  /* flex-direction: column; */
  justify-content: space-evenly;
  gap: 8px;
  z-index: 100;
}

.products-submenu a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 25px 10px;
  /* font-family: gulfs-display-normal, sans-serif; */
  /* border-radius: 4px; */
}

.products-submenu .products {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* justify-content: center; */
  gap: 0px;
  position: relative;
}

.products-submenu .products img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

.products-submenu .products:last-of-type img  {
  position: absolute;
  top: 55%;
}

.products-submenu a:hover {
  background-color: #f5f5f5;
}

.header-div-2.products-dropdown:hover .products-submenu {
  display: flex;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.header-div-2.products-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile Toggle Button */
.toggle_btn {
  color: #589442;
  font-size: 20px;
  cursor: pointer;
  display: none;
  transition: linear 0.5s;
}

.toggle_btn:hover {
  scale: 1.08;
}

/* Mobile Menu - Completely redesigned */
.dropdown_menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: #FFFFFF;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-out;
  z-index: 1000;
  padding-top: 80px;
  overflow-y: auto;

}

.dropdown_menu.open {
  right: 0;
}

/* Close button (X icon) */
.dropdown_menu::before {
  content: "\f00d";
  font-family: 'Degular-medium', sans-serif;
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #589442;
  cursor: pointer;
}

/* Menu items */
.dropdown_menu li {
  padding: 12px 20px;
  transition: background-color 0.2s;
  list-style: none;
}

.dropdown_menu li:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.dropdown_menu li:last-child {
  margin-top: 20px;
}

.dropdown_menu li:hover {
  background-color: #f5f5f5;
}

/* Nested Products Dropdown - Mobile */
.dropdown-products {
  position: relative;
}

.dropdown-products-submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  background-color: #f8f8f8;
  margin: 5px 0;
  border-radius: 5px;
  max-height: 0;
  /* overflow: hidden; */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.dropdown-products-submenu .products-drop {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  /* gap: 0px; */
}

.dropdown-products-submenu .products-drop img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.dropdown-products.active .dropdown-products-submenu {
  display: flex;
  max-height: 250px;
  padding: 10px;
}

/* Action buttons */
.action_btn {
  background-color: transparent;
  color: #589442 !important;
  font-weight: 500 !important;
}

.action_btn1 {
  background-color: #39b54a !important;
  color: white !important;
  border-radius: 6px !important;
  margin-top: 10px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease;
  /* Smooth transition */
  cursor: pointer;
}

.action_btn1:hover {
  background-color: #2e9a3d;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  /* Add shadow effect */
  transform: scale(1.01);
  /* Slightly expand the button */
  transition: all 0.3s ease;
  /* Smooth transition */
}

.action_btn1:active {
  transform: scale(0.98);
}

/* main page */
.hero-main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-left: 100px;
    width: 100vw;
    background-image: url(../public/images/hero-background.png);
    background-size: cover;
    background-position: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 50%;
  max-width: 660px;
  padding-top: 70px;
}

.hero-img {
  height: 45px;
  width: 287px;
  border-radius: 50px;
  object-fit: cover;
}

.hero-text1 {
  max-width: 740px;
}

.hero-text1 h1 {
  font-size: 68px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.52) 100%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-family: 'Degular-bold', sans-serif;
  font-weight: 700;
  color: transparent;
  letter-spacing: -4px;
  margin-bottom: 20px;
}

.hero-text2 {
  font-size: 18px;
  font-weight: 200;
  color: white;
  /* margin-bottom: 20px; */
  line-height: 30px;
}

.hero-btn1 {
  display: flex;
  align-items: center;
  /* justify-content: space-evenly; */
  gap: 15px;
  background-color: #39b54a;
  font-size: 18px;
  font-weight: 500;
  color: white;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Smooth transition */
}

.hero-btn1:hover {
  background-color: #2e9a3d;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  /* Add shadow effect */
  transform: scale(1.01);
  /* Slightly expand the button */
  transition: all 0.3s ease;
  /* Smooth transition */
}

.hero-btn1:active {
  transform: scale(0.98);
}

.hero-text3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: white;
  gap: 35px;
  padding-top: 35px;
}

.hero-text3 h3 {
  color: white;
  font-weight: 200;
  font-size: 14px;
}

.featured-in {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  width: 50%;
  padding-top: 80px;
}

.hero-image img {
  width: 100%;
}

.hero-image1 {
  position: absolute;
  top: 20%;
  left: 9%;
  width: 177px;
  height: 59px;
  transform: rotate(-4.341deg);
  /* object-fit: cover; */
}

.hero-image1 img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  /* transform: rotate(4.341deg); */
}

.hero-image2 {
  position: absolute;
  top: 22%;
  right: 11%;
  width: 195px;
  height: 90px;
  /* transform: rotate(15.695deg); */
  /* object-fit: cover; */
}

.hero-image2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image4 {
  position: absolute;
  bottom: 26%;
  left: 5%;
  width: 193px;
  height: 90px;
  /* object-fit: cover; */
}

.hero-image4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image5 {
  position: absolute;
  bottom: 36%;
  right: 15%;
  width: 193px;
  height: 93px;
  /* object-fit: cover; */
}

.hero-image5 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-header-image {
  width: 100%;
  text-align: center;
  display: none;
}

/* ===== 3. Download Modal ===== */
.download-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  font-family: 'Degular-medium', sans-serif;
  backdrop-filter: blur(5px);
  /* subtle blur effect */
  transition: opacity 0.3s ease;
}

.modal-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  background: #faf4eb;
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  height: 400px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.modal-text {
  text-align: left;
  margin-bottom: 20px;
}

.modal-text h3 {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 500;
}

.modal-text h3 span {
  font-size: 44px;
  margin-bottom: 8px;
  font-weight: 700;
}

.modal-text p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-form .choose-country {
  display: flex;
  align-items: center;
  gap: 10px;
  /* background-color: #f8f8f8; */
  /* padding: 12px; */
  border-radius: 6px;
}

.download-form .choose-country .country-code {
  display: flex;
  align-items: center;
  gap: 5px;
  /* background-color: #f8f8f8; */
  padding: 8px;
  border-radius: 50px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.download-form .choose-country .country-code img {
  width: 25px;
  height: 25px;
}

.download-form input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.modal-content img {
  width: 100%;
  height: 400px;
  /* margin-top: 20px; */
  /* padding-right: 70px; */
}

@media (max-width: 1024px) {
  .hero-background {
    padding: 100px 0px 20px 0px;
  }

  .header {
    max-width: 900px;
    width: 100%;
  }

  .hero-text1 h1 {
    font-size: 48px;
  }

  .products-submenu {
  top: 100%;
  left: -300px;
  width: 950px;
}
}

@media (max-width: 768px) {
  .header {
    max-width: 720px;
    width: 100%;
  }

  .hero-main {
    width: 100vw;
    flex-direction: column;
    gap: 30px;
    padding: 0 30px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-image {
    width: 100%;
  }

  .hero-text3 {
    padding-top: 30px;
  }

  .products-submenu {
  top: 100%;
  left: -190px;
  width: 700px;
  height: 220px;
}
}

@media (max-width: 520px) {
  .header {
    max-width: 350px;
    width: 100%;
  }

  .header .header-div-3 {
    display: none;
  }

  .header .header-div {
    display: none;
  }

  /* Mobile dropdown products */
  .dropdown-products {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
  }

  .dropdown-products-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
    cursor: pointer;
  }

  .dropdown-products-submenu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    margin-top: 5px;
  }

  .dropdown-products-submenu a {
    padding: 8px 0;
    color: #333;
    text-decoration: none;
  }

  .dropdown-products.active .dropdown-products-submenu {
    display: flex;
  }

  .dropdown-products.active .mobile-dropdown-arrow {
    transform: rotate(90deg);
  }

  .mobile-dropdown-arrow {
    transition: transform 0.3s ease;
  }

  .toggle_btn {
    display: block;
    /* margin-right: 3rem; */
  }

  .dropdown_menu {
    display: block;
    text-align: center;
  }

  .modal-content {
    padding: 10px;
    width: 85%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .modal-content img {
    width: 200;
    height: 200px;
    margin-top: 0;
    padding-right: 0;
  }

  .modal-text h3 {
    font-size: 14px;
  }

  .modal-text h3 span {
    font-size: 34px;
    /* margin-bottom: 8px; */
  }

  .modal-text p {
    font-size: 10px;
  }

  .download-form .choose-country {
    gap: 5px;
  }

  .download-form .choose-country .country-code img {
    width: 20px;
    height: 20px;
  }

  .hero-main {
    padding: 0;
  }

  .hero-text {
    padding: 50px 30px;
    text-align: center;
    align-items: center;
  }

  .hero-text1 h1 {
    margin: 0;
  }

  .curly-arrow {
    display: none;
  }

  .hero-text3 {
    display: none;
  }

  .hero-image {
    padding-left: 10px;
  }

  .hero-image1 {
    width: 150px;
  }

  .hero-image1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-image2 {
    width: 150px;
    top: 20%;
    right: 5%;
  }

  .hero-image4 {
    width: 150px;
  }

  .hero-image5 {
    width: 150px;
    bottom: 30%;
    right: 5%;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #39b54a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #2e9a3d;
}
