body {
  overflow-x: hidden; /* Prevent horizontal scroll */
}
.main-heading{
font-family:Butler;
font-size:40px;
color: #2C2C2C;
font-weight:600;
line-height:0.8;
padding-top:10px;
}

.bg-image {
  background-image:url(img/career-work-with-us-bg-flip.jpg);
  background-position: -33px 50px;
  background-repeat:no-repeat;
  background-size: contain;
  position: relative;
  overflow: hidden;
  
}

.bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(img/career-work-with-us-bg.jpg) center/cover no-repeat;
  opacity: 0.05; /* 50% opacity */
  z-index: 1;
}

.bg-image-L {
  background-image:url(img/career-work-with-us-bg.jpg);
  background-position: 10px 30px;
  background-repeat:no-repeat;
  background-size: contain;
  position: relative;
  overflow: hidden;
  
}

.bg-image-L::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(img/career-work-with-us-bg.jpg) center/cover no-repeat;
  opacity: 0.05; /* 50% opacity */
  z-index: 1;
}

.styled-list li{
font-size:13px;
font-weight:400;
}
.styled-list li::before {
font-size:6px;
}
.sub-heading
{
    font-family: "Gordita", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 26px;
    letter-spacing: 3px;
    color: #3DCFE0;
}
.sub-heading3
{
    font-family: "Gordita", Sans-serif;
    font-size: 15px;
    text-transform: uppercase;
	font-weight:700;
}
 .description {
    font-family: "Gordita", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

.heading-description {
			width:730px;
			padding-top:10px;
			padding-bottom:20px;
			padding-left:0px;
			padding-right:0px;
		    font-family: "Roboto", Sans-serif;
			font-size: 17px;
		    font-weight: 400;
			text-align:center;
			line-height:35px;
	}	
  .HeadingBar{
  width:100px;margin: 0 auto;height:3px;border-width:0;background-color:#3dcfe0;opacity:1
  }
  
   .button-style2 {
            transition: background-color 0.3s ease;
			padding:10px 0;
			transform: translate(0%,0%);
			color:#FFFFFF;
			background-color:#003728;
			text-align:center;
			font-family:Butler;
			font-size: 22px;
			font-weight:500;

			margin:25px 0;
			display:block;
			text-decoration: none;
        }

        .button-style2:hover {
            background-color: #3dcfe0; /* Background color on mouseover */
			color:#000000;
			font-weight:600;
		/*	box-shadow:0px 0px 10px rgba(0, 0, 0, 0.78);*/
        }
		
	/* ------------------------------          Legacy 1st Section    --------------------------------------------*/
	 .legacy-row {
      position: relative;
      min-height: 500px; /* adjust as needed */
    }

    /* Image wrapper with overlay */
    .legacy-img-wrapper {
      position: relative;
      width: 103%;
	  height:auto;	
    }

    .legacy-img {
      width: 100%;
      height: 620px;
      object-fit: cover;
      display: block;
	  object-position: 0 -300px; /* move image upward by 20px */
  
    }

    .legacy-img-wrapper::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.08); /* ?? dark overlay */
    }

    /* Main white box */
    .legacy-content {
      background: #fff;
      padding: 1rem;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      position: relative;
      z-index: 2;
      margin-left: -10%;
	  height:480px;
    }

    /* Inner outline box */
    .legacy-inner-box {
      border: 1px solid #ccc;  /* thin hairline border */
      padding: 20px;           /* inside padding */
	  height:450px;
    }

    .legacy-inner-box h2 {
      font-weight: 700;
    }

    .legacy-inner-box h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background: #00bcd4;
      margin: 0.5rem 0;
    }

	/* -----------------------------------        Legacy 1st Section ------------------------------------------------ */
	@media only screen and (max-width: 767px) {
	
	 .legacy-content {
      background: #fff;
      padding: 1rem;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      position: relative;
      z-index: 2;
      margin-left:0px; /* ?? overlap 10% */
	  margin-right:5px;
	  margin-top:20px;
	  margin-bottom:30px;
    }
	}


/* -----  Tablet and laptop ------------------------------------------------ */	
	@media (max-width: 992px) {
	
	.main-heading{
			font-family:Butler;
			font-size:35px;
			color: #2C2C2C;
			font-weight:600;
			line-height:0.8;
			padding-top:10px;
	}
	
	 .description {
    		font-family: "Gordita", Sans-serif;
		    font-size: 15px;
		    font-weight: 400;
		    line-height: 30px;
	}
	 .legacy-row {
      position: relative;
  /*    min-height: 500px;  adjust as needed */
    }

    /* Image wrapper with overlay */
    .legacy-img-wrapper {
      position: relative;
      width: 103%;
	  height:auto;	
    }

    .legacy-img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      display: block;
	  object-position: 0 -150px; /* move image upward by 20px */
  
    }

    .legacy-img-wrapper::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.08); /* ?? dark overlay */
    }

 /* Main white box */
    .legacy-content {
      background: #fff;
      padding: 1rem;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      position: relative;
      z-index: 2;
      margin-left: -40%;
	  height:430px;
    }

    /* Inner outline box */
    .legacy-inner-box {
      border: 1px solid #ccc;  /* thin hairline border */
      padding: 20px;           /* inside padding */
	  height:400px;
    }

    .legacy-inner-box h2 {
      font-weight: 700;
    }

    .legacy-inner-box h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background: #00bcd4;
      margin: 0.5rem 0;
    }

	}
	
	/* --- Extra small devices (=576px) --- */
@media (max-width: 576px) {

 /* Image wrapper with overlay */
    .legacy-img-wrapper {
      position: relative;	 
      width: 105%;
	  height:auto;
    }

    .legacy-img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      display: block;
	  object-position: 0px -100px; /* move image upward by 20px */
  
    }

    .legacy-img-wrapper::after {
      content: "";
      position: absolute;
      top: 0px;;
      left: 0px;;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.08); /* ?? dark overlay */
    }


/* Main white box */
    .legacy-content {
      background: #fff;
      padding: 1rem;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      position: relative;
      z-index: 2;
      margin-left: 1%;
	  margin-right:1%;
	  margin-top:-40px; 
	  height:380px;
    }

    /* Inner outline box */
    .legacy-inner-box {
      border: 1px solid #ccc;  /* thin hairline border */
      padding: 20px;           /* inside padding */
	  height:350px;
    }

    .legacy-inner-box h2 {
      font-weight: 700;
    }

    .legacy-inner-box h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background: #00bcd4;
      margin: 0.5rem 0;
    }
	

}	