.hero {
  height: 100vh;
  padding: 1rem;
  background-color: #f9f9f9;
}
.services {
  padding: 2rem;
  background-color: #f9f9f9;
}
.about,
/* .services, */
.testimonial,
.faq,
/* .footer, */
.otherservices,
.form {
  /* height: 90vh; */
  height: fit-content;
  padding: 2rem;
  background-color: #f9f9f9;
}

body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Condensed", sans-serif;
  scroll-behavior: smooth;
}

body {
  padding-top: 70px; /* Adjust based on header height */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgb(230, 103, 12);
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  flex-wrap: wrap; /* Ensure content fits on smaller screens */
  /* box-shadow: 0 0 15px 5px rgba(230, 103, 12, 0.671); */
}

.logo {
  font-size: 2.4rem;
  font-weight: bold;
  white-space: nowrap; /* Prevent the logo from breaking */
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: top;
  gap: 10px;
}
.logImg {
  width: 3rem;
}

.nav-links {
  display: flex;
  gap: 15px;
  transition: max-height 0.4s ease-in-out;
  flex-wrap: wrap; /* Handle wrapping in smaller screens */
  overflow: hidden; /* Hide overflow when collapsed */
  max-height: none; /* Ensure max-height is none on large screens */
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 10px 15px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: #555;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s ease-in-out;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* Mobile Styles */
@media (max-width: 1075px) {
  .logo {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .logo {
    font-size: 1.4rem;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-links.active {
    max-height: 500px; /* Increase this value to fit all links */
    overflow-y: auto; /* Optional: Adds scrolling if content exceeds the view height */
  }

  .nav-links a {
    text-align: center;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links label {
    color: white;
  }

  .menu-toggle {
    display: flex;
  }

  /* Animation for mobile menu toggle */
  .menu-toggle.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
@media (max-width: 1020px) {
  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 8px;
  }
}
@media (max-width: 768px) {
  .logo {
    font-size: 1.8rem;
  }
}
/* Hero section */
.heroImg {
  max-width: 100%;
}
.innerHero {
  display: flex;
  justify-content: center;
  align-items: center;
}
.heroTextDiv h1 {
  font-size: 2.9rem;
  font-weight: 500;
  color: #444343;
}
.wePro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.wePro h2 {
  color: #444343;
}
.wePro span {
  color: rgb(230, 103, 12);
  font-size: 1.8rem;
  font-weight: bold;
}
.delivered-meals {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 1rem;
}

.delivered-imgs {
  display: flex;
}

.delivered-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}

.delivered-imgs img:last-child {
  margin: 0;
}

.delivered-text {
  font-size: 1.8rem;
  font-weight: 600;
}

.delivered-text span {
  color: #cf711f;
  font-weight: 700;
}
/* Base Button Styles */
.btns {
  display: flex;
  gap: 2rem;
}
button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: rgb(230, 103, 12);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button a {
  color: #fff;
  text-decoration: none;
}

button:hover {
  background-color: #b34200;
  transform: scale(1.05);
}

button:active {
  background-color: #004494;
  transform: scale(1);
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}
.responsive-image {
  display: none;
}
@media (max-width: 1286px) {
  .heroTextDiv h1 {
    font-size: 2rem;
    font-weight: 500;
  }
  .wePro h2 {
    font-size: 1rem;
  }
  .wePro span {
    font-size: 1.5rem;
    font-weight: bold;
  }
}
@media (max-width: 970px) {
  .delivered-text {
    font-size: 1.2rem;
    font-weight: 400;
  }
  .heroTextDiv h1 {
    font-size: 1.8rem;
    font-weight: 500;
  }
  .delivered-imgs img {
    height: 4rem;
    width: 4rem;
  }
  .wePro span {
    font-size: 1rem;
  }
  .wePro {
    gap: 0.8rem;
  }
  .wePro h2 {
    font-size: 1rem;
    color: #444343;
  }
  .hero {
    height: fit-content;
  }
}
@media (max-width: 840px) {
  .heroTextDiv h1 {
    font-size: 1.4rem;
    font-weight: 400;
  }
  .delivered-imgs img {
    height: 3rem;
    width: 3rem;
  }
  .wePro span {
    font-size: 0.9rem;
  }
  .wePro h2 {
    font-size: 0.9rem;
    color: #444343;
  }
  .buttons {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .heroTextDiv h1 {
    font-size: 1.1rem;
  }
  .delivered-meals {
    margin-top: 0.8rem;
  }
}
@media (max-width: 600px) {
  /* .delivered-meals {
    margin-top: 0.8rem;
  }
  .delivered-imgs img {
    height: 2rem;
    width: 2rem;
  } */
  .image-container {
    display: none;
  }

  .heroTextDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .responsive-image {
    width: 90%;
    display: block;
  }
  .heroTextDiv h1 {
    font-size: 2rem;
  }
  .wePro span {
    font-size: 1.4rem;
  }
  .wePro h2 {
    font-size: 1.4rem;
  }
  .delivered-meals {
    margin-top: 0.5rem;
  }
  .delivered-imgs img {
    height: 4rem;
    width: 4rem;
  }
}
@media (max-width: 485px) {
  .heroTextDiv h1 {
    font-size: 1.5rem;
  }
  .wePro span {
    font-size: 1rem;
  }
  .wePro h2 {
    font-size: 1rem;
  }

  .delivered-imgs img {
    height: 3rem;
    width: 3rem;
  }
  .buttons {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 330px) {
  .delivered-text {
    font-size: 0.9rem;
    font-weight: 400;
  }
  .buttons {
    padding: 0.2rem 0.4rem;
  }
  .delivered-meals {
    margin-top: 2rem;
  }
  .delivered-meals {
    flex-direction: column;
    gap: 0rem;
  }
  .wePro {
    gap: 0.2rem;
    align-self: flex-start;
  }
  .wePro span {
    font-size: 0.8rem;
  }
  .wePro h2 {
    font-size: 0.8rem;
  }
}

/* About */
.about {
  height: fit-content;
}
.aboutHeading {
  font-size: 3rem;
  width: fit-content;
  border-bottom: 6px solid rgb(230, 103, 12);
}
.aboutPara p {
  font-size: 1.3rem;
}
@media (max-width: 970px) {
  .about {
    margin-top: 2rem;
  }
}
@media (max-width: 400px) {
  .aboutPara p {
    font-size: 0.9rem;
  }
}
/* Services */

.services h1 {
  font-size: 3rem;
  width: fit-content;
  border-bottom: 6px solid rgb(230, 103, 12);
}

.servicesImgDiv {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  row-gap: 1.2rem;
  column-gap: 1.2rem;
}
.servicesImgDiv ul {
  padding-left: 1rem;
  padding-top: 1rem;
}
.sepaImgDiv {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: white; /* White background for the card */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for effects */
}

.sepaImgDiv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    #ff0066,
    #ffcc00,
    #66ff66,
    #00ccff
  ); /* New gradient colors */
  background-size: 800% 800%; /* Increase the size to make the animation more noticeable */
  z-index: 1;
  transition: opacity 0.3s ease; /* Smooth transition for gradient effect */
  opacity: 0;
}

.sepaImgDiv:hover::before {
  opacity: 1;
  animation: gradient-hover 2s ease infinite; /* Faster animation */
}

.sepaImgDiv:hover {
  transform: scale(1.05); /* Slightly scale up on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.sepaImgDiv > * {
  position: relative;
  z-index: 2; /* Ensure content is above the pseudo-element */
}

@keyframes gradient-hover {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.serImg {
  padding-left: 0.6rem;
  padding-top: 1rem;
  width: 30%;
}

.imgSpanTag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.imgSpanTag span {
  color: rgb(230, 103, 12);
  font-size: 1.2rem;
  font-weight: 400;
  /* border-bottom: 2px solid rgb(230, 103, 12); */
}

ul {
  list-style-type: disc;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 0.5rem;
}
.imgSpanTag span {
  padding-right: 0.6rem;
}

@media (max-width: 880px) {
  .servicesImgDiv {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .servicesImgDiv {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 420px) {
  .servicesImgDiv {
    grid-template-columns: 1fr;
  }
  .imgSpanTag {
    justify-content: space-evenly;
  }

  .imgSpanTag span {
    font-size: 1rem;
    font-weight: 600;
    /* border-bottom: 2px solid rgb(230, 103, 12); */
  }
}

/* Faq */
.faq {
  background-color: #f9f9f9;
}

.faq h1 {
  /* margin-top: 1rem; */
  font-size: 3rem;
  width: fit-content;
  border-bottom: 6px solid rgb(230, 103, 12);
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  padding: 1rem;
}

.faq-question {
  font-size: 1.2rem;
  color: #444;
  margin: 0;
}

.faq-answer {
  font-size: 1rem;
  color: #666;
  margin: 0.5rem 0 0;
}

/* Responsive Styles */
@media (max-width: 1348px) {
  .faq-item {
    padding: 1rem;
  }
}

@media (max-width: 1024px) {
  .faq-item {
    padding: 0.8rem;
  }
}

@media (max-width: 768px) {
  .faq-item {
    padding: 0.6rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .faq-section h1 {
    font-size: 1.5rem;
  }

  .faq-item {
    padding: 0.5rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.8rem;
  }
}
/* Other services */
.otherservices h1 {
  font-size: 3rem;
  width: fit-content;
  border-bottom: 6px solid rgb(230, 103, 12);
}
.OSPARA {
  font-size: 1.2rem;
}
/* Form */
.form h1 {
  /* margin-top: 1rem; */
  font-size: 3rem;
  width: fit-content;
  border-bottom: 6px solid rgb(230, 103, 12);
}
.cta {
  display: flex;
  /* background-color: red; */
  justify-content: space-evenly;
  align-items: center;
}

label {
  font-weight: bold;
  display: inline-block;
  font-size: 1.3rem;
  color: #333;
}
.parentLabel {
  margin-bottom: 0.9rem;
}

/* Input and Select Fields */

input,
select,
textarea {
  width: 100%;
  padding: 5px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  /* margin-top: 0.5rem; */
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

input :focus,
select:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Placeholder Text */
input::placeholder,
textarea::placeholder {
  color: #aaa;
}

/* Textarea Specific Styles */
textarea {
  resize: vertical;
}
@media (max-width: 874px) {
  .form-img {
    display: none;
  }
  .cta {
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 874px) {
  label {
    font-weight: bold;
    display: inline-block;
    font-size: 1rem;
    color: #333;
  }
}

/* Footer */
.footer {
  background-color: rgb(230, 103, 12);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.footer-section {
  max-width: 250px;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul,
.footer-section li {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: "#000";
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    max-width: 100%;
    text-align: center;
  }
}
@media (max-width: 610px) {
  .faq h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 460px) {
  .faq h1,
  .form h1 {
    font-size: 1.6rem;
  }
}
@media (max-width: 350px) {
  .faq h1 {
    font-size: 1.1rem;
  }
  .services h1 {
    font-size: 2rem;
  }
}
