/* SECTION */
.contact-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
}
html {
  scrollbar-gutter: stable;
}
body {
  padding-top: 92px;
}
/* HERO SECTION */
.contact-hero {
  position: relative;
  height: 60vh;

  background: url("/images/contact-hero.jpg") center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* DARK OVERLAY (theme match) */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 29, 149, 0.5),
    rgba(107, 70, 193, 0.5)
  );
}

/* CONTENT */
.hero-content {
  position: relative;
  color: white;
  z-index: 2;
  padding: 0 20px;
}

/* TITLE */
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* SUBTEXT */
.hero-content p {
  font-size: 18px;
  color: #e0e7ff;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .contact-hero {
    height: 45vh;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

/* GRID */
.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

/* LEFT SIDE */
.contact-info {
  padding: 40px;
  border-radius: 16px;

  background: linear-gradient(135deg, #4c1d95, #6b46c1);
  color: white;

  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-info h2 {
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 30px;
  color: #ddd;
}

/* INFO ITEMS */
.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
  font-size: 15px;
}

.info-box i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;

  background: rgba(255,255,255,0.1);
  color: white;

  transition: 0.3s;
}

/* 🔥 Hover */
.info-box:hover i {
  background: #a78bfa;
  box-shadow: 0 0 12px rgba(167,139,250,0.8);
  transform: scale(1.1);
}

/* SOCIAL */
.contact-socials {
  margin-top: 30px;
}

.contact-socials a {
  display: inline-block;
  margin-right: 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;

  background: rgba(255,255,255,0.1);
  color: white;
  transition: 0.3s;
}

.contact-socials a:hover {
  background: #a78bfa;
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(167,139,250,0.9);
}

/* FORM */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;

  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 28px;
  background: white; /* 🔥 important */
}

/* INPUT + TEXTAREA */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* TEXTAREA HEIGHT */
.input-group textarea {
  height: 30px;
  resize: none;
  padding-top: 22px;
}

/* LABEL */
.input-group label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  
  background: white;
  padding: 0 6px;

  color: #888;
  font-size: 14px;

  z-index: 2; /* 🔥 MOST IMPORTANT */
  transition: 0.3s ease;
}

/* TEXTAREA LABEL DEFAULT */
.input-group textarea + label {
  top: 20px;
  transform: none;
}

/* FLOAT */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: #6b46c1;
}

.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 11px;
  color: #6b46c1;
}
/* BUTTON */
.contact-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;

  background: linear-gradient(135deg, #6b46c1, #8b5cf6);
  color: white;
  font-weight: 500;
  font-size: 15px;

  transition: 0.3s;
}

/* 🔥 Hover */
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,70,193,0.4);
}

/* MAP */
.map iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}