/* ==========================================================================
   TEACHER JII / TEACHERS JOB - EXACT REPLICA STYLESHEET
   ========================================================================== */

/* CSS Reset & Variables */
:root {
  --primary-blue: #133866;
  --header-blue: #153a6b;
  --accent-orange: #f96b03;
  --accent-orange-hover: #e05e00;
  --text-dark: #222222;
  --text-label: #1a1a1a;
  --text-muted: #666666;
  --text-light-grey: #888888;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --footer-bg: #10325b;
  --footer-link: #a6b8d4;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid #eeeff2;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  max-height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  margin-left: auto;
  margin-right: 24px;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #555555;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #111111;
  font-weight: 600;
}

.btn-post-job {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border: none;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-post-job:hover {
  background-color: #0d274c;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: var(--primary-blue);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: #edf2f7;
  color: var(--accent-orange);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner {
  position: relative;
  height: 220px;
  background: url('assets/banner.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
}

.hero-title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.breadcrumb {
  font-size: 13px;
  color: #b0c4de;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.breadcrumb a {
  color: #b0c4de;
}

.breadcrumb a:hover {
  color: var(--bg-white);
}

.breadcrumb .separator {
  font-size: 11px;
  color: #7d96b8;
}

.breadcrumb .current {
  color: #dbe7f5;
}

/* ==========================================================================
   MAIN CONTAINER & SIDEBAR LAYOUT
   ========================================================================== */
.main-content {
  padding: 40px 0 60px 0;
  background-color: var(--bg-white);
}

.layout-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

/* Sidebar Styles */
.job-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  height: fit-content;
  align-self: start;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.2px;
}

.sidebar-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent-orange);
  border-radius: 4px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: transparent;
  padding: 2px 0;
  border: 1px solid transparent;
}

.category-item a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 10px 14px 10px 6px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.category-item .bullet {
  font-size: 16px;
  color: var(--accent-orange);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
  display: inline-block;
  font-weight: bold;
  padding-left: 12px;
}

/* Hover State */
.category-item:hover {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
}

.category-item:hover a {
  color: var(--primary-blue);
  font-weight: 600;
}

.category-item:hover .bullet {
  transform: scale(1.3);
}

/* Active State */
.category-item.active {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1c4b82 100%);
  border-radius: 8px;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(19, 56, 102, 0.25);
}

.category-item.active a {
  color: #ffffff !important;
  font-weight: 600;
}

.category-item.active .bullet {
  color: #ffaa66 !important;
  font-size: 18px;
}

/* Sub-category Accordion / Nested Tree Styles */
.category-item.has-sub {
  flex-direction: column;
  align-items: stretch;
}

.category-item-row {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.category-item-row a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.toggle-arrow {
  font-size: 11px;
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.category-item.expanded .toggle-arrow {
  transform: rotate(180deg);
}

.sub-category-list {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  padding-top: 4px;
  padding-bottom: 6px;
  border-left: 2px dashed #cbd5e1;
  margin-left: 22px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.category-item.expanded .sub-category-list {
  display: flex;
}

.sub-category-item {
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sub-category-item a {
  padding: 6px 12px;
  font-size: 13.5px;
  color: #475569;
  border-radius: 6px;
  display: block;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sub-category-item:hover a {
  color: var(--accent-orange);
  background-color: #fff4ec;
  font-weight: 600;
}

.sub-category-item.active {
  background: var(--accent-orange);
  border-radius: 6px;
}

.sub-category-item.active a {
  color: #ffffff !important;
  font-weight: 600;
}

/* Listings Section Header */
.job-listings-section {
  display: flex;
  flex-direction: column;
}

.listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 8px;
}

.category-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-orange);
}

.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 360px;
  margin: 0 10px;
}

.header-search-box input {
  width: 100%;
  padding: 8px 32px 8px 36px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  background-color: #fff;
  transition: all 0.2s ease;
}

.header-search-box input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.header-search-box .search-icon {
  position: absolute;
  left: 12px;
  color: #888;
  font-size: 14px;
  pointer-events: none;
}

.header-search-box .clear-search-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.header-search-box .clear-search-btn:hover {
  color: #333;
}

.showing-count {
  font-size: 12px;
  color: var(--text-light-grey);
}

/* ==========================================================================
   JOB CARDS GRID & CARDS
   ========================================================================== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.job-card {
  background-color: var(--bg-white);
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Card Header */
.card-header {
  background-color: var(--header-blue);
  color: var(--bg-white);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.header-icon {
  font-size: 14px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Card Body */
.card-body {
  padding: 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.info-row.divider-top {
  border-top: 1px solid #f0f4f8;
  padding-top: 8px;
  margin-top: 2px;
}

.info-label {
  font-weight: 700;
  color: var(--text-label);
}

.info-value {
  color: var(--text-muted);
}

.desc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Card Footer & Button */
.card-footer {
  padding: 0;
  margin-top: auto;
}

.btn-call {
  width: 100%;
  background-color: var(--accent-orange);
  color: var(--bg-white);
  border: none;
  padding: 11px 0;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.btn-call:hover {
  background-color: var(--accent-orange-hover);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.page-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d0d5dd;
  background-color: var(--bg-white);
  color: #555555;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s ease;
}

.page-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.page-box {
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d0d5dd;
  background-color: var(--bg-white);
  color: #333333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER SECTION (Exact Replica of Reference Design)
   ========================================================================== */
.site-footer {
  background-color: #10325b !important;
  color: #ffffff !important;
  padding: 60px 0 30px 0;
  width: 100%;
  margin-top: 0;
  border-top: none !important;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 50px;
}

.brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  background-color: #ffffff !important;
  color: #10325b !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background-color: #f0f4f8 !important;
}

.footer-links-group {
  display: flex;
  gap: 100px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 13.5px;
  color: #a6b8d4 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #a6b8d4 !important;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  color: #a6b8d4 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #ffffff !important;
}

.copyright {
  color: #a6b8d4 !important;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-white);
  width: 94%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 32px 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  transform: translateY(15px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close,
.modal-box .modal-close,
.form-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.modal-close:hover,
.modal-box .modal-close:hover,
.form-modal .modal-close:hover {
  background-color: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5;
}

.modal-icon-header {
  width: 56px;
  height: 56px;
  background-color: rgba(249, 107, 3, 0.12);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 24px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}

.phone-number-box {
  background-color: #f1f5f9;
  border: 1px dashed var(--primary-blue);
  padding: 14px;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-primary-modal {
  flex: 1;
  background-color: var(--accent-orange);
  color: var(--bg-white);
  padding: 12px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary-modal:hover {
  background-color: #e05500;
}

.btn-secondary-modal {
  flex: 1;
  background-color: #e2e8f0;
  color: #333333;
  padding: 12px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.form-modal {
  text-align: left;
  max-width: 580px;
}

.post-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

/* Modal Step & Auth Tabs */
.modal-tabs {
  display: flex;
  background-color: #f1f5f9;
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 18px;
  gap: 4px;
}

.tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.step-indicator .step-badge {
  background-color: rgba(16, 75, 148, 0.1);
  color: var(--primary-blue);
  padding: 2px 8px;
  border-radius: 12px;
}

.btn-back-step {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-back-step:hover {
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
  outline: none;
}

.form-control optgroup {
  font-weight: 700;
  color: var(--primary-blue, #133866);
  background-color: #f8fafc;
}

.form-control option {
  font-weight: 400;
  color: #334155;
  padding: 6px 10px;
}

.btn-block {
  width: 100%;
  margin-top: 14px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .header-container {
    padding: 12px 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #eeeff2;
    border-bottom: 3px solid var(--primary-blue);
    padding: 16px 20px;
    z-index: 9999;
    margin: 0;
  }

  .main-nav.active {
    display: block !important;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .main-nav .nav-list li {
    width: 100%;
  }

  .main-nav .nav-link {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    color: #334155;
    transition: background-color 0.2s, color 0.2s;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    background-color: #f1f5f9;
    color: var(--primary-blue);
    font-weight: 600;
  }

  .layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .job-sidebar {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 10px;
  }

  .sidebar-title {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .category-item {
    width: 100%;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .category-item a {
    padding: 10px 14px;
    font-size: 14px;
    background: transparent !important;
    border: none !important;
  }

  .category-item .bullet {
    padding-left: 8px;
    margin-right: 4px;
  }

  .category-item.active {
    background: var(--primary-blue) !important;
    border-radius: 8px;
    color: #ffffff !important;
  }

  .category-item.active a {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
  }

  .category-item.active .bullet {
    color: #ffaa66 !important;
  }

  .category-item.active .toggle-arrow {
    color: #ffffff !important;
  }

  .sub-category-list {
    margin-left: 18px;
    padding-left: 12px;
    border-left: 2px dashed #cbd5e1;
  }

  .sub-category-item a {
    padding: 8px 12px;
    font-size: 13.5px;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-links-group {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 16px;
  }

  .brand-logo {
    height: 46px;
    max-height: 50px;
  }

  .btn-post-job {
    padding: 8px 14px;
    font-size: 12px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .hero-title {
    font-size: 26px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-group {
    flex-wrap: wrap;
    gap: 25px 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Modals & Dialogs Responsiveness */
  .modal-overlay {
    padding: 16px;
  }

  .modal-box,
  .call-modal-content,
  .form-modal {
    width: 95% !important;
    max-width: 520px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 20px 16px !important;
    margin: auto;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .card-actions,
  .card-footer-btns {
    flex-direction: column;
    gap: 8px;
  }

  .btn-view-detail,
  .btn-call-direct,
  .btn-apply {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-logo {
    height: 38px;
    max-height: 42px;
  }

  .btn-post-job {
    padding: 6px 10px;
    font-size: 11px;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .hero-banner {
    height: 180px;
  }

  .hero-title {
    font-size: 22px;
  }

  .category-list {
    max-height: 200px;
    overflow-y: auto;
  }
}

/* ==========================================================================
   ABOUT US & CONTACT US PAGE STYLES
   ========================================================================== */
.about-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0d2747 100%);
  color: var(--bg-white);
  padding: 80px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 107, 3, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.about-hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(249, 107, 3, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 107, 3, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.about-hero-title span {
  color: var(--accent-orange);
}

.about-hero-desc {
  font-size: 17px;
  color: #d1dceb;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(249, 107, 3, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 107, 3, 0.45);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-block-full {
  width: 100%;
  justify-content: center;
}

/* STATS SECTION & CONTACT CARD LINKS */
.about-stats-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(249, 107, 3, 0.4);
}

.stat-card .stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(19, 56, 102, 0.08);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}

.stat-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.stat-card p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* MISSION & VISION SECTION */
.about-section {
  padding: 70px 24px;
}

.about-section-alt {
  background-color: var(--bg-light);
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: var(--font-heading);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mv-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mv-card:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-blue);
}

.mv-card.vision-card::before {
  background: var(--accent-orange);
}

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(19, 56, 102, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.vision-card .mv-icon {
  background: rgba(249, 107, 3, 0.1);
  color: var(--accent-orange);
}

.mv-card h3 {
  font-size: 24px;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  margin-bottom: 14px;
  font-weight: 700;
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* CORE VALUES GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--primary-blue);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(249, 107, 3, 0.08);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.value-card h4 {
  font-size: 18px;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  margin-bottom: 10px;
  font-weight: 700;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--bg-white);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  text-align: center;
  padding: 32px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--header-blue));
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 20px;
  border: 4px solid #eef3f9;
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13.5px;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.team-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.team-social a:hover {
  background: var(--primary-blue);
  color: var(--bg-white);
}

/* CTA BANNER */
.about-cta-section {
  padding: 60px 24px;
}

.about-cta-box {
  max-width: 1140px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--header-blue) 0%, var(--primary-blue) 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: var(--bg-white);
  box-shadow: 0 15px 40px rgba(19, 56, 102, 0.2);
  position: relative;
  overflow: hidden;
}

.about-cta-box h2 {
  font-size: 34px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.about-cta-box p {
  font-size: 16px;
  color: #d1dceb;
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.about-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* CONTACT PAGE STYLES */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-container {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
  font-size: 28px;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 30px;
}

.contact-form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-wrap label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-label);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group-wrap label i {
  color: var(--accent-orange);
}

.textarea-field {
  resize: vertical;
  min-height: 120px;
}

.btn-contact-submit {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(249, 107, 3, 0.35);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-contact-submit:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 107, 3, 0.45);
}

/* CONTACT SIDEBAR */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-box {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 30px 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.contact-info-box h3 {
  font-size: 20px;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.c-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.c-info-item:last-child {
  margin-bottom: 0;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(19, 56, 102, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.c-info-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.c-info-item p {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-orange);
}

.c-info-item span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.quick-post-card {
  background: linear-gradient(135deg, rgba(19, 56, 102, 0.05), rgba(249, 107, 3, 0.08));
  border: 1px dashed var(--accent-orange);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}

.quick-post-card h4 {
  font-size: 17px;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.quick-post-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* FAQ GRID */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-card h4 {
  font-size: 17px;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-card h4 i {
  color: var(--accent-orange);
  font-size: 18px;
}

.faq-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* RESPONSIVE MEDIA QUERIES FOR ABOUT & CONTACT */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 30px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-box {
    padding: 40px 20px;
  }

  .about-cta-box h2 {
    font-size: 26px;
  }

  .contact-form-container {
    padding: 24px 18px;
  }
}

@media (max-width: 580px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 60px 16px 60px;
  }

  .about-hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}