/* GLOBAL */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: #111;
  color: #eee;
  line-height: 1.6;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform, box-shadow;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* HERO */
.hero {
  text-align: center;
  padding: 0rem 2rem 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  width: 760px;
  max-width: 95%;
  margin-top: 2.2rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-subtext {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0.5rem auto 1.4rem;
  color: #ccc;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background-color: #0052A5;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cta-button:hover {
  background-color: #003f7f;
  box-shadow: 0 0 12px rgba(0, 82, 165, 0.6);
  transform: translateY(-2px);
}

/* SCROLL CUE */
.scroll-cue {
  margin-top: 1.1rem;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  animation: arrowPulse 2.2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.7; }
}

/* DIVIDER */
.divider {
  height: 28px;
  opacity: 1;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 1) 100%
  );
}

/* SERVICES */
.services {
  padding: 1.8rem 2rem 1.6rem;
  max-width: 1100px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  color: #D50032;
}

.section-subtitle {
  margin-top: -0.25rem;
  margin-bottom: 2.4rem;
  color: #ccc;
  font-size: 1.25rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Credibility line */
.services-credibility {
  text-align: center;
  color: #bbb;
  font-size: 1.1rem;
  max-width: 800px;
  margin: -0.5rem auto 2.2rem;
  line-height: 1.6;
}

/* SERVICE GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #222;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform, box-shadow;
}

/* ⭐ Remove bullets from service lists */
.service-card ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.service-card.card-visible {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #F2A900;
  font-size: 1.45rem;
}

.service-card li {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.partner-note {
  margin-top: 1.4rem;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ABOUT */
.about {
  padding: 2.8rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  color: #D50032;
}

.about-text {
  font-size: 1.25rem;
  color: #ccc;
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
}

/* WHY KEETCO */
.why {
  padding: 2.6rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.why h2 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  color: #D50032;
}

.why-list {
  list-style: none;
  padding: 0;
  font-size: 1.25rem;
  color: #ccc;
  line-height: 2;
}

/* CONTACT */
.contact {
  text-align: center;
  padding: 4rem 2rem 5rem;
  background-color: #0d0d0d;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #D50032;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  background-color: #0b0b0b;
  color: #777;
  font-size: 0.95rem;
}

.footer a {
  color: #999;
  text-decoration: none;
}

.footer a:hover {
  color: #ccc;
}

/* MOBILE */
@media (max-width: 600px) {

  .hero {
    padding-top: 1.6rem;
    padding-bottom: 1.4rem;
  }

  .hero h1 { font-size: 2rem; }
  .hero-subtext { font-size: 1.05rem; }

  .scroll-arrow {
    width: 18px;
    height: 18px;
  }

  .divider {
    height: 10px;
  }

  .services {
    padding-top: 0.4rem;
  }

  .services h2 { font-size: 2.2rem; }
  .section-subtitle { font-size: 1.1rem; }

  .service-card { padding: 1.5rem; }
  .service-card li { font-size: 1.05rem; }
}

/* Scroll-to-top button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #222;
  color: #fff;
  border: none;
  padding: 12px 14px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.25s ease;
  font-size: 1rem;
}

#scrollTopBtn.show {
  opacity: 0.85;
  visibility: visible;
}

#scrollTopBtn:hover {
  opacity: 1;
  transform: translateY(-3px);
}