@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  --text-color: #000;
  --main-hue: 208;
  --main-color: hsl(var(--main-hue), 92%, 54%);
  --nav-color: hsl(var(--main-hue), 17%, 79%);
  --bg-color: #fff;
  --main-color-hover: hsl(var(--main-hue), 77%, 48%);
  --input-bg: hsla(var(--main-hue), 50%, 50%, 6.5%);
  --input-bg-hover: hsla(var(--main-hue), 50%, 50%, 14%);
  --input-text: #8c9aaf;
}

a {
  text-decoration: none;
}

header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 4;
  padding: 1rem 0;
}

header .container {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 3rem;
}

header ul li {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 3rem;
}

.logo .images {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.logo img {
  height: 35px;
  grid-column: 1/2;
  grid-row: 1/2;
  margin-right: 0.8rem;
}

.logo h2 {
  color: var(--text-color);
  font-size: 1.55rem;
  margin-top: 2px;
}

.logo h2 span {
  color: var(--main-color);
}

.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--nav-color);
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #f9ca00;
}

.contact {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
}

.contact .container {
  height: 100vh;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.contact .container > div {
  grid-column: 1/2;
  grid-row: 1/2;
}

.left {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 65px 1.55rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  position: relative;
  z-index: 3;
}

.contact-heading h1{
  font-weight: 600;
  color: var(--text-color);
  font-size: 3.5rem;
  line-height: 0.9;
  white-space: nowrap;
  margin-bottom: 1.2rem;
}

.contact-heading h1 span {
  color: var(--main-color);
}

.text {
  color: #7ca7b6;
  line-height: 1.1;
  font-size: 1rem;
}
.text a {
  color: #f9ca00;
  transition: 0.3s;
}
.text a:hover {
  color: var(--main-color-hover);
}

.form-wrapper {
  max-width: 32rem;
}

.contact-form {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 1rem;
}
.input-wrap {
  position: relative;
}

.input-wrap.w-100 {
  grid-column: span 2;
}

.contact-input {
  width: 100%;
  background-color: var(--input-bg);
  padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
  outline: none;
  font-family: inherit;
  border-radius: 20px;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  box-shadow: 0 0 0 0px hsla(var(--main-hue), 92%, 54%, 0.169);
  transition: 0.3s;
}

.contact-input:hover {
  background-color: var(--input-bg-hover);
}

.input-wrap label {
  position: absolute;
  top: 50%;
  left: calc(1.35rem + 2px);
  transform: translateY(-50%);
  color: #7ca7b6;
  pointer-events: none;
  transition: 0.25s;
}

.input-wrap .icon {
  position: absolute;
  top: 50%;
  right: calc(1.35rem + 2px);
  transform: translateY(-50%);
  color: var(--input-text);
  pointer-events: none;
  font-size: 1.25rem;
  transition: 0.3s;
}

textarea.contact-input {
  resize: none;
  width: 100%;
  min-height: 150px;
}

textarea.contact-input ~ label {
  top: 1.2rem;
  transform: none;
}

textarea.contact-input ~ .icon {
  top: 1.3rem;
  transform: none;
}

.input-wrap.focus .contact-input {
  background-color: var(--bg-color);
  border: 2px solid hsl(var(--main-hue), 91%, 55%);
  box-shadow: 0 0 0 5px hsla(var(--main-hue), 91%, 55%, 0.11);
}

.input-wrap.focus label {
  color: hsl(var(--main-hue), 91%, 55%);
}

.input-wrap.focus .icon {
  color: hsl(var(--main-hue), 91%, 55%);
}

.input-wrap.not-empty label {
  font-size: 0.66rem;
  top: 0.75rem;
  transform: translateY(0);
}

.contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  grid-column: span 2;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2rem;
  background-color: #f9ca00;
  color: #fff;
  border-radius: 40px;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background-color: #6d5a05;
}

.btn.upload {
  position: relative;
  background-color: var(--input-bg);
}
.btn.upload:hover {
  background-color: var(--input-bg-hover);
}

.btn.upload span {
  color: var(--input-text);
}

.btn.upload input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: red;
  cursor: pointer;
  opacity: 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  background: var(--main-color);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  margin-top: 2rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.contact-btn span {
  font-size: 1rem;
  font-weight: 500;
}

.contact-btn i {
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: 0.3s;
}

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

.contact-btn:hover i {
  transform: translateX(5px);
}

.right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  pointer-events: none;
}
.image-wrapper {
  position: relative;
  grid-column: 2;
}

.image-wrapper .img {
  position: absolute;
  height: 130%;
  left: 60%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.wave-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 100%;
  background-color: var(--bg-color);
}
.wave-wrap svg {
  position: absolute;
  height: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% - 2px)
}

#wave {
  fill: var(--bg-color);
  height: 100%;
}

.dashed-wave {
    position: absolute;
    z-index: 3;
    height: 130%;
    bottom: 60%;
    left: -28px ;
    transform: translateY(50%);
}

#dashed-wave{
    fill: none;
    stroke: var(--nav-color);
    stroke-width: 1px;
    stroke-dasharray: 6.5;
    opacity: 0.8;
}

.business-card {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--input-bg);
  padding: 2rem 0;
}

.business-card .container {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-left {
  padding: 3rem;
}

.card-right {
  height: 100%;
  min-height: 500px;
}

.map-container {
  height: 100%;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-area {
  margin-bottom: 1rem;
}

.logo-area img {
  height: 50px;
  width: auto;
}

.card-header h2 {
  color: var(--text-color);
  font-size: 2rem;
}

.card-header h2 span {
  color: var(--main-color);
}

.card-body {
  text-align: center;
}

.card-body h3 {
  color: #000000;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-body .title {
  color: #f9ca00;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  color: var(--input-text);
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.contact-info i {
  color: var(--main-color);
  margin-right: 1rem;
  width: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  background: #f9ca00;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: 0.3s;
  text-decoration: none;
}

.contact-btn span {
  font-size: 1rem;
  font-weight: 500;
}

.contact-btn i {
  margin-left: 0.5rem;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #514301;
}

.contact-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .card-right {
    min-height: 400px;
  }
}

@media (max-width: 500px) {
  .card-left {
    padding: 2rem;
  }
  
  .card-right {
    min-height: 300px;
  }
}

@media (max-width: 1000px) {
    .logo{
        margin-right: 1rem;
    }
    .logo img{
        height: 30px;
        margin-right: 0.7rem;
    }
    .logo h2{
        font-size: 1.3rem;
    }
    .nav-link{
        margin-left: 3.5rem;
        padding: 0 0.8rem;
        font-size: 0.9rem
    }
    .contact-heading h1{
        font-size: 2.5rem;
        margin-bottom: 1rem;
        white-space: normal;
    }
    .text{
        font-size: 0.9rem;
    }
    .contact-form{
        display: grid;
        margin-top: 1.9rem;
        column-gap: 0.8rem;
        row-gap: 0.65rem;
    }
    .contact-input{
        border-radius: 17px;
        font-size: 0.87rem;
        padding: 1.5rem 1.2rem calc(0.75rem - 2px) 1.2rem;
    }

    .input-wrap label{
        font-size: 0.91rem;
        left: calc(1.2rem + 2px);
    }
    .input-wrap .icon{
        font-size: 1.1rem;
        left: calc(1.2rem + 2px);
    }

    textarea.contact-input ~ label{
        top: 1.33rem;
    }

    .input-wrap.focus .contact-input{
        box-shadow: 0 0 0 3.5px hsla(var(--main-hue), 91%, 55%, 0.11);
    }
    .input-wrap.not-empty label{
        font-size: 0.61rem;

    }
    .contact-buttons{
        column-gap: 0.8rem;
        margin-top: 0.45rem;
    }
    .btn{
        padding: 1rem 1.5rem;
        font-size: 0.87rem;
    }
    .dashed-wave{
        bottom: 55%;
        left: -10px;
    }
    #dashed-wave{
        stroke-width: 0.7px;
        stroke-dasharray: 6;
    }
    .wave-wrap{
        transform: translateX(-10%);
    }

    .wave-wrap svg{
        height: calc(110% + 10px);
        transform: translate(-5%, -50%);
    }
}

@media (max-width: 650px) {
  header .container {
    height: 50px;
  }

  header ul {
    gap: 1rem;
  }

  .logo img {
    height: 25px;
  }

  .logo h2 {
    font-size: 1.15rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 650px) {
    header .container{
        height: 50px;
    }
    .left{
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-content: center;
    }
    .form-wrapper{
        width: 100% ;
        padding: 1rem 0 ;
    }
    header ul{ 
        justify-content: space-between;
        width: 100%;
    }
    .logo{
        margin-right: 0;
    }
    .nav-link{
        margin-left: 0;
    }
    .right{
        display: none;
    }
    .input-wrap .icon{
        display: none;
    }
    

}

@media (max-width: 420px) {
    .input-wrap{
        grid-column: span 2 ;
    }
    .contact-buttons{
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }
    .contact-heading h1{
        font-size: 1.9rem;
        line-height: 1;
    }
    .logo img{
        height: 25px;
        margin-right: 0.7rem;
    }
    .logo h2{
        font-size: 1.15rem;
    }
    .input-wrap .icon{
display: none;
    }
    .business-card .container {
        max-width: 82rem;
        margin: 50 auto;
        padding: 0 1rem;
    }
}

html {
  scroll-behavior: smooth;
}