@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,400&family=Montserrat:wght@500;700&display=swap");

* {
  margin: 0%;
  padding: 0%;
}
body{
  background-color: #000;
}

p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
}

.image-section-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: black;
  color: white;
}
/* Styling for each section box */
.image-section {
  flex: 1;
  margin: 0 10px;
  background-color: #0d0d0d;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.image-section.visible {
  opacity: 1;
  transform: translateX(0); /* Move to final position */
}

/* Image styling */
.image-section img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
/* Overlay content */
.overlay {
  padding: 20px;
  text-align: center;
}
.overlay p {
  font-family: "Gruppo", sans-serif;
  font-weight: normal;
  font-style: oblique;
  color: #ffffff;
  padding-bottom: 8px;
}
.justified-list1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #ffffff;
  padding-bottom: 8px;
}

.overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #eee;
  text-transform: uppercase;
}

.overlay p {
  font-size: 16px;
  color: #bbb;
}

.overlay ul {
  list-style-type: none;
  padding: 0;
  color: #bbb;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.overlay ul li {
  margin: 5px 0;
}
.justified-list1 {
  text-align: justify;
  list-style-type: disc;
  padding-left: 20px;
  margin: 15px 0;
}
.justified-list1 li {
  display: inline-block;
  width: 100%;
  text-align: justify;
  margin-bottom: 5px;
  list-style-type: disc;
}
.buttonSeeMore {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #b5b5b5;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 10px;
  font-family: "Gruppo", sans-serif;
}
.buttonSeeMore:hover {
  background-color: #b5b5b5;
  color: #111;
}
/* Background Video */
.background-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 17%;
  margin: 0%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}

.content:hover {
  height: 10%;
}

.content p {
  font-family: fraunces_120pt-light, serif;
  font-weight: lighter;
  font-size: 45px;
  font-style: italic;
  color: #ffffff;
  padding-bottom: 8px;
}
.content h1 {
  font-family: "Gruppo", sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: 45px;
  color: #ffffff;
  padding-bottom: 8px;
}
#ArrowPng {
  height: 16px;
  transition: 0.5s;
}

#ArrowPng:hover {
  height: 18px;
}

#explore {
  font-size: 20px;
  transition: 0.5s;
  font-family: "Gruppo", sans-serif;
  font-weight: lighter;
  font-style: normal;
}

#explore:hover {
  font-size: 26px;
}

.section {
  background-color: #000;
}

.slide-in-bottom.visible {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Move to the final position */
}

/* Style for the overlay */
.overlay-v {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start; /* Align content to the left */
  flex-direction: column;
  justify-content: center;
  padding-left: 5%; /* Add padding for spacing from the left edge */
  padding-right: 5%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
  color: white;
  text-align: left; /* Align text to the left */
}

/* Specific styling for the text */
.overlay-v h1 {
  font-family: "Gruppo", serif; /* Use a similar serif font */
  font-weight: 400; /* Adjust weight for similar style */
  font-size: 3rem; /* Adjust font size as needed */
  line-height: 1.4;
  margin: 0;
  text-align: justify;
  word-spacing: 0.1em; /* Adjust word spacing for balance */
}

.overlay-v .luxury {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}
.overlay-v .ampersand {
  font-size: 3rem; /* Same size as the rest */
  font-weight: bold;
}

.overlay-v .location {
  font-weight: normal;
}

/* Sections */
.section {
  padding: 3rem 0;
  text-align: center;
}

.section h2 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 1rem;
  font-family: "Gruppo", serif;
}
.section h1 {
  font-size: 16px; /* Increase font size for "For our valued Guests" */
  color: #fff; /* Set text color to white */
  margin-top: 0.5rem;
}
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: visible;
  padding: 0;
  margin: 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1000; /* Higher z-index to ensure it’s above other elements */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

/* Position left arrow */
.carousel-nav.left {
  left: 20px;
}

/* Position right arrow */
.carousel-nav.right {
  right: 20px;
}

.carousel-slide {
  display: none;
  align-items: center;
  color: #fff;
  width: 100%;
  justify-content: center;
  text-align: center;
  background-color: #0d0d0d;
  border-top: #b5b5b5;
}
.carousel-slide {
  padding-left: 200px;
  padding-right: 200px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.carousel-slide .carousel-description h3 {
  font-size: 32px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}
/* */

/* */

.carousel-slide.active {
  display: flex;
}

.carousel-slide img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 50px;
}

.carousel-description {
  width: 50%;
  padding-left: 2rem;
  text-align: left;
  font-family: "Open Sans", sans-serif;
}

.carousel-description h2 {
  font-family: "Gruppo", serif;
  font-size: 32px;
  color: #bfbfbf; /* Eye-catching color for heading */
  margin-bottom: 1rem;
  font-weight: bold;
}

.carousel-description p {
  font-size: 18px;
  color: #ddd;
  text-align: justify; /* Justify the description text */
  line-height: 1.6;
  font-family: "Open Sans", sans-serif;
}

.expertise-section {
  background-color: #000; /* Black background similar to the previous section */
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}
.expertise-section h3 {
  font-size: 2.5rem;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: "Gruppo", serif;
}
.expertise-description {
  font-size: 1.25rem;
  color: #bfbfbf;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-align: justify;
}
.get-in-touch-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #333;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #b5b5b5;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.get-in-touch-button:hover {
  background-color: #555; /* Changes color on hover */
}
/* Container for the three sections 
.three-sections-container {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding: 20px;
  background-color: #000;
}
*/

/* Individual section styling */
/*
.section-item {
  position: relative;
  width: 30%;
  cursor: pointer;
}

.section-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: "Playfair Display", serif;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section-item:hover .section-overlay {
  opacity: 1;
}

/* Heading and button styling */
/*
.section-overlay h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.explore-button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease;
}

.explore-button:hover {
  color: #ddd;
}
*/

/*new css for three images*/
/* Container for the three sections */
.three-sections-container {
  display: flex;
  justify-content: space-between; /* Ensures even spacing between sections */
  gap: 20px; /* Adjust spacing between items */ /* Center the container and add some spacing */
  max-width: 100%; /* Adjust the width as needed */
  background-color: #000;
  padding: 5%;
}

/* Styling for each section */
.section-item {
  position: relative;
  flex: 1; /* Ensure all sections take equal space */
  overflow: hidden;
  border-radius: 10px; /* Optional: Rounded corners */
  cursor: pointer;
  height: 400px;
}

.section-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease; /* Smooth scaling on hover */
}

.section-item:hover img {
  transform: scale(1.1); /* Slight zoom on hover */
}

/* Overlay styling */
.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease; /* Smooth fade-in effect */
}

.section-item:hover .section-overlay {
  opacity: 1; /* Show overlay on hover */
}

.section-item:hover .section-overlay h2 {
  opacity: 1; /* Show overlay on hover */
}
/* Overlay content */
.section-overlay h2 {
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 60px;
}

.explore-button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease;
}

.explore-button:hover {
  color: #ddd;
}

.experience-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  background-color: #000;
  color: #fff;
}

.experience-title-container {
  flex: 1;
}

.experience-title {
  font-family: "Gruppo", serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0;
  max-width: 80%;
}
.experience-description-container {
  flex: 1;
}

.experience-description {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  max-width: 90%;
}
.services-section {
  overflow: hidden;
  background-color: #000;
  padding: 40px 0;
}

.service-row {
  display: flex;
  gap: 10px;
  padding: 20px 0;
  white-space: nowrap;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.service-row.left-to-right {
  animation-name: scroll-left;
}

.service-row.right-to-left {
  animation-name: scroll-right;
}

@keyframes scroll-left {
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-100%);
  }
}

@keyframes scroll-right {
  from{
    transform: translateX(-100%);
  }
  to{
    transform: translateX(0);
  }
}

.service-item {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover img {
  transform: scale(1.1); /* Zoom in the image */
}

.service-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
  transform: translateY(-5px); /* Slightly lift the item */
}

/* Optional: Add text or content overlay */
.service-item::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover::after {
  opacity: 1; /* Show overlay on hover */
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  text-align: center;
}

.lifestyle-management {
  position: relative;
  background-image: url("images/Curated\ Travel.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.lifestyle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
}

.lifestyle-content {
  position: relative;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.lifestyle-content p {
  font-size: 1.5em;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: justify;
}

.lifestyle-button {
  padding: 12px 24px;
  font-size: 1em;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.lifestyle-button:hover {
  background-color: #fff;
  color: #000;
}

.about-us-section {
  position: relative;
  padding: 60px 20px;
  background-color: #000; /* Dark background for contrast */
  color: #fff;
  text-align: center;
}

.aboutus-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for effect */
  z-index: -1;
}

.aboutus-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.lifestyle-management {
  background-color: rgba(1, 1, 1, 0.5);
}

.aboutus-content h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Gruppo", serif;
}

.aboutus-content p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

/* Inquiry Form Section */
.inquiry-form-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  background-color: #fff; /* White background */
  color: #000; /* Black font color */
  border: none;
}

/* Form Title */
.inquiry-form-section h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.inquiry-form-section p {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 20px;
}

/* Form Grid Layout */
.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  text-align: left;
}

/* Single Full-width Form Group */
.full-width {
  grid-column: 1 / -1;
}

/* Form Group Styling */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9em;
  margin-bottom: 5px;
  color: #000; /* Black font color */
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  font-size: 0.9em;
  border: none;
  border-bottom: 1px solid #ccc;
  color: #000; /* Black font color */
  background-color: #fff;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom: 1px solid #000;
}

/* Checkbox Group Styling */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9em;
  color: #000; /* Black font color */
}

.checkbox-group label {
  font-weight: normal;
}

/* Submit Button Styling */
.submit-button {
  grid-column: 1 / -1;
  padding: 12px;
  font-size: 1em;
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.submit-button:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* Separator Line */
.separator-line {
  grid-column: 1 / -1;
  height: 1px;
  background-color: #ccc;
  margin: 20px 0;
}
/* Services Content Section */
/* Video Header Section */
.video-header {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust as needed */
  overflow: hidden;
}

.background-video1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-s {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
}

.video-overlay-s h1 {
  color: #ffffff;
  font-size: 3em; /* Adjust size as needed */
  text-align: center;
}

/* Services Content Section */
.services-content1 {
  padding: 2em;
  max-width: 800px;
  margin: 0 auto;
}

.services-content1 h2,
h3,
h4 {
  color: #fff;
  margin-bottom: 0.5em;
}

.services-content1 p {
  margin-bottom: 1.5em;
  line-height: 1.6;
  color: #bfbfbf;
}

.services-content1 ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #bfbfbf;
}

.services-content1 ul li {
  margin-bottom: 0.5em;
}
/* Services List Section */
.services-list-s {
  display: flex;
  gap: 2em; /* Space between columns */
}

.services-list-s ul {
  flex: 1; /* Each list takes equal width */
  list-style-type: disc;
  padding-left: 20px;
}

.services-list-s ul li {
  margin-bottom: 0.5em;
  color: #bfbfbf;
}
/* Container for the Terms section */
.container-t {
  width: 90%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 40px;
}

/* Section header styling */
.terms-section h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  color: #4a4a4a;
}

/* Terms content */
.terms-content h2 {
  font-size: 1.5rem;
  color: #222;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
  margin-top: 20px;
}

.terms-content h3 {
  font-size: 1.2rem;
  color: #666;
  margin-top: 15px;
}

.terms-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

/* List styling */
.terms-content ul {
  margin-left: 20px;
  list-style-type: disc;
}

.terms-content ul li {
  margin-bottom: 10px;
}

/* Accent styling for emphasis */
.terms-content h2::before {
  content: "◆ ";
  color: #ff6f61;
}

.terms-content h3::before {
  content: "► ";
  color: #ff6f61;
}

/*Image slider new*/
.card-slider {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #000000;
}
.slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 2;
  border-bottom: 2px solid white;

  border-top: 2px solid white;
}

.slide img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.text-container {
  width: 400px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.text-container h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: white;
  font-family: "Gruppo", sans-serif;
  font-weight: bold;
  font-style: normal;
}
.text-container h3 {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.text-container p {
  font-size: 18px;
  color: #555;
}

.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}
/*new image slider end*/

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
  .background-video-container {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent overflow issues */
  }

  .background-video {
    object-fit: cover; /* Ensure the video covers the area */
    width: 100%; /* Full width for mobile */
    height: auto; /* Adjust height proportionally */
  }

  .content {
    padding: 100px; /* Reduce padding for smaller screens */
    text-align: center; /* Center-align text for better appearance */
    background-color: rgba(
      0,
      0,
      0,
      0.6
    ); /* Slightly darker background for better contrast */
    
  }

  .content p {
    font-size: 24px; /* Smaller font size for paragraph */
    padding-bottom: 0px; /* Adjust padding for balance */
    padding-top: 63px;
  }

  .content h1 {
    font-size: 30px; /* Reduce font size for headings */
    line-height: 1.2; /* Improve spacing between lines */
  }

  /* Section Styling */
  .section {
    padding: 2rem 1rem; /* Reduce padding for smaller screens */
    text-align: center; /* Keep text centered */
  }
  .section h1 {
    font-size: 1.5rem; /* Adjust font size for smaller screens */
    margin-top: 0.5rem;
  }
  .section h2 {
    font-size: 1.2rem; /* Scale down subtitle font size */
    margin-bottom: 1rem;
  }

  /* Image Section Container */
  .image-section-container {
    display: flex;
    flex-direction: column; /* Stack image sections vertically */
    gap: 1.5rem; /* Add spacing between stacked sections */
  }
  /* Image Section */
  .image-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Align content in a column */
    align-items: center;
    background-color: #000;
    opacity: 1; /* Override to ensure full visibility */
    transform: none; /* Prevent animation on mobile */
    transition: none;
  }
  .image-section img {
    width: 70%; /* Ensure images fit within the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
  }

  /* Overlay Styling */
  .overlay {
    bottom: 0;
    width: 100%;
    padding: 1rem; /* Add padding for text content */
    background-color: rgb(0, 0, 0); /* Slightly darker overlay */
    text-align: center; /* Center-align text */
  }
  .overlay ul .justified-list1{
    margin-left: 225px;
  }

  .overlay h3 {
    font-size: 1.2rem; /* Reduce heading size */
    margin-bottom: 0.5rem;
  }

  .overlay p {
    font-size: 0.9rem; /* Reduce paragraph size */
    line-height: 1.4;
  }
  .overlay ul{
    text-align: center;
  }
  .overlay ul.justified-list1 {
    padding-right: 0; /* Remove left padding */
    list-style: none; /* Remove bullet points */
    font-size: 0.9rem; /* Match paragraph font size */
  }

  .overlay ul.justified-list1 li {
    margin-bottom: 0.3rem; /* Add spacing between list items */
  }

  .overlay .buttonSeeMore {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem; /* Adjust padding for the button */
    font-size: 0.9rem; /* Reduce button font size */
  }

  .carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Hide any overflow outside the container */
    background-color: #000; /* Optional: Add a background color */
    padding: 0;
    margin: 0;
  }

  .carousel-slide img {
    max-width: 80%; /* Ensure the image doesn't exceed the container size */
    max-height: 80%; /* Maintain proportional scaling */
    border-radius: 50%; /* Keeps the circular shape */
    object-fit: cover;
    margin-left: 20px; /* Optional: Adjust spacing */
  }
  /*threetier images overlay adjesment*/
  .section-item {
    height: 150px;
  }
  .section-overlay {
    opacity: 1;
  }
  .section-overlay h2{
    font-size: 14px;
  }
  .section-overlay a{
    font-size: 12px;
  }

  .carousel-description {
    width: 50%; /* Adjust this based on the layout you want */
    padding: 1rem;
    text-align: left;
    font-family: "Open Sans", sans-serif;
    color: #fff;
  }
  .carousel-description h3 {
    font-size: 24px;
  }
  .carousel-description p {
    font-size: 16px;
  }
  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  .carousel-slide {
    transition: opacity 0.5s ease-in-out;
  }

  /*image slider*/
  .card-slider{
    height: 450px;
    padding-bottom: 60px;
  }
  .slider {
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .slides {
    flex-direction: row;
  }

  .slide {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .slide img {
    width: 300px;
    height: 300px;
  }

  .text-container {
    width: 300px;
    height: auto;
    text-align: center;
    padding: 10px;
  }

  .text-container h2 {
    font-size: 24px;
  }

  .text-container p {
    font-size: 16px;
  }
  .services-section{
    margin: 0;
    padding: 0;
    max-width:768px;
  }
  .service-item{
    height: 90px;
    width: 120px;
  }
  .service-overlay{
    width: 120px;
  }
  .service-overlay h3{
    font-size: 6px;
    width: 100px;
  }
  .experience-section {
    display: block;
    padding: 30px;
    margin: 0%;
  }
  .experience-title{
    padding-bottom: 20px;
  }
  .experience-description-container{
    justify-content: center;
  }
  .experience-description{
    text-align: justify;
  }
  .lifestyle-management {
    height: 90vh;
  }
}

/* Mobile-specific styles for 430px and 564px max-width */
@media screen and (max-width: 564px) {
  /* Content Sections */
  .content {
    padding: 60px; /* Reduced padding */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .content p {
    font-size: 18px;
    padding-bottom: 0;
  }

  .content h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  /* Section Styling */
  .section {
    padding: 1rem 0.5rem;
    text-align: center;
  }

  .section h1 {
    font-size: 1.3rem;
    margin-top: 0.3rem;
  }

  .section h2 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  /* Image Sections */
  .image-section-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .image-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .image-section img {
    width: 100%;
    height: auto;
  }
  .card-slider{
    height: 600px;
    padding-bottom: 60px;
  }
  
  .slider {
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .slides {
    flex-direction: row;
  }

  .slide {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .slide img {
    width: 300px;
    height: 300px;
  }

  .overlay {
    bottom: 0;
    width: 100%;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
  }

  .overlay h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .overlay p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .overlay ul.justified-list1 {
    padding-left: 0;
    list-style: none;
    font-size: 0.8rem;
  }

  .overlay ul.justified-list1 li {
    margin-bottom: 0.2rem;
  }

  .overlay .buttonSeeMore {
    margin-top: 0.3rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Carousel */
  .carousel-container {
    width: 100vw;
    height: auto;
    overflow: hidden;
    background-color: #000;
    padding: 0;
    margin: 0;
    flex-direction: column;
  }

  .carousel-slide img {
    max-width: 70%;
    max-height: 70%;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px 0;
  }

  .carousel-description {
    width: 90%;
    padding: 0.5rem;
    text-align: center;
    margin: 0 auto;
  }

  .carousel-description h3 {
    font-size: 20px;
    text-align: center;
  }

  .carousel-description p {
    font-size: 14px;
    text-align: center;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .expertise-section h4 {
    font-size: 19px;
  }
  .expertise-section p {
    font-size: 13px;
  }
  .experience-title {
    font-size: 19px;
  }
  .experience-description {
    font-size: 13px;
  }
  .lifestyle-content h3 {
    font-size: 19px;
  }
  .lifestyle-content {
    font-size: 11px;
  }
  .section-item {
    height: 115px;
  }
  .section-overlay {
    opacity: 1;
  }
  .section-overlay h2{
    font-size: 12px;
  }
  .section-overlay a{
    font-size: 10px;
  }
  .lifestyle-management {
    height: 90vh;
  }
  
}

/* Additional specific adjustments for 480px max-width */
@media screen and (max-width: 480px) {
  .content {
    padding: 40px;
  }

  .content h1 {
    font-size: 20px;
  }

  .content p {
    font-size: 16px;
  }

  .section h1 {
    font-size: 1.2rem;
  }

  .section h2 {
    font-size: 0.9rem;
  }

  .carousel-description h3 {
    font-size: 18px;
  }

  .carousel-description p {
    font-size: 12px;
  }

  .overlay h3 {
    font-size: 0.9rem;
  }

  .overlay p {
    font-size: 0.7rem;
  }

  .carousel-nav {
    width: 30px;
    height: 30px;
    font-size: 0.5rem;
  }
  .expertise-section h4 {
    font-size: 18px;
  }
  .expertise-section p {
    font-size: 12px;
  }
  .experience-title {
    font-size: 18px;
  }
  .experience-description {
    font-size: 12px;
  }
  .lifestyle-content h3 {
    font-size: 18px;
  }
  .lifestyle-content {
    font-size: 10px;
  }
  .section-item {
    height: 90px;
  }
  .section-overlay {
    opacity: 1;
  }
  .section-overlay h2{
    font-size: 10px;
  }
  .section-overlay a{
    font-size: 8px;
  }
  .lifestyle-management {
    height: 90vh;
  }
}
