body {
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.8);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.floating-button {
    position: fixed;
    bottom: 80px;
    left: 25px;
    background-color: #f104046d;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: pulse 1.5s 6;
    transition: all 1s ease;
    text-decoration: none;
    -webkit-font-smoothing: antialiased; /* For WebKit browsers */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
}

.floating-button:hover {
    background-color: #e20c0cbb;
    transform: scale(1.12);
    transition: all 1.2s ease;
}


.h1 {
    font-size: 18px;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
    text-align: center;
}

h2 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

article h3 {
    color: #555;
}

.right-align {
    float: right;
    text-align: right;
    font-size: 1.3em;
}

#services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.servicesTitle {
  font-size: 1.5rem; /* Adjust the size as needed */
  text-align: center;
  color: white;
  margin-top: 40px; /* Optional: Adjust the margin as needed */
}

.servicesTitleContainer {
  display: flex;
  justify-content: center;
  align-items: justify;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 1px auto; /* Center the container and add margin */
  width: auto; /* Adjust the width to fit the content */
}

.services-title {
  font-size: 4rem; /* Adjust the size as needed */
  color: white;
  margin: 0; /* Remove default margin */
}


.service-box {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 10px;
    margin: 10px;
    width: calc(25% - 50px); /* Two boxes per row with some margin */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    color: #000;
    line-height: 1.25;
}

.service-box h3 {
    margin-top: 0;
}

.service-icon {
    width: 100px; /* Fixed width */
    height: 100px; /* Fixed height */
    object-fit: scale-down; /* Ensure the image fits within the dimensions */
    margin-bottom: 10px;
}

.bio {

text-align: left;
margin-bottom: 20px;
line-height: 2;
padding-left: 120px; /* Adjust padding values as needed */
padding-right: 120px;
}

.box {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin: 40px auto;
  align-items: left;
  text-align: left;
  width: calc(85% - 100px); /* Two boxes per row with some margin */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-size: 1vw;
  line-height: 1.5;
}

.contactbox {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  align-items: center;
  width: calc(40% - 100px); /* Two boxes per row with some margin */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
}

form input, form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    resize: vertical;
}

form button {
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 25%;
}

form button:hover {
    background: #555;
}

footer {
    text-align: center;
    padding: 2px 0;
    background: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}


.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Background for text readability */
    padding: 20px;
    border-radius: 10px;
}

.slideshow-container {
    max-width: 90%;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

.slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
