:root {
  --cb-navy: #0b1f3a;
  --cb-navy-2: #12305a;
  --cb-yellow: #ffb703;
  --cb-orange: #fb8500;
  --cb-gray: #5c6b7a;
  --cb-light: #f6f8fb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: #1f2a37;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { text-decoration: none; }

.section-title {
  font-weight: 700;
  color: var(--cb-navy);
}

.section-title span { color: var(--cb-orange); }

.text-accent { color: var(--cb-orange) !important; }

.bg-light-soft { background: var(--cb-light); }

/* Buttons */
.btn-accent {
  background: linear-gradient(135deg, var(--cb-yellow), var(--cb-orange));
  color: var(--cb-navy);
  font-weight: 600;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
  color: var(--cb-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(251, 133, 0, 0.35);
}

.btn-outline-light-custom {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
}

.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--cb-navy);
}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.navbar-brand img { height: 48px; width: auto; }

.navbar .nav-link {
  color: var(--cb-navy);
  font-weight: 500;
  margin: 0 0.35rem;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 2px;
  height: 2px;
  background: var(--cb-orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.navbar .nav-link.active { color: var(--cb-orange); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 183, 3, 0.25), transparent 45%),
    linear-gradient(135deg, var(--cb-navy) 0%, var(--cb-navy-2) 100%);
  color: #fff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero .lead { color: rgba(255, 255, 255, 0.85); }

.hero-badge {
  display: inline-block;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid var(--cb-yellow);
  color: var(--cb-yellow);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-visual {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--cb-navy) 0%, var(--cb-navy-2) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 { font-weight: 800; }

.page-header .breadcrumb {
  justify-content: center;
  margin: 0;
  --bs-breadcrumb-divider-color: var(--cb-yellow);
}

.page-header .breadcrumb a { color: var(--cb-yellow); }
.page-header .breadcrumb-item.active { color: rgba(255, 255, 255, 0.8); }

/* Cards */
.feature-card,
.service-card,
.team-card {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.feature-card:hover,
.service-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.12);
}

.icon-box {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cb-yellow), var(--cb-orange));
  color: var(--cb-navy);
  font-size: 1.7rem;
}

.service-card .price {
  font-weight: 700;
  color: var(--cb-orange);
  font-size: 1.25rem;
}

/* Stats */
.stats { background: var(--cb-navy); color: #fff; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cb-yellow);
}

/* Brand strip */
.brand-strip span {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1px solid #e3e8ef;
  border-radius: 50px;
  color: var(--cb-gray);
  font-weight: 600;
  margin: 0.3rem;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
  height: 100%;
}

.testimonial .stars { color: var(--cb-yellow); }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--cb-yellow), var(--cb-orange));
  color: var(--cb-navy);
}

.cta .btn-dark { border-radius: 50px; padding: 0.7rem 1.6rem; font-weight: 600; }

/* Team avatars */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cb-navy), var(--cb-navy-2));
  border: 4px solid var(--cb-yellow);
}

/* Timeline */
.timeline { list-style: none; padding-left: 0; position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e3e8ef;
}

.timeline li { position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; }

.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cb-orange);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--cb-orange);
}

.timeline .year { font-weight: 700; color: var(--cb-orange); }

/* Contact */
.contact-info-card {
  border-radius: 16px;
  background: var(--cb-navy);
  color: #fff;
  padding: 2rem;
  height: 100%;
}

.contact-info-card a { color: var(--cb-yellow); }

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #dfe5ee;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--cb-orange);
  box-shadow: 0 0 0 0.2rem rgba(251, 133, 0, 0.2);
}

.map-frame {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: 16px;
}

/* Footer */
.footer { background: var(--cb-navy); color: rgba(255, 255, 255, 0.8); }

.footer h5 { color: #fff; font-weight: 700; }

.footer a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease; }
.footer a:hover { color: var(--cb-yellow); }

.footer .footer-logo { height: 44px; background: #fff; border-radius: 8px; padding: 4px 8px; }

.footer .social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
}

.footer .social a:hover { background: var(--cb-orange); color: var(--cb-navy); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Back to top */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--cb-orange);
  color: var(--cb-navy);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#backToTop.show { display: inline-flex; }

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero { padding: 4rem 0; text-align: center; }
  .hero-visual { max-width: 260px; margin-top: 2rem; }
  .navbar .nav-link { margin: 0.25rem 0; }
  .navbar .nav-link::after { display: none; }
}

@media (max-width: 575.98px) {
  .navbar-brand img { height: 40px; }
  .page-header { padding: 3rem 0; }
  .stat-number { font-size: 2rem; }
}
