/* ==========================================================================
   CONTACT US SECTION - MODERN 3D GLASS THEME (MATCHING EXACT REFERENCE MOCKUP)
   Background: contact-bg.png (Office Desk, World Map, Paper Airplane, Curves)
   Left: Heading + Subtext + 3 Contact Info Badges
   Right: 3D Floating White Glass Form Card (Locked 100vh on Desktop)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Michroma&family=Orbitron:wght@500;700;800&display=swap');

/* --- 1. SECTION CONTAINER (LOCKED 100VH ON DESKTOP) --- */
.cu_section {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(16px, 2.5vh, 32px) clamp(20px, 3.5vw, 55px);
  box-sizing: border-box;
  background: url('../img/contact-bg.png') no-repeat center center;
  background-size: cover;
  font-family: 'Outfit', sans-serif;
  color: #1e293b;
}

/* Subtle particle canvas overlay */
.cu_canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

/* --- 2. MAIN LAYOUT GRID --- */
.cu_container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1420px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 3.2vw, 42px);
  box-sizing: border-box;
}

.cu_grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(500px, 590px);
  gap: clamp(16px, 2.2vw, 36px);
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* --- 3. LEFT PANEL: HEADLINE, SUBTEXT & CONTACT BADGES --- */
.cu_left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.8vh, 18px);
  max-width: 560px;
  width: 100%;
  text-align: left;
}

/* Badge: — GET IN TOUCH — */
.cu_label_row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cu_badge_line {
  width: 28px;
  height: 2px;
  background: #0088ff;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
}

.cu_label {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.72rem, 0.88vw, 0.8rem);
  letter-spacing: 3.5px;
  color: #0088ff;
  font-weight: 700;
  text-transform: uppercase;
}

/* Main Heading: LET'S CREATE / SOMETHING / AMAZING / TOGETHER */
.cu_heading {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.9rem, 2.95vw, 3rem);
  line-height: 1.14;
  margin: 0;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.5px;
}

.cu_heading_dark {
  color: #0b1528;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(11, 21, 40, 0.08);
}

.cu_heading_highlight {
  color: #0088ff;
  text-transform: uppercase;
  text-shadow: 0 0 25px rgba(0, 136, 255, 0.45);
}

/* Subtext */
.cu_subtext {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.88rem, 1vw, 1rem);
  color: #475569;
  line-height: 1.62;
  margin: 0;
  max-width: 480px;
  font-weight: 400;
}

/* 3 Horizontal Contact Info Badges (Pills) */
.cu_pills_row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 12px);
  flex-wrap: nowrap;
  margin-top: clamp(6px, 1.2vh, 12px);
  width: 100%;
  max-width: 520px;
}

.cu_pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px clamp(10px, 1vw, 14px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05), inset 0 1px 1px #ffffff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
  min-width: 0;
}

.cu_pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 136, 255, 0.12), inset 0 1px 1px #ffffff;
  border-color: rgba(0, 136, 255, 0.3);
}

.cu_pill_icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.88rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.cu_icon_blue {
  background: linear-gradient(135deg, #0099ff 0%, #0066ff 100%);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.cu_icon_teal {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.cu_icon_purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.cu_pill_meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.cu_pill_title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}

.cu_pill_value {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 4. RIGHT PANEL: 3D FLOATING WHITE GLASS FORM CARD --- */
.cu_right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  perspective: 1100px;
  perspective-origin: 30% 50%;
  margin-left: clamp(-38px, -3.2vw, -14px);
  position: relative;
  z-index: 10;
}

.cu_card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.94) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  padding: clamp(22px, 2.8vh, 32px) clamp(24px, 2.6vw, 36px);
  box-shadow:
    -16px 26px 60px rgba(15, 23, 42, 0.22),
    0 8px 24px rgba(0, 102, 255, 0.08),
    inset 0 2px 3px rgba(255, 255, 255, 0.96);
  box-sizing: border-box;
  transform: rotate(-4.2deg) rotateY(-3.5deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.cu_card:hover {
  transform: rotate(-2.5deg) rotateY(-2deg) rotateX(3deg) translateY(-4px);
  box-shadow:
    -20px 32px 70px rgba(15, 23, 42, 0.26),
    0 12px 30px rgba(0, 102, 255, 0.12),
    inset 0 2px 3px rgba(255, 255, 255, 0.98);
}

/* Card Header */
.cu_card_header {
  margin-bottom: clamp(14px, 2vh, 20px);
  text-align: left;
}

.cu_card_title_row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.cu_card_badge_line {
  width: 26px;
  height: 3px;
  background: #0088ff;
  border-radius: 2px;
}

.cu_card_title {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 700;
  color: #0b132b;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

.cu_card_sub {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.82rem, 0.94vw, 0.9rem);
  color: #64748b;
  margin: 4px 0 0 0;
}

/* Form Fields */
.cu_form {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 14px);
}

.cu_fields_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 14px);
}

.cu_input_box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(241, 245, 252, 0.75);
  border: 1px solid rgba(220, 230, 245, 0.88);
  border-radius: 14px;
  padding: 0 clamp(14px, 1.2vw, 18px);
  height: clamp(42px, 5.2vh, 48px);
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.cu_input_box:focus-within {
  background: #ffffff;
  border-color: #0088ff;
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.16);
}

.cu_field_icon {
  color: #64748b;
  font-size: 0.98rem;
  width: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.cu_input_box:focus-within .cu_field_icon {
  color: #0088ff;
}

.cu_input_box input,
.cu_input_box select,
.cu_input_box textarea {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.86rem, 0.96vw, 0.92rem);
  color: #0f172a;
  padding: 0;
  box-sizing: border-box;
}

.cu_input_box input::placeholder,
.cu_input_box textarea::placeholder {
  color: #94a3b8;
}

/* Select Dropdown */
.cu_select_box select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: #0f172a;
}

.cu_select_box select:invalid,
.cu_select_box select option[value=""] {
  color: #94a3b8;
}

.cu_select_arrow {
  color: #64748b;
  font-size: 0.78rem;
  margin-left: 8px;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.cu_select_box:focus-within .cu_select_arrow {
  transform: rotate(180deg);
  color: #0088ff;
}

/* Textarea Box */
.cu_textarea_box {
  height: auto;
  min-height: clamp(74px, 9.8vh, 96px);
  padding: 12px clamp(14px, 1.2vw, 18px);
  align-items: flex-start;
}

.cu_textarea_icon {
  margin-top: 4px;
}

.cu_textarea_box textarea {
  resize: none;
  min-height: clamp(58px, 7.8vh, 78px);
  line-height: 1.5;
}

/* Form Footer */
.cu_form_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding-top: 4px;
}

.cu_security_badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cu_sec_icon {
  font-size: 1.25rem;
  color: #0088ff;
  flex-shrink: 0;
}

.cu_sec_text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.72rem, 0.8vw, 0.78rem);
  color: #64748b;
  line-height: 1.35;
  text-align: left;
}

/* Submit Button */
.cu_submit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0088ff 0%, #0066ff 100%);
  border: none;
  border-radius: 14px;
  padding: clamp(12px, 1.6vh, 15px) clamp(22px, 2.2vw, 32px);
  color: #ffffff;
  font-family: 'Michroma', sans-serif;
  font-size: clamp(0.76rem, 0.88vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.42);
  flex-shrink: 0;
  outline: none;
}

.cu_submit_btn:hover {
  background: linear-gradient(135deg, #0077ee 0%, #0052cc 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.54);
}

.cu_submit_btn:active {
  transform: translateY(0);
}

.cu_btn_icon {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.cu_submit_btn:hover .cu_btn_icon {
  transform: translateX(3px) rotate(-15deg);
}

/* --- 5. RESPONSIVE DESIGN --- */

/* Laptops / Smaller Desktops */
@media (max-width: 1200px) {
  .cu_grid {
    grid-template-columns: minmax(380px, 1.1fr) minmax(360px, 460px);
    gap: 24px;
  }
  .cu_card {
    max-width: 460px;
    transform: rotateY(-14deg) rotateX(7deg) rotateZ(-1.5deg);
  }
}

/* Tablets & Mobile Devices (Stacked View) */
@media (max-width: 992px) {
  .cu_section {
    height: auto;
    max-height: none;
    min-height: 100vh;
    padding: 60px 20px;
  }

  .cu_container {
    height: auto;
  }

  .cu_grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cu_left {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .cu_label_row {
    justify-content: center;
  }

  .cu_subtext {
    text-align: center;
    margin: 0 auto;
  }

  .cu_pills_row {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cu_right {
    justify-content: center;
    perspective: none;
  }

  .cu_card {
    max-width: 520px;
    transform: none !important;
  }

  .cu_card:hover {
    transform: translateY(-3px) !important;
  }
}

/* Mobile Screens */
@media (max-width: 576px) {
  .cu_section {
    padding: 40px 16px;
  }

  .cu_card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .cu_fields_row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cu_form_footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }

  .cu_submit_btn {
    width: 100%;
    justify-content: center;
  }

  .cu_security_badge {
    justify-content: center;
  }

  .cu_sec_text {
    text-align: center;
  }

  .cu_pill {
    width: 100%;
    justify-content: flex-start;
  }
}
