/* =========================================
   VisalKalvi — Contact Page Styles
   ========================================= */

/* ===== CONTACT CARD LAYOUT ===== */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

/* =========================================
   CONTACT HERO
   ========================================= */

.contact-hero {
  position: relative;
  min-height: 280px;

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

  background-image:
    linear-gradient(
      rgba(5, 10, 35, 0.48),
      rgba(15, 5, 45, 0.62)
    ),
    url("../images/contact-hero.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Animated glow */
.contact-hero::before {
  content: "";
  position: absolute;

  width: 400px;
  height: 400px;

  background: rgba(0, 220, 255, 0.18);

  filter: blur(100px);
  border-radius: 50%;

  top: -180px;
  left: -100px;

  animation: contactGlow 5s ease-in-out infinite alternate;
}

.contact-hero::after {
  content: "";
  position: absolute;

  width: 350px;
  height: 350px;

  background: rgba(130, 70, 255, 0.20);

  filter: blur(100px);
  border-radius: 50%;

  bottom: -160px;
  right: -100px;

  animation: contactGlow 5s ease-in-out infinite alternate-reverse;
}

@keyframes contactGlow {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.25);
  }
}

/* Content */
.contact-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;

  text-align: center;

  padding: 70px 20px;
}

/* Badge */
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 18px;
  margin-bottom: 20px;

  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 50px;

  background: rgba(10, 20, 50, 0.65);
  backdrop-filter: blur(10px);

  color: #ffd700;

  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

/* Heading */
.contact-hero h1 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.1;

  font-weight: 800;
  letter-spacing: -2px;

  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.55);
}

/* Gradient text */
.contact-hero h1 span {
  background: linear-gradient(
    90deg,
    #fff3a8,
    #ffd700,
    #f59e0b,
    #ffd700
  );

  background-size: 200% auto;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: contactGradient 4s linear infinite;
}

@keyframes contactGradient {
  to {
    background-position: 200% center;
  }
}

/* Description */
.contact-hero p {
  max-width: 680px;

  margin: 22px auto 0;

  color: rgba(255, 255, 255, 0.92);

  font-size: 18px;
  line-height: 1.7;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

  .contact-hero {
    min-height: 420px;

    background-position: center;
  }

  .contact-hero-content {
    padding: 55px 18px;
  }

  .contact-hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .contact-hero p {
    font-size: 16px;
  }
}

/* LEFT panel */
.contact-left {
  background:
    linear-gradient(
      135deg,
      #081436 0%,
      #0e2a6d 55%,
      #1b449c 100%
    );
  padding: 0;
  position: relative;
  overflow: hidden;
  border-right: 2px solid #ffd700;
}
.contact-left::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.contact-left::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.contact-left-inner {
  padding: 48px 36px;
  position: relative;
  z-index: 1;
}

.contact-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background:
    linear-gradient(
      135deg,
      #fff3a8 0%,
      #ffd700 45%,
      #f59e0b 100%
    );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.contact-left-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Contact info items */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.3s ease;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  cursor: pointer;
}
.contact-info-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px) scale(1.02);
  border-color: #ffd700;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.ci-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; fill: #ffd700; }

.ci-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
.ci-value {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.55;
}
.ci-value a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ci-value a:hover { color: #fde68a; }

/* RIGHT panel — Form */
.contact-right {
  padding: 48px 44px;
}

.contact-right h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-right-sub {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: #e53e3e; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--beige);
  transition: var(--transition);
  outline: none;
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25), 0 4px 12px rgba(12, 35, 92, 0.08);
  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0aec0; }

.form-group textarea {
  height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-group select {
  cursor: pointer;
}

/* Submit button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(
      135deg,
      #081436 0%,
      #0e2a6d 55%,
      #1b449c 100%
    );
  color: white;
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: 2px solid #ffd700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow:
    0 4px 18px rgba(12, 35, 92, 0.35),
    0 2px 8px rgba(255, 215, 0, 0.25);
}
.btn-submit:hover {
  background:
    linear-gradient(
      135deg,
      #ffd700 0%,
      #f59e0b 100%
    );
  color: #081436;
  border-color: #ffe57f;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 28px rgba(255, 215, 0, 0.5),
    0 4px 15px rgba(12, 35, 92, 0.35);
}
.btn-submit:active {
  transform: translateY(-1px) scale(0.99);
}

/* ===== EXTRA CARDS ===== */
.contact-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-extra-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.ce-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(124,58,237,0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ce-icon svg { width: 24px; height: 24px; fill: var(--purple); }

.contact-extra-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.contact-extra-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.contact-extra-card a {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}
.contact-extra-card a:hover { color: var(--blue); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-extras {
    grid-template-columns: 1fr;
  }
  .contact-right { padding: 36px 24px; }
  .contact-left-inner { padding: 36px 24px; }
}

@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}
