 :root {
     --primary-color: #0f224a;
     --primary-dark: #09152e;
     --secondary-color: #c5a046;
     --secondary-hover: #b08d3a;
     --secondary-light: #D7BE76;
     --white: #ffffff;
 }

 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     color: var(--sts-text);
     background: var(--white);
     font-family: Arial, Helvetica, sans-serif;
     line-height: 1.65;
 }


 /* Job Openings */

 /* Job Cards Section */
 .sts-jobs-section {
     padding: 80px 0;
     background: #f7f8fb;
 }

 .sts-job-card {
     height: 100%;
     background: var(--white);
     border: 1px solid #e3e6ee;
     border-radius: 12px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
 }

 .sts-job-card:hover {
     transform: translateY(-5px);
     border-color: #0d205d;
     box-shadow: 0 12px 30px rgba(9, 12, 52, .09);
 }

 .sts-job-card-header {
     padding: 24px 24px 18px;
     border-bottom: 1px solid #edf0f5;
 }

 .sts-job-title {
     color: #090c34;
     font-size: 22px;
     font-weight: 700;
     line-height: 1.4;
     margin: 0 0 8px;
     overflow-wrap: anywhere;
 }

 .sts-job-company {
     color: #72798a;
     font-size: 14px;
     margin: 0;
 }

 .sts-job-card-body {
     padding: 20px 24px;
     display: flex;
     flex-direction: column;
     flex: 1;
 }

 .sts-job-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     padding: 10px 0;
 }

 .sts-job-meta span {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: #f1f3f8;
     color: #40485a;
     padding: 6px 9px;
     border-radius: 5px;
     font-size: 12px;
     line-height: 1.4;
     overflow-wrap: anywhere;
 }

 .sts-job-meta span i {
     color: #0d205d;
 }

 .sts-job-code {
     display: inline-block;
     color: #0d205d;
     background: #e9edf8;
     padding: 6px 10px;
     border-radius: 5px;
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .4px;
     margin-bottom: 12px;
 }

 .sts-job-info-list {
     display: flex;
     flex-direction: column;
     gap: 0;
     margin-bottom: 10px;
 }

 .sts-job-info {
     display: grid;
     grid-template-columns: 42% minmax(0, 1fr);
     align-items: start;
     gap: 1px;
     padding: 3px 0;
     min-width: 0;
 }


 .sts-job-info>i {
     color: #0d205d;
     font-size: 14px;
     margin-top: 4px;
     flex-shrink: 0;
     display: none;
 }

 .sts-job-info-content {
     min-width: 0;
     display: contents;
 }

 .sts-job-info-label {
     display: block;
     color: #8a90a0;
     font-size: 11px;
     margin-bottom: 3px;
     font-weight: 500;
     line-height: 1.6;
 }

 .sts-job-info-value {
     display: block;
     color: #252b3b;
     font-size: 13px;
     font-weight: 600;
     overflow-wrap: anywhere;
     line-height: 1.5;
     min-width: 0;
 }

 .sts-job-qualification {
     border-top: 1px solid #edf0f5;
     padding-top: 17px;
     margin-top: auto;
 }

 .sts-job-qualification h4,
 .sts-job-expanded h4 {
     color: #090c34;
     font-size: 15px;
     font-weight: 700;
     margin: 0 0 9px;
 }

 .sts-job-qualification p,
 .sts-job-expanded p {
     color: #697080;
     font-size: 13px;
     line-height: 1.8;
     margin-bottom: 0;
     overflow-wrap: anywhere;
 }

 .sts-job-expanded {
     border-top: 1px solid #edf0f5;
     margin-top: 20px;
     padding-top: 20px;
 }

 .sts-job-expanded-block {
     margin-bottom: 20px;
 }

 .sts-job-expanded-block:last-child {
     margin-bottom: 0;
 }

 .sts-job-card-actions {
     display: flex;
     gap: 10px;
     padding: 0 24px 24px;
 }

 .sts-job-action-btn {
     flex: 1;
     min-width: 0;
     min-height: 43px;
     display: inline-flex;
     justify-content: center;
     align-items: center;
     gap: 7px;
     padding: 10px 12px;
     border: 1px solid #0d205d;
     border-radius: 5px;
     font-size: 13px;
     font-weight: 600;
     cursor: pointer;
     text-decoration: none;
     transition: all .25s ease;
 }

 .sts-job-apply {
     background: var(--primary-color);
     color: var(--white);
 }

 .sts-job-apply:hover {
     background: var(--secondary-color);
     border-color: var(--secondary-color);
     color: var(--white);
 }

 .sts-job-view-more {
     background: var(--white);
     color: var(--primary-color);
 }

 .sts-job-view-more:hover {
     background: #e9edf8;
     color: var(--primary-dark);
 }

 .sts-job-view-more:focus-visible,
 .sts-job-apply:focus-visible {
     outline: 3px solid #bce9f2;
     outline-offset: 3px;
 }

 .sts-no-jobs {
     padding: 45px 20px;
     text-align: center;
     background: var(--white);
     border: 1px solid #e5e8ef;
     border-radius: 12px;
 }

 @media (max-width: 380px) {
     .sts-job-info-list {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 575px) {
     .sts-jobs-section {
         padding: 50px 0;
     }

     .sts-job-card-header {
         padding: 20px 18px 16px;
     }

     .sts-job-card-body {
         padding: 18px;
     }

     .sts-job-title {
         font-size: 20px;
     }

     .sts-job-card-actions {
         padding: 0 18px 20px;
         gap: 8px;
     }

     .sts-job-action-btn {
         font-size: 12px;
         padding: 10px 7px;
     }

     .sts-job-info-list {
         gap: 14px 8px;
     }
 }

 @media (max-width: 480px) {
     .sts-job-info {
         grid-template-columns: 40% minmax(0, 1fr);
         gap: 10px;
         padding: 10px 0;
     }

     .sts-job-info-label,
     .sts-job-info-value {
         font-size: 13px;
     }
 }



 /* Application Form */
 .sts-application-section {
     padding: 80px 0;
     background: var(--white);
     scroll-margin-top: 100px;
 }

 .sts-application-box {
     max-width: 900px;
     margin: 0 auto;
     padding: 38px;
     background: var(--white);
     border: 1px solid #e5e8ef;
     border-radius: 14px;
     box-shadow: 0 12px 40px rgba(9, 12, 52, .07);
 }

 .sts-form-title {
     color: #090c34;
     font-size: 30px;
     font-weight: 700;
     margin-bottom: 10px;
 }

 .sts-form-description {
     color: #737989;
     margin-bottom: 28px;
 }

 .sts-application-box .form-label {
     color: #242a3b;
     font-weight: 600;
     font-size: 14px;
     margin-bottom: 8px;
 }

 .sts-application-box .form-control,
 .sts-application-box .form-select {
     min-height: 48px;
     border: 1px solid #dfe3eb;
     border-radius: 6px;
     padding: 11px 14px;
 }

 .sts-application-box textarea.form-control {
     min-height: 120px;
 }

 .sts-application-box .form-control:focus,
 .sts-application-box .form-select:focus {
     border-color: #0d205d;
     box-shadow: 0 0 0 3px rgba(13, 32, 93, .09);
 }

 @media (max-width: 767px) {

     .sts-jobs-section,
     .sts-application-section {
         padding: 50px 0;
     }

     .sts-job-card {
         padding: 23px;
     }

     .sts-application-box {
         padding: 23px 18px;
     }

     .sts-form-title {
         font-size: 25px;
     }
 }

 .sts-logo-admin {
     width: 200px;
     height: auto;
     padding-bottom: 15px;
 }

 .sts-admin-nav {
     width: 100%;
     margin: auto;
     text-align: center;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-bottom: 20px;
 }

 .sts-admin-nav img {
     width: 280px;
     height: auto;
     display: block;
 }

 /* Footer*/
 .sts-admin-footer {
     background-color: #000000 !important;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     width: 100%;
     margin-top: auto;
 }

 .sts-admin-footer .text-gold {
     color: #c5a046 !important;
 }

 /* Admin  Login section Styles */
 .admin-login-logo {
     width: 100%;
     margin: auto;
     text-align: center;
     padding-bottom: 30px;
 }

 .admin-login-logo img {
     width: 100px;
 }

 .login-card {
     margin: 80px 0;
 }

 /* Dashboard Navbar */
 .dashboard-navbar {
     background: var(--secondary-light);
     color: var(--primary-color);
     padding: 20px 25px;
     width: 100%;
 }

 .dashboard-navbar h2 {
     font-size: clamp(22px, 2.5vw, 30px);
     font-weight: 600;
     color: var(--primary-color);
     margin-bottom: 8px;
 }

 .dashboard-navbar p {
     font-size: 14px;
     color: var(--white);
     margin-bottom: 0;
 }

 /* Dashboard Statistics */
 .stat-card {
     height: 100%;
     border: 1px solid #eeeeee;
     border-radius: 12px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .stat-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
 }

 .stat-card .card-body {
     padding: 22px;
 }

 .stat-card p {
     font-size: 14px;
 }

 .stat-card h2 {
     font-size: clamp(24px, 3vw, 32px);
     font-weight: 700;
     color: var(--primary-color);
     margin-bottom: 0;
 }

 /* Quick Actions */
 .quick-action-section {
     padding: 20px 24px 30px;
     width: 100%;
 }

 .quick-action-section .card-body {
     padding: 0;
 }

 .quick-action-section h5 {
     font-size: 24px;
     color: var(--primary-color);
     font-weight: 600;
     margin-bottom: 22px;
 }

 .quick-action-buttons {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 15px;
     width: 100%;
 }

 .quick-action-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 13px 20px;
     min-height: 48px;
     font-size: 15px;
     font-weight: 500;
     text-decoration: none;
     text-align: center;
     white-space: normal;
     overflow-wrap: anywhere;
     background: var(--primary-color);
     color: var(--white);
     border: 1px solid var(--secondary-color);
     border-radius: 10px;
     transition: background 0.3s ease, color 0.3s ease;
 }

 .quick-action-btn:hover {
     background: var(--secondary-color);
     color: var(--white);
 }

 .sts-admin-inner-navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: var(--secondary-light);
     color: var(--primary-color);
     padding: 15px 25px;
     width: 100%;

 }

 .navbar-dashboard-btn {
     background: var(--primary-color);
     text-decoration: none;
     color: var(--white);
     font-size: 16px;
     padding: 15px;
     border-radius: 10px;
     border: 1px solid var(--secondary-color);
 }

 .sts-admin-inner-navbar img {
     width: 220px;
     background-color: var(--white);
     padding: 10px 5px;
 }

 .navbar-back-btn {
     border: 1px solid var(--primary-color);
     text-decoration: none;
     color: var(--primary-color);
     font-size: 16px;
     padding: 15px;
     border-radius: 10px;
 }

 .navbar-dashboard-btn:hover,
 .navbar-back-btn:hover {
     background: var(--primary-dark);
     color: var(--white);
 }

 .section-heading {
     text-align: center;
     padding: 50px 0 0;
     color: var(--primary-color);
     font-weight: 600;
     font-size: 30px;
 }

 .section-desc {
     font-size: 16px;
     color: gray;
     text-align: center;
     padding-bottom: 30px;
 }

 .job-creation-card {
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .job-creation-card form {
     width: 90%;
     box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
     padding: 60px 50px;
     margin-bottom: 40px;
 }

 .available-job-table {
     background: var(--white);
     padding: 40px 25px;
     box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
 }

 .form-label {
     color: var(--primary-color);
     font-weight: 600;
     font-size: 18px;
 }

 .btn-sts {
     background: var(--primary-color);
     color: var(--white);
     border: 1px solid var(--secondary-color);
 }

 .btn-sts:hover {
     background: var(--primary-dark);
     color: var(--white);
 }

 .form-control,
 .form-select {
     border: 1px solid #ced4da;
     box-shadow: none;
     outline: none;
     transition: border-color 0.3s ease, box-shadow 0.3s ease;
 }

 .form-control:focus,
 .form-select:focus {
     border-color: #B69A4A;
     box-shadow: 0 0 0 3px rgba(182, 154, 74, 0.15);
     outline: none;
 }

 .enquiry-card {
     background: var(--white);
     border: none;
     border-radius: 12px;
     margin: 20px 30px 60px;
 }

 .enquiry-toolbar {
     padding: 20px;
     border-bottom: 1px solid #edf0f5;
     background: var(--white);
 }

 .enquiry-table-wrap {
     padding: 0 20px;
 }

 .enquiry-pagination {
     padding: 18px 20px;
     border-top: 1px solid #edf0f5;
     background: var(--white);
 }

 .table {
     margin-bottom: 0;
     --bs-table-bg: var(--white);
 }

 .table thead th {
     white-space: nowrap;
     vertical-align: middle;
     font-size: 14px;
     padding: 12px 10px;
     background: #171936;
     color: var(--white);
 }

 .table thead th a,
 .table thead th a:link,
 .table thead th a:visited,
 .table thead th a:hover,
 .table thead th a:active {
     color: #fff !important;
     text-decoration: none;
 }

 .table thead th a:hover {
     opacity: 0.8;
 }

 .table tbody td {
     vertical-align: middle;
     font-size: 14px;
     padding: 11px 10px;
 }

 .table tbody tr:nth-child(odd) td {
     background-color: var(--white);
 }

 .table tbody tr:nth-child(even) td {
     background-color: #f1f3f8;
 }

 .table tbody tr:hover td {
     background-color: #e8ecf5;
 }

 .message-cell {
     min-width: 170px;
     max-width: 250px;
     white-space: pre-wrap;
     overflow-wrap: anywhere;
 }

 .record-info {
     color: #6c757d;
     font-size: 14px;
 }

 .pagination .page-link {
     color: #171936;
 }

 .pagination .active .page-link {
     background: #171936;
     border-color: #171936;
     color: var(--white);
 }

 .status-badge {
     display: inline-block;
     padding: 4px 8px;
     border-radius: 20px;
     font-size: 11px;
     font-weight: 600;
 }

 .status-new {
     background: #dbeafe;
     color: #1d4ed8;
 }

 .status-contacted {
     background: #fef3c7;
     color: #92400e;
 }

 .status-closed {
     background: #d1fae5;
     color: #065f46;
 }

 .action-buttons {
     display: flex;
     gap: 5px;
     align-items: center;
 }

 .action-buttons .btn {
     font-size: 12px;
     padding: 5px 9px;
 }

 .enquiry-toolbar .form-label,
 .enquire-table-heading {
     font-size: 17px;
     font-weight: 600;
     margin-bottom: 5px;
     color: var(--primary-color);
 }



 .details-card {
     background: var(--white);
     border-radius: 10px;
     padding: 24px;
     box-shadow: 0 2px 12px rgba(0, 0, 0, .05);

 }

 .detail-item {
     background: #f8fcfe;
     height: 100%;
     border: 1px solid #e3ebf9;
     border-radius: 7px;
     padding: 14px;
     overflow-wrap: anywhere;

 }

 .detail-label {
     display: block;
     color: #053156;
     font-size: 17px;
     margin-bottom: 6px;
 }

 .detail-value {
     color: #6d6d6d;
     font-size: 15px;
 }

 .job-title-view {
     font-size: 28px;
     font-weight: 600;
     color: var(--secondary-color);
 }

 .application-status-form {
     width: 100%;
     display: flex;
     justify-content: center;
 }

 .application-status-form form {
     width: 50%;
 }