.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.site-header {
  background: #0f172a;
  padding: 18px 0;
}

.site-header .logo {
  color: #c9a227;
  font-weight: 700;
  font-size: 22px;
}

.site-header nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  padding: 25px;
}

.job-form {
  max-width: 700px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.job-form input,
.job-form textarea,
.job-form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
}

.job-form button {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 14px 25px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.job-form button:hover {
  background: #c9a227;
  color: #0f172a;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
}

.card a {
  color: #c9a227;
  font-weight: 600;
  text-decoration: none;
}

.apply-form {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
}

.apply-form input {
  margin-bottom: 15px;
}

.apply-form button {
  background: #c9a227;
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
}

.applied-msg {
  margin-top: 20px;
  color: green;
  font-weight: 600;
}

.job-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.job-row a {
  color: #c9a227;
  font-weight: 600;
  text-decoration: none;
}

.card h3 {
  margin-bottom: 15px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0b132b, #1c2541);
  padding: 80px 0;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  color: #d1d5db;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-image img {
  max-width: 100%;
}


.btn-primary {
  background: #c9a227;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  margin-left: 15px;
  text-decoration: none;
}

.stats {
  background: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
}

.how-it-works {
  padding: 80px 0;
  background: #f8fafc;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
}

.latest-jobs {
  padding: 80px 0;
}

.page-title {
  margin: 40px 0 20px;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
  margin: 10px 0 15px;
}

.view-job-btn {
  display: inline-block;
  margin-top: 10px;
  color: #c9a227;
  font-weight: 600;
  text-decoration: none;
}
.job-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.job-filters input,
.job-filters select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.job-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.job-card h3 {
  margin-bottom: 10px;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
  margin: 15px 0;
}

.btn-view {
  display: inline-block;
  background: #c9a227;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.dashboard {
  max-width: 900px;
  margin: 40px auto;
}

.dashboard-card {
  background: #fff;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.dashboard-card h3 {
  margin-bottom: 15px;
}

.dashboard input,
.dashboard textarea,
.dashboard select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}

.dashboard button {
  background: #c9a227;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
}

.single-job {
  max-width: 900px;
  margin: 40px auto;
}

.job-details-card,
.apply-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.job-meta {
  display: flex;
  gap: 20px;
  color: #64748b;
  margin-bottom: 15px;
}

.apply-card h3 {
  margin-bottom: 15px;
}

.apply-card input[type="file"] {
  margin-bottom: 15px;
}

.apply-card button {
  background: #c9a227;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
}

.applied-msg {
  color: green;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #fff;
  padding: 90px 0;
  overflow: hidden; /* 🔥 VERY IMPORTANT */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-image img {
  width: 100%;
  max-height: 420px;   /* ✅ CONTROL IMAGE HEIGHT */
  object-fit: contain; /* ✅ NO CROPPING */
}


.hero-text h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 18px;
  color: #cbd5f5;
  margin-bottom: 25px;
}

.hero-actions a {
  margin-right: 15px;
}

.btn-primary {
  background: #c9a227;
  color: #020617;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-secondary {
  border: 2px solid #c9a227;
  color: #c9a227;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
}

.features {
  background: #f8fafc;
  padding: 80px 20px;
}

.features-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
}


/* ===== CONTAINER ===== */
.lp-header-inner,
.lp-footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.lp-header {
    background: linear-gradient(90deg, #0b1220, #0f1b30);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-brand a {
    font-size: 22px;
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
}

.lp-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.lp-menu a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
}

.lp-menu a:hover {
    color: #d4af37;
}

/* Buttons */
.lp-btn-primary {
    background: #d4af37;
    color: #000 !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}

.lp-btn-outline {
    border: 1px solid #d4af37;
    padding: 7px 16px;
    border-radius: 6px;
    color: #d4af37 !important;
}

/* ===== FOOTER ===== */
.lp-footer {
    background: #0b1220;
    margin-top: 80px;
    padding-top: 60px;
}

.lp-footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.site-footer {
  background: #0b132b;
  color: #cbd5e1;
  padding: 60px 20px 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  margin: 8px 0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f5c542;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}


/* Bottom bar */
.lp-footer-bottom {
    margin-top: 50px;
    padding: 16px 0;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, #0b132b, #1c2541);
  padding: 18px 0;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: #f5c542;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a {
  color: #ffffff;
  margin: 0 14px;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: #f5c542;
}

.btn-primary {
  background: #f5c542;
  color: #000;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #f5c542;
  color: #f5c542;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
}
/* ================================
   DASHBOARD PROFILE STYLING
================================ */

.ljp-dashboard {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.ljp-profile-card {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.ljp-profile-card h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #0f172a;
}

/* FORM */

.ljp-profile-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
    outline: none;
    transition: border 0.2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #facc15;
}

/* BUTTON */

.ljp-btn {
    margin-top: 30px;
    align-self: flex-start;
    background: #0f172a;
    color: #facc15;
    padding: 12px 28px;
    border-radius: 10px;
    border: 2px solid #facc15;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ljp-btn:hover {
    background: #020617;
    transform: translateY(-1px);
}


/* ================================
   APPLY JOB SECTION
================================ */

.ljp-apply-wrapper {
    margin: 60px auto;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.ljp-apply-card {
    background: #ffffff;
    max-width: 600px;
    width: 100%;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    text-align: center;
}

.ljp-apply-card h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
}

.apply-note {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
}

.file-upload input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 25px;
}

.file-upload input[type="file"]:hover {
    border-color: #facc15;
}

/* BUTTON */
.ljp-apply-card .ljp-btn {
    width: 100%;
    background: #0f172a;
    color: #facc15;
    border: 2px solid #facc15;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ljp-apply-card .ljp-btn:hover {
    background: #020617;
    transform: translateY(-1px);
}

/* WARNING */
.apply-warning {
    text-align: center;
    color: red;
    font-weight: 600;
    margin: 40px 0;
}
.ljp-apply-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 40px 15px;
}

.ljp-apply-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ljp-apply-card h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.ljp-apply-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.ljp-apply-card input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ljp-btn {
    width: 100%;
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.ljp-btn:hover {
    background: #020617;
}


/* =========================
   SENIOR LAWYER DASHBOARD
========================= */

.dashboard-section {
  margin-top: 40px;
}

.dashboard-section h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #0f172a;
}

.ljp-job-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ljp-job-form .form-group {
  display: flex;
  flex-direction: column;
}

.ljp-job-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Full width fields */
.ljp-job-form .form-group.full {
  grid-column: span 2;
}

/* Inputs */
.ljp-job-form input,
.ljp-job-form textarea,
.ljp-job-form select {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.ljp-job-form input:focus,
.ljp-job-form textarea:focus,
.ljp-job-form select:focus {
  border-color: #facc15;
  outline: none;
}

/* Button */
.ljp-job-form button {
  grid-column: span 2;
  margin-top: 20px;
}

.ljp-apply-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 40px 15px;
}

.ljp-apply-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.ljp-btn {
    width: 100%;
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.ljp-auth-wrapper {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    padding: 40px 20px;
}

.ljp-auth-card {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ljp-auth-card h2 {
    margin-bottom: 25px;
}

.ljp-auth-card input,
.ljp-auth-card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

/* ===============================
   SINGLE JOB PAGE
================================ */

.single-job {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.job-details-card {
  margin-bottom: 30px;
}

.job-details-card h1 {
  margin-bottom: 15px;
  font-size: 32px;
}

.job-description {
  margin-top: 20px;
  line-height: 1.7;
  color: #334155;
}

/* APPLY FORM */
.ljp-apply-wrapper {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.ljp-apply-card {
  background: #fff;
  max-width: 520px;
  width: 100%;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15,23,42,0.15);
  text-align: center;
}

.ljp-apply-card h2 {
  margin-bottom: 10px;
}

.apply-note {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}

.ljp-apply-card input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  margin-bottom: 25px;
}

.apply-warning {
  text-align: center;
  color: red;
  font-weight: 600;
  margin: 40px 0;
}


/* Responsive */
@media (max-width: 768px) {
  .ljp-job-form {
    grid-template-columns: 1fr;
  }

  .ljp-job-form button {
    grid-column: span 1;
  }
}



/* RESPONSIVE */
@media (max-width: 600px) {
    .ljp-apply-card {
        padding: 25px;
    }
}



/* RESPONSIVE */

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .ljp-profile-card {
        padding: 25px;
    }
}


/* =========================
   HEADER RESPONSIVE FIX
========================= */

@media (max-width: 992px) {
  .site-header {
    padding: 16px 20px;
  }

  .site-header .nav-wrapper {
    flex-wrap: wrap;
  }

  .site-header .menu {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .site-header .login-btn {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .site-header {
    text-align: center;
  }

  .site-header .nav-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .site-header .menu {
    flex-direction: column;
    gap: 8px;
  }

  .site-header .login-btn {
    width: 100%;
    text-align: center;
  }
}


/* =========================
   HERO RESPONSIVE FIX
========================= */

@media (max-width: 992px) {
  .hero-section {
    padding: 80px 30px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image img {
    max-width: 90%;
    margin: auto;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   FOOTER RESPONSIVE FIX
========================= */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-bottom {
    text-align: center;
    font-size: 14px;
  }
}

.job-apply-form {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
}

.job-apply-form .form-group {
    margin-bottom: 15px;
}

.job-apply-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.job-apply-form input[type="file"] {
    width: 100%;
}

.apply-btn {
    background: #0f172a;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.apply-btn:hover {
    background: #020617;
}

