/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/* BODY */
body {
  background-color: #111;
  overflow-x: hidden;
}

/* HEADER */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  box-shadow: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.logo {
  height: 120px;
  width: auto;
  max-height: 12vh;
  z-index: 10000;
  position: relative;
}

/* Logo hide animation on scroll */
.logo {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hide-logo {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.menu-toggle {
  z-index: 10000;
  cursor: pointer;
}

.nav-header.scrolled {
  background: transparent;
  box-shadow: none;
}

@media (max-width: 768px) {
  .logo {
    height: 90px;
  }

  .nav-header {
    padding: 20px 30px;
  }
}


/* BURGER */
.menu-burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}
.menu-burger .line {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-burger:hover .line {
  background: #d4af37;
}

/* -------------------- HERO SLIDESHOW -------------------- */
.hero-slideshow {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;           /* full quality */
  background-repeat: no-repeat;     /* no tiling */
  background-position: center 15%;  /* adjust framing */
  background-attachment: scroll;    /* prevents weird compression scaling */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}


/* STATS SECTION */
.stats {
  background: #111;
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  text-align: center;
  flex-wrap: wrap;
}
.stat {
  flex: 1 1 200px;
  margin: 10px;
}
.stat h2 {
  color: #d4af37;
  font-size: 2.2rem;
  margin-bottom: 5px;
}
.stat p {
  color: #ddd;
  font-size: 1rem;
}

.stats-section {
  margin-top: -60px; /* moves it up closer to the image */
  z-index: 2;
  position: relative;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-icon {
  width: 30px;
  height: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .stats {
    flex-direction: column;
  }
}

/* ======== STATS SECTION ======== */
.stats-section {
  background: #0f0f0f;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stats-section .stat {
  flex: 1 1 250px;
  max-width: 280px;
  background: transparent;
  border-radius: 10px;
}

.stats-section .stat h2 {
  font-size: 2.3rem;
  color: #d4af37;
  margin-bottom: 5px;
  line-height: 1;
}

.stats-section .stat p {
  font-size: 1rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .hero {
    height: 55vh;
    position: relative;
  }

  .hero-content {
    position: absolute;
    bottom: 60px; /* pushes text down */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .hero-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .stats-section {
    margin-top: -70px;
  }
}

/* ======= FULLSCREEN MENU ======= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-content {
  text-align: center;
}

.menu-content a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  letter-spacing: 2px;
  margin: 20px 0;
  transition: color 0.3s ease;
}

.menu-content a:hover {
  color: #d4af37;
}

.menu-socials {
  margin-top: 40px;
}

.menu-socials a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.menu-socials a:hover {
  color: #d4af37;
}

/* PROJECTS PAGE */
.projects-section {
  background: #111;
  color: #fff;
  padding: 120px 40px;
  text-align: center;
}

.projects-section h1 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.projects-section p {
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card h3 {
  color: #d4af37;
  margin: 20px 0 10px;
}

.project-card p {
  color: #bbb;
  font-size: 0.95rem;
  padding: 0 20px 20px;
}

/* CONTACT PAGE */
.contact-section {
  background: #111;
  color: #fff;
  padding: 120px 40px;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.contact-section p {
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
}

.contact-info h2 {
  color: #d4af37;
  margin-bottom: 15px;
}

.contact-info p {
  margin: 10px 0;
  color: #ccc;
}

.contact-info i {
  color: #d4af37;
  margin-right: 10px;
}

.contact-socials {
  margin-top: 15px;
}

.contact-socials a {
  color: #fff;
  font-size: 1.3rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.contact-socials a:hover {
  color: #d4af37;
}

/* FORM */
.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
}

.contact-form input,
.contact-form textarea {
  background: #222;
  border: none;
  padding: 12px;
  margin-bottom: 15px;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  align-self: flex-start;
  background: #d4af37;
  color: #000;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}


/* SERVICES SECTION */
.services-section {
  background: #0f0f0f;
  color: #fff;
  text-align: center;
  padding: 100px 40px;
}

.services-section h2 {
  color: #d4af37;
  font-size: 2.3rem;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 25px;
  max-width: 350px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #d4af37;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.service-card .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.service-card h3 {
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .services-section {
    padding: 70px 20px;
  }
  .service-card {
    padding: 30px 20px;
  }
}

/* FOOTER */
.site-footer {
  background: #0a0a0a;
  color: #ddd;
  padding: 80px 40px 30px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 40px;
  gap: 40px;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #aaa;
  max-width: 320px;
  line-height: 1.5;
}

.footer-links,
.footer-socials {
  flex: 1 1 200px;
}

.footer-links h4,
.footer-socials h4 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

.social-icons a {
  color: #fff;
  margin-right: 15px;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #d4af37;
}

.footer-contact {
  margin-top: 15px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #999;
  font-size: 0.9rem;
}

.footer-bottom span {
  color: #d4af37;
}

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

  .footer-brand p {
    max-width: 90%;
    margin: 0 auto;
  }

  .footer-links a {
    margin-bottom: 8px;
  }

  .footer-socials {
    margin-top: 20px;
  }
}

/* SOCIAL ICONS */
.social-icons {
  margin: 10px 0 20px;
}

.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #d4af37;
  transform: translateY(-3px);
}

/* PAYMENT ICONS */
.payment-icons {
  margin: 15px 0 20px;
}

.payment-icons i {
  font-size: 2.2rem;
  margin-right: 12px;
  color: #ccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

.payment-icons i:hover {
  color: #d4af37;
  transform: scale(1.1);
}

/* CLICKABLE CONTACT LINKS */
.footer-socials a[href^="mailto"],
.footer-socials a[href^="tel"] {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-socials a[href^="mailto"]:hover,
.footer-socials a[href^="tel"]:hover {
  color: #d4af37;
}



/* === ENHANCED "OUR EXPERTISE" SECTION === */
.expertise-section {
  background: radial-gradient(circle at top, #111 0%, #000 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.expertise-section h2 {
  font-size: 2.4rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 50px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.expertise-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  width: 280px;
  padding: 30px 20px;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.4s; }

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.3);
}

.expertise-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.expertise-card p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.5;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* === FEATURED SERVICES (Apple-style) === */
.featured-services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px 80px; /* ⬅️ More spacing between rows & columns */
  padding: 120px 40px; /* ⬅️ Adds vertical breathing room */
  background: linear-gradient(to bottom, #0a0a0a 0%, #000 100%);
  text-align: center;
}


.service-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  width: 300px;
  padding: 50px 25px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.service-pill:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: #d4af37;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

.service-pill .emoji {
  display: block;
  font-size: 4rem;
  margin-bottom: 15px;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.service-pill h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.service-pill p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Fade-in animation */
.service-pill {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease forwards;
}

.service-pill:nth-child(2) { animation-delay: 0.2s; }
.service-pill:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .featured-services {
    flex-direction: column;
    align-items: center;
    padding: 60px 10px;
  }
  .service-pill {
    width: 90%;
  }
}


/* Make service pills clickable */
.service-pill-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.service-pill-link:hover .service-pill {
  transform: translateY(-10px) scale(1.03);
  border-color: #d4af37;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

/* Fix for alignment when using links in featured-services */
.featured-services {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 70px 80px;
  padding: 120px 40px;
  background: linear-gradient(to bottom, #0a0a0a 0%, #000 100%);
  text-align: center;
}

.service-pill-link {
  display: inline-block; /* make link act like a card */
  text-decoration: none;
  color: inherit;
}

.service-pill-link .service-pill {
  width: 300px;
}

/* ============================================================
   AUTOMATION PAGE — Renova AI & Business Automation
   ============================================================ */

.automation-page {
  background: #0a0a0a;
  color: #fff;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  padding-top: 20px;
}

/* Section title + intro */
.automation-section h2 {
  text-align: center;
  font-size: 2.4rem;
  color: #d4af37;
  margin-bottom: 25px;
}

.automation-section .intro {
  text-align: center;
  font-size: 1.05rem;
  color: #bbb;
  max-width: 850px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* --- FLUSH AUTOMATION GRID --- */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 50px;
  justify-items: center;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

/* Center last two items on second row */
.automation-card:nth-last-child(-n + 2) {
  grid-column: span 2;
  justify-self: center;
}

/* --- Apple-style pill cards --- */
.automation-card {
  background: rgba(20, 20, 20, 0.9);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 55px 35px;
  max-width: 350px;
  width: 100%;
  transition: all 0.35s ease;
}

.automation-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 15px 35px rgba(212, 175, 55, 0.25),
    inset 0 0 20px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.automation-card i {
  font-size: 2.7rem;
  color: #d4af37;
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.automation-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.automation-card p {
  color: #bfbfbf;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 280px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
  .automation-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .automation-card:nth-last-child(-n + 2) {
    grid-column: auto;
    justify-self: auto;
  }
}

@media (max-width: 600px) {
  .automation-card {
    max-width: 90%;
  }

  .automation-card i {
    font-size: 2.4rem;
  }

  .automation-card h3 {
    font-size: 1.15rem;
  }
}


/* Footer */
.footer {
  background: #0f0f0f;
  padding: 60px 20px 30px;
  text-align: center;
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials h4 {
  color: #d4af37;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-socials a {
  color: #d4af37;
  margin: 0 8px;
  font-size: 1.3rem;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  color: #fff;
}

.footer p a {
  color: #ccc;
  text-decoration: none;
}

.footer p a:hover {
  color: #d4af37;
}

.payment-icons {
  margin-top: 15px;
  font-size: 1.8rem;
  color: #d4af37;
}

.footer-bottom {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #777;
}


/* === WHY AUTOMATION === */
.why-automation {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 100px 8%;
}

.why-automation h2 {
  color: #d4af37;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.why-automation p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.why-automation ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.why-automation li {
  margin: 10px 0;
  font-size: 1.1rem;
  color: #ddd;
}

/* === CTA SECTION === */
.cta-section {
  background: #0f0f0f;
  text-align: center;
  color: #fff;
  padding: 100px 20px;
}

.cta-section h2 {
  color: #d4af37;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.cta-section p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-section .hero-btn {
  background: #d4af37;
  color: #000;
  padding: 14px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-section .hero-btn:hover {
  background: #fff;
  color: #000;
}


/* Fix for logo overlap & intro spacing */
.automation-page .nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  background: transparent;
  z-index: 1000;
}

.automation-section {
  margin-top: 120px;
}

.automation-section .intro {
  text-align: center;
  font-size: 1.05rem;
  color: #bbb;
  max-width: 850px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* Centers all cards evenly */
.automation-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

