/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
}
/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar Common */
/* Navbar Wrapper */
.navbar {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

/* Inner Container (THIS creates left-right gap) */
.navbar .pill-navbar {
  background: rgb(18, 25, 38); /* Dark background like the image */
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 10px;
  border-radius: 100px; /* Perfect pill shape */
  width: auto; /* Shrinks to content width */
  min-width: 600px;
  max-width: 95%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-pill {
  background: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.logo-pill img {
  height: 53px;
  width: auto;
  margin-top: 7px;
}

/* Links */
.nav-links {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.8;
  padding: 8px 18px;
  border-radius: 100px;
  display: inline-block;

  /* Faster duration (0.3s) for a snappier feel */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links a:hover {
  opacity: 1;
  /* Light white background */
  background-color: rgba(255, 255, 255, 0.95);
  /* Sharp black text */
  color: #000000;
  /* Snappy scale effect */
  transform: scale(1.1);
}

/* Instant response when pressed */
.nav-links a:active {
  transform: scale(0.98);
  transition: 0.1s;
}

.nav-email-box {
  background: #ffffff;
  padding: 10px 25px;
  border-radius: 100px;
  margin-left: auto; /* Pushes to the right */
  display: flex;
  align-items: center;
}

.nav-email-box a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Hover effect for the email box */
.nav-email-box:hover {
  background: #f0f0f0;
  transform: scale(1.02);
  transition: all 0.2s ease;
}

/* --- Hamburger Icon Style --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #0a4a8a;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* --- Diamond Separator between Testimonial and Footer --- */
/* --- Footer Styles --- */
.growcast-footer {
  background: #f8faff;
  padding: 120px 40px 40px;
  position: relative;
  overflow: hidden;
  font-family: sans-serif;
}

.footer-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 300px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02); /* Very faint large text */
  pointer-events: none;
  text-transform: lowercase;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-tagline {
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid #eee;
  font-size: 13px;
  color: #444;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #a3e635; /* Lime green */
  border-radius: 50%;
}

.footer-links-container {
  display: flex;
  gap: 100px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-group a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
  transition: 0.3s;
}

.footer-group a:hover {
  color: #000;
}

.footer-bottom {
  max-width: 1200px;
  margin: 100px auto 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 30px;
  color: #888;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  text-decoration: none;
  color: #888;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .choose-content {
    flex-direction: column;
    text-align: center;
  }
  .choose-buttons {
    justify-content: center;
  }
  .footer-main {
    flex-direction: column;
    gap: 50px;
  }
  .footer-links-container {
    gap: 40px;
    flex-wrap: wrap;
  }
}

/* --- Why Choose Us Section --- */
.choose-section {
  background: #f8faff;
  padding: 100px 20px 0;
  display: flex;
  justify-content: center;
}

.choose-card {
  background: #121926; /* Dark Navy from Image */
  width: 100%;
  max-width: 1100px;
  border-radius: 24px;
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Subtle pattern overlay (optional) */
.choose-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  pointer-events: none;
}

.choose-content {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.choose-left {
  flex: 1.5;
}
.choose-right {
  flex: 1;
}

.choose-title {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
}

.choose-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.5;
}

.choose-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  background: white;
  color: black;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-text {
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* --- Mobile Menu Responsive Styles --- */
@media (max-width: 992px) {
  /* Force Logo Left and Hamburger Right */
  .navbar .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 60px; /* Consistent height */
    padding: 0 20px;
    width: 92%;
  }

  /* Show Hamburger */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    z-index: 1100;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0a4a8a;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  /* --- The "X" Animation --- */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* --- Dropdown Menu (Matches Navbar Width) --- */
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    padding: 20px 0;
    gap: 5px;
    list-style: none;

    /* Animation States */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translatex(86px);
    background: white;
    width: 80%;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 12px;
    color: #333;
    font-weight: 500;
  }
  .nav-links a::after {
    display: none;
  } /* No underline on mobile */

  /* Footer Adjustments */
  .footer-container {
    flex-direction: column;
    text-align: left;
  }
  .footer-nav-grid {
    flex-direction: column;
    gap: 0;
  }
  .footer-corner-shape {
    display: none;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .navbar .container {
    width: 95%;
    padding: 0 15px;
  }
  .logo {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 10px; /* Closer to top on mobile */
  }
  .navbar .pill-navbar {
    width: 95%;
    min-width: unset;
    justify-content: 间-between;
    padding: 8px 15px;
  }

  .nav-email-box {
    display: none;
  }
  .hamburger {
    display: flex; /* Show hamburger */
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0a4a8a;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  /* 2. Cross (X) Animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); /* Slides out to the left */
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* 3. Dropdown Menu (Matches Navbar Width) */
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    border-radius: 20px;
    display: none; /* Toggle this with JS */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
    transform: translatex(43px);
  }

  .nav-links li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }
  .growcast-footer .footer-watermark {
    font-size: 150px;
    color: rgba(0, 0, 0, 0.03);
  }
  .choose-section .choose-buttons .btn-primary,
  .btn-text {
    font-size: 12px;
    width: 140px;
  }
  .navbar-logo-img {
    height: 30px;
  }
  .logo-text {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .footer-container {
    flex-direction: column;
    text-align: left;
  }
  .footer-nav-grid {
    flex-direction: column;
    gap: 0;
  }
  .footer-corner-shape {
    display: none;
  }
}
