/* ================================
   SERVICE PAGE STYLES
================================ */

/* ================================
   PAGE BACKGROUND
================================ */
.page-bg {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #001a0d, #0d4a08);
}
/* ================================
   BUTTON BASE
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff8a, #00b65f);
  color: #001a0d;
  box-shadow: 0 0 25px rgba(0, 255, 138, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 138, 0.7);
}

.btn-outline {
  border: 1px solid rgba(0,255,140,0.4);
  color: #9affc6;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0,255,140,0.12);
}

.malachite-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}

/* When scrolled */
.malachite-navbar.scrolled{
  background: rgba(0, 35, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* Logo */
.nav-logo img {
  height: 38px;
}

/* Menu */
.nav-menu {
  display: flex;
  gap: 34px;
}

.nav-menu a {
  color: rgba(230,255,230,0.8);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: .25s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #00ff8a;
}

/* underline glow */
.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #00ff8a;
  box-shadow: 0 0 10px #00ff8a;
}

/* CTA */
.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #9affc6;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 30, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 22px;
    display: none;
  }

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

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ================================
   SERVICE HERO SECTION
================================ */
.service-hero {
  position: relative;
  padding: 120px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(26, 255, 122, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(26, 255, 122, 0.05) 0%, transparent 50%);
}

.service-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.service-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: inline-block;
}

.service-hero-title {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.service-hero-title span {
  color: #00ff8a;
  background: linear-gradient(135deg, #00ff8a, #1aff7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(230, 255, 230, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   SERVICE SOLUTIONS SECTION
================================ */
.service-solutions {
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: rgba(230, 255, 230, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-card {
  background: rgba(0, 60, 40, 0.6);
  border: 1px solid rgba(26, 255, 122, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 255, 122, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26, 255, 122, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(26, 255, 122, 0.2);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: rgba(26, 255, 122, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(26, 255, 122, 0.3);
}

.solution-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.solution-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(230, 255, 230, 0.85);
  margin-bottom: 24px;
}

.solution-card ul {
  list-style: none;
  margin-bottom: 0;
}

.solution-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(230, 255, 230, 0.9);
}

.solution-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00ff8a;
  font-weight: bold;
}

/* ================================
   SERVICE PROCESS SECTION
================================ */
.service-process {
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.2);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 40px 20px;
  background: rgba(0, 60, 40, 0.4);
  border: 1px solid rgba(26, 255, 122, 0.15);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 255, 122, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00ff8a, #19BF0E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #041b0f;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(230, 255, 230, 0.85);
}

/* ================================
   SERVICE CTA SECTION
================================ */
.service-cta {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 60, 40, 0.8), rgba(0, 0, 0, 0.9));
}

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

.cta-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #00ff8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(230, 255, 230, 0.9);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff8a, #19BF0E);
  color: #041b0f;
  box-shadow: 0 10px 30px rgba(26, 255, 122, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(26, 255, 122, 0.6);
}

.btn-outline {
  border: 2px solid #00ff8a;
  color: #00ff8a;
  background: transparent;
}

.btn-outline:hover {
  background: #00ff8a;
  color: #041b0f;
  transform: translateY(-3px) scale(1.05);
}

/* ================================
   ANIMATIONS
================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ================================
   SCROLL REVEAL
================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.animate-fade-in.visible {
  opacity: 1;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {
  .service-hero {
    padding: 80px 20px 60px;
  }
  
  .service-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .solution-card {
    padding: 30px 20px;
  }
  
  .process-step {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .service-hero-title {
    font-size: 36px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .solution-card {
    padding: 25px 15px;
  }
}
