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

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #efddb7;
  line-height: 1.6;
  /* Full height of the viewport */
  margin: 0; /* Remove default margin */
  min-height: 100vh;
}

.content {
  flex: 1; /* Fills remaining space, pushing footer to the bottom */
}
header {
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: flex-start; /* Aligns content to the left on desktop */
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
  margin-bottom: 1%;
}

header .logo {
  max-width: 250px;
  height: auto;
  width: 220px;
}
@media (max-width: 768px) {
  header {
    justify-content: center; /* Centers the logo on mobile */
    height: 50px;
    padding: 10px 15px;
    margin-bottom: 2%;
  }

  header .logo {
    max-width: 200px; /* Scales down the logo for mobile */
  }
}

.container {
  display: flex;
  justify-content: flex-end;
  height: 100vh;
}

.hero {
  background-image: url("../images/luxury_tow2.jpg");
  background-size: cover;
  background-position: center;
  color: #efffab;
  text-align: center;
  padding: 50px 20px;
  background-repeat: no-repeat;
}

.hero h2 {
  color: #efffab;
}

.service {
  width: 30%;
  margin: 10px;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  background-color: #efddb7;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: space-around;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 2em;
}

.hero p {
  font-size: 1.5em;
}

.hero a {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background-color: #ad2a1e;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
  }

  .service {
    width: 100%;
    max-width: 90%; /* Optional for slight padding */
    margin-bottom: 20px;
  }
  .service-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .hero h2 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 1em;
  }

  .hero a {
    padding: 10px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.3em;
  }

  .hero p {
    font-size: 0.9em;
  }

  .service {
    padding: 15px;
  }

  .service-image {
    width: 100%;
  }
}

/* .hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.5em;
}
.hero a {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background-color: #ad2a1e;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
} */
/* .logo {
  max-width: 100%;
  height: auto; 
  width: 220px; 
} */

/* NAVBAR */
/* General Navbar Styling */
nav {
  background-color: #d8af28;
  padding: 10px 0;
  text-align: center;
  font-weight: bolder;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Navigation Menu (Desktop View) */
#nav-menu {
  display: flex; /* Default display for desktop */
  list-style-type: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

#nav-menu li {
  margin: 0 20px;
}

#nav-menu li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

#nav-menu li a:hover {
  background-color: #e4c769;
  color: white;
  border-radius: 4px;
}

/* Burger Menu (Hidden on Desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 3%;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  /* Hide the desktop nav menu on mobile */
  #nav-menu {
    display: none;
  }

  /* Show the burger menu icon */
  .menu-toggle {
    display: flex;
  }

  /* Dropdown Menu Styling */
  #nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 15%; /* Aligns the dropdown below the toggle */
    left: 0;
    background-color: #d8af28;
    width: 200px;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: max-height 0.3s ease-in-out;
  }

  /* Dropdown menu item styling */
  #nav-menu li a {
    padding: 12px 20px;
    color: white;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #nav-menu li:last-child a {
    border-bottom: none;
  }

  /* Active link hover effect */
  #nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .split-container {
    flex-direction: column; /* Stack containers vertically */
    align-items: center;
  }
  .right-container {
    order: 1; /* Appear first */
    flex-basis: 100%;
    padding: 10px;
    margin: 0;
  }
  .left-container {
    order: 2; /* Appear second */
    flex-basis: 100%;
    padding: 10px;
    margin: 0;
  }
  .services-container .service-card,
  .service-box {
    width: 90%; /* Full width */
  }
  /* Form adjustments */
  #service-form {
    width: 90%;
  }

  #service-form input[type="text"],
  #service-form input[type="email"],
  #service-form input[type="tel"],
  #service-form textarea,
  #service-form select,
  #service-form input[type="submit"] {
    font-size: 14px;
    padding: 10px;
  }

  #service-form input[type="submit"] {
    font-size: 18px;
  }
}

button {
  font-size: 18px;
  width: 100%;
  background-color: #ad2a1e; /* Button color */
  color: white; /* Text color */
  padding: 16px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Mobile Responsive Navbar Styles */

.mid-section {
  padding: 50px 20px;
  background-repeat: no-repeat;
  color: white;
}
.mid-section h1 {
  font-size: 1.5em;
  box-shadow: 0 0 50px #d8af28, 0 0 150px red;
}

/* NEW SERVICE PAGE  */

.split-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.left-container {
  flex-basis: 60%;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  padding-right: 20px;
  flex-direction: column;
}

.right-container {
  flex-basis: 40%;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  padding-left: 20px;
  flex-direction: column;
  margin-right: 4%;
}

.service-card {
  background-color: #e8ebee; /* Light background */
  border: 1px solid #ddd; /* Border around card */
  border-radius: 8px; /* Rounded corners */
  padding: 15px;
  text-align: center;
  /* flex: 1 1 calc(30% - 20px); Responsive card size */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation */
  color: white;
  margin-left: 10px;
  margin-right: 10px;
}

.service-card li {
  color: #666;
  text-align: left;
  margin-left: 20px;
}

.service-card i {
  font-size: 2em; /* Icon size */
  color: #007bff; /* Icon color */
  margin-bottom: 10px; /* Space below icon */
}

.service-card h3 {
  margin: 10px 0; /* Space above and below title */
  font-size: 1.5em; /* Title size */
  color: #333; /* Title color */
}

.service-card p {
  font-size: 1em; /* Description size */
  color: #666; /* Description color */
}

/* .service {
  width: 30%;
  margin: 10px;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  border-color: white;
} */

.service h3 {
  font-size: 1.5em;
}

.service p {
  font-size: 1em;
  color: #7f8c8d;
}

.service-image {
  width: 100%;
  margin: 10px;
  padding: 10px;
  text-align: center;

  height: auto;
  box-shadow: 0 0 20px #d8af28, 0 0 20px #ad2a1e;
  border-radius: 19%;
  border-color: white;
}

.service-options-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Creates 3 equal-width columns */
  gap: 20px; /* Adds space between the boxes */
  justify-content: center; /* Centers the grid in the container */
  padding: 20px;
  margin-bottom: 20px;
}

.form-fields-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 20%; /* Adds space between the boxes */
  justify-content: center; /* Centers the grid in the container */
  padding: 20px;
}
.service-option i {
  font-size: 2em;
  margin-bottom: 10px;
}
.service-option.selected {
  color: #ad2a1e;

  border-color: #ad2a1e;
}
input[type="radio"] {
  display: none;
}
.service-option:hover {
  background-color: #ead3a2;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3), 0px -6px 12px rgba(0, 0, 0, 0.15);
}

form label {
  font-size: 14px;
}
form#service-form {
  display: flex;
  flex-direction: column; /* Stack the form fields vertically */
  justify-content: center;
  align-items: center; /* Center the form elements horizontally */
  width: 100%; /* Ensure it takes up the full width */
}
input[type="radio"]:checked + img {
  border: 2px solid #ad2a1e; /* or any other visual style */
}

.service-box {
  display: inline-block;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  width: 150px;
  margin: 10px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  position: relative;
}
form {
  margin: 12px;
  /* max-width: 600px;
  padding: 20px;

  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}
/* Style the image inside the label */
.service-box img {
  width: 50px; /* Adjust size as needed */
  display: block;
  margin: 0 auto 10px;
}

/* Ensure the span (text) gets the same styles when selected */
.service-box input[type="radio"]:checked + img + span {
  display: block;
  background-color: #cce5ff; /* Highlight color */
  padding: 10px 0;
  border-radius: 10px;
}
.form-container {
  display: flex;
  justify-content: flex-end; /* Moves the form to the right */
  width: 100%;
}
.left-side {
  width: 50%; /* Take up the other half of the page */
  /* Optional background color for contrast */
}
#service-form {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.service-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  height: 90px;
  text-align: center;
  cursor: pointer;
  background-color: #e8ebee;
  transition: background-color 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), 0px -4px 8px rgba(0, 0, 0, 0.1);
}

/* Style for form inputs to make them bigger and uniform */
#service-form input[type="text"],
#service-form input[type="email"],
#service-form input[type="tel"],
#service-form textarea,
#service-form select {
  width: 100%;
  padding: 12px;

  box-sizing: border-box;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #ccc;
}

/* For submit button */
#service-form input[type="submit"] {
  width: 100%;
  background-color: #ad2a1e; /* Button color */
  color: white; /* Text color */
  padding: 16px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#service-form input[type="submit"]:hover {
  background-color: #ad2a1a; /* Hover effect for submit button */
}

/* END */
.h2-container {
  display: flex;
  justify-content: flex-end; /* Align the text to the right */
  align-items: center; /* Center the text vertically */
  /* Ensure it takes up the full height */
  padding: 20px; /* Add padding for space around the text */
  box-sizing: border-box; /* Ensure padding is included in the total height */
}

h2 {
  margin-top: 3%;
  align-self: center;
  color: #1ea1ad;
}

h1 {
  margin-top: 3%;
  align-self: center;
  text-align: center;
  color: #ad2a1e;
}

/* Testimonial page styles */
.testimonial-container {
  text-align: center;
  padding: 20px;
}

.slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
}

.slide.active {
  display: block;
}

.testimonials-section {
  margin-top: 20px;
}

/* Testimonial page styles */
/* .testimonial-container {
  text-align: center;
  padding: 20px;
}

.slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
}

.slide.active {
  display: block;
}

.testimonials-section {
  margin-top: 20px;
} */

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

.slide {
  min-width: 100%;
}

button.prev,
button.next {
  position: relative;
  top: 50%;
  transform: translateY(50%);
  background: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  cursor: pointer;
}

button.next {
  left: 10px;
}

button.prev {
  right: 10px;
}

.slide img {
  max-width: 1000px; /* Set the maximum width of the image */
  max-height: auto; /* Set the maximum height */
  width: auto; /* Adjust width based on max-height */
  height: auto; /* Adjust height based on max-width */
  opacity: 0.7;
}

/* SERVICE PAGE */

/* ABOUT */

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9; /* Light background */
  color: #333; /* Dark text */
}

h1 {
  text-align: center;
  color: #ad2a1e; /* Primary color for headings */
  margin-bottom: 20px;
}

h2 {
  color: #1ea1ad; /* Darker blue for section headings */
  margin-bottom: 10px;
}

p {
  line-height: 1.6; /* Improved readability */
  margin-bottom: 20px;
}

.mission-vision {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px; /* Space between sections */
}

.mission,
.vision {
  background-color: #ffffff; /* White background for contrast */
  border: 1px solid #ddd; /* Light border */
  border-radius: 8px; /* Rounded corners */
  padding: 20px;
  flex: 1; /* Allow equal width */
  margin: 0 10px; /* Space between columns */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.mission img,
.vision img {
  width: 100%; /* Make the image take the full width of the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 6px; /* Adjust to match or slightly soften the container's corners */
  object-fit: cover; /* Ensures the image fills the container nicely */
  mask-image: linear-gradient(
    to top,
    transparent,
    black
  ); /* Fading mask from transparent to solid */
  -webkit-mask-image: linear-gradient(
    to top,
    transparent,
    black
  ); /* Webkit support */
}

@media (max-width: 768px) {
  .mission-vision {
    flex-direction: column; /* Stack mission and vision sections vertically */
  }

  .mission,
  .vision {
    margin: 10px 0; /* Add vertical spacing */
  }
}

.team-section {
  text-align: center;
  margin-top: 40px; /* Space above team section */
}

.team-member {
  display: inline-block; /* Allow members to be inline */
  width: 30%; /* Adjust width for responsiveness */
  margin: 10px; /* Space around each member */
  background-color: #ffffff; /* White background */
  border: 1px solid #ddd; /* Light border */
  border-radius: 8px; /* Rounded corners */
  padding: 15px; /* Padding for content */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.team-member img {
  width: 100%; /* Responsive image */
  border-radius: 50%; /* Circular profile picture */
  margin-bottom: 10px; /* Space below image */
}

.team-member h3 {
  color: #007bff; /* Primary color for member names */
  margin-bottom: 5px; /* Space below name */
}

.team-member p {
  color: #666; /* Lighter color for roles */
}

.contact-container {
  max-width: 600px;
  width: 90%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-container h1 {
  color: #ad2a1e; /* User's preferred H1 color */
  margin-bottom: 16px;
}

.contact-details {
  margin-top: 20px;
}

.contact-details p {
  margin: 8px 0;
  color: #333;
}

.contact-details a {
  color: #0066cc;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 100vh; */
}

footer {
  background-color: white;
  padding: 10px 0;
  height: 80px;
  text-align: center;
  font-size: 10px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  box-sizing: border-box;
  padding-bottom: 5%;
}

footer a {
  color: #f58732;
  margin-top: -5px;
  font-size: small;
  font-weight: lighter;
  text-decoration: none;
}
footer p {
  margin-top: -5p;
  color: #f58732;
  margin-top: -5px;
  font-size: small;
  margin-bottom: -5px;
  font-weight: lighter;
}

.ibextechlogo {
  width: 90px;
  height: auto;
  margin: 0;
  margin-top: 0;
}

main {
  flex: 1; /* Takes up all available space */
  min-height: 100%; /* Ensures content pushes footer down */
}

.form-caption {
  font-style: italic;
  font-size: 0.8em;
  color: #888; /* A light gray color for a subtle caption */
  margin-bottom: 10px; /* Adjust the margin as needed */
}

.send-location {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  justify-content: center;
  align-items: center;
  width: 40%;
  margin: 0 auto; /* Center the container */
  padding: 20px;
  box-sizing: border-box;
}

.send-location input[type="text"],
.send-location input[type="tel"] {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #ccc;
  margin-bottom: 15px; /* Add space between inputs */
}

.send-location label {
  text-align: left; /* Align text to the left */
  margin-bottom: 5px; /* Add some space below each label for better spacing */
  font-size: 16px;
}

/* Responsive styling */
@media (max-width: 768px) {
  .send-location {
    width: 80%; /* Increase width on smaller screens */
  }
}

@media (max-width: 480px) {
  .send-location {
    width: 90%; /* Full width on mobile devices */
  }
}

.about-image {
  size: relative;
}
