/* =========================================================
   CONTACT SECTION STYLES
   ========================================================= */
#contact {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

.contact-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.slider-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mobile-form-trigger-wrap {
  display: none; /* Hidden on desktop */
}

/* Glassmorphic Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-detail:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.glass-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.glass-icon-box svg {
  width: 20px;
  height: 20px;
  color: #f0b429; 
  stroke-width: 2px;
}

.contact-text {
  flex: 1;
}

.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #000000;
}

.contact-detail p, .contact-detail a {
  font-size: 0.88rem;
  color: #aaaaaa;
  text-decoration: none;
  line-height: 1.45;
}

.contact-detail a:hover {
  color: #f0b429;
}

/* Map */
.map-placeholder {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 240px;
  max-width: 420px;
  width: 100%;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) invert(92%) contrast(90%);
}

/* Form Layout */
.contact-form {
  border-radius: 20px;
  padding: 40px;
}

.modal-close-btn {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(204, 204, 204, 0.329);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px;
  color: #000000;
  font-size: 0.92rem;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #f0b429;
}

/* ===== CUSTOM DROP DOWN SELECT SYSTEM ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  list-style: none;
  width: 100%;
  background: rgba(202, 202, 202, 0.03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px;
  color: #111010;
  font-size: 0.92rem;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.select-trigger::after {
  content: '▼';
  font-size: 0.6rem;
  color: #000000;
  transition: transform 0.2s ease;
}

.custom-select[open] .select-trigger::after {
  transform: rotate(180deg);
}

.custom-select[open] .select-trigger {
  border-color: #f0b429;
}

.select-trigger::-webkit-details-marker {
  display: none;
}

/* Floating Options Box */
.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  z-index: 99;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ebe9e9;
  padding: 4px 0;
}

/* Hidden Native Radio Input */
.option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Option Menu Item Elements */
.option-item span {
  display: block;
  padding: 12px 16px;
  color: #000000;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover State */
.option-item:hover span {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Active Selected Element Highlight */
.option-item input[type="radio"]:checked + span {
  background: #f0b429;
  color: #000000;
  font-weight: 600;
}

/* ===== CLEAN PULSE ANIMATION FOR MOBILE BUTTON ===== */
@keyframes cleanPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.pulse-ring-btn {
  animation: pulseRingClean 2s infinite ease-in-out;
  box-shadow: none !important;
}

@keyframes pulseRingClean {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 154, 0, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 154, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 154, 0, 0); }
}

/* ===== MOBILE RESPONSIVE TWEAKS ===== */
@media(max-width: 900px) {
  #contact {
    padding: 36px 0;
  }

  .contact-left {
    min-width: 0; 
    overflow: visible; /* Prevents card bottom shadow from clipping */
    width: 100%;
    gap: 12px;
  }

  .contact-section-container {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .section-header {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  
  .slider-track {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 14px 16px; /* Added proper vertical padding to prevent bottom cutoff */
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
  }
  
  .slider-track::-webkit-scrollbar {
    display: none;
  }
  
  .contact-left .contact-detail {
    flex: 0 0 78vw;
    max-width: 270px;
    scroll-snap-align: center;
    padding: 14px 12px;
    border-radius: 14px;
    background: #FFFFFF !important; /* Plain solid white background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important; /* Clean, subtle, fully-visible shadow */
  }

  /* Compact Map Height */
  .map-placeholder {
    max-width: calc(100% - 32px);
    margin: 0 auto;
    height: 140px; 
    border-radius: 14px;
  }

  .mobile-form-trigger-wrap {
    display: block;
    padding: 0 16px;
    margin-top: 4px;
  }

  /* Modal Overlay State for Form on Mobile */
  .contact-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .contact-right.active-modal {
    opacity: 1;
    visibility: visible;
  }

  .modal-content-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-close-btn {
    display: block;
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #111111;
    cursor: pointer;
    z-index: 10;
  }

  /* Old Light Theme Form Styling */
  .contact-form.light-form-theme {
    padding: 24px 18px;
    border-radius: 18px;
    background: #FFFFFF !important;
    border: 1px solid #E5E5E0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .contact-form.light-form-theme .form-group input,
  .contact-form.light-form-theme .form-group textarea,
  .contact-form.light-form-theme .select-trigger {
    background: #F8F8F6;
    border: 1px solid #E5E5E0;
    color: #111111;
  }

  .contact-form.light-form-theme .form-group label {
    color: #555555;
  }
}

@media(max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form.light-form-theme {
    padding: 20px 14px;
  }
}



/* =========================================================
   CONTACT SECTION STYLES
   ========================================================= */
#contact {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

.contact-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.slider-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mobile-form-trigger-wrap {
  display: none; /* Hidden on desktop */
}

/* Glassmorphic Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-detail:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.glass-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.glass-icon-box svg {
  width: 20px;
  height: 20px;
  color: #f0b429; 
  stroke-width: 2px;
}

.contact-text {
  flex: 1;
}

.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #000000;
}

.contact-detail p, .contact-detail a {
  font-size: 0.88rem;
  color: #aaaaaa;
  text-decoration: none;
  line-height: 1.45;
}

.contact-detail a:hover {
  color: #f0b429;
}

/* Map */
.map-placeholder {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 240px;
  max-width: 420px;
  width: 100%;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) invert(92%) contrast(90%);
}

/* Form Layout */
.contact-form {
  border-radius: 20px;
  padding: 40px;
}

.modal-close-btn {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(204, 204, 204, 0.329);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px;
  color: #000000;
  font-size: 0.92rem;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #f0b429;
}

/* ===== CUSTOM DROP DOWN SELECT SYSTEM ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  list-style: none;
  width: 100%;
  background: rgba(202, 202, 202, 0.03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px;
  color: #111010;
  font-size: 0.92rem;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.select-trigger::after {
  content: '▼';
  font-size: 0.6rem;
  color: #000000;
  transition: transform 0.2s ease;
}

.custom-select[open] .select-trigger::after {
  transform: rotate(180deg);
}

.custom-select[open] .select-trigger {
  border-color: #f0b429;
}

.select-trigger::-webkit-details-marker {
  display: none;
}

/* Floating Options Box */
.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  z-index: 99;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ebe9e9;
  padding: 4px 0;
}

/* Hidden Native Radio Input */
.option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Option Menu Item Elements */
.option-item span {
  display: block;
  padding: 12px 16px;
  color: #000000;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover State */
.option-item:hover span {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Active Selected Element Highlight */
.option-item input[type="radio"]:checked + span {
  background: #f0b429;
  color: #000000;
  font-weight: 600;
}

/* ===== CLEAN PULSE ANIMATION FOR MOBILE BUTTON ===== */
@keyframes cleanPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.pulse-ring-btn {
  animation: pulseRingClean 2s infinite ease-in-out;
  box-shadow: none !important;
}

@keyframes pulseRingClean {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 154, 0, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 154, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 154, 0, 0); }
}

/* ===== MOBILE RESPONSIVE TWEAKS (COMPACT FORM FIT) ===== */
@media(max-width: 900px) {
  #contact {
    padding: 36px 0;
  }

  .contact-left {
    min-width: 0; 
    overflow: visible;
    width: 100%;
    gap: 12px;
  }

  .contact-section-container {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .section-header {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  
  .slider-track {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 14px 16px; 
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
  }
  
  .slider-track::-webkit-scrollbar {
    display: none;
  }
  
  .contact-left .contact-detail {
    flex: 0 0 78vw;
    max-width: 270px;
    scroll-snap-align: center;
    padding: 14px 12px;
    border-radius: 14px;
    background: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  }

  /* Compact Map Height */
  .map-placeholder {
    max-width: calc(100% - 32px);
    margin: 0 auto;
    height: 140px; 
    border-radius: 14px;
  }

  .mobile-form-trigger-wrap {
    display: block;
    padding: 0 16px;
    margin-top: 4px;
  }

  /* Modal Overlay State for Form on Mobile */
  .contact-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .contact-right.active-modal {
    opacity: 1;
    visibility: visible;
  }

  .modal-content-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 85vh; /* Fits neatly inside phone screen */
    overflow-y: auto;
  }

  .modal-close-btn {
    display: block;
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #111111;
    cursor: pointer;
    z-index: 10;
  }

  /* Highly Compact Light Theme Form Styling for Mobile */
  .contact-form.light-form-theme {
    padding: 18px 14px;
    border-radius: 16px;
    background: #FFFFFF !important;
    border: 1px solid #E5E5E0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .contact-form.light-form-theme .form-group {
    margin-bottom: 12px; /* Tighter spacing between fields */
  }

  .contact-form.light-form-theme .form-group label {
    font-size: 0.68rem;
    margin-bottom: 4px;
    color: #555555;
  }

  .contact-form.light-form-theme .form-group input,
  .contact-form.light-form-theme .form-group textarea,
  .contact-form.light-form-theme .select-trigger {
    background: #F8F8F6;
    border: 1px solid #E5E5E0;
    color: #111111;
    padding: 10px 12px; /* Reduced input padding */
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .contact-form.light-form-theme textarea {
    rows: 2;
    height: 70px; /* Compact textarea height */
  }

  .contact-form.light-form-theme button[type="submit"] {
    padding: 12px;
    font-size: 0.9rem;
    margin-top: 4px;
  }
}

@media(max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form.light-form-theme {
    padding: 16px 12px;
  }
}


/* =========================================================
   CONTACT SECTION STYLES
   ========================================================= */
#contact {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

.contact-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.slider-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mobile-form-trigger-wrap {
  display: none; /* Hidden on desktop */
}

/* Glassmorphic Styles (Desktop) */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-detail:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.glass-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.glass-icon-box svg {
  width: 20px;
  height: 20px;
  color: #f0b429; 
  stroke-width: 2px;
}

.contact-text {
  flex: 1;
}

.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #000000;
}

.contact-detail p, .contact-detail a {
  font-size: 0.88rem;
  color: #aaaaaa;
  text-decoration: none;
  line-height: 1.45;
}

.contact-detail a:hover {
  color: #f0b429;
}

/* Map */
.map-placeholder {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 240px;
  max-width: 420px;
  width: 100%;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) invert(92%) contrast(90%);
}

/* Form Layout */
.contact-form {
  border-radius: 20px;
  padding: 40px;
}

.modal-close-btn {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(204, 204, 204, 0.329);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px;
  color: #000000;
  font-size: 0.92rem;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #f0b429;
}

/* ===== CUSTOM DROP DOWN SELECT SYSTEM ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  list-style: none;
  width: 100%;
  background: rgba(202, 202, 202, 0.03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px;
  color: #111010;
  font-size: 0.92rem;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.select-trigger::after {
  content: '▼';
  font-size: 0.6rem;
  color: #000000;
  transition: transform 0.2s ease;
}

.custom-select[open] .select-trigger::after {
  transform: rotate(180deg);
}

.custom-select[open] .select-trigger {
  border-color: #f0b429;
}

.select-trigger::-webkit-details-marker {
  display: none;
}

/* Floating Options Box */
.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  z-index: 99;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ebe9e9;
  padding: 4px 0;
}

/* Hidden Native Radio Input */
.option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Option Menu Item Elements */
.option-item span {
  display: block;
  padding: 12px 16px;
  color: #000000;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover State */
.option-item:hover span {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Active Selected Element Highlight */
.option-item input[type="radio"]:checked + span {
  background: #f0b429;
  color: #000000;
  font-weight: 600;
}

/* ===== PULSE RING ANIMATION FOR MOBILE TRIGGER ===== */
@keyframes pulseRingClean {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 154, 0, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 154, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 154, 0, 0); }
}

.pulse-ring-btn {
  animation: pulseRingClean 2s infinite ease-in-out;
}

/* ===== MOBILE RESPONSIVE TWEAKS (PLAIN SLIDING TEXT & COMPACT FORM) ===== */
@media(max-width: 900px) {
  #contact {
    padding: 36px 0; /* Proper section top/bottom padding */
  }

  .contact-left {
    min-width: 0; 
    overflow: visible;
    width: 100%;
    gap: 12px;
  }

  .contact-section-container {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .section-header {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  
  .slider-track {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 12px 16px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
  }
  
  .slider-track::-webkit-scrollbar {
    display: none;
  }
  
  /* Plain Sliding Text Style (No Box, No Shadows, No Borders) */
  .contact-left .contact-detail {
    flex: 0 0 72vw;
    max-width: 240px;
    scroll-snap-align: center;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    gap: 10px;
  }

  .contact-left .glass-icon-box {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 28px;
    height: 28px;
  }

  .contact-left .contact-detail strong {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .contact-left .contact-detail p,
  .contact-left .contact-detail a {
    font-size: 0.78rem;
  }

  /* Compact Map */
  .map-placeholder {
    max-width: calc(100% - 32px);
    margin: 0 auto;
    height: 130px; 
    border-radius: 12px;
  }

  .mobile-form-trigger-wrap {
    display: block;
    padding: 0 16px;
    margin-top: 4px;
  }

  /* Modal Overlay State for Form on Mobile */
  .contact-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .contact-right.active-modal {
    opacity: 1;
    visibility: visible;
  }

  .modal-content-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .modal-close-btn {
    display: block;
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #111111;
    cursor: pointer;
    z-index: 10;
  }

  /* Highly Compact Light Theme Form Styling */
  .contact-form.light-form-theme {
    padding: 18px 14px;
    border-radius: 16px;
    background: #FFFFFF !important;
    border: 1px solid #E5E5E0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .contact-form.light-form-theme .form-group {
    margin-bottom: 12px;
  }

  .contact-form.light-form-theme .form-group label {
    font-size: 0.68rem;
    margin-bottom: 4px;
    color: #555555;
  }

  .contact-form.light-form-theme .form-group input,
  .contact-form.light-form-theme .form-group textarea,
  .contact-form.light-form-theme .select-trigger {
    background: #F8F8F6;
    border: 1px solid #E5E5E0;
    color: #111111;
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .contact-form.light-form-theme textarea {
    rows: 2;
    height: 70px;
  }

  .contact-form.light-form-theme button[type="submit"] {
    padding: 12px;
    font-size: 0.9rem;
    margin-top: 4px;
  }
}

@media(max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form.light-form-theme {
    padding: 16px 12px;
  }
}
@media(max-width: 900px) {
  /* ... keep your other mobile rules ... */

  .contact-left .contact-detail {
    flex: 0 0 78vw;
    max-width: 280px;
    scroll-snap-align: center;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px; /* Tighter gap between icon and text block */
  }

  .contact-left .glass-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .contact-left .glass-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .contact-left .contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Keeps heading and description tightly bundled together */
  }

  .contact-left .contact-detail strong {
    font-size: 0.88rem;
    margin-bottom: 0;
  }

  .contact-left .contact-detail p, 
  .contact-left .contact-detail a {
    font-size: 0.78rem;
    line-height: 1.3;
  }
}
/* =========================================================
   FIXED MOBILE CONTACT SLIDER (Tighter Gap & Plain Text)
   ========================================================= */
@media(max-width: 900px) {
  #contact {
    padding: 36px 0;
  }

  .contact-left {
    min-width: 0; 
    overflow: visible;
    width: 100%;
    gap: 12px;
  }

  .contact-section-container {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .section-header, .map-placeholder {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  
  .slider-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 12px 16px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
  }
  
  .slider-track::-webkit-scrollbar {
    display: none;
  }
  
  /* Make card wrap tightly around contents with a minimal, clean gap */
  .contact-left .contact-detail {
    flex: 0 0 auto;
    width: auto;
    min-width: 240px;
    max-width: 300px;
    scroll-snap-align: center;
    padding: 10px 14px;
    background: #FFFFFF !important;
    border: 1px solid #E5E5E0 !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    display: flex;
    align-items: center;
    gap: 10px; /* Forces icon and text close together */
  }

  .contact-left .glass-icon-box {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .contact-left .glass-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .contact-left .contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .contact-left .contact-detail strong {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #111111;
  }

  .contact-left .contact-detail p,
  .contact-left .contact-detail a {
    font-size: 0.78rem;
    color: #666666;
  }

  /* Compact Map Height */
  .map-placeholder {
    max-width: calc(100% - 32px);
    margin: 0 auto;
    height: 130px; 
    border-radius: 12px;
  }

  .mobile-form-trigger-wrap {
    display: block;
    padding: 0 16px;
    margin-top: 4px;
  }

  /* Modal Overlay Form */
  .contact-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .contact-right.active-modal {
    opacity: 1;
    visibility: visible;
  }

  .modal-content-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .modal-close-btn {
    display: block;
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #111111;
    cursor: pointer;
    z-index: 10;
  }

  .contact-form.light-form-theme {
    padding: 18px 14px;
    border-radius: 16px;
    background: #FFFFFF !important;
    border: 1px solid #E5E5E0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .contact-form.light-form-theme .form-group {
    margin-bottom: 12px;
  }

  .contact-form.light-form-theme .form-group label {
    font-size: 0.68rem;
    margin-bottom: 4px;
    color: #555555;
  }

  .contact-form.light-form-theme .form-group input,
  .contact-form.light-form-theme .form-group textarea,
  .contact-form.light-form-theme .select-trigger {
    background: #F8F8F6;
    border: 1px solid #E5E5E0;
    color: #111111;
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .contact-form.light-form-theme textarea {
    height: 70px;
  }

  .contact-form.light-form-theme button[type="submit"] {
    padding: 12px;
    font-size: 0.9rem;
    margin-top: 4px;
  }
}