/*
Theme Name: Uncommon Child
Template: astra
Author: You
Description: Child theme styles for custom header
Version: 1.0
*/

/* ===================================================================
   GLOBAL
=================================================================== */
body {
}
.site,
.site-content,
.entry-content,
.wp-block-group,
.wp-block-cover {
  background-color: transparent !important;
}

/* ===================================================================
   HEADER BASE
=================================================================== */
.uncommon-header {
  background-color: #fdf8f0;
  padding: 12px 32px;
  font-family: 'Poppins', sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.35s ease;
}
body.scrolled .uncommon-header {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  animation: fadeDown 0.35s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-left img {
  height: 55px;
  transition: transform 0.3s ease;
}
.header-left img:hover { transform: scale(1.05); }
.site-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-title .line1 {
  font-size: 22px;
  font-weight: 900;
  color: #003b3f;
}
.site-title .line2 {
  font-size: 13px;
  font-weight: 600;
  color: #003b3f;
}

/* ===================================================================
   TOPBAR BASE
=================================================================== */
.topbar {
  background: #003b3f;
  color: #fff;
  font-size: 14px;
  padding: 6px 20px;
}
.topbar-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-left {
  display: flex;
  gap: 20px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-item i.fa-phone {
  color: #ffffff !important;
  font-size: 15px;
  margin-right: 6px;
  transition: none !important;
  animation: none !important;
  filter: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Prevent theme or hover changes */
.topbar a,
.topbar a:visited,
.topbar a:hover,
.topbar a:focus,
.topbar a:active {
  color: #fff !important;
  text-decoration: none !important;
  transition: none !important;
}

.topbar a i.fa-phone,
.topbar a:hover i.fa-phone {
  color: #ffffff !important;
}

.topbar-right {
  display: flex;
  gap: 15px;
}
.topbar-right.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Base state: icon color should be light / neutral on dark background */
.topbar-right.social-icons a {
  color: #fdf8f0;         /* light / off-white (from your palette) */
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: transparent;
}

/* Prevent visited links turning blue */
.topbar-right.social-icons a:visited {
  color: #fdf8f0;
}

/* Hover / focus state: use your accent gold (f4b731) */
.topbar-right.social-icons a:hover,
.topbar-right.social-icons a:focus {
  color: #f4b731;           /* gold / accent from your palette */
  background-color: rgba(244, 183, 49, 0.15); /* soft gold background */
  transform: translateY(-2px);
}

/* If you want platform-specific hover (brand color) but still within palette feel */
.topbar-right.social-icons a:nth-child(1):hover { /* Facebook */
  /* you can optionally use a shade from your palette + slight tint */
  color: #f4b731;  /* a dark green/teal from your palette */
}
.topbar-right.social-icons a:nth-child(2):hover { /* Instagram */
  color: #f4b731;  /* keep accent */
}
.topbar-right.social-icons a:nth-child(3):hover { /* YouTube */
  color: #f4b731;  /* maybe dark */
}
@media screen and (max-width: 768px) {
  .topbar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 15px;
  }

  .topbar-left, .topbar-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .topbar-item {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    word-break: break-word;
  }

  .topbar-right.social-icons {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 6px;
  }

  .topbar-right.social-icons a {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}


/* ===================================================================
   DESKTOP MENU (≥ 993px)
=================================================================== */
.header-nav .main-menu {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}
.header-nav .main-menu li { position: relative; }
.header-nav .main-menu a {
  text-decoration: none;
  color: #003b3f;
  font-weight: 700;
  font-size: 16px;
  padding: 6px 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}
.header-nav .main-menu a:hover,
.header-nav .main-menu .current-menu-item > a {
  color: #f4b731;
  border-bottom: 2px solid #f4b731;
}
.header-nav .main-menu li:hover > a {
  background-color: rgba(244,183,49,0.1);
  border-radius: 4px;
  padding: 6px 8px;
}
@media (min-width: 993px) {
  .header-nav .main-menu li ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: none !important;
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
  }
  .header-nav .main-menu li:hover > ul {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
  }
  .header-nav .main-menu li ul li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #003b3f;
  }
  .header-nav .main-menu li ul li a:hover {
    background: #f4b731;
    color: #fff;
  }
}

/* ===================================================================
   SIDEBAR MENU (Mobile/Tablet)
=================================================================== */
.sidebar-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 270px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.15);
  padding: 70px 20px 20px;
  transition: right 0.35s ease;
  z-index: 2000;
  overflow-y: auto;
}
body.menu-open .sidebar-nav { right: 0; }
.sidebar-nav .main-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-nav .main-menu > li > a {
  display: block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  color: #003b3f;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}
.sidebar-nav .main-menu > li > a:hover {
  background: #f4b731;
  color: #fff;
}
.sidebar-nav .main-menu li ul {
  display: none;
  list-style: none;
  padding-left: 15px;
  margin-top: 6px;
  background: #fdf8f0;
  border-left: 2px solid #f4b731;
  border-radius: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.sidebar-nav .main-menu li.open > ul {
  display: block !important;
  max-height: 500px;
  padding: 8px 0;
}
.sidebar-nav .main-menu li ul li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #003b3f;
}
.sidebar-nav .main-menu li ul li a:hover {
  background: #f4b731;
  color: #fff;
}
.sidebar-nav .menu-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #003b3f;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.sidebar-nav .menu-close:hover {
  color: #f4b731;
  background: #e7e7e7;
  transform: rotate(90deg);
}
.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1500;
}
body.menu-open .menu-overlay { display: block; }

/* ===================================================================
   TOGGLE BUTTON
=================================================================== */
.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  color: #003b3f;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2100;
  line-height: 1;
  padding: 4px 6px;
}
.menu-toggle:hover {
  background: #e7e7e7;
  color: #003b3f;
  transform: scale(1.05);
  border-radius: 4px;
}
@media (max-width: 992px) {
  .header-container { flex-direction: row; justify-content: space-between; align-items: center; }
  .header-left img { height: 40px; }
  .site-title .line1 { font-size: 16px; }
  .site-title .line2 { font-size: 10px; }
  .header-nav { display: none !important; }
  .menu-toggle { display: block; }
}
@media (min-width: 993px) {
  .menu-toggle { display: none !important; }
}

/* ===================================================================
   FOOTER
=================================================================== */
/* ================================
   FOOTER LAYOUT STYLES
================================= */
.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  background-color: #eeeae3;
  border-radius: 16px;
  padding: 30px 35px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 35px;
}

/* Columns */
.footer-col {
  flex: 1;
  min-width: 220px;
}

/* Column offsets — visually balance middle sections */
.footer-col:nth-child(2),
.footer-col:nth-child(3) {
  margin-top: 15px; /* 🔥 gives slight drop for symmetry */
}

/* Logo + Title */
.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-block img {
  height: 50px;
}
.footer-site-title .line1 {
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
}
.footer-site-title .line2 {
  font-size: 13px;
  font-weight: 600;
  color: #003b3f;
}

/* Description */
.footer-desc {
  font-size: 14.5px;
  margin: 14px 0 12px;
  color: #333;
  line-height: 1.6;
}

/* Apply Button */
.footer-button {
  display: inline-block;
  background-color: #f4b731;
  color: #003b3f;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-bottom: 0;
}
.footer-button:hover {
  background-color: #003b3f;
  color: #fff;
  transform: scale(1.05);
}

/* Headings */
.footer-container h3 {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Links */
.footer-container a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14.5px;
  line-height: 1.8;
  transition: color 0.3s ease;
}
.footer-container a:hover {
  color: #f4b731;
  text-decoration: underline;
}

/* Contact Section */
.footer-col p {
  margin: 5px 0;
  font-size: 14.2px;
  color: #1a1a1a;
  line-height: 1.5;
}
.footer-col strong {
  color: #003b3f;
}

/* Remove unused map styles */
.map-container { display: none; }

/* ================================
   RESPONSIVE QUERIES
================================= */

/* Tablet */
@media (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 25px;
    padding: 25px 20px;
  }
  .footer-col {
    flex: 1 1 45%;
    min-width: 200px;
    margin-top: 0; /* reset offsets */
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0 !important;
    width: 100%;
    padding: 15px 12px;
    gap: 18px;
    background-color: #eeeae3;
  }

  .footer-logo-block {
    justify-content: center;
  }
  .footer-site-title .line1 { font-size: 14px; }
  .footer-site-title .line2 { font-size: 10px; }
  .footer-button {
    padding: 8px 18px;
  }
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    margin-top: 0; /* no offset for mobile layout */
  }
}


/* Form */
/* === Apply Form Custom Styles (Updated Transparent) === */

/* Section wrapper */
.apply-form-section {
  position: relative;
  z-index: 0;
  background: transparent !important;
  padding: 80px 10px; /* form ko upar niche se bhi bara dikhane ke liye */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Remove overlay */
.apply-form-section::before {
  display: none;
}

/* Main form wrapper */
.apply-now-form {
  position: relative;
  z-index: 2;
  max-width: 1100px;   /* width bara kiya */
  width: 100%;
  margin: 0 auto;
  background: transparent !important; /* bilkul transparent */
  padding: 50px 30px;   /* andar ka padding bhi zyada */
  border-radius: 0;     /* rounded corner hata diye (agar chahiye to rakh lo) */
  box-shadow: none;     /* shadow bhi remove */
  text-align: center;
}

/* Form heading */
.apply-now-form h2 {
  font-size: 30px;
  font-weight: 700;
  color: #003b3f;
  margin-bottom: 30px;
}

/* Row (3 per row on desktop) */
.apply-now-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.apply-now-form .form-field {
  flex: 1 1 calc(33.333% - 20px);
}

/* Inputs & Select */
.apply-now-form input,
.apply-now-form select,
.apply-now-form textarea {
  width: 100%;
  min-height: 55px; /* thoda bada input */
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff; /* field ke andar white hi rahe */
  box-sizing: border-box;
}

/* Submit button */
.apply-now-form .submit-field input[type="submit"] {
  width: 100%;
  background: #004d4d;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  height: 55px; /* button bhi bara */
}
/* Button Hover Animation */
.apply-now-form .submit-field input[type="submit"]:hover {
  background: #f4b731;
  transform: translateY(-3px);  /* halka upar uthta hai */
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Ripple-like animation on click */
.apply-now-form .submit-field input[type="submit"]:active {
  transform: scale(0.96);
}

/* Optional glowing border animation */
.apply-now-form .submit-field input[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s ease;
}

.apply-now-form .submit-field input[type="submit"]:hover::after {
  left: 100%;
}

/* Responsive: stack fields on mobile */
@media (max-width: 991px) {
  .apply-now-form { padding: 30px 15px; }
  .apply-now-form .form-row { flex-direction: column; }
  .apply-now-form h2 { font-size: 24px; margin-bottom: 20px; }
}

/* CF7 response messages white background fix */
.wpcf7 form .wpcf7-response-output {
  background: #ffffff !important; /* force white */
  border-radius: 6px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #28a745 !important; /* success border green */
  color: #28a745 !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232 !important; /* error red */
  color: #dc3232 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #ffb900 !important; /* warning yellow */
  color: #ff0f0f !important;
}

.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f56e28 !important; /* spam orange */
  color: #f56e28 !important;
}
/* === Pakistan Flag + +92 Inside Input (Perfect Alignment) === */
.phone-field {
  position: relative;
}

/* Flag inside input (left side) */
.phone-field::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 33%;
  transform: translateY(-50%);
  width: 20px;
  height: 14px;
  background: url("https://flagcdn.com/w20/pk.png") no-repeat center/cover;
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
}

/* +92 inside input, before placeholder text */
.phone-field::after {
  content: "+92";
  position: absolute;
  left: 42px;  /* sits right after the flag */
  top: 34%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: #003b3f;
  pointer-events: none;
  z-index: 2;
}

/* Adjust the input so text starts after +92 */
.phone-field input {
  padding-left: 80px !important; /* enough space for flag + +92 */
  text-align: left;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 600px) {
  .phone-field::before {
    left: 10px;
    top: 35%;
    width: 18px;
    height: 12px;
  }

  .phone-field::after {
    left: 34px;
    top: 35%;
    font-size: 14px;
  }

  .phone-field input {
    padding-left: 70px !important;
    font-size: 15px;
  }
}
@media (max-width: 375px) {
  .phone-field input {
    padding-left: 75px !important;
  }
}


/* Contact Us Form
 * 
 * 
 * 
 * 
 * 
 *  */
/* ===== CONTACT FORM STYLING ===== */
/* ============================
   CONTACT FORM SECTION (FINAL TEAL + GOLD)
============================ */
.contact-form-section {
  background: rgba(255, 255, 255, 0.12); /* soft transparency */
  backdrop-filter: blur(6px);
  color: #003b3f; /* main text color teal */
  padding: 80px 40px 60px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  margin-top: 70px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Headings */
.contact-form-section h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #003b3f; /* teal heading */
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-section h3 i {
  color: #f4b731; /* gold icon */
  font-size: 26px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 8px rgba(244,183,49,0.3);
}

.contact-form-section p {
  font-size: 15px;
  color: #003b3f;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* ===== FORM FIELDS ===== */
.contact-us-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-us-form .form-field {
  flex: 1;
}

.contact-us-form input,
.contact-us-form select,
.contact-us-form textarea {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #003b3f; /* teal text */
  background: rgba(255, 255, 255, 0.15); /* glass effect */
  border: 1px solid rgba(244, 183, 49, 0.25); /* gold hint border */
  transition: all 0.3s ease;
}

/* Focus */
.contact-us-form input:focus,
.contact-us-form select:focus,
.contact-us-form textarea:focus {
  outline: none;
  background: rgba(244, 183, 49, 0.1);
  box-shadow: 0 0 0 2px rgba(244, 183, 49, 0.4);
  border-color: rgba(244, 183, 49, 0.6);
}

/* Placeholder */
.contact-us-form ::placeholder {
  color: rgba(0, 59, 63, 0.7); /* teal placeholders */
  font-size: 14px;
}

/* ===== LABELS ===== */
.contact-us-form label {
  font-size: 14px;
  font-weight: 600;
  color: #f4b731; /* gold labels */
  display: block;
  margin-bottom: 6px;
}

/* ===== TEXTAREA ===== */
.contact-us-form textarea {
  min-height: 90px;
  max-height: 140px;
  resize: none;
  margin-bottom: 8px;
}

/* ===== PHONE WRAPPER ===== */
.phone-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border-radius: 1px;
  padding: 1px 1px;
}
.phone-wrapper img {
  width: 22px;
  height: 16px;
  border-radius: 3px;
}
.phone-wrapper .country-code {
  font-weight: 600;
  color: #f4b731; /* gold */
}

/* ===== BUTTON ===== */
.contact-us-form .submit-field {
  text-align: left;
}
.contact-us-form .btn-send {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f4b731, #ffd262);
  color: #003b3f;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 36px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(244, 183, 49, 0.4);
}

/* Shine animation */
.contact-us-form .btn-send::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}
.contact-us-form .btn-send:hover::before {
  left: 130%;
}
.contact-us-form .btn-send:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 183, 49, 0.5);
}
.contact-us-form .btn-send:active {
  transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-us-form .form-row {
    flex-direction: column;
  }
  .contact-form-section {
    padding: 60px 20px 45px;
    margin-top: 40px;
  }
}

   



/* Adjustment of form */

/* ===== Two Column Contact Layout ===== */
.contact-two-column {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
}

/* Left and Right Columns */
.contact-two-column > div {
  flex: 1 1 50%;
}

/* Make both columns equal height */
.contact-two-column > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .contact-two-column {
    flex-direction: column;
    gap: 30px;
  }
}

/*  Career Form
 * 
 * 
 * 
 * 
 * 
 * 
 * */
/* === General Form Layout Fix === */
.career-form-wrapper {
  background: linear-gradient(145deg, #ffffff, #fdf8f0);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

/* --- 2-column Layout --- */
.career-form-wrapper .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}

/* Make CV and Message full row */
.row-cv-upload,
.row-message,
.row-submit {
  grid-template-columns: 1fr !important;
}

/* === Input & Textarea === */
.career-form-wrapper input[type="text"],
.career-form-wrapper input[type="email"],
.career-form-wrapper input[type="tel"],
.career-form-wrapper input[type="file"],
.career-form-wrapper textarea {
  width: 100%;
  background-color: #fdf8f0;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

/* Focus and hover states */
.career-form-wrapper input:focus,
.career-form-wrapper textarea:focus {
  border-color: #f4b731;
  background-color: #fffbe9;
  box-shadow: 0 0 8px rgba(244, 183, 49, 0.3);
  outline: none;
  transform: translateY(-1px);
}

/* === Pakistan Flag + +92 Prefix Fix for CF7 === */

/* Target the real CF7 wrapper, not outer div */
.wpcf7-form-control-wrap.phone {
  position: relative !important;
  display: block;
}

/* Adjust input spacing for prefix */
.wpcf7-form-control-wrap.phone input[type="tel"] {
  width: 100%;
  background-color: #fdf8f0 !important;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 10px 14px 10px 74px !important; /* leave space for flag */
  font-size: 14px;
  color: #1a1a1a;
  transition: all 0.3s ease;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* Now inject flag + code before the actual input */
.wpcf7-form-control-wrap.phone::before {
  content: "🇵🇰  +92";
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #003b3f;
  background: #fdf8f0;
  padding: 0 6px;
  border-radius: 6px;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
}

/* Highlight on focus */
.wpcf7-form-control-wrap.phone:focus-within::before {
  color: #f4b731;
}

.wpcf7-form-control-wrap.phone input[type="tel"]:focus {
  border-color: #f4b731 !important;
  background-color: #fffbe9 !important;
  box-shadow: 0 0 6px rgba(244, 183, 49, 0.3);
  outline: none;
}

/* === Optional alignment tweak for mobile === */
@media (max-width: 768px) {
  .wpcf7-form-control-wrap.phone::before {
    left: 12px;
    font-size: 13px;
  }
  .wpcf7-form-control-wrap.phone input[type="tel"] {
    padding-left: 65px !important;
  }
}



/* === File Upload Field (Beautiful Version) === */
.field-cv {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-cv label {
  font-size: 14px;
  font-weight: 600;
  color: #003b3f;
  margin-bottom: 6px;
}

/* Wrapper Style */
.field-cv input[type="file"] {
  display: inline-block;
  width: 100%;
  border: 1.5px dashed #e7e7e7;
  border-radius: 10px;
  background: #fffaf2;
  font-size: 14px;
  color: #003b3f;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Custom button style */
.field-cv input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #f4b731, #ffd262);
  border: none;
  color: #003b3f;
  font-weight: 600;
  padding: 8px 18px;
  margin-right: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(244, 183, 49, 0.25);
}

/* Hover effect for button */
.field-cv input[type="file"]::file-selector-button:hover {
  background: linear-gradient(135deg, #ffd262, #f4b731);
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(244, 183, 49, 0.35);
}

/* Hover effect for the box */
.field-cv input[type="file"]:hover {
  border-color: #f4b731;
  box-shadow: 0 4px 10px rgba(244, 183, 49, 0.15);
}

/* Compact version */
.field-cv input[type="file"] {
  padding: 10px;
  line-height: normal;
}


/* === Message Box Height Adjustment === */
.field-message textarea {
  resize: vertical;
  min-height: 70px;   /* minimum height */
  max-height: 100px;  /* maximum height when user resizes */
  line-height: 1.4;
  padding: 8px 12px;
  font-size: 14px;
}


/* === Submit Button === */
.field-submit input[type="submit"] {
  background: linear-gradient(135deg, #f4b731, #ffd262);
  color: #003b3f;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 34px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(244, 183, 49, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.field-submit input[type="submit"]:hover {
  background: linear-gradient(135deg, #ffd262, #f4b731);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 183, 49, 0.45);
}

/* === Responsive === */
@media (max-width: 768px) {
  .career-form-wrapper .form-row {
    grid-template-columns: 1fr;
  }
  .phone-field::before {
    left: 10px;
    font-size: 13px;
  }
  .phone-field input[type="tel"] {
    padding-left: 62px !important;
  }
}






