/* Banner - full width at top */
.banner-section {
  width: 100%;
  height: 80vh;
  /*background-image: url('https://images.pexels.com/photos/5699435/pexels-photo-5699435.jpeg');*/
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  text-align: left;
  position: relative;
  z-index: 1;
  padding: 0 160px; 
  box-sizing: border-box;
  margin-left: 30px;
}
.banner-content{
  width: 42%;
}

.banner-content h3 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  color: #fff;
}

.banner-content p {
  font-size: 1.3rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Main content container below banner */
.main-content {
  max-width: 90%;
  margin: 40px auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Benefits section scrolls naturally on left */
.shiftsure-benefits h3 {
  font-size: 2.5rem; 
}
.benefits-container{
  margin-top: 60px;
}
.benefit-item {
  display: flex;
  align-items: center; /* center vertically */
  gap: 24px;
  margin-bottom: 32px;
  background-color: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item .image {
  width: 150px;
  height: 150px;
  background-color: #f0f0f0;
  border-radius: 50%;             /* Makes it a circle */
  background-size: cover;         /* Ensures image fills the circle */
  background-position: center;    /* Centers the image */
  background-repeat: no-repeat;   /* Prevents tiling */
  flex-shrink: 0;
  overflow: hidden;               /* Prevents content from spilling out */
}

.benefit-item .text-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.benefit-item .text-row strong {
  font-size: 1.25rem;
  color: #2c3e50;
  margin-bottom: 6px;
  line-height: 1.4;
}

.benefit-item .text-row p {
  margin: 0;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.5;
  max-width: 600px;
}

/* Sticky form on the right */
.form-fixed {
  position: fixed;
  top: 136px;
  right: 40px; /* distance from right edge */
  width: 705px;
  max-height: calc(100vh - 120px); /* so it fits viewport height minus top/bottom margins */
  overflow-y: auto; /* scroll inside form if form is tall */
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  font-family: 'Segoe UI', sans-serif;
  z-index: 1000; 
  margin-right: 64px;
}

/* When form is hidden, shrink to small white bar at bottom-right */
.form-fixed.minimized {
  top: auto;           /* remove top positioning */
  bottom: 20px;        /* stick to bottom */
  right: 20px;         /* distance from right edge */
  width: 350px;        /* smaller width when minimized */
  padding: 8px 16px;   /* smaller padding */
  overflow: hidden;    /* hide overflowing content */
  cursor: pointer;     /* indicate it's clickable */
}

/* Keep toggle button visible in minimized state */
.form-fixed.minimized .acf-toggle-btn {
  float: none;
  display: block;
  text-align: center;
  margin: 0 auto;
}
.acf-toggle-btn:focus {
  outline: none;
}

/* Optional: add a subtle hover effect instead */
.acf-toggle-btn:hover {
  color: #2a97d6;
  text-decoration: none;
}
/* Form styling */
.form-box {
  background: white;
  padding: 20px 20px;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
  width: 650px;
}

.form-box h4 {
  text-align: center;
  margin-bottom: 25px;
  color: #2c3e50;
  font-size: 34px;
  margin-top: 30px;
}

.acf-form .acf-label label {
  font-size: 14px; /* smaller label */
  margin-bottom: 3px;
}

.acf-form .acf-input input[type="text"],
.acf-form .acf-input input[type="email"],
.acf-form .acf-input input[type="number"],
.acf-form .acf-input textarea {
  font-size: 14px; /* smaller input text */
  padding: 8px 10px; /* tighter spacing */
}

.acf-form-submit input[type="submit"] {
  font-size: 14px;
  padding: 10px 12px;
  margin-left: 20px ;
  margin-top: 20px;
}
.acf-hidden-field {
  display: none;
}
.acf-show-more-wrap {
  margin-bottom: 20px; 
  margin-left: 20px;
}

.acf-show-more-btn {
  background-color: rgba(39, 174, 96, 0.2); /* transparent green */
  color: #27ae60; /* solid green text */
  border: 1px solid #27ae60;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

#acf-show-more-btn:hover, #show-more-fields:hover {
  background-color: rgba(39, 174, 96, 0.4);
}

.acf-sync-error {
  background-color: #ffe5e5;
  border-left: 4px solid #e74c3c;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #c0392b;
  font-weight: bold;
  border-radius: 6px;
}
.updated{
  display: none;
}

.after-acf-form {
  display: flex;
  align-items: center;
  gap: 10px; /* space between text and button */
  margin-top: 31px;

}

.after-acf-form p {
  margin: 0; /* remove default margin to align nicely */
}

.button.login-button {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 1.2;
}

.acf-submit-and-login {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.after-acf-form {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
    margin-right: 60px;
}

.after-acf-form p {
  margin: 0;
}

.after-acf-form .login-button {
  padding: 6px 12px;
  font-size: 13px;
}
#acf-form-content.hidden {
  display: none;
}

.acf-toggle-btn {
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
  float: right; 
}

.acf-toggle-btn:hover {
  color: #2a97d6;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
@media (max-width: 600px) {

  .main-content {
    flex-direction: column; /* <-- puts form on top */
    padding: 0 !important;
    margin: 0 !important;
  }

  .form-fixed {
    position: static;
    width: 100%;
    margin: 20px auto;
    padding: 10px;
    box-shadow: none;
    border-radius: 0;
    margin-left: 10px;
  }

  .form-box {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
   .after-acf-form {
    justify-content: center;
    margin: 20px auto;
    width: 80%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .after-acf-form a.button {
    width: auto;
    text-align: center;
  }
   .after-acf-form p {
    margin: 0;
    color: black;
  }
  .after-acf-form .login-button {
    color: black;
  }

  /* Hide banner content */

  .page-template-employer-registration-php .banner-content {
    display: none !important;
  }

  .page-template-employer-registration-php .banner-section {
    height: auto !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-content {
   flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;

  }

  .benefits-container {
    margin-top: 30px;
  }

  .benefit-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .benefit-item .image {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .benefit-item .image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .benefit-item .text-row {
    width: 100%;
  }

  .benefit-item .text-row strong {
    font-size: 1.2rem;
    color: #2c3e50;
  }

  .benefit-item .text-row p {
    font-size: 1rem;
    color: #555;
  }
 .content-scroll {
    margin-top: 30px;
    margin-left: 20px;
  }

  .shiftsure-benefits {
    margin-top: 30px;
  }
  .banner-content{
	  width:100%
  }
 .banner-section{
	padding: 0px 38px;
	margin-left:0px;
  }
  .banner-content p{
	  display: none;
	  
  }
  .banner-content h3 {
    font-size: 2rem;
	
	
  }

}
