body {
  font-family: 'Lato', 'Segoe UI', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 50px;
  background-color: #f8f9fa;
  color: #202a25;
  line-height: 1.6;
  position: relative;
  padding-bottom: 60px;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* phone numbers not underlined "about-us" */
a[href^="tel:"] {
  text-decoration: none;
  color: inherit; 
}


/* ---------------------------------- Navigation in index.html ----------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
nav {
  background-color: #99bc85;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #99bc85;
  opacity: 1;
  z-index: 10000;
}

nav ul {
  display: flex;
  gap: 50px;
}

nav ul li a {
  color: #3f612d;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #99bc85;
  color: #fff;
}


.logo a {
  display: block;
  height: 100%;
}

.logo svg {
  height: 100%;
  width: auto;
  max-height: 52px;
}

@media (min-width: 768px) {
  .logo svg {
    width: 190px; /* Increased width to accommodate wider text */
  }
}

/* Define the keyframes for the animation */
@keyframes fancyAnimation {
  0%, 13.33% {
    transform: scale(1);  
  }
  6.67% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* logo jump */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  animation: fancyAnimation 5s ease-in-out infinite;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #ecf0f1; 
  text-decoration: none;
  font-weight: 500; 
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: #dee2e6; 
}
/* Menu Styles */
.menu {
  position: relative;
  display: flex;
  align-items: center;
}

/* Hamburger Menu Styles */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; 
  height: 20px; 
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.bar {
  background-color: #f8f9fa;
  height: 2px;                  /* Thinner bars */
  width: 100%;
  border-radius: 4px;           /* More rounded corners */
  transition: all 0.3s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}


/* Menu Options - Creative Bounce Drop-Down (Stacked Vertically) */
.menu-options {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #99bc85;
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  visibility: hidden;
  transform-origin: top;
  z-index: 1000;
  display: block; /* ensures the list stacks vertically */
}

.menu-options li {
  display: block; /* forces each item on its own line */
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* optional separator */
}

.menu-options li:last-child {
  border-bottom: none;
}

.menu-options a {
  color: #202a25;
  text-decoration: none;
  display: block;
}

/* Trigger the creative animation on hover or when .open is applied */
.menu-options.open {
  animation: creativeDropdown 0.6s forwards;
}

/* Keyframes for a creative flip & bounce effect */
@keyframes creativeDropdown {
  0% {
    opacity: 0;
    transform: perspective(600px) rotateX(-90deg) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: perspective(600px) rotateX(20deg) scale(1.05);
  }
  80% {
    transform: perspective(600px) rotateX(-10deg) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) scale(1);
    visibility: visible;
  }
}

/* Animation for hamburger icon */
.hamburger:hover .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger:hover .bar:nth-child(2) {
  opacity: 0;
}

.hamburger:hover .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 10px 10px;
  }
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 0; /* Removes space between image and SVG */
}

/* Remove any default margins from the SVG */
.logo-container svg {
  margin-left: 0;
}

/* Ensure the image doesn't have default spacing */
.logo-container img {
  display: block;
  margin-right: 0;
}
/* ---------------------------------- 
   Filters & search group - Enhanced
   ---------------------------------- */

   .filters {
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
  }
  .filters h1 {
    margin-bottom: 15px;
    color: #202a25;
    font-weight: 700;
    font-size: 1.8rem;
  }
  .filters p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1rem;
  }
  
  .filters h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #202a25;
    bottom: -8px;
    left: 25%;
    border-radius: 2px;
  }
  
  .search-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(253, 250, 246, 0.6);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .search-container h1,
  .search-container p {
    width: 100%;
    text-align: center;
  }
  .search-container .search-groups-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }
  
  .search-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
  }
  
  .search-group {
    display: flex;
    align-items: center;
    min-width: 280px;
    position: relative;
  }
  
  .search-group i {
    margin-right: 12px;
    color: #ffa725;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .search-group:hover i {
    transform: scale(1.2);
  }
  
  .filters label {
    margin-right: 12px;
    font-weight: 500;
    color: #202a25;
  }
  
  .filters select {
    padding: 12px 15px;
    margin-right: 15px;
    border: 2px solid #202a25;
    border-radius: 8px;
    font-size: 1rem;
    color: #202a25;
    background-color: #fdfaf6;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 30px;
  }
  
  .filters select:hover, .filters select:focus {
    border-color: #202a25;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
  }
  
  .filters button {
    padding: 14px 28px;
    background-color: #202a25;
    color: #fdfaf6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(32, 42, 37, 0.3);
  }
  
  /* Special effect for αναζητηση (search) button */
  .filters button.search-btn {
    position: relative;
    z-index: 1;
  }
  
  .filters button.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(32, 42, 37, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
  }
  
  .filters button:hover {
    background: linear-gradient(135deg, #202a25, #1a2520);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(32, 42, 37, 0.35);
  }
  
  /* Shine effect animation for αναζητηση */
  .filters button.search-btn:hover::before {
    left: 100%;
    animation: shine 1.5s infinite;
  }
  
  @keyframes shine {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }
  
  .filters button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
  }
  
  .filters button:hover i {
    transform: translateX(3px);
  }
  
  /* Make the layout more responsive */
  
  @media (max-width: 768px) {
    .filters {
      padding: 20px 15px; /* Reduced padding */
    }
    
    .filters h1 {
      font-size: 1.4rem; /* Smaller font size */
      margin-bottom: 10px; /* Reduced spacing */
    }
    
    .filters p {
      font-size: 0.95rem; /* Smaller paragraph text */
      margin-bottom: 15px; /* Less spacing */
    }
    
    .search-container {
      padding: 20px 15px; /* Smaller container padding */
      gap: 12px; /* Reduced spacing between elements */
    }
    
    .search-groups-row {
      flex-direction: column; /* Stack items vertically on mobile */
      width: 100%;
      gap: 10px;
    }
    
    .search-group {
      width: 100%;
      justify-content: flex-start; /* Left aligned on mobile */
      margin-bottom: 5px;
      padding: 0 5px;
    }
    
    .search-group label {
      font-size: 0.9rem;
      min-width: 80px; /* Fixed width for labels to align form fields */
    }
    
    .search-group select {
      padding: 10px;
      font-size: 0.9rem;
      height: 40px; /* Fixed height */
      flex-grow: 1;
    }
    
    /* Button styling for mobile */
    .search-container button {
      padding: 10px 20px;
      font-size: 0.9rem;
      width: 100%;
      max-width: 200px;             /* Cap the width so it's not too wide */
      margin: 10px auto 0;          /* Center the button with top margin */
      height: 40px;                 /* Fixed height */
      background-color: #202a25;
      border-radius: 8px;
      justify-content: center;
      box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
      -webkit-tap-highlight-color: transparent;
    }
    
    .search-container button:hover,
    .search-container button:active {
      background-color: #202a25;
      transform: translateY(-1px); /* Subtle lift */
      box-shadow: 0 4px 12px rgba(0, 198, 251, 0.3);
    }
    
    .search-container button:active {
      transform: translateY(1px); /* Press effect */
    }
    
    .search-container button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: all 0.5s ease;
    }
    
    .search-container button:hover::before,
    .search-container button:active::before {
      left: 100%;
      animation: shine 1s infinite;
    }
    
    .search-container button i {
      font-size: 0.9rem;
      margin-right: 5px;
    }
    
    /* Animation for shine effect */
    @keyframes shine {
      0% {
        left: -100%;
      }
      100% {
        left: 100%;
      }
    }
    
    /* For extra small screens */
    @media (max-width: 375px) {
      .filters h1 {
        font-size: 1.25rem;
      }
      
      .filters p {
        font-size: 0.9rem;
      }
      
      .search-group {
        flex-wrap: wrap;
      }
      
      .search-group label {
        width: 100%;
        margin-bottom: 5px;
        text-align: left;
      }
      
      .search-group i {
        margin-right: 8px;
      }
      
      .search-group select {
        width: calc(100% - 30px);
      }
      
      .search-container button {
        max-width: 180px;
        font-size: 0.85rem;
      }
    }
  }
  
/* -------------------------------------------- Job Listings from index.html --------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
.listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  padding: 20px;
  margin-left: 170px;
  margin-right: 170px;
  margin-bottom: 70px;
}

.job-card {
  position: relative;
  background-color: rgba(253, 250, 246, 0.6);
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ecf0f1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Enables vertical stacking */
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(to bottom, #99bc85, #3f612d);
  transition: height 0.3s ease;
}

.job-card:hover::before {
  height: 100%;
}

.job-card:hover {
  transform: translateY(-5px) translateX(3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
  margin-bottom: 10px;
  color: #202a25;
}

.job-card .shop-name {
  color: #202a25;
  font-weight: 500;
  margin-bottom: 10px;
}

.job-card p {
  margin-bottom: 8px;
  color: #555;
}

.view-details {
  display: inline-block;
  padding: 8px 15px;
  background-color: #99bc85;
  color: #fdfaf6;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.view-details:hover {
  background-color: #3f612d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(52, 152, 219, 0.35);
}

.view-details:active {
  transform: translateY(1px);
}

.job-card .view-details {
  margin-top: auto;
}

/* ----------------------- Privacy, About classes (privacy.html, about.html) --------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
.privacy, .about {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 70px;
  text-align: center;
}
.about .p {
  color: #202a25;
}

.privacy h1, .about h1 {
  color: #202a25;
  margin-bottom: 20px;
  font-size: 2rem;
}

.privacy p, .about p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #202a25;
}

.about h2 {
  color: #202a25;
  margin: 25px 0 15px 0;
  font-size: 1.5rem;
}

.about ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  display: inline-block;
}

.about ul li {
  margin-bottom: 10px;
  color: #202a25;
  display: flex;
  align-items: center;
}

.about ul li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background-color: #202a25;
  border-radius: 50%;
}


/* -------------------------------------- Job Details Card (job-detail.html) --------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
.job-details-section {
  padding: 2rem 0;
  min-height: calc(100vh - 180px); 
  margin-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.back-button {
  margin-bottom: 2rem;
}

.back-button a {
  display: inline-flex;
  align-items: center;
  color: #99bc85;
  font-weight: 500;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.back-button a:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-button i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.job-details-card {
  background-color: rgba(253, 250, 246, 0.6);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.job-details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.job-header {
  border-bottom: 2px solid #f0f2f5;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.job-header h1 {
  margin: 0 0 0.75rem 0;
  color: #202a25;
  font-size: 2.2rem;
  font-weight: 700;
}

.job-header h3 {
  margin: 0;
  color: #3f612d;
  font-weight: 500;
  font-size: 1.3rem;
}

/* Job Info Container */
.job-info-container {
  background-color: rgba(253, 250, 246, 0.6);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.job-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
}

.info-item i {
  font-size: 1.2rem;
  color: #ffa725;
  margin-right: 0.75rem;
  width: 25px;
  text-align: center;
}

.info-item span {
  color: #202a25;
}

.info-item strong {
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Job Content Sections */
.job-description, 
.job-requirements, 
.job-benefits {
  margin-bottom: 2.5rem;
}

.job-description h3, 
.job-requirements h3, 
.job-benefits h3,
.apply-section h3 {
  color: #202a25;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 0.75rem;
  position: relative;
}

.job-description h3:after, 
.job-requirements h3:after, 
.job-benefits h3:after,
.apply-section h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100px;
  height: 2px;
  background-color: #99bc85;
}

.job-description p, 
.job-requirements p, 
.job-benefits p {
  line-height: 1.7;
  color: #555;
  margin-top: 0;
}

/* Apply Section */
.apply-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #3f612d;
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.contact-info a {
  color: #99bc85;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #3f612d;
  text-decoration: underline;
}

.apply-button {
  background-color: #99bc85;
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
  display: block;
  margin: 0 auto;
}

.apply-button:hover {
  background-color: #3f612d;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.apply-button:active {
  transform: translateY(-1px);
}

/* Error and Loading States */
.error-message {
  background-color: #fee;
  color: #d63031;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.error-message a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.error-message a:hover {
  text-decoration: underline;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: #7f8c8d;
  font-size: 1.2rem;
  font-weight: 300;
}

/* ------------------------------------------------- FOOTER ------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* Βασικά στυλ για html και body */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Το body λειτουργεί ως flex container με κατεύθυνση στήλης */
body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Το κύριο περιεχόμενο επεκτείνεται για να καταλάβει τον διαθέσιμο χώρο */
.wrapper {
  flex: 1;
}

/* Στυλ για το footer */
footer {
  background-color: #fdfaf6;
  color: #34495e;
  text-align: center;
  padding: 15px 20px;
  width: 100%;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

/* Στυλ για το footer-container */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Στυλ για το footer-left */
.footer-left {
  text-align: left;
  font-size: 0.9rem;
  color: #202a25;
}

/* Στυλ για το footer-right */
.footer-right {
  text-align: right;
}

/* Στυλ για τους συνδέσμους στο footer-right */
.footer-right a {
  color: #202a25;
  text-decoration: none;
  margin-left: 15px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: #3f612d;
}


/* ---------------------------------------- MOBILE STYLES ------------------------------------------- */
/* IMPORTANT: These media queries optimize mobile experience without affecting desktop version */



/* Mobile devices */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px; /* Reduced space for mobile footer */
  }
  
  /* Mobile navigation */
  nav {
    padding: 10px 20px;

  }
  
  nav ul {
    justify-content: center;
    width: 100%;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  /* Mobile filters section */
  .filters {
    padding: 15px 10px;
  }
  
  .search-container {
    padding: 20px 15px;
    flex-direction: column;
  }
  
  .search-group {
    width: 100%;
    margin-bottom: 15px;
    justify-content: center;
  }
  
  .filters button {
    width: 100%;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
  .listings {
    width: 95%;
    padding: 10px;
    grid-template-columns: 1fr; /* Force single column on mobile */
    margin-left: auto;
    margin-right: auto;
  }
  
  .job-card {
    padding: 15px;
    margin-bottom: 15px;
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
  }
  
  .job-card h3 {
    font-size: 1.3rem; /* Slightly larger font */
  }
  
  .job-card p {
    font-size: 1rem; /* Ensure readable text size */
  }
}
  
  /* Mobile job details */
  .job-details-card {
    padding: 20px 15px;
  }
  
  .job-header h1 {
    font-size: 1.8rem;
  }
  
  .job-info {
    grid-template-columns: 1fr;
  }
  
  .apply-button {
    width: 100%;
  }
  
  /* Improved mobile footer */
  footer {
    position: relative; /*the footer will not be visible all time, only at the bottom*/
    bottom: 0;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-left, .footer-right {
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
  }
  
  .footer-right a {
    margin: 0 5px;
    font-size: 0.8rem;
    display: inline-block;
  }
  
  /* Ensure content is visible above footer */
  .listings, 
  .privacy, 
  .about {
    margin-bottom: 90px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  body {
    padding-bottom: 70px; /* Even less space for footer on small screens */
  }
  
  /* Compact job cards */
  .job-card {
    padding: 12px;
  }
  
  .job-card h3 {
    font-size: 1.2rem;
  }
  
  /* Improve tap targets for small screens */
  .view-details, 
  .apply-button,
  .back-button a,
  nav ul li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Improve job details layout on small screens */
  .job-details-card {
    padding: 15px 12px;
  }
  
  .job-header h1 {
    font-size: 1.5rem;
  }
  
  .job-header h3 {
    font-size: 1.1rem;
  }
  
  .job-info-container, 
  .apply-section {
    padding: 15px 12px;
  }
  
  .contact-info p {
    flex-direction: column;
    align-items: flex-start;
    margin: 12px 0;
  }
  
  .contact-info i {
    margin-bottom: 5px;
  }
  
  /* Extra small footer */
  footer {
    padding: 8px 5px;
    position: relative; /* Footer will not be fixed */
    bottom: 0;
  }
  
  .footer-left, .footer-right {
    font-size: 0.7rem;
  }
  
  .footer-right a {
    margin: 0 4px;
    font-size: 0.7rem;
    padding: 3px 0;
  }
  
  /* Ensure content is visible above footer */
  .listings, 
  .privacy, 
  .about {
    margin-bottom: 80px;
  }
  
  /* Add some breathing room between cards */
  .job-card {
    margin-bottom: 12px;
  }
  
  /* Improve contrast for better readability */
  .job-card p {
    color: #444;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 73, 94, 0.4);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(52, 73, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 73, 94, 0);
  }
}

/* Media query adjustments for mobile */
@media (max-width: 768px) {  
  .footer-left p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .menu-options {
    width: auto;
    padding: 0 5px; 
  }
  
  .menu-options li {
    padding: 5px 10px;
  }
}

/* ---------------------------------------- Phone Icon and Popup ------------------------------------------- */
.phone-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-right: 20px;
  background-color: #3f612d;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.phone-icon i {
  color: #fff;
  font-size: 14px;
}

.phone-icon:hover {
  transform: scale(1.1);
  background-color: #4a7336;
}

/* Phone Popup Styles */
.phone-popup {
  display: none;
  position: absolute;
  top: 60px;
  right: 70px;
  z-index: 1200;
  animation: popupAppear 0.3s forwards;
}

@keyframes popupAppear {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-content {
  background-color: #fff;
  width: 260px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid #99bc85;
  position: relative;
}

.popup-content:before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  transform: rotate(45deg);
  border-top: 2px solid #99bc85;
  border-left: 2px solid #99bc85;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #3f612d;
  cursor: pointer;
  transition: color 0.2s;
}

.close-popup:hover {
  color: #99bc85;
}

.popup-content h3 {
  margin-top: 5px;
  margin-bottom: 15px;
  color: #3f612d;
  font-size: 18px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 0;
}

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

.contact-item i {
  font-size: 18px;
  color: #3f612d;
  margin-right: 15px;
}

.contact-item p {
  margin: 0;
  color: #333;
  font-size: 15px;
}

.contact-item a {
  color: #3f612d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #99bc85;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .phone-popup {
    right: 40px;
  }
}





/*--------------------------- About Section Styling--------------------------*/
.about {
  /* Background and container styling */
  background-color: rgba(52, 73, 94, 0.05);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

/* Add the left gradient bar */
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #99bc85, #3f612d);
}

/* Fade-in animation for all elements */
.about h1,
.about h2,
.about p,
.about ul {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInLoad 1s ease-out forwards;
}

/* Staggered animation delays */
.about h1 { animation-delay: 0.2s; }
.about p:nth-of-type(1) { animation-delay: 0.4s; }
.about p:nth-of-type(2) { animation-delay: 0.6s; }
.about p:nth-of-type(3) { animation-delay: 0.8s; }
.about h2 { animation-delay: 1s; }
.about ul { animation-delay: 1.2s; }

/* Typography styling */
.about h1,
.about h2 {
  color: #202a25;
  margin-bottom: 25px;
}

.about h1 {
  font-size: 2.2rem;
}

.about p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.about ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.about li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.6;
}

/* Highlight important text */
.about strong {
  color: #202a25;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about {
    padding: 30px 20px;
    margin: 30px 15px;
  }
  
  .about h1 {
    font-size: 1.8rem;
  }
  
  .about p {
    font-size: 1rem;
  }
}

/* Keyframes remain the same */
@keyframes fadeInLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --------------------------------Privacy Section Styling----------------------------------- */
.privacy {
  /* Background and container styling */
  background-color: rgba(52, 73, 94, 0.05);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.privacy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #99bc85, #3f612d);
}

/* Typography */
.privacy h1 {
  color: #34495e;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 600;
}

.privacy-section {
  margin-bottom: 30px;
}

.privacy-section h2 {
  color: #34495e;
  font-size: 1.4rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeaea;
  font-weight: 500;
}

.privacy-section p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.privacy-section p strong {
  color: #99bc85;
  font-weight: 500;
}

.contact-section {
  background-color: rgba(153, 188, 133, 0.15);
  padding: 20px;
  border-radius: 10px; 
  position: relative; 
}
.contact-section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #99bc85, #3f612d);
}

.update-date {
  text-align: right;
  color: #777;
  font-size: 0.9rem;
  margin-top: 40px;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .privacy {
    padding: 30px 20px;
    margin: 30px 15px;
  }
  
  .privacy h1 {
    font-size: 1.8rem;
  }
  
  .privacy-section h2 {
    font-size: 1.2rem;
  }
  
  .privacy-section p {
    font-size: 1rem;
  }
}

/* Fix for horizontal scrolling on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    /* width: 100%;
    position: relative; */
  }
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.title-row h3 {
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.view-count {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #777;
  gap: 3px;
  white-space: nowrap;
  margin-left: 10px;
}

.view-count i {
  font-size: 0.9rem;
  color: #5e8c61; /* Matching your green theme */
}

/* Make sure this integrates well with your existing styles */
.job-card:hover .view-count {
  position: relative;
  z-index: 1; /* Ensure it stays visible over the green bar */
}

@media (max-width: 480px) {
  .title-row h3 {
    font-size: 1.1rem;
    max-width: 75%;
  }
  
  .view-count {
    font-size: 0.75rem;
  }
}