/* =========================
   GLOBAL SAFETY
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   ROOT COLORS
   ========================= */
:root {
  --pdf-beige: #e6e4d2;
  --pdf-card-bg: #ffffff;
  --pdf-green: #7d8550;
  --pdf-dark: #222;
  --pdf-muted: #555;
}

/* =========================
   HERO
   ========================= */
.hero {
  min-height: 85vh;
  border-bottom: 5px solid #000;
  position: relative;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 85vh;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px 20px 50px;
}

.hero-overlay .container {
  margin: 0;
  max-width: 720px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
  color: #fff;
}

.hero p {
  font-size: 20px;
  margin-bottom: 24px;
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--pdf-green);
  color: #fff;
}

.btn-secondary {
  background: #eb0000;
  border: 2px solid #eb0000;
  color: #fff;
}

/* =========================
   SERVICES
   ========================= */
.services {
  background: var(--pdf-beige);
  padding: 50px 10px 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--pdf-card-bg);
  border-radius: 50px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 360px;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.service-card > * {
  flex-shrink: 0;
}

.service-card img {
  width: 90%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 10px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--pdf-dark);
  margin-bottom: 6px;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}

.service-card p {
  font-size: 18px;
  color: var(--pdf-muted);
  line-height: 1.5;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.service-card span {
  font-size: 20px;
  color: var(--pdf-green);
  font-weight: 600;
}

/* =========================
   ABOUT / EVENT
   ========================= */
.about {
  background: #fff;
  padding: 70px 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
}

.about h2 {
  font-size: 38px;
  margin-bottom: 14px;
  margin-top: -36px;
}

.about p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--pdf-dark);
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================
   CLIENTS (MOVED UP SAFELY)
   ========================= */
.clients {
  background: #fffffff5;
  padding: 10px 0 20px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

.clients h2 {
  font-size: 38px;
  margin-bottom: 52px;
}

.clients-carousel {
  width: 100%;
  overflow: hidden;
}

.client-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: clientsScroll 20s linear infinite;
}

.client-track img {
  height: 140px;
  object-fit: contain;
  opacity: 0.85;
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   WHY + TESTIMONIAL
   ========================= */
.why {
  background: #fff;
  padding: 40px 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.why h2 {
  font-size: 40px;
  font-weight: 700;
}

.why li {
  font-size: 25px;
  padding: 6px 12px;
  color: var(--pdf-dark);
}

.testimonial-box {
  border: 2px dashed #9fb79a;
  border-radius: 28px;
  padding: 16px 26px;
}

.testimonial-carousel {
  min-height: 220px;
  position: relative;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.testimonial.active {
  opacity: 1;
  position: relative;
}

/* =========================
   BROCHURE STRIP (RESTORED 💀➡️✨)
   ========================= */
.brochure-strip {
  background-color: #7b8f3a;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 15px 0;
}

.brochure-strip .choose-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brochure-strip .cta-btn {
  background-color: #ffffff;
  color: #7b8f3a;
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.brochure-strip .cta-btn:hover {
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-overlay {
    align-items: center;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .grid-4 { grid-template-columns: 1fr; }

  .clients h2 { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 16px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 16px; }
}


@media (max-width: 768px) {
  .why {
    padding: 40px 20px;
  }

  .why h2 {
    font-size: 30px;
    text-align: center;
  }

  .why li {
    font-size: 20px;
    padding: 6px 4px;
  }

  .testimonial-box {
    padding: 16px 18px;
  }
}


@media (max-width: 480px) {
  .why {
    padding: 30px 16px;
  }

  .why h2 {
    font-size: 26px;
  }

  .why li {
    font-size: 18px;
  }
}
