:root {
  --main-color: #622534;
  --main-dark: #431925;
  --accent-color: #DBAFA6;
  --secondary-color: #F7EEE9;
  --surface-color: #FFF9F6;
  --peach-color: #F1D5C9;
  --gold-color: #D4A34B;
  --text-color: #2f2730;
  --muted-text: #6c5c65;
  --white-color: #ffffff;
  --border-soft: rgba(98, 37, 52, 0.12);
  --shadow-soft: 0 18px 45px rgba(98, 37, 52, 0.12);
  --shadow-card: 0 14px 35px rgba(54, 21, 31, 0.08);
  --font-primary: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background: linear-gradient(180deg, #fffdfc 0%, #fff9f6 100%);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-space {
  padding: 40px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(98, 37, 52, 0.08);
  color: var(--main-color);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.tag-light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white-color);
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--main-dark);
}

.top-strip {
  background: var(--main-dark);
  color: var(--white-color);
  font-size: 0.92rem;
}

.top-strip-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip-left,
.top-strip-right {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.top-strip a,
.top-strip span {
  color: rgba(255, 255, 255, 0.88);
}

.top-strip i {
  margin-right: 8px;
}

.main-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 249, 246, 0.92);
  border-bottom: 1px solid var(--border-soft);
}

.header-shell {
  min-height: 88px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo,
.footer-logo {
  height: 70px;

}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: var(--main-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted-text);
  font-size: 0.88rem;
}

.navbar-nav .nav-link {
  color: var(--main-color);
  font-weight: 600;
  padding: 0.8rem 1rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--main-dark);
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  color: #ff0049;
  transform: translateY(-1px);
}

.dropdown-menu {
  background: var(--white-color);
  min-width: 400px;
}

.dropdown-item {
  padding: 0.85rem 1rem;
  color: var(--main-color);
  font-weight: 600;
}

.dropdown-item:hover {
  background: var(--secondary-color);
  color: var(--main-dark);
}

/* ============================================================
   OUR PROJECTS — 3-level hover mega menu
   Level 1 : nav-item.mega-dropdown
   Level 2 : .project-type-menu  (drops down from nav bar)
   Level 3 : .sub-project-type-menu  (flies out to the right)
   ============================================================ */

/* ---- wrapper for the main link + mobile caret ---- */
.our-projects-wrap {
  position: relative;
}

/* ---- Level-1 li must be relative so the L2 menu anchors to it ---- */
.nav-item.mega-dropdown {
  position: relative;
}

/* ---- Level-2 : the project-type dropdown ---- */
.project-type-menu {
  display: none;
  /* hidden by default; shown by hover (desktop) or JS (mobile) */
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  background: var(--white-color);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  /* remove bullet points */
  z-index: 1100;
  overflow: visible;
  /* allow L3 to spill outside */
}

/* ---- Level-2 list item must be relative for L3 positioning ---- */
.project-type-menu .dropdown-submenu {
  position: relative;
}

/* ---- Submenu toggle row (link + arrow icon) ---- */
.project-type-menu .submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ---- Right-pointing chevron arrow ---- */
.submenu-arrow {
  font-size: 0.7rem;
  color: rgba(98, 37, 52, 0.6);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* ---- Level-3 : the sub-project-type flyout ---- */
.sub-project-type-menu {
  display: none;
  /* hidden by default; shown by L2 hover ---- */
  position: absolute;
  top: 0;
  left: 100%;
  /* fly out to the right */
  margin-left: 2px;
  min-width: 280px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  background: var(--white-color);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  /* remove bullet points */
  z-index: 1200;
}

.sub-project-type-menu .dropdown-item {
  font-weight: 500;
  white-space: normal;
  line-height: 1.5;
}

/* ============================================================
   DESKTOP HOVER TRIGGERS  (≥ 992 px)
   ============================================================ */
@media (min-width: 992px) {

  /* Hovering the nav-item reveals the L2 dropdown */
  .nav-item.mega-dropdown:hover>.project-type-menu,
  .nav-item.mega-dropdown:focus-within>.project-type-menu {
    display: block;
  }

  /* Hovering a L2 row reveals the L3 flyout */
  .project-type-menu .dropdown-submenu:hover>.sub-project-type-menu,
  .project-type-menu .dropdown-submenu:focus-within>.sub-project-type-menu {
    display: block;
  }

  /* Rotate arrow when L3 is visible */
  .project-type-menu .dropdown-submenu:hover .submenu-arrow {
    transform: rotate(90deg);
  }

  /* If the L2 menu is near the right edge, flip L3 to the left */
  .project-type-menu .dropdown-submenu:hover>.sub-project-type-menu.flip-left {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 2px;
  }
}

/* ============================================================
   MOBILE  (< 992 px) — stacked accordion-style
   ============================================================ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .project-type-menu {
    position: static;
    display: none;
    /* hidden by default; toggled via JS .open class */
    min-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-top: 6px;
  }

  /* Vanilla JS toggleProjectsMenu() adds .open to show it */
  .project-type-menu.open {
    display: block;
  }

  .sub-project-type-menu {
    position: static;
    display: none;
    /* hidden by default; toggled via JS */
    min-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding-left: 16px;
  }

  .sub-project-type-menu.open {
    display: block;
  }

  /* Flip the right-chevron arrow to point down on mobile */
  .submenu-arrow {
    transform: rotate(90deg);
  }

  .dropdown-caret-btn {
    padding: 6px 12px;
    line-height: 1;
  }

  /* Animate caret icon */
  .caret-icon {
    transition: transform 0.25s ease;
  }
}


.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-brand,
.btn-outline-brand {
  border-radius: 999px;
  padding: 0.82rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-brand {
  background: linear-gradient(135deg, var(--main-color), #8f4456);
  color: var(--white-color);
  border: none;
  box-shadow: 0 12px 30px rgba(98, 37, 52, 0.25);
}

.btn-brand:hover {
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(98, 37, 52, 0.32);
}

.btn-outline-brand {
  background: transparent;
  border: 1px solid rgba(98, 37, 52, 0.22);
  color: var(--main-color);
}

.btn-outline-brand:hover {
  color: var(--main-dark);
  border-color: rgba(98, 37, 52, 0.45);
  background: rgba(98, 37, 52, 0.05);
  transform: translateY(-2px);
}

.nav-toggle-btn {
  border: none;
  background: rgba(98, 37, 52, 0.08);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: none !important;
}

.nav-toggle-btn:focus {
  box-shadow: none;
}

.toggle-icon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--main-color);
  font-size: 1.15rem;
}

.toggle-close {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

.nav-toggle-btn.is-open .toggle-open {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.nav-toggle-btn.is-open .toggle-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.banner {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 12, 22, 0.76) 0%, rgba(43, 12, 22, 0.45) 42%, rgba(43, 12, 22, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white-color);
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content h1,
.hero-title-alt {
  font-size: clamp(2.0rem, 5vw, 3.0rem);
  line-height: 1.08;
  margin-bottom: 18px;
  font-weight: 600;
  text-align: center;
  width: 80%;
  margin: 0 auto;
}

.hero-content p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-secondary {
  border-radius: 999px;
  color: var(--main-dark);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.custom-indicators {
  bottom: 24px;
}

.custom-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
}

.custom-indicators .active {
  background-color: var(--white-color);
}

.custom-carousel-control {
  width: 7%;
  opacity: 1;
}

.control-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--main-dark);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(98, 37, 52, 0.14);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.custom-carousel-control:hover .control-circle {
  transform: scale(1.05);
  background: var(--main-color);
  color: var(--white-color);
}

.about {
  background: var(--white-color);
}

.about p {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted-text);
}

.lead-quote {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--main-color) !important;
  font-style: italic;
  border-left: 4px solid var(--accent-color);
  padding-left: 18px;
  margin: 28px 0 22px;
}

.founder-signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.image-card {
  position: relative;
}

.tilt-hover img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tilt-hover:hover img {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-soft);
}

.impact-strip {
  padding: 32px 0 80px;
  background: linear-gradient(180deg, var(--white-color) 0%, rgba(247, 238, 233, 0.7) 100%);
}

.impact-card {
  background: var(--white-color);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 28px 18px;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.impact-card h3 {
  color: var(--main-color);
  font-size: 2rem;
  margin-bottom: 6px;
}

.impact-card p {
  margin: 0;
  color: var(--muted-text);
  font-weight: 600;
}

.story-section {
  background: linear-gradient(180deg, #431925 0%, #823D4D 100%);
}

.story-section .section-title {
  color: var(--white-color);
}

.story-carousel {
  padding: 0 72px;
}

.story-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(98, 37, 52, 0.08);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.story-avatar-wrap {
  flex: 0 0 180px;
}

.story-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(219, 175, 166, 0.42);
  box-shadow: var(--shadow-soft);
}

.story-copy {
  position: relative;
}

.quote-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(98, 37, 52, 0.08);
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.story-text {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted-text);
  margin-bottom: 16px;
}

.story-copy h5 {
  color: var(--main-dark);
  margin-bottom: 4px;
}

.story-copy span {
  color: var(--muted-text);
}

.story-control {
  width: auto;
}

.story-indicators {
  display: none;
  bottom: -8px;
  margin-bottom: 0;
}

.story-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin: 0 6px;
  background: var(--main-color);
  opacity: 1;
}

.story-indicators .active {
  background: var(--peach-color);
  transform: scale(1.1);
}

.programs {
  background: var(--white-color);
}

.program-card {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(98, 37, 52, 0.08);
  background: var(--white-color);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.program-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-card-body {
  padding: 24px 20px 26px;
}

.program-card-body h5 {
  color: var(--main-dark);
  margin-bottom: 10px;
}

.program-card-body p {
  color: var(--muted-text);
  line-height: 1.75;
  margin: 0;
}

.cta-section {
  padding: 60px 0 60px;
  background-color: var(--peach-color);
}

.cta-box {
  background: linear-gradient(135deg, var(--main-color), #7b3646 50%, #9c5364 100%);
  border-radius: 34px;
  padding: 48px;
  color: var(--white-color);
  box-shadow: 0 22px 50px rgba(98, 37, 52, 0.2);
}

.cta-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cta-light-btn {
  color: var(--main-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
}

.footer-section {
  background: var(--main-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 42px 0 22px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .footer-reg-no {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}

.footer-brand h5 {
  color: var(--white-color);
  margin-bottom: 4px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact i {
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1199px) {
  .story-carousel {
    padding: 0 50px;
  }

  .hero-content h1,
  .hero-title-alt {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 991.98px) {
  .top-strip-inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }

  .header-shell {
    min-height: 80px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar-collapse {
    background: var(--white-color);
    border-radius: 24px;
    margin-top: 18px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
  }

  .navbar-nav .nav-link {
    padding: 0.9rem 0.4rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 14px;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slide {
    min-height: 660px;
  }

  .story-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .story-avatar-wrap {
    flex-basis: auto;
  }

  .story-carousel {
    padding: 0 10px 72px;
  }

  .story-control {
    top: auto;
    bottom: 6px;
    transform: none;
  }

  .story-indicators {
    display: flex !important;
    bottom: 8px;
  }

  .story-control {
    top: auto;
    bottom: 34px;
    transform: none;
  }

  .story-control.carousel-control-prev {
    left: 38%;
  }

  .story-control.carousel-control-next {
    right: 38%;
  }

  .footer-contact {
    justify-content: start;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 32px 0;
  }

  .brand-copy {
    display: none;
  }

  .hero-slide {
    min-height: 600px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .custom-carousel-control {
    display: none;
  }

  .impact-strip {
    padding-bottom: 56px;
  }

  .cta-box {
    padding: 36px 24px;
    text-align: center;
  }
}

@media (max-width: 575.98px) {

  .top-strip-left,
  .top-strip-right {
    justify-content: center;
    gap: 10px 14px;
  }

  .story-avatar {
    width: 145px;
    height: 145px;
  }

  .story-control.carousel-control-prev {
    left: 30%;
  }

  .story-control.carousel-control-next {
    right: 30%;
  }

  .control-circle {
    width: 50px;
    height: 50px;
  }
}

.list-style-none {
  list-style: none;
}

.footer-link li {
  margin-left: -28px;
  padding-top: 5px;
}

.footer-link li a {
  color: #fff;
}


/* ============================================================
   MEGA MENU — Professional Compact Version
   Add/Replace in: public/frontend/css/styles.css
   ============================================================ */

@media (min-width: 992px) {
  .mega-dropdown:hover .mega-menu {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
  }

  .mega-menu {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-width: 480px;
    top: 100%;
    left: 50%;
    translate: -50%;
    border-radius: 10px;
    overflow: hidden;
  }
}

.mega-body {
  width: 100%;
}

/* ---- LEFT PANEL ---- */
.mega-left {
  width: 190px;
  flex-shrink: 0;
  background: #f8f3f4;
  padding: 16px 12px;
  border-right: 1px solid #f0e6e8;
}

.mega-section-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a0858a;
  margin: 0 0 10px 6px;
}

.mega-type-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 3px;
  transition: background 0.15s, color 0.15s;
  color: #4a3540;
  user-select: none;
}

.mega-type-item:hover {
  background: #f0dde1;
  color: #7b1c2e;
}

.mega-type-item.active {
  background: #7b1c2e;
  color: #fff;
}

.mega-type-label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.mega-type-count {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.3);
  padding: 1px 6px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  margin-left: 6px;
  flex-shrink: 0;
}

.mega-type-item:not(.active) .mega-type-count {
  background: #ead9dc;
  color: #7b1c2e;
}

/* ---- RIGHT PANEL ---- */
.mega-right {
  flex: 1;
  padding: 16px 16px;
  background: #fff;
  min-height: 160px;
}

.mega-project-list {
  display: none;
  animation: megaFadeIn 0.18s ease;
}

.mega-project-list.active {
  display: block;
}

@keyframes megaFadeIn {
  from {
    opacity: 0;
    transform: translateX(4px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mega-project-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  text-decoration: none;
  color: #2c3e50;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 1px;
  border-bottom: 1px solid #f5f0f1;
}

.mega-project-link:last-of-type {
  border-bottom: none;
}

.mega-project-link:hover {
  background: #fdf0f2;
  color: #7b1c2e;
}

.mega-project-link:hover .mega-proj-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.mega-proj-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8828e;
  flex-shrink: 0;
}

.mega-proj-title {
  flex: 1;
  line-height: 1.3;
}

.mega-proj-arrow {
  font-size: 0.6rem;
  color: #7b1c2e;
  opacity: 0;
  transition: opacity 0.13s, transform 0.13s;
}

/* ---- Empty state ---- */
.mega-empty {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b0909a;
  font-size: 0.78rem;
  padding: 10px 8px;
}

/* ---- View all ---- */
.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 5px;
  background: #7b1c2e;
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.mega-view-all:hover {
  background: #5e1522;
}

.mega-view-all i {
  font-size: 0.6rem;
}

/* ── Hero ── */
.projects-hero {
  background: linear-gradient(135deg, #431925 0%, #7b1c2e 55%, #431925 100%);
  padding: 70px 0 70px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(219, 175, 166, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.projects-hero-inner {
  position: relative;
  z-index: 2;
}

.projects-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.projects-hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.projects-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.projects-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.18;
  margin-bottom: 18px;
  color: #fff;
}

.projects-hero-title em {
  font-style: italic;
  color: var(--accent-color);
}

.projects-hero-sub {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
}

/* ── Filter Section ── */
.filter-section {
  background: #fdf6f7;
  padding: 56px 0 44px;
  border-bottom: 1px solid #f0dde2;
}

.filter-section .section-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #7b1c2e;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* All btn */
.all-btn-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.all-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  border: 2px solid #7b1c2e;
  color: #7b1c2e;
  transition: all .3s;
  letter-spacing: .5px;
}

.all-filter-btn:hover,
.all-filter-btn.active {
  background: #7b1c2e;
  color: #fff;
  box-shadow: 0 8px 24px rgba(123, 28, 46, .3);
}

.all-filter-btn .total-count {
  background: rgba(123, 28, 46, .1);
  color: #7b1c2e;
  font-size: .78rem;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 700;
  transition: all .3s;
}

.all-filter-btn.active .total-count,
.all-filter-btn:hover .total-count {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

/* Type Cards */
.type-card {
  background: #fff;
  border-radius: 20px;
  padding: 34px 22px 28px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
  border: 2px solid transparent;
  text-decoration: none;
  display: block;
  transition: all .35s cubic-bezier(.23, 1, .32, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.type-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7b1c2e, #c0395a);
  transform: scaleX(0);
  transition: transform .35s;
  border-radius: 0 0 4px 4px;
}

.type-card:hover::before,
.type-card.active::before {
  transform: scaleX(1);
}

.type-card:hover {
  border-color: #e8b4be;
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(123, 28, 46, .15);
}

.type-card.active {
  background: linear-gradient(135deg, #7b1c2e 0%, #a02040 100%);
  border-color: #7b1c2e;
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(123, 28, 46, .3);
}

.type-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f8f0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: #7b1c2e;
  transition: all .3s;
  box-shadow: 0 4px 12px rgba(123, 28, 46, .1);
}

.type-card.active .type-icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  box-shadow: none;
}

.type-card h6 {
  font-weight: 700;
  font-size: .92rem;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.5;
  transition: color .3s;
}

.type-card.active h6 {
  color: #fff;
}

.type-card .count-pill {
  display: inline-block;
  background: #f8f0f2;
  color: #7b1c2e;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  transition: all .3s;
}

.type-card.active .count-pill {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

/* ── Projects Grid ── */
.projects-grid-section {
  padding: 80px 0 100px;
  background: #fff;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.section-sub {
  color: #999;
  font-size: .9rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.section-sub strong {
  color: #7b1c2e;
}

/* Project Card — horizontal */
.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 0, 0, .07);
  transition: transform .4s cubic-bezier(.23, 1, .32, 1), box-shadow .4s;
  display: flex;
  flex-direction: row;
  border: 1px solid #f0e8ea;
  min-height: 220px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(123, 28, 46, .16);
  border-color: transparent;
}

/* Image wrapper */
.project-card-img-wrap {
  width: 280px;
  min-width: 280px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.23, 1, .32, 1);
  display: block;
}

.project-card:hover .project-card-img {
  transform: scale(1.1);
}

.project-card-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #f8f0f2, #fde8ec);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Type ribbon */
.type-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(123, 28, 46, .9);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.project-card-body {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card-body .meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.project-card-body .meta-type {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7b1c2e;
}

.project-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: #1a1a2e;
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.45;
}

.project-card-body p {
  color: #6c757d;
  font-size: .9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;


  line-height: 1.8;
  flex: 1;
  margin-bottom: 0;
}

.card-footer-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #7b1c2e;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap .3s, color .3s;
  letter-spacing: .3px;
}

.btn-learn-more:hover {
  color: #5a1220;
  gap: 16px;
}

.btn-learn-more .arrow-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b1c2e, #a02040);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: transform .3s, box-shadow .3s;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(123, 28, 46, .3);
}

.btn-learn-more:hover .arrow-icon {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(123, 28, 46, .4);
}

/* Responsive */
@media (max-width: 767px) {
  .project-card {
    flex-direction: column;
  }

  .project-card-img-wrap {
    width: 100%;
    min-width: unset;
    height: 200px;
  }

  .project-card-img {
    height: 200px;
  }

  .projects-hero h1 {
    font-size: 2rem;
  }

  .project-card-body {
    padding: 20px;
  }
}

/* Pagination */
.pagination .page-link {
  color: #7b1c2e;
  border-radius: 10px !important;
  margin: 0 3px;
  border: 1px solid #f0e8ea;
  padding: 9px 16px;
  font-weight: 600;
  transition: all .25s;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #7b1c2e, #a02040);
  border-color: #7b1c2e;
  color: #fff;
  box-shadow: 0 4px 12px rgba(123, 28, 46, .3);
}

.pagination .page-link:hover {
  background: #fdf6f7;
  color: #7b1c2e;
  border-color: #e8b4be;
}

/* No Projects */
.no-projects {
  text-align: center;
  padding: 100px 20px;
}

.no-projects .no-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f0f2, #fde8ec);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
  color: #7b1c2e;
  opacity: .5;
}

.no-projects h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.no-projects p {
  color: #6c757d;
  font-size: .95rem;
}

/* Hero */
.detail-hero {
  background: linear-gradient(135deg, #431925 0%, #7b1c2e 100%);
  padding: 140px 0 120px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 12, 22, 0.82) 0%, rgba(67, 25, 37, 0.68) 100%);
  pointer-events: none;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.detail-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.detail-hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.detail-hero .type-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  color: #000;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .3);
}

.detail-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 700px;
}

.detail-hero p.lead-text {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 620px;
  line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb-detail {
  background: none;
  padding: 0;
  margin-bottom: 20px;
}

.breadcrumb-detail li,
.breadcrumb-detail a {
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
}

.breadcrumb-detail .breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-detail .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .4);
}

/* Content */
.detail-content {
  padding: 80px 0;
}

.detail-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .14);
  transition: transform .5s cubic-bezier(.23, 1, .32, 1);
  display: block;
}

.detail-image:hover {
  transform: scale(1.02);
}

.detail-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 24px;
}

.detail-body .prose {
  color: #444;
  font-size: 1rem;
  line-height: 1.95;
}

.detail-body .prose p {
  margin-bottom: 18px;
}

.detail-body .prose h2,
.detail-body .prose h3 {
  font-family: 'Playfair Display', serif;
  color: #1a1a2e;
  margin-top: 0px;
  margin-bottom: 14px;
}

.detail-body .prose ul {
  padding-left: 20px;
}

.detail-body .prose ul li {
  margin-bottom: 8px;
}

.detail-body .prose img {
  border-radius: 12px;
  max-width: 100%;
}

/* Sidebar */
.sidebar-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, .07);
  margin-bottom: 24px;
  border: 1px solid #f0e8ea;
}

.sidebar-card h5 {
  font-weight: 700;
  color: #7b1c2e;
  margin-bottom: 20px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f8f0f2;
}

.btn-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #7b1c2e, #a02040);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all .3s;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(123, 28, 46, .3);
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, #5a1220, #7b1c2e);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 28, 46, .4);
}

.btn-cta-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #7b1c2e;
  color: #7b1c2e;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  font-size: .9rem;
}

.btn-cta-outline:hover {
  background: #7b1c2e;
  color: #fff;
  transform: translateY(-2px);
}

/* Info table */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f8f0f2;
  font-size: .9rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #999;
  font-size: .85rem;
}

.info-value {
  font-weight: 600;
  color: #2c3e50;
}

/* Back link card */
.back-link-card {
  background: #fdf6f7;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #7b1c2e;
  font-weight: 700;
  font-size: .88rem;
  border: 1px solid #f0dde2;
  transition: all .3s;
}

.back-link-card:hover {
  background: #7b1c2e;
  color: #fff;
  border-color: #7b1c2e;
}

.back-link-card i {
  transition: transform .3s;
}

.back-link-card:hover i {
  transform: translateX(-3px);
}

@media (max-width: 767px) {
  .detail-hero h1 {
    font-size: 1.9rem;
  }
}

/* ============================================================
   DETAIL PAGE — Professional New Elements
   ============================================================ */

.detail-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.detail-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 18px;
  /* color: #fff; */
  max-width: 820px;
}

.detail-hero-lead {
  font-size: 1.08rem;
  line-height: 1.82;
  /* color: rgba(255, 255, 255, .86); */
  max-width: 680px;
  margin-bottom: 0;
}

.detail-scroll-hint {
  margin-top: 36px;
}

.detail-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .30);
  color: #fff;
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: background .25s;
}

.detail-scroll-btn:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* Featured Image Wrap */
.detail-featured-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.detail-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(43, 12, 22, .72) 0%, transparent 100%);
  padding: 28px 20px 14px;
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  font-weight: 600;
}

/* Highlight / Quote Box */
.detail-highlight-box {
  background: linear-gradient(135deg, #fdf2f4, #fff9f6);
  border-left: 4px solid var(--main-color);
  border-radius: 0 16px 16px 0;
  padding: 28px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.detail-highlight-icon {
  color: var(--main-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  opacity: .55;
  margin-top: 2px;
}

.detail-highlight-text {
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--muted-text);
  margin: 0;
}

/* Sidebar Label */
.sidebar-card-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--main-color);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f8f0f2;
}

/* Info Pills */
.info-type-pill {
  background: rgba(123, 28, 46, .1);
  color: var(--main-color);
  font-size: .76rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  line-height: 1.4;
  max-width: none;
  text-align: right;
}

.status-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 139, 34, .1);
  color: #228b22;
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #228b22;
  display: inline-block;
  animation: statusPulse 1.6s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  border: none !important;
  text-align: center;
  position: sticky;
  top: 150px;
  z-index: 10;
}

.sidebar-cta-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.55rem;
  color: #fff;
}

.sidebar-cta-heading {
  /* color: #fff !important; */
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  border: none !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.sidebar-cta-text {
  /* color: rgba(255, 255, 255, .82); */
  font-size: .88rem;
  line-height: 1.72;
  margin: 0;
}

/* ============================================================
   PROJECTS PAGE — New Elements
   ============================================================ */

.projects-grid-header {
  border-bottom: 1px solid #f0e8ea;
  padding-bottom: 24px;
}

.pg-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.pg-sub {
  color: #999;
  font-size: .9rem;
}

.pg-sub strong {
  color: var(--main-color);
}

.pg-divider {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--main-color), var(--accent-color));
  border-radius: 4px;
}

/* Projects list stacked layout */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.project-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: #1a1a2e;
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-card-desc {
  color: #6c757d;
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.meta-date {
  font-size: .75rem;
  color: #aaa;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .projects-hero-title {
    font-size: 2rem;
  }

  .detail-hero-title {
    font-size: 1.85rem;
  }

  .detail-highlight-box {
    padding: 20px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .detail-hero {
    padding: 110px 0 100px;
  }
}

/* ── Hero ── */
.about-hero {
  background: linear-gradient(135deg, rgba(120, 30, 50, 0.88) 0%, rgba(60, 10, 20, 0.88) 100%),
  url('{{ asset("frontend/images/hero-image-1.jpg") }}') center/cover no-repeat;
  padding: 110px 0 70px;
  color: #fff;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: .8;
}

/* ── Nav Tabs ── */
.about-nav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  position: sticky;
  top: 0;
  z-index: 99;
}

.about-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.about-nav ul li a {
  display: block;
  padding: 18px 28px;
  color: #555;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .5px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .3s;
}

.about-nav ul li a:hover,
.about-nav ul li a.active {
  color: #7b1c2e;
  border-bottom-color: #7b1c2e;
}

/* ── Section commons ── */
.about-section {
  padding: 70px 0 70px;
}

.about-section:nth-child(even) {
  background: #fdf6f7;
}

.section-tag-sm {
  display: inline-block;
  background: #7b1c2e;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title-lg {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lead-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.9;
}

/* ── Tilt / hover image ── */
.tilt-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(123, 28, 46, .18);
  transition: transform .4s cubic-bezier(.23, 1, .32, 1),
    box-shadow .4s;
}

.tilt-wrap:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 20px 60px rgba(123, 28, 46, .28);
}

.tilt-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.tilt-wrap:hover img {
  transform: scale(1.04);
}

/* ── Founder quote ── */
.founder-quote {
  background: #7b1c2e;
  color: #fff;
  border-radius: 14px;
  padding: 28px 30px;
  margin-top: 28px;
  position: relative;
}

.founder-quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, .15);
  position: absolute;
  top: 10px;
  left: 18px;
  font-family: Georgia, serif;
}

.founder-quote p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  margin: 0 0 12px;
  padding-left: 10px;
}

.founder-quote .attrib {
  font-weight: 700;
  font-size: .9rem;
  opacity: .85;
  padding-left: 10px;
}

/* ── Vision / Mission cards ── */
.vm-card {
  border-radius: 16px;
  padding: 40px 36px;
  height: 100%;
  transition: transform .3s, box-shadow .3s;
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
}

.vm-card.vision {
  background: #7b1c2e;
  color: #fff;
}

.vm-card.mission {
  background: #fff;
  color: #2c3e50;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.vm-card .vm-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  opacity: .85;
}

.vm-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vm-card p {
  line-height: 1.85;
  font-size: .97rem;
  margin: 0;
}

.vm-card.mission p {
  color: #555;
}

/* ── Values ── */
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
  border-left: 4px solid #7b1c2e;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(123, 28, 46, .13);
}

.value-card h5 {
  color: #7b1c2e;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.value-card p {
  color: #666;
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}

/* ── Team placeholder ── */
.team-placeholder {
  background: #fff;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
}

.team-placeholder i {
  font-size: 3rem;
  color: #7b1c2e;
  opacity: .3;
  margin-bottom: 18px;
}

.team-placeholder h5 {
  color: #2c3e50;
  font-weight: 700;
}

.team-placeholder p {
  color: #6c757d;
  font-size: .95rem;
}

/* ══ HERO ══ */
.cu-hero {
  position: relative;
  background: url('{{ asset("frontend/images/hero-image-1.jpg") }}') center/cover no-repeat;
  padding: 110px 0 70px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(90, 18, 32, 0.93) 0%, rgba(40, 8, 16, 0.88) 100%);
}

.cu-hero .container {
  position: relative;
  z-index: 1;
}

.cu-hero .hero-tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  padding: 5px 20px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.cu-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cu-hero p {
  font-size: 1.05rem;
  opacity: 0.82;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ══ OPENING — HOW CAN WE HELP ══ */
.cu-opening {
  background: #fdf7f5;
  padding: 70px 0 60px;
}

.cu-opening-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.cu-section-label {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7b1c2e;
  font-weight: 600;
  margin-bottom: 12px;
}

.cu-opening h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.cu-opening .opening-intro {
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ── Hover cards grid ── */
.cu-help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.cu-help-card {
  background: #fff;
  border: 1px solid #f0e5e5;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: default;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.22s;
  position: relative;
  overflow: hidden;
}

.cu-help-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #7b1c2e;
  border-radius: 14px 0 0 14px;
  transform: scaleY(0);
  transition: transform 0.22s;
}

.cu-help-card:hover {
  border-color: rgba(123, 28, 46, 0.3);
  box-shadow: 0 8px 28px rgba(123, 28, 46, 0.1);
  transform: translateY(-3px);
}

.cu-help-card:hover::before {
  transform: scaleY(1);
}

.cu-help-card:hover .cu-help-icon {
  background: #7b1c2e;
  color: #fff;
  transform: scale(1.08);
}

.cu-help-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5e8ea;
  color: #7b1c2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, transform 0.22s;
}

.cu-help-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.65;
  padding-top: 8px;
  margin: 0;
}

.cu-opening-footer {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.8;
}

.cu-opening-footer strong {
  color: #7b1c2e;
}

/* ══ MAIN CONTACT SECTION ══ */
.cu-main {
  padding: 70px 0 80px;
  background: #fff;
}

/* ── Info card ── */
.cu-info-card {
  background: #7b1c2e;
  border-radius: 20px;
  padding: 40px 32px;
  color: #fff;
  height: 100%;
}

.cu-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cu-info-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
}

.cu-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.cu-info-item h6 {
  margin: 0 0 3px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.52;
}

.cu-info-item p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.6;
  opacity: 0.88;
}

.cu-info-item p em {
  font-style: italic;
  opacity: 0.5;
  font-size: 0.84rem;
}

/* Social block inside info card */
.cu-social-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cu-social-block .label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.48;
  margin-bottom: 13px;
}

.cu-social-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.cu-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 7px 13px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.cu-social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  text-decoration: none;
}

.cu-social-note {
  font-size: 0.75rem;
  opacity: 0.38;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ── Form card ── */
.cu-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  border: 1px solid #f0e8e8;
  box-shadow: 0 6px 40px rgba(123, 28, 46, 0.07);
}

.cu-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.cu-form-card .subtitle {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 28px;
}

.cu-form-card .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #444;
  margin-bottom: 6px;
  display: block;
}

.cu-form-card .form-control,
.cu-form-card select.form-control {
  border: 1px solid #e5e0e0;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 0.94rem;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}

.cu-form-card .form-control:focus,
.cu-form-card select.form-control:focus {
  border-color: #7b1c2e;
  box-shadow: 0 0 0 3px rgba(123, 28, 46, 0.1);
  background: #fff;
  outline: none;
}

.cu-form-card textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.cu-form-card .invalid-feedback {
  font-size: 0.8rem;
}

.cu-form-card .is-invalid {
  border-color: #dc3545 !important;
}

.btn-cu-submit {
  background: #7b1c2e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-cu-submit:hover {
  background: #5a1220;
  transform: translateY(-1px);
}

.btn-cu-submit:active {
  transform: scale(0.98);
}

.alert-success-custom {
  background: #f0faf4;
  border: 1px solid #b7e4c7;
  border-radius: 10px;
  padding: 13px 17px;
  color: #1a6335;
  font-size: 0.92rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-danger-custom {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 13px 17px;
  color: #7b1c2e;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.alert-danger-custom ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* ══ DONATIONS SECTION ══ */
.cu-donations {
  background: #fdf7f5;
  padding: 65px 0;
}

.cu-donations-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cu-donations h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.cu-donations p {
  font-size: 0.96rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
}

.cu-donate-placeholder {
  margin-top: 28px;
  background: #fff;
  border: 1.5px dashed #ddc8c8;
  border-radius: 14px;
  padding: 36px 28px;
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.7;
}

.cu-donate-placeholder i {
  font-size: 2.2rem;
  color: #ddc8c8;
  display: block;
  margin-bottom: 14px;
}

.cu-donate-disclaimer {
  margin-top: 20px;
  font-size: 0.82rem;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.cu-donate-disclaimer i {
  color: #7b1c2e;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 767px) {
  .cu-help-grid {
    grid-template-columns: 1fr;
  }

  .cu-form-card {
    padding: 28px 20px;
  }

  .cu-info-card {
    padding: 30px 22px;
  }
}

/* ══ DONATE NOW PAGE ══ */
.donate-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.donate-main-section {
  padding: 80px 0;
  background: #fdf7f5;
}

.donate-features {
  margin-top: 30px;
}

.donate-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #444;
}

.donate-feature-item i {
  margin-top: 4px;
}

.donate-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(123, 28, 46, 0.08);
  border: 1px solid rgba(123, 28, 46, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-icon-bg {
  width: 70px;
  height: 70px;
  background: rgba(123, 28, 46, 0.08);
  color: #7b1c2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.donate-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.bank-details-box {
  background: #fdfafa;
  border: 1px solid #f0e5e5;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.bd-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  border-bottom: 1px dashed #e8dada;
  padding-bottom: 12px;
}

.bd-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.bd-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  margin-bottom: 4px;
}

.bd-value {
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 700;
  font-family: monospace;
}

.donate-action-footer {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #f0e5e5;
}

.btn-donate-contact {
  display: inline-flex;
  align-items: center;
  background: #7b1c2e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 15px;
}

.btn-donate-contact:hover {
  background: #5a1220;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(123, 28, 46, 0.2);
}

/* ══ HERO ══ */
.stories-hero {
  position: relative;
  background: url('{{ asset("frontend/images/hero-image-2.jpg") }}') center/cover no-repeat;
  padding: 110px 0 70px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.stories-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(90, 18, 32, 0.93) 0%, rgba(40, 8, 16, 0.88) 100%);
}

.stories-hero .container {
  position: relative;
  z-index: 1;
}

.stories-hero .hero-tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  padding: 5px 20px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.stories-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.stories-hero p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ══ INTRO ══ */
.ss-intro {
  background: #fdf7f5;
  padding: 60px 0 50px;
  text-align: center;
}

.ss-intro-inner {
  max-width: 740px;
  margin: 0 auto;
}

.ss-intro h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.ss-intro p {
  color: #555;
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 10px;
}

.ss-intro .consent-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #999;
  font-style: italic;
}

/* ══ CATEGORY TABS ══ */
.ss-tabs-wrap {
  background: #fff;
  padding: 36px 0 0;
  border-bottom: 2px solid #f5eded;
}

.ss-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ss-tab {
  background: transparent;
  border: 1.5px solid #ddd;
  border-radius: 40px;
  padding: 9px 26px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.22s;
  letter-spacing: 0.3px;
  outline: none;
}

.ss-tab:hover {
  border-color: #7b1c2e;
  color: #7b1c2e;
}

.ss-tab.active {
  background: #7b1c2e;
  border-color: #7b1c2e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 28, 46, 0.22);
}

/* ══ MAIN SECTION ══ */
.ss-main {
  padding: 50px 0 80px;
  background: #fff;
}

/* Category group */
.ss-group {
  display: none;
}

.ss-group.active {
  display: block;
}

/* ══ STORY CARD ══ */
.story-grid-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f0e8e8;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.story-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(123, 28, 46, 0.12);
}

.story-grid-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top;
}

.story-img-placeholder {
  width: 100%;
  height: 230px;
  background: linear-gradient(135deg, #f8f0f2, #f0e4e8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-grid-body {
  padding: 22px 22px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.badge-category {
  display: inline-block;
  background: #f5e8ea;
  color: #7b1c2e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.story-grid-body h5 {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.45;
}

.story-grid-body p {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 0;
}

.story-card-footer {
  padding: 14px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.story-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-avatar {
  border-radius: 50%;
  background: #7b1c2e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.story-name span {
  font-weight: 700;
  color: #333;
  font-size: 0.87rem;
}

.btn-read-more {
  background: transparent;
  border: 1.5px solid #7b1c2e;
  color: #7b1c2e;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-read-more:hover {
  background: #7b1c2e;
  color: #fff;
}

/* Empty state */
.no-stories {
  text-align: center;
  padding: 70px 0;
  color: #999;
}

.no-stories i {
  font-size: 3rem;
  opacity: 0.22;
  display: block;
  margin-bottom: 16px;
}

/* ══ MODAL ══ */
.modal-story-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  object-position: top;
}

.quote-icon-modal {
  font-size: 2.2rem;
  color: #7b1c2e;
  opacity: 0.22;
  margin-bottom: 6px;
}

.modal-story-title {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1rem;
  margin-bottom: 12px;
}

.custom-pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-pagination li {
  display: inline-block;
}

.custom-pagination li a,
.custom-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid #e5d6d9;
  color: #7b1c2e;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s;
}

.custom-pagination li a:hover {
  background: #7b1c2e;
  color: #fff;
  border-color: #7b1c2e;
  box-shadow: 0 6px 18px rgba(123, 28, 46, 0.25);
}

.custom-pagination li.active span {
  background: #7b1c2e;
  color: #fff;
  border-color: #7b1c2e;
  box-shadow: 0 6px 18px rgba(123, 28, 46, 0.25);
}

.custom-pagination li.disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}


@media (max-width: 576px) {
  .ss-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

.media-hero {
  background: linear-gradient(135deg, rgba(120, 30, 50, 0.85) 0%, rgba(60, 10, 20, 0.85) 100%);
  padding: 100px 0 60px;
  color: #fff;
  text-align: center;
}

.media-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* News Card */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

.news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}

.news-card-image-placeholder {
  width: 100%;
  height: 220px;
  background: #f8f0f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.8rem;
  color: #7b1c2e;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-card-body h5 {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.news-card-body p {
  color: #6c757d;
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
}

.news-card-footer {
  padding: 0 22px 22px;
}

.btn-read-news {
  background: #7b1c2e;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-read-news:hover {
  background: #5a1220;
  color: #fff;
}

/* Modal */
.modal-news-image {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.modal-news-date {
  color: #7b1c2e;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.no-news {
  text-align: center;
  padding: 80px 0;
  color: #6c757d;
}

.no-news i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.pagination .page-link {
  color: #7b1c2e;
  border-radius: 8px;
  margin: 0 4px;
}

.pagination .active .page-link {
  background-color: #7b1c2e;
  border-color: #7b1c2e;
  color: #fff;
}

.blog-hero {
  background: linear-gradient(135deg, var(--main-dark) 0%, #622534 100%);
  padding: 80px 0 60px;
  color: #fff;
  text-align: center;
}

.blog-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-hero p {
  opacity: .8;
  font-size: 1rem;
}

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  transition: transform .5s;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--main-color);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.blog-card-body {
  padding: 22px 20px 24px;
}

.blog-date {
  font-size: .82rem;
  color: var(--muted-text);
  margin-bottom: 10px;
}

.blog-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--main-dark);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  font-size: .88rem;
  color: var(--muted-text);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  display: inline-block;
  border: 1.5px solid var(--main-color);
  color: var(--main-color);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
}

.btn-read-more:hover {
  background: var(--main-color);
  color: #fff;
}

.blog-detail-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.blog-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 12, 22, .85) 0%, rgba(43, 12, 22, .2) 100%);
}

.blog-detail-hero .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 0 36px;
  width: 60%;
}

.blog-detail-hero .back-link {
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  transition: color .2s;
}

.blog-detail-hero .back-link:hover {
  color: #fff;
}

.blog-detail-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
}

.blog-meta-bar {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 40px;
}

.blog-category-pill {
  background: var(--main-color);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
}

.blog-prose {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted-text);
}

.blog-prose h2,
.blog-prose h3 {
  color: var(--main-dark);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-prose p {
  margin-bottom: 18px;
}

.blog-prose img {
  border-radius: 14px;
  max-width: 100%;
  margin: 16px 0;
}

.sidebar-recent-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.sidebar-recent-card h6 {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--secondary-color);
  text-decoration: none;
}

.recent-post-item:last-child {
  border-bottom: none;
}

.recent-post-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.recent-post-item .rp-info .rp-cat {
  font-size: .72rem;
  font-weight: 700;
  background: var(--main-color);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 4px;
}

.recent-post-item .rp-info p {
  font-size: .83rem;
  font-weight: 600;
  color: var(--main-dark);
  margin: 0;
  line-height: 1.4;
}

.recent-post-item:hover .rp-info p {
  color: var(--main-color);
}

@media(max-width:767px) {
  .blog-detail-hero .hero-text {
    width: 100%;
  }
}

/* ══ WHAT WE DO CARDS ══ */
.what-we-do-card {
  transform: translateY(0);
}

.what-we-do-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom-color: #7b1c2e !important;
}

.what-we-do-card:hover .icon-wrap {
  background: #7b1c2e !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.founder-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.team-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
}

.team-card-body {
  padding-top: 10px;
}

@media (max-width: 991px) {
  .sidebar-cta-card {
    position: static;
  }
}