/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  background-color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.top-nav {
  background-color: #f60; /* Light gray background */
  padding: 10px 0;
  height: 50px;
}

.top_nav-container {
  display: flex;
  justify-content: space-between;
  gap: 90px; /* Space items evenly */

  width: 80%; /* Limit container width to 80% */
  margin: 0 auto; /* Center container horizontally */
  display: flex; /* Allow elements to sit side-by-side */
}
.top_icon {
  height: 20px;
}
.phone {
  margin-top: 2px;
}
.p_phone {
  margin-left: 50px;
  margin-top: -25px;
}
.address {
  color: #333; /* Gray text color */
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.search-bar {
  display: flex;
  align-items: center; /* Align search icon and input vertically */
}

.search-bar input[type="text"] {
  padding: 5px;
  border: 1px solid #ccc; /* Light gray border */
  border-radius: 3px; /* Rounded corners */
  margin-right: 5px;
}

.search-bar button {
  background-color: transparent; /* Remove button background */
  border: none; /* Remove button border */
  cursor: pointer; /* Indicate clickable element */
}

nav {
  padding: 20px 0;
  height: 70px;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  margin-top: -17px;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  height: 55px;
  margin-right: 10px;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f60;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url("./aa.jpeg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 120vw;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 4rem;

  font-weight: bolder;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 1);
  margin-bottom: 20px;
  margin-left: -40%;
  margin-top: 10%;
}

.hero h2 {
  font-size: 1.5rem;

  margin-left: -40%;
  font-weight: bolder;
  text-shadow: 10px 10px 10px rgb(0, 0, 0, 1);
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  position: relative;
  z-index: 1;
  background-color: #f60;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-left: -40%;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e50;
}

/* About Section */
.about {
  display: flex;
  /* margin-left: 23%; */
  height: -10%;
  padding: 80px 0;
  background-color: #f9f9f9;
}

.about h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #f60;
  font-size: 2rem;
}

.about p {
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.cta-container {
  position: relative;
  width: 100%;
  display: inline-block;
}

.cta-container::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 200px;
  height: 120px;

  background-size: cover;
  background-repeat: no-repeat;

  z-index: -1;
}

/* Services Section */
.services {
  background-color: var(--light-orange);
  padding: 100px 0;
  /* margin-left: 23%; */
}

.services .section-title {
  color: var(--dark-orange);
  text-align: center;
  color: #f60;
  margin-bottom: 50px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  border: 2px solid #f60;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 40px 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  background-color: var(--dark-orange);
  color: var(--text-light);
  width: 100px;
  height: 100px;

  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.1);
}

.service-icon i {
  font-size: 2rem;
}

.service-item h3 {
  color: var(--dark-orange);
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: bold;
}

.service-item p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contact Section */

.svg_container {
  /* border: 2px solid red; */
  display: flex;
  justify-content: space-evenly;
}

.contact-form-container {
  padding: 80px 0;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
  color: #f60;
  font-size: 2rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form textarea {
  height: 150px;
}

.submit {
  display: inline-block;
  background-color: #f60;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e50;
}

/* Footer */
footer {
  background-color: #333;

  color: #fff;
  padding: 50px 0 20px;
  width: 100vw;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
}
.footer-logo img {
  height: 80px;
  margin-left: 45px;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer_links a:hover {
  color: #f60;
}

.footer-social a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 15px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-contact {
  text-decoration: none;
  
}

/* Responsive Design */
@media (max-width: 450px) {
  .search-bar {
    display: none;
  }
  .address {
    margin-top: -3px;
  }
  .phone {
    margin-top: -2px;
    width: 190%;
  }
  .nav-links {
    display: none;
  }

  .footer-content > div {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .services {
    margin-left: 80px;
  }
  .hero h1 {
    margin-left: 8%;
    font-size: 2.5rem;
  }
  .hero h2 {
    display: none;
  }
  .cta-button {
    margin-left: 8%;
  }
  .about {
    border-radius: 2px;
    margin-left: 70px;
  }
  .svg {
    display: none;
  }
  .contact-form-container {
    margin-left: 50px;
  }

  footer {
    width: 120%;
  }
}

@media only screen and (min-width: 700px) and (max-width: 1200px) {
  .hero h1 {
    /* border: 2px solid red; */
    font-size: 3rem;
    margin-left: 0%;
  }
  .hero h2 {
    font-size: 1.5rem;
    margin-left: 0%;
  }
  .cta-button {
    margin-left: 0%;
  }
 

  .service-grid {
    width: 120%;
    display: flex;
    justify-content: space-evenly;
    margin-left: 0%;
  }
  .service-item {
   
    padding: 3%;
   
  }
 .section-title{
     margin-left:9%;
 }
  .contact-form-container {
    margin-left: 50px;
  }
  .about{
      margin-left:11%;
  }
  footer {
    width: 120%;
  }
}
