#contact {
  background: var(--color-muted-bg, #f0f2f4);
  position: relative;
}

#contact .title {
    padding: 0;
    color: #ef7c00;
}

#contact .description {
    text-align: left;
}

#contact-container {
  background: var(--color-surface, #fff);
  z-index: 2;
  padding: 3.2rem;
  border-radius: var(--radius-lg, 1.6rem);
  border: 0.1rem solid rgba(23, 28, 30, 0.06);
  box-shadow: var(--shadow-card, 0 0.4rem 2.4rem rgba(23, 28, 30, 0.08));
}

#contact-item-container {
    align-items: flex-start;
    row-gap: 2rem;
}

.contact-item {
    
    transition: all .3s ease;
}

.contact-item:hover {
  transform: translateX(0.3rem);
}

.contact-item-icon {
    margin-right: 1rem;
}

.contact-item-icon i {
    font-size: 3rem;
    color: #ef7c00;
}

.contact-item span {
    font-size: 1.6rem;
    color: #171c1e;
}

.social-media-item {
  height: 4.5rem;
  width: 4.5rem;
  background: linear-gradient(
    145deg,
    var(--color-dark, #171c1e),
    var(--color-dark-soft, #2a3236)
  );
  color: var(--color-accent, #ef7c00);
  border-radius: 50%;
  margin-right: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-media-item i {
    font-size: 2.8rem;
    font-weight: bold;
}

.social-media-item:hover {
  background: var(--color-accent, #ef7c00);
  color: var(--color-dark, #171c1e);
  transform: scale(1.05);
}

#contact form {
    margin-left: 5rem;
}

.form-item {
    align-items: flex-start;
    font-size: 1.8rem;
    margin-top: 1rem;
}

.form-item input,
.form-item textarea {
  font-size: 1.6rem;
  padding: 1.2rem 1rem;
  border: 0.1rem solid rgba(23, 28, 30, 0.12);
  border-radius: var(--radius-md, 1.2rem);
  border-bottom: 0.2rem solid rgba(23, 28, 30, 0.25);
  border-left: 0.4rem solid transparent;
  font-family: inherit;
  background: var(--color-muted-bg, #f0f2f4);
  resize: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-item input:focus,
.form-item textarea:focus {
  outline: none;
  border-left-color: var(--color-accent, #ef7c00);
  border-color: rgba(239, 124, 0, 0.35);
  background: var(--color-surface, #fff);
  box-shadow: 0 0 0 0.2rem rgba(239, 124, 0, 0.12);
}

.form-item label {
    background: #171c1e;
    color: white;
    height: 4rem;
    padding: 1rem;
}

#mail-button {
  background: linear-gradient(
    135deg,
    var(--color-accent, #ef7c00),
    var(--color-accent-hover, #d96e00)
  );
  color: var(--color-surface, #fff);
  border: none;
  border-radius: var(--radius-md, 1.2rem);
  cursor: pointer !important;
  font-family: var(--font-heading, inherit);
  font-weight: 600;
  box-shadow: 0 0.4rem 1.4rem rgba(239, 124, 0, 0.35);
  transition: background 0.25s ease, transform 0.2s ease,
    box-shadow 0.25s ease;
}

#mail-button:hover {
  background: var(--color-dark, #171c1e);
  color: var(--color-surface, #fff);
  cursor: pointer !important;
  transform: translateY(-0.1rem);
  box-shadow: 0 0.6rem 2rem rgba(23, 28, 30, 0.2);
}

#mail-button.loading {
    opacity: .6;
    cursor: default;
    pointer-events: none;
}


footer {
  padding-top: 2.4rem;
  background: linear-gradient(
    180deg,
    var(--color-dark-soft, #2a3236) 0%,
    var(--color-dark, #171c1e) 100%
  );
}


.hd {
    height: 15rem;
    width: 100%;
    z-index: 1;
    background: #ef7c00;
    position: absolute;
    top: 40%;
    left: 0;
}

footer img {
    height: 7rem;
}

#footer-description {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    letter-spacing: .5rem;
}

#copyright {
    margin-top: 2rem;
    padding: 1rem;
    background: #0d1011;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 1.4rem;
}

#wp-button {
    z-index: 20;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-size: 3.5rem;
    height: 5.5rem;
    width: 5.5rem;
    background: green;
    color: white;
    border: .2rem solid white;
    border-radius: 50%;
}

#call-button {
    display: none;
}


#form-header {
    display: none;
}

@media screen and (max-width: 768px) {
    #contact-container {
        flex-direction: column-reverse;
        width: 100%;
    }

    #contact form {
        margin-left: 0;
        width: 100%;
        margin-bottom: 2rem;
        background: white;
    }

    #form-header {
        display: block;
    }

    #contact-header {
        display: none;
    }

    #contact-item-container {
        width: 100%;
    }

    .contact-item:last-child {
        width: 100%;
    }

    .contact-item iframe {
        width: 100%;
    }

    .hd {
        height: 50rem;
        top: 30%;
    }

    .form-item input,
    .form-item textarea {
        font-size: 2rem;
    }

    .contact-item span {
        font-size: 1.8rem;
    }

    #mail-button {
        margin-top: 2rem;
        width: 100%;
    }

    #wp-button {
        right: 1rem;
        font-size: 4.5rem;
        height: 6.5rem;
        width: 6.5rem;
    }

    #call-button {
        display: flex;
        z-index: 20;
        position: fixed;
        bottom: 9rem;
        right: 1rem;
        font-size: 3.5rem;
        height: 6.5rem;
        width: 6.5rem;
        background: #4079d5;
        color: white;
        border: .2rem solid white;
        border-radius: 50%;
    }
}