/* === CONTACT PAGE === */

.contact.section{
  position: relative;
  padding: 80px 0 90px;
}

/* Grey strip behind cards  */
.contact.section::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  /* where the grey band starts under the big title */
  top: 400px;

  /* height of the band behind the cards/form area */
  height: 560px;

  background: #15171a;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 0;
}

/* Layout grid */
.contact-layout{
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 34px;
  align-items: start;
}

/* Header spans full width */
.section-header.center{
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 0 40px;
}

/* CONTACT US pill */
.section-header .section-title{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;

  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 12px;
  font-weight: 900;

  color: var(--red);
  background: rgba(196,30,58,0.12);
  border: 1px solid rgba(196,30,58,0.28);
}

/* Big title */
.section-header .section-subtitle{
  margin: 18px 0 10px;
  font-size: clamp(44px, 4.2vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Description */
.section-header .section-description{
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255,255,255,0.66);
  line-height: 1.8;
}

/* Left cards column */
.contact-cards{
  display: grid;
  gap: 18px;
}

/* Info cards */
.contact-card{
  background: rgba(0,0,0,0.70) !important;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);

  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 22px 22px;
  align-items: center;
}

.contact-card-icon{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  background: var(--red);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.contact-card-text h3{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.contact-card-text p{
  margin: 0;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
}

.contact-card-text a{
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.contact-card-text a:hover{
  color: #fff;
  text-decoration: underline;
}

/* Right form card */
.contact-form-card{
  background: rgba(0,0,0,0.78) !important;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  padding: 28px;
}

/* Make the form stack nicely: grid fields, then message, then button */
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 2x2 grid for top fields */
.form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

/* Field styling */
.form-field{
  display: grid;
  gap: 8px;
}

.form-field label{
  color: rgba(255,255,255,0.82);
  font-weight: 800;
  font-size: 14px;
}

.required{ color: var(--red); }

.form-field input,
.form-field textarea{
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  padding: 12px 14px;
  outline: none;
}

.form-field textarea{
  resize: vertical;
  min-height: 190px;
}

/* Focus */
.form-field input:focus,
.form-field textarea:focus{
  border-color: rgba(196,30,58,0.65);
  box-shadow: 0 0 0 4px rgba(196,30,58,0.18);
}

/* Button full width at bottom */
.form-actions{
  margin-top: 4px;
}

.contact-form button.btn-primary{
  width: 100% !important;
  padding: 14px 18px !important;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;

  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  cursor: pointer;
}

.contact-form button.btn-primary:hover{
  filter: brightness(1.03);
}

/* Responsive */
@media (max-width: 980px){
  .contact-layout{
    grid-template-columns: 1fr;
  }
  .form-grid{
    grid-template-columns: 1fr;
  }

  .contact.section::before{
    top: 260px;
    height: 900px; /* more room for stacked layout */
  }
}