
    :root {
      --primary-color: #1a4f8b;
      --secondary-color: #4b8bbe;
      --accent-color: #ff6b35;
      --light-color: #f8f9fa;
      --dark-color: #212529;
      --success-color: #28a745;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      color: var(--dark-color);
      overflow-x: hidden;
      background-color: #ffffff;
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
    }

    /* Preloader */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color);
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .loader {
      width: 50px;
      height: 50px;
      position: relative;
    }
    
    .loader:before {
      content: '';
      width: 50px;
      height: 5px;
      background: #f3f3f3;
      position: absolute;
      top: 60px;
      left: 0;
      border-radius: 50%;
      animation: shadow324 0.5s linear infinite;
    }
    
    .loader:after {
      content: '';
      width: 100%;
      height: 100%;
      background: var(--accent-color);
      position: absolute;
      top: 0;
      left: 0;
      border-radius: 4px;
      animation: jump7456 0.5s linear infinite;
    }
    
    @keyframes jump7456 {
      15% {
        border-bottom-right-radius: 3px;
      }
      
      25% {
        transform: translateY(9px) rotate(22.5deg);
      }
      
      50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
      }
      
      75% {
        transform: translateY(9px) rotate(67.5deg);
      }
      
      100% {
        transform: translateY(0) rotate(90deg);
      }
    }
    
    @keyframes shadow324 {
      0%,
      100% {
        transform: scale(1, 1);
      }
      
      50% {
        transform: scale(1.2, 1);
      }
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }
    
    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
      background: var(--primary-color);
      border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
      background: var(--secondary-color);
    }
    
    /* Navbar */
    .navbar {
      transition: all 0.4s ease;
      padding: 15px 0;
      /* background: rgba(255, 255, 255, 0.95) !important; */
      background: rgb(255, 255, 255) !important;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.scrolled {
      padding: 8px 0;
      /* background: rgba(255, 255, 255, 0.98) !important; */
      background: rgb(255, 255, 255) !important;
      backdrop-filter: blur(10px);
    }
    
    .navbar-brand {
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--primary-color) !important;
    }
    
    .navbar-brand span {
      color: var(--accent-color);
    }
    
    .nav-link {
      font-weight: 600;
      padding: 8px 15px !important;
      color: var(--dark-color) !important;
      position: relative;
      transition: all 0.3s ease;
    }
    
    .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--accent-color);
      transition: all 0.3s ease;
    }
    
    .nav-link:hover:after,
    .nav-link.active:after {
      width: 70%;
    }
    
    .nav-link:hover,
    .nav-link.active {
      color: var(--primary-color) !important;
    }
    
    .navbar-toggler {
      border: none;
      padding: 0;
      width: 30px;
      height: 30px;
      position: relative;
    }
    
    .navbar-toggler:focus {
      box-shadow: none;
    }
    
    .navbar-toggler span {
      display: block;
      width: 25px;
      height: 2px;
      background: var(--primary-color);
      margin: 5px 0;
      transition: all 0.3s ease;
    }
    
    .navbar-toggler[aria-expanded="true"] span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggler[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }
    
    .navbar-toggler[aria-expanded="true"] span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
      position: relative;
      min-height: 60vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(26, 79, 139, 0.85) 0%, rgba(75, 139, 190, 0.85) 100%), url('/images/jobs_back1.jpeg');
      background-size: cover;
      background-position: center;
      color: white;
      overflow: hidden;
      margin-top: 76px;
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
    }
    
    .hero-title {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .breadcrumb {
      background: transparent;
      padding: 0;
      margin-bottom: 0;
    }
    
    .breadcrumb-item a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
    }
    
    .breadcrumb-item.active {
      color: white;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
      color: rgba(255, 255, 255, 0.8);
    }
    
    .hero-shape {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="%23ffffff"/></svg>');
      background-size: cover;
      background-repeat: no-repeat;
    }
    
    /* Section Titles */
    .section-title {
      position: relative;
      margin-bottom: 50px;
      text-align: center;
      color: var(--primary-color);
    }
    
    .section-title:after {
      content: "";
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: var(--accent-color);
      border-radius: 2px;
    }
    
    /* Search and Filters */
    .jobs-search {
      padding: 80px 0 40px;
      background-color: var(--light-color);
    }
    
    .search-card {
      background: white;
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .search-form .form-control {
      padding: 15px;
      border-radius: 10px;
      border: 1px solid #e9ecef;
      margin-bottom: 20px;
      transition: all 0.3s ease;
    }
    
    .search-form .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(26, 79, 139, 0.25);
    }
    
    .filter-btn {
      background: white;
      border: 1px solid #e9ecef;
      border-radius: 50px;
      padding: 10px 20px;
      margin: 0 10px 15px 0;
      font-weight: 600;
      color: var(--dark-color);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .filter-btn.active,
    .filter-btn:hover {
      background: var(--primary-color);
      color: white;
      border-color: var(--primary-color);
    }
    
    /* Jobs Section */
    .jobs-listing {
      padding: 80px 0;
    }
    
    .job-card {
      border: 1px solid #e9ecef;
      border-radius: 15px;
      padding: 25px;
      margin-bottom: 25px;
      transition: all 0.3s ease;
      background: white;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
    }
    
    .job-card:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 100%;
      background: var(--primary-color);
      transition: all 0.3s ease;
    }
    
    .job-card.featured:before {
      background: var(--accent-color);
    }
    
    .job-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      border-color: var(--primary-color);
    }
    
    .job-card:hover:before {
      width: 8px;
    }
    
    .job-badge {
      display: inline-block;
      padding: 5px 15px;
      background: var(--light-color);
      color: var(--primary-color);
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 15px;
    }
    
    .job-badge.featured {
      background: rgba(255, 107, 53, 0.1);
      color: var(--accent-color);
    }
    
    .job-title {
      font-size: 1.4rem;
      margin-bottom: 10px;
      color: var(--primary-color);
    }
    
    .job-company {
      font-size: 1.1rem;
      color: var(--dark-color);
      margin-bottom: 15px;
      display: flex;
      align-items: center;
    }
    
    .company-logo {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      overflow: hidden;
      margin-right: 15px;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .company-logo img {
      max-width: 30px;
      max-height: 30px;
    }
    
    .job-details {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    
    .job-detail {
      display: flex;
      align-items: center;
      margin-right: 20px;
      margin-bottom: 10px;
      font-size: 0.9rem;
    }
    
    .job-detail i {
      margin-right: 5px;
      color: var(--primary-color);
    }
    
    .job-description {
      margin-bottom: 20px;
      color: #6c757d;
    }
    
    .job-skills {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    
    .skill-tag {
      padding: 5px 12px;
      background: rgba(26, 79, 139, 0.1);
      color: var(--primary-color);
      border-radius: 50px;
      font-size: 0.8rem;
      margin-right: 10px;
      margin-bottom: 10px;
    }
    
    .job-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .job-posted {
      font-size: 0.85rem;
      color: #6c757d;
    }
    
    /* Pagination */
    .pagination-container {
      margin-top: 50px;
    }
    
    .page-link {
      color: var(--primary-color);
      border: 1px solid #dee2e6;
      padding: 10px 18px;
      margin: 0 5px;
      border-radius: 8px;
      font-weight: 600;
    }
    
    .page-link:hover {
      background: var(--primary-color);
      color: white;
      border-color: var(--primary-color);
    }
    
    .page-item.active .page-link {
      background: var(--primary-color);
      border-color: var(--primary-color);
    }
    
    /* Job Alert Section */
    .job-alert {
      padding: 80px 0;
      background: linear-gradient(rgba(26, 79, 139, 0.9), rgba(26, 79, 139, 0.9)), url('/images/jobs_back2.jpeg');
      background-size: cover;
      background-position: center;
      color: white;
      text-align: center;
    }
    
    .alert-form {
      max-width: 600px;
      margin: 0 auto;
    }
    
    .alert-form .form-control {
      padding: 15px;
      border-radius: 50px;
      border: none;
      margin-bottom: 15px;
    }
    
    /* Footer */
    footer {
      background: var(--dark-color);
      color: white;
      padding: 80px 0 0;
    }
    
    .footer-logo {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: white;
    }
    
    .footer-logo span {
      color: var(--accent-color);
    }
    
    .footer-text {
      margin-bottom: 20px;
      opacity: 0.8;
    }
    
    .footer-title {
      font-size: 1.2rem;
      margin-bottom: 25px;
      position: relative;
      padding-bottom: 10px;
    }
    
    .footer-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--accent-color);
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .footer-links li {
      margin-bottom: 12px;
    }
    
    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }
    
    .footer-links a i {
      margin-right: 8px;
      font-size: 0.8rem;
    }
    
    .footer-links a:hover {
      color: var(--accent-color);
      transform: translateX(5px);
    }
    
    .footer-newsletter {
      position: relative;
    }
    
    .footer-newsletter input {
      width: 100%;
      padding: 12px 20px;
      border-radius: 50px;
      border: none;
      background: rgba(255, 255, 255, 0.1);
      color: white;
    }
    
    .footer-newsletter button {
      position: absolute;
      top: 5px;
      right: 5px;
      border: none;
      background: var(--accent-color);
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    
    .footer-newsletter button:hover {
      background: #e55a2b;
    }
    
    .social-icons {
      display: flex;
      margin-top: 20px;
    }
    
    .social-icons a {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
      background: var(--accent-color);
      transform: translateY(-3px);
    }
    
    .copyright {
      text-align: center;
      padding: 20px 0;
      margin-top: 60px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.7;
    }
    
    /* Back to Top */
    #scrollToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--accent-color);
      color: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 99;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    #scrollToTop.active {
      opacity: 1;
      visibility: visible;
    }
    
    #scrollToTop:hover {
      background: #e55a2b;
      transform: translateY(-3px);
    }
    
    /* Job Detail Modal */
    .modal-content {
      border-radius: 15px;
      overflow: hidden;
    }
    
    .modal-header {
      background: var(--primary-color);
      color: white;
      border-bottom: none;
    }
    
    .modal-header .btn-close {
      filter: invert(1);
    }
    
    .modal-job-title {
      font-size: 1.5rem;
      margin-bottom: 5px;
    }
    
    .modal-job-company {
      font-size: 1.1rem;
      opacity: 0.9;
    }
    
    .modal-job-details {
      display: flex;
      flex-wrap: wrap;
      margin: 20px 0;
    }
    
    .modal-job-detail {
      flex: 0 0 50%;
      margin-bottom: 15px;
    }
    
    .modal-job-detail i {
      color: var(--primary-color);
      margin-right: 10px;
      width: 20px;
    }
    
    .modal-section-title {
      font-size: 1.2rem;
      margin: 25px 0 15px;
      color: var(--primary-color);
      position: relative;
      padding-bottom: 10px;
    }
    
    .modal-section-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--accent-color);
    }
    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
    
    .pulse {
      animation: pulse 2s infinite;
    }
    
    /* Mobile Responsiveness Improvements */
    @media (max-width: 1199.98px) {
      .hero-title {
        font-size: 2.5rem;
      }
    }
    
    @media (max-width: 991.98px) {
      .hero-title {
        font-size: 2.2rem;
      }
      
      .job-actions {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .job-posted {
        margin-top: 10px;
      }
      
      .process-step:after {
        display: none;
      }
    }
    
    @media (max-width: 767.98px) {
      .hero {
        min-height: 50vh;
        margin-top: 70px;
      }
      
      .hero-title {
        font-size: 1.8rem;
      }
      
      .section-title {
        font-size: 1.8rem;
      }
      
      .search-card {
        padding: 20px;
      }
      
      .job-card {
        padding: 20px;
      }
      
      .job-title {
        font-size: 1.2rem;
      }
      
      .modal-job-detail {
        flex: 0 0 100%;
      }
      
      footer {
        text-align: center;
      }
      
      .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
      }
      
      .social-icons {
        justify-content: center;
      }
      
      .stat-number {
        font-size: 2.5rem;
      }
    }
    
    @media (max-width: 575.98px) {
      .hero {
        min-height: 40vh;
      }
      
      .hero-title {
        font-size: 1.6rem;
      }
      
      .job-details {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .job-detail {
        margin-right: 0;
      }
      
      .job-actions {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .job-actions .btn {
        width: 100%;
        margin-bottom: 10px;
      }
      
      .job-posted {
        margin-top: 10px;
        align-self: center;
      }
      
      .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin: 0 5px 10px 0;
      }
    }

    /* NEW: Additional responsive improvements for very small devices */
    @media (max-width: 400px) {
      .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
      }
      
      .navbar-brand {
        font-size: 1.5rem;
      }
      
      .hero-title {
        font-size: 1.4rem;
      }
      
      .search-form .row {
        margin-left: -5px;
        margin-right: -5px;
      }
      
      .search-form .col-md-5, 
      .search-form .col-md-2 {
        padding-left: 5px;
        padding-right: 5px;
      }
      
      .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin: 0 3px 8px 0;
      }
      
      .job-card {
        padding: 15px;
        margin-left: -5px;
        margin-right: -5px;
        width: calc(100% + 10px);
      }
      
      .job-title {
        font-size: 1.1rem;
      }
      
      .job-company {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .company-logo {
        margin-bottom: 10px;
      }
      
      .job-skills .skill-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
        margin-right: 5px;
        margin-bottom: 5px;
      }
      
      .page-link {
        padding: 8px 12px;
        margin: 0 2px;
      }
      
      .footer-logo {
        font-size: 1.6rem;
      }
      
      .footer-title {
        font-size: 1.1rem;
      }
      
      .social-icons a {
        width: 35px;
        height: 35px;
        margin-right: 8px;
      }
      
      #scrollToTop {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
      }
    }

    /* NEW: Fix for iPhone SE and other small devices */
    @media (max-width: 320px) {
      .hero-title {
        font-size: 1.3rem;
      }
      
      .lead {
        font-size: 0.9rem;
      }
      
      .search-form .form-control {
        padding: 10px;
        font-size: 0.9rem;
      }
      
      .filter-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
      }
      
      .job-title {
        font-size: 1rem;
      }
      
      .job-description {
        font-size: 0.9rem;
      }
    }

    /* NEW: Prevent horizontal overflow on all devices */
    .row {
      margin-left: 0;
      margin-right: 0;
    }
    
    .container, .container-fluid {
      overflow-x: hidden;
    }