body {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #111;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.hero {
    position: relative;
    text-align: center;
    color: white;
}

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

.hero-text {
    position: absolute;
    top: 40%; /* Adjusted from 50% to 45% to move text upwards */
    left: 52%;
    transform: translate(-50%, -50%);
    color: #000; /* Set hero text color to black */
}

.hero-text button {
    padding: 10px 20px;
    background-color: #444;
    color: #fff;
    border: none;
    cursor: pointer;
}

.hero-text button:hover {
    background-color: #333;
}

#services-heading {
    text-align: center; /* Center the text horizontally */
    margin: 0 auto; /* Center the element itself if needed */
    font-size: 2em; /* Adjust font size as needed */
    color: #dbd2d2; /* Ensure text color contrasts with background */
    padding: 20px 0; /* Add some padding for better spacing */
}

.about-content, .services-content {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.about-section, .service {
    flex: 1;
    margin: 10px;
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
}

.about-content {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #111; /* Ensure background color matches the overall theme */
}

.about-section {
    position: relative;
    flex: 1;
    margin: 10px;
    border-radius: 20px;
    overflow: hidden; /* Ensure the background image doesn't overflow the container */
    background-color: #222; /* Fallback background color */
    height: 200px; /* Set a smaller fixed height for the sections */
    max-width: 400px; /* Set a fixed width for consistency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for 3D effect */
    transition: transform 0.3s ease; /* Smooth transition on hover */
    transform-style: preserve-3d; /* Ensure 3D effect is maintained */
}

.about-section:hover {
    transform: scale(1.05); /* Slightly scale on hover */
}

.about_expertise-text, .about_approach-text, .about_results-text {
    position: relative;
    z-index: 1;
    color: #fff; /* Ensure text color contrasts with the background */
    padding: 20px;
    height: 80%; /* Ensure the text container takes the full height of the section */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about_expertise-text::before, .about_approach-text::before, .about_results-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensure the background image covers the entire container */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    z-index: -1;
}

.about_expertise-text::before {
    background-image: url('images/about_expertise.png'); /* Path to your background image */
}

.about_approach-text::before {
    background-image: url('images/about_approach.png'); /* Path to your background image */
}

.about_results-text::before {
    background-image: url('images/about_results.png'); /* Path to your background image */
}

.about_expertise-text img, .about_approach-text img, .about_results-text img {
    display: none; /* Hide the image element as it's now used as a background */
}

.about-section h3{
    color: #fff;
    position: relative;
    z-index: 2;
    margin: 0; /* Ensure no additional margins are added */
},
.about-section p {
    position: relative;
    z-index: 2;
    margin: 0; /* Ensure no additional margins are added */
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Ensure the children stretch to the same height */
    padding: 20px;
    background-color: #111; /* Ensure background color matches the overall theme */
}

.contact-info {
    flex: 1;
    color: #fff;
    padding: 20px;
    background-color: #222; /* Background color for the contact info section */
    border-radius: 10px;
}

#map {
    flex: 1;
    margin-left: 20px;
    height: auto; /* Ensure the height adjusts to its content */
    border-radius: 10px;
    overflow: hidden;
    background-color: #222; /* Background color for the map section */
}

#map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.contact-info, #map {
    margin: 20px;
}

footer {
    background-color:  #111; /* Background color similar to your screenshot */
    padding: 10px 0; /* Reduce the padding to make the footer smaller */
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0; /* Reduce the padding to make the footer smaller */
}

footer p {
    margin: 0;
    color: #f4efef;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-line {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin: 10px auto 0; /* Adjust the margin to reduce space */
}


/* Existing styles */

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #222;
    padding: 20px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    text-align: center;
    margin-bottom: 20px;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal label {
    margin-bottom: 5px;
    color: #ccc;
}

.modal input, .modal textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #555;
    background-color: #333;
    color: #fff;
    width: 100%;
}

.modal button {
    padding: 10px 15px;
    border: none;
    background-color: #444;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    width: 100px;
}

.modal button[type="reset"] {
    background-color: #666;
    margin-left: 10px;
}

.modal button:hover {
    background-color: #333;
}

.modal .button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}