/* =========================================================
   EduArt Contact – CSS only (scoped)
   ========================================================= */

.eduart-contact__container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.eduart-contact__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.eduart-contact__title {
  margin: 0;
}

/* =========================================================
   TOP company info cards (dark gray, side-by-side like screenshot)
   ========================================================= */

.eduart-contact__infoGrid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .eduart-contact__infoGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .eduart-contact__infoGrid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eduart-contact__infoCard {
  border-radius: 14px;
  padding: 1.25rem 1rem;
  background: #111111; /* dark gray tile */
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  text-align: center;
  color: #fff;
  text-decoration: none; /* allows <a> infoCard to look like cards */
  display: block;        /* ensures <a> behaves like a card block */
}

.eduart-contact__infoIcon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.eduart-contact__infoTitle {
  margin: 0.15rem 0 0.55rem;
  font-size: 1.5rem;
  color: #fff;
}

.eduart-contact__infoText {
  margin: 0;
  opacity: 0.88;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.eduart-contact__infoLink {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(255, 255, 255, 0.92);
}


.eduart-contact__infoCard svg {
  display: block;
}

/* If infoIcon contains <img> (e.g. social icons), make it white and centered */
.eduart-contact__infoIcon img {
  width: 34px;
  height: 34px;
  display: block;
  filter: brightness(0) invert(1);
}

/* Intro text under the title */
.eduart-contact__intro {
  margin: 1.2rem auto 0;
  max-width: 52rem;
  opacity: 0.9;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.90);
}

/* =========================================================
   MAIN: Social + Form layout
   ========================================================= */

.eduart-contact__mainGrid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .eduart-contact__mainGrid {
    grid-template-columns: 0.42fr 0.58fr;
    gap: 1.5rem;
  }
}

/* =========================================================
   Social block  (NOW styled like info cards)
   ========================================================= */

.eduart-contact__social {
  padding: 1.1rem;            /* no extra box; the cards do the styling */
  border: none;
  box-shadow: none;
}

.eduart-contact__subTitle {
  margin: 0;
  color: #fff;
}

/* keep your social layout rules (stacked on desktop, 2-col on mid) */
.eduart-contact__socialRow {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 520px) {
  .eduart-contact__socialRow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .eduart-contact__socialRow {
    grid-template-columns: 1fr;
  }
}

/* Social cards: inherit the exact "infoCard" look */
.eduart-contact__socialLink {
  border-radius: 14px;
  padding: 1.25rem 1rem;
  background: #111111; /* same as info card */
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  text-align: center;

  color: #fff;
  text-decoration: none;
  display: block;
}

.eduart-contact__socialLink:hover,
.eduart-contact__socialLink:focus-visible, 
.eduart-contact__infoCard:hover,
.eduart-contact__infoCard:focus-visible
 {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
  outline: none;
  background-color: #811811;
  transition: background-color 0.3s ease;
}

.eduart-contact__infoCard:hover a {
  color: #fff;
}



/* Social icon: match infoIcon dimensions/feel */
.eduart-contact__socialIcon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.eduart-contact__socialImg {
  width: 34px;
  height: 34px;
  display: block;
  filter: brightness(0) invert(1);
}

/* Social name should look like infoTitle */
.eduart-contact__socialName {
  display: block;
  margin: 0.15rem 0 0.55rem;
  font-size: 1.5rem;
  opacity: 1;
  color: #fff;
}

/* If you also show a short description under socialName, keep it consistent */
.eduart-contact__socialLink p,
.eduart-contact__socialLink .eduart-contact__infoText {
  margin: 0;
  opacity: 0.88;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   Form card
   ========================================================= */

.eduart-contact__formWrap {
  padding: 1.1rem;
  width: 100%;
}

.eduart-contact__formCard {
  border-radius: 16px;
  padding: 1.25rem;
  background: #111111; /* dark gray tile */
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.eduart-contact__formDesc {
  margin: 0.55rem 0 0;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.85);
}

.eduart-contact__form {
  margin-top: 1.1rem;
}

.eduart-contact__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .eduart-contact__row {
    grid-template-columns: 1fr 1fr;
  }
}

.eduart-contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.eduart-contact__label {
  display: inline-block;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

.eduart-contact__input,
.eduart-contact__textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.90);
  padding: 0.75rem 0.85rem;
  box-sizing: border-box;
  color: #111;
}

.eduart-contact__textarea {
  resize: vertical;
  min-height: 140px;
}

.eduart-contact__input:focus-visible,
.eduart-contact__textarea:focus-visible {
  outline: 2px solid rgba(49, 36, 202, 0.55);
  outline-offset: 2px;
}

/* =========================================================
   Fieldsets / checkbox grids
   ========================================================= */

.eduart-contact__fieldset {
  margin: 1rem 0 0;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.eduart-contact__legend {
  padding: 0 0.3rem;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

.eduart-contact__checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

@media (min-width: 720px) {
  .eduart-contact__checks {
    grid-template-columns: 1fr 1fr;
  }
}

.eduart-contact__check {
  display: inline-flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.eduart-contact__checkbox {
  margin-top: 0.15rem;
}

.eduart-contact__checkText {
  opacity: 0.95;
}

.eduart-contact__hint {
  margin: 0.65rem 0 0;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.80);
}

.eduart-contact__error {
  margin: 0.55rem 0 0;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

/* Privacy checkbox row */
.eduart-contact__check--privacy {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.eduart-contact__link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   Captcha
   ========================================================= */

.eduart-contact__captcha {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

/* =========================================================
   Submit
   ========================================================= */

.eduart-contact__submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(49, 36, 202, 0.9);
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
  color: #fff;
}

.eduart-contact__submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.eduart-contact__submit:active {
  transform: translateY(0px);
}

.eduart-contact__result {
  margin: 0.9rem 0 0;
  min-height: 1.2em;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.90);
}

/* Honeypot */
.eduart-contact__hidden {
  display: none;
}

/* Slight spacing from outer wrapper if needed */
.empty-page .eduart-contact {
  width: 100%;
}
