/* body {
  height: 100%;
} */

html {
  scroll-behavior: smooth;
}
.navbar {
  background: none;
}

body {
 
  flex-direction: column;
  max-height: 100%;

  background-image: url("./assets/home.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.navbar {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 0.4rem 1rem;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Prevent overflow */
  overflow: hidden; /* Prevent any horizontal overflow */
}

.navbar-expand-lg .navbar-nav .nav-link {
  color: #000000 !important;
  font-weight: 700;
  padding: 0.5rem 1rem; /* Default padding */
  font-size: 0.875rem;
  border-radius: 10px;
  border: 2px solid #000000;
  text-align: center;
  transition: all 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link.active {
  border: 2px solid red;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: #000000;
}

.navbar-brand img {
  max-width: 150px; /* Adjust based on your logo size */
  height: auto;
  border-radius: 10px;
  margin: 0;
}

.navbar-brand {
  margin-right: 0!important; /* Increased font size */
  padding: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px; /* Ensure buttons are well-spaced */
}

.navbar .container-fluid {
  display: flex!important; /* Increased font size */
  align-items: center!important; /* Increased font size */
  justify-content: space-between!important; /* Increased font size */
  padding: 0 15px!important; /* Increased font size *//* Control spacing around navbar */
}

.navbar-toggler {
  margin-left: auto;
}
@media (max-width: 768px) {
  .gap-md-5{
    gap:1rem!important;
  }
  }
  @media (max-width: 991px) {
  
    .navbar-expand-lg .navbar-nav .nav-link {
      padding: 0.5rem 1rem;
      font-size: 0.75rem;
      margin: 0.25rem 0;
    }
    .navbar-expand-lg .navbar-nav {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: auto; /* Ensure compact layout */
    }
    .navbar-nav {
      padding-left: 15px;
      justify-content: center;
      flex-direction: column;
      align-items: center;
    }
    .navbar {
      padding: 0.5rem;
    }
  }
  @media (min-width: 1024px) {
    .navbar {
      width: 100%; /* Full width of the container */
      max-width: 100%; /* Prevent overflow */
      padding: 0.001rem 0; /* Remove left and right padding */
      overflow-x: hidden; /* Prevent horizontal overflow */
    }
  
    .navbar .container-fluid {
      display: flex;
      flex-wrap: nowrap; /* Ensure no wrapping */
      align-items: center;
      justify-content: space-between;
      width: 100%; /* Full width */
      padding: 0; /* Remove all padding */
    }
  
    .navbar-brand {
      flex-shrink: 0;
      margin-right: auto;
      max-width: 130px; /* Prevent logo from making navbar wider */
    }
  
    .navbar-expand-lg .navbar-nav {
      display: flex;
      justify-content: center; /* Center the nav items */
      align-items: center;
      width: 100%; /* Ensure navbar items take full width */
      
      padding: 0; /* Remove extra padding */
    }
  
    .navbar-nav .nav-link {
      font-size: 0.9rem !important; /* Increased font size */
      padding: 0.4rem 0.95rem !important; /* Increased padding inside links */

      text-align: center;
      justify-content: center; /* Align content to the center */
      border-radius: 6px;
      white-space: nowrap; /* Prevents text from wrapping */
      overflow: hidden; /* Prevent content overflow */
      min-width: 80px; /* Adjust minimum width */
      max-width: none; /* Remove maximum width restriction */
    }
  
    .navbar-toggler {
      margin-left: auto;
    }
  }
  
  
/* Larger Screens */
@media (min-width: 1440px) {
  .navbar {
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
  }

  .navbar .container-fluid {
    display: flex!important; /* Increased font size */
    flex-wrap: nowrap!important; /* Increased font size */
    align-items: center!important; /* Increased font size */
    justify-content: space-between!important; /* Increased font size */
    width: 100%!important; /* Increased font size */
    padding: 0!important; /* Increased font size */
  }

  .navbar-brand {
    flex-shrink: 0;
    margin-right: 0;
    padding-left: 0;
  }

  .navbar-expand-lg {
    display: flex;
    justify-content: flex-start; /* Align navbar items starting from the left */
    width: 100%;
  }

  .navbar-expand-lg .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly !important; /* Increased font size */
    width: 100%; /* Ensure navbar items take full width */
    padding: 0;
    margin-left: 0 !important; /* Increased font size */
  }

  .navbar-nav .nav-link {
    font-size: 1.12rem !important; /* Increased font size */
    padding: 0.7rem 2.1rem !important; /* Increased padding for bigger clickable area */
    text-align: center;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    min-width: 120px; /* Increase the minimum width for larger links */
    max-width: none; /* Adjust maximum width */
  }

  .navbar-toggler {
    margin-left: auto;
  }
}

/* Ultra-Wide Screens */
@media (min-width: 2560px) {
  .navbar {
    width: 100%;
    max-width: 100%;
    padding: 0; /* Ensure no extra padding */
    overflow-x: hidden; /* Prevent overflow */
  }

  .navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space evenly between brand and nav links */
    width: 100%;
    padding: 0; /* Remove any padding */
    margin: 0; /* Remove any margin */
  }

  .navbar-brand {
    margin: 0; /* Remove margin around brand */
    padding: 0; /* Remove padding */
    flex-shrink: 0; /* Prevent brand from shrinking */
    display: flex;
  }

  .navbar-expand-lg {
    display: flex;
    justify-content: space-between; /* Ensure nav links are distributed evenly */
    width: 100%;
  }

  .navbar-expand-lg .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly; /* Evenly distribute the nav links */
    gap: 20px; /* Provide space between nav links */
    width: 100%; /* Ensure the navbar takes full width */
    padding: 0;
    margin: 0; /* Remove any margin */
  }

  .navbar-nav .nav-link {
    font-size: 1.4rem !important; /* Increased font size */
    padding: 1rem 2.5rem !important; /* Increased padding */
    text-align: center;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    min-width: 200px;
    max-width: none;
    border: 2px solid transparent; /* Optional, for a cleaner look */
  }

  .navbar-toggler {
    margin-left: auto;
  }
}
.carousel  {
  min-height: 250px; /* Set a minimum height for your carousel */
  overflow: hidden; /* Prevent overflow */
  position: relative; /* Make sure it's positioned relative to the footer */
  z-index: 1;
}.index_main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  text-align: center;
}

.index_main_title {
  text-align: center;
  font-size: 3rem;
  color: white;
  font-family: "Baskervville", serif;
  font-weight: 700;
  font-style: normal;
}

.index_main_sub_title {
  text-align: center;
  font-size: 1.5rem;
  color: rgb(208, 255, 0);
  font-family: "Baskervville", serif;
  font-weight: 500;
  font-style: italic;
}

/* Responsive Design */

/* Small devices (max-width: 320px) */
@media (max-width: 320px) {
  .index_main {
    padding: 8px;
  }

  .index_main_title {
    font-size: 1.0rem!important;
    line-height: 1.1;
  }

  .index_main_sub_title {
    font-size: 0.15rem!important;
  }
}

/* Small devices (max-width: 375px) */
@media (max-width: 375px) {
  .index_main {
    padding: 10px;
  }

  .index_main_title {
    font-size: 1.6rem!important;
    line-height: 1.1;
  }

  .index_main_sub_title {
    font-size: 0.9rem!important;
  }
}

/* Small devices (max-width: 480px) */
@media (max-width: 480px) {
  .index_main {
    padding: 15px;
  }

  .index_main_title {
    font-size: 1.8rem!important;
    line-height: 1.2;
  }

  .index_main_sub_title {
    font-size: 1rem!important;
    line-height: 1.2;
  }
}

/* Medium devices (max-width: 576px) */
@media (max-width: 576px) {
  .index_main {
    padding: 20px;
  }

  .index_main_title {
    font-size: 2rem!important;
  }

  .index_main_sub_title {
    font-size: 1.2rem!important;
  }
}

/* Medium devices (max-width: 768px) */
@media (max-width: 768px) {
  .index_main {
    padding: 25px;
  }

  .index_main_title {
    font-size: 2.2rem;
  }

  .index_main_sub_title {
    font-size: 1.4rem;
  }
}

/* Large devices (max-width: 1024px) */
@media (max-width: 1024px) {
  .index_main {
    padding: 35px;
  }

  .index_main_title {
    font-size: 3rem;
  }

  .index_main_sub_title {
    font-size: 1.6rem;
  }
}

/* Extra-large devices (min-width: 1440px) */
@media (min-width: 1440px) {
  .index_main {
    padding-top: 120px!important;
  }

  .index_main_title {
    align-items: center;
    font-size: 4.5rem;
    letter-spacing: 1.5px;
  }

  .index_main_sub_title {
    font-size: 2.2rem;
  }
}

/* Ultra-wide screens (min-width: 2560px) */
@media (min-width: 2560px) {
  .index_main {
    padding-top: 180px!important;
  }

  .index_main_title {
    font-size: 6rem;
  }

  .index_main_sub_title {
    font-size: 3rem;
  }
}/* Basic Styling */
.index_main_2 {
  padding: 10px; /* Add padding for spacing */
  margin: 0;
  background-color: #ffffff; /* Carousel item background color */
  min-height: 100vh;
  box-sizing: border-box; /* Include padding in height calculation */
}

.index_main_2 .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.index_main_2 img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Button Styling */
.index_main_2 button {
  background-color: maroon;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 20px 0; /* Ensure vertical spacing */
  font-size: 24px;
  display: inline-block;
  width: 80%; /* Allow button width to adjust based on content */
}

.index_main_2 button:hover {
  background-color: #6f0000; /* Slightly darker shade of maroon */
}

/* Quote Text Styling */
.index_main_2 p {
  font-size: 1.6rem; /* Reduced font size */
  padding: 10px; /* Reduced padding */
  margin: 5px 0; /* Add margin for spacing */
  line-height: 1.4;
}

/* Card Styling */
.card {
  height: 100%; /* Make sure card takes full height of col */
  display: flex;
  flex-direction: column; /* Align content vertically */
  justify-content: center; /* Vertically center content */
  align-items: center; /* Horizontally center content */
  text-align: center; /* Center text in card */
}

.card-body {
  flex-grow: 1; /* Allow the card body to grow and fill available space */
}

.counter h1 {
  font-size: 2em; /* Adjust font size as needed */
  margin-bottom: 0.5em;
}

.counter h6 {
  font-size: 1em;
}

/* Media Queries */

/* Extra Small Screens (325px) */
@media (max-width: 325px) {
  .index_main_2 {
    padding: 10px;
  }

  .index_main_2 button {
    font-size: 12px; /* Smaller button font size */
    width: 95%;
  }

  .index_main_2 p {
    font-size: 0.8rem;
  }

  .counter h1 {
    font-size: 1.5em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 0.8em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 20px; /* Add padding at the bottom */
  }
}

/* Small Screens (375px) */
@media (max-width: 375px) {
  .index_main_2 button {
    font-size: 13px; /* Smaller button font size */
    width: 92%;
  }

  .index_main_2 p {
    font-size: 0.85rem;
  }

  .counter h1 {
    font-size: 1.7em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 0.9em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 25px; /* Add padding at the bottom */
  }
}

/* Medium Small Screens (480px) */
@media (max-width: 480px) {
  .index_main_2 button {
    font-size: 14px; /* Smaller button font size */
    width: 90%;
  }

  .index_main_2 p {
    font-size: 0.9rem;
  }

  .counter h1 {
    font-size: 1.8em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 1em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 30px; /* Add padding at the bottom */
  }
}

/* Small Tablets (576px) */
@media (max-width: 576px) {
  .index_main_2 button {
    font-size: 15px; /* Smaller button font size */
    width: 85%;
  }

  .index_main_2 p {
    font-size: 1rem;
  }

  .counter h1 {
    font-size: 1.9em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 1.1em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 35px; /* Add padding at the bottom */
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .index_main_2 .col-md-6 {
    flex: 1 1 100%;
    padding: 10px;
  }

  .index_main_2 button {
    font-size: 16px; /* Smaller button font size */
    width: 80%;
  }

  .index_main_2 p {
    font-size: 1rem;
  }

  .counter h1 {
    font-size: 2em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 1.2em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 40px; /* Add padding at the bottom */
  }
}

/* Media Query for Laptops (1024px) */
@media (max-width: 1024px) {
  .index_main_2 {
    padding: 15px;
  }

  .index_service_2 .col-md-2 {
    flex: 1 1 25%; /* Four cards per row */
  }

  .counter h1 {
    font-size: 1.8em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 0.9em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 45px; /* Add padding at the bottom */
  }
}

/* Media Query for Larger Screens (1440px) */
@media (max-width: 1440px) {
  .index_main_2 {
    padding: 20px;
  }

  .index_service_2 .col-md-2 {
    flex: 1 1 20%; /* Five cards per row */
  }

  .counter h1 {
    font-size: 2em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 1em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 50px; /* Add padding at the bottom */
  }
}

/* Media Query for Ultra-Wide Screens (2560px) */
@media (max-width: 2560px) {
  .index_main_2 {
    padding: 30px;
  }

  .index_service_2 .col-md-2 {
    flex: 1 1 15%; /* More cards in a row for ultra-wide screens */
  }

  .counter h1 {
    font-size: 2.5em; /* Smaller font size for counter */
  }

  .counter h6 {
    font-size: 1em; /* Smaller font size for counter text */
  }

  .counter {
    padding-bottom: 60px; /* Add padding at the bottom */
  }
}


/* Optional: Add hover effects or other styling as desired */
.card:hover {
  transform: scale(1.05); /* Example hover effect */
  transition: transform 0.2s ease;
}
.index_main_3 {
  padding: 10px; /* Add padding for spacing */
  margin: 0;
  background-color: #ffffff; /* Carousel item background color */
  min-height: 100vh;
  box-sizing: border-box; /* Include padding in height calculation */
}

/* Column Styling */
.index_main_3 .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}
/* Image Styling for the .image class */
.index_main_3 .image img {
  max-width: 100%; /* Ensure the image scales to fit the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 15px; /* Add space below the image */
}

/* Main Image Styling for the first image */
.index_main_3 .col-md-6 .image img {
  width: 100%; /* Ensure the image fills its container */
  max-width: 500px; /* Limit the image size */
  object-fit: cover; /* Ensure the image covers its area without distorting */
}

/* Image Styling for the .image-2 class */
.index_main_3 .image-2 img {
  max-width: 100%; /* Ensure the image scales to fit the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 15px; /* Space below the image */
}

/* Main Image Styling for the second image (image-2) */
.index_main_3 .col-md-6 .image-2 img {
  width: 100%; /* Ensure the image fills its container */
  max-width: 450px; /* Limit the image size */
  object-fit: cover; /* Ensure the image covers its area without distorting */
}

/* Button Styling */
.index_main_3 button {
  background-color: maroon;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 20px 0; /* Ensure vertical spacing */
  font-size: 24px;
  display: inline-block;
  width: 80%; /* Allow button width to adjust based on content */
  text-align: center;
}

.index_main_3 button:hover {
  background-color: #6f0000; /* Slightly darker shade of maroon */
}

/* Button Heading Styling */
.index_main_3 button h3 {
  margin: 0;
  font-size: 1.5rem;
}

/* Quote Text Styling */
.index_main_3 p {
  font-size: 1.4rem; /* Reduced font size */
  padding: 10px; /* Reduced padding */
  margin: 5px 0; /* Add margin for spacing */
  line-height: 1.4;
}

/* Card Styling for Services */
.index_main_3 .card {
  color: white;
  text-align: center;
  font-size: 14px; /* Reduced font size */
  padding: 4px; /* Reduced padding */
  border: none;
  height: 100%;
  border-radius: 8px;
  margin: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.index_main_3 .card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

/* Card Text Styling */
.index_main_3 .card-text {
  font-weight: 500;
  line-height: 1.4;
  font-size: 16px; /* Reduced font size */
  padding: 5px; /* Reduced padding */
  margin: 2px 0; /* Add margin for spacing */
}/* Extra Small Screens (325px) */
/* Extra Small Screens (325px) */
@media (max-width: 325px) {
  .index_main_3 {
    padding: 10px;
  }

  .index_main_3 button {
    font-size: 14px;
    width: 95%;
  }

  .index_main_3 p {
    font-size: 0.8rem;
  }

  .index_main_3 .image img,
  .index_main_3 .image-2 img {
    max-width: 220px; /* Reduced image size */
    width: 50%; /* Ensure images are responsive */
  }
}

/* Small Screens (375px) */
@media (max-width: 375px) {
  .index_main_3 button {
    font-size: 15px;
    width: 92%;
  }

  .index_main_3 p {
    font-size: 0.85rem;
  }

  .index_main_3 .image img,
  .index_main_3 .image-2 img {
    max-width: 250px; /* Reduced image size */
    width: 100%; /* Ensure images are responsive */
  }
}

/* Medium Small Screens (480px) */
@media (max-width: 480px) {
  .index_main_3 button {
    font-size: 16px;
    width: 90%;
  }

  .index_main_3 p {
    font-size: 0.9rem;
  }

  .index_main_3 .image img,
  .index_main_3 .image-2 img {
    max-width: 320px; /* Reduced image size */
    width: 100%; /* Ensure images are responsive */
  }
}

/* Small Tablets (576px) */
@media (max-width: 576px) {
  .index_main_3 button {
    font-size: 17px;
    width: 85%;
  }

  .index_main_3 p {
    font-size: 1rem;
  }

  .index_main_3 .image img,
  .index_main_3 .image-2 img {
    max-width: 380px; /* Reduced image size */
    width: 100%; /* Ensure images are responsive */
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .index_main_3 .col-md-6 {
    flex: 1 1 100%;
    padding: 10px;
  }

  .index_main_3 button {
    font-size: 18px;
    width: 80%;
  }

  .index_main_3 p {
    font-size: 1rem;
  }

  .index_main_3 .image img,
  .index_main_3 .image-2 img {
    max-width: 450px; /* Reduced image size */
    width: 100%; /* Ensure images are responsive */
  }
}

/* Laptops (1024px) */
@media (max-width: 1024px) {
  .index_main_3 {
    padding: 15px;
  }



  .index_main_3 .img-2 img {
    max-width: 200px;
  }
}

/* Larger Screens (1440px) */
@media (max-width: 1440px) {
  .index_main_3 {
    padding: 20px;
  }

  .index_main_3 button {
    font-size: 22px;
    width: 65%;
  }

  .index_main_3 p {
    font-size: 1.3rem;
  }

  .index_main_3 .img-2 img {
    width: 100%
  }
}

/* Ultra-Wide Screens (2560px) */
@media (max-width: 2560px) {
  .index_main_3 {
    padding: 30px;
  }

  .index_main_3 button {
    font-size: 26px;
    width: 60%;
    padding: 1rem;
  }

  .index_main_3 p {
    font-size: 1.5rem;
  }

  .index_main_3 .img-2 img {
    max-width: 900px;
  }
}/* Main Section Styling */
.index_main_4 {
  padding: 0;
  min-height: 100vh; /* Ensures it spans the entire viewport height */
  background-color: #ffffff;
  display: flex;
  align-items: flex-start; /* Align content to the top */
  justify-content: flex-start; /* Ensure the content starts at the top */
}

/* Column Styling */
.index_main_4 .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

/* Button Styling */
.index_main_4 button {
  background-color: maroon;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 20px 0; /* Ensure vertical spacing */
  font-size: 20px;
  display: inline-block;
  width: 100%; /* Allow button width to adjust based on content */
  text-align: center;
}

.index_main_4 button:hover {
  background-color: #6f0000; /* Slightly darker shade of maroon */
}

/* Button Heading Styling */
.index_main_4 button h3 {
  margin: 0;
  font-size: 1.5rem;
}

/* Quote Text Styling */
.index_main_4 p {
  font-size: 1.4rem; /* Reduced font size */
  padding: 10px; /* Reduced padding */
  margin: 5px 0; /* Add margin for spacing */
  line-height: 1.4;
}/* Styling for .image class */
.index_main_4 .image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 10px; /* Space below images */
}

/* Styling for .image-2 class */
.index_main_4 .image-2 img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 10px; /* Space below images */
}

/* Main Image Styling */
.index_main_4 .col-md-6 .image img,
.index_main_4 .col-md-6 .image-2 img {
  width: 100%; /* Ensure the image fills its container */
  max-width: 600px; /* Maximum width for larger screens */
  object-fit: cover; /* Ensure the image covers its area */
  border-radius: 8px; /* Round the corners */
}

/* For better responsiveness, add flex styling to the columns */
.index_main_4 .col-md-6 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px; /* Add some padding for spacing */
  margin-bottom: 20px; /* Add space between columns */
}

/* Ensure both images are responsive across smaller devices */
.index_main_4 .col-md-6 .image img,
.index_main_4 .col-md-6 .image-2 img {
  width: 90%; /* Make images slightly smaller on smaller devices */
  max-width: 100%; /* Ensure the image doesn't exceed its container */
  margin: 0 auto; /* Center the image */
}

/* Extra Small Screens (320px) */
@media (max-width: 320px) {
  .index_main_4 {
    min-height: 100vh;
  }

  .index_main_4 p {
    font-size: 0.7rem; /* Smaller font size */
    margin: 5px 0;
  }

  .index_main_4 button {
    font-size: 14px;
    width: 95%;
  }

  /* Resize images for smaller screens */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 150px; /* Smaller image */
    height: auto;
  }
}

/* Small Screens (375px) */
@media (max-width: 375px) {
  .index_main_4 {
    min-height: 100vh;
  }

  .index_main_4 p {
    font-size: 0.8rem; /* Slightly smaller font size */
    margin: 5px 0;
  }

  .index_main_4 button {
    font-size: 15px;
    width: 92%;
  }

  /* Resize images for small screens */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 200px; /* Smaller image */
    height: auto;
  }
}

/* Medium Small Screens (480px) */
@media (max-width: 480px) {
  .index_main_4 {
    min-height: 100vh;
  }

  .index_main_4 p {
    font-size: 0.9rem;
    margin: 5px 0;
  }

  .index_main_4 button {
    font-size: 16px;
    width: 90%;
  }

  /* Resize images for medium small screens */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 250px; /* Smaller image */
    height: auto;
  }
}

/* Small Tablets (576px) */
@media (max-width: 576px) {
  .index_main_4 {
    min-height: 100vh;
  }

  .index_main_4 p {
    font-size: 1rem;
    margin: 5px 0;
  }

  .index_main_4 button {
    font-size: 17px;
    width: 85%;
  }

  /* Resize images for small tablets */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 300px; /* Smaller image */
    height: auto;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .index_main_4 {
    min-height: 100vh;
  }

  .index_main_4 .col-md-6 {
    flex: 1 1 100%;
    padding: 10px;
  }

  .index_main_4 p {
    font-size: 1rem;
    margin: 5px 0;
  }

  .index_main_4 button {
    font-size: 18px;
    width: 80%;
  }

  /* Resize images for tablets */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 200px; /* Smaller image */
    height: auto;
  }
}/* Laptop (1024px) */
@media (min-width: 1024px) {
  .index_main_4 {
    padding: 15px;
  }

  .index_main_4 img {
    max-width: 450px;
  }

  /* Add responsiveness for images inside .image and .image-2 */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 80%; /* Adjust the image size to fit better */
    height: auto;
    margin: 0 auto; /* Center the image */
  }
}

/* Larger Screens (1440px) */
@media (min-width: 1440px) {
  .index_main_4 {
    padding: 20px;
  }

  .index_main_4 img {
    max-width: 750px;
  }

  /* Add responsiveness for images inside .image and .image-2 */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width: 95%; /* Slightly larger image */
    height: auto;
    margin: 0 auto; /* Center the image */
  }
}

/* Ultra-Wide Screens (2560px) */
@media (min-width: 2560px) {
  .index_main_4 {
    padding: 30px;
  }

  .index_main_4 button {
    font-size: 24px;
    width: 60%;
  }

  .index_main_4 img {
    max-width: 1200px;
  }

  /* Add responsiveness for images inside .image and .image-2 */
  .index_main_4 .image img,
  .index_main_4 .image-2 img {
    max-width:100%;
    height: auto;
    margin: 0 auto; /* Center the image */
  }
}
/* General Styles */
.index_main_5 {
  padding-bottom: 4rem;
  min-height: 100vh; /* Ensure it spans the entire viewport height */
  background-color: #ffffff; /* Carousel item background color */
}

/* Image Styling */
.index_main_5 img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Button Styling */
.service-button {
  background-color: maroon;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0; /* Ensure vertical spacing */
  font-size: 24px;
  display: inline-block;
  width: auto; /* Allow button width to adjust based on content */
}

/* Service Description Text Styling */
.service-description {
  font-size: 1.6rem;
  padding: 10px;
  line-height: 1.5;
}

/* For Extra Small Screens (320px) */
@media (max-width: 320px) {
  .index_main_5 {
    padding-bottom: 3rem;
    min-height: 100vh; /* Ensure full height */
  }

  .index_main_5 button {
    font-size: 12px; /* Further reduce button font size */
    margin: 8px 5px; /* Adjust button spacing */
    padding: 0.4rem 1rem; /* Further reduce button padding */
  }

  .index_main_5 p {
    font-size: 10px; /* Further reduce paragraph font size */
  }
}

/* For Small Screens (375px) */
@media (max-width: 375px) {
  .index_main_5 {
    padding-bottom: 3.5rem;
    min-height: 100vh; /* Ensure full height */
  }

  .index_main_5 button {
    font-size: 14px;
    margin: 10px 8px; /* Adjust button spacing */
    padding: 0.5rem 1.2rem; /* Adjust button padding */
  }

  .index_main_5 p {
    font-size: 12px; /* Adjust paragraph font size */
  }
}

/* For Medium Screens (480px) */
@media (max-width: 480px) {
  .index_main_5 {
    padding-bottom: 3.5rem; /* Slightly smaller padding */
    min-height: 100vh; /* Ensure full height */
  }

  .index_main_5 button {
    font-size: 14px;
    margin: 10px 8px; /* Adjust button spacing */
    padding: 0.5rem 1.2rem; /* Adjust button padding */
  }

  .index_main_5 p {
    font-size: 12px; /* Adjust paragraph font size */
  }
}

/* For Small Screens (576px) */
@media (max-width: 576px) {
  .index_main_5 {
    padding-bottom: 4rem;
    min-height: 100vh; /* Ensure full height */
  }

  .index_main_5 button {
    font-size: 14px;
    margin: 10px 8px; /* Adjust button spacing */
    padding: 0.5rem 1.2rem; /* Adjust button padding */
  }

  .index_main_5 p {
    font-size: 12px; /* Adjust paragraph font size */
  }
}

/* For Medium Screens (max-width: 768px) */
@media (max-width: 768px) {
  .index_main_5 {
    padding-bottom: 4rem;
    min-height: 100vh; /* Ensure full height */
  }

  .index_main_5 button {
    font-size: 16px;
    margin: 15px 10px; /* Adjust button spacing */
    padding: 0.5rem 1.5rem; /* Adjust button padding */
  }

  .index_main_5 p {
    font-size: 14px; /* Adjust paragraph font size */
  }
}

/* For Laptop Screens (min-width: 1024px) */
@media (min-width: 1024px) {
  .index_main_5 {
    padding-bottom: 5rem; /* Adjust padding for larger screens */
  }

  .index_main_5 button {
    font-size:22px; /* Increase button font size */
    margin: 20px 15px; /* Adjust button spacing */
    padding: 0.6rem 1.8rem; /* Increase button padding */
  }

  .index_main_5 p {
    font-size: 16px; /* Increase paragraph font size */
  }
}

/* For Larger Screens (min-width: 1440px) */
@media (min-width: 1440px) {
  .index_main_5 {
    padding-bottom: 6rem; /* Adjust padding for larger screens */
  }

  .index_main_5 button {
    font-size: 20px; /* Further increase button font size */
    margin: 25px 20px; /* Adjust button spacing */
    padding: 0.8rem 2rem; /* Increase button padding */
  }

  .index_main_5 p {
    font-size: 18px; /* Further increase paragraph font size */
  }
}

/* For Ultra-Wide Screens (min-width: 2560px) */
@media (min-width: 2560px) {
  .index_main_5 {
    padding-bottom: 7rem; /* Adjust padding for ultra-wide screens */
  }

  .index_main_5 button {
    font-size: 24px; /* Further increase button font size */
    margin: 30px 25px; /* Adjust button spacing */
    padding: 1rem 2.5rem; /* Increase button padding */
  }

  .index_main_5 p {
    font-size: 20px; /* Further increase paragraph font size */
  }
}
/* Carousel Control Buttons Styling */
.carousel-control-prev,
.carousel-control-next {
  position: fixed !important;
  top: 0;
  bottom: 0;
  width: 10px !important;
  
  border-radius: 10%; /* Make the background a circle */
 
  color: #000000 !important;
  padding: 20px; /* Add padding around the button */
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease; /* Smooth hover effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

/* Left and Right Button Positioning */
.carousel-control-prev {
  left: -50px;
}

.carousel-control-next {
  right: -50px;
}

/* Carousel Control Icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 50px;
  padding: 10px; /* Padding around the icon */
  background-size: 100%;
  filter: invert(1); /* Make icons visible against black background */
}

/* Custom Labels Above the Buttons */
.carousel-control-prev::before,
.carousel-control-next::before {
  content: attr(data-label);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);

  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 11;
}

.carousel-control-next::before {
  content: "Next";
}

.carousel-control-prev::before {
  content: "Prev";
}

.index_footer {
  clear: both;
  width: 100%;
  color: #fff;
  padding: 10px;
  position: fixed;
  text-align: center; /* Center text for smaller screens */
  background-color: black;
  left: 0;
  bottom: 0;
  z-index: 1000;
}

.index_footer a {
  color: white; /* Change to desired link color */
  text-decoration: none; /* Remove underline */
  margin: 0 40px; /* Space between links */
  display: flex; /* Ensures the icon and text are aligned */
  align-items: center; /* Align icon with text */
}

.index_footer a:hover {
  text-decoration: underline; /* Optional: Add underline on hover */
}

.index_footer i {
  padding-right: 20px; /* Adjust padding between icon and text */
}


/* Responsive styles */
@media (max-width: 768px) {
  .index_footer {
    padding: 8px; /* Reduce padding for smaller screens */
    font-size: 12px; /* Adjust font size */
    justify-content: center !important; /* Center items on smaller screens */
  }

  .index_footer a {
    margin: 0 10px; /* Further reduced space between links */
    display: flex; /* Ensure the icon and text are aligned */
    align-items: center; /* Align icon with text */
  }

  .index_footer i {
    padding-right: 5px; /* Further adjust padding between icon and text */
  }


}

@media (max-width: 480px) {
  .index_footer {
    padding: 4px; /* Further reduce padding for very small screens */
    font-size: 12px; /* Further adjust font size */
    justify-content: center; /* Center items on smaller screens */
    align-items: center; /* Ensure items are vertically centered */
    display: flex; /* Ensure Flexbox is applied */
    text-align: center; /* Center text for small screens */
  }

  .index_footer a {
    margin: 0 80px; /* Further reduced space between links */
    display: flex; /* Ensure the icon and text are aligned */
    align-items: center; /* Align icon with text */
  }

  .index_footer i {
    padding-right: 5px; /* Further adjust padding between icon and text */
  }
}


/* Responsive styles for 1024px screens */
@media (min-width: 1024px) {
  .index_footer {
    padding: 12px; /* Adjust padding for 1024px screens */
    font-size: 14px; /* Slightly larger font size for readability */
    justify-content: center !important; /* Center items */
  }

  .index_footer a {
    margin: 0 15px; /* Adjust space between links */
    display: flex; /* Ensure the icon and text are aligned */
    align-items: center; /* Align icon with text */
  }

  .index_footer i {
    padding-right: 7px; /* Adjust padding between icon and text */
  }
}

/* Responsive styles for 1440px screens */
@media (min-width: 1440px) {
  .index_footer {
    padding: 20px; /* Increase padding for 1440px screens */
    font-size: 18px; /* Larger font size for readability */
    justify-content: center !important; /* Center items */
  }

  .index_footer a {
    margin: 0 20px; /* Adjust space between links */
    display: flex; /* Ensure the icon and text are aligned */
    align-items: center; /* Align icon with text */
  }

  .index_footer i {
    padding-right: 10px; /* Increase padding between icon and text */
  }
}

/* Responsive styles for 2560px screens */
@media (min-width: 2560px) {
  .index_footer {
    padding: 35px; /* More padding for 2560px screens */
    font-size: 32px; /* Larger font size for readability */
    justify-content: center !important; /* Center items */
  }

  .index_footer a {
    margin: 0 30px; /* Larger space between links */
    display: flex; /* Ensure the icon and text are aligned */
    align-items: center; /* Align icon with text */
  }

  .index_footer i {
    padding-right: 14px; /* More padding between icon and text */
  }
}