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

:root {
  --red: #d60000;
  --dark: #0a0a0a;
  --text: #ffffff;
}

html { scroll-behavior: smooth; }
body { background: #fff; color: #111; font-family: Arial, sans-serif; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */

/* Ken Burns — slow zoom + pan loop every 4s */
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0%,    0%);   }
  25%  { transform: scale(1.06) translate(-1.5%, -0.8%); }
  50%  { transform: scale(1.10) translate(-2.5%, -1.5%); }
  75%  { transform: scale(1.06) translate(-1%,   -0.5%); }
  100% { transform: scale(1)    translate(0%,    0%);   }
}

/* Red shimmer sweep across hero */
@keyframes shimmer {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.6; }
  100% { left: 150%;  opacity: 0; }
}

/* Fade + slide-up for hero content items */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade in from left */
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scale + fade in for cards */
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Red line expand */
@keyframes lineExpand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Count-up pulse */
@keyframes statPop {
  0%   { transform: scale(0.7); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1);   opacity: 1; }
}

/* Subtle glow pulse on icons */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 0, 0, 0); }
  50%       { box-shadow: 0 0 18px 4px rgba(214, 0, 0, 0.45); }
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5,5,5,0.97);
  border-bottom: 1px solid rgba(214,0,0,0.3);
  padding: 0 4%;
  display: flex; align-items: center; justify-content: space-between;
  height: 90px;
}
.nav-logo img { height: 80px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: #ccc; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 0.55rem 1.1rem; border-radius: 6px;
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem !important; font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #b50000; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(214,0,0,0.4); }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-red {
  background: var(--red); color: #fff;
  padding: 0.85rem 1.8rem; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.btn-red::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-red:hover { background: #b50000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(214,0,0,0.45); }
.btn-red:hover::before { transform: translateX(100%); }

/* ══════════════════════════════════════
   HERO — KEN BURNS ANIMATION
══════════════════════════════════════ */
.service-hero {
  min-height: 55vh;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
  color: #fff; padding: 6rem 5% 5rem;
}

/* Background layer with Ken Burns */
.service-hero::before {
  content: '';
  position: absolute; inset: -10%;
  background: var(--hero-img) center/cover no-repeat;
  animation: kenBurns 4s ease-in-out infinite;
  will-change: transform;
  z-index: 0;
}

/* Dark overlay */
.service-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.82) 50%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

/* Red shimmer sweep */
.service-hero .shimmer {
  position: absolute; top: 0; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(214,0,0,0.08), transparent);
  z-index: 2; pointer-events: none;
  animation: shimmer 4s ease-in-out infinite;
}

.service-hero-content {
  position: relative; z-index: 3;
  max-width: 650px;
}

/* Staggered entrance for hero children */
.breadcrumb {
  font-size: 0.82rem; color: #aaa; margin-bottom: 1rem;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.1s;
}
.breadcrumb a { color: #aaa; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }

.service-hero-content h1 {
  font-size: 3.2rem; font-weight: 900; text-transform: uppercase;
  line-height: 1.1; margin-bottom: 1rem;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.25s;
}
.service-hero-content h1 span { color: var(--red); }

/* Red underline accent below h1 */
.service-hero-content h1::after {
  content: '';
  display: block; width: 80px; height: 3px;
  background: var(--red); margin-top: 0.7rem; border-radius: 2px;
  animation: lineExpand 0.5s ease both;
  animation-delay: 0.7s;
  transform-origin: left;
}

.service-hero-content p {
  font-size: 1.05rem; color: #ccc; margin-bottom: 2rem; max-width: 520px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.45s;
}
.service-hero-content .btn-red {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.65s;
}

/* ══════════════════════════════════════
   SCROLL-REVEAL BASE STATE
   (JS adds .is-visible to trigger)
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children of a revealed grid */
.stagger-children > * {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }

/* ══════════════════════════════════════
   INTRO SECTION
══════════════════════════════════════ */
.service-intro { padding: 5rem 0; background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-grid h2 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; color: #111; line-height: 1.2; }
.intro-grid h2 span { color: var(--red); }
.intro-grid p { font-size: 0.95rem; color: #555; margin-bottom: 1rem; line-height: 1.7; }

.intro-img { position: relative; overflow: hidden; border-radius: 12px; }
.intro-img img {
  width: 100%; height: 380px; object-fit: cover;
  transition: transform 0.6s ease;
}
.intro-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  border: 3px solid var(--red);
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.4s, transform 0.4s;
}
.intro-img:hover img { transform: scale(1.04); }
.intro-img:hover::before { opacity: 1; transform: scale(1); }

/* ══════════════════════════════════════
   SECTION LABELS & TITLES
══════════════════════════════════════ */
.section-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.7rem;
}
.section-title { font-size: 2.1rem; font-weight: 900; color: #111; margin-bottom: 3rem; }
.section-title span { color: var(--red); }

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features { padding: 5rem 0; background: #f7f7f7; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: #fff; border-radius: 12px; padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative; overflow: hidden;
}
/* Red top-border sweep on hover */
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.feature-card:hover { transform: translateY(-7px); box-shadow: 0 16px 36px rgba(0,0,0,0.12); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px; background: var(--red); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-4deg);
  animation: glowPulse 1.2s ease infinite;
}
.feature-card h3 { font-size: 1rem; font-weight: 800; color: #111; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.85rem; color: #666; line-height: 1.6; }

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-us { padding: 5rem 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-grid h2 { font-size: 2rem; font-weight: 900; color: #111; margin-bottom: 1.5rem; line-height: 1.2; }
.why-grid h2 span { color: var(--red); }
.check-list li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.9rem; color: #333; font-weight: 600; margin-bottom: 0.85rem;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.check-list.is-visible li { opacity: 1; transform: translateX(0); }
.check-list.is-visible li:nth-child(1) { transition-delay: 0.05s; }
.check-list.is-visible li:nth-child(2) { transition-delay: 0.15s; }
.check-list.is-visible li:nth-child(3) { transition-delay: 0.25s; }
.check-list.is-visible li:nth-child(4) { transition-delay: 0.35s; }
.check-list.is-visible li:nth-child(5) { transition-delay: 0.45s; }
.check-list.is-visible li:nth-child(6) { transition-delay: 0.55s; }
.check-list li i { color: var(--red); font-size: 0.9rem; flex-shrink: 0; }

.stats-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat {
  text-align: center; padding: 2rem 1rem;
  background: #0a0a0a; border-radius: 12px;
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}
.stats-box.is-visible .stat { opacity: 1; transform: scale(1); }
.stats-box.is-visible .stat:nth-child(1) { transition-delay: 0.05s; }
.stats-box.is-visible .stat:nth-child(2) { transition-delay: 0.18s; }
.stats-box.is-visible .stat:nth-child(3) { transition-delay: 0.31s; }
.stats-box.is-visible .stat:nth-child(4) { transition-delay: 0.44s; }
.stat:hover { box-shadow: 0 0 0 2px var(--red); }
.stat h3 { font-size: 2.5rem; font-weight: 900; color: var(--red); }
.stat p { font-size: 0.82rem; color: #888; margin-top: 0.3rem; }

/* ══════════════════════════════════════
   OTHER SERVICES
══════════════════════════════════════ */
.other-services { padding: 5rem 0; background: #f7f7f7; }
.others-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.other-card {
  background: #111; border-radius: 12px; overflow: hidden;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.other-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.other-card-wrap { overflow: hidden; }
.other-card img {
  width: 100%; height: 160px; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.other-card:hover img { transform: scale(1.07); }
.other-card-body { padding: 1rem; }
.other-card-body h3 {
  font-size: 0.88rem; font-weight: 800; color: #fff;
  margin-bottom: 0.5rem; text-transform: uppercase;
}
.other-card-body span {
  font-size: 0.75rem; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 0.3rem;
  transition: gap 0.2s;
}
.other-card:hover .other-card-body span { gap: 0.6rem; }

/* ══════════════════════════════════════
   CTA STRIP
══════════════════════════════════════ */
.cta-strip { background: #0d0d0d; padding: 4rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 0.4rem; }
.cta-inner p { font-size: 0.9rem; color: #888; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: #050505; color: #fff; }
.footer-top {
  padding: 3rem 5%; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-contact h4, .footer-col h4 {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #888; margin-bottom: 1.2rem;
}
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; }
.footer-contact-item i { color: var(--red); margin-top: 3px; font-size: 0.9rem; }
.footer-contact-item span { font-size: 0.82rem; color: #aaa; line-height: 1.5; }
.footer-col a { display: block; font-size: 0.82rem; color: #aaa; margin-bottom: 0.6rem; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--red); padding-left: 4px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.3rem; }
.footer-social a {
  width: 34px; height: 34px; background: rgba(255,255,255,0.07); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #aaa;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-bottom { padding: 1.5rem 5%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom img { height: 70px; }
.footer-bottom p { font-size: 0.78rem; color: #555; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .others-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .nav-links { display: none; }
  .service-hero-content h1 { font-size: 2.2rem; }
  .intro-grid, .why-grid { grid-template-columns: 1fr; }
  .intro-img { display: none; }
  .section-title { font-size: 1.7rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media(max-width: 480px) {
  .features-grid, .others-grid { grid-template-columns: 1fr; }
  .stats-box { grid-template-columns: 1fr 1fr; }
}
