/* Careers New Page Styles */

.careers-hero-section {
  margin-top: 62px; /* Offset fixed header */
  position: relative;
  overflow: hidden;
  background-color: #fff;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.hero-content-col {
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5; /* Adjust opacity if needed to make text readable */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px;
  max-width: 700px;
  width: 100%;
}

.hero-content h1 {
  font-family: "Lato", sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #97144d; /* Axis Red */
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content p {
  font-family: "Lato", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

.hero-image-col {
  padding: 0;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 600px; /* Ensure substantial height */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 48px;
  }
  .hero-content p {
    font-size: 22px;
  }
  .hero-image {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  .careers-hero-section {
    margin-top: 49px; /* Adjust for mobile header height if different */
  }
  .hero-content {
    padding: 40px 20px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 18px;
  }
}

/* Section 2 Styles */
.section-2 {
  background-color: #fff;
  overflow: hidden; /* Ensure no spillover */
}

.section-2-row {
  display: flex;
  flex-wrap: wrap;
  /* align-items: stretch; - Let flexbox handle height naturally, but we want full height match */
}

.section-2-img-col {
  padding: 0;
  position: relative;
  min-height: 600px; /* Ensure a minimum height for the section */
}

.section-2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; /* Absolute position to cover the column height */
  top: 0;
  left: 0;
}

.section-2-text-col {
  padding: 80px 100px; /* Generous padding to match whitespace in image */
  display: flex;
  align-items: center; /* Vertically center */
  justify-content: flex-start; /* Left align text block */
  background-color: #fff;
}

.section-2-text {
  width: 100%;
  font-size: 28px; /* Larger font size */
  line-height: 1.4;
  color: #2d2d2d;
  font-weight: 600; /* Semi-bold for the main text */
  font-family: "Lato", sans-serif;
}

.section-2-text span {
  color: #97144d;
  font-weight: 700; /* Bold */
  font-style: italic;
}

/* Responsive Adjustments for Section 2 */
@media (max-width: 991px) {
  .section-2-text-col {
    padding: 60px 40px;
  }
  .section-2-text {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .section-2-img-col {
    min-height: 300px; /* Smaller image height on mobile */
    position: relative; /* Reset position for stacking */
  }
  .section-2-img {
    position: relative; /* Reset position */
    height: 300px;
  }
  .section-2-text-col {
    padding: 40px 20px;
  }
  .section-2-text {
    font-size: 20px;
    text-align: center; /* Center text on mobile */
  }
}

/* Section 3 Styles */
.section-3 {
  background-color: #fff;
}

.section-3-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px; /* Match height of other sections */
}

.section-3-links-col {
  padding: 80px 100px; /* More padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.career-link-item {
  margin-bottom: 50px;
}

.career-link-item:last-child {
  margin-bottom: 0;
}

.career-link {
  font-size: 22px;
  color: #2d2d2d;
  text-decoration: none;
  display: block;
  padding-bottom: 20px;
  transition: color 0.3s;
  font-weight: 400;
}

.career-link-separator {
  height: 1px;
  background-color: #97144d;
  width: 100%;
  display: block;
  margin-top: 5px;
}

.career-link:hover {
  color: #97144d;
}

.section-3-banner-col {
  background-color: #97144d;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.banner-text {
  font-size: 56px; /* Larger text */
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
}

.banner-text span {
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 767px) {
  .section-2-text-col,
  .section-3-links-col,
  .section-3-banner-col {
    padding: 40px 20px;
  }
  .section-2-text {
    font-size: 18px;
  }
  .banner-text {
    font-size: 32px;
  }
  .section-2-img {
    min-height: 300px;
  }
  .section-3-row {
    min-height: auto;
  }
}

/* Section 4 Styles */
.section-4 {
  background-color: #fff;
}

.section-4-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.section-4-text-col {
  background-color: #97144d;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.section-4-title {
  font-size: 56px;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
}

.section-4-title span {
  font-weight: 700;
  font-style: italic;
}

.section-4-grid-col {
  padding: 80px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 600px;
  position: relative;
}

.value-item {
  padding: 60px 40px;
  text-align: center;
  font-size: 24px;
  color: #2d2d2d;
  font-weight: 500;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  position: relative;
	cursor: default;
}

.value-item-overlay {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #97144d;
	border-radius: 6px;
	width: 85%;
	height: 85%;
	padding: 10px;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.value-item-overlay p {
	color: #f6f6f6;
	font-size: 14px;
}

.value-item:hover .value-item-overlay {
	opacity: 1;
}

/* Grid Borders */
.value-item:nth-child(1) {
  border-right: 1px solid #97144d;
  border-bottom: 1px solid #97144d;
}

.value-item:nth-child(2) {
  border-bottom: 1px solid #97144d;
}

.value-item:nth-child(3) {
  border-right: 1px solid #97144d;
}

/* Section 5 Styles */
.section-5 {
  background-color: #fff;
}

.section-5-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.section-5-img-col {
  padding: 0;
  position: relative;
  min-height: 600px;
}

.section-5-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(-1) !important;
}

.section-5-text-col {
  background-color: #97144d;
  padding: 80px 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align content to left within the column */
  color: #fff;
}

.section-5-content {
  max-width: 600px;
}

.section-5-content h2 {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.section-5-content h2 span {
  font-weight: 700;
  font-style: italic;
}

.section-5-content p {
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0.9;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  padding: 15px 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-learn-more:hover {
  background-color: #fff;
  color: #97144d;
  border-color: #fff;
}

.btn-learn-more .arrow {
  margin-left: 10px;
  font-size: 20px;
}

/* Section 6 Styles */
.section-6 {
  background-color: #fff;
}

.section-6-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.section-6-text-col {
  background-color: #97144d;
  padding: 80px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.section-6-content {
  max-width: 600px;
  text-align: left;
}

.section-6-content h2 {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.section-6-content h2 span {
  font-weight: 700;
  font-style: italic;
}

.section-6-content p {
  font-size: 24px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.4;
}

.section-6-content p span {
  font-weight: 700;
  font-style: italic;
}

.section-6-img-col {
  padding: 0;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.section-6-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Contain for illustration to show full context */
  display: block;
  padding: 40px; /* Add padding so illustration doesn't touch edges */
}

/* Section 7 Styles */
.section-7 {
  background-color: #fff;
}

.section-7-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.section-7-img-col {
  padding: 0;
  position: relative;
  min-height: 600px;
}

.section-7-img {
  width: auto;
  height: 55%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  left: 0;
}

.section-7-text-col {
  background-color: #97144d;
  padding: 80px 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

.section-7-content {
  max-width: 600px;
}

.section-7-content h2 {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.section-7-content h2 span {
  font-weight: 700;
  font-style: italic;
}

.section-7-content p {
  font-size: 24px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.4;
}

/* Section 8 Styles */
.section-8 {
  background-color: #fff;
  border-bottom: 1px solid #97144d;
}

.section-8-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.section-8-text-col {
  background-color: #97144d;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.section-8-title {
  font-size: 56px;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
}

.section-8-title span {
  font-weight: 700;
  font-style: italic;
}

.section-8-benefits-col {
  padding: 80px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 700px;
  justify-content: space-between;
}

.benefit-item {
  display: flex;
  align-items: center;
  width: 48%; /* 2 items per row mostly */
  margin-bottom: 40px;
  padding-right: 20px;
}

/* Specific layout for the 3rd item (Maternity...) to take full width or adjust */
.benefit-item:nth-child(3) {
  width: 48%; /* Keep consistent */
}

.benefit-item img {
  width: 50px;
  height: auto;
  margin-right: 20px;
}

.benefit-item span {
  font-size: 20px;
  color: #2d2d2d;
  font-weight: 500;
  line-height: 1.3;
}

/* Vertical separator lines logic - simplified for now as per image, 
   it seems like there are vertical lines between items in the same row. 
   We can use border-right on odd items, but layout is a bit irregular.
   Let's try a cleaner approach without complex borders first, or add them if strictly needed.
   The image shows lines between items.
*/
.benefit-item:not(:last-child):nth-child(odd) {
  border-right: 1px solid #97144d;
}

.benefit-item:nth-child(even) {
  padding-left: 20px;
}

/* Section 9 Styles */
.section-9 {
  background-color: #fff;
  padding: 100px 0;
}

.section-9-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-9-header h2 {
  font-size: 56px;
  color: #97144d;
  font-weight: 400;
  margin-bottom: 20px;
}

.section-9-header h2 span {
  font-weight: 700;
  font-style: italic;
}

.section-9-header p {
  font-size: 24px;
  color: #2d2d2d;
}

.testimonial-card {
  padding: 20px;
  text-align: left;
}

.testimonial-text {
  font-size: 18px;
  color: #2d2d2d;
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
}

.testimonial-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-info .name {
  font-size: 16px;
  font-weight: 700;
  color: #97144d;
}

.profile-info .role {
  font-size: 14px;
  color: #666;
}

/* Responsive Adjustments for Sections 4, 5, 6, 7, 8, 9 */
@media (max-width: 991px) {
  .section-4-title,
  .section-5-content h2,
  .section-6-content h2,
  .section-7-content h2,
  .section-8-title,
  .section-9-header h2 {
    font-size: 42px;
  }
  .value-item {
    padding: 40px 20px;
    font-size: 20px;
  }
  .section-4-grid-col,
  .section-5-text-col,
  .section-6-text-col,
  .section-7-text-col,
  .section-8-benefits-col {
    padding: 60px 40px;
  }
  .benefit-item {
    width: 100%; /* Stack on smaller screens */
    border-right: none !important;
    padding-left: 0 !important;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .section-4-row,
  .section-5-row,
  .section-6-row,
  .section-7-row,
  .section-8-row {
    min-height: auto;
  }
  .section-4-text-col,
  .section-4-grid-col,
  .section-5-text-col,
  .section-6-text-col,
  .section-7-text-col,
  .section-8-text-col,
  .section-8-benefits-col {
    padding: 40px 20px;
  }
  .section-4-title,
  .section-5-content h2,
  .section-6-content h2,
  .section-7-content h2,
  .section-8-title,
  .section-9-header h2 {
    font-size: 32px;
  }
  .section-5-content p,
  .section-6-content p,
  .section-7-content p,
  .section-9-header p {
    font-size: 18px;
  }
  .section-5-img-col,
  .section-6-img-col,
  .section-7-img-col {
    min-height: 300px;
    position: relative;
  }
  .section-5-img,
  .section-7-img {
    position: relative;
    height: 300px;
    width: 100%;
    top: 0;
    transform: none;
  }
  .section-6-img {
    height: 300px;
    padding: 20px;
    margin-bottom: 10px;
  }
  /* Stack grid items on mobile if needed, or keep 2x2 but smaller */
  .value-item {
    padding: 30px 10px;
  }
  .value-item p {
    font-size: 12px;
  }
  .mob-br {
	display: block;
  }
}

/* SAL Animation Overrides */
[data-sal] {
  transition-timing-function: cubic-bezier(
    0.25,
    0.46,
    0.45,
    0.94
  ); /* Smooth ease-out */
}

/* Ensure elements are hidden before animation starts to avoid flash */
[data-sal|="fade"] {
  opacity: 0;
}

[data-sal|="slide"] {
  opacity: 0;
}

[data-sal|="zoom"] {
  opacity: 0;
}

/* Optional: Add a slight transform to slide-up for a more subtle effect if default is too much */
[data-sal="slide-up"] {
  transform: translateY(30px);
}

[data-sal="slide-up"].sal-animate {
  transform: translateY(0);
}
