/* =========================================================
   PFT - Phoenix Fine Toolings | Master Stylesheet
   Theme: Red & Yellow
   ========================================================= */

/* ---------- Root tokens ---------- */
:root {
  --pft-red: #e70606;
  --pft-red-dark: #e70606;
  --pft-red-deep: #b30000;
  --pft-yellow: #FFC107;
  --pft-yellow-soft: #ffc60b;
  --pft-yellow-pale: #FFF3CD;
  --pft-black: #1A1A1A;
  --pft-charcoal: #2A2A2A;
  --pft-gray: #555;
  --pft-light: #e92b2b;
  --pft-white: #d3cece;

  --shadow-sm: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
  --shadow-red: 0 10px 28px rgba(214,40,40,.35);
  --shadow-yellow: 0 10px 28px rgba(255,193,7,.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1200px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  color: var(--pft-charcoal);
  background: var(--pft-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--pft-red);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: .85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  padding: 6px 18px;
  background: var(--pft-yellow-pale);
  border-radius: 999px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--pft-black);
  line-height: 1.15;
}
.section-title h2 span { color: #000; }
.section-title p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--pft-gray);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pft-red);
  color: #fff;
  box-shadow: var(--shadow-red);
  border: 2px solid var(--pft-red);
}
.btn-primary:hover { background: var(--pft-red-dark); border-color: var(--pft-red-dark); transform: translateY(-2px); }

.btn-accent {
  background: var(--pft-yellow);
  color: var(--pft-black);
  box-shadow: var(--shadow-yellow);
}
.btn-accent:hover { background: var(--pft-yellow-soft); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--pft-red); }

.btn-ghost {
  background: transparent;
  color: var(--pft-red);
  border-color: var(--pft-red);
}
.btn-ghost:hover { background: var(--pft-red); color: #fff; }

/* ---------- Top Bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--pft-red-deep), var(--pft-red));
  color: #fff;
  font-size: .85rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; flex-wrap: wrap; gap: 10px;
}
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; color: var(--pft-yellow); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.4rem; color: var(--pft-black);
}
.logo-mark {
  width: 120px;
  height: 60px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: transparent;
}
.logo small {
  display: block; font-size: .7rem; font-weight: 500;
  color: var(--pft-gray); letter-spacing: 2px; text-transform: uppercase;
}

.nav-menu {
  display: flex; gap: 6px; align-items: center; list-style: none;
}
.nav-menu li {
  list-style: none;
}
.nav-menu a {
  padding: 10px 16px;
  font-weight: 600;
  color: var(--pft-charcoal);
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
  background: transparent;
  text-decoration: none;
}
.nav-menu a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.nav-menu a.active,
.nav-menu li a.active {
  color: #fff !important;
  background: #e70606 !important;
  border: 2px solid #e70606 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(231, 6, 6, 0.3);
  border-radius: 12px;
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: var(--pft-red);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 8px;
  font-size: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a0000 0%, #4a0000 20%, #8b0000 40%, #c43e00 60%, #e85500 75%, #d4890a 90%, #FFC107 100%);
  color: #fff;
  overflow: hidden;
  contain: layout style paint;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/red.png') center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
  animation: heroBgPan 15s ease-in-out infinite alternate;
}

@keyframes heroBgPan {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-2%, -2%);
  }
  100% {
    transform: scale(1.05) translate(2%, 1%);
  }
}

/* Animated particles and circles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.6);
  animation: particleFloat 10s ease-in-out infinite;
}

.particle-1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle-2 {
  width: 12px;
  height: 12px;
  top: 40%;
  left: 70%;
  background: rgba(200, 30, 0, 0.5);
  animation-delay: -2s;
}

.particle-3 {
  width: 6px;
  height: 6px;
  top: 70%;
  left: 30%;
  animation-delay: -4s;
}

.particle-4 {
  width: 10px;
  height: 10px;
  top: 30%;
  left: 80%;
  background: rgba(255, 193, 7, 0.4);
  animation-delay: -6s;
}

.particle-5 {
  width: 14px;
  height: 14px;
  top: 60%;
  left: 15%;
  background: rgba(200, 30, 0, 0.4);
  animation-delay: -3s;
}

.particle-6 {
  width: 8px;
  height: 8px;
  top: 80%;
  left: 60%;
  animation-delay: -5s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translate(-15px, -20px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(25px, 10px) scale(1.1);
    opacity: 0.8;
  }
}

.glow-star {
  position: absolute;
  font-size: 24px;
  color: #FFC107;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.8),
               0 0 20px rgba(255, 193, 7, 0.6),
               0 0 30px rgba(255, 193, 7, 0.4);
  animation: starGlow 4s ease-in-out infinite;
}

.star-1 {
  top: 20%;
  left: 25%;
  font-size: 20px;
  animation-delay: 0s;
}

.star-2 {
  top: 35%;
  left: 70%;
  font-size: 28px;
  color: rgba(255, 193, 7, 0.9);
  animation-delay: -1s;
}

.star-3 {
  top: 60%;
  left: 30%;
  font-size: 18px;
  animation-delay: -2s;
}

.star-4 {
  top: 75%;
  left: 65%;
  font-size: 26px;
  color: rgba(255, 193, 7, 0.8);
  animation-delay: -3s;
}

.star-5 {
  top: 45%;
  left: 50%;
  font-size: 22px;
  animation-delay: -1.5s;
}

.star-6 {
  top: 15%;
  left: 60%;
  font-size: 20px;
  animation-delay: -0.5s;
}

.star-7 {
  top: 80%;
  left: 25%;
  font-size: 24px;
  animation-delay: -2.5s;
}

.star-8 {
  top: 50%;
  left: 85%;
  font-size: 18px;
  animation-delay: -3.5s;
}

@keyframes starGlow {
  0%, 100% {
    transform: scale(0.6) rotate(0deg);
    opacity: 0.4;
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.5),
                 0 0 10px rgba(255, 193, 7, 0.3);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 193, 7, 1),
                 0 0 20px rgba(255, 193, 7, 0.8),
                 0 0 30px rgba(255, 193, 7, 0.6);
  }
}

/* Canvas background layer */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

/* Video background layer */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,193,7,.15);
  color: #FFC107;
  padding: 8px 18px;
  border: 1px solid rgba(255,193,7,.3);
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 22px;
}
.hero h1 span {
  background: linear-gradient(90deg, #FFC107, #FFD54F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.85);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat .num {
  font-size: 2.2rem; font-weight: 900;
  color: #FFC107;
  line-height: 1;
}
.hero-stat .label {
  font-size: .85rem; color: rgba(255,255,255,.7);
  margin-top: 4px;
}

.hero-card {
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,193,7,.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  transform: rotate(2deg);
  transition: var(--transition);
}
.hero-card:hover { transform: rotate(0); }
.hero-card h3 {
  color: #FFC107;
  margin-bottom: 18px;
  font-size: 1.25rem;
}
.hero-card ul li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.15);
  display: flex; align-items: center; gap: 12px;
}
.hero-card ul li:last-child { border-bottom: 0; }
.hero-card ul li::before {
  content: "✓";
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--pft-yellow);
  color: var(--pft-red-deep);
  border-radius: 50%;
  font-weight: 900;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--pft-yellow);
  color: var(--pft-black);
  padding: 14px 0;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 4px solid var(--pft-red);
  border-bottom: 4px solid var(--pft-red);
}
.marquee-track {
  display: flex; gap: 60px;
  animation: scroll 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee-track span::after { content: "★"; color: var(--pft-red); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About snippet ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(135deg, var(--pft-red), var(--pft-red-deep));
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  color: #fff;
}
.about-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--pft-yellow) 0%, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,.15) 0%, transparent 50%);
  opacity: .55;
}
.about-visual .badge {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 30px;
}
.about-visual .badge .year {
  font-size: 5rem; font-weight: 900;
  color: var(--pft-yellow);
  line-height: 1;
}
.about-visual .badge .text {
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--pft-black);
}
.about-content h2 span { color: var(--pft-red); }
.about-content p { color: var(--pft-gray); margin-bottom: 16px; text-align: justify; line-height: 1.8; }
.about-features {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  margin: 26px 0;
}
.about-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 600;
}
.about-features li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--pft-yellow);
  color: var(--pft-red);
  display: grid; place-items: center;
  font-weight: 900; font-size: .8rem;
}

/* ---------- Services / Products ---------- */
.services { background: var(--pft-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Process Flow Grid */
.process-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.process-flow-grid.production-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 2000px;
}

/* Quality Integration Section */
.quality-integration {
  background: #f5f5f5;
  padding: 90px 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.quality-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(200, 30, 0, 0.08);
  border-top: 4px solid var(--pft-yellow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(200, 30, 0, 0.15);
  border-top-color: var(--pft-red);
}

.quality-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-card h4 {
  color: var(--pft-red-deep);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.quality-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Card slide-up and fade-in animation base */
.process-card, .industry-card, .service-card, .stat-item, .why-card, .value-card, .tech-card, .material-pill {
  opacity: 0 !important;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.process-card.visible, .industry-card.visible, .service-card.visible, .stat-item.visible, .why-card.visible, .value-card.visible, .tech-card.visible, .material-pill.visible {
  opacity: 1 !important;
  transform: translateY(0);
}

.process-card {
  background: linear-gradient(145deg, #FFC107 0%, #e6a800 100%);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
  border: 2px solid #FFC107;
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(255,193,7,.3);
  background: linear-gradient(145deg, #FF0000 0%, #cc0000 100%);
  border-color: #FF0000;
}
.process-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 18px;
  animation: wiggle 2s ease-in-out infinite;
}
.process-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8B0000;
  margin-bottom: 2px;
  margin-top: 26px;
}
.process-card:hover h3 {
  color: #fff;
}
.process-card p {
  font-size: .95rem;
  color: #333;
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 8px;
}
.process-card:hover p {
  color: rgba(255,255,255,.9);
}

/* Quality Specs */
.quality-specs {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(139,0,0,.2);
  text-align: left;
  padding-left: 20px;
}
.quality-spec-item {
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  list-style: disc;
  list-style-position: outside;
}
.process-card:hover .quality-spec-item {
  color: rgba(255,255,255,.9);
}
.spec-icon {
  font-size: 1rem;
  margin-right: 8px;
  color: #2196F3;
}

/* Industries Section */
.industries-section {
  background: #f5f5f5;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.industry-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid transparent;
  min-height: 240px;
}
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  border-top-color: #667eea;
}
.industry-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}
.industry-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 12px;
}
.industry-card p {
  font-size: .95rem;
  color: #555;
  line-height: 1.6;
}

/* Materials Section */
.materials-section {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.materials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.material-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  will-change: transform;
  backface-visibility: hidden;
  animation: float 3s ease-in-out infinite;
}

.material-pill:nth-child(1) { animation-delay: 0s; }
.material-pill:nth-child(2) { animation-delay: 0.2s; }
.material-pill:nth-child(3) { animation-delay: 0.4s; }
.material-pill:nth-child(4) { animation-delay: 0.6s; }
.material-pill:nth-child(5) { animation-delay: 0.8s; }
.material-pill:nth-child(6) { animation-delay: 1s; }
.material-pill:nth-child(7) { animation-delay: 1.2s; }
.material-pill:nth-child(8) { animation-delay: 1.4s; }
.material-pill:nth-child(9) { animation-delay: 1.6s; }
.material-pill:nth-child(10) { animation-delay: 1.8s; }

.material-pill:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: var(--pft-yellow);
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.25);
}

.material-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.material-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pft-charcoal);
  white-space: nowrap;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 100px 0 80px;
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.page-hero h1 span {
  color: var(--pft-yellow);
}
.page-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto;
}
.service-card {
  background: linear-gradient(145deg, #FFC107 0%, #e6a800 100%);
  border-radius: 20px;
    padding: 40px 30px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.4s ease;
  text-align: center;
  border: 1px solid #FFC107;
  box-shadow:
    0 4px 30px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,193,7,.06);
  cursor: pointer;
  color: #fff;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  perspective: 1000px;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02) rotateX(2deg);
  border-color: #FFC107;
  box-shadow:
    0 0 15px rgba(255,193,7,.5),
    0 0 40px rgba(255,193,7,.25),
    0 20px 60px rgba(180,50,0,.3);
}

/* Glowing orb - molten energy shape */
.card-glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,0,.25) 0%, rgba(200,30,0,.12) 50%, transparent 70%);
  animation: orbFloat 6s ease-in-out infinite, orbPulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
  transition: all 0.6s ease;
}
.service-card:hover .card-glow-orb {
  width: 180px;
  height: 180px;
  filter: blur(30px);
  background: radial-gradient(circle, rgba(255,193,7,.4) 0%, rgba(255,69,0,.2) 50%, transparent 70%);
}

/* Animated particles */
.card-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
}
.card-particles::before,
.card-particles::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,193,7,.6);
  animation: sparkFloat 4s ease-in-out infinite;
}
.card-particles::before {
  top: 20%; left: 15%;
  animation-delay: 0s;
  box-shadow:
    40px 30px 0 rgba(255,100,0,.4),
    80px -10px 0 rgba(255,193,7,.3),
    120px 50px 0 rgba(255,69,0,.5);
}
.card-particles::after {
  top: 60%; right: 20%;
  animation-delay: -2s;
  box-shadow:
    -30px -20px 0 rgba(255,140,0,.4),
    -70px 10px 0 rgba(255,193,7,.3),
    20px -40px 0 rgba(200,50,0,.5);
}

/* Neon border glow */
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,193,7,.3), rgba(255,69,0,.1), rgba(139,0,0,.2), rgba(255,193,7,.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  transition: opacity 0.5s ease;
}
.service-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,193,7,.6), rgba(255,100,0,.4), rgba(200,30,0,.3), rgba(255,193,7,.5));
}

/* Ambient moving gradient */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255,140,0,.04), transparent, rgba(255,193,7,.03), transparent);
  animation: ambientSpin 12s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(200,30,0,.9), rgba(139,0,0,.8));
  color: #fff;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(200,30,0,.4), inset 0 1px 0 rgba(255,193,7,.2);
  position: relative;
  z-index: 3;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: bounce 2s ease-in-out infinite;
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(255,100,0,.5), inset 0 1px 0 rgba(255,193,7,.3);
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 10px;
  position: relative;
  z-index: 3;
  text-align: center;
}
.service-card p {
  color: #333;
  margin-bottom: 16px;
  font-size: .92rem;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  text-align: center;
}
.service-card a.more {
  display: inline-flex; align-items: center; gap: 6px;
  color: #c41200;
  font-weight: 700;
  font-size: .9rem;
  position: relative;
  z-index: 3;
  transition: gap 0.3s ease, color 0.3s ease;
}
.service-card a.more:hover { gap: 12px; color: #e85500; }

/* Keyframes */
@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}
@keyframes orbPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes sparkFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-8px) scale(1.3); opacity: 1; }
}
@keyframes ambientSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Featured Technology ---------- */
.featured-tech {
  background: #faf8f8;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.tech-card {
  background: linear-gradient(145deg, #007bff 0%, #cc0000 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255,193,7,.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFC107;
  margin-bottom: 10px;
}
.tech-card p {
  font-size: .9rem;
  color: #555;
  line-height: 1.6;
}
.tech-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.spec-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .9rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.spec-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.15);
}
.spec-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.tech-card-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 20px;
  display: block;
}

/* ---------- Founder Message ---------- */
.founder-message {
  background: #f8f9fa;
  color: #333;
}
.founder-card {
  background: linear-gradient(135deg, var(--pft-red-deep) 0%, var(--pft-red) 50%, #d42000 100%);
  border-radius: 16px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
  box-shadow: 0 10px 40px rgba(200, 30, 0, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 350px;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.founder-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-card-quote {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #fff;
  font-style: italic;
  margin: 0 0 20px 0;
  text-align: justify;
}
.founder-card-signature {
  font-size: 1.3rem;
  color: var(--pft-yellow);
  font-weight: 700;
  margin: 0;
}
.founder-card-photo {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--pft-yellow);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  margin-top: -60px;
}
.founder-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-info-section {
  max-width: 1100px;
  margin: 0 auto;
}
.founder-info-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pft-red-deep);
  margin-bottom: 20px;
}
.founder-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pft-red);
  margin-bottom: 15px;
  margin-top: 30px;
}
.founder-section-title:first-of-type {
  margin-top: 0;
}
.founder-info-section p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 20px;
}
.founder-qualifications {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.founder-qualifications li {
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.founder-philosophy {
  font-style: italic;
  font-size: 1.35rem;
  color: var(--pft-red-deep);
  padding: 15px 20px;
  border-left: 4px solid var(--pft-yellow);
  background: rgba(200, 30, 0, 0.05);
  border-radius: 0 8px 8px 0;
  margin-top: 10px;
}

/* ---------- Partner Message ---------- */
.partner-message {
  background: #f8f9fa;
  color: #333;
}
.partner-card {
  background: linear-gradient(135deg, var(--pft-red-deep) 0%, var(--pft-red) 50%, #d42000 100%);
  border-radius: 16px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
  box-shadow: 0 10px 40px rgba(200, 30, 0, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.partner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.partner-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partner-card-quote {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #fff;
  font-style: italic;
  margin: 0 0 20px 0;
  text-align: justify;
}
.partner-card-signature {
  font-size: 1.3rem;
  color: var(--pft-yellow);
  font-weight: 700;
  margin: 0;
}
.partner-card-photo {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--pft-yellow);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  margin-top: -60px;
}
.partner-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-info-section {
  max-width: 1100px;
  margin: 0 auto;
}
.partner-info-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pft-red-deep);
  margin-bottom: 20px;
}
.partner-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pft-red);
  margin-bottom: 15px;
  margin-top: 30px;
}
.partner-section-title:first-of-type {
  margin-top: 0;
}
.partner-info-section p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 20px;
}
.partner-qualifications {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.partner-qualifications li {
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.partner-expertise {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.partner-expertise li {
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .partner-card {
    flex-direction: column;
    padding: 30px 25px;
    text-align: center;
  }
  .partner-card-photo {
    order: -1;
    width: 110px;
    height: 110px;
  }
  .partner-info-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    padding: 30px 25px;
    text-align: center;
  }
  .founder-card-photo {
    order: -1;
    width: 110px;
    height: 110px;
  }
  .founder-info-name {
    font-size: 1.3rem;
  }
}

/* ---------- Why-us ---------- */
.why { position: relative; background: var(--pft-black); color: #fff; overflow: hidden; }
.why::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(214,40,40,.4) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255,193,7,.3) 0%, transparent 35%);
}
.why .container { position: relative; z-index: 2; }
.why .section-title h2 { color: #fff; }
.why .section-title h2 span { color: var(--pft-yellow); }
.why .section-title p { color: rgba(255,255,255,.75); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: linear-gradient(135deg, var(--pft-red), var(--pft-red-deep));
  transform: translateY(-6px);
  border-color: var(--pft-yellow);
}
.why-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--pft-yellow);
  line-height: 1;
  margin-bottom: 10px;
  animation: pulse-soft 2s ease-in-out infinite;
}
.why-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--pft-yellow), var(--pft-yellow-soft));
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "PFT";
  position: absolute;
  right: -20px; bottom: -50px;
  font-size: 16rem; font-weight: 900;
  color: rgba(214,40,40,.12);
  letter-spacing: -10px;
  line-height: 1;
}
.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-flex h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--pft-red-deep);
  font-weight: 900;
  max-width: 720px;
}

/* ---------- Materials / capability strip ---------- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 16px;
}
.material-pill {
  background: #fff;
  border: 2px solid var(--pft-yellow);
  border-radius: 999px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 700;
  color: var(--pft-charcoal);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.material-pill:hover {
  background: var(--pft-red);
  color: #fff;
  border-color: var(--pft-red);
  transform: translateY(-3px);
}

/* ---------- Page banner (sub pages) ---------- */
.page-banner {
  background:
    linear-gradient(135deg, rgba(107,15,15,.9), rgba(214,40,40,.8)),
    repeating-linear-gradient(135deg, #1a1a1a 0 20px, #222 20px 40px);
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 100px;
  background: radial-gradient(ellipse, var(--pft-yellow) 0%, transparent 60%);
  opacity: .25;
}
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.page-banner h1 span { color: var(--pft-yellow); }
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  background: rgba(255,255,255,.1);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  font-size: .9rem;
}
.breadcrumb a { color: var(--pft-yellow); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- About page extras ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 24px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  border-left: 5px solid var(--pft-red);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover {
  border-left-color: var(--pft-yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card .num {
  font-size: 1.6rem; font-weight: 900;
  color: var(--pft-yellow);
  background: var(--pft-red);
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
}
.value-card h4 { font-size: 1.15rem; margin-bottom: 8px; color: var(--pft-black); }
.value-card p { color: var(--pft-gray); font-size: .95rem; }

/* ---------- Service detail (services page) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px dashed #e0e0e0;
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail .visual {
  background: linear-gradient(135deg, var(--pft-red), var(--pft-red-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail .visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 30%, var(--pft-yellow) 0%, transparent 45%);
  opacity: .35;
}
.service-detail .visual .icon-big {
  font-size: 6rem;
  position: relative; z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
}

.service-detail .visual .service-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
}

.service-detail h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pft-black);
  margin-bottom: 14px;
}
.service-detail h3 span { color: var(--pft-red); }
.service-detail p { color: var(--pft-gray); margin-bottom: 16px; }
.service-detail ul { display: grid; gap: 8px; margin-bottom: 20px; }
.service-detail ul li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
}
.service-detail ul li::before {
  content: "▸";
  color: var(--pft-red);
  font-weight: 900;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-info-card {
  max-width: 800px;
  width: 100%;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--pft-red-deep), var(--pft-red));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.contact-info-card::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pft-yellow) 0%, transparent 70%);
  opacity: .15;
}
.contact-info-card::after {
  content: "";
  position: absolute;
  left: -80px;
  top: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.contact-info-card h2 {
  color: var(--pft-yellow);
  font-size: 2.2rem;
  margin-bottom: 35px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-align: center;
  letter-spacing: 1px;
}
.contact-info-card .info-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}
.contact-info-card .info-item:hover {
  transform: translateX(5px);
}
.contact-info-card .info-item:last-child { border-bottom: 0; }
.contact-info-card .info-item .ic {
  width: 54px;
  height: 54px;
  background: var(--pft-yellow);
  color: var(--pft-red);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.contact-info-card .info-item h5 {
  font-size: .95rem;
  color: var(--pft-yellow);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.contact-info-card .info-item p,
.contact-info-card .info-item a {
  color: #fff;
  font-weight: 500;
  line-height: 1.7;
  font-size: 1.05rem;
}
.contact-info-card .info-item a {
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.contact-info-card .info-item a:hover {
  color: var(--pft-yellow);
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 6px solid var(--pft-yellow);
}
.contact-form h3 {
  font-size: 1.4rem;
  color: var(--pft-black);
  margin-bottom: 8px;
}
.contact-form > p { color: var(--pft-gray); margin-bottom: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .9rem;
  color: var(--pft-charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pft-red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(214,40,40,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--pft-yellow-pale);
  color: var(--pft-red-deep);
  border-left: 4px solid var(--pft-red);
  font-weight: 600;
}
.form-msg.show { display: block; animation: slideIn .4s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.map-wrap {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--pft-yellow);
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--pft-black);
  color: #c5c5c5;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--pft-yellow);
  border-radius: 2px;
}
.footer p { font-size: .95rem; color: #fff; margin-bottom: 14px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  color: #aaa; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer ul li a::before { content: "›"; color: var(--pft-yellow); font-weight: 900; }
.footer ul li a:hover { color: var(--pft-yellow); transform: translateX(4px); }

.footer-social {
  display: flex; gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
  color: #fff;
  transition: var(--transition);
  font-weight: 900;
}
.footer-social a:hover {
  background: var(--pft-yellow);
  color: var(--pft-red);
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .9rem;
  color: #888;
}
.footer-bottom strong { color: var(--pft-yellow); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  animation: pulse 2.2s infinite;
  font-weight: 900;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37,211,102,.7); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0 !important;
  transform: translateY(80px) scale(0.97) translateZ(0);
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) translateZ(0);
}

/* Staggered slide-up for inner content elements */
.reveal > .container > h1,
.reveal > .container > h2,
.reveal > .container > h3,
.reveal > .container > p,
.reveal > .container > ul,
.reveal > .container > a,
.reveal > .container > .about-grid,
.reveal > .container > .section-title,
.reveal > .container > .services-grid,
.reveal > .container > .values-grid,
.reveal > .container > .why-grid,
.reveal > .container > .materials-grid,
.reveal > .container > .process-flow-grid,
.reveal > .container > .quality-grid,
.reveal > .container > .founder-card,
.reveal > .container > .founder-info-section,
.reveal > .container > .partner-card,
.reveal > .container > .partner-info-section,
.reveal > .container > .contact-info-card,
.reveal > .container > .cta-flex {
  opacity: 0;
  transform: translateY(40px) translateZ(0);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible > .container > h1,
.reveal.visible > .container > h2,
.reveal.visible > .container > h3,
.reveal.visible > .container > p,
.reveal.visible > .container > ul,
.reveal.visible > .container > a,
.reveal.visible > .container > .about-grid,
.reveal.visible > .container > .section-title,
.reveal.visible > .container > .services-grid,
.reveal.visible > .container > .values-grid,
.reveal.visible > .container > .why-grid,
.reveal.visible > .container > .materials-grid,
.reveal.visible > .container > .process-flow-grid,
.reveal.visible > .container > .quality-grid,
.reveal.visible > .container > .founder-card,
.reveal.visible > .container > .founder-info-section,
.reveal.visible > .container > .partner-card,
.reveal.visible > .container > .partner-info-section,
.reveal.visible > .container > .contact-info-card,
.reveal.visible > .container > .cta-flex {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}
.reveal.visible > .container > *:nth-child(1) { transition-delay: 0.1s; }
.reveal.visible > .container > *:nth-child(2) { transition-delay: 0.25s; }
.reveal.visible > .container > *:nth-child(3) { transition-delay: 0.4s; }
.reveal.visible > .container > *:nth-child(4) { transition-delay: 0.55s; }
.reveal.visible > .container > *:nth-child(5) { transition-delay: 0.7s; }
.reveal.visible > .container > *:nth-child(6) { transition-delay: 0.85s; }

/* Hero content staggered slide-up */
.hero-content > .hero-eyebrow,
.hero-content > h1,
.hero-content > p,
.hero-content > .hero-cta,
.hero-content > .hero-stats,
.hero-card {
  opacity: 0;
  transform: translateY(50px) translateZ(0);
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-content.visible > .hero-eyebrow,
.hero-content.visible > h1,
.hero-content.visible > p,
.hero-content.visible > .hero-cta,
.hero-content.visible > .hero-stats,
.hero-card.visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}
.hero-content.visible > .hero-eyebrow { transition-delay: 0.1s; }
.hero-content.visible > h1 { transition-delay: 0.3s; }
.hero-content.visible > p { transition-delay: 0.5s; }
.hero-content.visible > .hero-cta { transition-delay: 0.7s; }
.hero-content.visible > .hero-stats { transition-delay: 0.9s; }
.hero-card.visible { transition-delay: 1.1s; }

/* ---------- Card slide-up animation ---------- */
.process-card, .industry-card, .service-card, .stat-item, .why-card, .value-card, .tech-card, .material-pill {
  opacity: 0 !important;
  transform: translateY(50px) scale(0.95) translateZ(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.process-card.visible, .industry-card.visible, .service-card.visible, .stat-item.visible, .why-card.visible, .value-card.visible, .tech-card.visible, .material-pill.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) translateZ(0);
}

/* ---------- Service cards slide from sides ---------- */
.service-card {
  transform: translateX(-80px) scale(0.95) translateZ(0) !important;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.service-card:nth-child(even) {
  transform: translateX(80px) scale(0.95) translateZ(0) !important;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.service-card.visible {
  transform: translateX(0) scale(1) translateZ(0) !important;
}

/* ---------- Why cards slide from sides ---------- */
.why-card {
  transform: translateX(-60px) scale(0.95) translateZ(0) !important;
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.why-card:nth-child(even) {
  transform: translateX(60px) scale(0.95) translateZ(0) !important;
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.why-card.visible {
  transform: translateX(0) scale(1) translateZ(0) !important;
}

/* ---------- Staggered card bounce-in ---------- */
.process-card.visible, .industry-card.visible, .service-card.visible {
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.stat-item.visible, .why-card.visible, .value-card.visible {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ---------- Whimsical Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-15px) translateZ(0); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) translateZ(0); }
  25% { transform: rotate(-3deg) translateZ(0); }
  75% { transform: rotate(3deg) translateZ(0); }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.05) translateZ(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Apply whimsical animations to elements with GPU acceleration */
.industry-icon {
  animation: float 3s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.service-icon {
  animation: bounce 2s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.process-number {
  animation: wiggle 2s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.why-num {
  animation: pulse-soft 2s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.badge {
  animation: float 4s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

/* Stagger animations for multiple elements */
.industry-card:nth-child(1) .industry-icon { animation-delay: 0s; }
.industry-card:nth-child(2) .industry-icon { animation-delay: 0.2s; }
.industry-card:nth-child(3) .industry-icon { animation-delay: 0.4s; }
.industry-card:nth-child(4) .industry-icon { animation-delay: 0.6s; }
.industry-card:nth-child(5) .industry-icon { animation-delay: 0.8s; }
.industry-card:nth-child(6) .industry-icon { animation-delay: 1s; }
.industry-card:nth-child(7) .industry-icon { animation-delay: 1.2s; }
.industry-card:nth-child(8) .industry-icon { animation-delay: 1.4s; }

.service-card:nth-child(1) .service-icon { animation-delay: 0s; }
.service-card:nth-child(2) .service-icon { animation-delay: 0.15s; }
.service-card:nth-child(3) .service-icon { animation-delay: 0.3s; }
.service-card:nth-child(4) .service-icon { animation-delay: 0.45s; }
.service-card:nth-child(5) .service-icon { animation-delay: 0.6s; }
.service-card:nth-child(6) .service-icon { animation-delay: 0.75s; }

/* Pause animations on hover for better UX */
.industry-card:hover .industry-icon,
.service-card:hover .service-icon,
.process-card:hover .process-number,
.why-card:hover .why-num {
  animation-play-state: paused;
}

/* ---------- Responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  #heroCanvas { display: none; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-child(even) { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 14px 16px; }
  .nav-cta { margin: 6px 0 0; text-align: center; justify-content: center; }
  .topbar-info { font-size: .8rem; gap: 12px; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { min-height: 80vh; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
}
