/* General styles, including the navbar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: white;

}



section
{

}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: repeating-linear-gradient(217deg, #f60000, transparent 2000px);
  padding: 15px;
 


}

.logo {
  color: white;
  font-size: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 25px;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 19px;
    cursor: pointer;
}

.menu-icon .line {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.menu-icon.change .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.change .line2 {
  opacity: 0;
}

.menu-icon.change .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}




/* Welcome Section Styles */
.welcome-section {
  text-align: center;
  padding: 50px;
  background-color: white;
}

.welcome-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.welcome-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.welcome-image {
  float: left;
  margin-right: 20px;
  width: 290px;
  height: auto;
  border-radius: 10px;
  /* margin-bottom: 20px; */
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #7689DE;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.5s ease-in-out;
    z-index: 1;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .menu-icon {
    display: flex;
    z-index: 2;
  }

  .navbar ul.show-menu {
    top: 0;
  }


   .welcome-section h2 {
    font-size: 28px;
  }

  .welcome-section p {
    font-size: 16px;
  }
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: auto;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Make carousel responsive */
@media screen and (max-width: 768px) {
  .carousel-slide {
    height: 250px; /* Adjust height for smaller screens */
  }

  .prev, .next {
    font-size: 18px;
  }
}


@media screen and (max-width: 768px) {
   .welcome-section h2 {
    font-size: 28px;
  }

  .welcome-section p {
    font-size: 16px;
  }
}


 .portfolio {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      margin-top: 100px;
    }

    .portfolio-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .portfolio-item {
      position: relative;
      width: 300px;
      margin: 10px;
    }

    .portfolio-image {
      width: 100%;
      border-radius: 20px;
    }

    .portfolio-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: none;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 16px;
      padding: 10px;
      border-radius: 20px;
    }

    .portfolio-item:hover .portfolio-overlay {
      display: flex;
    }



    /* why choose us */


    .why-choose-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .why-choose-us-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .why-choose-us-text {
    flex: 1;
    padding: 20px;
  }
  .why-choose-us-text p {
   font-size: 20px;
  }

  .why-choose-us-image {
    flex: 1;
    padding: 20px;
  }

  .why-choose-us-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .why-choose-us-container {
      flex-direction: column;
    }

    .why-choose-us-text {
      order: 2;
    }

    .why-choose-us-image {
      order: 1;
    }
  }



/* article section  */


 .article-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 50px;
    }

    .article-box {
      width: 300px;
      margin: 20px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      padding: 20px;
     background: radial-gradient(#ff0000, #2a2a2cbd);
     border-radius: 15px;
    }

    .article-box img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .article-box .main-text {
      font-weight: bold;
      font-size: 18px;
      margin-bottom: 10px;
      color: white;
      margin-top: 20px;
    }

    .article-box .description {
      font-size: 16px;
      line-height: 1.5;
      margin-bottom: 20px;
      color: white;
    }

    .article-box .read-more {
      background-color: rgb(172,228,239);
      color: black;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }





  /* review  */



  /* Review Slider Container */
.review-slider-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: white;
}

/* Review Slide */
.review-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Review Card */
.review-card {
  min-width: 100%;
  padding: 20px;
  text-align: center;
  background-color:  rgb(102,51,153);
  color: white;
}

.review-card p {
  font-size: 18px;
  margin-bottom: 10px;
}

.review-card h3 {
  margin-bottom: 5px;
  font-size: 22px;
}

.review-card span {
  font-size: 20px;
  color: gold;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 100;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


/* contact us css  */


/* Contact Us Section */
.contact-us-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px;
  /* background-color: white; */
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #555;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-group textarea {
  resize: none;
}

.submit-btn {
  padding: 12px 20px;
  font-size: 16px;
  background-color: rgb(118,137,222);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #218838;
}

/* Map and Address Section */
.contact-details {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

.address-container {
  margin-top: 20px;
}

.address-container h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.address-container p {
  font-size: 16px;
  margin-bottom: 5px;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-us-section {
    flex-direction: column;
  }
}


/* footer */


/* Footer Styles */
.footer {
  background:radial-gradient(#ff0000, #2a2a2cbd);
  color: white;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}

.company-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.company-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Quick Links Styles */
.quick-links h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.quick-links ul {
  list-style: none;
}

.quick-links ul li {
  margin-bottom: 10px;
}

.quick-links ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s;
}

.quick-links ul li a:hover {
  color: #fff;
}

/* Office Info Styles */
.office-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.office-info p {
  font-size: 14px;
  margin-bottom: 10px;
}

.map-container iframe {
  width: 100%;
  border-radius: 5px;
  border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    margin: 20px 0;
  }
}



/* our services css  */


/* Our Services Section */
.our-services {
  padding: 50px 20px;
  /* background-color: #fff; */
  text-align: center;
}

.our-services h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background: radial-gradient(#ff0000, #2a2a2cbd);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.service-item p {
  font-size: 16px;
  color: white;
}

/* Hover Effect */
.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-item {
    margin-bottom: 20px;
  }
}





 .logo-image {
      width: auto;
      height: 100px;
    }

    .social-media-container {
   display: flex;
   /* flex-direction: row; */
   align-items: center;
   /* margin: 20px; */
   justify-content: center;
   text-align: center;
   justify-content: space-between;
   background-color: rebeccapurple;
}

.social-media-container .number {
  font-size: 20px;
}

.social-media-link{
  display: flex;
  gap: 15px;
  margin-right: 15px;
  align-items: center;
}
.social-media-link li {
list-style-type: none;
font-size: 20px;
}

.text{
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .text{
  font-size: 15px;
}
.social-media-link li {

font-size: 15px;
}
.social-media-container .number {
  font-size: 15px;
}
 .logo-image {
      width: 50vw;
      
    }
    .navbar {
  
    padding: 3px 15px;
}
}

.fab{
  color: white;
}