* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  position: relative;
}

/* ---- NAV Start --- */
a,
a:hover {
  text-decoration: none;
}

.top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px;
  background: LightSeaGreen;
  position: relative;
  top: 58px;
  z-index: 1;
  position: fixed;
  position: relative;
}

.top-bar span {
  color: #fff;
}
.top-bar ul {
  list-style: none;
  display: flex;
}
.top-bar li {
  margin: 0px 5px;
}
.top-bar a {
  color: #fff;
}
.top-bar a:hover {
  color: #222;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  background: black;
  top: 0px;
  z-index: 1;
  position: fixed;
}
nav a {
  color: #fff;
}
nav a:hover {
  color: #ef4b3f;
}
.logo {
  flex: 1;
}
.logo a {
  display: flex;
  align-items: center;
  font-size: 20px;
}
.logo a:hover {
  color: #fff;
}
.logo img {
  width: 40px;
  margin-right: 10px;
}
.menu {
  display: flex;
  align-items: center;
  list-style: none;
}
.menu li {
  padding: 15px 10px;
  font-size: 16px;
}
.toggle {
  font-size: 30px;
  display: none;
}

@media screen and (max-width: 600px) {
  nav {
    display: block;
    position: relative;
    padding: 10px 20px;
    position: absolute;
    top: 0px;
    position: fixed;
  }
  .menu {
    margin-top: 15px;
    display: none;
  }
  .menu.active,
  .toggle {
    display: block;
  }
  .toggle {
    position: absolute;
    top: 15px;
    right: 20px;
  }
}

/* ---- NAV End --- */

.parallax {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#parallax1 {
  position: relative;
}

.content {
  height: 50vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  /*overflow: hidden;*/
}

.parallax-container {
  position: relative;
}

.parallax-image {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.title {
  font-size: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.parallax-image.show .title {
  opacity: 1;
  transform: translateY(0);
}

.content-section {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.content-section.show {
  opacity: 1;
  transform: translateY(0);
}

.parallax-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(5px);
  opacity: 0.7;
}

/* ----------Text Animation-------*/

.text-wrapper {
  /*background-color: blue;*/
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  position: absolute;
  top: 45px; /*280px*/
  width: 100%;
  position: fixed;
}
.text-box {
  /*background-color: red;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: animate 2s ease-in-out infinite;
  transform-origin: top center;
}
.text-string {
  width: 1px;
  height: 80px;
  background: LightSeaGreen;
  position: relative;
}
.text-string::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: LightSeaGreen;
  border-radius: 50%;
  top: -8px;
  right: -10px;
}
.text-letter {
  font-family: cursive;
  font-size: 3.5rem;
  font-weight: bold;
  color: LightSeaGreen;
  text-transform: uppercase;
}

@keyframes animate {
  0% {
    transform: rotate(-15deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(-15deg);
  }
}

.text-box:nth-child(1) {
  animation-delay: 0s;
}
.text-box:nth-child(2) {
  animation-delay: 0.1s;
}
.text-box:nth-child(3) {
  animation-delay: 0.3s;
}
.text-box:nth-child(4) {
  animation-delay: 0.4s;
}
.text-box:nth-child(5) {
  animation-delay: 0.5s;
}
.text-box:nth-child(6) {
  animation-delay: 0.6s;
}
.text-box:nth-child(7) {
  animation-delay: 0.7s;
}
.text-box:nth-child(8) {
  animation-delay: 0.8s;
}
.text-box:nth-child(9) {
  animation-delay: 0.9s;
}
.text-box:nth-child(10) {
  animation-delay: -0.9s;
}
.text-box:nth-child(11) {
  animation-delay: -0.8s;
}
.text-box:nth-child(12) {
  animation-delay: -0.7s;
}
.text-box:nth-child(13) {
  animation-delay: -0.6s;
}
.text-box:nth-child(14) {
  animation-delay: -0.5s;
}
.text-box:nth-child(15) {
  animation-delay: -0.4s;
}
.text-box:nth-child(16) {
  animation-delay: -0.3s;
}
.text-box:nth-child(17) {
  animation-delay: -0.2s;
}

/*-----------TEXT SWING IN media querry -START -----------*/

@media screen and (max-width: 1050px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 80px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -9.5px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 2.7rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 900px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 33px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -8.5px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 2.3rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 800px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -7.5px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 2.1rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 700px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -6.5px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 2rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 600px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -7px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 500px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -7px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 1.5rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 450px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -3px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 1.2rem;
    font-weight: bold;
    color: LightSeaGreen;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 350px) {
  .text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: absolute;
    top: 45px;
    width: 100%;
    position: fixed;
  }
  .text-box {
    width: 10px;
  }
  .text-string {
    width: 1px;
    height: 70px;
    background: LightSeaGreen;
    position: relative;
  }

  .text-string::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: LightSeaGreen;
    border-radius: 50%;
    top: -8px;
    right: -3px;
  }
  .text-letter {
    font-family: cursive;
    font-size: 1rem;
    font-weight: bold;
    color: lightSeaGreen;
    text-transform: uppercase;
  }
}

/*-----------TEXT SWING IN media querry -END -----------*/

/*----Our Services - Animation Card--------*/
.content1 {
  background: linear-gradient(black, LightSeaGreen);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: --1;
}
.content1 h1 {
  font-size: 32px;
  font-family: big john;
  color: white;
  text-align: center;
  margin-bottom: 3%;
}
.wrapper {
  width: 90%;
  margin: 5% auto;
}
.img-area {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.single-img {
  /* width: calc(25% - 2rem);   /* --calc(33% - 2rem)--*/
  margin: 16px;
  cursor: pointer;
  width: 250px;
}
.img-content {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.front,
.back {
  min-height: 300px;
  height: auto;
  border-radius: 5px;
  color: #fff;
  -webkit-background-size: cover;
  background-size: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  backface-visibility: hidden;
  text-align: center;
  font-size: 22px;
}
.front:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  opacity: 0.7;
  background-color: #000;
  backface-visibility: hidden;
  border-radius: 5px;
}
.back {
  background-color: crimson;
  text-shadow: 1px 1px #000;
  font-family: "Courier New", Courier, monospace;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.inner {
  transform: translateY(-50%) translateZ(60px) scale(0.9);
  top: 50%;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  perspective: inherit;
  z-index: 2;
}
.front .inner p {
  position: relative;
  font-family: cursive;
  font-size: 40px;
}
.img-content .back {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.img-content:hover .back {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}
.img-content .front {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}
.img-content:hover .front {
  transform: rotateY(-180deg);
  transform-style: preserve-3d;
}

/*--------PORTFOLIO-------*/
.content2 {
  background: linear-gradient(black, LightSeaGreen);
  position: relative;
  z-index: --1;
}
.box {
  position: relative;
  top: 80px;
  color: white;
  font-size: 32px;
  text-align: center;
}
.container-box {
  position: relative;
  top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 50px;
  padding: 100px 50px;
}
.container-box .card-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 250px;
  height: 220px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}
.container-box .card-box:hover {
  height: 300px;
}
.container-box .card-box .img-box {
  position: absolute;
  width: 230px;
  height: 160px;
  top: 20px;
  background: #333;
  border-radius: 12px;
  overflow: hidden; /* for img set inside the box*/
  transition: 0.5s;
}
.container-box .card-box:hover .img-box {
  top: -100px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}
.container-box .card-box .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container-box .card-box .content-box {
  position: absolute;
  top: 185px;
  width: 100%;
  padding: 0 30px;
  height: 26px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}
.container-box .card-box:hover .content-box {
  height: 250px;
  top: 100px;
}
.container-box .card-box .content-box h2 {
  font-size: 1.27em;
  font-weight: 700;
  color: var(--clr);
}
.container-box .card-box .content-box p {
  color: #333;
  font-size: 1.05em;
}
.container-box .card-box .content-box a {
  position: relative;
  top: 15px;
  display: inline-block;
  padding: 12px 25px;
  background: var(--clr);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

/*-----contact-----*/
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(black 20%, LightSeaGreen);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section .box {
  margin: 0 auto;
  padding: 23m;
  width: 450px;
  height: 350px;
  background: #1c1f2b;
  text-align: center;
  border-radius: 10px;
  position: relative;
  top: -1%;
}
.section .box h2 {
  color: white;
  font-size: 35px;
}
.section .box p {
  color: wheat;
  font-size: 30px;
  margin: 1px;
}
.section .box address {
  color: greenyellow;
  font-size: 18px;
}
.section .box address a {
  text-decoration: none;
}
.section .box address a:hover {
  color: white;
  font-size: 19px;
}

/*----SUDO ELEMENTS-----*/
@property --angle {
  syntax: "<angle>";
  initial-value: deg;
  inherits: false; /* NOW ANIMATING*/
}

.section .box::after,
.section .box::before {
  /*--angle: 0deg; */
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  /* background-image: conic-gradient(from 0deg, transparent 70%, blue);*/ /*(#ff4545, #00ff99, #006aff, #ff0095); */ /*(red,blue);*/ /*background: red; */
  background-image: conic-gradient(from var(--angle), transparent 70%, blue);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 3px;
  border-radius: 10px;
  animation: 3s spin linear infinite;
}

.section .box::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.section img {
  width: 150px;
  height: 150px;
}
.section .set {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.section .set div {
  position: absolute;
  display: block;
}

.section .set div:nth-child(1) {
  left: 20%;
  animation: animates 15s linear infinite;
  animation-delay: -7s;
}
.section .set div:nth-child(2) {
  left: 50%;
  animation: animates 20s linear infinite;
  animation-delay: -5s;
}
.section .set div:nth-child(3) {
  left: 35%;
  animation: animates 20s linear infinite;
  animation-delay: 0s;
}
.section .set div:nth-child(4) {
  left: 75%;
  animation: animates 15s linear infinite;
  animation-delay: -5s;
}
.section .set div:nth-child(5) {
  left: 45%;
  animation: animates 18s linear infinite;
  animation-delay: -10s;
}
.section .set div:nth-child(6) {
  left: 0%;
  animation: animates 12s linear infinite;
}
.section .set div:nth-child(7) {
  left: 15%;
  animation: animates 14s linear infinite;
  animation-delay: -10s;
}
.section .set div:nth-child(8) {
  left: 80%;
  animation: animates 15s linear infinite;
}
.section .set div:nth-child(9) {
  left: 40%;
  animation: animates 25s linear infinite;
  animation-delay: -20s;
}
.section .set div:nth-child(10) {
  left: 85%;
  animation: animates 19s linear infinite;
  animation-delay: -10s;
}

@keyframes animates {
  0% {
    opacity: 0;
    top: -10%;
    transform: translateX(20px) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  20% {
    transform: translateX(-20px) rotate(45deg);
  }
  40% {
    transform: translateX(-20px) rotate(90deg);
  }
  60% {
    transform: translateX(20px) rotate(180deg);
  }
  80% {
    transform: translateX(-20px) rotate(180deg);
  }
  100% {
    top: 110%;
    transform: translateX(-20px) rotate(180deg);
  }
}

/*----FORM----*/

.contact-section {
  background: linear-gradient(black, LightSeaGreen);
  padding: 60px 20px;
  position: relative;
}
.section-title {
  position: absolute;
  top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 22px;
  color: white;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 80px;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #d0e3ff;
  border-radius: 10px;
  font-size: 16px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0a4f7d;
  background-color: #e0f0ff;
}

button {
  background: LightSeaGreen;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  /*margin-left: 13px; */
}

button:hover {
  background: black;
}

.whatsapp-button {
  display: inline-block;
  background-color: #05c24a; /* WhatsApp green */
  color: white;
  padding: 10px 10px;
  border-radius: 10%; /* Makes it round */
  text-decoration: none; /* Removes underline */
  font-size: 25px;
  position: fixed; /* Or any other positioning you prefer */
  bottom: 20px;
  right: 20px;
  z-index: 100; /* Ensure it's on top */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
  transition: 1s ease;
}

.whatsapp-button:hover {
  opacity: 0.8; /* Slight fade on hover */
  font-size: 35px;
  background: linear-gradient(black, LightSeaGreen);
  color: #05c24a; /* WhatsApp green */
}
.whatsapp-button ion-icon {
  font-size: 25px;
}
