  
/* ================= CONTACT HERO ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contact-hero {
  padding: 100px 80px 60px;
  text-align: center;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(224, 90, 30, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.contact-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e05a1e;
  margin-bottom: 16px;
}
.contact-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(160deg, #fff 40%, rgba(255, 255, 255, 0.45));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.contact-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

/* ================= CONTACT BODY ================= */
.contact-body {
  background: #000;
  padding: 60px 80px 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ================= INFO CARDS ================= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.3s;
}
.contact-info-card:hover {
  border-color: rgba(224, 90, 30, 0.3);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(224, 90, 30, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}
.contact-info-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
}
.contact-info-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info-link:hover {
  color: #e05a1e;
}
.contact-info-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
}
.contact-map-link {
  font-size: 12px;
  color: #e05a1e;
  text-decoration: none;
  font-weight: 500;
  margin-top: 2px;
  display: inline-block;
  letter-spacing: 0.3px;
  transition: letter-spacing 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-map-link:hover {
  letter-spacing: 0.8px;
}
.contact-map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ================= FORM OUTER (chef border wrapper) ================= */
.contact-form-outer {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* ── Chef tracks top and bottom ── */
.chef-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
  background: rgba(224, 90, 30, 0.06);
  border-left: 1px solid rgba(224, 90, 30, 0.15);
  border-right: 1px solid rgba(224, 90, 30, 0.15);
}
.chef-track-top {
  top: 0;
  border-top: 1px solid rgba(224, 90, 30, 0.2);
  border-radius: 16px 16px 0 0;
}
.chef-track-bottom {
  bottom: 0;
  border-bottom: 1px solid rgba(224, 90, 30, 0.2);
  border-radius: 0 0 16px 16px;
}

/* ── Chef runners ── */
.chef-runner {
  position: absolute;
  font-size: 22px;
  top: 50%;
  transform: translateY(-50%);
  animation: chefRun 8s linear infinite;
  left: -40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.chef-runner-2 {
  animation-delay: -2.5s;
  animation-duration: 9s;
}
.chef-runner-3 {
  animation-delay: -5s;
  animation-duration: 7s;
}

/* RTL runners (bottom track, run right to left) */
.chef-rtl {
  animation: chefRtl 8s linear infinite;
  right: -40px;
  left: auto;
}
.chef-rtl.chef-runner-2 {
  animation-delay: -3s;
  animation-duration: 10s;
}
.chef-rtl.chef-runner-3 {
  animation-delay: -6s;
  animation-duration: 7.5s;
}

@keyframes chefRun {
  0% {
    left: -40px;
  }
  100% {
    left: 110%;
  }
}
@keyframes chefRtl {
  0% {
    right: -40px;
  }
  100% {
    right: 110%;
  }
}

/* ================= FORM WRAP ================= */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 56px 40px 40px;
}
.contact-form-title {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ================= FORM ROWS & FIELDS ================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.form-full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: "DM Sans", sans-serif;
  width: 100%;
  box-sizing: border-box;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #e05a1e;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: #e05a1e;
}
.field-error {
  font-size: 11.5px;
  color: #e05a1e;
  display: none;
  line-height: 1.4;
}
.field-error.visible {
  display: block;
}

/* ── Selects ── */
#ctcCountry,
#ctcSubject {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #0a0a0a;
  cursor: pointer;
}
#ctcCountry option,
#ctcCountry optgroup,
#ctcSubject option {
  background: #111;
  color: #e0e0e0;
}

/* ── Phone ── */
.phone-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.phone-dial-prefix {
  position: absolute;
  left: 14px;
  color: #e05a1e;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
  min-width: 38px;
  z-index: 1;
}
#ctcPhone {
  padding-left: 58px;
}

/* ── Submit ── */
.contact-submit {
  width: 100%;
  padding: 14px 24px;
  background: #e05a1e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background 0.2s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-submit:hover {
  background: #c94d18;
  transform: translateY(-2px);
}
.contact-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ================= SUCCESS STATE ================= */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  min-height: 400px;
  animation: successIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes successIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.success-emoji-row {
  display: flex;
  gap: 16px;
  font-size: 48px;
  margin-bottom: 24px;
}
.success-emoji {
  display: inline-block;
  animation: successBounce 1.2s ease-in-out infinite alternate;
}
.success-emoji.delay-1 {
  animation-delay: 0.2s;
}
.success-emoji.delay-2 {
  animation-delay: 0.4s;
}
@keyframes successBounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}
.success-title {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.success-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 20px;
}
.success-sub strong {
  color: #e05a1e;
}
.success-detail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(224, 90, 30, 0.08);
  border: 1px solid rgba(224, 90, 30, 0.2);
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 24px;
}
.success-refresh {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .contact-hero {
    padding: 80px 40px 50px;
  }
  .contact-body {
    padding: 40px 40px 80px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .contact-hero {
    padding: 80px 20px 40px;
  }
  .contact-body {
    padding: 32px 20px 60px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 48px 20px 24px;
  }
}

/* ── Hero Video ── */
.contact-hero {
  position: relative;
  overflow: hidden;
}
.contact-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
}


.contact-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero-video-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.85) 75%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* ── Performance: respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ================================================================
   MOBILE BRIGHTNESS + PREMIUM POLISH  (auto-generated)
   Hard hex values — correct at ANY screen brightness level
================================================================ */
@media (max-width: 768px) {

  /* CARD BACKGROUNDS */
  .why-card, .infra-stat-box, .infra-floor, .quality-pillar,
  .story-img-cell, .explore-card, .pl-card, .bake-card, .ind-card,
  .machine-card, .blog-card, .timeline-card, .featured-card,
  .stat-block, .r-card, .t-card, .pkg-card, .pkg-info-card,
  .pkg-manpower-card, .contact-info-card, .post-sidebar-box,
  .flow-step-box, .iot-card, .infra-img-main, .tl-img-frame,
  .why-features .why-card, .cert-grid .cert-card,
  .export-panel, .r-card, .rating-callout { background: #1e1e1e; border-color: #3a3a3a; }

  /* BODY / DESCRIPTION TEXT */
  .why-card p, .infra-floor-body, .infra-floor-detail, .infra-intro,
  .quality-intro, .quality-pillar-body-inner li, .quality-pillar-sub,
  .story-body-text p, .explore-card-desc, .explore-header-sub,
  .about-hero-desc, .section-body, .why-header-right p,
  .pl-card-desc, .pl-hero-sub, .pl-card-flow span,
  .machine-card-desc, .bake-card-desc, .blog-card-excerpt,
  .blog-card-subtitle, .featured-desc, .timeline-desc,
  .tl-body, .r-quote, .t-card-quote, .pkg-desc, .pkg-info-sub,
  .line-meta-text, .post-content p, .detail-desc, .hero-desc,
  .page-sub, .csa-sub, .ind-sub, .bake-sub, .about-body,
  .process-sub, .cta-sub, .card-models, .card-count,
  .terms-clause-body p, .pp-section p, .pp-list li,
  .contact-subtitle, .footer-tagline, .blog-hero-desc,
  .step-label, .cta-sub { color: #cccccc; }

  /* SECONDARY / LABEL TEXT */
  .about-hero-stat-label, .infra-stat-box-label, .pl-stat-label,
  .csa-stat-l, .stat-label, .t-stat-label, .pkg-info-label,
  .pkg-manpower-label, .card-cat, .section-eyebrow,
  .line-hero-eyebrow, .flow-step-num, .blog-card-date,
  .post-hero-date, .r-loc, .t-card-loc, .cert-milestone-label,
  .line-nav-prev-hint, .line-nav-next-hint, .contact-info-label,
  .breadcrumb, .breadcrumb a, .back-btn,
  .pkg-machine-note { color: #aaaaaa; }

  /* CARD TITLES */
  .why-card h3, .infra-floor-name, .quality-pillar-title,
  .explore-card-title, .pl-card-name, .machine-card-name,
  .bake-card-name, .blog-card-title, .featured-name,
  .timeline-event-name, .tl-headline, .t-card-name,
  .pkg-card-name, .card-name, .cta-title,
  .models-cta-text h4, .iot-card-title,
  .contact-info-value { color: #ffffff; font-size: 15px; }

  /* STAT NUMBERS */
  .about-hero-stat-num, .infra-stat-box-num, .pl-stat-num,
  .csa-stat-n, .stat-num, .t-stat-num, .pkg-info-value,
  .pkg-manpower-value, .history-meta-num,
  .rating-big { color: #ffffff; font-size: 24px; }

  /* PILL / TAG CHIPS */
  .pl-card-capacity, .pl-card-machine-tag, .infra-badge,
  .line-meta-badge, .tl-tag, .model-tag, .card-tag,
  .pkg-tag, .pkg-material, .detail-tag,
  .filter-pill, .filter-btn { background: #252525; border-color: #3d3d3d; color: #cccccc; }

  /* SECTION TITLES */
  .section-title, .pl-lines-title, .pl-overview-title,
  .bake-title, .ind-title, .about-title, .featured-title,
  .timeline-title, .t-hero-title { font-size: clamp(28px, 7vw, 40px); }

  /* FLOW */
  .flow-step-name { color: #ffffff; }
  .flow-step-box { background: #1e1e1e; border-color: #3a3a3a; }

  /* FOOTER */
  .footer-col ul li a { color: #aaaaaa; }
  .footer-col h4.footer-col-title { color: #888888; }
  .footer-address { color: #aaaaaa; }
  .footer-bottom span, .footer-bottom-links a { color: #666666; }

  /* TESTIMONIALS */
  .t-card-quote, .r-quote { color: #cccccc; }
  .cert-milestone-year { color: #888888; }

  /* PACKAGES */
  .pkg-machine-name { color: #eeeeee; }
  .pkg-capacity-row span { color: #cccccc; }
  .pkg-capacity-row span:first-child { color: #eeeeee; }
  .pkg-note, .pkg-desc { color: #cccccc; }

  /* BLOG */
  .post-related-title { color: #cccccc; }

  /* MACHINE / MODEL */
  .detail-desc, .iot-card-desc, .right-sub,
  .models-cta-text p { color: #cccccc; }
  .specs-table td:first-child { color: #aaaaaa; }
  .specs-table td:last-child { color: #eeeeee; }

  /* PRIVACY / TERMS */
  .terms-notice, .pp-note { color: #cccccc; }
}

@media (max-width: 480px) {
  .pl-card-name, .machine-card-name, .bake-card-name,
  .why-card h3, .explore-card-title { font-size: 14px; }
  .section-title, .pl-lines-title { font-size: clamp(26px, 8vw, 34px); }
}


/* ================================================================
   PREMIUM MICRO-ANIMATIONS (auto-generated)
   Smooth, tasteful — respects prefers-reduced-motion
================================================================ */

/* Scroll reveal base */
.reveal, .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible, .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* Card hover lift — premium feel */
.why-card, .infra-stat-box, .infra-floor, .explore-card,
.pl-card, .bake-card, .ind-card, .machine-card, .blog-card,
.featured-card, .stat-block, .r-card, .t-card, .pkg-card,
.pkg-info-card, .timeline-card, .contact-info-card {
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Shimmer on card hover */
.why-card::after, .explore-card::after, .pl-card::after,
.machine-card::after, .blog-card::after, .pkg-card::after {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,90,30,0.6), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover::after, .explore-card:hover::after,
.pl-card:hover::after, .machine-card:hover::after,
.blog-card:hover::after, .pkg-card:hover::after {
  opacity: 1; transform: scaleX(1);
}

/* Stat number count-up glow on hover */
.about-hero-stat:hover .about-hero-stat-num,
.infra-stat-box:hover .infra-stat-box-num,
.stat-block:hover .stat-number {
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

/* Link underline slide */
.footer-col ul li a,
.drawer-link,
.toc-pill,
.filter-pill {
  transition: color 0.25s, padding-left 0.3s cubic-bezier(0.16,1,0.3,1),
              background 0.25s, border-color 0.25s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

/* Button press feedback */
.nav-cta:active, .fcta-btn-primary:active,
.line-cta-btn-primary:active, .pkg-cta-primary:active,
.enquire-submit:active {
  transform: scale(0.97) translateY(0);
}

/* Image scale on card hover */
.bake-card:hover .bake-card-img,
.ind-line-pill:hover .ind-line-pill-icon img,
.blog-card:hover img { transform: scale(1.06); }

/* Smooth border-radius pulse on active nav item */
.island-item.active .island-icon svg {
  filter: drop-shadow(0 0 4px rgba(224,90,30,0.6));
}

/* Orange accent line slide-in on section hover */
.pl-card-cta-text, .view-btn, .blog-card-cta,
.explore-card-cta, .featured-details {
  transition: letter-spacing 0.35s cubic-bezier(0.16,1,0.3,1),
              opacity 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

/* Tablet-specific enhancements */
@media (min-width: 769px) and (max-width: 1024px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(224,90,30,0.06);
  }
}

/* Desktop-specific enhancements */
@media (min-width: 1025px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 72px rgba(0,0,0,0.65), 0 0 0 1px rgba(224,90,30,0.07);
  }
  /* Subtle parallax depth on hero sections */
  .pl-hero-bg, .about-hero-orb, .blog-hero-orb {
    will-change: transform;
  }
}

/* Mobile — no hover transforms (tap only) */
@media (max-width: 768px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover, .infra-floor:hover,
  .quality-pillar:hover { transform: none; }
  .why-card:active { transform: scale(0.98); }
  .pl-card:active, .blog-card:active, .machine-card:active { transform: scale(0.98); }
  .island-item:active { transform: scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
