/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles with Solid Orange Background */
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f0ad4a; /* Solid orange background */
}

/* Header: Company Banner with Solid Red Background */
.company-banner {
  background-color: red; /* Solid red background for header */
  padding: 20px;
  display: flex;
  align-items: center;
  color: #fff;
}

.banner-logo {
  width: 120px;
  height: auto;
  margin-right: 20px;
}

.banner-name {
  font-size: 28px;
  font-weight: bold;
}

/* Top Navigation */
.top-nav {
  background-color: #8f4949;
}

.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.top-nav ul li {
  margin: 0 15px;
}

.top-nav ul li a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.top-nav ul li a:hover {
  color: red;
}

/* Main Content */
main {
  padding: 20px;
}

/* Home Section */
.home-section {
  text-align: center;
  padding: 40px 20px;
  background: rgba(244, 244, 244, 0.9); /* Slightly transparent overlay */
  margin-bottom: 20px;
}

/* Service Section */
.service-section {
  background: rgb(255, 255, 255);
    padding: 20px;
}

.service-section h2 {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  font-size: 32px; /* Larger heading */
  color: #007BFF; /* Blue color for heading */
  font-weight: bold; /* Bold heading */
}

/* Service Item */
.service-item {
  border: 2px solid #007BFF; /* Add a border around each service */
  border-radius: 10px; /* Rounded corners */
  margin: 20px 0; /* Spacing between services */
  padding: 20px; /* Increased padding */
  background-color: #f9f9f9; /* Light background color */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.service-item:hover {
  transform: translateY(-5px); /* Lift the service item on hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.service-content {
  display: flex; /* Align image and description side by side */
  align-items: center; /* Center items vertically */
}

.service-image {
  flex: 1; /* Take up 1 part of the space */
  max-width: 150px; /* Limit image width */
  margin-right: 30px; /* Increased spacing between image and description */
}

.service-image img {
  width: 100%; /* Make image responsive */
  border-radius: 10px; /* Rounded corners for the image */
}

.service-desc {
  flex: 2; /* Take up 2 parts of the space */
  text-align: left; /* Align text to the left */
}

.service-desc h3 {
  margin-top: 0; /* Remove default margin */
  font-size: 26px; /* Larger font size for service title */
  color: #007BFF; /* Blue color for headings */
  margin-bottom: 15px; /* Spacing below the title */
  font-weight: bold; /* Bold title */
  letter-spacing: 0.5px; /* Slight letter spacing for elegance */
}

.service-desc p {
  color: #555; /* Dark gray color for text */
  font-size: 20px; /* Increased font size for description */
  line-height: 1.8; /* Improved line height for readability */
  margin-bottom: 0; /* Remove default margin */
  font-weight: 500; /* Medium font weight for description */
}

/* Portfolio Section */
.portfolio-section {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-gallery {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.portfolio-gallery figure {
  flex: 1 1 30%;
  margin: 10px;
}

.portfolio-gallery img {
  width: 100%;
  border-radius: 10px;
}

.portfolio-gallery figcaption {
  margin-top: 10px;
  font-size: 18px;
  color: #007BFF;
}

/* Testimonials Section */
.testimonials-section {
  padding: 40px 20px;
  background: rgba(244, 244, 244, 0.9);
  text-align: center;
  margin-bottom: 20px;
}

.testimonial-item {
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
  font-size: 18px;
  color: #555;
}

.testimonial-item h4 {
  font-size: 20px;
  color: #007BFF;
  margin-top: 10px;
}

/* FAQ Section */
.faqs-section {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 20px;
}

.faq-item {
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
  font-size: 22px;
  color: #007BFF;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 18px;
  color: #555;
}

/* About Section */
.about-section {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 20px;
}

/* Contacts Section */
.contacts-section {
  padding: 40px 20px;
  background: rgba(244, 244, 244, 0.9);
  text-align: center;
}

.contacts-section form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contacts-section label {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  color: #007BFF;
}

.contacts-section input,
.contacts-section textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.contacts-section button {
  background-color: #007BFF;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contacts-section button:hover {
  background-color: #0055aa;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px 20px;
}

.footer-info {
  max-width: 800px;
  margin: 0 auto;
}

.footer-cta {
  margin: 10px 0;
}

.footer-cta a {
  color: #007BFF;
  text-decoration: none;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.social-links a:hover {
  color: #007BFF;
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 1000;
  background-color: #007BFF;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background-color: #0055aa;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .company-banner {
    flex-direction: column;
    text-align: center;
  }
  .banner-logo {
    margin-bottom: 10px;
  }
  .top-nav ul {
    flex-direction: column;
  }
  .service-item {
    flex-direction: column;
    text-align: center;
  }
  .service-content {
    flex-direction: column; /* Stack items vertically on smaller screens */
  }
  .service-image {
    margin-right: 0; /* Remove spacing */
    margin-bottom: 20px; /* Increased spacing below the image */
  }
  .service-desc h3 {
    font-size: 24px; /* Slightly smaller font size for mobile */
  }
  .service-desc p {
    font-size: 18px; /* Slightly smaller font size for mobile */
  }
  .portfolio-gallery figure {
    flex: 1 1 100%;
  }
}