* {
    box-sizing: border-box;
    margin: 0;
}
body{
    background-image: repeating-radial-gradient(#e2d4c6d7 80%, hsl(25, 11%, 61%) 90%, #a79c92 90%);
    background-size: 65px 65px;
}
.contact-us {
    background-color: #a18d81;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 10px;
    height: 800px;
    width: 1000px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    border-radius: 20px;
    max-width: 100%;
}

.contact {
    margin-top: auto;
    margin-bottom: auto;
    font-weight: bolder;
}
.contact h1{
    font-size: 30px;
}
.contact h1 img{
    margin: 0 10px;
}
.page{
    width: 48%;
    height: 100%;
    transition: transform 0.6s, opacity 0.6s, width 0.6s;
}

.title {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    height: 100px;
    width: 600px;
    background: linear-gradient(135deg, rgb(255, 222, 59) 0%, rgb(255, 128, 0) 100%);
    max-width: 85%;
    position: relative;
    bottom: 20px;
    border-radius: 5px;
}

.container-contact {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    height: 520px;
    margin: auto;
    transition: transform 0.6s;
}

.form-container {
    display: flex;
}
.left-container {
    flex: 1;
    height: 480px;
    background-color: #ddc4b473;
    transition: transform 0.6s, opacity 0.6s, width 0.6s;
    display: flex;
    flex: 1;
    height: 520px;
    justify-content: center;
    align-items: center;
    color: black;
}

.right-container {
    display: flex;
    flex: 1;
    height: 460px;
    background-color: white;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s, opacity 0.6s, width 0.6s;
}

.left-container p {
    font-size: 0.9rem;
}

.right-inner-container {
    width: 70%;
    height: 80%;
    text-align: center;
}

.left-inner-container {
    height: 50%;
    width: 80%;
    text-align: center;
    line-height: 22px;
}

.input-contact,
.msg {
    background-color: #eee;
    border: none;
    padding: 18px 15px;
    margin: 8px 0;
    width: 100%;
    font-size: 0.8rem;
}

.input-contact:focus,
.msg:focus {
    outline: 1px solid #f08c00;
}

.msg {
    resize: none;
}

.left-inner-container h2 {
    font-size: 21px;
    position: relative;
    bottom: 70px;
    line-height: 35px;
}
.location {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    bottom: 30px;
}

.loc-icon {
    font-size: 25px;
    border-radius: 100px;
    height: 26px;
    width: 26px;
}

.location p {
    font-size: 20px;
    padding-right: -90px;
}

.address {
    position: relative;
    bottom: 60px;
}

.address p {
    font-size: 19px;
}
/* nxt-pge */
.nxt-page {
    display: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    font-weight: 400;
    color: #f4f0ff;
    text-align: center;
    position: relative;
    cursor: pointer;
    z-index: 1;
  }
  
  .nxt-page::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 7px;
    background: linear-gradient(
        180deg,
        rgba(208, 176, 148, 0.351) 0%,
        rgba(77, 62, 47, 0.558) 100%
      ),
      rgba(121, 98, 75, 0.24);
    box-shadow: inset 0 0 12px rgba(250, 233, 211, 0.493);
    z-index: -1;
  }
  
  .nxt-page::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(208, 176, 148, 0.351) 0%,
      rgba(77, 62, 47, 0.558) 100%
    ),
    rgba(121, 98, 75, 0.24);
  box-shadow: inset 0 0 12px rgba(250, 233, 211, 0.493);
    border-radius: 7px;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease-in;
  }
  
  .nxt-page:hover::after {
    opacity: 1;
  }
  
  .button-border {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 0.5rem;
    z-index: -1;
  }
  
  .button-border::before {
    content: "";
    position: absolute;
    border-radius: 0.5rem;
    padding: 1px;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(184, 238, 255, 0.24) 0%,
        rgba(184, 238, 255, 0) 100%
      ),
      linear-gradient(0deg, rgba(184, 238, 255, 0.32), rgba(184, 238, 255, 0.32));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
  }
  
  
/* nxt btn */

@media only screen and (max-width: 600px) {
    .nxt-page {
        display: block;
    }
}

/* سیم */
.spiral {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(20deg);
}

.spiral div {
    width: 4px;
    height: 20px;
    background: #4a4a4a;
    border-radius: 50%;
    transform: rotateZ(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding-bottom: 10PX;
}
/* سیم */
.PAGE1{
    position: relative;
    background-color: white;
    width: 800px;
    border-radius: 5px;
    max-width:90%;
}
.page2{
    position: relative;
    background-color: white;
    width: 790px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    max-width: 100%;
}
/* btn */
.bt {
    border: none;
    user-select: none;
    font-size: 18px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: #ff9412;
    box-shadow: #cacaca 2px 2px 10px 1px;
    border-radius: 5px;
    height: 40px;
    /* line-height: 60px; */
    width: 140px;
    transition: all 0.2s ease;
    position: relative;
  }
  
  .msg1 {
    height: 0;
    width: 0;
    border-radius: 2px;
    position: absolute;
    left: 15%;
    top: 25%;
  }
  
  .bt:active {
    transition: all 0.001s ease;
    background-color: #5d9fcd;
    box-shadow: #97989a 0 0 0 0;
    transform: translateX(1px) translateY(1px);
  }
  
  .bt:hover .msg1 {
    animation: msgRun 2s forwards;
  }
  
  @keyframes msgRun {
    0% {
      border-top: #d6d6d9 0 solid;
      border-bottom: #f2f2f5 0 solid;
      border-left: #f2f2f5 0 solid;
      border-right: #f2f2f5 0 solid;
    }
  
    20% {
      border-top: #d6d6d9 14px solid;
      border-bottom: #f2f2f5 14px solid;
      border-left: #f2f2f5 20px solid;
      border-right: #f2f2f5 20px solid;
    }
  
    25% {
      border-top: #d6d6d9 12px solid;
      border-bottom: #f2f2f5 12px solid;
      border-left: #f2f2f5 18px solid;
      border-right: #f2f2f5 18px solid;
    }
  
    80% {
      border-top: transparent 12px solid;
      border-bottom: transparent 12px solid;
      border-left: transparent 18px solid;
      border-right: transparent 18px solid;
    }
  
    100% {
      transform: translateX(150px);
      border-top: transparent 12px solid;
      border-bottom: transparent 12px solid;
      border-left: transparent 18px solid;
      border-right: transparent 18px solid;
    }
  }
  
/* btn */
@media (max-width: 600px) {
    .container-contact {
        width: 500px;
    }

    .page {
        position: absolute;
        width: 100%;
        opacity: 0;
    }

    .page:last-child {
        opacity: 1;
        z-index: 2;
    }

    .flipped .page:last-child {
        transform: translateX(100%) rotateY(15deg);
        opacity: 0;
        width: 0;
    }

    .flipped .page:first-child {
        opacity: 1;
        z-index: 2;
    }
    .spiral {
        display: block;
        width: 50px;
        z-index: 3;
    }
  

    .nxt-page{
        display: block;
        margin-top: 20px;
    }
}
.tooltip-container {
    height: 50px;
    width: 80px;
    border-radius: 5px;
    background-color: #fff;
    background-image: linear-gradient(
      to left bottom,
      #f2f5f8,
      #ecf1f2,
      #e7eceb,
      #e3e7e4,
      #e1e2de
    );
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.151);
    position: relative;
    transition: transform 0.3s ease;
    z-index: 1;
  }
  
  .tooltip-container::before {
    position: absolute;
    content: "";
    top: -50%;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    border-radius: 5px;
    background-color: fff;
    background-image: linear-gradient(
      to left bottom,
      #1288ff,
      #e4eaec,
      #d8dfde,
      #cdd3cf,
      #c5c7c1
    );
    width: 100%;
    height: 50%;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(-150deg) translateY(-110%);
    transition: transform 0.3s ease;
    z-index: -1;
  }
  
  .tooltip-container .text1 {
    color: rgb(32, 30, 30);
    font-weight: bold;
    font-size: 40px;
  }
  
  .tooltip {
    position: absolute;
    top: 120px;
    opacity: 0;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.05) 1px, white 1px),
      linear-gradient(rgba(0, 0, 0, 0.05) 1px, white 1px),
      linear-gradient(-90deg, rgba(0, 0, 0, 0.04) 1px, white 1px),
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, white 1px),
      linear-gradient(white 3px, #f2f2f2 3px, #f2f2f2 78px, white 78px),
      linear-gradient(-90deg, #aaa 1px, white 1px),
      linear-gradient(-90deg, white 3px, #f2f2f2 3px, #f2f2f2 78px, white 78px),
      linear-gradient(#aaa 1px, white 1px), #f2f2f2;
    background-size: 4px 4px, 4px 4px, 80px 80px, 80px 80px, 80px 80px, 80px 80px,
      80px 80px, 80px 80px;
    padding: 5px 10px;
    border: 1px solid rgb(206, 204, 204);
  
    height: 40px;
    width: 150px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.2s;
    pointer-events: none;
    letter-spacing: 0.5px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 10px salmon;
    margin-top: 10px;
  }
  .tooltip-container:hover {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  
  .tooltip-container:hover::before {
    transform: rotateY(0);
    background-image: none;
    background-color: white;
  }
  
  .tooltip-container:hover .tooltip {
    top: -70px;
    opacity: 1;
    transition-duration: 0.3s;
  }
  .social-add{
    display: flex;
    justify-content: space-between;
  }
  @media (min-width:600.5px) and (max-width: 694.5px){
    .social-add{
        justify-content: center;
        position: relative;
        bottom: 35px;
      }
  }
  

