/* TRANSPARENT NAVBAR BY DEFAULT */
.custom-navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 6px 0;
}

/* LOGO SIZE */
.navbar-logo {
  height: 60px;
  width: auto;
}

/* NAV LINKS LEFT & CLEAN */
.navbar-nav {
  align-items: center;
}

.navbar-dark .nav-link {
  padding: 6px 14px;
  font-family: Poligon Regular;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

/* Navbar links zoom animation */
.navbar-nav .nav-link {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 15px;
  /* optional */
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  transform: scale(1.15);
  color: #ffffff;
  /* color optional */
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-item {
  padding: 0 6px;
}

@media (max-width: 768px) {
  .navbar-nav .nav-link:hover {
    transform: none;
  }
}

.hero-section {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* SCROLL PE BLACK */
.custom-navbar.scrolled {
  background: #000 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Goudy Old Style", serif;
  color: #000;
}

/* ================= HERO ================= */

.career-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  /* 🔥 iPhone Safari safe */
  overflow: hidden;
  line-height: 0;
  padding: 0;
}

/* picture + img fix */
.career-hero picture,
.career-hero img {
  /* width: 100%; */
  height: 100%;
  display: block;
}

/* Image behaviour (same as About Us) */
.career-hero img {
  object-fit: cover;
  object-position: center top;
  /* 🔥 mobile friendly */
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 1;
}

/* ================= HERO CONTENT ================= */

.hero-content {
  position: absolute;
  left: 60px;
  bottom: 80px;
  max-width: 600px;
  color: #fff;
  z-index: 2;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .navbar-logo {
    height: 42px;
  }

  .career-hero {
    height: 44vh;
    /* same as About Us */
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 40px;
    max-width: 100%;
  }
}

/* MOBILE HERO CONTENT */
@media (max-width:768px) {
  .hero-content {
    left: 25px;
    bottom: 60px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }
}


/* ================= MOBILE ================= */

@media (max-width:768px) {
  .hero-content {
    left: 20px;
    bottom: 60px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }
}


/* CAREER SECTION */
.career-section {
  padding: 40px 70px;
  background: #fff;
}

.career-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

@media screen and (min-width: 1400px) {
  .career-container {
    max-width: 1270px !important;
  }

  .career-hero {
    height: 74svh;
  }
}

/* LEFT CONTENT */
.career-left h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: "FormaDJRDisplayNarrow-Thin-Testing";
}

.career-left p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 25px;
  font-family: "Calibri", sans-serif;
}

.career-left ul {
  list-style: none;
}

.career-left li {
  font-size: 16px;
  margin-bottom: 12px;
  font-family: "Goudy Old Style", serif;
}

/* RIGHT FORM */
.career-form {
  background: #fff;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  /* 🔥 differentiation */
}

.career-form h3 {
  font-size: 30px;
  margin-bottom: 25px;
  font-family: "FormaDJRDisplayNarrow-Thin-Testing";

}

/* FORM WRAPPER */
.minimal-form {
  background: #fff;
  padding: 20px 45px;
  box-shadow: none;
}

/* FORM GROUP */
.form-group {
  display: flex;
  /* 🔥 label + input same line */
  align-items: center;
  gap: 0px;
  margin-bottom: 30px;
  position: relative;
}

/* LABEL */
.form-group label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  white-space: nowrap;
  /* label break na ho */
  min-width: 90px;
  /* sab labels align rahen */
  margin: 0;
  /* 🔥 remove bottom gap */
}

/* INPUT / SELECT / TEXTAREA */
.form-group select,
.form-group textarea {
  flex: 1;
  /* 🔥 input stretch right tak */
  border: none;
  outline: none;
  font-size: 15px;
  padding: 6px 0;
  background: transparent;
  appearance: none;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  /* 👈 rounded inputs */
  outline: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.form-group input:focus {
  /* border-color: #000; */
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* UNDERLINE */
.form-group .line {
  position: absolute;
  left: 110px;
  /* 🔥 label ke baad start */
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #000;
}

/* FOCUS EFFECT */
.form-group select:focus~.line,
.form-group textarea:focus~.line {
  background: #000;
}


/* BUTTON */
.enquire-btn {
  width: 100%;
  padding: 13px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 14px;
  /* 👈 smooth rounded */
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.enquire-btn:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Click effect */
.enquire-btn:active {
  transform: scale(0.97);
}

/* Focus (accessibility) */
.enquire-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

@keyframes popupFade {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer */
.footer {
  background: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 60px 80px 30px;
  font-family: Poligon Regular, sans-serif;
}

/* TOP */
.footer-top {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* Columns */
.footer-col {
  text-align: left;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 20px;
  line-height: 1.7;
  opacity: 0.85;
}

/* Lists */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.footer-col a:hover {
  opacity: 0.7;
}

/* Headings */
.footer-col h4 {
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 500;
}

/* Social */
.social-icons a {
  margin-right: 15px;
  font-size: 20px;
}

/* Bottom */
.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: flex-end;
}

.footer-bottom-right a {
  color: #fff;
  margin-left: 20px;
  font-size: 18px;
  text-decoration: none;
}

/* ================= POLICY POPUP OVERLAY ================= */

.policy-modal {
  position: fixed;
  inset: 0;
  display: none;
  /* JS se show/hide */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

/* ================= POPUP BOX ================= */

.policy-content {
  background: #fff;
  width: 90%;
  max-width: 650px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 10px;
  position: relative;

  /* 🔥 Control heading–paragraph gap here */
  --hp-gap: 28px;
}

/* ================= HEADING ================= */

.policy-content h2 {
  margin-bottom: var(--hp-gap);
  font-family: "FormaDJRDisplayNarrow-Thin-Testing";
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}

/* ================= PARAGRAPH ================= */

.policy-content p {
  margin-top: 0;
  margin-bottom: 18px;
  font-family: "FormaDJRDisplayNarrow-Thin-Testing";
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* ================= CLOSE BUTTON ================= */

.policy-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}

.policy-close:hover {
  color: #000;
}

/* ================= SCROLLBAR (OPTIONAL PREMIUM) ================= */

.policy-content::-webkit-scrollbar {
  width: 6px;
}

.policy-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.policy-content::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 992px) {

  /* NAVBAR */
  .navbar-logo {
    height: 48px;
  }

  .navbar-dark .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* HERO */
  .career-hero {
    height: 70vh;
    /* same as About Us */
  }

  .hero-content {
    left: 40px;
    bottom: 70px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 17px;
  }

  /* CAREER GRID */
  .career-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* FOOTER */
  .footer {
    padding: 50px 40px 30px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 600px) {

  /* NAVBAR */
  .custom-navbar {
    padding: 8px 0;
  }

  .navbar-logo {
    height: 42px;
  }

  /* HERO */
  .career-hero {
    height: 44vh;
    /* same as About Us */
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 40px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* SECTION SPACING */
  .career-section {
    padding: 20px 18px;
  }

  /* TEXT SCALE */
  .career-left h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 500;
  }

  .career-left p {
    font-size: 18px;
    line-height: 1.7;
  }

  /* FORM */
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .form-group .line {
    left: 0;
    width: 100%;
  }

  .enquire-btn {
    width: 100%;
    text-align: center;
  }

  /* FOOTER */
  .footer {
    padding: 40px 20px 25px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col p,
  .footer-col a {
    font-size: 18px;
  }

  .footer-bottom {
    justify-content: center;
  }

  .footer-bottom-right a {
    font-size: 16px;
    margin-left: 12px;
  }
}

/* Career Container keeps stacking heading+text above the form */
.career-container {
  display: flex;
  flex-direction: column;
  /* heading+text above, form below */
  gap: 40px;
}

/* Career Left: Heading stays on top, content goes horizontal */
.career-left {
  display: flex;
  flex-direction: column;
  /* heading + horizontal content */
  gap: 0px;
}

/* Horizontal paragraphs */
.career-left>p {
  display: inline-block;
  /* horizontal layout */
  margin-right: 30px;
  /* gap between paragraphs */
}

/* Responsive for smaller screens */
@media (max-width: 1024px) {
  .career-left>p {
    display: block;
    /* stack paragraphs vertically on tablet/mobile */
    margin-right: 0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
}

.career-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.4);
  /* dark overlay */
  backdrop-filter: blur(8px);
  /* 👈 MAIN BLUR */
  -webkit-backdrop-filter: blur(8px);
}

.career-modal-content {
  background: #fff;
  padding: 20px 50px;
  width: 90%;
  max-width: 580px;
  max-height: 98vh;
  overflow-y: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: absolute;
  animation: popupFade 0.3s ease;
}

.heading {
  text-align: center;
  font-size: 24px;
}

.career-close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 24px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  line-height: 1;
}

.career-close:hover {
  color: #000;
}

.career-types {
  display: flex;
  justify-content: center;
  gap: 60px;
  /* icons ke beech space */
  margin-top: 40px;
  flex-wrap: wrap;
  /* mobile pe neeche aa jayenge */
}

.career-type {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.career-type img {
  width: 350px;
  /* icon size control */
  height: 92px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
  transition: transform 0.3s ease;
}

.career-type h4 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  transition: transform 0.3s ease;
}

.career-type:hover img,
.career-type:hover h4 {
  transform: scale(1.1);
}

.contact-modal-content {
  background: #fff;
  padding: 20px 50px;
  width: 90%;
  max-width: 580px;
  max-height: 98vh;
  overflow-y: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: absolute;
  animation: popupFade 0.3s ease;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hide default input */
.file-upload input[type="file"] {
  display: none;
}

/* Custom button */
.custom-file-btn {
  background-color: #e5e7eb;
  color: #111827;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

/* Hover */
.custom-file-btn:hover {
  background-color: #d1d5db;
}

/* File name text */
#file-name {
  font-size: 14px;
  color: #555;
}