/* =========================
   THEME VARIABLES
========================= */

:root {
    --mint: #C7FAE9;
    --green: #0B472B;
    --gold: #E6C36A;

    --bg-main: #f5fffb;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.72);

    --text-main: #0b2e1c;
    --text-muted: #4b6b5a;

    --border-soft: rgba(199, 250, 233, 0.14);
    --shadow-soft: 0 25px 60px rgba(0, 0, 0, 0.55);

    --radius-lg: 18px;
    --radius-sm: 12px;

    --max-width: 860px;

}


/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
    margin: 0;
    padding: 2.5rem 1.2rem 4rem;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;

    background-color: var(--bg-main);

    background-image:
        radial-gradient(circle at 15% 20%,
            rgba(199, 250, 233, 0.65) 0%,
            rgba(199, 250, 233, 0.35) 18%,
            transparent 40%),
        radial-gradient(circle at 85% 80%,
            rgba(230, 195, 106, 0.28) 0%,
            rgba(230, 195, 106, 0.15) 20%,
            transparent 45%);

    background-repeat: no-repeat;
    background-size: 120% 120%;
    background-attachment: fixed;
    animation: ambientMove 30s ease-in-out infinite alternate;
}


@keyframes ambientMove {
    from {
        background-position: 0% 0%, 100% 100%;
    }

    to {
        background-position: 8% 6%, 92% 94%;
    }
}


/* =========================
   CONTAINER
========================= */

.container {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    background: linear-gradient(180deg, var(--bg-glass), var(--bg-card));
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.6rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(14px);
    margin-bottom: 4rem;
}


/* =========================
   HEADER
========================= */

.header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.1rem;
    position: relative;
    padding-top: 2.4rem;
}

.form-title {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--green);
}

.title-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(11, 71, 43, 0.25));
}

/* Slightly smaller on mobile */
@media (max-width: 768px) {
    .title-icon {
        width: 32px;
        height: 32px;
    }

    .header {
        padding-top: 2.8rem;
    }

}


.form-title:hover .title-icon {
    transform: rotate(-3deg) scale(1.05);
    transition: transform 0.25s ease;
}

.header-paragraph {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 46%;
    text-align: right;
}

.section-header {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green);
  margin: 2rem 0 1rem;
  position: relative;
}

.section-header::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 0.4rem;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 4px;
}

/* =========================
   FORM
========================= */

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.form-control {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(245, 255, 250, 0.85));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.75rem;
    color: var(--text-main);
    transition: all .2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(199, 250, 233, 0.55);
    transform: translateY(-1px);
}

textarea.form-control {
    min-height: 130px;
}

.form-check {
    margin-bottom: 0.4rem;
}

.form-check-input {
    accent-color: var(--green);
    transform: scale(1.1);
}

.form-check-label {
    font-weight: 600;
    color: #134c34;
}

.order-card {
    background: linear-gradient(180deg,
            rgba(199, 250, 233, 0.55),
            rgba(199, 250, 233, 0.35));
    border: 1px solid rgba(11, 71, 43, 0.15);
    border-radius: 16px;
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow: 0 12px 30px rgba(11, 71, 43, 0.12);
}

.order-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 1rem;
}

.price-display {
    margin-top: 0.6rem;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(11, 71, 43, 0.25);
    font-weight: 700;
    color: #0b472b;
}

.price-display strong {
    color: var(--green);
}

.price-display.total {
    font-size: 1.15rem;
    background: linear-gradient(180deg,
            rgba(199, 250, 233, 0.75),
            rgba(199, 250, 233, 0.55));
    border: 2px solid rgba(11, 71, 43, 0.3);
}

.add-on-section .mb-2 {
    display: grid;
    grid-template-columns: 1fr 90px;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
/* =========================
  FLAVOR CUSTOMIZATION
========================= */

.flavor-section {
  background: rgba(199, 250, 233, 0.35);
  border: 1px dashed rgba(11, 71, 43, 0.35);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}

.flavor-title {
  font-size: 0.98rem;
  font-weight: 850;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.flavor-hint {
  font-size: 0.75rem;
  color: #4e6f60;
  margin-bottom: 0.9rem;
}

.flavor-group {
  margin-bottom: 0.8rem;
}

.flavor-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f3d2d;
  margin-bottom: 0.35rem;
  display: block;
}

/* RADIO BUTTONS AS PILLS */
.flavor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.flavor-options label {
  position: relative;
  cursor: pointer;
}

.flavor-options input {
  position: absolute;
  opacity: 0;
}

.flavor-options span {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid rgba(11, 71, 43, 0.25);
  color: #1f3d2d;
  transition: all 0.18s ease;
}

.flavor-options input:checked+span {
  background: linear-gradient(90deg, var(--green), #146b45);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(11, 71, 43, 0.25);
}

/* CHECKBOXES */
.flavor-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.flavor-checks label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid rgba(11, 71, 43, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.flavor-checks input {
  accent-color: var(--green);
}

/* FOOTNOTE */
.flavor-footnote {
  font-size: 0.7rem;
  color: #5a7d6c;
  margin-top: 0.5rem;
}
/* =========================
   BUTTONS
========================= */

.d-flex {
    gap: 1rem;
    margin-top: 1.6rem;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.3px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.btn-submit {
  background: linear-gradient(90deg, var(--green), #146b45);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 71, 43, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 71, 43, 0.45);
}

.btn-print {
  background: linear-gradient(90deg, var(--gold), #d4b04c);
  color: #1f2f22;
  box-shadow: 0 10px 26px rgba(230, 195, 106, 0.45);
}

.btn-print:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(230, 195, 106, 0.55);
}
/* Spinner */
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* Submitting */
.btn-submit.is-submitting {
  pointer-events: none;
  opacity: 0.75;
  filter: grayscale(0.2);
}

.btn-submit.is-submitting .btn-text {
  margin-right: 0.5rem;
}

.btn-submit.is-submitting .btn-spinner {
  display: inline-block;
}

/* Focus */
.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(199, 250, 233, 0.8),
    0 12px 30px rgba(11, 71, 43, 0.35);
}

#addSoupBtn {
    display: inline-block !important;
    margin-top: 10px;
}


/* Motion */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-spinner {
    animation: none;
  }
}

/* =========================
   INFO SECTION
========================= */

.info-section {
    margin-top: 1.6rem;
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(199, 250, 233, 0.45), rgba(199, 250, 233, 0.25));
    border: 1px dashed var(--border-soft);
}


.operation-hours,
.small-header {
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--green);
}

.lead {
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

@media (max-width: 768px) {
    body {
        padding: 1.4rem 1rem 3.5rem;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-paragraph {
        max-width: 100%;
        text-align: left;
    }

    .d-flex {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }

    .order-card {
        padding: 1.2rem 1.1rem;
    }

    .price-display {
        font-size: 0.95rem;
    }

}

/* =========================
   PRINT
========================= */

@media print {
    body {
        background: #fff;
        padding: 0;
    }

    .container {
        box-shadow: none;
        border: none;
    }

    .btn {
        display: none;
    }
}

/* =========================
   Tracking Page
========================= */
.track-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.inner {
  background:
    radial-gradient(circle at top right, rgba(199, 250, 233, 0.35), transparent 55%),
    radial-gradient(circle at bottom left, rgba(230, 195, 106, 0.15), transparent 55%),
    #f6fffb;
}

.container {
  max-width: 720px;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.tracking-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 30px 60px rgba(11, 71, 43, 0.12);
  border: 1px solid rgba(11, 71, 43, 0.08);
  margin-bottom: 2.5rem;
}

.tracking-form .form-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1f3d2d;
}

.tracking-form .form-control {
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}

.tracking-form .btn {
  margin-top: 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, var(--green), #146b45);
  border: none;
  box-shadow: 0 14px 34px rgba(11, 71, 43, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tracking-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(11, 71, 43, 0.45);
}

.status-section {
  display: none;
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.status-section h3 {
  font-weight: 800;
  color: var(--green);
  margin-bottom: 1rem;
}

.status-section .card {
  border-radius: 16px;
  border: none;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.95),
      rgba(245, 255, 250, 0.9));
  box-shadow: 0 16px 36px rgba(11, 71, 43, 0.18);
}

.status-section .card-title {
  font-weight: 800;
  color: #0b472b;
}

.status-section .card-text {
  font-size: 0.85rem;
  color: #4e6f60;
}

.progress {
  height: 14px;
  border-radius: 999px;
  background: rgba(11, 71, 43, 0.12);
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(110deg,
      rgba(255, 255, 255, 0.25) 25%,
      rgba(255, 255, 255, 0.45) 37%,
      rgba(255, 255, 255, 0.25) 63%),
    linear-gradient(90deg,
      var(--green),
      #146b45);
  background-size: 200% 100%, 100% 100%;
  animation: shimmer 2.8s ease-in-out infinite;
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(11, 71, 43, 0.35);
  transition: width 0.6s ease;
}

/* Shimmer movement */
@keyframes shimmer {
  0% {
    background-position: -200% 0, 0 0;
  }

  100% {
    background-position: 200% 0, 0 0;
  }
}

.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%,
      rgba(255, 255, 255, 0.25),
      transparent 40%);
  animation: wave 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wave {

  0%,
  100% {
    transform: translateX(-20%);
    opacity: 0.4;
  }

  50% {
    transform: translateX(120%);
    opacity: 0.7;
  }
}

.list-group {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(11, 71, 43, 0.12);
}

.list-group-item {
  border: none;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #1f3d2d;
}

.status-icon {
  font-size: 1.2rem;
  margin-right: 0.6rem;
}

.alert-info {
  border-radius: 14px;
  border: none;
  background: rgba(199, 250, 233, 0.75);
  color: #0b472b;
  font-weight: 600;
}

.map-container {
  margin-top: 1.2rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 71, 43, 0.25);
}

.list-group-item.active {
  background: rgba(52, 159, 123, 0.7);
  font-weight: 800;
}

.track-info {
  position: relative;

  margin: 0.2rem 0 1.4rem;
  padding-left: 0.9rem;

  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.25px;

  color: rgba(11, 71, 43, 0.78);

  background: linear-gradient(
    90deg,
    rgba(199, 250, 233, 0.25),
    transparent
  );

  border-left: 3px solid var(--green);
  border-radius: 6px;

  animation: trackFade 0.7s ease forwards;
}

/* subtle shimmer accent */
.track-info::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 2px;

  background: linear-gradient(
    90deg,
    var(--green),
    var(--gold)
  );

  border-radius: 999px;
  opacity: 0.6;

  animation: trackScan 4s ease-in-out infinite;
}

/* entry animation */
@keyframes trackFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* underline movement */
@keyframes trackScan {
  0%,100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
}

/* reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .track-info,
  .track-info::after {
    animation: none;
  }
}
.contact-link-body {
  background-color: #f9f9f9;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
}

.contact-link-body p {
  margin: 0;
  font-size: 1rem;
}

.contact-link {
  display: inline-block;
  margin-left: 0.5rem;
  font-weight: 600;
  color: #0078d4;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-link:hover {
  color: #005a9e;
  transform: translateX(3px);
}

.contact-link:after {
  content: " →";
  font-weight: normal;
}

/* =========================
   Login Page
========================= */
.login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(199, 250, 233, 0.35), transparent 55%),
    radial-gradient(circle at bottom left, rgba(230, 195, 106, 0.18), transparent 55%),
    #f6fffb;
}

.login-form {
  background: #fff;
  padding: 1.8rem 1.6rem;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(11, 71, 43, 0.14);
  border: 1px solid rgba(11, 71, 43, 0.08);
}

.login-form .form-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1f3d2d;
}

.login-form .form-control {
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}

.login-form .btn-primary {
  background: linear-gradient(90deg, var(--green), #146b45);
  border: none;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 14px 34px rgba(11, 71, 43, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(11, 71, 43, 0.45);
}

.orders-section {
  margin-top: 3rem;
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.orders-section h3 {
  font-weight: 800;
  color: var(--green);
}

.orders-section .btn-success {
  background: linear-gradient(90deg, var(--gold), #d4b04c);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  color: #1f2f22;
  box-shadow: 0 12px 26px rgba(230, 195, 106, 0.45);
}

.order-card {
  border: none;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.96),
      rgba(245, 255, 250, 0.9));
  box-shadow: 0 14px 32px rgba(11, 71, 43, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(11, 71, 43, 0.22);
}

.order-card .card-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0b472b;
}

.order-card .card-text {
  font-size: 0.82rem;
  color: #4e6f60;
}

.status-badge {
  font-size: 0.7rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}

.text-muted {
  color: #6c8b7c !important;
  font-size: 0.85rem;
}

/* ===============================
   SIGNATURE / COPYRIGHT
================================ */

.copyright {
  margin-top: 3.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.85;
}

/* animated underline bar */
.copyright::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 auto 0.9rem;
  background: linear-gradient(90deg,
      transparent,
      var(--green),
      var(--gold),
      var(--green),
      transparent);
  animation: scanline 4s linear infinite;
  border-radius: 999px;
}

/* link itself */
.copyright a {
  position: relative;
  text-decoration: none;
  color: var(--green);
  display: inline-block;
  padding: 0.2rem 0.35rem;
  transition: color 0.3s ease;
}

/* glitch glow */
.copyright a::before,
.copyright a::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}

.copyright a::before {
  color: var(--gold);
  transform: translate(1px, -1px);
}

.copyright a::after {
  color: #ffffff;
  transform: translate(-1px, 1px);
}

/* hover effect */
.copyright a:hover {
  color: var(--gold);
}

.copyright a:hover::before,
.copyright a:hover::after {
  opacity: 0.55;
  animation: glitch 0.35s steps(2) infinite;
}

/* subtle breathing pulse */
.copyright {
  animation: breathe 6s ease-in-out infinite;
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes scanline {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes glitch {
  0% {
    clip-path: inset(0 0 90% 0);
  }

  25% {
    clip-path: inset(10% 0 60% 0);
  }

  50% {
    clip-path: inset(30% 0 30% 0);
  }

  75% {
    clip-path: inset(60% 0 10% 0);
  }

  100% {
    clip-path: inset(90% 0 0 0);
  }
}

@keyframes breathe {

  0%,
  100% {
    opacity: 0.75;
  }

  50% {
    opacity: 1;
  }
}

/* motion-sensitive users */
@media (prefers-reduced-motion: reduce) {

  .copyright,
  .copyright::before,
  .copyright a::before,
  .copyright a::after {
    animation: none;
  }
}

/* =========================
   Make form Page
========================= */
.orb-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.85;
  mix-blend-mode: multiply;
  animation: drift 18s linear infinite alternate;
}

/* individual orbs */
.orb.green {
  width: 260px;
  height: 260px;
  background: rgba(11, 71, 43, 0.45);
  top: 10%;
  left: 5%;
}

.orb.mint {
  width: 200px;
  height: 200px;
  background: rgba(199, 250, 233, 0.8);
  top: 60%;
  left: 15%;
  animation-duration: 22s;
}

.orb.gold {
  width: 180px;
  height: 180px;
  background: rgba(230, 195, 106, 0.85);
  top: 30%;
  right: 8%;
  animation-duration: 20s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(40px, -30px);
  }

  50% {
    transform: translate(-30px, 20px);
  }

  75% {
    transform: translate(20px, 40px);
  }

  100% {
    transform: translate(-40px, -20px);
  }
}

.form-hero {
  max-width: 720px;
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  padding: 0 1rem;
}

.form-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--gold));
  color: #020617;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.form-hero h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.form-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #355f4b;
}

.request-form {
  position: relative;
  max-width: 960px;
  margin: 0 auto 6rem;
  padding: 0 1rem;
}

.form-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  overflow: hidden;
  transition: transform .6s ease, opacity .6s ease;
}

.background-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(30px);
  animation: float 18s ease-in-out infinite alternate;
}

.circle-1 {
  width: 220px;
  height: 220px;
  background: var(--green);
  top: -60px;
  left: -60px;
}

.circle-2 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  bottom: -120px;
  right: -80px;
  animation-delay: 4s;
}

.circle-3 {
  width: 180px;
  height: 180px;
  background: #c7fae9;
  top: 40%;
  right: -60px;
  animation-delay: 8s;
}

@keyframes float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-40px);
  }
}

.form-groups {
  position: relative;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #0b472b;
}

.common-input {
  border-radius: 14px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(11, 71, 43, .15);
  background: rgba(255, 255, 255, .9);
  transition: all .25s ease;
}

.common-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 71, 43, .12);
  background: #fff;
}

.form-text {
  font-size: 0.82rem;
  color: #567e6a;
}

.form-btn {
  margin-top: 1.5rem;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, var(--green), #146b45);
  border: none;
  box-shadow: 0 18px 40px rgba(11, 71, 43, .35);
  transition: all .3s ease;
}

.form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(11, 71, 43, .45);
}

.form-btn.loading {
  pointer-events: none;
  opacity: .85;
}

.form-btn.success {
  background: linear-gradient(135deg, var(--gold), #d4b04c);
}

@media (max-width: 768px) {

  /* main layout container */
  .request-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  /* hero moves to top */
  .form-hero {
    order: -1;
    margin: 2.5rem auto 0;
    text-align: center;
  }

  /* form wrapper becomes full width */
  .form-wrapper {
    width: 100%;
    padding: 1.5rem;
  }

  /* kill any side-by-side grids */
  .form-grid,
  .row {
    display: block;
  }

  .row>[class*="col"] {
    width: 100%;
    max-width: 100%;
  }

  /* inputs get breathing room */
  .common-input,
  select,
  textarea {
    font-size: 1rem;
    padding: 0.85rem 1rem;
  }

  /* buttons look intentional, not squeezed */
  .form-btn {
    width: 100%;
    justify-content: center;
  }
}
/* Profile Segment */
.tracking-form .profile-bubble {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;

  width: 78px;
  height: 78px;
  padding: 4px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    rgba(11, 71, 43, 0.9),
    rgba(199, 250, 233, 0.95),
    rgba(230, 195, 106, 0.9)
  );

  box-shadow:
    0 14px 32px rgba(11, 71, 43, 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.45);

  z-index: 2;
  animation: profileFloat 6s ease-in-out infinite;
}

/* View History link */

.profile-word {
  position: relative;
  margin: 1.6rem 0 1.2rem;
  padding-left: 0.75rem;
  border-left: 3px solid transparent;
  border-image: linear-gradient(
    180deg,
    var(--green),
    var(--gold)
  ) 1;
}

.profile-word h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.2;
}

/* subtle animated underline */
.profile-word::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.45rem;
  background: linear-gradient(
    90deg,
    var(--green),
    var(--gold)
  );
  border-radius: 999px;
  animation: wordScan 3.5s ease-in-out infinite;
}

/* animation */
@keyframes wordScan {
  0%, 100% {
    opacity: 0.4;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(10px);
  }
}
/* link reset */
.tracking-form a {
  text-decoration: none;
}

/* position profile-word to top-right */
.tracking-form .profile-word {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;

  margin: 0;
  padding-left: 0.75rem;
  cursor: pointer;
  z-index: 2;

  transition: transform 0.25s ease;
}

/* hover polish */
.tracking-form .profile-word:hover {
  transform: translateY(-2px);
}
@media (max-width: 576px) {
  .tracking-form .profile-word {
    position: static;
    margin: 0 auto 1rem;
    text-align: center;
  }

  .tracking-form .mb-3 {
    margin-top: 0;
  }
}

.btn-next {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 0.8rem;
  padding: 8px 18px;

  border-radius: 14px;

  background:
    linear-gradient(
      120deg,
      rgba(11, 71, 43, 0.9),
      rgba(20, 140, 90, 0.9)
    );
  border: 1px solid rgba(255, 255, 255, 0.18);

  color: #eafff6;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.35px;

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 26px rgba(11, 71, 43, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);

  cursor: pointer;
  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* glow + lift */
.btn-next:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(11, 71, 43, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* shimmer sweep */
.btn-next::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35),
    transparent 70%
  );
  transform: translateX(-120%);
  animation: shimmer 4.5s infinite;
}

/* arrow animation */
.btn-next .btn-text::before {
  content: "←";
  margin-right: 6px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-next:hover .btn-text::before {
  transform: translateX(-3px);
}

/* shimmer motion */
@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* spinner */
.btn-next .btn-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}

/* loading state */
.btn-next.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-next.loading .btn-spinner {
  display: inline-block;
}

/* reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .btn-next::before {
    animation: none;
  }
}

/* Contact Us page */
contact-body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, rgba(199,250,233,.35) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 60%, rgba(11,71,43,.25) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(212,176,76,.25) 0 2px, transparent 3px);
  animation: floatParticles 25s linear infinite;
  opacity:.25;
}

@keyframes floatParticles{
  from{ transform:translateY(0);}
  to{ transform:translateY(-100px);}
}

.info-box{
  background: linear-gradient(135deg,#C7FAE9, rgba(199,250,233,0.3));
  padding:1rem 1.2rem;
  border-radius:14px;
  border-left:4px solid var(--green);

  font-size:.92rem;
  line-height:1.5;
  color:#08412a;

  animation: fadeRise .6s ease forwards;
}

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

.contact-card{
  position:relative;
  isolation:isolate;
}

.contact-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(120deg, transparent 35%, rgba(255,255,255,.35), transparent 70%);
  mix-blend-mode:overlay;
  animation: glassFlow 10s linear infinite;
}

@keyframes glassFlow{
  from{ transform:translateX(-120%);}
  to{ transform:translateX(120%);}
}
.contact-form .form-control{
  border-radius:12px;
  border:1px solid rgba(11,71,43,0.15);
  padding:.7rem .85rem;
  transition: all .25s ease;
  background:#fff;
}

.contact-form .form-control:focus{
  border-color: var(--green);
  box-shadow:
    0 0 0 3px rgba(199,250,233,0.7),
    0 6px 16px rgba(11,71,43,0.15);
  transform: translateY(-1px);
}

.contact-form textarea{
  resize:none;
}

/* footer */

footer {
  position: relative;
  margin-top: 4rem;
  padding: 3rem 1.5rem 2.4rem;

  background:
    linear-gradient(180deg, rgba(11,71,43,0.95), rgba(6,45,28,0.98));

  color: #eafff6;
  overflow: hidden;

  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ambient glow layers */
footer::before,
footer::after {
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  filter:blur(90px);
  opacity:.25;
  pointer-events:none;
}

footer::before{
  background:#C7FAE9;
  top:-120px;
  left:-80px;
}

footer::after{
  background:#d4b04c;
  bottom:-140px;
  right:-80px;
}
.footer-body {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.inner-footer h5 {
  font-weight: 900;
  letter-spacing: .6px;
  margin-bottom: 0.8rem;
  color: #C7FAE9;
}

.inner-footer p {
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: .88;
}
.developer-section {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 1.4rem;
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.25);

  position: relative;
  overflow: hidden;
}

/* subtle shine */
.developer-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg,transparent 40%,rgba(255,255,255,.25),transparent 60%);
  transform:translateX(-120%);
  animation: devShine 9s linear infinite;
}

@keyframes devShine{
  to{ transform:translateX(120%);}
}

.developer-name strong{
  color:#d4b04c;
  font-weight:900;
}
.developer-link {
  position: relative;
  font-weight: 700;
  color: #C7FAE9;
  text-decoration: none;
  transition: color .25s ease;
}

.developer-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:2px;
  background: linear-gradient(90deg,#C7FAE9,#d4b04c);
  transition: width .3s ease;
}

.developer-link:hover{
  color:#fff;
}

.developer-link:hover::after{
  width:100%;
}
footer .footer-body::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, rgba(199,250,233,.25) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 70%, rgba(212,176,76,.25) 0 2px, transparent 3px);
  opacity:.3;
  animation: footerFloat 28s linear infinite;
}

@keyframes footerFloat{
  from{ transform:translateY(0);}
  to{ transform:translateY(-180px);}
}
@media (max-width:768px){
  footer{
    padding:2.2rem 1.2rem;
  }

  .developer-section{
    margin-top:1.4rem;
    text-align:center;
  }
}
