
body {
    background-color: #060907 !important;
}

.contact-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    z-index: 10;
}

/* Flashlight Reveal Text Section */
.flashlight-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
}

.flashlight-bg-text {
    font-size: clamp(4rem, 8vw, 8rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: rgba(10, 46, 22, 0.5); 
    line-height: 1;
    text-transform: uppercase;
    position: absolute;
    width: 80%;
    text-align: left;
    margin-left: 10%;
    pointer-events: none;
}

.flashlight-reveal-text {
    font-size: clamp(4rem, 8vw, 8rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
    text-transform: uppercase;
    position: absolute;
    width: 80%;
    text-align: left;
    margin-left: 10%;
    pointer-events: none;
    
    -webkit-mask-image: radial-gradient(circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 20%, transparent 100%);
    mask-image: radial-gradient(circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 20%, transparent 100%);
}

/* Form Section (Mac Window Style) */
.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    position: relative;
}

.screen {
  position: relative;
  background: #1a1e1b;
  border-radius: 15px;
  width: 100%;
  max-width: 850px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  transform: translateY(-3%); /* Subtle pull up to align perfectly with the top of the text */
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 20px; right: 20px; bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #252b27; /* Header gray/green */
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px; height: 8px; margin-right: 3px;
  border-radius: 8px; background: white;
}
.screen-header-button.close { background: #ff5f56; }
.screen-header-button.maximize { background: #ffbd2e; }
.screen-header-button.minimize { background: #27c93f; }

.screen-header-right {
  display: flex;
}
.screen-header-ellipsis {
  width: 3px; height: 3px; margin-left: 2px;
  border-radius: 8px; background: #999;
}

.screen-body {
  display: flex;
  padding: 35px 45px; /* Reduced padding to make the box tighter without shrinking contents */
  position: relative;
}

.upwork-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.upwork-link:hover {
  color: #fff;
}

.upwork-icon {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.screen-body-item {
  flex: 1;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--neon-green);
  font-size: 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -10px;
  width: 25px; height: 4px;
  background: var(--neon-green);
}

.app-contact {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 40px;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.app-form {
  display: flex;
  flex-direction: column;
  transform: translateY(-10px); /* Subtle shift without breaking flow on focus */
}

.app-form-group {
  margin-bottom: 15px;
}
.app-form-group.message {
  margin-top: 40px;
}
.app-form-group.buttons {
  margin-bottom: 0;
  margin-top: 20px;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  resize: none;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: var(--neon-green);
}

.form-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pill {
  background: transparent;
  border: 1px solid #444;
  color: #aaa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.pill:hover {
  border-color: #888;
  color: #ddd;
}

.pill.active {
  background: var(--neon-green);
  color: #000;
  border-color: var(--neon-green);
}

.app-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.app-form-select option {
  background: #1a1e1b;
  color: #fff;
}

.app-form-button {
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 14px;
  cursor: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin-left: 15px;
  transition: color 0.3s;
}

.app-form-button:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--neon-green);
}

/* Success State */
.success-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
  background: rgba(20, 24, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 102, 0.1);
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 50;
}

.success-message svg { width: 80px; height: 80px; margin-bottom: 20px; }
.success-message h3 { color: var(--neon-green); font-size: 1.5rem; margin-bottom: 10px; font-family: 'Montserrat', sans-serif; font-weight: 900; }
.success-message p { color: rgba(255,255,255,0.7); font-family: 'Inter', sans-serif; }

@media screen and (max-width: 900px) {
  .contact-wrapper { flex-direction: column; }
  .flashlight-section { min-height: 50vh; }
  .flashlight-bg-text, .flashlight-reveal-text { width: 90%; margin-left: 5%; text-align: center; }
}

@media screen and (max-width: 650px) {
  .screen-body { flex-direction: column; padding: 30px; }
  .screen-body-item.left { margin-bottom: 30px; padding-right: 0; }
  .app-title { flex-direction: row; }
  .app-title span { margin-right: 12px; }
  .app-title:after { display: none; }
}

/* Ultra-Premium Contact Info Block */
.app-contact-premium {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.premium-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.p-logo {
  max-width: 180px;
}

.p-gov-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.p-gov-icon {
  max-width: 150px;
}

.p-reg {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #777;
}

.premium-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.p-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-label {
  font-size: 12px;
  color: var(--neon-green);
  letter-spacing: 3px;
  font-weight: 800;
  text-transform: uppercase;
}

.p-value {
  font-size: 15px;
  color: #ddd;
  line-height: 1.6;
}

.p-value a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.p-value a:hover {
  color: #fff;
}

/* Ultra Mobile Optimization (max-width: 480px) */
@media (max-width: 480px) {
  .contact-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 10px !important;
  }
  .flashlight-section {
    min-height: 30vh !important;
  }
  .flashlight-bg-text, .flashlight-reveal-text {
    font-size: 15vw !important;
    line-height: 1.1 !important;
  }
  .form-section {
    padding: 0 !important;
  }
  .screen.magnetic-card {
    padding: 20px !important;
  }
  .screen-body {
    flex-direction: column !important;
  }
  .app-form-group {
    margin-bottom: 10px !important;
  }
}
