.feature-icon {
  color: #2e2867;
}

/* BRAND COLORS */

:root {
  --brand-primary: #2e2867;
  --brand-primary-hover: #241f54;
}

/* BRAND BUTTONS */

.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* =========================
   NAV LINK UNDERLINE + ACTIVE STATE
========================= */

.navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffffff !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* =========================
   FEATURE CARD HOVER
========================= */

.feature-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(46, 40, 103, 0.25);
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
  min-height: 60vh;
  max-height: 520px;
  display: flex;
  align-items: center;
  padding-top: 140px;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('./images/hero.jpg') center center / cover no-repeat;
  /* subtle framing */
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

.hero-section h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 65vh;
    max-height: none;
    padding-top: 120px;
  }
}

/* =========================
   HERO FRAME (MATCH SITE FRAME)
========================= */
.hero-frame {
	  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  height: 100%;                /* 🔑 fill hero vertically */
  position: absolute;         /* 🔑 overlay full hero */
  top: 0;
  left: 0;
  right: 0;

  padding-left: 1rem;
  padding-right: 1rem;

  display: flex;
  align-items: center;        /* centers hero-content vertically */
}


/* Side borders like nav / footer */

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.25); /* subtle on dark hero */
}

.hero-frame::before {
  left: 0;
}

.hero-frame::after {
  right: 0;
}

.hero-frame::before,
.hero-frame::after {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}

@media (max-width: 1099px) {
  .hero-frame::before,
  .hero-frame::after {
    display: none;
  }
}
/* =========================
   NAVBAR BASE
========================= */

.navbar-brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar {
  background: rgba(0,0,0,0.85) !important;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  position: relative;
}

/* =========================
   TRANSPARENT NAVBAR OVER HERO
========================= */

.navbar-transparent {
  background: transparent !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-solid {
  background: rgba(0,0,0,0.9) !important;
  backdrop-filter: blur(6px);
}

.navbar-transparent .nav-link,
.navbar-transparent .navbar-brand,
.navbar-transparent .brand-text {
  color: #ffffff !important;
}

.navbar-transparent .nav-link::after {
  background: #ffffff;
}

/* =========================
   NAVBAR SHRINK
========================= */

.navbar-shrink {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.navbar-shrink .nav-logo {
  height: 32px;
}

.navbar-shrink .brand-text {
  font-size: 1.2rem;
}

/* =========================
   NAV LOGO + BRAND TEXT
========================= */

.nav-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-logo {
    height: 34px;
  }

  .brand-text {
    font-size: 1.2rem;
  }
}

/* =========================
   MOBILE NAV DROPDOWN
========================= */

@media (max-width: 991px) {

  .navbar-collapse {
    background: rgba(0,0,0,0.95);
    padding: 1rem 1.25rem;
    border-radius: 0 0 12px 12px;
    margin-top: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.85rem 0;
    font-size: 1.1rem;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link.btn {
    margin-top: 0.75rem;
    text-align: center;
  }
}

/* =========================
   MEMBERS BUTTON FIX
========================= */

.navbar .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* =========================
   DROPDOWN MENU
========================= */

.dropdown-menu {
  background: rgba(0,0,0,0.95);
  border: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem 0;
}

.dropdown-item {
  color: #ffffff;
  padding: 0.6rem 1.2rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.dropdown-item.active,
.dropdown-item:active {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.nav-link.dropdown-toggle.active {
  color: #ffffff !important;
}

.nav-link.dropdown-toggle.active::after {
  width: 100%;
}

/* REMOVE PURPLE BOX ON DROPDOWN PARENT */

.nav-link.dropdown-toggle {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

.nav-link.dropdown-toggle:hover,
.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle:active,
.nav-item.dropdown.show > .nav-link.dropdown-toggle {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: #ffffff !important; /* keep text white */
}

.nav-link.dropdown-toggle:hover,
.nav-item.dropdown.show > .nav-link.dropdown-toggle {
  background: rgba(255,255,255,0.05) !important;
}

/* REMOVE DROPDOWN ITEM BOX / OUTLINE ON HOVER */

.dropdown-item {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

/* REMOVE GAP BETWEEN NAV ITEM + DROPDOWN MENU */

.navbar .dropdown-menu {
  margin-top: 0 !important;
}

/* =========================
   NESTED DROPDOWN
========================= */

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
  border-radius: 0 12px 12px 12px;
}

.dropdown-submenu > .dropdown-item::after {
  content: "›";
  float: right;
  margin-top: 2px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Show nested menu on hover (desktop) */
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* =========================
   INTRO TEXT
========================= */

.intro-section {
  background: #ffffff;
}

.intro-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 1px;
  color: #222;
}

.intro-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .intro-text {
    font-size: 1.25rem;
  }
}

/* =========================
   QUOTE IMAGE SECTION
========================= */

.quote-section {
  background: #ffffff;
  overflow-x: hidden;
}

.quote-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.quote-image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.quote-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.quote-text {
  font-family: 'Anton', sans-serif;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  margin: 0 auto;
  max-width: 900px;
  line-height: 1.25;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .quote-image {
    height: 45vh;
  }

  .quote-overlay {
    padding: 1.25rem 1rem;
  }

  .quote-text {
    font-size: 1.25rem;
  }
}

/* =========================
   SMOOTH SCROLL
========================= */

html {
  scroll-behavior: smooth;
}

/* =========================
   FOUNDER SECTION
========================= */

.founder-section {
  background: #f8f9fa;
}

.founder-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .founder-logo {
    max-width: 240px;
    margin-bottom: 1.5rem;
  }

  .founder-section {
    text-align: center;
  }
}

/* =========================
   TESTIMONIAL SECTION
========================= */

.testimonial-section {
  position: relative;
  background: url("./images/darksky.jpg") center center / cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.testimonial-overlay {
  background: rgba(0, 0, 0, 0.65);
  width: 100%;
  padding: 4rem 1.5rem;
}

.testimonial-quote {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1.5px;
  color: #ffffff;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  line-height: 1.25;
  text-transform: uppercase;
}

.testimonial-author {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .testimonial-section {
    min-height: 45vh;
  }

  .testimonial-quote {
    font-size: 1.6rem;
  }

  .testimonial-overlay {
    padding: 3rem 1.25rem;
  }
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #2e2867;
  color: #ffffff;
}

.footer-heading {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 2rem 0;
}

.footer-bottom-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }
}

/* =========================
   ARTICLE PAGE STYLING
========================= */

.article-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.article-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Featured image constraints */

.article-featured-image {
  max-width: 100%;
  max-height: 420px;
  width: 100%;
  object-fit: cover;
}

/* Article body typography */

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body h2,
.article-body h3 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Mobile layout */

@media (max-width: 991px) {
  .article-featured-image {
    max-height: 280px;
    margin-bottom: 1rem;
  }
}

/* =========================
   ARTICLE PAGE SPACING
========================= */

.article-page {
  padding-top: 90px; /* pushes content below fixed nav */
  padding-bottom: 2rem;
}

/* =========================
   ARTICLE INLINE IMAGE
========================= */

.article-featured-inline {
  max-width: 360px;       /* caps visual size */
  width: auto;           /* preserves natural aspect */
  height: auto;
  float: left;           /* text wraps around */
  margin: 0.5rem 1.5rem 1rem 0;
  border-radius: 8px;
  object-fit: contain;   /* prevent cropping */
}

/* Clear float after article body */
.article-body::after {
  content: "";
  display: block;
  clear: both;
}

/* Mobile: stack image */
@media (max-width: 768px) {
  .article-featured-inline {
    float: none;
    display: block;
    margin: 1rem auto 1.5rem;
    max-width: 100%;
  }
}

/* =========================
   ARTICLE PULL QUOTE
========================= */

.article-pull-quote {
  margin: 3rem auto;
  padding: 1.75rem 2.25rem;
  max-width: 85%;
  background: rgba(46, 40, 103, 0.06);
  border-left: 6px solid var(--brand-primary);
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: 1px;
  color: #2e2867;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .article-pull-quote {
    max-width: 100%;
    padding: 1.25rem 1.5rem;
  }
}

/* =========================
   CATEGORY LISTING CARDS
========================= */

.category-grid {
  margin-top: 1.5rem;
}

.category-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Thumbnail */

.category-thumb-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.category-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card body */

.category-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.category-card-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  color: #111;
}

.category-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 1rem;
}

/* Read more */

.category-card-readmore {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.category-card:hover .category-card-readmore {
  text-decoration: underline;
}

/* Mobile tuning */

@media (max-width: 768px) {
  .category-thumb-wrap {
    height: 180px;
  }

  .category-card-title {
    font-size: 1.15rem;
  }
}

/* =========================
   RELATED ARTICLES CARDS
========================= */

.related-articles {
  margin-top: 3rem;
}

.related-heading {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  font-size: 1.6rem;
  color: #111;
}

/* Card container */

.related-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
  padding: 0.75rem;
}

/* Hover lift + highlight */

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Thumbnail */

.related-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Title */

.related-title {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: #222;
}

/* Subtle brand accent on hover */

.related-card:hover .related-title {
  color: var(--brand-primary);
}

/* Mobile tuning */

@media (max-width: 768px) {
  .related-thumb {
    height: 180px;
  }

  .related-title {
    font-size: 1.05rem;
  }
}

/* =========================
   CATEGORY PAGE SPACING + HEADING
========================= */

.category-page {
  padding-top: 110px; /* clears fixed nav nicely */
  padding-bottom: 3rem;
}

.category-page h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: #111;
}

/* =========================
   PAGE FRAME (ARTICLE + CATEGORY)
========================= */

.page-frame {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
}

.page-frame {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  border-radius: 4px;
}

/* Subtle side borders / gutters */
.page-frame::before,
.page-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.06);
}

.page-frame::before {
  left: 0;
}

.page-frame::after {
  right: 0;
}

/* Add breathing room from viewport edges */
@media (min-width: 1100px) {
  .page-frame {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* On small screens: full width, no borders */
@media (max-width: 1099px) {
  .page-frame {
    max-width: 100%;
  }

  .page-frame::before,
  .page-frame::after {
    display: none;
  }
}

/* =========================
   GLOBAL FRAME INNER (NAV + FOOTER + CONTENT)
========================= */

.frame-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar .frame-inner {
  position: relative;
}

.navbar .frame-inner::before,
.navbar .frame-inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.navbar .frame-inner::before {
  left: 0;
}

.navbar .frame-inner::after {
  right: 0;
}

/* =========================
   SITE WIDTH WRAPPER
========================= */

.site-wrap {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Optional subtle framing */
body {
  background: #f1f1f1;
}

/* =========================
   SITE FRAME (1000px WRAP)
========================= */
.site-frame {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow:
    -1px 0 0 rgba(0, 0, 0, 0.06),
     1px 0 0 rgba(0, 0, 0, 0.06);
}

/* On small screens: full width, no borders */
@media (max-width: 768px) {
  .site-frame {
    max-width: 100%;
    box-shadow: none;
  }
}

.site-footer .py-5 {
  padding-bottom: 0.5rem !important;
}

.site-footer strong {
  color: #ffffff;
  letter-spacing: 0.5px;
}

.site-footer .footer-text {
  max-width: 720px;
}

/* Subtle section divider */
.section-divider {
  max-width: 1000px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.12),
    transparent
  );
}

.intro-section {
  padding-bottom: 1rem !important;
}

section.py-5 {
  padding-top: 2rem !important;
}

/* Homepage feature cards */
.feature-card {
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Center intro heading only (body stays left) */
.intro-section .intro-heading {
  text-align: center;
}
