/* Container for all the apply-cards */
.apply-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  margin-left: -25px;
}

/* apply-card Styles */
.apply-card {
  background-color: var(--ssbond-whiteGray);
  border-radius: 8px;
  /* Retaining the rounded corners */
  padding: 20px;
  width: calc(25% - 40px);
  /* 4 apply-cards per row */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* Optional: subtle shadow for depth */
  text-align: left;
  transition: transform 0.3s ease-in-out;
}

.apply-card:hover {
  transform: translateY(-5px);
}

.apply-card h3 {
  font-size: var(--ssbond-m-h2);
  margin-bottom: 15px;
}

#job-title {
  font-size: var(--ssbond-m-t1);
  color: var(--ssbond-blue);
}

.job-subHeading h2 {
  font-size: var(--ssbond-m-h4);
  font-weight: 550;
}

.job-modal-form {
  background: var(--ssbond-whiteGray);
  max-height: 300px;
  margin-top: 50px;
  border-radius: 10px;
  margin-right: 15px;
}

.job-modal-form form {
  margin-top: 5px;
}

.apply-card p {
  font-size: var(--ssbond-m-desc2);
  margin: 10px 0;
  font-weight: 550;
}

.apply-card p span {
  font-size: var(--ssbond-m-desc2);
  margin: 10px 0;
  font-weight: 500;
}

.apply-card p:first-child {
  font-size: var(--ssbond-m-desc2);
  margin: 10px 0;
  margin-bottom: 20px;
}

.apply-card button {
  margin-top: 20px;
}

.apply-cards-container-2 {
  margin-top: 50px;
  margin-bottom: -100px;
}

.apply-cards-container-2-blog {
  margin-top: 50px;
  margin-bottom: -100px;
}

.carrer-title {
  text-align: center;
  margin-top: var(--ssbond-space-t2);
  font-size: var(--ssbond-d-h2)
}

/* Responsive Design: Stack apply-cards in smaller screens */
@media screen and (max-width: 1200px) {
  .apply-card {
    width: calc(33.33% - 40px);
    /* 3 apply-cards per row on medium screens */
  }
}

@media screen and (max-width: 992px) {
  /* Additional responsive design for smaller devices if needed */
}

@media screen and (max-width: 768px) {
  .apply-card {
    width: calc(50% - 40px);
    /* 2 apply-cards per row on smaller screens */
  }

  .apply-cards-container {
    margin-left: 0px;
  }

  .carrer-title {
    font-size: var(--ssbond-d-h4);
    margin-top: var(--ssbond-space-t5);
  }
}


  @media screen and (max-width: 576px) {
    .apply-card {
      width: calc(100% - 15px);
    }

    /* For even smaller screens, styling can be adjusted */
    .apply-cards-container-2 {
      margin-left: 5px;
      width: 100%;
    }

    .apply-cards-container-2-blog {
      margin-left: 5px;
      width: 97%;
      margin-left: 15px !important;
      
    }

    .apply-cards-container {
      margin-left: 0px;
    }

    .job-modal-form {
      margin-right: 10px;
      margin-left: 10px;
      margin-bottom: 10px;
    }

    .left-column,
    .right-column {
      min-width: 106% !important;
      max-width: 150% !important;
    }

    .left-column {
      margin-left: -22px;
    }

    .text {
      margin-top: 50px !important;
      width: 100%;
      margin-left: -40px !important;
    }

    .text-blog {
      margin-top: 50px !important;
      width: 109%;
      margin-left: -40px !important;
    }

    .text h3 {
      margin-top: -75px !important;
      font-size: var(--ssbond-m-h2) !important;
    }

    .text-blog h3 {
      margin-top: -145px !important;
      font-size: var(--ssbond-m-h2) !important;
    }

    .singleBlog-log-and-time {
      margin-top: auto;
      text-align: left;
      margin-left: -13px;
    }

    .apply-cards-container-2 {
      margin-top: 30px;
      margin-bottom: 30px;
    }

    .apply-cards-container-2-blog {
      margin-top: 30px;
      margin-bottom: 30px;
    }

    .apply-card h3 {
      font-size: var(--ssbond-d-b2);
    }

    .apply-card p span {
      font-size: var(--ssbond-m-desc1);
    }

    .apply-image img {
      /* margin-top: 110px; */
    }

    .text p {
      font-size: var(--ssbond-d-h5) !important;
      line-height: 1.3;
    }
  }

  @media screen and (max-width: 480px) {
    .apply-card {
      width: calc(100% - 0px);
    }

    .apply-cards-container-2 {
      margin-right: 50px;
    }

    .apply-cards-container-2-blog {
      width: 92%;
      margin-left: 20px !important;
      padding: 20px 29px !important;
    }
    
    .left-column, .right-column {
      min-width: 113% !important;
      max-width: 130% !important;
    }
    .left-column {
      margin-left: -27px;
  }
  }
  @media screen and (max-width: 360px) {
    
    .left-column, .right-column {
      min-width: 118% !important;
      max-width: 130% !important;
    }
    .left-column {
      margin-left: -30px;
  }
  }

  /* Container for the layout */
  .apply-cards-container-2 {
    display: flex;
    /* Flexbox to display items side by side */
    flex-direction: row;
    justify-content: space-between;
    /* Distributes space evenly between items */
    gap: 20px;
    /* Adds space between columns */
    padding: 20px 40px;
    margin-bottom: -15px;
  }

  .apply-cards-container-2-blog {
    display: flex;
    /* Flexbox to display items side by side */
    flex-direction: row;
    justify-content: space-between;
    /* Distributes space evenly between items */
    gap: 20px;
    /* Adds space between columns */
    padding: 20px 25px;
    margin-top: -90px;

  }

  /* Left column (image side) */
  .left-column {
    flex: 1;
    /* Takes equal space as the right column */
    min-width: 40%;
    /* Ensures image doesn't get too small */
    max-width: 60%;
    /* Adjusts image size for larger screens */
    height: 350px;
    /* Fixed height for the container */
    display: flex;
    /* Flexbox to center the image */
    justify-content: center;
    /* Centers image horizontally */
    align-items: center;
    /* Centers image vertically */
    overflow: hidden;
    /* Prevent any overflow */
  }

  .apply-image img {
    width: 100%;
    /* Makes the image cover the container */
    height: 100%;
    /* Ensures the image adjusts to container height */
    object-fit: cover;
    /* Ensures the image is not distorted and fills the container */
    border-radius: 8px;
    /* Optional: rounded corners for the image */
  }



  .left-column {
    display: block;
    opacity: 1;
    transform: translateY(0);
    margin-right: 30px;
  }

  /* Right column (text side) */
  .right-column {
    flex: 1;
    /* Takes equal space as the left column */
    min-width: 40%;
    /* Ensures text content does not get too small */
    max-width: 60%;
    /* Adjusts text content size */
    display: flex;
    flex-direction: column;
    /* Aligns text vertically */
    justify-content: center;
    /* Centers text vertically */
    text-align: left;
  }

  .text {
    padding: 20px;
    margin-top: -100px; /* Default value */
  }
  
  
  
  @media (min-width: 769px) and (max-width: 1200px) {
    .text {
      margin-top: -80px !important; /* Adjusted for medium screens */
    }
  }
  
  @media (min-width: 1201px) {
    .text {
      margin-top: -130px !important;  /* Adjusted for larger screens */
    }
  }
  

  .text h3 {
    font-size: var(--ssbond-m-h1);
    margin-bottom: 15px;
  }

  .text p {
    font-size: 1em;
    margin: 10px 0;
  }

  .text-blog {
    padding: 20px;
    margin-top: -130px;
  }

  .text-blog h3 {
    font-size: var(--ssbond-m-h1);
    margin-bottom: 15px;
  }

  .text-blog p {
    font-size: 1em;
    margin: 10px 0;
  }

  /* Apply button styling */
  .apply-btn {
    background-color: var(--ssbond-blue);
    color: var(--ssbond-white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .apply-btn:hover {
    background-color: #0056b3;
  }

  /* Responsive Design: Stack columns in smaller screens */
  @media screen and (max-width: 768px) {
    .apply-cards-container-2 {
      flex-direction: column;
      /* Stacks the columns on smaller screens */
      margin-top: auto;
    }

    .apply-cards-container-2-blog {
      flex-direction: column;
      /* Stacks the columns on smaller screens */
      margin-top: -50px;
      margin-left: -5px;
      margin-right: -3px;
    }

    .left-column,
    .right-column {
      min-width: 100%;
      /* Stacks columns on small screens */
      max-width: 100%;
    }

    .singleBlog-log-and-time {
      margin-bottom: auto;
    }

    .left-column {
      height: 200px;
      /* Adjust image height on smaller screens */
    }

    .text {
      margin-top: auto;
      margin-left: -15px;
    }

    .text-blog {
      margin-top: -90px;
      font-size: 14px !important;
      margin-left: -20px;
    }
  }