/* ============ PROFESSIONAL STYLING - KWS INSPIRED ============ */

:root {
  --color-jungle: #1B5E20;
  --color-white: #FFFFFF;
  --color-soft-white: #F7FBF7;
  --color-accent: #A8D5BA;
  --color-text-dark: #0B2B18;
  --color-muted: #6B7A64;
}

.wildguard-home {
  margin: 0;
  color: var(--color-text-dark);
  background: var(--color-soft-white);
  font-family: 'Manrope', sans-serif;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--color-jungle), #14361a);
  box-shadow: 0 12px 30px rgba(11, 43, 24, 0.18);
}

.landing-nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  font-style: italic;
}

.landing-brand img {
  width: 44px;
  height: 44px;
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.landing-links a {
  color: var(--color-accent);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 1.03rem;
}

.landing-links a:hover {
  color: #fff6e6;
}

.landing-cta {
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-jungle) !important;
  border: 1px solid rgba(27,94,32,0.12);
  box-shadow: 0 8px 20px rgba(11, 43, 24, 0.12);
}

.hero-landing {
  position: relative;
  overflow: hidden;
  padding: 54px 0 30px;
  background:
    linear-gradient(180deg, rgba(247,251,247,0.9), rgba(241,249,240,0.95)),
    radial-gradient(circle at 20% 20%, rgba(168,213,186,0.12), transparent 26%),
    radial-gradient(circle at 80% 25%, rgba(138,188,154,0.08), transparent 22%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 32px;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  color: var(--color-jungle);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(3.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  max-width: 8ch;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-subtitle {
  margin: 20px 0 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 2px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(31, 45, 21, 0.14);
}

.button-primary {
  background: var(--color-jungle);
  color: var(--color-white);
  border: 1px solid rgba(27,94,32,0.12);
}

.button-secondary {
  background: rgba(27,94,32,0.06);
  color: var(--color-jungle);
  border: 1px solid rgba(27,94,32,0.12);
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

.hero-illustration img {
  width: 100%;
  max-width: 760px;
  height: auto;
  filter: drop-shadow(0 28px 36px rgba(70, 52, 28, 0.3));
}

.section-light {
  padding: 42px 0 52px;
  background: linear-gradient(180deg, var(--color-soft-white), #f1f7f1);
}

.section-dark {
  padding: 42px 0 54px;
  background: linear-gradient(180deg, var(--color-jungle), #153820);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 18px;
  align-items: center;
  text-align: center;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(2.15rem, 3.5vw, 3.4rem);
}

.section-heading p {
  margin: 10px 0 0;
  font-size: 1.05rem;
  color: var(--color-muted);
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
  color: #f1e7d2;
}

.section-rule {
  height: 1px;
  background: rgba(71, 99, 65, 0.24);
}

.section-dark .section-rule {
  background: rgba(255, 246, 226, 0.22);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(27,94,32,0.06);
  box-shadow: 0 14px 36px rgba(11, 43, 24, 0.06);
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.8;
  object-fit: cover;
}

.feature-card-body {
  padding: 18px 16px 20px;
  text-align: center;
}

.feature-card-body h3 {
  margin: 0;
  color: #28402a;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
}

.feature-card-body p {
  margin: 10px 0 0;
  color: #49554b;
}

.effort-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.effort-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 222, 0.26);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(11, 26, 14, 0.22);
}

.effort-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 16, 0.08), rgba(12, 28, 16, 0.32));
}

.template-home {
  min-height: 100vh;
  padding: 26px 0 42px;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 116, 74, 0.22), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(35, 91, 61, 0.22), transparent 30%),
    linear-gradient(180deg, #02140c, #03180f 50%, #02110a);
}

.template-board {
  border: 1px solid rgba(139, 195, 143, 0.34);
  border-radius: 14px;
  padding: 22px;
  background: rgba(4, 20, 12, 0.78);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.38);
}

.template-head {
  text-align: center;
  border: 1px solid rgba(139, 195, 143, 0.22);
  border-radius: 12px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(10, 35, 20, 0.9), rgba(6, 24, 14, 0.86));
}

.template-kicker {
  margin: 0;
  color: #8dc889;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.template-head h1 {
  margin: 8px 0;
  color: #eaf6d8;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem);
}

.template-sub {
  margin: 0 auto;
  max-width: 78ch;
  color: #b6d5b3;
}

.template-top-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.template-top-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(156, 210, 154, 0.25);
  color: #d9efcf;
  text-decoration: none;
  font-size: 0.88rem;
  background: rgba(14, 46, 27, 0.78);
}

.template-top-links a:hover {
  background: rgba(24, 73, 42, 0.9);
}

.template-hero {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 14px;
}

.hero-copy-card,
.hero-image-card,
.pages-overview {
  border: 1px solid rgba(139, 195, 143, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(6, 26, 15, 0.88), rgba(3, 18, 10, 0.88));
}

.hero-copy-card {
  padding: 18px;
}

.hero-copy-card h2 {
  margin: 0;
  color: #eff9dd;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
}

.hero-copy-card p {
  margin: 10px 0 0;
  color: #afcfac;
  line-height: 1.5;
}

.hero-image-card {
  overflow: hidden;
  min-height: 280px;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pages-overview {
  margin-top: 16px;
  padding: 16px;
}

.pages-overview h2 {
  margin: 0 0 12px;
  color: #e8f7da;
  font-family: 'Cinzel', serif;
  text-align: center;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-card {
  display: block;
  border: 1px solid rgba(145, 205, 147, 0.22);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(5, 30, 16, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.32);
}

.page-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.page-card h3 {
  margin: 10px 10px 4px;
  color: #e6f7db;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
}

.page-card p {
  margin: 0 10px 12px;
  color: #a7c9a6;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .template-hero {
    grid-template-columns: 1fr;
  }

  .pages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .template-board {
    padding: 12px;
  }

  .template-top-links {
    justify-content: flex-start;
  }

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

.effort-card-left {
  background-image: linear-gradient(rgba(32, 82, 44, 0.26), rgba(21, 53, 29, 0.32)), url('/static/images/home/effort-habitat.svg');
}

.effort-card-right {
  background-image: linear-gradient(rgba(32, 82, 44, 0.22), rgba(21, 53, 29, 0.34)), url('/static/images/home/effort-protect.svg');
}

.effort-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  color: #f7eedb;
  font-family: 'Cinzel', serif;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(7, 15, 9, 0.8));
  z-index: 1;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 12px;
  background: rgba(255, 251, 241, 0.68);
  border: 1px solid rgba(117, 96, 57, 0.16);
  box-shadow: 0 14px 34px rgba(62, 45, 16, 0.1);
}

.gallery-strip figure {
  margin: 0;
}

.gallery-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

@media (max-width: 992px) {
  .landing-nav,
  .hero-grid,
  .feature-grid,
  .effort-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .landing-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-links {
    justify-content: flex-start;
    gap: 16px 20px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-illustration {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-landing {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .landing-links {
    gap: 14px 16px;
  }

  .landing-links a {
    font-size: 0.92rem;
  }
}

:root {
  --primary-color: #1e6b3e;
  --secondary-color: #0f3e25;
  --accent-color: #62df92;
  --light-text: #f1fff3;
  --dark-text: #0e1b12;
  --border-color: rgba(120, 196, 145, 0.22);
  --bg-light: #07130c;
  --bg-gray: #0c1b13;
  --bg-white: rgba(11, 25, 17, 0.94);
  --success: #2fd07f;
  --info: #57c4d8;
}

* {
  box-sizing: border-box;
}

/* Keep Bootstrap navbar behavior; ensure horizontal nav on large screens */
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
}

@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  color: #e7f4ec;
  background:
    radial-gradient(circle at top, rgba(48, 133, 77, 0.22), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(95, 210, 145, 0.08), transparent 28%),
    linear-gradient(180deg, #07110b, #09140d 52%, #050804);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--light-text);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ============ PROFESSIONAL HEADER ============ */
.professional-header {
  background: rgba(9, 18, 12, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  background: linear-gradient(90deg, #1b6a3d, #0d4f30);
  color: var(--light-text);
  padding: 0.8rem 0;
  font-size: 0.9rem;
}

.header-contact-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.contact-item {
  display: inline-block;
}

@media (max-width: 768px) {
  .header-contact-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

.main-navigation {
  background: rgba(8, 18, 12, 0.92);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #effff2;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: 'Cinzel', serif;
  white-space: nowrap;
}

.logo-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  flex: 1;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: #d9f2e2;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 300ms ease;
  display: block;
}

.nav-menu a:hover {
  color: #effff2;
  background: rgba(97, 224, 141, 0.14);
}

.nav-link-primary {
  background: linear-gradient(135deg, var(--primary-color), #3d6b1f);
  color: var(--light-text) !important;
}

.nav-link-primary:hover {
  background: linear-gradient(135deg, #3d6b1f, var(--primary-color)) !important;
}

.nav-settings {
  background: var(--accent-color);
  color: var(--dark-text) !important;
  font-weight: 600;
}

.nav-settings:hover {
  background: #3bc895 !important;
}

/* Dropdown Menus */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 0.8rem 1.5rem;
  color: var(--dark-text);
  font-size: 0.95rem;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background: var(--bg-gray);
  color: var(--primary-color);
}

.highlight-link {
  color: var(--accent-color) !important;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 300ms ease;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-menu a {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }

  .nav-menu[aria-expanded="true"] {
    max-height: 500px;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu a {
    padding: 1rem 1.5rem;
    border-radius: 0;
    color: #214032;
  }

  .dropdown-menu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    background: var(--bg-gray);
    margin: 0;
  }

  .nav-dropdown[data-expanded="true"] .dropdown-menu {
    display: block;
  }

  .header-contact-info {
    flex-direction: column;
  }
}

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3d6b1f 100%);
  color: var(--light-text);
  padding: 120px 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel {
  min-height: 660px;
  padding: 0;
}

@media (max-width: 768px) {
  .hero-carousel {
    min-height: 420px;
  }
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  min-height: 660px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 120px 2rem 90px;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  transition: opacity 900ms ease, transform 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.slide-one,
.slide-two,
.slide-three {
  background: transparent !important;
}

.hero-title-secondary {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.hero-indicators {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: transform 300ms ease, background 300ms ease;
}

.hero-dot.is-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.hero-content {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: fadeInUp 900ms ease both;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 700ms ease-out;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-description {
  margin: 0 0 2rem;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 1rem;
    min-height: 400px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 300ms ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--dark-text);
  box-shadow: 0 4px 12px rgba(73, 211, 159, 0.3);
}

.btn-primary:hover {
  background: #3bc895;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(73, 211, 159, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border-color: var(--light-text);
}

.btn-secondary:hover {
  background: var(--light-text);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ============ MAIN CONTENT ============ */
.main-content {
  padding: 2rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.content-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 700ms ease both;
}

.section-header h2 {
  margin: 0 0 1rem;
  font-size: 2.2rem;
  font-family: 'Cinzel', serif;
  color: var(--primary-color);
  font-weight: 700;
}

.section-header p {
  margin: 0;
  font-size: 1.1rem;
  color: #666;
}

/* ============ FEATURES SECTION ============ */
.features-section {
  background: var(--bg-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 300ms ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 211, 159, 0.16), transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  color: var(--primary-color);
  font-family: 'Cinzel', serif;
}

.feature-card p {
  margin: 0 0 1.5rem;
  color: #666;
  line-height: 1.6;
}

.feature-link {
  display: inline-block;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 200ms ease;
}

.feature-link:hover {
  color: #3bc895;
  transform: translateX(4px);
}

/* ============ HIGHLIGHTS SECTION ============ */
.highlights-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3d6b1f 100%);
  color: var(--light-text);
  padding: 4rem 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.highlight-card {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 300ms ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: shimmerMove 4.2s ease-in-out infinite;
}

.highlight-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ============ CINEMA STAGE ============ */
.cinema-stage-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

/* ============ SPOTLIGHT SECTION ============ */
.spotlight-section {
  background: var(--bg-gray);
}

/* ============ ABOUT SECTION ============ */
.about-section {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  font-size: 1.4rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.about-list li {
  padding: 0.6rem 0;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  gap: 1.5rem;
}

.stat-item {
  background: var(--bg-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.stat-item h4 {
  margin: 0 0 0.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.stat-item p {
  margin: 0;
  color: #666;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ PROFESSIONAL FOOTER ============ */
.professional-footer {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 3rem 0 0;
  margin-top: 4rem;
}

.professional-footer,
.footer-grid,
.footer-bottom,
.content-section,
.highlights-section {
  animation: fadeInUp 900ms ease both;
}

.footer-content {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.footer-column p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: all 200ms ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  opacity: 1;
  padding-left: 0.3rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-weight: 700;
  transition: all 300ms ease;
}

.social-links a:hover {
  background: var(--accent-color);
  color: var(--dark-text);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 0.9rem;
}

.footer-badge {
  text-align: right;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-badge p {
  margin: 0;
}

@media (max-width: 768px) {
  .professional-footer {
    padding: 2rem 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-badge {
    text-align: left;
  }

  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerMove {
  0% {
    transform: translateX(-120%);
  }
  55% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.carousel-panel {
  animation: fadeInUp 900ms ease both;
}

.footer-column {
  animation: fadeInUp 700ms ease both;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ============ BOOTSTRAP HOMEPAGE OVERRIDES ============ */
.wildguard-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f7f2;
}

.wildguard-home main {
  flex: 1 0 auto;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(45, 80, 22, 0.18);
}

.nav-link-cta {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.nav-link-ghost {
  border: 1px solid rgba(45, 80, 22, 0.2);
  border-radius: 999px;
  padding-inline: 0.9rem !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary-color) !important;
}

.hero-carousel {
  position: relative;
}

.hero-slide-bg {
  position: relative;
  min-height: clamp(540px, 70vh, 760px);
  background-size: cover;
  background-position: center;
}

.hero-slide-one {
  background-image: url('https://images.unsplash.com/photo-1546182990-dffeafbe841d?auto=format&fit=crop&w=1800&q=85');
}

.hero-slide-two {
  background-image: url('https://images.unsplash.com/photo-1557050543-4d5f4e07ef46?auto=format&fit=crop&w=1800&q=85');
}

.hero-slide-three {
  background-image: url('https://images.unsplash.com/photo-1474511320723-9a56873867b5?auto=format&fit=crop&w=1800&q=85');
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(11, 20, 10, 0.8), rgba(19, 43, 24, 0.55));
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: fadeInUp 900ms ease both;
}

.eyebrow {
  display: inline-block;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #eff7ea;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.metric-card,
.mini-card {
  height: 100%;
  border: 1px solid rgba(45, 80, 22, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 54, 36, 0.06);
}

.metric-card {
  padding: 1.1rem;
}

.metric-card strong {
  display: block;
  color: var(--primary-color);
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.metric-card span,
.mini-card p,
.footer-text {
  color: #4d5b4d;
}

.mini-card {
  padding: 1rem;
}

.mini-card h4,
.footer-title {
  color: var(--primary-color);
  font-family: 'Cinzel', serif;
  margin-bottom: 0.6rem;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.hero-buttons {
  justify-content: flex-start;
}

.metric-card,
.mini-card,
.cta-banner {
  border-radius: 20px;
}

.metric-card,
.mini-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.metric-card strong {
  line-height: 1;
}

.section-label,
.section-title {
  text-align: left;
}

.cta-banner {
  align-items: center;
}

.wildguard-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 241, 0.96));
  color: #162519;
  border-top: 1px solid rgba(35, 103, 64, 0.12);
}

.wildguard-footer .footer-title,
.wildguard-footer .footer-text,
.wildguard-footer .footer-bottom,
.wildguard-footer .footer-bottom small {
  color: #214032;
}

.wildguard-footer .footer-links {
  display: grid;
  gap: 0.45rem;
}

.wildguard-footer .footer-links li {
  margin: 0;
}

.wildguard-footer .footer-links a:hover {
  padding-left: 0;
}

/* ============ LIGHT HOMEPAGE OVERRIDES ============ */
:root {
  --primary-color: #2a8a57;
  --secondary-color: #1c5e3b;
  --accent-color: #51b36d;
  --light-text: #effaf1;
  --dark-text: #162519;
  --border-color: rgba(35, 103, 64, 0.12);
  --bg-light: #f7fbf6;
  --bg-gray: #eef5ee;
  --bg-white: rgba(255, 255, 255, 0.86);
}

body {
  color: #162519;
  background:
    radial-gradient(circle at top, rgba(117, 191, 133, 0.14), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(162, 220, 180, 0.12), transparent 30%),
    #f7fbf6;
}

.professional-header,
.main-navigation {
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(35, 103, 64, 0.12);
  box-shadow: 0 10px 28px rgba(61, 103, 68, 0.08);
}

.header-top {
  background: linear-gradient(90deg, rgba(42, 138, 87, 0.9), rgba(59, 157, 98, 0.88));
}

.logo-brand,
.nav-menu a,
.dropdown-menu li a,
.section-header p,
.feature-card p,
.stat-item p,
.footer-column p,
.footer-links a,
.footer-text,
.mini-card p,
.metric-card span {
  color: #214032;
}

.nav-menu a,
.dropdown-menu,
.feature-card,
.highlight-card,
.stat-item,
.mini-card,
.metric-card,
.footer-bottom,
.footer-column,
.hero-section,
.hero-slide,
.content-section,
.highlights-section {
  animation: none;
}

.nav-menu a,
.nav-link-ghost,
.nav-link-cta,
.btn,
.feature-card,
.highlight-card,
.stat-item,
.mini-card,
.metric-card,
.footer-links a,
.social-links a {
  border-radius: 999px;
}

.hero-section {
  color: #17261b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(240, 247, 241, 0.88)),
    url('https://upload.wikimedia.org/wikipedia/commons/2/24/Elephants_at_Etosha_National_Park.jpg') center/cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.18));
}

.hero-content,
.hero-copy {
  text-shadow: none;
}

.hero-content .btn-secondary,
.btn-secondary {
  color: #214032;
  border-color: rgba(35, 103, 64, 0.2);
}

.feature-card,
.mini-card,
.metric-card,
.stat-item {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(61, 103, 68, 0.08);
}

.highlights-section {
  background: linear-gradient(180deg, rgba(253, 255, 253, 0.94), rgba(236, 246, 238, 0.98));
  color: #162519;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.8);
  color: #162519;
}

.professional-footer {
  background: rgba(255, 255, 255, 0.94);
  color: #162519;
  border-top: 1px solid rgba(35, 103, 64, 0.12);
}

.footer-links a,
.legal-links a,
.social-links a {
  color: #214032;
}

.footer-links a:hover,
.legal-links a:hover,
.social-links a:hover,
.feature-link:hover {
  color: var(--primary-color);
}

.section-header h2,
.about-text h3,
.footer-column h4 {
  color: var(--primary-color);
}

.carousel-overlay {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.7), rgba(247, 251, 246, 0.28));
}

.eyebrow {
  background: rgba(255, 255, 255, 0.7);
  color: #1f3825;
}

.hero-title,
.hero-title-secondary {
  color: #142117;
}

.wildguard-home main {
  background: transparent;
}

@media (max-width: 768px) {
  .nav-menu {
    background: rgba(255, 255, 255, 0.94);
  }

  .navbar-nav .nav-link,
  .navbar-nav .nav-button {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(35, 103, 64, 0.12);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    color: #214032 !important;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }
}

/* ============ END LIGHT HOMEPAGE OVERRIDES ============ */

.section-label {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #183019;
}

.cta-banner {
  background: linear-gradient(135deg, #23491a, #1a3a0a);
  box-shadow: 0 18px 38px rgba(27, 54, 18, 0.22);
}

.wildguard-footer {
  background: #102010;
  color: rgba(255, 255, 255, 0.88);
  margin-top: auto;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-links a:hover {
  color: #9ee0b2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.nav-button {
  background: transparent;
  border: 0;
  font: inherit;
  padding: 0.5rem 1rem;
  color: inherit;
}

.nav-button:hover {
  color: var(--primary-color);
}

.auth-modal,
.inventory-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 14, 10, 0.7);
  backdrop-filter: blur(10px);
}

.auth-modal[hidden],
.inventory-modal[hidden] {
  display: none;
}

.auth-card,
.inventory-modal-card {
  width: min(980px, 96vw);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(17, 29, 18, 0.98), rgba(10, 18, 12, 0.98));
  color: #f4f7ee;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
  padding: 1.2rem;
}

.auth-form {
  display: grid;
  gap: 0.9rem;
}

.auth-type-toggle .btn {
  border-radius: 999px;
}

.auth-type-toggle .active {
  background: var(--accent-color);
  color: #0e1d11;
}

.inventory-shell {
  padding: 1.2rem;
}

.inventory-toolbar {
  margin-bottom: 1rem;
}

.inventory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.inventory-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.species-folder-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(45, 80, 22, 0.12);
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 54, 35, 0.08);
}

.species-folder-hero {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.12), rgba(255, 255, 255, 0.08));
}

.species-folder-hero img,
.species-folder-hero .gallery-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.species-folder-count {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 20, 12, 0.78);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.species-folder-body {
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.folder-open-btn {
  margin-top: 0.35rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--primary-color), #3d6b1f);
  color: #fff;
  font-weight: 700;
}

.inventory-detail-panel .profile-box {
  min-height: 100%;
}

.inventory-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inventory-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.inventory-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  max-height: 70vh;
  overflow: auto;
  padding-right: 0.25rem;
}

.inventory-thumb-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.inventory-thumb-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.inventory-thumb-card figcaption {
  padding: 0.45rem 0.55rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.inventory-modal-info {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.inventory-meta-list {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
}

.inventory-meta-list p {
  margin: 0;
}

body[data-user-role="admin"] .nav-link-ghost {
  border-color: rgba(73, 211, 159, 0.35);
}

body.auth-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .inventory-layout,
  .inventory-modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .hero-slide-bg {
    min-height: 560px;
  }

  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-slide-bg {
    min-height: 500px;
  }

  .hero-copy .display-4,
  .hero-copy .display-5 {
    font-size: 2.25rem;
  }

  .cta-banner {
    border-radius: 1rem !important;
  }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide,
  .hero-dot,
  .feature-card,
  .highlight-card,
  .footer-column,
  .reveal-on-scroll {
    animation: none !important;
    transition: none !important;
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .professional-header,
  .professional-footer,
  .hero-buttons {
    display: none;
  }

  body {
    font-size: 12pt;
    color: black;
  }
}

/* ============ WILDGUARD HOMEPAGE OVERRIDES ============ */
.wildguard-home .navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 74, 47, 0.1);
}

.wildguard-home .navbar-brand {
  color: #16301f;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.03em;
}

.wildguard-home .navbar-brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(31, 74, 47, 0.14);
}

.wildguard-home .navbar-nav .nav-link,
.wildguard-home .navbar-nav .nav-button {
  border-radius: 999px;
  border: 1px solid rgba(31, 74, 47, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #183221 !important;
  padding-inline: 1rem;
  box-shadow: 0 6px 16px rgba(22, 49, 31, 0.06);
}

.wildguard-home .navbar-nav .nav-link:hover,
.wildguard-home .navbar-nav .nav-button:hover {
  background: rgba(88, 165, 110, 0.12);
  border-color: rgba(40, 123, 76, 0.24);
}

.wildguard-home .navbar-nav .nav-link-cta,
.wildguard-home .navbar-nav .nav-link-ghost {
  padding-inline: 1rem;
}

.wildguard-home .hero-carousel {
  min-height: calc(100vh - 120px);
}

.wildguard-home .carousel-inner,
.wildguard-home .carousel-item {
  min-height: calc(100vh - 120px);
}

.wildguard-home .hero-slide-bg {
  background-size: cover;
  background-position: center;
}

.wildguard-home .hero-slide-one {
  background-image: linear-gradient(130deg, rgba(16, 29, 18, 0.28), rgba(16, 29, 18, 0.28)), url('/static/images/wildlife/lion.jpg');
}

.wildguard-home .hero-slide-two {
  background-image: linear-gradient(130deg, rgba(17, 34, 21, 0.52), rgba(17, 34, 21, 0.24));
}

.wildguard-home .hero-slide-three {
  background-image: linear-gradient(130deg, rgba(10, 28, 18, 0.48), rgba(10, 28, 18, 0.24));
}

.wildguard-home .carousel-overlay {
  background: linear-gradient(115deg, rgba(9, 18, 12, 0.84), rgba(9, 18, 12, 0.52) 48%, rgba(9, 18, 12, 0.72));
}

.wildguard-home .hero-copy {
  max-width: 760px;
}

.wildguard-home .hero-copy .display-4,
.wildguard-home .hero-copy .display-5 {
  text-wrap: balance;
}

.wildguard-home .metric-card,
.wildguard-home .mini-card,
.wildguard-home .cta-banner,
.wildguard-home .wildlife-spotlight-section .container > .d-flex,
.wildguard-home .wildlife-spotlight-grid .spotlight-card {
  border: 1px solid rgba(31, 74, 47, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(22, 49, 31, 0.08);
}

.wildguard-home .cta-banner {
  background: linear-gradient(135deg, #21482e, #2f6c43);
}

.wildguard-home .wildlife-spotlight-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(237, 247, 239, 0.92));
}

.wildguard-home .live-clock {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(31, 74, 47, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: #1d3825;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.wildguard-home .wildlife-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.wildguard-home .spotlight-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  min-height: 220px;
}

.wildguard-home .spotlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wildguard-home .spotlight-copy {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.wildguard-home .spotlight-kicker {
  margin: 0;
  color: #2c7c4c;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.wildguard-home .spotlight-copy h3 {
  margin: 0;
  color: #17321f;
  font-family: 'Cinzel', serif;
}

.wildguard-home .spotlight-copy p,
.wildguard-home .spotlight-meta {
  color: #506255;
}

.wildguard-home .spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.85rem;
}

.wildguard-home .wildguard-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 240, 0.98));
  color: #17321f;
  border-top: 1px solid rgba(31, 74, 47, 0.12);
}

.wildguard-home .footer-title,
.wildguard-home .footer-text,
.wildguard-home .footer-links a,
.wildguard-home .footer-bottom small {
  color: #244230;
}

.wildguard-home .footer-links a:hover {
  color: #2f7d4f;
}

@media (max-width: 991px) {
  .wildguard-home .hero-carousel,
  .wildguard-home .carousel-inner,
  .wildguard-home .carousel-item {
    min-height: 620px;
  }

  .wildguard-home .spotlight-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wildguard-home .hero-carousel,
  .wildguard-home .carousel-inner,
  .wildguard-home .carousel-item {
    min-height: 580px;
  }

  .wildguard-home .hero-copy {
    padding: 0 0.25rem;
  }

  .wildguard-home .navbar-nav .nav-link,
  .wildguard-home .navbar-nav .nav-button {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .wildguard-home .hero-carousel,
  .wildguard-home .carousel-inner,
  .wildguard-home .carousel-item {
    min-height: 520px;
  }

  .wildguard-home .hero-copy .display-4,
  .wildguard-home .hero-copy .display-5 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }
}

