:root {
  --accent: #1d4ed8;
  --text: #111827;
  --muted: #6b5e57;
  --hero-bg: #f5f3f1;
  --navbar-scrolled-bg: #1e293b;
  --line: #e2dfdb;
  --bg-block: #ffffff;
}

/* GLOBAL */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem; /* slightly larger than default 16px */
  font-weight: 500;     /* medium weight for modern feel */
  line-height: 1.65;
  background: var(--hero-bg);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700; /* bold for hierarchy */
  line-height: 1.2;
}

.container { max-width: 1100px; }

/* NAVBAR */
#mainNavbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem 0;
}
.nav-link { color: var(--text); font-weight: 500; }
.nav-link:hover { color: var(--accent); }
.btn-primary {
  background: var(--accent);
  border: none;
  border-radius: 2rem;
  padding: 0.9rem 1.9rem;
  font-weight: 500;
}
.btn-primary:hover { background: #1a40c0; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  max-width: 900px;
  line-height: 1.1;
  color: var(--text);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-top: 1.5rem;
  color: var(--muted);
}

/* SECTIONS */
.section {
  padding: 2rem 1rem;        /* top/bottom reduced from 4rem → 2rem */
}

.section-block {
  background: var(--bg-block);
  border-radius: 0.5rem;      /* subtle rounding */
  padding: 1.5rem 1.5rem;     /* top/bottom reduced from 2.5rem → 1.5rem */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* lighter, subtle shadow */
  margin-bottom: 1.5rem;      /* tighter spacing between blocks */
}

.section-soft {
  background: #f0eee9;
  padding: 1.5rem 1rem;       /* less vertical padding than standard */
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 2rem auto;          /* reduced from 3rem → 2rem */
  width: 60%;
}
.value-line { font-size: 1.6rem; font-weight: 500; margin-bottom: 2rem; }
.small-muted { font-size: 0.95rem; color: var(--muted); }

/* FOOTER */
.footer {
  padding: 5rem 1rem;
  background: var(--hero-bg);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* Dropdown menus */
.navbar .dropdown-menu {
  background: #fefcf8;             /* soft warm background */
  border: 1px solid #d8d4cd;       /* subtle border all around */
  border-top: 4px solid #f97316;   /* thick orange top border */
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* soft drop shadow below */
  padding: 0.5rem 0;
  min-width: 220px;
  margin-top: 0.75rem;            /* spacing from toggle link */
  opacity: 0;                      /* initial hidden state for animation */
  transform: translateY(10px);     /* initial slide-down offset */
  transition: opacity 0.25s ease, transform 0.25s ease, all 0.3s ease;
}

/* Show dropdown */
.navbar .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}

/* Dropdown items */
.navbar .dropdown-item {
  color: #111827;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  font-size: 1rem;   /* slightly larger for easier tapping */
  transition: color 0.2s;
  background: transparent;          /* remove hover background */
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: #1d4ed8;                  /* accent color on hover */
  background: transparent;
}

/* Divider inside dropdown */
.navbar .dropdown-divider {
  border-color: #e2dfdb;
  margin: 0.5rem 0;
}

/* Caret arrow */
.navbar .dropdown-toggle::after {
  margin-left: 0.25rem;
  vertical-align: 0.1em;
  border-top: 0.35em solid #111827; /* dark on warm */
  border-right: 0.35em solid transparent;
  border-left: 0.35em solid transparent;
  transition: border-top-color 0.3s ease;
}

/* Caret color when navbar is scrolled */
.navbar.navbar-scrolled .dropdown-toggle::after {
  border-top-color: #f5f5f5;       /* white on slate */
}

.feature-icon-gradient {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes wobble {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-10deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(8deg); }
  75% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

.feature-block:hover .feature-icon {
  animation: wobble 0.8s ease-in-out;
  transform-origin: 50% 50%;
}

.hero-carousel .carousel {
  padding-bottom: 60px; /* space for dots */
}

.hero-carousel .carousel-indicators {
  bottom: -40px;   /* push below carousel */
}

.hero-carousel .carousel-indicators [data-bs-target] {
  opacity: 1;
}

.hero-carousel .carousel-indicators .active {
  background-color: #0d6efd; /* brand colour */
}

#phoenixCarousel .carousel-indicators button {
  background-color: rgba(0,0,0,.2);
}

#phoenixCarousel .carousel-indicators .active {
  background-color: #000;
}

#phoenixCarousel .carousel-item {
  min-height: 360px;
}
