/* ===== ZENTRIX INTERIORS | CUSTOM STYLESHEET ===== */

/* Initial style for the image */
.service_anim {
  height: 100%;
  width: 150px;
  padding-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.service_anim:hover {
  transform: scale(1.1);
}

/* Apply gradient to text with animation */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.sub-title {
  background: linear-gradient(45deg, #21d4fd, #b721ff, #21d4fd);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 4s ease infinite;
}

.sub-title-02 {
  color: #000000;
  text-shadow: 2px 2px 5px white;
}

.services-item {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.8s ease-in-out;
}

.services-item.active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.service_anim {
  animation: slideIn 0.6s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

.banner-title {
  position: relative;
  display: inline-block;
  font-size: 3em; /* Adjust as needed */
  color: white; /* Your text color */
  text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.box {
  width: 150px;
  height: 150px;
  border: 2px solid green;
  position: relative;
  transform: translate(0);
  transform-style: preserve-3d;
}

.shadow:before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, -1px);
  background: conic-gradient(
    from 90deg at 40% -25%,
    #ffd700,
    #f79d03,
    #ee6907,
    #e6390a,
    #de0d0d,
    #d61039,
    #cf1261,
    #c71585,
    #cf1261,
    #d61039,
    #de0d0d,
    #ee6907,
    #f79d03,
    #ffd700,
    #ffd700,
    #ffd700
  );
  filter: blur(10px);
  clip-path: polygon(
    -100vmax -100vmax,
    100vmax -100vmax,
    100vmax 100vmax,
    -100vmax 100vmax,
    -100vmax -100vmax,
    0 0,
    0 100%,
    100% 100%,
    100% 0,
    0 0
  );
  animation: shadow-rotate 5s linear infinite; /* Adjust duration and timing as needed */
}

@keyframes shadow-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

img.filter {
  filter: drop-shadow(2.5px 2.5px 5px #0ebeff);
}

.map-container {
  text-align: center;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  max-width: 1080px; /* Set a max-width to maintain rectangle shape */
  height: 450px; /* Rectangle height */
  border-radius: 17px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.gradient-button {
  background: #303030;
  border: none;
  border-radius: 25px;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.gradient-button a {
  color: #ffffff;
  text-decoration: none;
}
.gradient-button:hover {
  background-color: #6b6b6b;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.gradient-button:hover a {
  color: #ffffff;
}



.gradient-button-2 {
  background: #FFFFFF;
  border: none;
  border-radius: 25px;
  color: #000000;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.gradient-button-2 a {
  color: #000000;
  text-decoration: none;
}
.gradient-button-2:hover {
  background-color: #6b6b6b;
  color: #000000;
  transform: scale(1.05);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.gradient-button-2:hover a {
  color: #000000;
}



.banner_section {
  background-image: url("../images/banners/zentrix_banner_about_us.jpg");
  background-size: cover;
  background-position: center center;
  height: 35dvh;
  border-image: fill 0 linear-gradient(#0003, #000);
  display: grid;
  padding: 2rem;
  text-align: left;
  text-indent: 250px;
}
.wallpaper-container {
  display: grid;
  gap: 20px;
}
.wallpaper-title {
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff;
}
.wallpaper-description {
  font-size: 1.8rem;
  color: #d8d8d8;
}

/* Particle Effect Effects */
/* CSS for Particles */
.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: float 20s linear infinite;
  opacity: 0.6;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(calc(100vw * var(--tx)), calc(100vh * var(--ty)));
  }
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .particle:nth-child(odd) {
    display: none;
  }
}


