/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #fff;
}

.nav-icon {
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 12px;
  border-radius: 15%;
  cursor: pointer;
}

/* Full-Screen Navigation */
.full-screen-nav {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  height: auto;
  color: #fff;
  z-index: 9;
  display: none;
  flex-direction: row;
  padding: 0;
  overflow-y: auto;
}

.full-screen-nav.visible {
  display: flex;
}

.nav-items {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.main-item {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0;
  flex: 1;
  cursor: pointer;
}

.sub-items {
  display: none;
  padding: 0;
  font-size: 1rem;
  font-weight: normal;
  background-color: rgb(0, 0, 0, 0.75);
}

.sub-items a {
  text-decoration: none;
  color: #fff;
}

.main-text {
  padding: 15px 12px;
  background-color: rgba(0, 0, 0, 0.85);
}

.sub-items div {
  padding: 12px;
}

.sub-items div:hover {
  background-color: rgb(0, 0, 0, 0.75);
}

.line-spacer {
  height: 50px;
  border-left: 1px solid rgb(63, 63, 63);
}

hr {
  border: none;
  margin: 10px 0;
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: opacity 1s ease-in-out;
  position: relative;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  opacity: 0;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* Navigation Dots */
.navigation-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #008C45;
}

/* Gradient Overlay */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 767px) {
  .nav-icon {
    position: absolute;
    right: 20px;
  }

  .main-item {
    justify-content: space-between;
    padding: 0;
  }

  .main-item.active + .sub-items {
    display: block;
  }

  .main-item i {
    display: inline;
  }

  .sub-items {
    padding-left: 0;
  }

  .full-screen-nav {
    position: absolute;
    top: 90px;
    height: auto;
    padding: 0;
  }

  .nav-items {
    flex-direction: column;
  }

  .line-spacer {
    display: none;
  }

  .logo img {
    width: 75%;
  }
}

/* Row Container */
.circles-row-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.circles-row-container .column {
  flex: 1;
  min-width: 300px;
  height: auto;
  position: relative;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  overflow: hidden;
  border: none; /* No rounded corners */
}

.circles-row-container .circle {
  margin: 0 auto 20px;
  width: 250px; /* Larger size */
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  transform: rotate(45deg) scale(0.7); /* Start with a bigger rotation and smaller size */
  opacity: 0; /* Hidden initially */
  transition: transform 1.5s ease, opacity 1.5s ease; /* Longer duration for animation */
}

.circles-row-container .circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circles-row-container .circle.visible {
  transform: rotate(0deg) scale(1); /* Upright and full size */
  opacity: 1; /* Fully visible */
}

.circles-row-container .content {
  margin-top: 20px;
}

.circles-row-container h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.circles-row-container hr {
  width: 50%;
  margin: 10px auto;
  border: 1px solid #000;
}

.circles-row-container p {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.5;
}

.circles-row-container button {
  padding: 10px 20px;
  border: none;
  border-radius: 50px; /* Fully rounded */
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.3s ease; /* Hover effect */
}

.circles-row-container .btn-red {
  background-color: #ff4d4d;
  color: #fff;
}

.circles-row-container .btn-green {
  background-color: #4dff4d;
  color: #fff;
}

.circles-row-container .btn-blue {
  background-color: #4d4dff;
  color: #fff;
}

/* Hover Effect for Buttons */
.circles-row-container button:hover {
  transform: translateY(-5px) rotate(2deg);
}

/* Responsive Design */
@media (max-width: 767px) {
  .circles-row-container .row-container {
    flex-direction: column;
  }

  .circles-row-container .column {
    padding: 20px 20px 40px;
  }

  .circles-row-container .circle {
    margin: 20px auto; /* Maintain consistent spacing */
  }
}

.parallax-section {
  display: flex;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Prevent overflow */
}

.left-half, .right-half {
  flex: 1;
  position: relative;
  overflow: hidden; /* Prevent overflow */
  display: flex; /* Center content */
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.left-half {
  background-image: url('images/test1.png'); /* Replace with your image */
  background-position: left center; /* Start showing the far left */
  background-size: cover;
  transition: background-position 5.0s ease-out; /* Smooth transition */
}

.right-half {
  background-image: url('images/test2.jpg'); /* Replace with your image */
  background-position: right center; /* Start showing the far right */
  background-size: cover;
  transition: background-position 5.0s ease-out; /* Smooth transition */
}

.parallax-section .content {
  position: relative;
  z-index: 10; /* Ensure text is above background */
}

.parallax-section h2 {
  margin-bottom: 10px;
}

.parallax-section button {
  padding: 10px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  color: black;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.parallax-section button:hover {
  background: rgba(255, 255, 255, 1);
}

/* Parallax Effect */
.scrolled .left-half {
  background-position: right center; /* Move right on scroll */
}

.scrolled .right-half {
  background-position: left center; /* Move left on scroll */
}

.parallax-section-2 {
  display: flex;
  height: 350px; /* Full height */
  overflow: hidden; /* Prevent overflow */
}

.parallax-left, .parallax-right {
  flex: 1; /* Take equal space */
  position: relative; /* Position relative for absolute children */
  overflow: hidden; /* Hide overflow */
}

.parallax-left {
  background-image: url('images/test1.png'); /* Replace with your image */
  background-attachment: fixed; /* Fix the background */
  background-position: center;
  background-size: cover;
}

.parallax-right {
  background-image: url('images/test2.jpg'); /* Replace with your image */
  background-attachment: fixed; /* Fix the background */
  background-position: center;
  background-size: cover;
}

.parallax-section-2 .content {
  position: absolute; /* Position content in the center */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for perfect centering */
  text-align: center;
  color: white;
  z-index: 1; /* Bring content in front of background */
}

.parallax-section-2 button {
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  background-color: #007BFF; /* Button color */
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.parallax-section-2 button:hover {
  background-color: #0056b3; /* Darker button color on hover */
}

/* Row Style 1: Full-Width with Background Image */
.bg-image-row {
  background-image: url('images/life-wellness-office-2.jpg'); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  color: white;
  text-align: center;
}

.bg-image-row h2 {
  font-size: 2rem;
}

/* Row Style 2: Two Columns with Different Widths */
.two-column-row {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f1f1f1;
}

.two-column-row .col-left,
.two-column-row .col-right {
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.col-left {
  background-color: #007bff;
  color: white;
}

.col-right {
  background-color: #ffffff;
}

/* Row Style 3: Three Columns */
.three-column-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 40px 20px;
  background-color: #e9ecef;
}

.three-column-row .col {
  background-color: #6c757d;
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.three-column-row h4 {
  margin-bottom: 20px;
}

.three-column-row .section-img {
  margin-bottom: 22px;
}

.three-column-row .cta-button {
  margin-top: 8px;
}

/* Row Style 4: Four Columns */
.four-column-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.four-column-row .col {
  background-color: #007bff;
  color: white;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
}

.four-column-row h4 {
  margin-bottom: 20px;
}

.four-column-row .section-img {
  margin-bottom: 22px;
}

.four-column-row .cta-button {
  margin-top: 8px;
}

.two-column-equal-row h3 {
  margin-bottom: 20px
}

.two-column-equal-row .section-img {
  margin-bottom: 22px;
}

.two-column-equal-row .cta-button {
  margin-top: 8px;
}



/* Buttons with Various Styles */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  color: white;
  background-color: #0056b3;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.1) !important;
  color: white;
  background-color: #004085;
}

.cta-button.square {
  border-radius: 0;
}

.cta-button.rounded {
  border-radius: 8px;
}

.cta-button.pill {
  border-radius: 50px;
}

.cta-button.wide {
  width: 100%;
}

.cta-button i {
  margin-right: 8px;
}

/* Adding Images to Sections */
.section-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Row Style 5: Call to Action with Buttons */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: url('images/iamla-bg-1.jpg'); /* Replace with actual image URL */
  background-size: cover;
  min-height: 400px;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

/* Row Style 6: Two Equal Columns */
.two-column-equal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.two-column-equal-row .col {
  background-color: #6c757d;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

/* Graphic Spacing Elements */
.graphic-spacing {
  margin: 40px 0;
  height: 2px;
  background-color: #ccc;
}

/* Animation Effects (Initially hidden) */
.animate {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s ease-in-out;
}

.animate.in-view {
  opacity: 1;
  transform: scale(1);
}

.rotate {
  transform: rotate(0deg);
}

.rotate.in-view {
  transform: rotate(360deg);
}

.flip {
  transform: rotateY(0deg);
}

.flip.in-view {
  transform: rotateY(180deg);
}

.bounce {
  transform: translateY(0);
}

.bounce.in-view {
  transform: translateY(-10px);
}

.shake {
  transform: translateX(0);
}

.shake.in-view {
  transform: translateX(15px);
}

.zoom {
  transform: scale(1);
}

.zoom.in-view {
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 767px) {
  .two-column-row {
    grid-template-columns: 1fr; /* Stack columns vertically */
  }

  .three-column-row {
    grid-template-columns: 1fr; /* Stack columns vertically */
  }

  .four-column-row {
    grid-template-columns: 1fr; /* Stack columns vertically */
  }
}




.container-2-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* Reduce spacing between columns */
  padding: 0;
  margin: 0 60px; /* Add more space on the left and right of the row */
  justify-content: space-between; /* Distribute space evenly between columns */
}

.container-2-columns .column {
  flex: 1 1 48%; /* Make each column approximately half of the container */
  max-width: 48%; /* Cap each column width to 48% of the container */
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.container-2-columns .column:hover {
  transform: scale(1.03); /* Slightly scale up on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.container-2-columns .image-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.container-2-columns .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.container-2-columns .column:hover .image-container img {
  transform: scale(1.05); /* Zoom image slightly on hover */
}

.container-2-columns .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 140, 0, 0.85); /* Semi-transparent orange */
  color: #ffffff;
  padding: 5px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 5px;
}

.container-2-columns .text-area {
  padding: 24px 24px 40px;
  text-align: center;
  background-color: #fafafa;
  color: #444;
}

.container-2-columns .title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.container-2-columns .description {
  font-size: 1em;
  margin-bottom: 24px;
  color: #666;
}

.container-2-columns .button {
  padding: 10px 20px;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.container-2-columns .button:hover {
  background-color: #555; /* Darken button on hover */
}

/* Responsive layout for mobile */
@media (max-width: 767px) {
  .container-2-columns {
    flex-direction: column;
    margin: 0 10px; /* Less margin on mobile */
  }
  .container-2-columns .column {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto; /* Center columns with slight margin */
  }
  .container-2-columns .image-container {
    height: auto;
  }
}

.three-vert-container {
  width: 100%;
  padding: 20px;
  text-align: center;
}

.three-vert-container .main-heading {
  font-size: 2.5em;
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.three-vert-container .main-heading::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  background-color: #ff8c00;
  bottom: -10px;
  left: 20%;
}

.three-vert-container .three-vert-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 20px;
  opacity: 0; /* Hidden by default */
  transform: translateY(100px); /* Start below the viewport */
  transition: opacity 1s ease, transform 1s ease-in-out;
}

.three-vert-container .three-vert-column {
  flex: 1 1 30%;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transform: scale(0.9);
  transition: transform 0.7s ease-out, box-shadow 0.5s ease;
}

.three-vert-container .three-vert-column:hover {
  transform: scale(1.05); /* Slightly scale up on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.three-vert-container .image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.three-vert-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1); /* Slight zoom effect on load */
  transition: transform 0.7s ease-in-out;
}

.three-vert-container .three-vert-column:hover .image-container img {
  transform: scale(1.05); /* Zoom image slightly on hover */
}

.three-vert-container .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 140, 0, 0.85);
  color: white;
  padding: 5px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 5px;
}

.three-vert-container .text-area {
  padding: 24px 24px 40px;
  text-align: center;
  background-color: #fafafa;
  color: #444;
}

.three-vert-container .title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.three-vert-container .description {
  font-size: 0.95em;
  margin-bottom: 28px;
  color: #666;
}

.three-vert-container .button {
  padding: 12px 25px;
  background-color: #ff8c00;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.three-vert-container .button:hover {
  background-color: #e67e00;
  transform: translateY(-3px); /* Lift button effect on hover */
}

/* Animations for scroll-triggered effect */
.three-vert-container .three-vert-column.three-vert-animate-in {
  transform: scale(1);
}

.three-vert-container .three-vert-row.three-vert-animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 767px) {
  .three-vert-container .three-vert-row {
    flex-direction: column;
  }

  .three-vert-container .three-vert-column {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .three-vert-container .image-container {
    height: auto;
  }
}



.two-square-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* Reduce spacing between columns */
  padding: 0;
  margin: 0 60px; /* Add more space on the left and right of the row */
  justify-content: space-between; /* Distribute space evenly between columns */
}

.two-square-container .column {
  flex: 1 1 48%; /* Make each column approximately half of the container */
  max-width: 48%; /* Cap each column width to 48% of the container */
  display: flex;
  flex-direction: column;
  /* Remove border-radius for square edges */
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.two-square-container .column:hover {
  transform: scale(1.03); /* Slightly scale up on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.two-square-container .image-container {
  position: relative;
  width: 100%; /* Make width 100% of the column */
  height: 100%; /* Set height to the same as width to create a square */
  overflow: hidden;
}

.two-square-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.two-square-container .column:hover .image-container img {
  transform: scale(1.05); /* Zoom image slightly on hover */
}

.two-square-container .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 140, 0, 0.85); /* Semi-transparent orange */
  color: #ffffff;
  padding: 5px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 5px;
}

.two-square-container .text-area {
  padding: 20px;
  text-align: center;
  background-color: #fafafa;
  color: #444;
}

.two-square-container .title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.two-square-container .description {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #666;
}

.two-square-container .button {
  padding: 10px 20px;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.two-square-container .button:hover {
  background-color: #555; /* Darken button on hover */
}

/* Responsive layout for mobile */
@media (max-width: 767px) {
  .two-square-container .container {
    flex-direction: column;
    margin: 0 10px; /* Less margin on mobile */
  }
  .two-square-container .column {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto; /* Center columns with slight margin */
  }
  .two-square-container .image-container {
    height: auto:
  }
}


.two-taller-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* Reduce spacing between columns */
  padding: 0;
  margin: 0 60px; /* Add more space on the left and right of the row */
  justify-content: space-between; /* Distribute space evenly between columns */
}

.two-taller-container .column {
  flex: 1 1 48%; /* Make each column approximately half of the container */
  max-width: 48%; /* Cap each column width to 48% of the container */
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.two-taller-container .column:hover {
  transform: scale(1.03); /* Slightly scale up on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.two-taller-container .image-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.two-taller-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.two-taller-container .column:hover .image-container img {
  transform: scale(1.05); /* Zoom image slightly on hover */
}

.two-taller-container .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 140, 0, 0.85); /* Semi-transparent orange */
  color: #ffffff;
  padding: 5px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 5px;
}

.two-taller-container .text-area {
  padding: 20px;
  text-align: center;
  background-color: #fafafa;
  color: #444;
}

.two-taller-container .title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.two-taller-container .description {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #666;
}

.two-taller-container .button {
  padding: 10px 20px;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.two-taller-container .button:hover {
  background-color: #555; /* Darken button on hover */
}

/* Responsive layout for mobile */
@media (max-width: 767px) {
  .two-taller-container .container {
    flex-direction: column;
    margin: 0 10px; /* Less margin on mobile */
  }
  .two-taller-container .column {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto; /* Center columns with slight margin */
  }
  .two-taller-container .image-container {
    height: auto;
  }
}

    /* Full-width parallax section */
    .up-parallax-row {
      position: relative;
      overflow: hidden;
      height: 100vh; /* Increased height to display more of the image */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .up-parallax-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%; /* Keep image as wide as the row */
      height: 150%; /* Increased height to allow full vertical movement */
      background-image: url('images/iamla-bg-1.jpg'); /* Replace with actual image URL */
      background-size: cover;
      background-position: top center;
      transition: transform 0.1s ease-out;
    }

    .up-content-box {
      position: relative;
      z-index: 2;
      background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
      padding: 24px;
      border-radius: 8px;
      text-align: center;
    }

    /* Text and Button Styling */
    .up-content-box h1 {
      font-size: 32px;
      margin-bottom: 10px;
    }

    .up-content-box p {
      font-size: 17px;
      margin-bottom: 20px;
    }

    .up-content-box button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      border-radius: 5px;
      background-color: #007bff;
      color: white;
    }


    /* Full-width parallax section */
    .left-parallax-row {
      position: relative;
      overflow: hidden;
      height: 400px; /* Adjust based on desired row height */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .left-parallax-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 140%; /* Make image larger than row to enable horizontal movement */
      height: 100%;
      background-image: url('images/iamla-bg-5.jpg'); /* Replace with actual image URL */
      background-size: cover;
      background-position: left center;
      transition: transform 0.1s ease-out;
    }

    .left-parallax-row .content-box {
      position: relative;
      z-index: 2;
      background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
      padding: 24px;
      border-radius: 8px;
      text-align: center;
    }

    /* Text and Button Styling */
    .left-parallax-row .content-box h1 {
      font-size: 32px;
      margin-bottom: 10px;
    }

    .left-parallax-row .content-box p {
      font-size: 17px;
      margin-bottom: 20px;
    }

    .left-parallax-row .content-box button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      border-radius: 5px;
      background-color: #007bff;
      color: white;
    }



    /* Parallax Sections */
    .zoomparallax-section, .zoommainparallax-section, .zoomtwoparallax-section {
      position: relative;
      width: 100%;
      height: 500px; /* Adjust height as desired */
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center; /* Center content box vertically and horizontally */
    }

    /* Background Image */
    .zoomparallax-background, .zoommainparallax-background, .zoomtwoparallax-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      transform: scale(1.35); /* Start zoomed in at 135% */
      transition: transform 0.1s linear;
    }

    /* Background Image File */
    .zoomparallax-background {
      background-image: url('images/iamla-bg-7.jpg'); /* Replace with actual image */
    }

    /* Background Image File */
    .zoommainparallax-background {
      background-image: url('images/iamla-bg-6.jpg'); /* Replace with actual image */
    }

    /* Background Image File */
    .zoomtwoparallax-background {
      background-image: url('images/office-window-life-wellness.jpg'); /* Replace with actual image */
    }

    /* Content Box Container */
    .plax .content-box {
      position: relative;
      z-index: 1;
      display: flex; /* Flex container for two columns */
      max-width: 800px; /* Adjust as needed */
      width: 100%;
      height: auto;
      margin: 10px;
      border-radius: 6px; /* Rounded corners for the container */
      overflow: hidden; /* Ensure child elements follow rounded corners */
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Left Column */
    .plax .content-box .left-column {
      flex: 1;
      padding: 30px;
      background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
      text-align: center;
    }

    /* Title and Body Text Styling */
    .plax .left-column h2 {
      margin-bottom: 10px;
      font-size: 35px;
      color: #333;
    }

    .plax .left-column .spacer {
      display: block;
      width: 80px;
      height: 4px;
      background-color: #333;
      margin: 15px auto;
    }

    .plax .left-column p {
      color: #333;
      font-size: 18px;
      margin-bottom: 20px;
    }

    /* Button Styling */
    .plax .left-column .button {
      display: inline-block;
      padding: 10px 20px;
      font-size: 20px;
      color: #fff !important;
      background-color: #333;
      border-radius: 5px;
      text-decoration: none;
      transition: background-color 0.3s;
    }

    .plax .left-column .button:hover {
      background-color: #555;
    }

    /* Right Column for Image */
    .plax .content-box .right-column {
      flex: 1;
      background-image: url('images/a.jpeg'); /* Replace with actual image */
      background-size: cover;
      background-position: top;
    }
    

    /* Centered Content Box */
    .plax2 .content-box {
      position: relative;
      z-index: 1;
      max-width: 600px;
      padding: 30px;
      margin: 10px;
      text-align: center;
      background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
      border-radius: 15px; /* Rounded corners */
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Title and Body Text Styling */
    .plax2 .content-box h2 {
      margin-bottom: 10px;
      font-size: 1.8em;
      color: #333;
    }

    .plax2 .content-box .spacer {
      display: block;
      width: 80px;
      height: 4px;
      background-color: #333;
      margin: 15px auto;
    }

    .plax2 .content-box p {
      color: #555;
      font-size: 1em;
      margin-bottom: 20px;
    }

    /* Button Styling */
    .plax2 .content-box .button {
      display: inline-block;
      padding: 10px 20px;
      font-size: 1em;
      color: #fff;
      background-color: #333;
      border-radius: 5px;
      text-decoration: none;
      transition: background-color 0.3s;
    }

    .plax2 .content-box .button:hover {
      background-color: #555;
    }


    .seesawparallax-row {
      position: relative;
      width: 100%;
      background-image: url('test.jpg');
      background-position: center;
      background-size: cover;
      background-attachment: fixed;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: background-position 0.5s ease;
      padding: 0 10px;
    }
    
    .seesawparallax-row .content-box {
      display: flex;
      width: 100%;
      max-width: 1200px;
      padding: 40px 20px;
      gap: 20px;
    }
    
    .seesawparallax-row .column {
      flex: 1;
      padding: 20px;
    }
    
    .seesawparallax-row .left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      background-color: rgba(255, 255, 255, 0.7);
      border-radius: 10px;
      padding: 40px;
    }
    
    .seesawparallax-row .right {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .seesawparallax-row .title {
      font-size: 36px;
      margin-bottom: 20px;
    }
    
    .seesawparallax-row .description {
      font-size: 18px;
      margin-bottom: 30px;
      max-width: 600px;
    }
    
    .seesawparallax-row .buttons {
      display: flex;
      gap: 20px;
    }
    
    .seesawparallax-row .btn {
      padding: 10px 20px;
      font-size: 16px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    
    .seesawparallax-row .btn:hover {
      background-color: #0056b3;
    }
    
    .seesawparallax-row .right-img {
      width: 100%;
      height: auto;
    }
    
    @keyframes seesaw {
      0% { transform: scale(1) rotate(0); }
      25% { transform: scale(1.1) rotate(-5deg); }
      50% { transform: scale(1.1) rotate(5deg); }
      75% { transform: scale(1.1) rotate(-3deg); }
      100% { transform: scale(1) rotate(0); }
    }
    
    .seesaw {
      animation: seesaw 1.5s ease-in-out;
    }
    
    @media (max-width: 767px) {
      .seesawparallax-row .content-box {
        flex-direction: column;
        padding: 30px;
      }
    
      .seesawparallax-row .column {
        padding: 30px 20px;
      }
    
      .seesawparallax-row .buttons {
        flex-direction: column;
        gap: 15px;
      }
    
      .seesawparallax-row .title {
        font-size: 28px;
      }
    
      .seesawparallax-row .description {
        font-size: 16px;
      }
    }
    
    
/* Container for .twothirdleft-container */
.twothirdleft-container {
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  padding-right: 0;
}

/* Row with 2 Columns */
.twothirdleft-container .row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  padding: 0 15px;
}

/* Left Column with Static Background */
.twothirdleft-container .left-column {
  flex: 2;
  background: url('images/test1.png') center center/cover no-repeat;
  background-size: cover;
  min-height: 400px; /* Using min-height to ensure it adapts */
  position: relative;
}

.twothirdleft-container .left-column .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  z-index: 2;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.5); /* Optional, makes text more readable */
  border-radius: 5px;
}

/* Right Column */
.twothirdleft-container .right-column {
  flex: 1;
  background-color: #3498db;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 24px;
}

.twothirdleft-container .right-column .content {
  text-align: center;
}

.twothirdleft-container .right-column .buttons {
  margin-top: 20px;
}

.twothirdleft-container .button {
  background-color: #e67e22;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.twothirdleft-container .button:hover {
  background-color: #f39c12;
}

.twothirdleft-container p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .twothirdleft-container .row {
    flex-direction: column;
    align-items: center;
  }

  /* Left Column (Mobile View) */
  .twothirdleft-container .left-column {
    width: 100%; /* Ensure full width */
    min-height: 300px; /* Adjust height in mobile view to ensure visibility */
    background-size: cover; /* Ensure background image still looks good */
    background-position: center; /* Keeps image centered */
  }

  /* Right Column (Mobile View) */
  .twothirdleft-container .right-column {
    width: 100%; /* Ensure full width */
    margin-top: 20px;
  }

  /* Content in both columns */
  .twothirdleft-container .left-column .content, .right-column .content {
    padding: 20px;
    text-align: center;
  }
}


.flyin-container {
  display: flex;
  flex-direction: row; /* Change to row for desktop view */
  height: 100vh; /* Ensure full height */
}

.flyin-container .left-column {
  flex: 1; /* Takes up remaining space */
  background-image: url('images/bg-skincare-products-home-800x800.jpg'); /* Replace with your still background image */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white; /* Text color */
  padding: 20px;
  text-align: center;
}

.flyin-container .text-content {
  max-width: 560px; /* Limit the width of the text content */
  background-color: rgba(0, 0, 0, 0.75);
  padding: 24px;
  border-radius: 6px;
}

.flyin-container .text-content h1 {
  font-size: 35px;
  color: #fff;
}

.flyin-container .text-content p {
  font-size: 18px;
  color: #fff;
  margin: 12px 0 24px;
}

.flyin-container .button-container {
  margin-top: 20px;
}

.flyin-container .btn {
  background-color: #007bff; /* Button color */
  color: white; /* Button text color */
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 10px; /* Space between buttons */
  font-size: 20px;
}

.flyin-container .btn:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

.flyin-container .parallax-row {
  position: relative;
  width: 50%; /* Right column takes half the width */
  height: 100vh; /* Ensure full height */
  overflow: hidden;
}

.spacer-adjust {
  height: 100px;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .flyin-container .left-column {
    min-height: 450px;
  }
  .flyin-container .parallax-row {
    display: block;
    width: 100%;
    min-height: 400px;
    margin: 20px auto;
  }
  .spacer-adjust {
    height: 400px;
  }
}

.flyin-container .image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flyin-container .image {
  position: absolute;
  width: 300px; /* Adjust size as needed */
  opacity: 0; /* Start invisible */
}

/* Keyframes for animations */
@keyframes flyInLeft {
  from {
      transform: translateX(-100vw) rotate(-10deg);
      opacity: 0;
  }
  to {
      transform: translateX(-100px) translateY(20px) rotate(-10deg);
      opacity: 1;
  }
}

@keyframes flyInBottom {
  from {
      transform: translateY(100vh) rotate(5deg);
      opacity: 0;
  }
  to {
      transform: translateY(40px) rotate(5deg);
      opacity: 1;
  }
}

@keyframes flyInRight {
  from {
      transform: translateX(100vw) rotate(-5deg);
      opacity: 0;
  }
  to {
      transform: translateX(100px) translateY(-20px) rotate(-5deg);
      opacity: 1;
  }
}

@keyframes flyOutLeft {
  from {
      transform: translateX(-100px) translateY(20px) rotate(-10deg);
      opacity: 1;
  }
  to {
      transform: translateX(-100vw) rotate(-10deg);
      opacity: 0;
  }
}

@keyframes flyOutBottom {
  from {
      transform: translateY(40px) rotate(5deg);
      opacity: 1;
  }
  to {
      transform: translateY(100vh) rotate(5deg);
      opacity: 0;
  }
}

@keyframes flyOutRight {
  from {
      transform: translateX(100px) translateY(-20px) rotate(-5deg);
      opacity: 1;
  }
  to {
      transform: translateX(100vw) rotate(-5deg);
      opacity: 0;
  }
}

/* Additional CSS classes for animation control */
.fly-in-1 { animation: flyInLeft 1s ease-out forwards; }
.fly-in-2 { animation: flyInBottom 1s ease-out forwards; }
.fly-in-3 { animation: flyInRight 1s ease-out forwards; }

.fly-out-1 { animation: flyOutLeft 1s ease-out forwards; }
.fly-out-2 { animation: flyOutBottom 1s ease-out forwards; }
.fly-out-3 { animation: flyOutRight 1s ease-out forwards; }

/* Responsive Styles */
@media (max-width: 767px) {
  .flyin-container {
      flex-direction: column; /* Stack columns in mobile view */
  }

  .flyin-container .left-column, .parallax-row {
      width: 100%; /* Full width in mobile view */
      height: 50vh; /* Set height for mobile view */
  }
}


.moveside-parallax-row {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.moveside-parallax-row .parallax-square {
  width: 50%;
  height: 100%;
  background-size: 110% auto; /* Slightly larger to allow movement */
  background-repeat: no-repeat;
  background-position: center center;
}

.moveside-parallax-row .left {
  background-image: url('images/test1.png'); /* Replace with your first image */
}

.moveside-parallax-row .right {
  background-image: url('images/test2.jpg'); /* Replace with your second image */
}

.fourbox-grid-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.grid-box {
  flex: 1 1 50%; /* Each box takes 50% of the width */
  height: 330px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('images/test1.png'); /* Replace with your background image */
  background-size: cover;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;  
  transition: background 0.3s;
  border: 2px solid #ffffff; /* Optional border between boxes */
}

.grid-box:hover {
  background-color: #0056b3;
}

/* Responsive adjustment */
@media (max-width: 767px) {
  .grid-box {
      flex: 1 1 100%; /* Full width on smaller screens */
  }
}


/* Parallax row - overlapping */
.overlap-parallax-row {
  background-image: url('images/test1.png'); /* Replace with your background image */
  background-attachment: fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
}

.overlap-parallax-row .content {
  text-align: center;
}

.overlap-parallax-row .button-container {
  margin-top: 20px;
}

.overlap-parallax-row .btn, .overlapping-row .btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.overlap-parallax-row .btn:hover, .overlapping-row .btn:hover {
  background-color: #0056b3;
}

/* Overlapping row */
.overlapping-row {
  display: flex;
  width: 80%;
  margin: -50px auto 0; /* Overlap the parallax row */
  position: relative;
}

.overlapping-row .left-bar {
  background-color: #4CAF50; /* Left background color */
  color: white;
  padding: 20px;
  flex: 0 0 70%; /* Left side takes 70% */
  z-index: 1;
}

.overlapping-row .right-bar {
  background-color: #f44336; /* Right background color */
  color: white;
  padding: 20px;
  flex: 0 0 30%; /* Right side takes 30% */
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .overlapping-row {
      width: 100%; /* Full width on mobile */
      margin: 0; /* No overlap */
      flex-direction: column; /* Stack content */
  }

  .overlapping-row .left-bar, .overlapping-row .right-bar {
      flex: none; /* Allow full width */
      width: 100%; /* Full width */
      position: relative; /* Reset position for mobile */
      clip-path: none; /* Remove clipping */
  }
}


.threecolhover-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Adds spacing between columns */
  padding: 0;
  margin: 0 60px; /* Adds more space on the left and right of the row */
  justify-content: space-between; /* Distribute space evenly between columns */
}

.threecolhover-container .column {
  flex: 1 1 30%; /* Each column takes up about 30% of the container width */
  max-width: 30%; /* Cap each column width to 30% of the container */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.threecolhover-container .column:hover {
  transform: scale(1.03); /* Slightly scale up on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.threecolhover-container .image-container {
  position: relative;
  width: 100%; /* Make width 100% of the column */
  height: 100%; /* Set height to the same as width to create a square */
  overflow: hidden;
}

.threecolhover-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.threecolhover-container .column:hover .image-container img {
  transform: scale(1.05); /* Zoom image slightly on hover */
}

.threecolhover-container .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 140, 0, 0.85); /* Semi-transparent orange */
  color: #ffffff;
  padding: 5px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 5px;
}

.threecolhover-container .text-area {
  padding: 20px 20px 32px;
  text-align: center;
  background-color: #fafafa;
  color: #444;
}

.threecolhover-container .title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.threecolhover-container .description {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #666;
}

.threecolhover-container .button {
  padding: 10px 20px;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.threecolhover-container .button:hover {
  background-color: #555; /* Darken button on hover */
}

/* Responsive layout for mobile */
@media (max-width: 767px) {
  .threecolhover-container {
    flex-direction: column;
    margin: 0 10px; /* Less margin on mobile */
  }
  .threecolhover-container .column {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto; /* Center columns with slight margin */
  }
  .threecolhover-container .image-container {
    height: auto;
  }
}


.fourlabelgrid {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping into new rows */
  width: 100%;
}

.fourlabelgrid .box {
  flex: 1 1 calc(50% - 0px); /* 2 columns per row */
  height: 340px;
  position: relative;
  background-color: #007BFF; /* Example background color */
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.fourlabelgrid .content {
  padding: 15px;
  margin: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px; /* Space between text labels */
}

/* Styling for individual text labels and buttons */
.fourlabelgrid .category, .fourlabelgrid .title, .fourlabelgrid .description {
  background-color: rgba(255, 255, 255, 0.9); /* Light background for text */
  padding: 5px 15px;  /* Padding added for left/right background space */
  color: #333;
  font-size: 0.9rem;
  font-weight: bold;
  margin: 0;
  align-self: flex-start; /* Ensures the text is aligned to the left */
}

.fourlabelgrid .title {
  font-size: 1.2rem;
}

.fourlabelgrid .description {
  font-size: 0.85rem;
  color: #666;
}

.fourlabelgrid .button {
  display: inline-block;
  padding: 8px 15px;
  margin-top: 10px;
  background-color: #0056b3;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  max-width: fit-content;  /* Background only extends to fit text width */
  transition: background-color 0.3s ease;
}

.fourlabelgrid .button:hover {
  background-color: #003f7d;
}

@media screen and (max-width: 767px) {
  .fourlabelgrid .box {
      flex: 1 1 100%; /* Full width for mobile */
      height: auto; /* Adjust height to content */
  }

  .fourlabelgrid .content .category, .fourlabelgrid .content .title, .fourlabelgrid .content .description, .button {
      max-width: fit-content; /* Ensures background only fits text */
  }
}


.threelinesrow {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping on larger screens */
  justify-content: center; /* Center columns in row */
  align-items: stretch; /* Ensure columns stretch to the tallest column */
  margin: 10px;
  padding: 12px;
  gap: 0;
}

.threelinesrow .column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Ensure the content starts at the top of each column */
  flex-grow: 1;
  flex: 1;
  max-width: calc(33.333% - 10px); /* 3 columns for large screens */
  padding: 0 36px;
  text-align: center;
  position: relative;
}



.threelinesrow .thecontent {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure button is at the bottom of each column */
  height: 100%; /* Fill the column height */
  margin: 0 auto;
}

/* Vertical lines between columns */
.threelinesrow .column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: #e0e0e0;
}

.threelinesrow .column img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 0 auto;
}

.threelinesrow .column h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: #333;
}

.threelinesrow .column .imagebutton {
  display: inline-block;
  margin-top: 6px;
  margin-top: auto; /* Pushes the button to the bottom */
}

.threelinesrow .column .description-container {
  text-align: center;
  margin: 10px 0;
  color: #666;
}

.threelinesrow .column a {
  display: block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #007BFF;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  font-size: 17px;
  font-weight: 500;
}

@media screen and (max-width: 1040px) {
  .threelinesrow .column {
    padding: 0 20px;
  }
  .threelinesrow .column a {
    font-size: 15px;
  }
  .threelinesrow .column h2 {
    font-size: 1.3rem;
  }
}

.threelinesrow .column a:hover {
  background-color: #0056b3;
}

@media screen and (max-width: 767px) {
  .threelinesrow {
      flex-direction: column; /* Stack columns vertically */
      align-items: center; /* Center columns inside the row */
      margin-top: 30px;
  }

  .threelinesrow .column {
      display: block;
      max-width: 100%; /* Full width for each column */
      margin-bottom: 50px; /* Add spacing between stacked columns */
  }

  .threelinesrow .thecontent {
      max-width: 60%;
      display: block;
      height: auto;
      justify-content: normal;
  }

  .threelinesrow .thecontent img {
      max-width: 80%;
  }

  /* Ensure vertical lines are removed in mobile view */
  .threelinesrow .column:not(:last-child)::after {
      content: none !important; /* Remove vertical lines */
  }
}


.fourboxbggrid {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping into new rows */
  width: 100%;
}

.fourboxbggrid .box {
  flex: 1 1 calc(50% - 0px); /* 2 columns per row */
  height: 320px;
  position: relative;
  background-color: #007BFF; /* Example background color */
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.fourboxbggrid .content {
  padding: 15px;
  border-radius: 5px;
  margin: 10px;
  text-align: left;
}

.fourboxbggrid .category {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.fourboxbggrid .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
}

.fourboxbggrid .description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.fourboxbggrid .button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #0056b3;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.fourboxbggrid .button:hover {
  background-color: #003f7d;
}

@media screen and (max-width: 767px) {
  .fourboxbggrid .box {
      flex: 1 1 100%; /* Full width for mobile */
      height: auto; /* Adjust height to content */
  }
}



.fourboxrow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Spacing between columns */
  justify-content: center;
  margin: 20px; /* Spacing below the row */
}

.fourboxrow .column {
  flex: 1 1 calc(25% - 20px); /* 4 equal columns */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.fourboxrow .image-container {
  width: 100%;
  height: 180px; /* Image height greater than width */
  background-color: #ddd;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.fourboxrow .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
  position: absolute;
}

.fourboxrow .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

.fourboxrow .description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  text-align: center;
}

.fourboxrow .button {
  padding: 8px 18px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .fourboxrow .column {
      flex: 1 1 calc(50% - 20px); /* 2 columns on mobile */
  }
}

@media screen and (max-width: 480px) {
  .fourboxrow .column {
      flex: 1 1 100%; /* 1 column on small screens */
  }
}

.twobigrow {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: nowrap; /* Prevent columns from wrapping prematurely */
}

.twobigrow .column {
  width: 48%;
  border: 20px solid #e0e0e0; /* Light colored border */
  margin: 0 10px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.twobigrow .image-area {
  width: 100%;
  height: 0;
  padding-top: 100%; /* Makes it almost square */
  position: relative;
  background-color: #000;
  overflow: hidden;
}

.twobigrow .image-area .text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 10px;
  text-align: center;
}

.twobigrow .imagetwobig {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container */
  transform: translate(-50%, -50%) scale(1.2); /* Apply initial zoom effect immediately */
  transition: transform 5s ease-in-out; /* Smooth zoom transition */
}

.twobigrow .content-box {
  margin-top: 20px;
  background-color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.twobigrow .content-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.twobigrow .content-box p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.twobigrow .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #009246;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.twobigrow .button:hover {
  background-color: #007a3d;
}

/* Mobile View */
@media screen and (max-width: 767px) {
  .twobigrow  {
      flex-direction: column; /* Stack columns in mobile view */
      padding: 10px; /* Adjust padding for smaller screens */
  }

  .twobigrow .column {
      width: 100%; /* Stack columns */
      margin-bottom: 20px;
  }
}


.fourboxcontentrow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  opacity: 0; /* Hidden initially for animation */
  transform: translateY(50px); /* Animation starting position */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fourboxcontentrow.visible {
  opacity: 1;
  transform: translateY(0);
}

.fourboxcontentrow .column {
  flex: 1 1 calc(25% - 20px);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.fourboxcontentrow .media-container {
  width: 100%;
  height: 180px;
  background-color: #ddd;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.fourboxcontentrow .media-container img, .media-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fourboxcontentrow .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

.fourboxcontentrow .description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  text-align: center;
}

.fourboxcontentrow .button {
  padding: 8px 18px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.fourboxcontentrow .button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Click effect */
.fourboxcontentrow .button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 767px) {
  .fourboxcontentrow .column {
      flex: 1 1 calc(50% - 20px);
  }
}

@media screen and (max-width: 480px) {
  .fourboxcontentrow .column {
      flex: 1 1 100%;
  }
}

.fourchangeimgrow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Spacing between columns */
  justify-content: center;
  margin-bottom: 20px; /* Spacing below the row */
  padding: 20px;
}

.fourchangeimgrow .column {
  flex: 1 1 calc(25% - 20px); /* 4 equal columns */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.fourchangeimgrow .image-container {
  width: 100%;
  height: 180px; /* Image height greater than width */
  background-color: #ddd;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.fourchangeimgrow .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
  position: absolute;
}

.fourchangeimgrow .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.fourchangeimgrow .description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.fourchangeimgrow .button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  text-align: center;
  font-size: 1rem;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .fourchangeimgrow .column {
      flex: 1 1 calc(50% - 20px); /* 2 columns on mobile */
  }
}

@media screen and (max-width: 480px) {
  .fourchangeimgrow .column {
      flex: 1 1 100%; /* 1 column on small screens */
  }
}

.vidmidtextrow {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end; /* Align content box to the bottom */
  justify-content: center; /* Center content horizontally in regular view */
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1.33333; /* Default aspect ratio */
  overflow: hidden;
}

.vidmidtextrow video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the row */
  object-position: center; /* Center the video content */
  transform: translate(-50%, -50%);
}

.vidmidtextrow .content-container {
  position: relative;
  max-width: 600px; /* Adjust to make the content box not take up full width */
  margin: 20px;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: center; /* Center the content vertically */
  align-items: center; /* Center the content horizontally */
  height: fit-content;
  z-index: 2;
  text-align: center; /* Center the content in the container */
  background-color: transparent; /* No background color for content box */
}

/* Title and Description Text with Italian Red Background */
.vidmidtextrow .content-container .title,
.vidmidtextrow .content-container .description {
  background-color: #D50032; /* Italian red */
  padding: 5px 15px; /* Padding around text */
  border-radius: 5px; /* Optional: slightly rounded corners for text background */
  margin: 10px 0; /* Add margin between the elements */
  display: inline-block; /* Ensures background color only covers the text */
}

.vidmidtextrow .content-container h1 {
  font-size: 1.8rem;
  font-style: italic;
  font-weight: bold;
}

.vidmidtextrow .content-container p {
  font-size: 1rem;
}

/* Container for the button */
.vidmidtextrow .button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content; /* Make the button container width adjust to button's width */
  margin-top: 10px;
}

.vidmidtextrow .content-container .button {
  display: inline-block; /* Ensures button size adapts to text */
  padding: 5px 15px; /* Minimal spacing around the text */
  background-color: #fff;
  color: #009246;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px; /* Fully rounded corners */
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
  white-space: nowrap; /* Prevents the button text from breaking into multiple lines */
}

.vidmidtextrow .content-container .button:hover {
  background-color: #f4f4f4;
  transform: scale(1.05);
}

/* Mobile View */
@media screen and (max-width: 767px) {
  .vidmidtextrow {
      flex-direction: column;
      aspect-ratio: auto; /* Remove fixed aspect ratio */
      height: 60vh; /* Reduced height in mobile view */
  }

  .vidmidtextrow video {
      object-position: center center; /* Adjust video focus */
  }

  .vidmidtextrow .content-container {
      width: 90%; /* Reduced width to leave space for margins */
      margin: 10px auto; /* Auto margin for equal left and right space */
      padding: 20px; /* Keep padding for content spacing */
      position: absolute;
      bottom: 10px; /* Align to the bottom of the row */
      left: 5%; /* Add left margin to keep content from touching the left edge */
      right: 5%; /* Add right margin to keep content from touching the right edge */
  }
}

.twocolrowtext {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.twocolrowtext .left-column, .twocolrowtext .right-column {
  flex: 1 1 50%; /* 2 columns of equal width */
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 15px;
}

.twocolrowtext .left-column {
  background-image: url('images/life-wellness-office-2.jpg'); /* Placeholder image */
  background-size: cover;
  background-position: center;
  position: relative;
}

.twocolrowtext .left-content {
  text-align: center;
  padding: 10px;
  width: 100%;
}

.twocolrowtext .left-content .title, .twocolrowtext .left-content .description {
  background-color: rgba(255, 255, 255, 0.7); /* Background around text */
  padding: 5px 10px;
  color: #333;
  font-weight: bold;
}

.twocolrowtext .left-content .title {
  font-size: 1.5rem;
}

.twocolrowtext .left-content .description {
  font-size: 1rem;
  color: #555;
}

.twocolrowtext .left-content .button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 1rem;
  margin-top: 10px;
}

.twocolrowtext .right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  text-align: center;
}

.twocolrowtext .right-column .title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.twocolrowtext .right-column .description {
  font-size: 1rem;
  color: #333;
  padding: 0 20px;
  text-align: left;
  margin-bottom: 15px;
}

.twocolrowtext .right-column .logo {
  width: 100px;
  height: 100px;
  background-color: #ccc;
  display: block;
  margin-top: 10px;
}

@media screen and (max-width: 767px) {
  .twocolrowtext .left-column, .twocolrowtext .right-column {
      flex: 1 1 100%; /* Full width for mobile */
      height: auto; /* Let the content dictate the height */
  }

  .twocolrowtext .right-column .description {
      padding: 0 10px;
  }
}

.columnfourbox {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* Reduce spacing between columns */
  padding: 0;
  margin: 0 30px; /* Add more space on the left and right of the row */
  justify-content: space-between; /* Distribute space evenly between columns */
  color: #333;
}

.columnfourbox .column {
  flex: 1 1 23%; /* Make each column approximately 25% of the container width */
  max-width: 23%; /* Cap each column width to 23% of the container */
  display: flex;
  flex-direction: column;
  /* Remove border-radius for square edges */
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.columnfourbox .column:hover {
  transform: scale(1.03); /* Slightly scale up on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.columnfourbox .image-container {
  position: relative;
  width: 100%; /* Make width 100% of the column */
  height: 100%; /* Set height to the same as width to create a square */
  overflow: hidden;
}

.columnfourbox .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.columnfourbox .column:hover .image-container img {
  transform: scale(1.05); /* Zoom image slightly on hover */
}

.columnfourbox .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 140, 0, 0.85); /* Semi-transparent orange */
  color: #ffffff;
  padding: 5px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 5px;
}

.columnfourbox .text-area {
  padding: 20px;
  text-align: center;
  background-color: #fafafa;
  color: #444;
}

.columnfourbox .title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.columnfourbox .description {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #666;
}

.columnfourbox .button {
  padding: 10px 20px;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.columnfourbox .button:hover {
  background-color: #555; /* Darken button on hover */
}

.spacer-top-home,
.spacer-standard {
  height: 80px;
}

/* Responsive layout for mobile */
@media (max-width: 767px) {
  .columnfourbox {
    flex-direction: column;
    margin: 0 10px; /* Less margin on mobile */
  }
  .columnfourbox .column {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto; /* Center columns with slight margin */
  }
  .columnfourbox .image-container {
    max-width: 400px;
  }
  .spacer-standard,
  .spacer-top-home {
    height: 40px;
  }
}

.rowvidbottommid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end; /* Align content box to the bottom */
  justify-content: center; /* Center content horizontally in regular view */
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1.33333; /* Default aspect ratio */
  overflow: hidden;
}

.rowvidbottommid video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the row */
  object-position: center; /* Center the video content */
  transform: translate(-50%, -50%);
}

.rowvidbottommid .content-container {
  position: relative;
  max-width: 600px; /* Adjust to make the content box not take up full width */
  margin: 20px;
  background-color: #009246; /* Italian green */
  border-radius: 10px;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical alignment */
  height: fit-content;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Slight shadow for better visibility */
}

.rowvidbottommid .content-container h1 {
  font-size: 1.8rem;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 15px;
}

.rowvidbottommid .content-container p {
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Container for the button */
.rowvidbottommid .button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content; /* Make the button container width adjust to button's width */
  margin-top: 10px;
}

.rowvidbottommid .content-container .button {
  display: inline-block; /* Ensures button size adapts to text */
  padding: 5px 15px; /* Minimal spacing around the text */
  background-color: #fff;
  color: #009246;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px; /* Fully rounded corners */
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
  white-space: nowrap; /* Prevents the button text from breaking into multiple lines */
}

.rowvidbottommid .content-container .button:hover {
  background-color: #f4f4f4;
  transform: scale(1.05);
}

/* Mobile View */
@media screen and (max-width: 767px) {
  .rowvidbottommid {
      flex-direction: column;
      aspect-ratio: auto; /* Remove fixed aspect ratio */
      height: 60vh; /* Reduced height in mobile view */
  }

  .rowvidbottommid video {
      object-position: center center; /* Adjust video focus */
  }

  .rowvidbottommid .content-container {
      width: 90%; /* Reduced width to leave space for margins */
      margin: 10px auto; /* Auto margin for equal left and right space */
      padding: 20px; /* Keep padding for content spacing */
      position: absolute;
      bottom: 10px; /* Align to the bottom of the row */
      left: 5%; /* Add left margin to keep content from touching the left edge */
      right: 5%; /* Add right margin to keep content from touching the right edge */
  }
}


.rowfourfadein {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  opacity: 0; /* Hidden initially for animation */
  transform: translateY(50px); /* Animation starting position */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rowfourfadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.rowfourfadein .column {
  flex: 1 1 calc(25% - 20px);
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rowfourfadein .media-container {
  width: 100%;
  height: 180px;
  background-color: #ddd;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.rowfourfadein .media-container img, .rowfourfadein .media-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rowfourfadein .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

.rowfourfadein .description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  text-align: center;
}

.rowfourfadein .button {
  padding: 8px 15px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.rowfourfadein .button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Click effect */
.rowfourfadein .button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 767px) {
  .rowfourfadein .column {
      flex: 1 1 calc(50% - 20px);
  }
}

@media screen and (max-width: 480px) {
  .rowfourfadein .column {
      flex: 1 1 100%;
  }
}

/* Start hero slider Life Wellness */
.hero-slider-life {
  position: relative;
  width: 100%;
  height: 45vw; /* Adjust aspect ratio */
  overflow: hidden;
}

.title-contain {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-slider-life .background-video,
.title-contain .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background: #212121;
}

/* Add a 1px white border on top of the video */
.title-contain::before,
.hero-slider-life::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: white; /* White color border */
}

.hero-slider-life .slider-content {
  display: flex;
  width: 400vw; /* Each slide takes up 100vw; 4 slides = 400vw */
  height: 100%;
  transition: transform 0.5s ease;
}

.hero-slider-life .slide-lw {
  flex: 0 0 100vw; /* Each slide occupies 100% of the viewport width */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-life .content-box {
  text-align: center;
  max-width: 80%;
}

/* Title and description with inline backgrounds and no padding */
.hero-slider-life .content-box h2 {
  display: inline;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 56px;
  font-weight: bold;
  padding: 6px 8px;
  border-radius: 4px;
}

.hero-slider-life .content-box .spacer {
  height: 8px;
  width: 40px;
}

.hero-slider-life .content-box p {
  display: inline;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 4px;
}

/* Center and align buttons on the same line */
.hero-slider-life .content-box .buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-slider-life .content-box .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 36px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background-color: #007BFF;
}

.hero-slider-life .content-box .btn:hover {
  background-color: #0056b3;
}

.hero-slider-life .control {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 15px;
  transform: translateY(-50%);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-slider-life .left-control {
  left: 10px;
}

.hero-slider-life .right-control {
  right: 10px;
}


@media (max-width: 767px) {

  .hero-slider-life {
    height: 70vw; /* Adjust for 2:1 aspect ratio */
  }

  .hero-slider-life .content-box {
      padding: 15px;
      max-width: 100%;
  }

  .hero-slider-life .slide-lw {
    padding-bottom: 0;
  }
  
  .hero-slider-life .content-box .btn {
      padding: 8px 18px;
      font-size: 16px;
  }

  .hero-slider-life .content-box h2 {
      font-size: 38px !important;
  }

  .hero-slider-life .content-box p {
      font-size: 17px;
  }
  /* Ensure your font-size styles take precedence */
[data-asw-orgfontsize] {
  font-size: 16px !important; /* Set your desired default font size */
}
}
/* End hero slider Life Wellness */

/* Start testimonials Life Wellness */
.testimonial-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-item {
  min-width: 33.33%;  /* Three testimonials visible at once */
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
  font-size: 17px;
}

.testimonial-btn {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 10;
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}


@media (max-width: 768px) {
  .testimonial-item {
    min-width: 100%; /* Full width on smaller screens */
  }
}
/* End testimonials Life Wellness */

.bg-home-1 {
  background-color: transparent !important;
  background-image: url("images/background-main-lifewellness-top-light-middle-rev.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-section-1 {
  background-color: transparent !important;
  background-image: url("images/bg-wavy-home-4.jpg");
  background-position: right;
  background-repeat: no-repeat;
  background-size: auto;
}

.bg-section-2 {
  background-color: transparent !important;
  background-image: url("images/bg-wavy-home-2.jpg");
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto;
}

.bg-section-3 {
  background-color: transparent !important;
  background-image: url("images/bg-wavy-home-1.jpg");
  background-position: right;
  background-repeat: no-repeat;
  background-size: auto;
}

.bg-section-4 {
  background-color: transparent !important;
  background-image: url("images/bg-wavy-home-3.jpg");
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto;
}

.testimonial-container star::before {
  content: "\f005 \f005 \f005 \f005 \f005";
  font-family: 'FontAwesome';
  color: #f4bd17;
  letter-spacing: 5px;
  margin-right: 8px;
}

.testimonial-container author {
  font-weight: bold;
}


.grid-four-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 images per row */
  grid-template-rows: repeat(2, 1fr); /* 2 rows */
  gap: 1px; /* space between images */
  width: 100%; /* make the grid container take full width */
  max-width: 603px;
  height: auto;
  aspect-ratio: 1; /* ensures a square aspect ratio for the grid */
  max-height: 100vw; /* ensure height is never greater than width */
}

.grid-item {
  border: 1px solid #ddd; /* 1px border around each image */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ensure images don't spill out of their container */
  max-width: 300px;
  max-height: 300px;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the images fill the space */
}

@media (max-width: 640px) {
  .grid-container {
      grid-template-columns: 1fr; /* 1 image per row */
      grid-template-rows: repeat(4, 1fr); /* 4 rows */
      max-width: 100vw; /* maintain max width of the screen */
      width: 100%; /* ensure the grid takes full width */
      height: auto;
      aspect-ratio: 1; /* maintain the square aspect ratio */
  }
  .grid-item {
      margin: 0 auto;
  }
}

.team-request {
  margin-top: 40px;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
}

.contact-input {
  margin-bottom: 4px;
  color: rgb(174, 178, 182);
}

.contact-button {
  padding: 10px 16px;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .margin-bottom-more {
    margin-bottom: 50px;
  }
}