/* ================= GLOBAL ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f7fc;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
textarea {resize: none !important;}

/* ================= HEADER ================= */

.header {
  background: #1a4b9c;
  color: #fff;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo img {
  height: 48px;
}


/* ================= SOCIAL ================= */

.social-icons {
  display: flex;
  gap: 18px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  color: #e5432f;
  transform: scale(1.12);
}


/* ================= FORM SECTION ================= */

.form-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 15px;
  background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
}


/* ================= FORM BOX ================= */

.form-box {
  background: #ffffff;
  width: 100%;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.15);
}

.form-box h2 {
  text-align: center;
  color: #1a4b9c;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 700;
}


/* ================= FORM ================= */

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  margin-bottom: 9px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.25s ease;
  background-color: #fbfcff;
  color: #222;
}


/* ================= DOB INPUT ================= */

.dob-input {
  background-color: #f5f8ff;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231a4b9c' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h.5A1.5 1.5 0 0 1 15 2.5v11A1.5 1.5 0 0 1 13.5 15h-11A1.5 1.5 0 0 1 1 13.5v-11A1.5 1.5 0 0 1 2.5 1H3V.5a.5.5 0 0 1 .5-.5zM2 4v9.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V4H2z'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;

  padding-right: 44px;
  cursor: pointer;
}


/* ================= SELECT ================= */

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%231a4b9c' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;

  padding-right: 44px;
  cursor: pointer;
}


/* ================= TEXTAREA ================= */

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}


/* ================= FILE INPUT ================= */

.form-group input[type="file"] {
  padding: 10px;
  background: #ffffff;
  cursor: pointer;
}


/* ================= FOCUS & HOVER ================= */

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #1a4b9c;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a4b9c;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 75, 156, 0.15);
}


/* ================= BUTTON ================= */

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #1a4b9c, #153c7c);
  border: none;
  color: #fff;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 75, 156, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}


/* ================= FOOTER ================= */

.footer {
  background: #0f2f66;
  color: #ddd;
  text-align: center;
  padding: 18px 12px;
  font-size: 13px;
  line-height: 1.5;
}


/* ================= TOAST ================= */

.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #333;
  color: #fff;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: #dc3545;
}


/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .header {
    padding: 15px 18px;
  }

  .logo img {
    height: 40px;
  }

  .social-icons {
    gap: 14px;
  }

  .social-icons a {
    font-size: 18px;
  }

  .form-section {
    padding: 50px 15px;
  }

  .form-box {
    padding: 32px 22px;
  }

  .form-box h2 {
    font-size: 22px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }

}


/* ================= EXTRA SMALL ================= */

@media (max-width: 360px) {

  .logo img {
    height: 36px;
  }

  .social-icons a {
    font-size: 16px;
  }

}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ================= FORM GRID (COL-6 STYLE) ================= */

#careerForm {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Full width fields */
/*#careerForm .form-group.full-width {*/
/*  width: 100%;*/
/*}*/

#careerForm .form-group {
  width: calc(50% - 10px) !important;
}



@media (max-width: 768px) {

/* Mobile: single column */

  
 #careerForm .form-group.full-width {
    width: 100% !important;
  }

}

