/* ============================================================
   DI Continuum — Teacher Recruitment Website
   style.css
   ============================================================ */

/* --- Reset & Base ------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange:        #e87328;
  --orange-dark:   #c85e18;
  --orange-light:  rgba(232, 115, 40, 0.12);
  --teal:          #1a73a7;
  --teal-dark:     #0d5280;
  --black:         #111111;
  --dark:          #1e1e1e;
  --grey-900:      #222;
  --grey-700:      #444;
  --grey-500:      #666;
  --grey-300:      #bbb;
  --grey-100:      #f2f2f2;
  --white:         #ffffff;
  --border:        #e5e5e5;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.15);
  --radius:        14px;
  --radius-sm:     8px;
  --gradient:      linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  --gradient-teal: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--grey-700);
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navbar -------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 0.6rem 0;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
}
.logo-mark {
  width: 80px; height: 50px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo-text { color: var(--black); }

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-700);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }

.apply-btn {
  background: var(--gradient);
  color: #fff !important;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(232,115,40,0.3);
}
.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,115,40,0.45);
}

.mobile-menu { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger { width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: 0.3s; }

/* --- Hero ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Diagonal orange accent */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 42%;
  height: 100%;
  background: var(--gradient);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.92;
  z-index: 1;
}
/* Teal overlay on the diagonal */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 22%;
  height: 100%;
  background: var(--gradient-teal);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.7;
  z-index: 2;
}

.hero-bg-text {
  position: absolute;
  bottom: -0.15em;
  left: -0.05em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.hero .container { position: relative; z-index: 5; }

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero-script {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  margin-bottom: 0.1em;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 0.9;
  margin-bottom: 0.1em;
  letter-spacing: -2px;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-subtitle strong { color: #fff; }

/* Position badge */
.hero-position-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
}
.pos-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.pos-info { display: flex; flex-direction: column; }
.pos-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
}
.pos-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.cta-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232,115,40,0.4);
}
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(232,115,40,0.5); }
.cta-primary.large { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

.cta-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Hero contact strip */
.hero-contact-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-contact-strip a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.hero-contact-strip a:hover { color: var(--orange); }
.hero-contact-strip ion-icon { font-size: 1rem; }
.strip-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

/* Social sidebar */
.hero-social {
  position: absolute;
  top: 50%; right: 2rem;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s;
}
.hero-social a:hover { background: var(--orange); border-color: var(--orange); }

/* --- Sections ----------------------------------------------- */
.section { padding: 90px 0; }
.section-alt { background: var(--grey-100); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* --- Role Section ------------------------------------------- */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.role-main-card {
  background: var(--gradient-teal);
  border-radius: 20px;
  padding: 2.5rem;
  color: #fff;
}
.role-card-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.role-main-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.role-main-card p { color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: 1.5rem; }

.role-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.role-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}
.role-tag ion-icon { font-size: 0.9rem; }

.role-duties-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.role-duties-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1.5rem;
}
.duties-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.duties-list li { display: flex; align-items: flex-start; gap: 0.85rem; }
.duty-icon {
  width: 28px; height: 28px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: 0.9rem;
  margin-top: 1px;
}
.duties-list li div:last-child { font-size: 0.95rem; color: var(--grey-700); line-height: 1.6; }

/* --- Requirements ------------------------------------------- */
.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.req-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.req-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.req-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.req-card:hover::after { transform: scaleX(1); }

.req-card--primary {
  background: var(--gradient);
  border-color: transparent;
}
.req-card--primary::after { display: none; }
.req-card--primary .req-card-num,
.req-card--primary .req-card-icon,
.req-card--primary h4 { color: #fff; }
.req-card--primary .req-card-icon { background: rgba(255,255,255,0.2); }
.req-card--primary .req-list li { color: rgba(255,255,255,0.9); }
.req-card--primary .req-list li::before { color: #fff; }

.req-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(232,115,40,0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.req-card-icon {
  width: 50px; height: 50px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 1rem;
}
.req-card h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--grey-900);
  margin-bottom: 1rem;
}
.req-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.req-list li {
  font-size: 0.9rem;
  color: var(--grey-700);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}
.req-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* How to Apply */
.how-to-apply {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: var(--shadow-sm);
}
.hta-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.75rem;
}
.hta-text p { font-size: 0.95rem; color: var(--grey-700); line-height: 1.7; max-width: 500px; }
.hta-action { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.hta-deadline { font-size: 0.8rem; font-weight: 600; color: var(--orange); text-align: center; }

/* --- Why Join Us ------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card-icon {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.why-card h4 { font-weight: 700; font-size: 1rem; color: var(--grey-900); margin-bottom: 0.6rem; }
.why-card p { font-size: 0.9rem; color: var(--grey-500); line-height: 1.7; }

/* --- FAQ ---------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grey-900);
  gap: 1rem;
  user-select: none;
  transition: background 0.2s;
}
.faq-question:hover { background: #fafafa; }
.faq-chevron { font-size: 1.1rem; color: var(--orange); flex-shrink: 0; transition: transform 0.3s; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 1.5rem;
}
.faq-answer p, .faq-answer ul { font-size: 0.9rem; color: var(--grey-700); line-height: 1.75; margin-bottom: 0.5rem; }
.faq-answer ul { padding-left: 1.25rem; }
.faq-answer ul li { margin-bottom: 0.3rem; }

.faq-item--open { border-color: var(--orange); box-shadow: 0 4px 16px rgba(232,115,40,0.1); }
.faq-item--open .faq-question { color: var(--orange); }
.faq-item--open .faq-chevron { transform: rotate(180deg); }
.faq-item--open .faq-answer { max-height: 600px; padding: 0 1.5rem 1.25rem; }

/* --- CTA Banner -------------------------------------------- */
.cta-banner {
  background: var(--gradient-teal);
  padding: 80px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-banner-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-banner-text p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 480px; line-height: 1.7; }
.cta-banner-text strong { color: #fff; }
.cta-banner-actions { display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  white-space: nowrap;
}
.cta-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* --- Footer ------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.75; max-width: 300px; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: all 0.2s;
}
.social-link:hover { background: var(--orange); color: #fff; }

.footer-links h4, .footer-contact h4 {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}
.footer-contact ion-icon { color: var(--orange); font-size: 1rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--orange); }

/* --- Modal -------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 40px 1rem;
}
.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.35s ease;
  overflow: hidden;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  background: var(--gradient-teal);
  color: #fff;
  padding: 2rem 2rem 1.75rem;
  position: relative;
}
.modal-header h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.modal-header p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover { color: #fff; }

.modal-body { padding: 2rem; }

/* Success Modal */
.modal-content--success {
  padding: 3rem 2.5rem;
  text-align: center;
}
.success-icon {
  font-size: 4rem;
  color: #4ade80;
  margin-bottom: 1.25rem;
}
.modal-content--success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.75rem;
}
.modal-content--success p {
  color: var(--grey-500);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 1.75rem;
}

/* Form styles */
.form-section-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  border-bottom: 2px solid var(--orange-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
}
.form-section-title:first-child { margin-top: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 0.4rem;
}
.label-hint { font-weight: 400; color: var(--grey-300); font-size: 0.8rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--grey-900);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,115,40,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* File upload */
.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  color: var(--grey-500);
  font-size: 0.9rem;
}
.file-upload-wrapper:hover {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}
.file-upload-wrapper ion-icon { font-size: 1.4rem; flex-shrink: 0; }
.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}
.file-upload-wrapper.has-file {
  border-color: #4ade80;
  background: rgba(74,222,128,0.08);
  color: #16a34a;
}

/* Submit button */
.form-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(232,115,40,0.3);
}
.form-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,115,40,0.45); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --- WhatsApp Floating Button ----------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }

/* --- Loading Overlay --------------------------------------- */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
}
.loading-box {
  text-align: center;
  color: #fff;
}
.spinner {
  width: 52px; height: 52px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-box p { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.loading-box span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .role-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero::before { width: 100%; clip-path: none; opacity: 0.15; }
  .hero::after { display: none; }
  .hero-social { display: none; }
  .hero-title { letter-spacing: -1px; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .mobile-menu { display: flex; }

  .req-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .how-to-apply { flex-direction: column; gap: 2rem; }
  .hta-action { width: 100%; }
  .hta-action .cta-primary { width: 100%; justify-content: center; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-text p { max-width: 100%; }
  .cta-banner-actions { width: 100%; }
  .cta-banner-actions .cta-primary,
  .cta-whatsapp { width: 100%; justify-content: center; }

  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 60px 0; }
  .modal { padding: 20px 0.5rem; }
  .cta-buttons { flex-direction: column; }
  .cta-primary, .cta-secondary { justify-content: center; }
}