.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
  }
  
  .hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .categories i {
    color: #007bff;
    margin-bottom: 1rem;
  }
  
  /* Override Bootstrap Primary Button Color */
  .btn-primary {
    background-color: #e53f25 !important;
    border-color: #e53f25 !important;
  }
  
  .btn-primary:hover {
    background-color: #c12f21 !important; /* Darker shade for hover */
    border-color: #c12f21 !important;
  }
  
  body .text-primary {
    color: #e53f25 !important; /* Add !important if necessary */
  }
  
  body .red-icon {
    color: #e53f25;
    padding-right: 10px;
  }
  

  .hero {
    position: relative;
    background-image: url("../images/herobg.jpg");
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    height: 100vh;
  }
  
  /* Overlay using ::before */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1; /* Overlay under content */
  }
  
  /* Content container */
  .hero-content {
    color: white;
    z-index: 2; 
    margin-bottom: 1rem; 
    position: relative;
    top: -200px; 
  }
  
  .form-container {
    padding: 20px;
    border-radius: 8px;
    z-index: 2;
    width: 100%;
    max-width: 500px;
  }
  
  
  /* Responsive layout with flex */
  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2; /* Content stays on top of the overlay */
  }
  

  .categories .category-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10%;
  }
  
  .categories img {
    max-width: 100px; /* Adjust based on image size */
    margin-left: 20px;
  }
  
  .large-screen {
    display: block;
  }
  
  .small-screen {
    display: none;
  }
  
  /* For the odd rows (1st, 3rd, 5th, etc.) */
  .row .category-item:nth-child(odd) {
    background-color: #ece8e7;
  }
  
  /* For the even rows (2nd, 4th, 6th, etc.) */
  .row .category-item:nth-child(even) {
    background-color: #292929;
    color: white; /* Ensure text is visible on dark background */
  }
  
  .modal {
    z-index: 1055 !important;
    }
    .modal-backdrop {
        z-index: 1050 !important;
    }

    #contactFormMessage {
        font-size: 16px;
        font-weight: bold;
        color: #e53f25;
    }

    #assistanceFormMessage, #jobApplicationFormMessage {
        font-size: 16px;
        color: #e53f25;
        font-weight: bold;
    }

    .bottom-logo{
        width: 75%;
    }

    @media (max-width: 768px) {
        .categories .category-item {
          flex-direction: column; /* Stack content vertically on smaller screens */
          text-align: center;
        }
      
        .categories img {
          margin-left: 0;
          margin-top: 15px; /* Space between text and image */
        }
      
        .large-screen {
          display: none;
        }
      
        .small-screen {
          display: block;
        }
    
        .container {
            flex-direction: column;
            text-align: center;
        }
    
        .hero-content {
            color: white;
            z-index: 2; 
            margin-bottom: 1rem; 
            position: relative;
            top: 0px !important; 
        }
    
        .bottom-logo{
            width: 45%;
        }
      }

      a {
        text-decoration: none;
        color: inherit;
      }

      a:hover{
        text-decoration: none;
        color: inherit;
      }

      footer {
        position: relative;
        background-image: url("../images/footerbg.jpg");
        background-size: cover;  /* Ensures the image covers the entire footer */
        background-position: center center;  /* Ensures the background image stays centered */
        padding: 100px 20px;
        height: auto;  /* Allow the height to adjust based on content */
      }
      
      /* Media queries for different screen sizes */
      @media (max-width: 1200px) {
        footer {
          padding: 80px 20px;  /* Reduce padding on large screens */
        }
      }
      
      @media (max-width: 992px) {
        footer {
          padding: 60px 20px;  /* Reduce padding for medium-sized screens */
        }
      }
      
      @media (max-width: 768px) {
        footer {
          padding: 40px 20px;  /* Reduce padding for small screens */
        }
      }
      
      @media (max-width: 576px) {
        footer {
          padding: 20px 20px;  /* Further reduce padding for extra small screens */
        }
      }

      /* Responsive Design */
@media (max-width: 768px) {
    .categories .category-item {
      flex-direction: column;
      text-align: center;
    }
  
    .categories img {
      margin: 0 auto 15px;
    }
  }
  
  @media (max-width: 576px) {
    .categories .category-item {
      padding: 15px;
      gap: 10px;
    }
  
    .categories img {
      max-width: 60px;
    }
  
    .categories .category-item h5 {
      font-size: 1rem;
    }
  
    .categories .category-item p {
      font-size: 0.875rem;
    }
  }
      