/* ====== GENERAL SECTION ====== */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  padding-top: 0px;
  font-family: "Geologica", sans-serif;
}

.contact-title,
.message-title {
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    margin-top: 60px;
    margin-bottom: 60px;
}

.message-title .accent {
    background: linear-gradient(90deg, #6EC7AE 0%, #162722 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Montserrat;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
}

/* ====== GRID LAYOUT (info + map) ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 500px auto;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 50px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 30px;
    background: linear-gradient(180deg, #EAEBEA 0%, #C6E6DF 100%);
}

.contact-card {
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(247, 248, 250, 0.70) 0%, rgba(247, 248, 250, 0.35) 100%);
    box-shadow: 0 1px 3px 1px #FFF inset;
    backdrop-filter: blur(2px);
    padding: 20px;
}

.contact-card a {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Animated underline */
.contact-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;          /* a bit below the text */
  width: 0;
  height: 1px;
  background: #264e3f;   /* accent color */
  transition: width 0.3s ease;
}

.contact-card a:hover {
  color: #264e3f; /* text color change on hover */
}

.contact-card a:hover::after {
  width: 100%; /* underline grows in */
}

.card-icon{
    width: 33px;
    height: 33px;
    margin-right: 10px;
}

.card-icon img{
    width: 33px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.05));

}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-text h3 {
    color: #1c1c1e;
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 10px;
}

.card-text p,
.card-text a,
.card-text address {
    color: #2c2c30;
    font-family: Geologica;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

/* Map placeholder */


.contact-map iframe {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: none;
  padding: 10px;
    background: #f7f8f9;
    box-shadow: 0 0 3px 2px #c6e6df inset;
    aspect-ratio: 1/1;
}


/* ====== MESSAGE FORM ====== */

.g-recaptcha{
  margin-inline: auto;
}

.message-form {
    border-radius: 30px;
    background: linear-gradient(180deg, #EAEBEA 0%, #C6E6DF 100%);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row.two-cols .form-field {
  flex: 1;
}

.form-row.two-cols{
    margin-bottom: 40px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field label {
    font-family: Geologica;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    margin-bottom: 5px;
    margin-left: 5px;
    color: #2c2c30;
}

.form-field input,
.form-field textarea {
    border-radius: 15px;
    background: linear-gradient(180deg, #F7F8FA 0%, rgba(247, 248, 250, 0.50) 100%);
    box-shadow: 0 1px 3px 1px #FFF inset;
    border: none;
    padding: 15px;
    font-family: Geologica;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    transition: all 0.2s ease;
}

.form-field input:hover,
.form-field textarea:hover {
    background-color: #Fff;
}

textarea {
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 10px;
}

.btn {
  padding: 12px 17px;
  background: #1c1c1e;
  color: #f5f5f7;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
  margin-top: 10px;
  border: none;
}

.btn:hover {
  background: #6ec7ae;
  color: #1C1C1E;
  box-shadow: 0px 0px 10px rgba(110, 199, 174, 0.3);
  transform: scale(1.05);
  border-radius: 21px;
  cursor: pointer;
}

.btn:active {
  transform: scale(1);
}

@media (max-width: 1250px) {
    .contact-grid{
        grid-template-columns: 600px;
        margin: auto;
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .contact-grid{
        grid-template-columns: 100%;
        margin: auto;
        justify-content: center;
        gap: 20px;
    }
    .contact-cards{
        padding: 15px;
        border-radius: 30px;
    }
    .card-icon{
        margin-right: 0px;
    }
    .contact-card h3{
        font-size: 22px;
    }
    .contact-card a{
        font-size: 18px;
    }
    .contact-section{
        padding: 20px;
        padding-top: 0px;
    }
    .message-form{
        padding: 20px;
    }
}

@media (max-width: 750px) {
    .form-row{
        flex-direction: column;
    }
}


@media (max-width: 940px) {
    .contact-title, .message-title, .message-title .accent {
        font-size: 30px;
    }
    .btn{
      font-size: 18px;
    }
    
}

@media (max-width: 600px) {
    .contact-title, .message-title, .message-title .accent {
        font-size: 28px;
    }
    .contact-title,
    .message-title {
      margin-bottom: 40px;
      margin-top: 40px;
    }
}

@keyframes floatSoftUp1 {
  0%, 100% { transform: translateY(3px); }
  50%      { transform: translateY(-3px); }
}

@keyframes floatSoftDown1 {
  0%, 100% { transform: translateY(-3px); }
  50%      { transform: translateY(3px); }
}

.contact-title,
.contact-grid,
.contact-cards,
.contact-map,
.message-header,
.message-form {
  opacity: 0;
  animation: fadeSlideIn 0.5s ease-out forwards;
}

/* animation delays */
.contact-title {
  animation-delay: 0s;
}

.contact-grid {
  animation-delay: 0.2s;
}

.contact-cards {
  animation-delay: 0.3s;
}

.contact-map {
  animation-delay: 0.4s;
}

.message-header {
  animation-delay: 0.6s;
}

.message-form {
  animation-delay: 0.8s;
}

