
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, white, 	#8C92AC);
  min-height: 100vh;
}

/* Header */
header.background-img {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 80px;
  background: linear-gradient(to right,#A9A9A9, #4169E1);
  background-repeat: no-repeat;
  background-position-y: center;
}

.Header-logo img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 10%;
}

/* Navigation */
nav {
  background-color: floralwhite;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

nav a.active {
  color: #0071c5; 
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  height: 50px;
}

nav a{
  height: 100%;
  padding: 0 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}

li[onclick="hideSidebar()"] img {
  width: 50px;  /*Adjust as needed*/
  height: 50px; /*This will maintain the aspect ratio*/;
}

li[onclick="showSidebar()"] img {
  width: 50px;  /*Adjust as needed*/
  height: 50px; /*This will maintain the aspect ratio*/;
}


nav a:hover {
  background-color: lightgray;
}

.sidebar li:first-child {
  margin-right: auto;
}

.home-button {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 120px;
  z-index: 999;
  background-color: floralwhite;
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px -10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li{
  width: 100%;
}

.sidebar a{
  width: 100%;
}

.menu-button{
  display: none;
}

@media(max-width: 800px){
.hideOnMobile {
  display: none;
}
.menu-button {
  display: block;
}
}

@media(max-width: 400px){
  .sidebar {
    width:100%;
  }
}

/*video section*/
#tree1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container {
  position: relative;
  width: 100%;
  height: 50vh;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Welcome Section */
.WelcomeIntro {
  text-align: center;
  color: black;
}

.WelcomeIntro h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: black;
}

.WelcomeIntro p {
  font-size: 1.2rem;
  margin-top: 10px;
  text-align: center;
  color: black;
  position: relative;
  display: inline-block;
}

.WelcomeIntro p::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px; /* Spacing below the text */
  width: 100%;
  height: 2px; /* Thickness of the underline */
  background-color: black; /* Solid black underline */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.WelcomeIntro p:hover::after {
  transform: scaleX(1); /* Expands underline on hover */
}


/* Services Section */
#services {
  padding-top: 50px;
}

.service {
  margin: 0 auto;
  text-align: center; /* Ensures consistent alignment */
}

.services {
  padding-top: 50px;
  margin-bottom: 20px;
  border-bottom: 5px solid #000; /* Keeps the section visually separated */
  padding-bottom: 10px;
  width: 100%;
}

#services h2 {
  margin-bottom: 20px;
  border-bottom: 5px solid #000;
  padding-bottom: 10px;
  width: 100%;
  text-align: center; /* Centers the heading */
}

/* Services Section */
.service h3 {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  display: inline-block;
}

.service h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px; /* Spacing below the text */
  width: 100%;
  height: 2px; /* Thickness of the underline */
  background-color: black; /* Solid black underline */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.service h3:hover::after {
  transform: scaleX(1); /* Expands underline on hover */
}


.services-provided {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 30px;
  width: 95%;
  margin-left: auto; /* Centers the grid container */
  margin-right: auto; /* Centers the grid container */
}

.services-provided > .service:nth-child(odd):last-child {
  grid-column: 1 / -1; /* Makes the last odd item span the entire row */
  justify-self: center; /* Centers the item horizontally */
  max-width: 50%; /* Limit width to about one column (adjust as needed) */
}


.service img {
  margin-top: 20px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service p {
  margin-top: 30px; 
}

.service img:hover {
  transform: scale(1.1);
}

.service-video {
  margin-top: 20px;
  width: 100%;
  transition: transform 0.3s ease;
}

.service-video:hover {
  transform: scale(1.1);
}

/* Reviews Section */
#reviews {
  padding-top: 50px;
}

#reviews h2 {
  border-bottom: 5px solid black;
  padding-bottom: 10px;
}

#reviews li img {
  position: relative;
  text-align: center;
  width: 85%;
  height: auto;
  margin: 20px; 
  border: 4px solid black;
  transition: transform 0.3s;
}

#reviews li:hover img {
  transform: scale(1.1);
}

footer {
  position: relative;
  width: 100%;
  min-height: 80px;
  background: linear-gradient(to right,#A9A9A9, #4169E1);
  background-repeat: no-repeat;
  background-position-y: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.footer-bottom {
  text-align: center;
  padding: 10px;
}

#about {
  position: relative;
  padding-top: 50px;
  text-align: center;
  font-size: 30px;
  color: black;
}
#about h1 {
  position: relative;
  color: black;
  text-align: center;
  bottom: 40px;
}

#about h1::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgb(0, 0, 0), transparent);
  animation: fadeEffect 5s infinite;
}

#about .person {
  text-align: center;
  padding-top: 40px;
}
.person h3 {
  position: relative;
  color: black;
  text-align: center;
}
.person h3::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgb(0, 0, 0), transparent);
  animation: fadeEffect 5s infinite;
}

#about .person img {
  width: 200px;  /* Adjust as needed */
  height: auto;
}

.customer-care {
  margin-top: 50px;
}

.contact-form {
  width: 80%;
  margin: 50px auto;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #0071c5;
}

.contact-form label {
  display: block;
  margin: 10px 0;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  background: #0071c5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background: #005999;
}