.contact-hero {
  position: relative;

  height: 534px;
  background: url("../img/contact_hero.png") center/cover no-repeat;
  border-radius: 30px;
  overflow: hidden;
  margin: 30px 30px 0;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 60px 90px 0px;
  flex-direction: column;
}

.contact-hero-content h1 {
  color: var(--white);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-800);
  line-height: 100%;
  text-transform: uppercase;
  font-family: var(--font-family-1);
}
.contact-hero-content p {
  font-size: var(--font-size-xm);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height);
  color: var(--white);
  margin-top: 8px;
  width: 100%;
  max-width: 568px;
}

.contact-section {
  margin: var(--margin) 0;
}

.contact-grid {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 75px;
  align-items: center;
}

.contact-left h2 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-700);
  margin-bottom: 20px;
  line-height: 100%;
  font-family: var(--font-family-1);
}

.contact-left p {
  font-size: var(--font-size-xm);
  line-height: var(--line-height);
  font-weight: var(--font-weight-400);
  color: var(--text);
  font-family: var(--font-family-1);
  width: 100%;
  max-width: 777px;
}

.contact-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 27px 31px;
  background-color: var(--light-gray);
  border-radius: 30px;
  padding: 50px;
  border: 1px solid var(--border-1);
}

.contact-card {

  gap: 14px;
  align-items: center;
  transition: 0.3s ease;  
  grid-template-columns: 1fr 5fr;
    display: grid;
}

.contact-card .icon {
  background-color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.contact-card .full-width{
    
}
.contact-card .icon img {
  height: 24px;
}
.contact-card .icon:hover {
  background-color: var(--primary);
}
.contact-card .icon:hover img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.contact-card h4 {
  font-size: var(--font-size-xm);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height);
  margin-bottom: 5px;
  /*width: 224px;*/
  cursor: pointer;
}
.contact-card h4  a{
  font-size: var(--font-size-xm);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height);
  margin-bottom: 5px;
  width: 224px;
  cursor: pointer; 
  color: #000;
    text-decoration: none;
}

.contact-card p {
  font-size: var(--font-size-xm);
  color: var(--text);
  font-weight: var(--font-weight-400);
  line-height: var(--line-height);
}
.contact-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.contact-wrapper-section {
  padding: var(--margin) 0px;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.map-box {
  position: relative;
  width: 100%;
}

.map-img {
  width: 100%;
  display: block;
  border-radius: 30px;
  border: 1px solid var(--border-1);
}

.pin-wrapper {
  position: absolute;
  top: 60%;
  left: 49%;
  transform: translate(-50%, -100%);
  z-index: 10;
  cursor: pointer;
}

.map-pin {
  width: 45px;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.3));
  animation: pinJump 2s infinite ease-in-out;
  transition: all 0.3s ease;
}

@keyframes pinJump {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
}

.pin-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  z-index: -1;
  animation: shadowPulse 2s infinite ease-in-out;
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0.1;
  }
}

.map-popup {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 00px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 220px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
}

.map-popup.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.map-popup h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: #333;
}

.map-popup p {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #666;
}

.dir-btn {
  display: inline-block;

  align-items: center;
  gap: 14px;
  padding: 17px 25px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: var(--font-size-xm);
  font-weight: var(--font-weight-400);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  font-family: "Britanica", sans-serif;
  transition:
    background 0.35s ease,
    color 0.35s ease;
  text-decoration: none;
}

.dir-btn:hover {
  background: var(--primary);
  color: var(--white);
}
.contact-from h3 {
  font-size: var(--font-size-lg);
  line-height: 100%;
  font-weight: var(--font-weight-700);
  margin-bottom: 40px;
}


.submit-btn:hover .icon {
  transform: translateX(60px);
  filter: none;
}

.submit-btn:hover .text {
  transform: translateX(-40px);
}

.submit-btn:hover img {
  filter: none;
}
.wpcf7 input.submit-btn {
  appearance: none;
  -webkit-appearance: none;

  background-color: #c81d25;
  background-image: url("https://pavla.pavladev.gr/wp-content/uploads/2026/01/arow-white.png");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: 22px center;

  border: 1px solid #c81d25;
  border-radius: 8px;
  color: #ffffff;

  padding: 17px 46px;
  font-size: var(--font-size-xm);

  cursor: pointer;
  display: inline-block;
  margin-top:20px;
  transition:
    background-color 0.3s ease,
    background-position 0.3s ease,
    padding 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

/* 🔥 HOVER EFFECT (TEXT LEFT + ARROW RIGHT) */
.wpcf7 input.submit-btn:hover {
  background-color:#EA383F;
  /*color: var(--primary);*/
  /*border-color: var(--primary);*/

  /* arrow slides right */
  background-position: calc(100% - 22px) center;

  /* text visually slides left */
  padding-left: 42px;
  padding-right: 48px;

  /* arrow color change */
  /*background-image: url("https://pavla.pavladev.gr/wp-content/uploads/2026/01/arrow_red.png");*/
}




