:root {
  --color-primary: #cd1811;
  --color-secondary: #9a9a9a;
  --color-accent: #4d494a;
  --color-black: #161616;
  /* --font-display: "Syne", sans-serif; */
  --font-display: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-accent);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.btn {
  border-radius: 3rem !important;
}

img.rounded {
  border-radius: 2rem !important;
}
/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-brand:hover {
  opacity: 0.7;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-secondary) !important;
  position: relative;
  padding: 0.5rem 1.25rem !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary) !important;
}

.nav-link:hover::after {
  width: calc(100% - 2.5rem);
}

/* Hero Section */
.hero-section {
  min-height: 60vh;
  padding: 10rem 0 0rem;
  /* background-image: url("/assets/img/hero_1.png"); */

  background-size: cover;
}

.hero-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(1.5rem, 7vw, 5rem);
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--color-black);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-accent);
  max-width: 560px;
  margin-bottom: 3rem;
}
.hero-CTA {
  height: 25vh;
  display: flex;
  align-items: end;
}
/* Bento Image Grid */
.hero-images {
  position: relative;
  height: 600px;
}

.hero-img {
  position: absolute;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.hero-img-1 {
  top: 0;
  left: 0;
  width: 280px;
  height: 200px;
  z-index: 3;
}

.hero-img-2 {
  top: 80px;
  right: 60px;
  width: 200px;
  height: 280px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  z-index: 2;
}

.hero-img-3 {
  bottom: 100px;
  left: 100px;
  width: 240px;
  height: 180px;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-accent)
  );
  z-index: 1;
}

.hero-img-4 {
  bottom: 0;
  right: 0;
  width: 220px;
  height: 160px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  z-index: 4;
}

/* Buttons */
.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  padding: 1rem 2rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #b01410;
  border-color: #b01410;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(205, 24, 17, 0.3);
}

.btn-outline-dark {
  padding: 1rem 2rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  border-color: var(--color-primary);
  background: rgba(205, 24, 17, 0.05);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.stat-number::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-top: 0.75rem;
}

/* Section Labels */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-secondary);
}

/* Text Block Section */
.text-block-section {
  padding: 10rem 0;
  background: var(--color-accent);
}

/* Service Cards */
.services-section {
  padding: 10rem 0;
  background: #fafafa;
}

.service-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

.service-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9375rem;
  padding: 2rem;
  text-align: center;
}

#about .section-title {
  color: white !important;
}
#about span {
  color: #e6130b;
}
.service-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
}

#about .section-description {
  color: rgb(211, 210, 210);
}

.service-result {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Split Section */
.split-section {
  padding: 10rem 0;
  background: white;
}

.split-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Scroller Section */
.scroller-section {
  padding: 8rem 0;
  background: var(--color-accent);
  overflow: hidden;
  position: relative;
}

.scroller-track {
  display: flex;
  gap: 2rem;
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.scroller-item {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  /* background: rgba(255, 255, 255, 0.05); */
  /* background-image: url("assets/img/tph.jpg"); */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
  /* position: absolute; */
}

/* #item-1 .scroller-track {
  background-image: url(/assets/img/TPH.jpg);
} */
.scroller-item:hover {
  /* background: rgba(255, 255, 255, 0.08); */
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Logo Section */
.logo-section {
  padding: 8rem 0;
  background: white;
}

.logo-item {
  aspect-ratio: 16/9;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.logo-item:hover {
  background: rgba(205, 24, 17, 0.05);
  transform: scale(1.05);
  border-color: var(--color-primary);
}

/* CTA Section */
.cta-section {
  padding: 10rem 0;
  background: #fafafa;
}

/* Footer */
.footer {
  background: #4d494a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  color: white;
}

.footer img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  color: white;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-primary);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  transition: transform 0.3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-images {
    height: 400px;
    margin-top: 4rem;
  }

  .hero-img {
    width: 180px !important;
    height: 140px !important;
  }

  .hero-section {
    padding: 8rem 0 4rem;
  }
}
