:root {
  --primary: #10b981; /* bright eco green */
  --primary-dark: #059669;
  --secondary: #0ea5e9; /* solar blue */
  --bg-dark: #020617; /* deep slate */
  --bg-card: #0f172a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #fbbf24; /* sun yellow */
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
}

body {
  overflow-x: hidden;
}

/* Typography styles */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
}

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

p {
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.logo i {
  color: var(--accent);
}

.header-logo {
  height: 40px; /* Resize the logo to fit the navbar */
  width: auto;
  border-radius: 5px; /* In case the logo is square and should look better */
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn-primary-small)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover:not(.btn-primary-small)::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-primary-small {
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-primary-small {
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: white !important;
}

.btn-primary-small:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-outline {
  padding: 0.8rem 2rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  margin-top: 1rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  background: url('assets/hero.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Services */
.services {
  padding: 8rem 5%;
  background-color: var(--bg-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--primary);
}

.card-img-wrapper {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

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

.card-icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  border: 4px solid var(--bg-card);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.card h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Gallery Section */
.gallery {
  padding: 5rem 5%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition);
}

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

/* Testimonials Section */
.testimonials {
  padding: 8rem 5%;
  background-color: var(--bg-dark);
}

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

.testimonial-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-main);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--primary);
}

/* Benefits Section */
.benefits {
  padding: 8rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  background: url('assets/cleaning.png') center/cover fixed;
  position: relative;
}

.benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(4px);
}

.benefits-content, .benefits-stats {
  position: relative;
  z-index: 10;
}

.benefits-content {
  flex: 1;
}

.benefits-list {
  list-style: none;
  margin-top: 2rem;
}

.benefits-list li {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefits-list i {
  color: var(--primary);
  font-size: 1.8rem;
}

.benefits-stats {
  display: flex;
  gap: 2rem;
}

.stat-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-box h3 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Quote Section */
.quote {
  padding: 8rem 5%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
}

.quote-container {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quote-text {
  text-align: center;
  margin-bottom: 3rem;
}

.quote-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-main);
}

.form-group input {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.quote-success {
  text-align: center;
  padding: 3rem 1rem;
  animation: zoom 0.5s ease forwards;
}

.quote-success i {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.quote-success h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.quote-success p {
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: #000;
  padding: 5rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info {
  max-width: 400px;
}

.footer-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-info h3 i { color: var(--accent); }

.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.socials 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;
  font-size: 1.2rem;
  transition: var(--transition);
}

.socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

.mt-4 {
  margin-top: 1.5rem;
}

/* WhatsApp Float Button */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.whatsapp-options {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.whatsapp-float-container:hover .whatsapp-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-option {
  background-color: white;
  color: #1e293b;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-option:hover {
  background-color: #f8fafc;
  color: #25d366;
  transform: scale(1.02);
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  background-color: #20b858;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: white;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  animation: zoom 0.4s ease;
}

@keyframes zoom {
  from {transform:scale(0.8); opacity:0}
  to {transform:scale(1); opacity:1}
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--primary);
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  font-size: 1.2rem;
}

/* Animations Tools */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* About Page Styles */
.about-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  background: url('assets/hero.png') center/cover no-repeat;
  background-attachment: fixed;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.85);
}

.about-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

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

.about-hero p {
  font-size: 1.2rem;
  color: #e2e8f0;
}

.about-content {
  padding: 5rem 5%;
  background-color: var(--bg-dark);
}

.about-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-card.reversed {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
  object-fit: cover;
}

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

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

/* Blog Page Styles */
.blog-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  background: url('assets/cleaning.png') center/cover no-repeat;
  background-attachment: fixed;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.85);
}

.blog-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

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

.blog-hero p {
  font-size: 1.2rem;
  color: #e2e8f0;
}

.blog-content {
  padding: 5rem 5%;
  background-color: var(--bg-dark);
}

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

.blog-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.blog-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-text h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.4;
}

.blog-text p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.blog-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.blog-link:hover {
  filter: brightness(1.2);
  gap: 0.8rem;
}

/* Memes Setup */
.meme-grid {
  gap: 3rem;
}

.meme-card {
  background: white;
  color: black;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  font-family: 'Impact', 'Outfit', sans-serif;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  background-color: #f1f5f9;
}

.meme-header {
  padding: 1.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  color: #1e293b;
}

.meme-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .about-hero h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }
  .nav-links.active { right: 0; }
  .menu-toggle { display: block; z-index: 1001; position: relative; }
  .benefits { flex-direction: column; }
  .benefits-stats { flex-direction: column; width: 100%; }
  .quote-container { padding: 2rem; }
  .form-row { flex-direction: column; gap: 1.5rem; }
  .about-card, .about-card.reversed { flex-direction: column; padding: 2rem; text-align: center; }
}
