@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


body .home{
    min-width: 647px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    gap: 10px;
}

header img{
    width: 60px;
}

header nav {
    display: flex;
    gap: 10px;
}

header nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 200;
    padding: 8px 16px;
    border-radius: 99px;
    transition: 0.3s;
    color: white;
}
header nav a.active {
    background: #5247B9;
}
header nav a:hover {
    background: #5247B9;
}
header nav:hover > a:not(:hover) {
    background: none;
}





.home {
    display: flex;
    height: 100dvh;
    background: linear-gradient(to top, #D2E2FB, #86A8DB);
    position: relative;
    overflow: hidden;
}

.home img {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}



.home .desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;   
}

.home .desc .title{
    font-size: 80px;
    text-shadow: 3px 2px 10px black;
}

.home .desc .subheading{
    font-size: 20px;
}

/* About */

.about {
    padding: 50px;
    background: #3B3291;
    color: white;
    position: relative;
    z-index: 100;
}

.about h1 {
    font-size: 40px;
    margin: 5% 0;
}

.animated-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animated-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.imgdisp{
    background-color: #3B3291;
}

/* About text */

.hero {
    background-color: #f8f8f8;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 10px 3px 20px 10px rgb(0, 0, 0, 50%);
  }
  
  .heading h1 {
    color: #ff6347;
    font-size: 55px;
    text-align: center;
    margin-top: 35px;
  }
  
  .Hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 65px auto;
  }

  .hero-content {
    flex: 1;
    width: 50%;
    margin: 0px 25px;
  }

  .hero-content h2{
    flex:1;
    width: 70%;
    color: black;
  }

  .hero-content p{
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #666;
  }

  .hero-content button {
    display: inline-block;
    background-color: #ff4500;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .hero-content button:hover{
    background-color: #ff6347;
    transform: scale(1.1);
}
  
  
  .hero-image {
    flex: 1;
    margin: auto;
  }

  .hero-image img{
    width: 100%;
    border-radius: 10px;
  }

.hidden-element{
    opacity: 0;
    transform: translateY(100px);
    filter: blur(10px);
    transition: opacity 1s ease-out, transform 1s ease-out, filter 1s ease-out
}

.hidden-element.fade-in-left {
    transform: translateX(-100px);
  }
  
  .hidden-element.fade-in-right {
    transform: translateX(100px);
  }
  
  .hidden-element.fade-in-bottom {
    transform: translateY(100px);
  }
  
  .hidden-element.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
  }

  .examples>div>div>div{
    box-shadow: 5px 5px 5px black;
  }

  .example-heading{
    background-color: #3B3291;
    padding: 0px;
    margin:0px;
    text-align: center;
    color:white;
  }

@media (max-width:647px){
  nav a{
    display: none;
  }
  .home .desc .title{
    font-size: 50px;
    text-shadow: 3px 2px 10px black;
  }

  .home .desc .subheading{
      font-size: 20px;
  }

  body .home{
    min-width: 100%;
  }
}

@media screen and (max-width: 768px) {
    .heading h1 {
        font-size: 45px;
        margin-top: 30px;
    }
      
      .hero {
        margin: 0px;
      }
      
      .Hero-container {
        width: 100%;
        flex-direction: column;
        padding: 0px 40px;
      }
      
      .hero-content {
        width: 100%;
        margin: 35px 0px;
      }
      
      .hero-content h2 {
        font-size: 30px;
      }
      
      .hero-content p {
        font-size: 18px;
        margin-bottom: 20px;
      }
      
      .hero-content button {
        font-size: 16px;
        padding: 8px 16px;
      }
      
      .hero-image img{
        width: 100%;
      }
}


@media (min-width: 1028px) {
    .home .desc{
        top:30%;
    }
}

@media (max-width: 731px){
  .hero .heading h1{
    font-size: 200%;
  }

  .hero .Hero-container{
    padding-top:0px;
    margin: 0px;
  }

  .hero .hero-content {
    margin:0px;
    padding:0px;
  }

  .hero h2{
    font-size: 100%;
  }

  .hero p{
    font-size:100%;
  }

  .hero .hero-image img{
    margin: 20px 0px;
  }
}

@keyframes fadeInUp {
    from{
        opacity: 0; 
        scale: 0.5;
    }
    to{
        opacity:1;
        scale:1;
    }
}

/* form */

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

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

body,
input,
textarea {
  font-family: "Poppins", sans-serif;
}

.form-container {
  position: relative;
  width: 100%;
  padding: 2rem;
  background-color: #3B3291;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscribe{
  background-color: #3B3291;
  color:white;
  padding: 0px;
  margin:0px;
  text-align: center;
}

.form {
  width: 100%;
  max-width: 820px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 20px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: #1abc9c;
  position: relative;
}

.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, #149279);
  position: absolute;
}

.circle.one {
  width: 130px;
  height: 130px;
  top: 130px;
  right: -40px;
}

.circle.two {
  width: 80px;
  height: 80px;
  top: 10px;
  right: 30px;
}

.contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #1abc9c;
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}

form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #1abc9c;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

.btn:hover {
  background-color: transparent;
  color: #fff;
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #1abc9c;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: #1abc9c;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
}

.information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #1abc9c, #149279);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #1abc9c;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #1cd4af, #159b80);
  bottom: 50%;
  right: 50%;
  transform: translate(-40%, 38%);
}

.big-circle:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background-color: #fafafa;
  border-radius: 50%;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

.quote{
  color:#f8f8f8;
  text-align: center;
  background-color: #3B3291;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}