@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  /* Colors */
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --light-green: #e8f5e9;
  --white: #ffffff;
  --bg-gray: #f8f9fa;
  --heading-primary: var(--primary-green);
  --heading-secondary: var(--dark-green);
  --paragraph-color: #666666;
  --border-color: #e5e7eb;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --spacing-section: 100px;
  --container-width: 1320px;

  /* Border Radius */
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-img: 20px;

  /* Transitions */
  --transition: all 0.3s ease;
}

html,
body {
  max-width: 100vw;
  background-color: var(--white);
  color: var(--paragraph-color);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--heading-primary);
  line-height: 1.2;
}

h3,
h4 {
  color: var(--heading-secondary);
}

p {
  font-size: 18px;
  color: var(--paragraph-color);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--spacing-section) 0;
}

.section-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading-primary);
}

.sub-heading {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--primary-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid var(--primary-green);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

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

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

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

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navLinks {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navLink {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--heading-secondary);
  position: relative;
  transition: var(--transition);
}

.navLink:hover {
  color: var(--primary-green);
}

.mobileMenuBtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-green);
  font-size: 28px;
}

.mobileMenu {
  display: none;
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 1rem 2rem;
  flex-direction: column;
  gap: 1rem;
}

.mobileMenu.active {
  display: flex;
}

@media (max-width: 992px) {
  .navLinks {
    display: none;
  }

  .mobileMenuBtn {
    display: block;
  }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.animate-scale-up {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

.animate-fade-up.visible {
  transform: translateY(0);
}

.animate-scale-up.visible {
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Immersive Full Page Background */
.pageContainer {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  background: url('image/placeholder-factory.jpg') center/cover fixed;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 15, 0.95) 0%, rgba(20, 45, 30, 0.85) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.contentWrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* Left Side: Premium Copy & Trust */
.textContent {
  color: var(--white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, #ffffff, #a5d6a7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.trustList {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trustItem {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.trustItem:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.trustIcon {
  color: var(--light-green);
}

.trustText h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--white);
}

.trustText p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Right Side: Glassmorphism Multi-Step Form */
.glassForm {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.glassForm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.1), transparent 40%);
  pointer-events: none;
}

/* Progress Bar */
.progressContainer {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 16px;
}

.stepIndicator {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.stepDot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.stepDot.active {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: 0 0 15px rgba(46, 125, 50, 0.5);
}

.stepText {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stepText.active {
  color: var(--white);
}

.progressLine {
  height: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.progressLineFill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary-green);
  transition: width 0.5s ease;
}

/* Form Inputs */
.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fullWidth {
  grid-column: span 2;
}

.inputGroup {
  position: relative;
  margin-bottom: 24px;
}

.inputGroup input,
.inputGroup select,
.inputGroup textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
  border-radius: 16px;
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.inputGroup select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 20px;
}

.inputGroup option {
  background: var(--dark-green);
  color: var(--white);
}

.inputGroup input:focus,
.inputGroup select:focus,
.inputGroup textarea:focus {
  outline: none;
  border-color: var(--light-green);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(165, 214, 167, 0.1);
}

.inputGroup input::placeholder,
.inputGroup textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.inputGroup label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--light-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.inputGroup textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons */
.btnRow {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.nextBtn, .submitBtn {
  flex: 1;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 20px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.nextBtn:hover, .submitBtn:hover {
  background: var(--light-green);
  color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(165, 214, 167, 0.2);
}

.backBtn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.backBtn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .contentWrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .title {
    font-size: 48px;
  }
}

@media (max-width: 600px) {
  .formGrid {
    grid-template-columns: 1fr;
  }
  .fullWidth {
    grid-column: span 1;
  }
  .glassForm {
    padding: 32px 24px;
  }
  .btnRow {
    flex-direction: column;
  }
}


/* EXACT FOOTER CSS FROM NEXT.JS */
.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 80px 0 32px;
  margin-top: auto;
}

.footerGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.brandInfo {
  flex: 0 0 350px;
}

.brandInfo p {
  color: var(--light-green);
  font-size: 16px !important;
  margin-top: 24px;
  line-height: 1.8;
  margin-bottom: 0 !important;
}

.footer .logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.column h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.column ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.column ul li {
  margin: 0;
  padding: 0;
}

.column a {
  font-size: 16px;
  color: var(--light-green);
  transition: var(--transition);
  text-decoration: none;
}

.column a:hover {
  color: var(--white);
}

.contactItem {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--light-green);
  align-items: flex-start;
}

.bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-green);
  font-size: 16px;
}

.viewAllTextLink {
  color: #000000 !important;
  font-weight: bold !important;
  font-size: 16px;
  margin-top: 8px;
  display: inline-block;
  transition: var(--transition);
}

.viewAllTextLink:hover {
  color: var(--white) !important;
}

@media (max-width: 992px) {
  .footerGrid {
    gap: 32px;
  }
  .brandInfo {
    flex: 0 0 100%;
  }
}
@media (max-width: 576px) {
  .column {
    flex: 0 0 100%;
  }
}
