@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --bg-color: white;
  --button-color: orange;
  --default-text: black;
  --header-text: #5e3218;
  --nav-bar: rgb(6, 6, 255);
  --thin-text: gray;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--default-text);
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 75px;
  background: var(--nav-bar);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  height: 65px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 90%;
  background: var(--nav-bar);
  margin: auto;
}

nav .navbar .logo a {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
}

nav .navbar .logo img {
  height: 50px;
  margin-right: 10px;
}

nav .navbar .menu {
  display: flex;
}

.navbar .menu li {
  list-style: none;
  margin: 0 15px;
}

.navbar .menu li a {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.navbar .menu li a:hover {
  color: var(--button-color);
}

.navbar .menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--button-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.navbar .menu li a:hover::after {
  width: 100%;
}

.menu-btn {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
}

/* Hero Section */
#Home {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 75px;
}

#Home h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1.5s;
}

#Home p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 30px;
  animation: fadeInUp 1.5s;
}

.btn {
  display: inline-block;
  background: var(--button-color);
  color: white;
  padding: 12px 30px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  animation: fadeIn 2s;
}

.btn:hover {
  background: #ff8c00;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Section */
#About {
  padding: 100px 0;
  background: #f2f2f2;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  color: var(--header-text);
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background: var(--button-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-img {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--header-text);
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--thin-text);
}

.vision-mission {
  margin-top: 30px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision-mission h4 {
  color: var(--button-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.vision-mission p {
  font-style: italic;
  position: relative;
  padding-left: 30px;
}

.vision-mission p::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--button-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Services Section */
#Category {
  padding: 100px 0;
  background: #e6e6e6;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--header-text);
}

.service-content p {
  color: var(--thin-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  color: var(--button-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #ff8c00;
  padding-left: 10px;
}

/* Gallery Section */
#Latest {
  padding: 100px 0;
  background: white;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin-bottom: 5px;
}

/* Contact Section */
#Contact {
  padding: 100px 0;
  background: #f2f2f2;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--header-text);
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--thin-text);
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  background: var(--button-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--header-text);
}

.contact-text p,
.contact-text a {
  color: var(--thin-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--button-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--header-text);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--button-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Feedback Section */
#Feedback {
  padding: 100px 0;
  background: #e6e6e6;
}

.testimonials {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  position: relative;
}

.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: rgba(255, 165, 0, 0.1);
  font-size: 5rem;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--thin-text);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--header-text);
  margin-bottom: 5px;
}

.author-info p {
  color: var(--thin-text);
  font-size: 0.9rem;
}

.rating {
  color: var(--button-color);
  margin-top: 5px;
}

/* Footer */
footer {
  background: var(--nav-bar);
  color: white;
  padding: 50px 0 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--button-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--button-color);
  transform: translateY(-3px);
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--button-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #ff8c00;
  transform: translateY(-5px);
}

.banner {
  background-image: url("https://homesenator.com/wp-content/uploads/2024/07/5-Benefits-Of-Abseiling-Painters-In-Difficult-To-Reach-Areas.webp");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  height: 320px;
  color: white;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  border-style: dashed;
  border-color: #5e3218;
  font-family: "Arial";
  border-width: 4px;
  border-radius: 8px;
}

.overlay-banner {
  background-color: #ff8c00;
  height: 90px;
  width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
  border-radius: 5px;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #222;
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 50px;
}

.marquee-text {
  display: inline-block;
  font-size: 24px;
  color: #fff;
  padding-left: 100%;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  #Home h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  nav .navbar .logo a {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 75px;
    background: var(--nav-bar);
    height: calc(100vh - 75px);
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
  }

  nav .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    margin: 15px 0;
  }

  .menu-btn {
    display: block;
    z-index: 999;
  }

  #Home h1 {
    font-size: 2.5rem;
  }

  #Home p {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  nav .navbar .logo a {
    font-size: 20px;
  }

  .banner {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  #Home h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 25px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .about-text h3,
  .contact-info h3 {
    font-size: 1.5rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  nav .navbar .logo a {
    font-size: 20px;
  }
}
