/* ========== GLOBAL RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== WRAPPER SECTION ========== */
.req-section {
  width: 100%;
  padding: 20px 20px;

  display: flex;
  gap: 20px;
}

/* ========== MAIN CARD ========== */
.req-card {
  background: var(--nav-card);
  border-radius: 14px;
  padding: 50px 60px;
  max-width: 950px;
  width: 80%;
  margin: auto;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.req-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* ========== HEADER ========== */
.req-head {
  color: var(--nav-text-primary);
  text-align: center;
  padding: 16px 10px;
  font-size: 22px;
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 35px;
  letter-spacing: 0.3px;
}

/* ========== FORM GRID ========== */
form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 3px;
}

label {
  font-size: 14px;
  color: var(--nav-text-primary);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid black;
  background: var(--nav-card);
  border-radius: 8px;
  color: var(--nav-text-primary);
  transition: all 0.25s ease;
}

input::placeholder {
  color: var(--nav-text-primary);
}

input:focus {
  border-color: #3b82f6;

  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

/* ========== SUBMIT BUTTON ========== */
button {
  grid-column: span 2;
  background: #1e5af9;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 30%;
  margin: 10px auto 0;
  display: block;
}

button:hover {
  background: #1747d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(30, 90, 249, 0.35);
}

/* ========== SUCCESS MESSAGE ========== */
.success-message {
  grid-column: span 2;
  text-align: center;
  color: #4ade80;
  font-size: 14px;
  margin-bottom: 5px;
}

.nav-links button {
  margin: auto;
}

.nav-links {
  align-items: center;
}

/* ====== MOBILE VERSION ====== */
@media (max-width: 768px) {
  form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  button {
    width: 100%;
  }
}

/* PAGE LAYOUT */
.page {
  background-color: var(--nav-card);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  display: flex;
  gap: 30px;
  width: 60%;
  max-width: 1200px;
  overflow: hidden;
  /* ✅ IMPORTANT FIX */
}

.contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Button fix */
.contact button {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  height: 40px;
  padding: 0 15px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.contact button a {
  text-decoration: none;
  color: #ffffff;
}

/* Span fix */
.contact span {
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 14px;
  color: #555;
}

/* LEFT / SERVICE SIDE */
.service {
  flex: 2;
  background: var(--nav-card);
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 50px;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}



/* BOTTOM BOXES */
.bottom-boxes {
  display: flex;
  gap: 20px;
}

.box {
  flex: 1;
  height: 120px;
  background: var(--nav-card);
  border: 1px solid var(--nav-border);
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  color: #555;
}

/* ====== MOBILE VERSION (IMPROVED) ====== */
@media (max-width: 768px) {

  /* PAGE WRAPPER */
  .req-section {
    width: 100%;
    margin: 0;
    padding: 20px;
    flex-direction: column;
  }

  /* MAIN CARD */
  .req-card {
    width: 100%;
    margin-top: 70px;
    max-width: 100%;
    padding: 25px 20px;
  }

  /* FORM GRID → SINGLE COLUMN */
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* INPUT FULL WIDTH */
  input {
    width: 100%;
  }

  /* BUTTON FULL WIDTH */
  button {
    width: 100%;
    grid-column: auto;
  }

  /* PAGE FLEX → STACK */
  .page {
    flex-direction: column;
    width: 100%;
    margin: 0;
    border-radius: 10;
  }

  /* SERVICE SECTION */
  .service {
    margin: 20px 10px;
    padding: 15px;
  }


  .contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .contact button {
    width: 60%;
    /* full width button */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 22px;
    font-size: 12px;
  }

  .contact button a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
  }

  .contact span {
    font-size: 10px;
    color: #555;
    align-items: center;
  }

  /* BOTTOM BOXES STACK */
  .bottom-boxes {
    display: flex;
    gap: 15px;
  }

  .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* text left, image right */
    padding: 15px;
    width: 100%;
  }

  .box img {
    width: 40px;
    height: 40px;
    object-fit: cover;
  }
}

.menu-btn {
  color: var(--nav-text-primary);
}

.btn {
  color: var(--nav-text-primary);

}

.req-card input::placeholder {
  color: var(--nav-text-secondary);
  font-size: 12px;
}