/* General reset for the page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.highlight {
    color: #265785; /* This color will apply to all spans with the 'highlight' class */
}

html {
    height: 100%; /* Ensure the HTML element is as tall as the viewport */
}

header {
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 15%;
    position: relative;
}

body {
    font-family: Arial, sans-serif;
    background: rgb(243, 243, 243);
    min-height: 100vh;
    display: flex;
    margin: 0;
    flex-direction: column;
    overflow-y: scroll;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000000;
    color: white;
    width: 100%;
    bottom: 0;
    margin-top: -25px;
}

main {
    max-width: 100%; /* Adjust the width to suit your preference */
    margin: 0 auto; /* Center the content by using auto margins */
    padding: 0px;
    flex: 1;
}

.logo-image {
    width: 200px; /* Adjust size of logo */
    height: auto; /* Keep the aspect ratio */
}

.nav-bar ul {
    list-style-type: none;
    display: flex;  /* Makes the list items appear horizontally */
    font-family: verdana, sans-serif;
}

.nav-bar ul li {
    margin-right: 10px; /* Space between each nav item */
}

.nav-bar ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 16px;
}

.nav-bar ul li a:hover {
    text-decoration: none; /* Remove default underline */
    position: relative; /* Needed for pseudo-element positioning */
}

.nav-bar ul li a::after {
    content: ''; /* Creates an empty pseudo-element */
    position: absolute;
    left: 0;
    bottom: 0; /* Position it at the bottom of the text */
    height: 4px; /* Thickness of the underline */
    bottom: -26px;
    width: 100%; /* Full width of the text */
    background: white; /* Underline color */
    transform: scaleX(0); /* Start with no width */
    transition: transform 0s; /* Animation */
}

.nav-bar ul li a:hover::after {
    transform: scaleX(0.9); /* Scale to full width on hover */
}

.nav-bar ul li a.active {
    text-decoration: none; /* No underline for active link */
}

.nav-bar ul li a.active::after {
    transform: scaleX(0); /* No underline for active link */
}

.nav-bar ul li a.contact-link:hover::after {
    content: none; /* Ensures no hover effect is applied */
}

.nav-bar ul li a.contact-link {
    background-color: #3c849b; /* Background color for Contact */
    color: white; /* Text color */
    border: none; /* Border color and thickness */
    border-radius: 7px; /* Optional: Rounded corners */
    padding: 8px 16px; /* Ensure padding matches other links */
    text-decoration: none; /* Remove underline */
}

.nav-bar ul li a.contact-link:hover {
    background-color: #265785; /* Slightly lighter background on hover */
    border-color: #aaaaaa; /* Change border color on hover */
}

.nav-bar ul li a.contact-link.current {
    background-color: #265785; /* Highlighted background for current page */
    color: #92cbe6; /* Text color */
    border-color: #aaaaaa; /* Optional: border to highlight */
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    height: 550px;
    overflow: hidden;
    width: 100vw;
  }
  
  .mySlides {
    display: none;
    width: 100%;
    height: 100%;  /* Ensures the content fits the container's height */
}

.mySlides video, .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: fill;  /* Ensures both images and videos fit within the container */
}
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    color: rgba(187, 187, 187, 0.8);
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

.message, .message3, .message5 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    font-weight: bold;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    display: none;
}

.message2, .message4, .message6 {
    top: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-family: initial;
    color: white;
    font-weight: bold;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    display: none;
}

.message4 p {
    text-align: center;
}

.message4 br {
    display: block;
    margin-bottom: 10px;
}

/* Show the message after 3 seconds */
.message.show, .message2.show, .message3.show, .message4.show, .message5.show, .message6.show {
    display: block;
    animation: fadeIn 4s ease;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    display: flex;
    max-width: 100%;
    justify-content: center;
    padding: 0 15%;
    margin-bottom: 50px;
    gap: 40px; /* Add gap between columns */
}

.text-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-top: 40px;
    text-align: justify; /* Changed from left to justify */
    text-justify: inter-word;
    padding: 20px;
    line-height: 1.6; /* Increased for better readability */
    flex: 1; /* Equal width columns */
    max-width: 50%; /* Ensure equal sizing */
    hyphens: auto; /* Enable automatic hyphenation */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.text-section {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #000000;
    color: white; 
}

/* Header style */
.section-header {
    font-size: 42px;
    margin-top: 30px;
    margin-bottom: 60px;
    font-family: fantasy;
    letter-spacing: 2px;
}

/* Styling for the text boxes container */
.text-box-container {
    display: flex;
    margin-top: 50px;
    justify-content: center;
    margin-bottom: 40px;
}

.box-header {
    font-size: 24px;
    margin-bottom: 25px;  /* Space between header and text */
    font-weight: bold;
    color: #ffffff;
    text-align: center;
}

/* Styling for individual text boxes */
.text-box {
    width: 14%;  /* 3 boxes per row */
    padding: 20px;
    min-height: 300px;  /* Adjust this value as needed */
    border: 2px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: left;
    margin: 0 55px;
}

.text-section2 {
    background-color: #f4f4f4;
    justify-content: center;
    align-items: center;
    padding: 40px;
    margin: auto;
    margin-top: 20px;
    border-radius: 10px;
    display: flex;
    max-width: 80%; /* Add max-width for better control */
    gap: 10%;
}

.section-header2 {
    text-align: left;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000000;
}

.text-content2 {
    flex: 0.7; /* Takes remaining space after image */
    min-width: 0; /* Prevents flex item from overflowing */
}

.text-section2 p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    margin-top: 30px;
}

.text-section2-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.text-section2-image img {
    width: 400px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services-section {
    background-color: #f4f4f4;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.section-header-services {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #000000;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.service-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.service-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.contact-section-main {
    max-width: 100%;
    margin: 17px auto;
    padding: 40px 20px;
    background-color: black; /* Light background for the form section */
    border:none;
    text-align: center;
}

.contact-section-main h1 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 1000;
    font-style: inherit;
    margin-bottom: 0px;
}

.contact-section-main p {
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 300;
    color: #ffffff;
}

.contact-form-main {
    display: flex;
    max-width: 600px;
    flex-direction: column;
    gap: 5px;
    margin: 0 auto;
}

.contact-form-main label {
    font-size: 14px;
    text-align: left;
    font-weight: 550;
    color: #ffffff;
    margin-top: 15px;
}

.contact-form-main input,
.contact-form-main textarea  {
    padding: 10px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    resize: none;
}

.contact-form-main input:focus,
.contact-form-main textarea:focus {
    border-color: #363636; /* Optional focus color for input */
    outline: none;
}

.contact-form-main button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid black;
    border-color: #000000;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-bottom: 40px;
}

.contact-form-main button:hover {
    background-color: #000000;
    color: white;
    border-color: white;
}


/* Banner Section Styling */
.contact-banner {
    position: relative; /* Enables positioning of text over the image */
    width: 100%;
    height: 400px; /* Adjust the height of the image */
    overflow: hidden; /* Ensures content doesn't spill outside */
}

.contact-banner .banner-image {
    width: 100%; /* Make the image span the full width */
    height: 100%; /* Make the image take the full height of the section */
    object-fit: fill; /* Ensures the image fits nicely without distortion */
}

.contact-banner .banner-text {
    position: absolute; /* Position text over the image */
    top: 50%; /* Move text 50% from the top */
    left: 50%; /* Move text 50% from the left */
    transform: translate(-50%, -50%); /* Perfectly center the text */
    text-align: center; /* Center-align the text */
    color: white; /* Text color */
    font-family: Arial, sans-serif; /* Optional font */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Optional shadow for better readability */
}

.contact-banner .banner-text h1 {
    font-size: 2.5rem; /* Adjust heading size */
    margin-bottom: 10px;
}

.contact-section {
    max-width: 600px;
    margin: 17px auto;
    padding: 40px 20px;
    background-color: transparent; /* Light background for the form section */
    border:none;
    text-align: center;
}

.contact-section h1 {
    color: #000000;
    font-size: 26px;
    font-weight: 1000;
    font-style: inherit;
    margin-bottom: 0px;
}

.contact-section p {
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 300;
    color: #000000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form label {
    font-size: 14px;
    text-align: left;
    font-weight: 550;
    color: #000000;
    margin-top: 15px;
}

.contact-form input,
.contact-form textarea  {
    padding: 10px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #363636; /* Optional focus color for input */
    outline: none;
}

.contact-form button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid black;
    border-color: #000000;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.contact-form button:hover {
    background-color: #000000;
    color: white;
}

.g-recaptcha {
    margin: 15px 0;
}

/* Slideshow container */
.slideshow-container2 {
    max-width: 100%;
    width: 100vw;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.video-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.video-slide.active {
    display: block;
    object-fit: fill;
    width: 100%;
    height: 100%;
}

.message-overlay {
    position: absolute;
    top: 50%;  /* Center vertically */
    left: 50%;  /* Center horizontally */
    transform: translate(-50%, -50%);  /* Perfect centering */
    z-index: 10;  /* Ensure it stays on top */
    color: rgb(255, 255, 255);  /* Text color */
    font-size: 40px;  /* Large text */
    font-weight: bolder;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);  /* Text shadow for better visibility */
    font-family: Arial, sans-serif;
    width: 70%;
    padding: 20px;
}


.about-section {
    width: 80%;
    padding: 20px 30px;
    margin: 40px auto 0; /* Center horizontally and add space from the top */
    text-align: center;  /* Center the text */
}

.about-section h1 {
    font-size: 26px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 15px;
    color: #000000;
}

.about-section p {
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 100px;
    line-height: 1.6;
    color: #000000;
}

.values-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three boxes per row */
    gap: 10px 30px; /* Reduce vertical spacing */
    width: 90%;
    margin: 0 auto;
    margin-bottom: 100px;
    background-image: url('background.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Makes the background static while scrolling */
  }

  .value-box {
    position: relative;
    margin-top: 40px;
    width: 100%;
    height: 250px;
    background-color: transparent;
    perspective: 1000px; /* Enables 3D flip effect */
  }

  .value-box .inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }

  .value-box:hover .inner {
    transform: rotateY(180deg); /* Flip on hover */
  }

  /* Front side of the card */
  .value-box .front, .value-box .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides back side when not flipped */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .value-box .front {
    background-size: cover;      /* Ensure the image covers the entire box */
    background-position: center; /* Center the image */
    color: #ffffff;
  }

  .value-box .front h3 {
    position: relative;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 34px;
    font-weight: bold;
  }

  /* Back side of the card */
  .value-box .back {
    background-color: white;
    color: #6d6d6d;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #000000;
    transform: rotateY(180deg); /* Starts flipped */
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
  }

  .locations-section img {
    width: 100%;
    background-color: black;
    margin-top: 40px;
    margin-bottom: 50px;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .alt-slideshow-wrapper {
    max-width: 100%;
    width: 100vw;
    height: 550px;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.alt-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.alt-slide.showing {
    display: block;
}

.alt-slide img, .alt-slide video {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Optional fade animation */
.alt-fade {
    animation: altFade 1.5s ease;
}

@keyframes altFade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.service-message {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    font-weight: bold;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    display: none;
    width: 80%;  /* Added width */
    text-align: center;  /* Added text-align */
    margin: 0 auto;  /* Added margin */
}

.service-message2 {
    top: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-family: initial;
    color: white;
    font-weight: bold;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    display: none;
    width: 80%;  /* Added width */
    text-align: center;  /* Added text-align */
    margin: 0 auto;  /* Added margin */
}

/* Also add these same styles for the first slide's messages */
.message {
    width: 50%;
    text-align: center;
    margin: 0 auto;
}

.message2 {
    width: 50%;
    text-align: center;
    margin: 0 auto;
}

.services-main {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.services-main-header {
    text-align: left;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000000;
}

.services-main-content {
    flex: 1;
    max-width: 900px;
}

.services-main p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    margin-top: 30px;
    padding-right: 40px;
    font-weight: bold;
}

.services-main-image {
    display: flex;
    align-items: center;
    margin-left: 100px;
}

.services-main-image img {
    max-width: 450px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.our-services {
    background-color: #000000;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.our-services-header {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #ffffff;
}

.our-services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:50px 30px;
}

.our-service-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    position: relative; /* Added for icon positioning */
}

.our-service-box:hover {
    cursor: pointer;
}

.our-service-icon {
    font-size: 35px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.our-service-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    z-index: 10;
}

.our-service-box p {
    font-size: 16px;
    color: #292929;
    line-height: 1.6;
    margin-right: 70px;
}

.contact-section-main2 {
    max-width: 100%;
    margin: 17px auto;
    padding: 40px 20px;
    background-color: transparent;
    border:none;
    text-align: center;
}

.contact-section-main2 h1 {
    color: #000000;
    font-size: 26px;
    font-weight: 1000;
    font-style: inherit;
    margin-bottom: 0px;
}

.contact-section-main2 p {
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 300;
    color: #000000;
}

.contact-form-main2 {
    display: flex;
    max-width: 600px;
    flex-direction: column;
    gap: 5px;
    margin: 0 auto;
}

.contact-form-main2 label {
    font-size: 14px;
    text-align: left;
    font-weight: 550;
    color: #000000;
    margin-top: 15px;
}

.contact-form-main2 input,
.contact-form-main2 textarea  {
    padding: 10px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #000000;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    resize: none;
}

.contact-form-main2 input:focus,
.contact-form-main2 textarea:focus {
    border-color: #363636; /* Optional focus color for input */
    outline: none;
}

.contact-form-main2 button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid black;
    border-color: #000000;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-bottom: 40px;
}

.contact-form-main2 button:hover {
    background-color: #000000;
    color: white;
    border-color: white;
}

.chatbot {
    width: 300px;
    height: 500px;
    background-color: #ffffff; /* White background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    display: flex;
    margin-left: auto;
    margin-right: 10%;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transform: translateY(-430px);
}

.chatbot .right-image {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Ensure the image covers the box without distortion */
    border-radius: 15px; /* Match the box border radius */
  }
  
  .text-chatbot {
    width: 35%;
    margin-top: 130px;
    margin-left: 10%;
  }

  .text-chatbot h2 {
    font-size: 54px;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
  }

  .text-chatbot p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 60px;
    line-height: 26px;
    color: #000000;
  }


  .text-chatbot2 {
    width: 75%;
    text-align: center;
    margin: 0 auto;  /* Added to center horizontally */
    position: relative;  /* Added */
    display: flex;      /* Added */
    flex-direction: column;  /* Added */
    align-items: center;     /* Added */
    transform: translateY(-280px);
}

.text-chatbot2 h2 {
    font-size: 44px;
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    width: 100%;  /* Added */
}

.text-chatbot2 p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 26px;
    text-align: justify;
    color: #000000;
    max-width: 100%;  /* Added to control paragraph width */
}

.text-chatbot2 h3 {
    font-size: 30px;
    margin-top: 60px;
    margin-bottom: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: left;
    width: 100%;  /* Added */
}

.real-estate-section {
    background-color: #d8d8d8;  /* Or any background you want */
    padding: 60px 0;
    margin: 0;
    width: 100%;
}

.housing {
    width: 550px;
    height: 350px;
    background-color: #ffffff; /* White background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    display: flex;
    margin-left: auto;
    margin-right: 10%;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transform: translateY(-350px);
}

.housing img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Ensure the image covers the box without distortion */
    border-radius: 15px; /* Match the box border radius */
  }
  
  .text-housing {
    width: 35%;
    margin-left: 10%;
  }

  .text-housing h2 {
    font-size: 54px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
  }

  .text-housing p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 60px;
    line-height: 26px;
    color: #000000;
  }


  .text-housing2 {
    width: 75%;
    text-align: center;
    margin: 0 auto;  /* Added to center horizontally */
    position: relative;  /* Added */
    display: flex;      /* Added */
    flex-direction: column;  /* Added */
    align-items: center;     /* Added */
    transform: translateY(-150px);
}

.text-housing2 h2 {
    font-size: 44px;
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    width: 100%;  /* Added */
}

.text-housing2 p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 26px;
    text-align: justify;
    color: #000000;
    max-width: 100%;  /* Added to control paragraph width */
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
    max-width: 1500px;
    margin: 0 auto;
    transform: translateY(-100px);
}

.feature-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.tick-icon {
    background: #007bff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.feature-header h3 {
    margin: 0;
    font-size: 20px;
    color: #000000;
    font-weight: 600;
}

.feature-box p {
    margin: 0;
    color: #000000;
    line-height: 1.5;
    font-size: 16px;
}

.health {
    width: 550px;
    height: 350px;
    background-color: #ffffff; /* White background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    display: flex;
    margin-left: auto;
    margin-right: 10%;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transform: translateY(-340px);
}

.health img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Ensure the image covers the box without distortion */
    border-radius: 15px; /* Match the box border radius */
  }
  
  .text-health {
    width: 35%;
    margin-top: 130px;
    margin-left: 10%;
  }

  .text-health h2 {
    font-size: 54px;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
  }

  .text-health p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 60px;
    line-height: 26px;
    color: #000000;
  }


  .text-health2 {
    width: 75%;
    text-align: center;
    margin: 0 auto;  /* Added to center horizontally */
    position: relative;  /* Added */
    display: flex;      /* Added */
    flex-direction: column;  /* Added */
    align-items: center;     /* Added */
    transform: translateY(-150px);
}

.text-health2 h2 {
    font-size: 44px;
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    width: 100%;  /* Added */
}

.text-health2 p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 26px;
    text-align: justify;
    color: #000000;
    max-width: 100%;  /* Added to control paragraph width */
}

.text-health2 h3 {
    font-size: 30px;
    margin-top: 60px;
    margin-bottom: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: left;
    width: 100%;  /* Added */
}

.tos-container {
    width: 90%; /* Made wider from 80% */
    max-width: 1000px; /* Increased from 800px */
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: black; /* White text to match your screenshot */
    margin-bottom:20px;
}

.tos-title {
    font-size: 38px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
}

.tos-section-header {
    font-size: 30px; /* Made larger */
    font-weight: bold;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}

.tos-paragraph {
    text-align: left; /* Changed from center to left */
    margin-bottom: 15px;
    line-height: 1.6;
}

.tos-list {
    display: block; /* Changed from inline-block */
    text-align: left;
    width: 100%; /* Full width */
    margin: 0 0 15px 0; /* Removed auto margins */
    padding-left: 40px; /* Increased padding */
}

.tos-list-item {
    margin-bottom: 10px;
    line-height: 1.5;
}

.tos-highlight {
    font-weight: bold;
    margin: 15px 0;
    text-align: left;
}

.tos-link {
    color: #265785; /* White links to match your screenshot */
    text-decoration: none;
}

.tos-link:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444; /* Darker border to match dark theme */
}

.pp-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: black;
}

.pp-title {
    font-size: 38px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
}

.pp-section-header {
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pp-paragraph {
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.6;
}

.pp-list {
    display: block;
    text-align: left;
    width: 100%;
    margin: 0 0 15px 0;
    padding-left: 40px;
}

.pp-list-item {
    margin-bottom: 10px;
    line-height: 1.5;
}

.pp-highlight {
    font-weight: bold;
    margin: 15px 0;
    text-align: left;
}

.pp-link {
    color: #ffffff;
    text-decoration: none;
}

.pp-link:hover {
    text-decoration: underline;
}


/* MOBILE DEVICES CODE

/* ============================================
   RESPONSIVE MEDIA QUERIES
   Add these at the END of your style.css file
   ============================================ */

/* Hide hamburger menu on desktop */
.hamburger-menu {
    display: none;
}

.menu-overlay {
    display: none;
}

/* ============================================
   TABLET LANDSCAPE (1024px and below)
   ============================================ */
@media screen and (max-width: 1024px) {
    /* Header */
    header {
        padding: 11px 3%;
    }
    
    .logo-image {
        width: 150px;
    }
    
    .nav-bar ul li a {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    /* Slideshow heights */
    .slideshow-container,
    .slideshow-container2,
    .alt-slideshow-wrapper {
        height: 400px;
    }
    
    /* Messages */
    .message, .message3, .message5, .service-message {
        font-size: 36px;
    }
    
    .message2, .message4, .message6, .service-message2 {
        font-size: 22px;
    }
    
    /* Container sections - FIXED */
    .container {
        padding: 0 5%;
        flex-direction: column;
        gap: 0;
    }
    
    .text-content {
        max-width: 80%;
        margin: 20px auto;
        font-size: 17px;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Text boxes - 2 columns */
    .text-box-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .text-box {
        width: calc(45% - 10px);
        margin: 0;
        min-height: 280px;
    }
    
    /* Text section 2 */
    .text-section2 {
        flex-direction: column;
        max-width: 90%;
        padding: 30px;
    }
    
    .text-content2 {
        max-width: 100%;
    }
    
    .text-section2-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
    
    /* Services boxes - 2 columns */
    .services-container,
    .our-services-container {
        gap: 20px;
    }
    
    .service-box,
    .our-service-box {
        width: calc(48% - 10px);
    }
    
    /* Values section - 2 columns */
    .values-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Housing and Health sections - tablet fixes */
    .housing,
    .health,
    .chatbot {
        width: 400px;
        height: 280px;
        margin: 40px auto !important;
        transform: none !important;
        position: relative !important;
    }
    
    .text-housing,
    .text-health,
    .text-chatbot {
        width: 50%;
        margin: 40px 5% !important;
        transform: none !important;
        position: relative !important;
    }
    
    .text-housing h2,
    .text-health h2,
    .text-chatbot h2 {
        font-size: 42px;
    }
    
    .text-housing p,
    .text-health p,
    .text-chatbot p {
        font-size: 17px;
    }
    
    .text-housing2,
    .text-health2,
    .text-chatbot2 {
        width: 80%;
        margin: 40px auto !important;
        transform: none !important;
        position: relative !important;
    }
    
    .text-housing2 h2,
    .text-health2 h2,
    .text-chatbot2 h2 {
        font-size: 32px;
    }
    
    .text-housing2 p,
    .text-health2 p,
    .text-chatbot2 p {
        font-size: 17px;
    }
    
    .text-housing2 h3,
    .text-health2 h3,
    .text-chatbot2 h3 {
        font-size: 26px;
    }
    
    /* Feature boxes */
    .feature-boxes {
        margin: 40px auto !important;
        transform: none !important;
        position: relative !important;
    }
}

/* ============================================
   TABLET PORTRAIT MEDIUM (820px - 900px)
   Fixes for iPad Air, iPad Pro 11" portrait
   ============================================ */
@media screen and (max-width: 900px) and (min-width: 769px) {
    /* Slideshow height for medium tablets */
    .slideshow-container,
    .slideshow-container2,
    .alt-slideshow-wrapper {
        height: 350px;
    }
    
    /* Fix slider messages for medium tablets */
    .message, .message3, .message5, .service-message {
        font-size: 30px !important;
        width: 85% !important;
        top: 33% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: absolute !important;
        text-align: center !important;
    }
    
    .message2, .message4, .message6, .service-message2 {
        font-size: 20px !important;
        width: 85% !important;
        top: 58% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: absolute !important;
        text-align: center !important;
    }
    
    /* Container fixes for two-column text - FIXED */
    .container {
        display: block !important;
        padding: 0 5%;
    }
    
    .text-content {
        max-width: 100% !important;
        width: 100% !important;
        float: none !important;
        margin: 20px auto !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        font-size: 17px;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Hide line breaks on medium tablets */
    .text-content br {
        display: none;
    }
    
    /* Message overlay fix for About Us page on medium tablets */
    .message-overlay {
        font-size: 18px !important;
        width: 88% !important;
        max-width: 88% !important;
        padding: 12px !important;
        line-height: 1.25 !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        overflow: hidden !important;
        max-height: 85% !important;
        text-align: center !important;
    }
    
    /* Services main section */
    .services-main {
        display: block !important;
    }
    
    .services-main-content,
    .services-main-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
    
    .services-main-image {
        margin-top: 30px;
    }
}

/* ============================================
   TABLET PORTRAIT (768px and below)  
   ============================================ */
@media screen and (max-width: 768px) {
    /* Header - keep horizontal layout like desktop */
    header {
        padding: 15px 3%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo-image {
        width: 160px;
    }
    
    .nav-bar {
        width: auto;
        margin-top: 0;
    }
    
    .nav-bar ul {
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .nav-bar ul li {
        margin-right: 0;
    }
    
    .nav-bar ul li a {
        font-size: 15px;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    .nav-bar ul li a.contact-link {
        padding: 8px 14px;
    }
    
    /* Slideshow */
    .slideshow-container,
    .slideshow-container2,
    .alt-slideshow-wrapper {
        height: 300px;
    }
    
    .message, .message3, .message5, .service-message {
        font-size: 28px;
        width: 85%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: absolute !important;
        text-align: center !important;
    }
    
    .message2, .message4, .message6, .service-message2 {
        font-size: 18px;
        width: 85%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: absolute !important;
        text-align: center !important;
    }
    
    /* Fix broken layout on index page slider 3 */
    .mySlides .message5 {
        font-size: 24px !important;
        width: 80% !important;
        top: 32% !important;
        line-height: 1.2 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .mySlides .message6 {
        font-size: 17px !important;
        width: 80% !important;
        top: 55% !important;
        line-height: 1.3 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    /* Container - FIXED */
    .container {
        display: block !important;
        width: 100% !important;
        padding: 0 5%;
        flex-direction: column;
    }
    
    .text-content {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 16px;
        padding: 20px !important;
        margin: 20px 0 !important;
        float: none !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .text-content + .text-content {
        margin-top: 0 !important;
    }
    
    /* Hide line breaks on tablet */
    .text-content br {
        display: none;
    }
    
    /* Services main section fixes */
    .services-main {
        display: block !important;
        padding: 30px 15px;
    }
    
    .services-main-content {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .services-main-image {
        margin-left: 0 !important;
        margin-top: 20px;
        width: 100% !important;
        text-align: center;
    }
    
    .services-main-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    /* Section headers */
    .section-header {
        font-size: 34px;
        margin-bottom: 40px;
    }
    
    .section-header2,
    .section-header-services,
    .our-services-header,
    .services-main-header {
        font-size: 28px;
    }
    
    /* Text boxes - single column */
    .text-box-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .text-box {
        width: 100%;
        min-height: auto;
    }
    
    .box-header {
        font-size: 20px;
    }
    
    /* Text section 2 */
    .text-section2 {
        padding: 20px;
        max-width: 95%;
    }
    
    .text-section2 p,
    .services-main p {
        font-size: 16px;
    }
    
    /* Services - single column */
    .services-container,
    .our-services-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-box,
    .our-service-box {
        width: 100%;
    }
    
    /* Services main */
    .services-main {
        flex-direction: column;
        padding: 20px;
    }
    
    .services-main-image {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .services-main-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    /* Values - 2 columns on tablet */
    .values-section {
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
        gap: 15px;
    }
    
    .value-box {
        height: 220px;
    }
    
    .value-box .front h3 {
        font-size: 24px;
    }
    
    /* About section */
    .about-section {
        width: 90%;
        padding: 20px;
    }
    
    .about-section h1 {
        font-size: 24px;
    }
    
    .about-section p {
        font-size: 16px;
    }
    
    /* Feature boxes */
    .feature-boxes {
        grid-template-columns: 1fr;
        max-width: 90%;
        gap: 20px;
    }
    
    /* Solutions page - Housing and Health for tablets */
    .housing,
    .health,
    .chatbot {
        width: 70%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 16/9;
        margin: 30px auto !important;
        transform: none !important;
        position: relative !important;
        display: block !important;
    }
    
    .housing img,
    .health img,
    .chatbot img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .text-housing,
    .text-health,
    .text-chatbot {
        width: 80%;
        margin: 30px auto !important;
        text-align: center;
        transform: none !important;
        position: relative !important;
    }
    
    .text-housing h2,
    .text-health h2,
    .text-chatbot h2 {
        font-size: 38px;
    }
    
    .text-housing p,
    .text-health p,
    .text-chatbot p {
        font-size: 17px;
    }
    
    .text-housing2,
    .text-health2,
    .text-chatbot2 {
        width: 85%;
        margin: 30px auto !important;
        transform: none !important;
        position: relative !important;
    }
    
    .text-housing2 h2,
    .text-health2 h2,
    .text-chatbot2 h2 {
        font-size: 32px;
    }
    
    .text-housing2 h3,
    .text-health2 h3,
    .text-chatbot2 h3 {
        font-size: 26px;
    }
    
    .text-housing2 p,
    .text-health2 p,
    .text-chatbot2 p {
        font-size: 17px;
    }
    
    /* Feature boxes */
    .feature-boxes {
        margin: 30px auto !important;
        transform: none !important;
        position: relative !important;
    }
}

/* ============================================
   MOBILE (480px and below) - HAMBURGER MENU
   ============================================ */
@media screen and (max-width: 480px) {
    /* Reset body */
    body {
        overflow-x: hidden;
    }
    
    /* ==========================================
       HAMBURGER MENU STYLES
       ========================================== */
    
    /* Header with hamburger */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 5%;
        position: relative;
    }
    
    .logo-image {
        width: 130px;
        z-index: 1001;
    }
    
    /* Hamburger Icon */
    .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1001;
        background: none;
        border: none;
        padding: 5px;
    }
    
    .hamburger-menu span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: white;
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    /* Hamburger animation when open */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Mobile Navigation */
    .nav-bar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #000000;
        transition: right 0.4s ease;
        z-index: 1000;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .nav-bar.active {
        right: 0;
    }
    
    .nav-bar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        width: 100%;
    }
    
    .nav-bar ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-bar ul li a {
        display: block;
        width: 100%;
        font-size: 18px;
        padding: 18px 25px;
        text-align: left;
        transition: background-color 0.3s ease, padding-left 0.3s ease;
    }
    
    .nav-bar ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 35px;
    }
    
    /* Remove the hover underline effect */
    .nav-bar ul li a::after {
        display: none;
    }
    
    /* Contact button styling in mobile menu */
    .nav-bar ul li a.contact-link {
        background-color: #3c849b;
        margin: 20px 15px;
        border-radius: 8px;
        text-align: center;
        font-weight: bold;
        width: calc(100% - 30px);
    }
    
    .nav-bar ul li a.contact-link:hover {
        background-color: #265785;
        padding-left: 25px;
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 999;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    /* ==========================================
       FIX SLIDESHOW MESSAGES ALIGNMENT
       ========================================== */
    
    /* Disable video controls on mobile */
    .mySlides video {
        pointer-events: none !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    .mySlides video::-webkit-media-controls {
        display: none !important;
    }
    
    .mySlides video::-webkit-media-controls-enclosure {
        display: none !important;
    }
    
    .mySlides video::-webkit-media-controls-panel {
        display: none !important;
    }
    
    /* Slideshow */
    .slideshow-container,
    .slideshow-container2,
    .alt-slideshow-wrapper {
        height: 250px;
    }
    
    /* ALL slideshow messages - centered and properly sized */
    .message, .message2, .message3, .message4, .message5, .message6,
    .service-message, .service-message2 {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        width: 90% !important;
        max-width: 90% !important;
        padding: 10px !important;
    }
    
    /* First line of text (larger) */
    .message, .message3, .message5, .service-message {
        font-size: 22px !important;
        top: 30% !important;
        font-weight: bold;
    }
    
    /* Second line of text (smaller) */
    .message2, .message4, .message6, .service-message2 {
        font-size: 16px !important;
        top: 60% !important;
        font-weight: bold;
    }
    
    /* Message overlay on About Us page */
    .message-overlay {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 16px !important;
        width: 90% !important;
        max-width: 90% !important;
        text-align: center !important;
        padding: 10px !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 10 !important;
        -webkit-box-orient: vertical !important;
        max-height: 85% !important;
    }
    
    .prev, .next {
        padding: 8px;
        font-size: 16px;
    }
    
    /* Container - FIXED */
    .container {
        padding: 0 5%;
        flex-direction: column;
    }
    
    .text-content {
        max-width: 100%;
        width: 100%;
        font-size: 15px;
        padding: 15px 10px;
        margin: 15px 0;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        word-spacing: normal;
        line-height: 1.6;
    }
    
    /* Hide line breaks on mobile */
    .text-content br,
    .text-section2 br {
        display: none;
    }
    
    /* Section headers */
    .section-header {
        font-size: 28px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .section-header2,
    .section-header-services,
    .our-services-header,
    .services-main-header {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* Text section 2 */
    .text-section2 {
        flex-direction: column;
        max-width: 95%;
        padding: 20px 15px;
        gap: 20px;
    }
    
    .text-content2 {
        width: 100%;
    }
    
    .text-section2 p {
        font-size: 15px;
        text-align: justify;
    }
    
    .text-section2-image {
        width: 100%;
        margin-left: 0;
    }
    
    .text-section2-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Services */
    .services-section,
    .our-services {
        padding: 30px 15px;
    }
    
    .services-container,
    .our-services-container {
        gap: 15px;
    }
    
    .service-box,
    .our-service-box {
        width: 100%;
        padding: 15px;
    }
    
    .service-title,
    .our-service-title {
        font-size: 20px;
    }
    
    .service-box p,
    .our-service-box p {
        font-size: 14px;
        margin-right: 0;
    }
    
    .our-service-icon {
        font-size: 28px;
        right: 15px;
    }
    
    /* Services main */
    .services-main {
        flex-direction: column;
        padding: 20px 15px;
    }
    
    .services-main-content {
        max-width: 100%;
    }
    
    .services-main p {
        font-size: 15px;
        padding-right: 0;
    }
    
    .services-main-image {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .services-main-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    /* Values - single column */
    .values-section {
        grid-template-columns: 1fr;
        width: 95%;
        padding: 15px;
        gap: 20px;
    }
    
    .value-box {
        height: 180px;
        margin-top: 20px;
    }
    
    .value-box .front h3 {
        font-size: 22px;
    }
    
    .value-box .back {
        font-size: 14px;
        padding: 12px;
    }
    
    /* About section */
    .about-section {
        width: 90%;
        padding: 20px 15px;
        margin: 30px auto;
    }
    
    .about-section h1 {
        font-size: 22px;
    }
    
    .about-section p {
        font-size: 15px;
        margin-top: 25px;
        margin-bottom: 40px;
    }
    
    /* ========================================
       CRITICAL: FIX NEGATIVE TRANSFORMS
       ======================================== */
    
    /* Chatbot section */
    .chatbot {
        width: 90%;
        height: 220px;
        margin: 30px auto !important;
        transform: none !important;
        position: relative;
    }
    
    .text-chatbot {
        width: 90%;
        margin: 30px auto !important;
        text-align: center;
    }
    
    .text-chatbot h2 {
        font-size: 28px;
    }
    
    .text-chatbot p {
        font-size: 15px;
        margin-top: 20px;
        text-align: justify;
        text-justify: inter-word;
        line-height: 1.6;
        word-spacing: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .text-chatbot2 {
        width: 90%;
        margin: 30px auto !important;
        transform: none !important;
        position: relative;
    }
    
    .text-chatbot2 h2 {
        font-size: 26px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .text-chatbot2 h3 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .text-chatbot2 p {
        font-size: 15px;
        text-align: justify;
        text-justify: inter-word;
        line-height: 1.6;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Real estate section */
    .real-estate-section {
        padding: 40px 0;
    }
    
    /* Housing section */
    .housing {
        width: 90%;
        height: 220px;
        margin: 30px auto !important;
        transform: none !important;
        position: relative;
    }
    
    .text-housing {
        width: 90%;
        margin: 30px auto !important;
        text-align: center;
    }
    
    .text-housing h2 {
        font-size: 28px;
    }
    
    .text-housing p {
        font-size: 15px;
        margin-top: 20px;
        text-align: justify;
        text-justify: inter-word;
        line-height: 1.6;
        word-spacing: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .text-housing2 {
        width: 90%;
        margin: 30px auto !important;
        transform: none !important;
        position: relative;
    }
    
    .text-housing2 h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .text-housing2 p {
        font-size: 15px;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Health section */
    .health {
        width: 90%;
        height: 220px;
        margin: 30px auto !important;
        transform: none !important;
        position: relative;
    }
    
    .text-health {
        width: 90%;
        margin: 30px auto !important;
        text-align: center;
    }
    
    .text-health h2 {
        font-size: 28px;
    }
    
    .text-health p {
        font-size: 15px;
        margin-top: 20px;
        text-align: justify;
        text-justify: inter-word;
        line-height: 1.6;
        word-spacing: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .text-health2 {
        width: 90%;
        margin: 30px auto !important;
        transform: none !important;
        position: relative;
    }
    
    .text-health2 h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .text-health2 h3 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .text-health2 p {
        font-size: 15px;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Feature boxes */
    .feature-boxes {
        grid-template-columns: 1fr;
        max-width: 95%;
        padding: 15px;
        gap: 15px;
        transform: none !important;
        margin: 30px auto;
    }
    
    .feature-box {
        padding: 15px;
    }
    
    .feature-header h3 {
        font-size: 18px;
    }
    
    .feature-box p {
        font-size: 14px;
    }
    
    /* Contact sections */
    .contact-section-main,
    .contact-section,
    .contact-section-main2 {
        padding: 30px 15px;
        margin: 20px auto 0 auto;
    }
    
    .contact-section-main h1,
    .contact-section h1,
    .contact-section-main2 h1 {
        font-size: 22px;
    }
    
    .contact-section-main p,
    .contact-section p,
    .contact-section-main2 p {
        font-size: 14px;
    }
    
    .contact-form-main,
    .contact-form,
    .contact-form-main2 {
        max-width: 100%;
        padding: 0;
        margin-bottom: 0;
    }
    
    .contact-form-main label,
    .contact-form label,
    .contact-form-main2 label {
        font-size: 13px;
    }
    
    .contact-form-main input,
    .contact-form input,
    .contact-form-main2 input,
    .contact-form-main textarea,
    .contact-form textarea,
    .contact-form-main2 textarea {
        font-size: 14px;
        padding: 8px;
    }
    
    .contact-form-main button,
    .contact-form-main2 button {
        margin-bottom: 0;
    }
    
    /* Remove gap between contact section and footer */
    main {
        margin-bottom: 0;
    }
    
    footer {
        margin-top: 0;
    }
    
    /* Terms/Privacy */
    .tos-container,
    .pp-container {
        width: 95%;
        padding: 15px;
    }
    
    .tos-title,
    .pp-title {
        font-size: 26px;
    }
    
    .tos-section-header,
    .pp-section-header {
        font-size: 20px;
    }
    
    .tos-paragraph,
    .pp-paragraph,
    .tos-list-item,
    .pp-list-item {
        font-size: 14px;
    }
    
    .tos-list,
    .pp-list {
        padding-left: 25px;
    }
    
    /* Footer */
    footer {
        padding: 20px 10px;
        font-size: 13px;
        margin-top: 0;
    }
    
    footer br {
        display: block;
    }
    
    /* Location image */
    .locations-section img {
        margin-top: 20px;
        margin-bottom: 30px;
    }
}

/* ============================================
   VERY SMALL MOBILE (375px and below)
   ============================================ */
@media screen and (max-width: 375px) {
    .logo-image {
        width: 110px;
    }
    
    .hamburger-menu span {
        width: 25px;
    }
    
    .nav-bar {
        width: 75%;
    }
    
    .nav-bar ul li a {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    .slideshow-container,
    .slideshow-container2,
    .alt-slideshow-wrapper {
        height: 220px;
    }
    
    .message, .message3, .message5, .service-message {
        font-size: 20px !important;
    }
    
    .message2, .message4, .message6, .service-message2 {
        font-size: 14px !important;
    }
    
    .message-overlay {
        font-size: 14px !important;
        width: 92% !important;
        padding: 8px !important;
        line-height: 1.15 !important;
        -webkit-line-clamp: 12 !important;
        max-height: 90% !important;
    }
    
    .section-header {
        font-size: 24px;
    }
    
    .text-content {
        font-size: 14px;
    }
    
    .text-chatbot h2,
    .text-housing h2,
    .text-health h2 {
        font-size: 24px;
    }
    
    .text-chatbot2 h2,
    .text-housing2 h2,
    .text-health2 h2 {
        font-size: 22px;
    }
}