/* Contact page: info-first glassmorphic layout */

body{
  overflow-x: hidden;
}

.contact-page {
  --contact-inline-gap: clamp(1.25rem, 5vw, 4.5rem);
}

@media (max-width: 576px) {
  .contact-page {
    --contact-inline-gap: clamp(1rem, 6vw, 2.5rem);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-block: 7rem;
  padding-inline: var(--contact-inline-gap);
  color: #fff;
  min-height: min(100vh, 100svh);
  padding-block-end: 11rem;
}

.contact-main {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
}

.contact-container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 0;
  margin-top: 0px;
  margin-bottom: 0;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

.contact-card {
  --contact-column-gap: clamp(2.5rem, 6vw, 6rem);
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-top: 5%;
  border-radius: 34px;
  padding: clamp(1.9rem, 4vw, 2.6rem);
  border: 1px solid rgba(220, 190, 255, 0.26);
  background: linear-gradient(135deg, rgba(38, 9, 78, 0.95) 0%, rgba(82, 29, 141, 0.98) 55%, rgba(140, 77, 214, 0.95) 100%);
  box-shadow: 0 40px 70px rgba(12, 0, 40, 0.5);
  overflow: hidden;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.6rem;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(190, 132, 255, 0.5), transparent 60%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.15), transparent 55%),
    radial-gradient(circle at 75% 88%, rgba(124, 52, 206, 0.55), transparent 62%);
  opacity: 0.9;
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-info-content {
  display: grid;
  width: min(100%, 960px);
  margin-inline: auto;
  row-gap: clamp(2.2rem, 5vw, 3.4rem);
  column-gap: var(--contact-column-gap);
  align-items: start;
  justify-content: center;
  justify-items: stretch;
  padding-inline: clamp(0.8rem, 2.8vw, 1.8rem);
}

@media (min-width: 768px) {
  .contact-info-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  }

}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-card {
    max-width: 720px;
    margin-inline: auto;
  }

  .contact-info-content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(2.3rem, 5vw, 3rem);
    justify-items: center;
    padding-inline: clamp(1.4rem, 5vw, 2.6rem);
  }

  .contact-summary {
    max-width: min(100%, 620px);
    text-align: center;
    margin-inline: auto;
    align-items: center;
  }

  .detail-columns {
    max-width: min(100%, 540px);
    margin-inline: auto;
    justify-items: stretch;
    margin-top: 40px;
  }

  .detail-card {
    padding: clamp(2rem, 5vw, 2.8rem);
  }

  .detail-item {
    align-items: center;
  }

  .contact-email-btn i,
  .contact-email-btn span {
    font-size: 18px !important;
  }
}

@media (min-width: 1024px) {
  .contact-info-content {
    grid-template-columns: minmax(0, 520px) minmax(0, 360px);
  }
}

@media (min-width: 1280px) {
  .contact-info-content {
    width: min(100%, 1000px);
  }
}

.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  max-width: min(100%, 540px);
  align-items: center;
  align-self: center;
  text-align: center;
  justify-self: stretch;
  margin-inline: 0;
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

@media (max-width: 767px) {
  .contact-summary {
    justify-self: center;
  }
}

#contact-title {
  text-align: center;
  padding-bottom: 0;
  font-size: 3.4rem;
}

.contact-summary .section-title::before,
.contact-summary .section-title::after {
  display: none;
}

@media (max-width: 576px) {
  .contact-section {
    padding-block-start: 5.8rem;
    padding-block-end: 8.5rem;
  }

}

@media (min-width: 1024px) {
  .contact-section {
    display: flex;
    align-items: center;
    padding-block: 6.5rem;
    padding-inline: var(--contact-inline-gap);
  }

  .contact-container {
    flex: 1 1 0;
  }
  .contact-summary {
    align-self: center;
  }
}

.contact-pill {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(244, 233, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-inline: 0;
}

.contact-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f6c7ff;
  box-shadow: 0 0 12px rgba(246, 199, 255, 0.65);
}

.section-title {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0;
  max-width: 22ch;
}

.section-title .highlight {
  color: #f6c7ff;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  display: inline;
  vertical-align: baseline;
}

.contact-subtitle {
  margin: 0;
  color: rgba(244, 233, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 38ch;
}

@media (max-width: 720px) {
  .contact-subtitle {
    margin-inline: 0.75rem;
  }

  .contact-summary,
  .contact-details {
    margin-inline: 1.1rem;
  }
}

.contact-availability {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(231, 201, 255, 0.4);
  background: rgba(35, 10, 86, 0.65);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 34px rgba(12, 0, 36, 0.42);
  text-align: center;
  margin-top: 50px;
  margin-inline: 0;
}

@media (max-width: 640px) {
  .contact-availability {
    align-self: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
}

.availability-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #64ffda, #38ef7d);
  box-shadow: 0 0 16px rgba(92, 244, 187, 0.75);
}

.availability-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  text-align: center;
}

.availability-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.availability-copy span {
  color: rgba(244, 233, 255, 0.78);
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem 1.6rem;
  margin-bottom: 40px;
  align-self: center;
  margin-inline: 0;
}

@media (max-width: 720px) {
  .contact-actions {
    justify-content: center;
    width: 100%;
  }
  
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.95rem 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 200, 255, 0.55);
  background: linear-gradient(135deg, rgba(76, 26, 142, 0.95), rgba(138, 73, 212, 0.97));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 26px 48px rgba(24, 6, 68, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-email-btn:hover,
.contact-email-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(20, 4, 60, 0.5);
  color: #fff;
}

.contact-email-btn:focus-visible {
  outline: 3px solid rgba(246, 199, 255, 0.55);
  outline-offset: 3px;
}

.contact-response {
  margin: 0;
  color: rgba(244, 233, 255, 0.72);
  font-size: 0.98rem;
  max-width: 32ch;
}

@media (max-width: 720px) {
  .contact-response {
    text-align: center;
    margin-inline: 0;
  }
}

.contact-details {
  width: 100%;
  max-width: clamp(280px, 32vw, 360px);
  margin-inline: 0;
  justify-self: stretch;
  padding: 1.7rem;
  border-radius: 34px;
  border: 1px solid rgba(213, 178, 255, 0.32);
  background: rgba(18, 4, 48, 0.55);
  box-shadow: 0 22px 46px rgba(9, 0, 30, 0.35);
}

@media (max-width: 767px) {
  .contact-details {
    justify-self: center;
  }
}

@media (max-width: 1023px) {
  .contact-info-content {
    width: 100%;
    padding-inline: clamp(1.2rem, 5vw, 2.6rem);
    column-gap: clamp(2rem, 6vw, 3.6rem);
  }

  .contact-summary {
    justify-self: center;
    padding-inline: clamp(0.6rem, 4vw, 2rem);
  }

  .contact-details {
    justify-self: center;
    max-width: clamp(280px, 42vw, 340px);
  }
}

.detail-columns {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  justify-content: center;
  margin-inline: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .detail-columns {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.detail-card {
  position: relative;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
  margin-inline: 0;
  padding: 50px;
  border-radius: 26px;
  border: 1px solid rgba(208, 176, 250, 0.3);
  background: rgba(12, 0, 34, 0.38);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 48px rgba(9, 0, 28, 0.42);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  height: 100%;
}

.detail-card:hover,
.detail-card:focus-within,
.detail-card.is-focused {
  transform: translateY(-4px);
  border-color: rgba(231, 201, 255, 0.6);
  background: rgba(26, 6, 58, 0.55);
}

.detail-header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.detail-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 233, 255, 0.55);
}

.detail-title {
  margin: 0;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
}

.detail-list {
  display: grid;
  gap: clamp(.8rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: stretch;
  width: 100%;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.9rem, 1.5vw, 1.2rem);
  padding: 1rem 1.3rem;
  border-radius: 20px;
  border: 1px solid rgba(208, 176, 250, 0.25);
  background: rgba(20, 4, 52, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.detail-item:hover,
.detail-item:focus-within,
.detail-item.is-focused {
  transform: translateY(-3px);
  border-color: rgba(231, 201, 255, 0.55);
  background: rgba(32, 8, 70, 0.6);
}

.detail-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #3f1266;
  background: linear-gradient(135deg, rgba(254, 244, 255, 0.92), rgba(214, 180, 255, 0.84));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 12px 20px rgba(12, 3, 32, 0.35);
  align-self: center;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  text-align: center;
}

.detail-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 233, 255, 0.55);
}

.detail-link,
.detail-text {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.detail-link:hover {
  color: #f6c7ff;
}

.highlight-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

.highlight-point {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(208, 176, 250, 0.25);
  background: rgba(18, 4, 48, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.highlight-point:hover,
.highlight-point:focus-within,
.highlight-point.is-focused {
  transform: translateY(-3px);
  border-color: rgba(231, 201, 255, 0.55);
  background: rgba(30, 6, 62, 0.6);
}

.highlight-symbol {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  color: #401068;
  background: linear-gradient(135deg, rgba(253, 244, 255, 0.92), rgba(210, 172, 255, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58), 0 12px 18px rgba(10, 2, 30, 0.35);
}

.highlight-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.highlight-name {
  font-size: 1.02rem;
  font-weight: 600;
}

.highlight-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(244, 233, 255, 0.76);
}

@media (max-width: 780px) {
  .contact-card {
    padding: 2.3rem;
    align-self: center;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contact-email-btn {
    justify-content: center;
    width: 220px;
    min-width: 0;
    max-width: 260px;
    padding: 0.85rem 1.9rem;
    font-size: 0.96rem;
    white-space: nowrap;
  }

  .highlight-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem !important;
    align-self: center;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .detail-columns {
    gap: 1.3rem;
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: clamp(0.8rem, 5vw, 1.6rem);
    max-width: 100%;
  }

  .contact-details {
    max-width: clamp(260px, 88vw, 320px);
  }

  .detail-card {
    width: min(100%, clamp(250px, 90vw, 320px));
    margin-inline: auto;
    padding: clamp(1.8rem, 6.5vw, 2.3rem);
  }

  .detail-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .detail-content {
    align-items: center;
    text-align: center;
  }

  .detail-icon {
    align-self: center;
  }

  .highlight-point {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: clamp(2.1rem, 7vw, 2.4rem);
    border-radius: 26px;
    align-self: center;
  }

  .contact-summary {
    gap: 1.5rem;
  }

  #contact-title, .section-title{
    font-size: 2.8rem !important;
    text-align: center !important;
  }

  .contact-pill {
    padding: 0.42rem 1.12rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    align-self: center;
    margin-top: 30px;
  }

  .contact-availability {
    gap: 0.5rem;
    margin-inline: 0;
  }

  .contact-email-btn {
    padding: 0.7rem 1.35rem;
    gap: 0.55rem;
    font-size: 0.9rem;
    max-width: 220px;
    white-space: nowrap;
  }


  .detail-item {
    padding: 0.85rem 1rem;
    gap: 0.8rem;
    width: min(100%, clamp(220px, 75vw, 240px));
    margin-inline: auto;
  }

  .detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .detail-text, .detail-link{
    font-size: 14px;
  }

  .detail-label {
    letter-spacing: 0.12em;
  }
  .info-card{
    padding: 30px 30px 30px;
  
  }
  .contact-container {
    margin: 0 1% 0 1% !important;
  }

  .detail-columns {
    padding-inline: clamp(1.1rem, 6.5vw, 1.8rem);
  }

  .detail-card {
    width: min(100%, clamp(240px, 80vw, 276px));
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-email-btn,
  .detail-card,
  .detail-item,
  .highlight-point {
    transition: none;
  }
}
