/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #f5f5f5;
  --accent-color: #333333;
  --text-color: #333;
  --light-text: #666;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Add new media query for large screens */
@media (min-width: 1460px) {
  .nav-container {
    max-width: 100%;
    padding: 1rem 4rem; /* Add horizontal padding for spacing from edges */
  }
}

.home-logo {
  text-decoration: none;
  color: var(--accent-color);
  font-size: 1.5rem;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: end;
}

.logo img {
  height: 50px;
  margin-right: 0;
  padding-top: 2px;
  color: #333333;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.nav-links .cta-button {
  background: var(--white);
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border: 1px solid black;
  border-radius: 4px;
}

.nav-links .cta-button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.border-bottom:hover {
  border-bottom: 1px solid black;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
}

.mobile-menu .menu-icon,
.mobile-menu .close-icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  right: 0.5rem;
  top: -0.6rem;
}

.mobile-menu .close-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

.mobile-menu.active .menu-icon {
  opacity: 0;
  transform: rotate(180deg);
}

.mobile-menu.active .close-icon {
  opacity: 1;
  transform: rotate(0);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: start;
  text-align: start;
  color: var(--white);
  padding: 0 10rem;
  min-height: 500px;
}

.hero-content {
  max-width: 800px;
}

/* Add keyframes for the slide-in animation */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Update hero h1 styles */
.hero h1 {
  font-size: 4.5rem;
  font-weight: normal;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: slideInFromLeft 1s ease-out forwards;
  /* Optional: add a slight delay to ensure animation plays after page load */
  animation-delay: 0.2s;
  /* Set initial state */
  opacity: 0;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: start;
  align-items: center;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-align: center;
}

.btn-dark {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-dark:hover {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-light {
  background: none;
  color: white;
  border: 2px solid white;
}

.btn-light:hover {
  background-color: white;
  color: black;
}

h2,
h3 {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-weight: normal;
}
/* Services Section */
.services {
  padding: 5rem 2rem;
  background: var(--white);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid a {
  text-decoration: none;
  color: var(--primary-color);
  height: 100%;
  display: block; /* Add this */
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--secondary-color);
  border-radius: 8px;
  transition: var(--transition);
  height: 100%; /* Add this */
  display: flex; /* Add this */
  flex-direction: column; /* Add this */
  justify-content: flex-start; /* Add this */
  opacity: 0; /* Start invisible */
}

.service-card i {
  font-size: 2.5rem;
  color: #333333;
  margin-bottom: 1rem;
  opacity: 0; /* Start invisible */
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin: 0; /* Add this */
  flex-grow: 1; /* Add this */
}

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

.service-card.animate {
  animation: fadeIn 0.8s ease-out forwards;
}

.service-card.animate i {
  animation: rotateIn 0.8s ease-out forwards;
  animation-delay: 0.3s; /* Delay icon rotation until after card starts fading in */
}

/* Add animation delays for cascading effect */
.services-grid a:nth-child(1) .service-card.animate {
  animation-delay: 0.1s;
}

.services-grid a:nth-child(2) .service-card.animate {
  animation-delay: 0.2s;
}

.services-grid a:nth-child(3) .service-card.animate {
  animation-delay: 0.3s;
}

.services-grid a:nth-child(4) .service-card.animate {
  animation-delay: 0.4s;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 2rem;
  background: var(--secondary-color);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

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

.step {
  text-align: center;
  padding: 2rem;
}

.step.animate {
  animation: stepIn 0.8s ease-out forwards;
  -webkit-animation: stepIn 0.8s ease-out forwards;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

/* About Section */
.about {
  padding: 5rem 2rem;
  background: var(--white);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about p {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item h3 {
  margin-bottom: 1rem;
}

.progress-bar {
  height: 10px;
  background: var(--secondary-color);
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--accent-color);
  width: 0; /* Start at 0 */
  transition: width 1.5s ease-out; /* Smooth transition */
}

/* Optional: Add a fade-in animation for the stats numbers */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item h3 {
  margin-bottom: 1rem;
  opacity: 0;
}

.stat-item.animate h3 {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Add animation delays for cascading effect */
.stats .stat-item:nth-child(1) h3 {
  animation-delay: 0.1s;
}

.stats .stat-item:nth-child(2) h3 {
  animation-delay: 0.2s;
}

.stats .stat-item:nth-child(3) h3 {
  animation-delay: 0.3s;
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background: var(--secondary-color);
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.info-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.info-item iframe {
  width: 10%;
  height: 10%;
  border: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: inherit;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form select {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  color: var(--text-color);
  background-color: var(--white);
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent-color);
}

.contact-form select option:hover {
  background-color: plum;
}

/* Style for the placeholder option */
.contact-form select option[value=""][disabled] {
  color: #777;
}

.submit-button {
  padding: 1rem;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-weight: 600;
}

.submit-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-section a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
}

.social-links {
  text-align: center;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent-color);
}

.footer p {
  text-align: center;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* WordPress Specific Classes */
.wp-block {
  margin-bottom: 2rem;
}

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

.alignfull {
  width: 100%;
  max-width: 100%;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  padding: 0.5rem 0;
  border: 1px solid black;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background: var(--secondary-color);
  color: var(--accent-color);
}

/* Update mobile menu styles */
@media (max-width: 768px) {
  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    display: none;
    box-shadow: none;
    padding-left: 1rem;
    width: 100%;
    background: var(--white);
  }

  .dropdown.active .dropdown-content {
    display: block;
    background-color: var(--secondary-color);
    top: 75%;
    transition: ease-in-out;
    -webkit-transition: ease-in-out;
    -moz-transition: ease-in-out;
    -ms-transition: ease-in-out;
    -o-transition: ease-in-out;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-weight: normal;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }

  .dropdown:hover .dropdown-toggle i {
    transform: none;
  }
}

/* Service Page Styles */
.service-hero {
  height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/cleaning-hero.jpg");
  background-size: cover;
  background-position: bottom;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
  margin-top: 80px;
}

.service-hero-content {
  max-width: 800px;
}

.service-hero h1 {
  font-size: 3.5rem;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  margin-bottom: 1rem;
  font-weight: normal;
}

.service-hero p {
  font-size: 1.2rem;
}

.service-details {
  padding: 5rem 2rem;
  background: var(--white);
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-info h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 8px;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 1rem;
}

.service-benefits {
  padding: 5rem 2rem;
  background: var(--secondary-color);
}

.service-benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  transition: var(--transition);
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.benefit h3 {
  margin-bottom: 1rem;
}

.service-cta {
  padding: 5rem 2rem;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content .btn-dark {
  border: 1px solid white;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-hero h1 {
    font-size: 2.5rem;
  }

  .service-hero p {
    font-size: 1rem;
  }

  .hero {
    padding: 0 2rem;
  }
}

/* Update the mobile menu and nav-links styles */
.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Add new media query for mobile */
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .nav-links .dropdown {
    width: 100%;
    padding: 0.8rem 0;
  }

  .dropdown-content {
    display: none;
    box-shadow: none;
    padding-left: 1rem;
    width: 100%;
    background: var(--white);
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-toggle i {
    transition: transform 0.3s ease;
  }

  .dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
  }

  .nav-links .cta-button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1280px) {
  .nav-links {
    margin-right: 1.5rem;
  }
}

/* Add more specific media queries for smaller screens */
@media (max-width: 480px) {
  .hero {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero .subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    gap: 0.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* Even more specific adjustments for very small screens */
@media (max-width: 375px) {
  .hero {
    min-height: 450px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .services,
  .how-it-works,
  .about,
  .contact {
    padding: 3rem 1rem;
  }

  .services h2,
  .how-it-works h2,
  .about h2,
  .contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* Add keyframes for fade-in and rotate animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(100px);
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
}

@keyframes rotateIn {
  from {
    transform: rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: rotate(0);
    opacity: 1;
  }
}
