/* Contact Page */
.contact-section {
  width: 100%;
  position: relative;
  background: #f3f3f3;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 110px 0px 110px;
  background: transparent;
  overflow: hidden;
}

.contact_pattern {
   position: absolute;
   left: 0px;
   top: -20px;
   right: 0px;
   height: 48px;
   background-repeat: repeat-x;
}

.contact_bg-layer {
    position: absolute;
    left: 80px;
    bottom: 0px;
    width: 466px;
    height: 634px;
    background-repeat: no-repeat;
    animation: float_left_right 5s linear infinite;
}

 @keyframes float_left_right{
    0% {     
        transform: translateX(-30px);
        opacity: 1;
    }

    50% {
        transform: translateX(0px);
        opacity: 0.80;
    }

    100% {
        transform: translateX(-30px);
        opacity: 1;
    }
}

.contact-info {
    flex: 0 0 auto ;
    width: 36%;
    position: relative;
    background: transparent;
}

.label-text {
    display: inline-block;
    align-items: center;
    position: relative;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    color: #A47149;
    text-transform: capitalize;
    font-family: "Outfit", sans-serif;
    width: 50%;
}

.contact-info h2,
.contact-form h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.contact-info .description {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  padding: 0 80px 0 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item a{
    text-decoration: none;
    color: #000;
}

.info-item .icon {
  background: #006a4e;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 4px;
}

.info-item .label {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  color: #444;
}

.contact-form {
    flex: 0 0 auto;
    width: 64%;
    padding: 40px 40px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.two-cols {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.two-cols input {
    flex: 1;
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    line-height: 28px;
    padding: 10px 30px;
    font-weight: 400;
    font-size: 16px;
    background: none;
    border-radius: 8px;
    color: var(--black-color);
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
    background-color: #f5f5f5;
}

textarea {
    margin-bottom: 1rem;
    resize: vertical;
    position: relative;
    display: block;
    width: 100%;
    height: 130px;
    resize: none;
    font-size: 16px;
    line-height: 26px;
    padding: 20px 20px;
    border-radius: 15px;
    color: var(--black-color);
    background-color: #f5f5f5;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
}

input,
textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  overflow: hidden;
}

button {
  background: #006a4e;
  color: #fff;
  padding: 26px 34px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s ease;
  font-weight: 700;
  overflow: hidden;
  text-align: center; 
  display: inline-block;
  color: #fff;
  text-transform: capitalize;
  font-family: 'Manrope', sans-serif;
}

button:hover {
  background: #004f39;
}

/* Spinner for submit button */
.btn-spinner {
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Map */
#map {
  width: 100%;
  height: 400px;
}


@media (max-width: 992px) { 
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .two-cols {
        flex-direction: column;
    }

    .contact-form, 
    .contact-info {
        width: 100%;
        align-items: center;
    }

    .contact-info{
        padding: 0 20px;
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }

    .contact_bg-layer {
        display: none;
    }
}

@media (max-width: 576px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
}