/* Common Styles */
@import url("https://fonts.googleapis.com/css2?family=Bellota+Text:wght@300;400;700&family=Monoton&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  outline: none;
  font-family: "Bellota Text", cursive;
  font-weight: 400;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* .container {
  width: 100%;
  overflow-x: hidden;
} */



.section-heading {
  font-size: 10rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #020202;
  text-align: center;
  opacity: 0.1;
  text-shadow: 2rem 2rem 4rem #aaa;
}
/* End of Common Styles */

/* Section 1 */
.section-1 {
  width: 100%;
  height: 20vh;
  background-color: #fff;
  position: relative;
}



/*  */

.floating-bg {
  width: 150vw;
  height: 150vw;
  
  background-color: #32e7ffcc;
  position: absolute;
  top: -125vw;
  left: calc(50% - 75vw);
  border-radius: 45%;
  animation: rotate 30s infinite;
}

.floating-bg::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(50, 231, 255, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 40%;
  animation: rotate 30s infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.navbar {
  position: relative;
  z-index: 20;
  top: 4rem;
  display: flex;
  justify-content: space-evenly;
}

.navbar-link {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.2rem;
  color: #fff;
  width: 15rem;
  word-wrap: break-word;
  text-align: center;
  transition: all 0.5s;
}

.navbar-link:hover {
  width: 15rem;
  /* background-color: rgba(255, 255, 255, 0.2); */
  transition: all 1s;
  color:#414141;
}

.section-1-heading {
  font-size: 8rem;
  font-family: "Pacifico", sans-serif;
  position: absolute;
  top: 100px; /* Adjust this value to fine-tune the position */
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 2px 4px 3px rgba(163, 163, 163, 0.3);
  color: #ffffff;
  background-color: #ffffff61;
  width: 85rem;
  letter-spacing: 10px;
  text-align: center;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  border: 2px solid #FFF;
  opacity: 0.9;
  padding-bottom: 20px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin: 0; /* Ensure there's no margin */
}

.logo {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  font-size: 8rem;
  font-family: "Pacifico", sans-serif;
  text-shadow: 2px 4px 3px rgba(163, 163, 163, 0.3);
  color: #91f2ff;
  background-color: #fff;
  width: 85rem;
  letter-spacing: 10px;
  text-align: center;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  border-radius: 1.8rem;
  padding-bottom: 20px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  opacity: 0;
  transform: translateX(-100%);
  animation: fadeIn 0.9s ease-in forwards;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


.logo i {
  font-size: 15rem;
  color: rgba(50, 231, 255, 0.8);
  text-shadow: 0.1rem 0.1rem 0.2rem #ddd, -0.1rem -0.1rem 0.2rem #ddd;
}
/* End of Section 1 */

/* Section 2 */
.section-2 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.customers-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 70%;
}

.customer {
  width: 35rem;
  height: 50rem;
  background-color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 1rem 1rem 2rem #ddd, -1rem -1rem 2rem #eee;
  transition: box-shadow 0.5s;
}

.customer:hover {
  box-shadow: 2rem 2rem 3rem #ddd, -2rem -2rem 3rem #eee;
}

.customer:first-child {
  align-self: flex-end;
}

.customer:last-child {
  align-self: flex-start;
}

.fa-quote-left {
  font-size: 4rem;
  color: #32e7ff;
}

.customer-text {
  font-size: 1.8rem;
  margin: 2.5rem 0;
  text-align: start;
}

.customer-text::first-letter {
  /* margin-left: 1rem; */
  font-size: 2.9rem;
}

.customer-rating i {
  font-size: 2rem;
  /* color: #f08e; */
  color:#32e7ff;
}

.customer-img {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  margin: 2rem 0;
  border-radius: 50%;
}

.customer-name {
  font-size: 2rem;
  font-weight: 700;
}
/* End of Section 2 */

/* Section 3 */
.section-3 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem 0;
}

.team-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 70%;
}

.team-member {
  width: 35rem;
  background-color: #ffffff;
  padding: 1rem 1rem 2rem 1rem;
  box-shadow: 1rem 1rem 2rem #ddd, -1rem -1rem 2rem #eee;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.5s;
  border-radius: 10px;
}

.team-member:hover {
  opacity: 1;
}

.team-member:first-child {
  align-self: flex-start;
}

.team-member:last-child {
  align-self: flex-end;
}

.team-member-img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  background: center;
  max-height: 300px;
}

.team-member-name {
  font-size: 2.3rem;
  font-weight: 700;
  color: #444444;
  margin-top: 2rem;
}

.team-member-name span {
  font-size: 1.7rem;
}

.team-member-skills {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0 2rem 0;
}

.team-member-skills li {
  font-size: 1.5rem;
  color: #505050;
}

.projects-btn {
  background-color: #32e7ff;
  color: #fff;
  font-weight: bolder;
  padding: 0.5rem 1.5rem;
  border-radius: 5rem;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  
}


.story-btn {
  width: 4rem;
  height: 4rem;
  background-color: #ffffff;
  position: absolute;
  top: -1rem;
  right: -1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  
}

.story-btn-line {
  position: absolute;
  width: 90%;
  /* height: 0.2rem; */
  height: 2.4px;
  background-color: #32e7ff;
  transition: transform 0.5s;
  font-weight:900;
}

.story-btn-line.vertical {
  transform: rotate(90deg);
}

.change .vertical {
  transform: rotate(0deg);
}

.change .horizontal {
  transform: rotate(0deg);
}

.story {
  width: 100%;
  height: 100%;
  background-color: rgba(50, 231, 255, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transform: scale(0);
  transform-origin: top right;
  border-radius: 50rem 0 50rem 50rem;
  transition: all 0.5s;
  border-radius: 10px;
}

.change.story {
  transform: scale(1);
  border-radius: 10px;
}

.story-heading {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}

.story-paragraph {
  font-size: 1.8rem;
  color: #868686;
  font-weight: bolder;
  /* text-align: justify; */
  letter-spacing: 0.3rem;
  /* text-indent: 0rem; */
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}




/* End of Section 3 */

/* Section 4 */
.section-4 {
  width: 100%;
  height: 130vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.form-container {
  width: 80%;
  height: 40%;
  background-color: #e5e9ff;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: 0.3rem 0.3rem 0.4rem #ccc, -0.1rem -0.1rem 0.4rem #ccc;
  border-radius: 0.5rem;
  perspective: 100rem;
}

.form-img {
  width: 55rem;
  background-color: rgba(50, 231, 255, 0.8);
  padding: 5rem;
  opacity: 0.8;
  box-shadow: -3rem 3rem 4rem #aaa;
  border-radius: 0.5rem;
  transform: rotateY(20deg);
  transition: all 0.5s;
}

.form-img:hover {
  transform: translateY(-2rem) rotateY(20deg);
  box-shadow: -5rem 5rem 7rem #aaa;
}

.contact-form {
  width: 45rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  border-radius: 0.5rem;
  box-shadow: 3rem 3rem 4rem #aaa;
  transform: rotateY(-20deg);
  transition: all 0.5s;
}

.contact-form:hover {
  transform: translateY(-2rem) rotateY(-20deg);
  box-shadow: 5rem 5rem 7rem #aaa;
}

.contact-form input,
.contact-form textarea {
  margin: 1rem;
  padding: 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  border: none;
  border-radius: 2rem;
  box-shadow: inset 0.1rem 0.1rem 0.2rem #ddd, inset -0.1rem -0.1rem 0.2rem #ddd;
}

.contact-form textarea {
  max-height: 15rem;
  min-height: 10rem;
  max-width: 100%;
  min-width: 70%;
}

.contact-form input[type="submit"] {
  background-color: rgba(50, 231, 255, 0.8);
  color: #fff;
  font-weight: bolder;
  letter-spacing: 0.5rem;
  cursor: pointer;
  transition: background-color 0.5s;
}

.contact-form input[type="submit"]:hover {
  background-color: #32e7ff;
}

.copyright {
  font-size: 2rem;
  letter-spacing: 0.2rem;
  color: #444;
  margin-top: 5rem;
}
/* End of Section 4 */

.scroll-up-btn {
  width: 5rem;
  height: 5rem;
  background-color: rgba(50, 231, 255, 0.8);
  position: fixed;
  bottom: 5rem;
  right: 5rem;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease-in-out;
  /* transition: background-color 0.5s ease-in-out; */
}

.scroll-up-btn:hover {
  background-color: #32e7ff;
  color:#414141;
  transition: all 0.4s ease-in-out;
}

/* Responsive */
/* Responsive */



@media (max-width: 1400px) {
  .floating-bg {
    top: -120vw;
  }

  .section-1-heading {
    font-size: 6rem;
    top: 100px;
    width: 70rem;
  }

  .navbar-link {
    font-size: 2rem;
  }

  .logo {
    top: 75%;
  }

  .logo i {
    font-size: 10rem;
  }

  .section-heading {
    font-size: 8rem;
    margin-bottom: 10rem;
  }

  .section-2 {
    height: auto;
  }

  .customers-wrapper {
    flex-wrap: wrap;
  }

  .customer {
    margin: 5rem 10rem;
  }

  .section-3 {
    height: auto;
  }

  .team-wrapper {
    flex-wrap: wrap;
  }

  .team-member {
    margin: 5rem 10rem;
  }

  .form-container {
    height: 60%;
  }

  .form-img {
    display: none;
  }

  .contact-form {
    transform: translateY(0);
  }

  .contact-form:hover {
    transform: translateY(-1rem);
  }

  .copyright {
    margin: 5rem 0 4rem 0;
  }
}

@media (max-width: 1150px) {
  .floating-bg {
    top: -110vw;
  }

  .section-1-heading {
    font-size: 5rem;
    top: 100px;
    width: 60rem;
  }

  .logo i {
    font-size: 9rem;
  }
}

@media (max-width: 950px) {
  .floating-bg {
    top: -100vw;
  }

  .section-1-heading {
    top: 100px;
  }

  .navbar {
    justify-content: space-around;
  }
}

@media (max-width: 750px) {
  html {
    font-size: 50%;
  }

  .floating-bg {
    top: -90vw;
  }

  .section-1-heading {
    top: 100px;
  }

  .section-heading {
    margin-bottom: 5rem;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 45%;
  }

  .floating-bg {
    top: -70vw;
  }

  .section-1-heading {
    top: 100px;
    width: 42rem;
    font-size: 2.3rem;
    padding-bottom: 10px;
    text-shadow: none;
  }

  .section-heading {
    font-size: 6rem;
  }

  .customer {
    margin: 5rem 0;
  }

  .team-member {
    margin: 5rem 0;
  }

  .section-4 {
    height: auto;
  }

  .form-container {
    background-color: transparent;
    box-shadow: none;
  }

  .contact-form {
    box-shadow: 1rem 1rem 2rem #aaa;
  }

  .contact-form:hover {
    box-shadow: 2rem 2rem 3rem #aaa;
  }

  .copyright {
    font-size: 1.8rem;
    margin: 5rem;
    text-align: center;
  }

  .scroll-up-btn {
    bottom: 2rem;
    right: 2rem;
  }
}
/* End of Responsive */

/* HERO SECTION */
/* Hero Section */
.hero-section {
  width: 100%;
  height: 60vh;
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  position: relative;
  /* border-radius: 20px; */
  opacity: 0;  /* Initial state for fade-in effect */
  transition: opacity 1.6s ease-in-out;  /* Transition for fade-in effect */
  box-shadow: 0 0 0px 0px white inset;
  margin-top: 400px;
}

@media (max-width: 500px) {
  /* .hero-section {
    margin-top: 10px;
    height: 120vh; 
   
  } */

  /* .logo {
    display: none;
  }

  #home {
    margin-bottom: 10px;
  } */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3);  */
  z-index: 1;
  box-shadow: 0 0 20px 20px white inset;
}

.hero-content {
  max-width: 80rem;
  z-index: 2;  /* Ensures content is above the overlay */
  background: rgba(0, 0, 0, 0.5);  
  padding-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 5rem;
  border-radius: 1rem;
}

.hero-heading {
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 0 1rem rgba(0, 0, 0, 0.7);
}

.hero-description {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

.hero-btn {
  background-color: #32e7ff;
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.8rem;
  border-radius: 5rem;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  transition: background-color 0.9s, transform 0.7s;
}

.hero-btn:hover {
  background-color: #28c6d7;
  transform: translateY(-0.5rem);
}

/* Fade-in effect on scroll */
body.scrolled .hero-section {
  opacity: 1;
}

/* Common Animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in {
  opacity: 0; /* Start hidden */
  animation: fadeIn 1s forwards; /* Apply fadeIn animation */
}

.fade-in.delay-1 {
  animation-delay: 0.2s;
}

.fade-in.delay-2 {
  animation-delay: 0.8s;
}

.fade-in.delay-3 {
  animation-delay: 1.4s;
}

.fade-in.delay-4 {
  animation-delay: 5.8s;
}

.fade-in.delay-5 {
  animation-delay: 6s;
}

/* Ensure sections are initially hidden */
.section-2, .section-3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 
.section-1, .hero-section, .section-2, .section-3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in-visible {
  opacity: 1;
} */
