@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* variables  */
:root {
  --hue: 200;
  --saturation: 70%;
  --lightness: 55%;
  --main-color: hsl(var(--hue), var(--saturation), var(--lightness));

  /* text color  */
  --text-white: hsl(0, 0%, 100%);
  --text-light-gray: hsl(0, 0%, 96%);
  --text-x-dark-gray: hsl(0, 0%, 10%);
  --text-dark-gray: hsl(0, 0%, 20%);

  /* bg color  */
  --body-bg-color: hsl(var(--hue), 60%, 94%);
  --bg-color: hsl(var(--hue), 60%, 96%);
  --bg-white: hsl(0, 0%, 100%);

  /* border color  */
  --border-color: hsl(var(--hue), 40%, 80%);

  /* shadow  */
  --shadow: 0 0 10px hsla(var(--hue), 57%, 63%, 0.3);
  --focus-shadow: 0 0 10px hsla(var(--hue), 57%, 63%, 0.6);

  /* font size  */
  --fs-4xl: 60px;
  --fs-3xl: 35px;
  --fs-2xl: 26px;
  --fs-xl: 20px;
  --fs-lg: 18px;
  --fs-md: 16px;
  --fs-sm: 16px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

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

::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--text-dark-gray);
  background-color: var(--body-bg-color);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* overide variable for dark theme  */
body.t-dark {
  --text-light-gray: hsl(0, 0%, 96%);
  --text-x-dark-gray: hsl(0, 0%, 84%);

  /* bg color  */
  --body-bg-color: hsl(var(--hue), 20%, 10%);
  --bg-color: hsl(var(--hue), 13%, 17%);

  /* border color  */
  --border-color: hsl(var(--hue), 10%, 20%);

  /* shadow  */
  --shadow: 0 0 10px hsla(var(--hue), 19%, 7%, 0.9);
}

a {
  color: var(--main-color);
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-x-dark-gray);
  line-height: 1.3;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

::selection {
  color: var(--text-white);
  background-color: var(--main-color);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: var(--body-bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}

/* page wrapper  */
.page-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
}

/* container  */
.container {
  max-width: 1450px;
  margin: auto;
  padding: 0 10px;
}

/* grid */

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

/* section  */
.section-padding {
  padding-bottom: 100px;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title .title {
  display: inline-block;
  font-size: var(--fs-lg);
  font-weight: 400;
  text-transform: capitalize;
  color: var(--main-color);
  margin: 0 0 12px;
  padding: 0 40px;
  position: relative;
}

.section-title .title::before,
.section-title .title::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 34px;
  background-color: var(--main-color);
  top: 50%;
  transform: translateY(-50%);
}

.section-title .title::before {
  left: 0;
}

.section-title .title::after {
  right: 0;
}

.section-title .sub-title {
  font-size: var(--fs-3xl);
  color: var(--text-x-dark-gray);
  text-transform: capitalize;
}

/* button */
button {
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--main-color);
  color: var(--text-white);
  font-weight: 500;
  font-size: var(--fs-md);
  text-transform: capitalize;
  line-height: 1.5;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: 50px;
  vertical-align: middle;
  user-select: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

.order-btn {
  padding: 15px 28px;
  font-size: var(--fs-xl);
  border-radius: 5px;
}

.big-order-btn {
  padding: 14px 32px;
  font-size: var(--fs-lg);
  border-radius: 50px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.big-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/*  */

.header-buttons .btn {
  display: inline-block;
  min-width: 100px;
  text-align: center;
  white-space: nowrap;
  padding: 4px 10px;
  background-color: var(--main-color);
  color: var(--text-white);
  font-weight: 500;
  font-size: 15px;
  text-transform: capitalize;
  line-height: 1.5;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: 50px;
  vertical-align: middle;
  user-select: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.header-buttons .btn:hover {
  background-color: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
  cursor: pointer;
}

/* forms  */
.input-box {
  margin-bottom: 10px;
  padding: 0 10px;
}

::placeholder {
  color: var(--text-dark-gray);
  opacity: 1;
}

.input-control {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: var(--text-x-dark-gray);
  padding: 0 20px;
}

.input-control:focus {
  outline: 1px solid var(--border-color);
}

textarea.input-control {
  display: block;
  height: 150px;
  padding-top: 15px;
  resize: none;
}

/* preloader */
/* header  */
.header {
  min-height: 60px;
  transition: top 0.3s ease;
  padding: 0;
  position: fixed;
  width: 100%;
  z-index: 5;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
}

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

/* .header .logo .logo-text {
  display: flex;
  text-decoration: none;
  line-height: 1;
}

.header .logo .logo-part1 {
  font-size: 20px;
  font-weight: 900;
  color: var(--main-color); 
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header .logo .logo-part2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-x-dark-gray); 
  margin-left: 4px;
  text-transform: uppercase;
}

.header .logo .wrench {
  font-family: sans-serif;
  
  margin: 0 2px;
  font-size: 20px;
  vertical-align: middle;
} */

.logo-only-container {
  display: flex;
  align-items: flex-start;
  /* prevent vertical stretch */
  height: auto;
  padding: 0;
}

/* Horizontal layout for the full logo */
.logo-combo {
  display: flex;
  align-items: flex-end;
  /* Align bottom of yellow block and text */
  gap: 15px;
  /* Space between yellow block and text */
  margin-top: 20px;
  margin-bottom: -30px;
  /* Let yellow block hang out */
  position: relative;
  z-index: 10;
}

.logo-box {
  background-color: var(--main-color);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  /* border-top-right-radius: 12px; */
  /* border-bottom-right-radius: 12px; */
  position: relative;
  z-index: 10;

  /* 🟡 This is the magic */

  margin-bottom: -20px;
}

.logo-part1,
.logo-part2 {
  font-size: 26px;
  /* 🟡 larger, bold */
  font-weight: 900;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-part2 {
  margin-left: 6px;
}

.wrench {
  margin: 0 2px;
  font-size: 22px;
  vertical-align: middle;
}

.profile-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  color: var(--main-color);
  font-size: 18px;
}

.profile-icon-btn:hover {
  border-color: var(--main-color);
  transform: translateY(-2px);
  background-color: var(--bg-color);
}

.nav ul {
  display: flex;
  /* gap: 10px; */
}

.nav li {
  display: inline-block;
  margin-left: 5px;
}

.nav a {
  width: 100px;
  text-align: center;
  white-space: nowrap;
  text-transform: capitalize;
  font-size: var(--fs-md);
  color: var(--text-x-dark-gray);
  font-weight: 400;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--main-color);
}

.nav li a.active {
  color: var(--main-color);
  font-weight: 600;
  border-bottom: 2px solid var(--main-color);
}

.nav-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.nav-toggler span,
.nav-toggler span::before,
.nav-toggler span::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 3px;
  transition: 0.3s ease;
}

.nav-toggler span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggler span::before {
  top: -10px;
}

.nav-toggler span::after {
  top: 10px;
}

/* popup  */
/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* for spacing on small screens */
}

/* Modal Content Box */
.modal-content {
  /* background: #fff; */
  /* width: 100%; */
  width: 500px;
  max-width: 90%;
  border-radius: 12px;
  padding: 30px 40px;
  position: relative;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
  animation: scaleIn 0.3s ease;
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 40px;
  color: #f0eeee;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #000;
}

@keyframes scaleIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* home */

.home {
  padding: 100px 0 60px;
}

.home-text,
.home-img {
  grid-column: span 6;
  align-self: center;
}

.home-text h1 {
  font-size: var(--fs-4xl);
  margin: 0 0 20px;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.home-text p {
  color: var(--text-x-dark-gray);
  margin: 0 0 30px;
}

.home-img {
  position: relative;
}

.home-img .circle-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background-color: var(--main-color);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 6s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
}

.home-img img {
  /* max-width: 270px; */
  aspect-ratio: 2 / 2;
  display: block;
  margin: auto;
}

/* features  */
.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  background-color: var(--bg-white);
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 36px;
  color: var(--main-color);
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: var(--fs-xl);
  margin-bottom: 10px;
  color: var(--text-x-dark-gray);
}

.feature-item p {
  font-size: var(--fs-md);
  color: var(--text-x-dark-gray);
}

/* about */
.about .section-title {
  text-align: left;
  margin: 0 0 15px;
}

.about-img,
.about-text {
  grid-column: span 6;
  align-self: center;
}

.about-text p {
  color: var(--text-x-dark-gray);
  margin-bottom: 15px;
}

.about-img .img-box {
  max-width: 400px;
  margin: auto;
  padding: 15px;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: relative;
}

.about-img .img-box img {
  border-radius: 50%;
}

.about-img .box {
  height: 125px;
  width: 125px;
  background-color: var(--main-color);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 0 40px;
  padding: 15px;
}

.about-img .box-1 {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.about-img .box span {
  color: var(--text-white);
  font-weight: bold;
  font-size: var(--fs-3xl);
}

.about-img .box p {
  text-transform: uppercase;
  font-size: 12px;
  color: var(--text-white);
}

/* services */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  width: auto;
}

.swiper-slide-active .services-item {
  transform: scale(1.05);
  border: 2px solid #007bff;
}

/* Optional: smoother GPU transforms */
.servicesSwiper .swiper-wrapper {
  width: 1200px;
  will-change: transform;
}

/* Let slides size to their content; tweak max-width as you like */
.servicesSwiper .services-item {
  width: auto;
  max-width: 320px;
}

#serviceDetailsPanel p {
  width: 80%;
}

.scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  /* padding: 10px 0; */
  width: 100%;
  scrollbar-width: none;
  padding-left: 0;
  /* Make sure this is 0 */
  margin-left: 0;
  /* white-space: nowrap; */
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.services-items-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  min-width: max-content;
  /* padding: 10px 20px; */
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: var(--main-color);
  border: none;
  color: white;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease;
}

.scroll-btn:hover {
  background-color: hsl(var(--hue), var(--saturation), 45%);
}

.scroll-btn.left {
  left: 0px;
}

.scroll-btn.right {
  right: -20px;
}

.services .grid {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  gap: 30px;
}

.services .grid {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  gap: 40px;
}

.services-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 12px;
  padding-bottom: 20px;
  box-shadow: var(--shadow);
  flex: 0 0 280px;

  cursor: pointer;

  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, flex 0.3s ease,
    max-width 0.3s ease;
}

/* Optional: Style for cloned items (debug or visual diff) */
.service-clone {
  opacity: 0.9;
}

.services-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.services-item .img-box {
  position: relative;
  width: 100%;
  padding-top: 65%; /* Aspect ratio: adjust as needed (65% ~ 3:2) */
  height: auto;
  background-color: var(--bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.services-item .img-box {
  background: radial-gradient(
    circle at center,
    hsl(var(--hue), 70%, 90%),
    var(--bg-white)
  );
  border: 3px solid hsla(var(--hue), 70%, 80%, 0.2);
}

.services-item .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: all ease 0.3s;
}

.services-item:hover .img-box img {
  transform: scale(1.1);
}

.services-item h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-x-dark-gray);
  margin-top: 8px;
  text-transform: capitalize;
  color: var(--text-x-dark-gray);
}

.services-item p {
  font-size: var(--fs-md);
  color: var(--text-x-dark-gray);
  margin-top: 8px;
  line-height: 1.5;
  min-height: 60px;
}

.services-item.selected {
  transform: scale(2.5);
  /* More zoom */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border: 2px solid var(--main-color);
  /* Optional: highlight border */
  flex: 0 0 320px;
  /* Increased width */
  max-width: 320px;
  height: auto;
  /* Ensure it expands */
}

.services-item.selected .img-box {
  height: auto;
}

.details-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-top: 30px;
  text-align: center;
  display: none;
}

.details-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selected-service-card {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.selected-service-card .services-item {
  /* max-width: 460px; */
  width: 100%;
  padding: 0;
  border: 2px solid var(--main-color);
  box-shadow: var(--shadow);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.selected-service-card .img-box {
  height: 220px;
  overflow: hidden;
}

.selected-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-lists {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.product-item {
  display: flex;
  align-items: center;
  /* max-width: 600px; */
  background-color: var(--bg-color);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--focus-shadow);
  gap: 20px;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.product-item i {
  font-size: 36px;
  color: var(--main-color);
  flex-shrink: 0;
  margin-top: 4px;
}

.product-item .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item .content strong {
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--text-x-dark-gray);
  display: block;
  margin-bottom: 5px;
}

.product-item .content p {
  font-size: var(--fs-md);
  color: var(--text-dark-gray);
  line-height: 1.5;
  margin: 0;
}
    

/* ========== Responsive Enhancements ========== */

@media (max-width: 1040px) {
  .scroll-wrapper {
    
    margin-left: 10px;
    margin-right: 10px;
  }

  .services-item img {
    width: 100%;
  }

  .services-item {
    flex: 0 0 180px;
    max-width: 180px;
    padding: 10px;
  }

  

  .services-item h3 {
    font-size: var(--fs-md);
  }

  .selected-service-card .services-item {
    max-width: 90%;
  }

  .selected-service-card .img-box {
    height: 180px;
  }

  .product-lists {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }

  .product-item {
    padding: 20px;
    gap: 15px;
  }

  .product-item .content strong {
    font-size: var(--fs-md);
  }
}

@media (max-width: 600px) {
	
  .scroll-btn {
    display: none;
    /* Hide arrows on small screens */
  }

  .services-item {
    flex: 0 0 160px;
    max-width: 160px;
  }

  .services-item .img-box {
    
    height: auto;
  }

  .services-item h3 {
    font-size: 15px;
  }

  .selected-service-card {
    padding: 0 10px;
  }

  .selected-service-card .img-box {
    height: 160px;
  }

  .details-panel {
    padding: 20px 15px;
  }

  .details-panel h2 {
    font-size: var(--fs-xl);
  }

  .product-lists {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-item i {
    font-size: 22px;
    /* margin-bottom: 10px; */
  }

  .product-item .content strong {
    font-size: var(--fs-md);
  }

  .product-item .content p {
    font-size: var(--fs-sm);
  }
}

/* team  */
.team-items {
  grid-column: span 4;
}

.team-items .img-box {
  max-width: 350px;
  box-shadow: var(--shadow);
  background-color: var(--bg-color);
  margin: auto;
  border-radius: 50%;
  padding: 15px;
}

.team-items img {
  border-radius: 50%;
  transition: filter 0.5s ease;
}

.team-items:hover img {
  filter: grayscale(50%);
}

.team-items .detail {
  background-color: var(--main-color);
  width: 85%;
  max-width: 260px;
  padding: 15px;
  margin: -42px auto 0;
  text-align: center;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
  border-radius: 0 40px;
  transition: border-radius 0.5s ease;
}

.team-items:hover .detail {
  border-radius: 40px 0;
}

.team-items h3 {
  margin: 0 0 5px;
  color: var(--text-white);
  font-size: var(--fs-xl);
  font-weight: 500;
}

.team-items P {
  margin: 0;
  color: var(--text-light-gray);
}

/* contacts */
.contact {
  margin-bottom: 100px;
}
.contact-grid {
  max-width: 1000px;
  margin: auto;
}

.contact-info {
  grid-column: span 5;
}

.contact-form {
  grid-column: span 7;
}

::placeholder {
  color: var(--text--dark-gray);
}

.contact-info-item {
  position: relative;
  padding: 20px 0 20px 70px;
}

.contact-info-item + .contact-info-item {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
}

.contact-info-item i {
  height: 50px;
  width: 50px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  color: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 20px;
}

.contact-info-item h3 {
  margin: 0 0 13px;
  font-size: var(--fs-xl);
  font-weight: 500;
  text-transform: capitalize;
}

.contact-info-item p {
  color: var(--text-x-dark-gray);
}

.contact-info-item p:last-child {
  margin: 0;
}

/* enquiry  */
.enquiry-section .btn {
  width: 100%;
  padding: 14px;
  font-size: var(--fs-md);
}

#enquirySuccess {
  text-align: center;
  font-size: var(--fs-md);
}

/* footer  */

.footer {
  min-height: 200px;
  background-color: var(--main-color);
  color: var(--text-white);
  padding: 40px 20px 20px;
  box-shadow: var(--shadow);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: var(--fs-xl);
  margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
  font-size: var(--fs-md);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.social-icons a,
.payment-icons i {
  font-size: 24px;
  margin-right: 15px;
  color: var(--text-white);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover,
.payment-icons i:hover {
  transform: scale(1.2);
  color: var(--text-light-gray);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  background-color: var(--bg-white);
  color: var(--main-color);
  font-size: 20px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  background-color: hsl(var(--hue), 70%, 90%);
  color: var(--text-x-dark-gray);
}

/* Payment Icons */
.payment-icons i {
  display: inline-block;
  background-color: var(--bg-white);
  color: var(--main-color);
  font-size: 22px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.payment-icons i:hover {
  transform: scale(1.1);
  background-color: hsl(var(--hue), 70%, 90%);
  color: var(--text-x-dark-gray);
}

/* responsive */
@media (max-width: 1199px) {
  .about-img .box-1 {
    top: 100%;
    left: 50%;
  }
}

@media (max-width: 1000px) {
  /* variables  */
  :root {
    --fs-4xl: 42px;
    --fs-3XL: 31px;
    --fs-2xl: 24px;
    --fs-xl: 18px;
  }

  .nav-user-links {
    display: block;
  }

  .logout-nav-link {
    display: block;
  }

  #user-menu {
    display: none !important;
  }

 

  /* team  */
  .team-items {
    grid-column: span 6;
  }

  /* header  */

  .header .container {
    flex-wrap: wrap;
  }

  .header {
    box-shadow: none;
  }

  .nav-toggler {
    display: block;
    height: 34px;
    width: 40px;
    border: none;
    z-index: 1;
    background-color: tra;
  }

  .nav-toggler span {
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--main-color);
    margin: auto;
    position: relative;
    transition: background-color 0.3s ease;
  }

  .nav-toggler span::after,
  .nav-toggler span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transition: transform 0.3s ease;
  }

  .nav-toggler span::before {
    transform: translateY(-7px);
  }

  .nav-toggler span::after {
    transform: translateY(7px);
  }

  .nav li {
    display: block;
    margin: 0;
  }

  .nav a {
    font-size: var(--fs-lg);
  }

  .nav li + li {
    border-top: 1px solid var(--border-color);
  }

  .js-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: var(--bg-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    align-items: center;
    gap: 10px;
  }

  .js-nav.show {
    display: flex;
  }

  .js-nav a {
    font-size: 16px;
    padding: 10px 20px;
  }

  .js-nav {
    text-align: start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .js-nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .js-nav.show {
    display: flex;
    flex-direction: column;
    /* ensure it's flex */
    max-height: 500px;
    /* or more, depending on your content */
  }

  .nav li + li {
    border-top: 1px solid var(--border-color);
  }

  .header-buttons {
    padding-left: 30px;
    align-items: flex-start;
  }

  .profile-btn {
    display: none;
  }

  /* services  */
  .services-item {
    flex: 1 1 50%;
    max-width: 100%;
  }

 

  .services-item h3 {
    font-size: 18px;
  }
}

@media (max-width: 1000px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 15px;
  }

  .logo-box {
    flex: 1;
  }

  .header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 22px;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .nav-toggler span {
    height: 3px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
  }

  .js-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
  }

  .js-nav.show {
    display: flex;
  }

  .js-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
  }

  .js-nav li {
    margin-bottom: 12px;
  }

  .language-dropdown {
    position: relative; /* Must be relative for absolute child to anchor */
    overflow: visible;
    z-index: 20;
  }

  .lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
  }

  .lang-trigger img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
  }

  .lang-dropdown-content {
    position: absolute;
    top: 120%;
    right: 0;
    left: auto;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 150px;
    z-index: 99;
    display: none;
  }

  .language-dropdown.active .lang-dropdown-content {
    display: flex;
  }

  .lang-dropdown-content button {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .lang-dropdown-content button:hover {
    background: #f2f2f2;
  }

  .lang-dropdown-content img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
  }
}

@media (max-width: 600px) {
  .modal-content {
    width: 100%;
    margin-right: 90px;
    padding: 10px;
  }

  .close {
    font-size: 22px;
    top: 8px;
    right: 10px;
  }

  .about .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .about-img,
  .about-text {
    grid-column: span 12;
    width: 100%;
    text-align: center;
  }

  .about .section-title {
    margin-top: 20px;
    text-align: center;
  }

  .about-img .img-box {
    max-width: 280px;
    width: 100%;
    padding: 10px;
  }

  .about-img .box {
    height: 90px;
    width: 90px;
    padding: 10px;
    font-size: 14px;
    border-radius: 0 30px;
  }

  .about-img .box span {
    font-size: 20px;
  }

  .about-img .box p {
    font-size: 10px;
  }

  /* home  */

  .home .grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }

  .home-text,
  .home-img {
    width: 100%;
  }

  .home-text h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .home-text p {
    font-size: 16px;
  }

  .btn-wrap {
    display: flex;
    justify-content: center;
  }

  .btn-wrap .btn {
    font-size: 14px;
    padding: 10px 24px;
  }

  .home-img img {
    max-width: 80%;
  }

  .circle-wrap {
    display: none;
    /* hide background shape on small screens if needed */
  }

  /* contact  */
  .contact-info,
  .contact-form {
    grid-column: span 12;
  }

  .contact-info {
    margin-bottom: 30px;
  }
}
