/* ============================================================
   Halal Biniyog - main.css
   Extracted from halalbiniyog.xyz
   ============================================================ */

/* ---- Fonts ---- */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Barlow", sans-serif;
  --nav-font: "Inter", sans-serif;
}

/* ---- Color Variables ---- */
:root {
  --background-color: #ffffff;
  --default-color: #14201c;
  --heading-color: #0a3223;
  --accent-color: #12a16b;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* ---- Nav Variables ---- */
:root {
  --nav-color: #ffffff;
  --nav-hover-color: #12a16b;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #14201c;
  --nav-dropdown-hover-color: #12a16b;
}

:root {
  scroll-behavior: smooth;
}

.light-background {
  --background-color: #f4f9f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000704;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
  scroll-behavior: smooth;
  line-height: 1.8;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.main-content {
  flex: 1;
}

/* ---- Avatar Badge ---- */
.avatar-container {
  position: relative;
  display: inline-block;
}

.admin-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background-color: var(--bs-primary);
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  border: 1px solid white;
}

.admin-badge i {
  margin-left: 0px !important;
}

[data-bs-theme="dark"] .admin-badge {
  border-color: var(--bs-gray-800);
}

/* ---- Code Blocks ---- */
.code-block-container {
  position: relative;
  margin: 1rem 0;
  background-color: #282c34;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.code-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #21252b;
  color: #abb2bf;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  position: sticky;
  top: 80px;
  z-index: 1;
}

.code-block-header .language {
  text-transform: uppercase;
  font-weight: bold;
}

.code-block-header .copy-btn {
  background: none;
  border: 1px solid #61afef;
  color: #61afef;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease-in-out;
}

.code-block-header .copy-btn:hover {
  background-color: #61afef;
  color: #282c34;
}

.code-block-header .copy-btn.copied {
  background-color: #98c379;
  color: #282c34;
  border-color: #98c379;
}

.code-block-container pre {
  margin: 0;
  padding: 1rem;
  background-color: transparent;
  color: #abb2bf;
}

.code-block-container pre code {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  line-height: 1.5;
  background: none;
  padding: 0;
}

/* ---- PHP Email Form Messages ---- */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .section-title { padding-bottom: 36px; }
  .section-title h2 { font-size: 24px; padding-bottom: 14px; margin-bottom: 14px; }
  .section-title p { font-size: 13px; line-height: 1.6; }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --heading-color: #ffffff;
  --surface-color: rgba(255, 255, 255, 0.085);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--background-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {
  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
  background: rgba(7, 12, 16, 0.7) !important;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 80px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

.scrolled .header {
  --background-color: rgba(7, 12, 16, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 14px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  .navmenu .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    background: var(--nav-dropdown-background-color);
    color: var(--nav-dropdown-color);
  }

  .dropdown-item:focus,
  .dropdown-item:hover {
    background: var(--nav-dropdown-background-color) !important;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 60px 0;
}

.hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .hero-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 25%) 0%, color-mix(in srgb, var(--background-color), transparent 10%) 500%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
}

.hero .hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 500px;
}

.hero .hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Shared sizing/box model so both hero CTAs match exactly */
.hero .hero-actions .btn-primary,
.hero .hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero .hero-actions .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero .hero-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--contrast-color);
}

.hero .hero-actions .btn-primary.btn-hero-invest {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.45);
  font-weight: 700;
}

.hero .hero-actions .btn-primary.btn-hero-invest i {
  font-size: 1.15rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.hero .hero-actions .btn-primary.btn-hero-invest:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.55);
}

.hero .hero-actions .btn-primary.btn-hero-invest:hover i {
  transform: scale(1.15);
}

.hero .hero-actions .btn-secondary {
  color: #16a34a;
  background: #ffffff;
  border-color: #16a34a;
}

.hero .hero-actions .btn-secondary i {
  font-size: 18px;
  color: currentColor;
  transition: transform 0.3s ease;
}

.hero .hero-actions .btn-secondary:hover {
  color: #ffffff;
  background: #16a34a;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.hero .hero-actions .btn-secondary:hover i {
  transform: scale(1.12);
}

.hero .hero-actions .btn-primary:focus-visible,
.hero .hero-actions .btn-secondary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  outline-offset: 3px;
}

.hero .hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero .hero-stats .stat-item {
  text-align: left;
}

.hero .hero-stats .stat-item .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero .hero-visual {
  position: relative;
}

.hero .feature-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  height: calc(50% - 10px);
}

.hero .feature-card:hover {
  transform: translateY(-5px);
}

.hero .feature-card i {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.hero .feature-card span {
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .feature-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .hero .hero-visual {
    margin-top: 60px;
  }
  .hero .feature-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 18px; }
  .hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero .hero-stats { gap: 24px; }
  .hero .feature-card { padding: 16px; }
  .hero .feature-card i { font-size: 24px; }
  .hero .feature-card span { font-size: 12px; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 36px; }
  .hero .hero-visual { margin-top: 40px; }
  .hero .feature-card { padding: 12px; margin-bottom: 12px; }
  .hero .feature-card i { font-size: 20px; margin-bottom: 8px; }
  .hero .feature-card span { font-size: 11px; }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-top: 0px;
  padding-bottom: 20px;
}

.clients .clients-slider {
  overflow: hidden;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients .swiper-wrapper {
  height: auto !important;
  align-items: stretch;
  transition-timing-function: linear;
}

.clients .swiper-slide {
  height: auto;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients .swiper-slide:last-child {
  border-right: none;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  height: 100%;
}

.clients .client-logo img {
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio.section {
  padding: 60px 0;
}

.portfolio-filters {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-filters li {
  cursor: pointer;
  padding: 8px 20px;
  background: #f1f5f9;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  transition: all 0.3s ease;
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
  background: var(--accent-color, #0d6efd);
  color: #ffffff;
}

.project-card-item {
  background: var(--surface-color, #ffffff);
  border: 1px solid color-mix(in srgb, var(--default-color, #000), transparent 90%);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.project-card-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 75%);
}

.project-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card-item:hover .project-visual img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-visual:hover .project-overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  gap: 12px;
}

.overlay-content a {
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.overlay-content a:hover {
  transform: scale(1.1);
  background: var(--accent-color, #0d6efd);
  color: #ffffff;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.project-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color, #0d6efd);
  letter-spacing: 0.5px;
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.status-running {
  background: #dcfce7;
  color: #15803d;
}

.status-completed {
  background: #e2e8f0;
  color: #475569;
}

.project-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color, #1a1a1a);
  margin-bottom: 14px;
  line-height: 1.3;
}

.project-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-item i {
  font-size: 22px;
  color: var(--accent-color, #0d6efd);
}

.hl-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.hl-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.project-description {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-info {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  flex: 0 0 100%;
}

.project-scope {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 0 0 100%;
}

.scope-item {
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.project-know-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  padding: 5px 16px;
  background: linear-gradient(135deg, #16a34a 0%, #12823b 100%);
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-know-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
  color: #ffffff;
}

.project-invest-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  padding: 5px 16px;
  background: #ffffff;
  color: #16a34a;
  border: 2px solid #16a34a;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-invest-now i {
  font-size: 15px;
  transition: transform 0.3s ease;
}

.project-invest-now:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.project-invest-now:hover i {
  transform: scale(1.12);
}

.project-invest-now:focus-visible {
  outline: 3px solid color-mix(in srgb, #16a34a, transparent 40%);
  outline-offset: 2px;
}

.project-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  padding: 5px 16px;
  background: #f0fdf4;
  color: #0a3223;
  border: 2px solid #d1fae5;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.project-detail:hover {
  background: #dcfce7;
  color: #0a3223;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.18);
}

.g-recaptcha { display: inline-block; }
@media (max-width: 340px) {
  .g-recaptcha { transform: scale(0.85); transform-origin: center center; }
}

@media (max-width: 767.98px) {
  .project-detail, .project-know-more, .project-invest-now {
    flex: 1 1 100%;
  }
}

.portfolio-conclusion {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--accent-color, #0d6efd), color-mix(in srgb, var(--accent-color, #0d6efd), #000 25%));
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  text-align: center;
}

.conclusion-content h4 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.conclusion-content p {
  font-size: 15px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

.conclusion-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.conclusion-actions .primary-action {
  background: #ffffff;
  color: var(--accent-color, #0d6efd);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.conclusion-actions .primary-action:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.conclusion-actions .secondary-action {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.conclusion-actions .secondary-action:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .project-card-item { padding: 18px; }
  .project-title { font-size: 18px; }
  .portfolio-conclusion { padding: 25px; }
}
@media (max-width: 576px) {
  .portfolio-conclusion { padding: 18px 14px; border-radius: 14px; }
  .portfolio-conclusion h4 { font-size: 16px; }
  .portfolio-conclusion p { font-size: 12.5px; margin-bottom: 16px; }
  .conclusion-actions { flex-direction: column; width: 100%; gap: 10px; }
  .conclusion-actions .primary-action,
  .conclusion-actions .secondary-action { width: 100%; justify-content: center; padding: 10px 14px; font-size: 13px; }
}

/*--------------------------------------------------------------
# Process Section
--------------------------------------------------------------*/
.hw-process {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.hw-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Card ── */
.hw-card {
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

/* ── Card top band ── */
.hw-card-top {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.hw-card--highlight .hw-card-top {
  background: var(--accent-color);
}

/* Step number */
.hw-card-num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
  letter-spacing: -2px;
}

.hw-card--highlight .hw-card-num {
  color: rgba(255,255,255,0.25);
}

/* Icon */
.hw-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-color);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hw-card:hover .hw-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.hw-card--highlight .hw-card-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ── Card body ── */
.hw-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hw-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hw-card--highlight .hw-card-body h3 {
  color: var(--heading-color);
}

.hw-card-body p {
  font-size: 0.855rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

/* ── Tag pills ── */
.hw-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hw-card-tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ── Profit split bar (Step 4) ── */
.hw-profit-bar {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
  margin-top: auto;
}

.hw-bar-biz,
.hw-bar-inv {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  flex: 1;
}

.hw-bar-biz {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
}

.hw-bar-inv {
  background: var(--accent-color);
}

.hw-bar-pct {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-color);
}

.hw-bar-inv .hw-bar-pct {
  color: #fff;
}

.hw-bar-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.hw-bar-inv .hw-bar-lbl {
  color: rgba(255,255,255,0.85);
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .hw-cards-grid { gap: 18px; }
}

@media (max-width: 991px) {
  .hw-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hw-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hw-card { border-radius: 14px; }
  .hw-card-body h3 { font-size: 15px; }
  .hw-card-body p { font-size: 12.5px; }
}



/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(170deg, var(--background-color) 0%, color-mix(in srgb, var(--background-color), var(--accent-color) 5%) 100%);
}

.call-to-action .cta-wrapper {
  position: relative;
  border-radius: 20px;
  background-color: var(--surface-color);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--accent-color), transparent 92%);
  overflow: hidden;
}

.call-to-action .cta-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.call-to-action .cta-shapes .shape {
  position: absolute;
  border-radius: 50%;
}

.call-to-action .cta-shapes .shape.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  top: -150px;
  right: -100px;
}

.call-to-action .cta-shapes .shape.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, color-mix(in srgb, var(--heading-color), transparent 85%) 0%, color-mix(in srgb, var(--heading-color), transparent 95%) 100%);
  bottom: -100px;
  left: 20%;
}

.call-to-action .cta-shapes .shape.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), transparent 92%) 0%, color-mix(in srgb, var(--heading-color), transparent 92%) 100%);
  top: 30%;
  left: -75px;
}

.call-to-action .cta-content {
  position: relative;
  z-index: 2;
}

.call-to-action .cta-content .badge-custom {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.call-to-action .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
}

.call-to-action .cta-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.05rem;
  line-height: 1.6;
}

.call-to-action .benefits-row {
  margin-top: 2rem;
}

.call-to-action .benefits-row .benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.call-to-action .benefits-row .benefit-item .icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 20%) 100%);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-right: 1rem;
  font-size: 1.25rem;
}

.call-to-action .benefits-row .benefit-item .benefit-content h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--heading-color);
}

.call-to-action .benefits-row .benefit-item .benefit-content p {
  margin: 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.5;
}

.call-to-action .action-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.call-to-action .action-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: none;
}

.call-to-action .action-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.call-to-action .action-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.call-to-action .action-buttons .btn.btn-outline {
  background-color: transparent;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  color: var(--accent-color);
}

.call-to-action .action-buttons .btn.btn-outline:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateY(-3px);
}

.call-to-action .action-buttons .guarantee-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  color: var(--heading-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.call-to-action .action-buttons .guarantee-badge i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.call-to-action .cta-image-container {
  position: relative;
  height: 100%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 2;
}

.call-to-action .cta-image-container .main-image {
  position: relative;
  z-index: 2;
  max-height: 400px;
  object-fit: contain;
}

.call-to-action .cta-image-container .floating-element {
  position: absolute;
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.call-to-action .cta-image-container .floating-element i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.call-to-action .cta-image-container .floating-element span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading-color);
}

.call-to-action .cta-image-container .floating-element.element-1 {
  top: 20%;
  left: 0;
  animation: float1 4s ease-in-out infinite;
}

.call-to-action .cta-image-container .floating-element.element-2 {
  bottom: 25%;
  right: 0;
  animation: float2 5s ease-in-out infinite;
}

.call-to-action .cta-image-container .pattern-dots {
  position: absolute;
  width: 170px;
  height: 170px;
  background-image: radial-gradient(color-mix(in srgb, var(--accent-color), transparent 40%) 2px, transparent 2px);
  background-size: 15px 15px;
  bottom: 10%;
  left: 10%;
  z-index: 1;
  border-radius: 20px;
  opacity: 0.6;
}

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

@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@media (max-width: 991.98px) {
  .call-to-action { padding: 70px 0; }
  .call-to-action .row { flex-direction: column-reverse; }
  .call-to-action .cta-image-container { padding: 2rem; min-height: 350px; }
  .call-to-action .cta-image-container .floating-element.element-1 { top: 15%; left: 10%; }
  .call-to-action .cta-image-container .floating-element.element-2 { bottom: 15%; right: 10%; }
  .call-to-action .cta-content { padding: 2rem !important; }
  .call-to-action .cta-content h2 { font-size: 2rem; }
  .call-to-action .action-buttons { flex-direction: column; align-items: flex-start; }
  .call-to-action .action-buttons .btn { width: 100%; }
  .call-to-action .action-buttons .guarantee-badge { margin-left: 0; margin-top: 1rem; }
}

@media (max-width: 576px) {
  .call-to-action { padding: 50px 0; }
  .call-to-action .cta-content { padding: 1.5rem !important; }
  .call-to-action .cta-content h2 { font-size: 1.75rem; }
  .call-to-action .benefits-row .col-md-6 { margin-bottom: 1rem; }
  .call-to-action .cta-image-container { min-height: 300px; }
  .call-to-action .cta-image-container .floating-element { padding: 0.5rem 0.75rem; }
  .call-to-action .cta-image-container .floating-element span { font-size: 0.8rem; }
  .call-to-action .shape { transform: scale(0.7); }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid color-mix(in srgb, var(--default-color), transparent 97%);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .swiper-wrapper {
  height: auto !important;
}

.team .team-slider {
  position: relative;
  padding: 20px 0 60px;
}

.team .team-slider .swiper-pagination {
  bottom: 0;
}

.team .team-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 1;
  margin: 0 5px;
  transition: 0.3s;
}

.team .team-slider .swiper-pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background-color: var(--accent-color);
}

.team .team-slider .swiper-button-prev,
.team .team-slider .swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  color: var(--contrast-color);
  transition: 0.3s;
}

.team .team-slider .swiper-button-prev:after,
.team .team-slider .swiper-button-next:after {
  font-size: 16px;
}

.team .team-slider .swiper-button-prev:hover,
.team .team-slider .swiper-button-next:hover {
  background-color: var(--accent-color);
}

.team .team-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  background-color: var(--surface-color);
  height: 100%;
}

.team .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team .team-card:hover .team-overlay {
  opacity: 1;
  visibility: visible;
}

.team .team-card:hover .team-image img {
  transform: scale(1.08);
}

.team .team-image {
  position: relative;
  overflow: hidden;
}

.team .team-image img {
  transition: transform 0.6s ease;
}

.team .team-image .team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.team .team-image .social-links {
  display: flex;
  gap: 15px;
}

.team .team-image .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 16px;
  transition: 0.3s;
}

.team .team-image .social-links a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-5px);
}

.team .team-content {
  padding: 20px;
  text-align: center;
}

.team .team-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team .team-content span {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.team .team-content p {
  font-size: 14px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

@media (max-width: 991px) {
  .team .team-card { margin-bottom: 20px; }
}
@media (max-width: 576px) {
  .faq .faq-container .faq-item { padding: 14px 0; }
  .faq .faq-container .faq-item h3 { font-size: 14px; line-height: 20px; }
  .faq .faq-container .faq-item .faq-content p { font-size: 13px; line-height: 1.6; }
  .faq .faq-container .faq-item .faq-toggle { font-size: 20px; top: 14px; }
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* ============================================================
   Contact section - card styles aligned with the project/theme UI
   ============================================================ */
.contact .info-item,
.contact .php-email-form {
  height: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.16);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact .info-item {
  padding: 32px 24px;
  text-align: center;
}

.contact .info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 14px 34px rgba(22, 163, 74, 0.12);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--g700, #15803d);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(34, 197, 94, 0.08));
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}

.contact .info-item:hover i {
  background: linear-gradient(135deg, var(--g600, #16a34a), var(--g700, #15803d));
  color: #ffffff;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--g950, #0a3223);
  margin: 18px 0 8px;
}

.contact .info-item p {
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted, #4b5563);
}

.contact .info-item p a {
  color: var(--g700, #15803d);
  text-decoration: none;
}

.contact .info-item p a:hover {
  color: var(--g600, #16a34a);
  text-decoration: underline;
}

.contact .php-email-form {
  padding: 30px;
}

/* Map fills the same height as the contact form card (incl. reCAPTCHA). */
.contact .contact-map {
  display: flex;
  border: 1px solid rgba(22, 163, 74, 0.16);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact .contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 575px) {
  .contact .info-item { padding: 16px 10px; border-radius: 12px; }
  .contact .info-item i { width: 44px; height: 44px; font-size: 17px; margin-bottom: 8px; }
  .contact .info-item h3 { font-size: 14px; margin: 10px 0 4px; }
  .contact .info-item p { font-size: 12.5px; }
  .contact .php-email-form { padding: 14px; border-radius: 12px; }
  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form textarea { padding: 9px 10px; font-size: 13px; }
  .contact .contact-map { border-radius: 12px; min-height: 220px; }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 12px 16px;
  box-shadow: none;
  border-radius: var(--radius-md, 12px);
  color: var(--g950, #0a3223);
  background-color: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.18);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--g500, #22c55e);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
  outline: none;
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--muted, #4b5563);
}

.contact .php-email-form button[type=submit] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--g600, #16a34a), var(--g700, #15803d));
  border: 0;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.28);
  transition: all 0.28s ease;
}

.contact .php-email-form button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.38);
  filter: brightness(1.04);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 4px;
  height: 40px;
  background-color: var(--accent-color);
  margin: 0 4px;
}

#preloader div:nth-child(1) { animation: animate-preloader 1s ease-in-out -0.45s infinite; }
#preloader div:nth-child(2) { animation: animate-preloader 1s ease-in-out -0.3s infinite; }
#preloader div:nth-child(3) { animation: animate-preloader 1s ease-in-out -0.15s infinite; }
#preloader div:nth-child(4) { animation: animate-preloader 1s infinite; }

@keyframes animate-preloader {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
  transition: background-color 0.3s ease;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/* ---- Template Thumbnail Lazy Loading ---- */
.template-thumbnail.lazy-load {
  background-color: #e0e0e0;
  display: block;
  width: 100%;
  height: auto;
  min-height: 100px;
  object-fit: cover;
  transition: background-color 0.3s ease;
}

.template-thumbnail.lazy-load.loading {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.template-thumbnail.lazy-load.error {
  background-color: #ffcccc;
  color: #cc0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
}


/* ====================================================
   About Us Page Styles
   ==================================================== */

:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Barlow",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #14201c; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0a3223; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #12a16b; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #12a16b; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #14201c; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #12a16b; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

.dark-background {
  --background-color: #000704;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

100% {
    transform: rotate(360deg);
  }
}

.section-title p {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --heading-color: #ffffff;
  --surface-color: rgba(255, 255, 255, 0.085);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
  background: rgba(7, 12, 16, 0.7)!important;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(7, 12, 16, 0.8);
}

.navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

/* Megamenu 2 - Desktop */
@media (min-width: 1200px) {
  .navmenu .megamenu-2 {
    position: static;
    /* Hide Mobile Megamenu in Desktop */
    /* Tab Navigation */
    /* Tab Content */
  }

.navmenu .megamenu-2 .mobile-megamenu {
    display: none;
  }

.navmenu .megamenu-2 .desktop-megamenu {
    background-color: var(--nav-dropdown-background-color);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    z-index: 99;
    padding: 0;
    display: flex;
    max-height: 80vh;
    overflow: hidden;
  }

.navmenu .megamenu-2:hover>.desktop-megamenu {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

.navmenu .megamenu-2 .tab-navigation {
    width: 250px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 25px 0;
    flex-shrink: 0;
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs {
    border: none;
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item {
    width: 100%;
    padding-left: 10px;
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    border: none;
    width: 100%;
    background: transparent;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    border-radius: 0;
    color: var(--nav-dropdown-color);
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    padding-left: 30px;
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link.active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    border-left-color: var(--accent-color);
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link.active i {
    color: var(--accent-color);
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link.active span {
    color: var(--accent-color);
    font-weight: 600;
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link i {
    font-size: 20px;
    transition: 0.3s;
    flex-shrink: 0;
  }

.navmenu .megamenu-2 .tab-navigation .nav-tabs .nav-item .nav-link span {
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
  }

.navmenu .megamenu-2 .tab-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    /* Content Grid Layout */
    /* Featured Banner */
    /* Resources Layout */
  }

.navmenu .megamenu-2 .tab-content .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section h4 {
    color: var(--default-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    color: var(--nav-dropdown-color);
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    transform: translateX(8px);
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link i {
    color: color-mix(in srgb, var(--nav-dropdown-color), transparent 20%);
    font-size: 18px;
    transition: all 0.3s;
    min-width: 18px;
    flex-shrink: 0;
    margin-top: 1px;
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link div {
    flex: 1;
    min-width: 0;
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link div span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    line-height: 1.3;
  }

.navmenu .megamenu-2 .tab-content .content-grid .product-section .product-list .product-link div small {
    color: color-mix(in srgb, var(--nav-dropdown-color), transparent 40%);
    font-size: 12px;
    line-height: 1.3;
    display: block;
  }

.navmenu .megamenu-2 .tab-content .featured-banner {
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info {
    flex: 1;
    min-width: 0;
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info h5 {
    color: var(--default-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info p {
    color: var(--nav-dropdown-color);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info .cta-btn {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info .cta-btn:hover {
    color: color-mix(in srgb, var(--accent-color), black 15%);
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info .cta-btn:hover i {
    transform: translateX(4px);
  }

.navmenu .megamenu-2 .tab-content .featured-banner .banner-content .banner-info .cta-btn i {
    transition: 0.3s;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category {
    background-color: var(--surface-color);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    transition: all 0.3s;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: var(--accent-color);
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category i {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category h5 {
    color: var(--default-color);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category p {
    color: var(--nav-dropdown-color);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category .resource-link {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category .resource-link i {
    margin: 0;
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category .resource-link:hover {
    color: color-mix(in srgb, var(--accent-color), black 15%);
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category .resource-link:hover i {
    transform: translateX(3px);
  }

.navmenu .megamenu-2 .tab-content .resources-layout .resource-categories .resource-category .resource-link i {
    transition: 0.3s;
  }
}

/* Megamenu 2 - Mobile */
@media (max-width: 1199px) {
  .navmenu .megamenu-2 {
    /* Hide Desktop Megamenu in Mobile */
  }

.navmenu .megamenu-2 .desktop-megamenu {
    display: none;
  }

.navmenu .megamenu-2 .mobile-megamenu {
    position: static;
    display: none;
    z-index: 99;
    padding: 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    border-radius: 6px;
    overflow: hidden;
  }

.navmenu .megamenu-2 .mobile-megamenu li {
    position: relative;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

.navmenu .megamenu-2 .mobile-megamenu li:last-child {
    border-bottom: none;
  }

.navmenu .megamenu-2 .mobile-megamenu li a {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--nav-dropdown-color);
    font-size: 15px;
    transition: 0.3s;
    font-weight: 500;
  }

.navmenu .megamenu-2 .mobile-megamenu li a:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  }

.navmenu .megamenu-2 .mobile-megamenu li ul {
    padding: 0;
    background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  }

.navmenu .megamenu-2 .mobile-megamenu li ul li a {
    padding-left: 35px;
    font-size: 14px;
    font-weight: 400;
  }

.navmenu .megamenu-2 .mobile-megamenu.dropdown-active {
    display: block;
  }
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
/* Container & Layout Spacing */
.header .branding {
  background: rgba(7, 12, 16, 0.7)!important;
}

.about-us-section {
  padding: 60px 0;
}

.about-us-section .service-hero {
  position: relative;
  margin-bottom: 35px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-us-section .service-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.about-us-section .service-hero .service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color, #0d6efd);
  color: var(--contrast-color, #ffffff);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Header & Intro */
.about-us-section .service-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--heading-color, #1a1a1a);
  line-height: 1.25;
}

.about-us-section .service-header .service-intro {
  font-size: 17px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color, #444), transparent 15%);
  margin-bottom: 12px;
}

.about-us-section .service-header .highlight-text {
  font-weight: 600;
  color: var(--accent-color, #0d6efd);
}

/* Mission & Vision Box */
.mission-vision-card {
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 94%);
  border-left: 4px solid var(--accent-color, #0d6efd);
  padding: 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 40px;
}

.mission-vision-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading-color, #1a1a1a);
}

.mission-vision-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Features Cards */
.about-us-section .service-features {
  margin-bottom: 45px;
}

.about-us-section h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--heading-color, #1a1a1a);
}

.about-us-section .feature-item {
  display: flex;
  align-items: flex-start;
  padding: 22px;
  height: 100%;
  background: var(--surface-color, #ffffff);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color, #000), transparent 90%);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-us-section .feature-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 70%);
}

.about-us-section .feature-item .feature-icon {
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 90%);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

.about-us-section .feature-item .feature-icon i {
  font-size: 22px;
  color: var(--accent-color, #0d6efd);
}

.about-us-section .feature-item .feature-content h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-color, #1a1a1a);
}

.about-us-section .feature-item .feature-content p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: color-mix(in srgb, var(--default-color, #000), transparent 30%);
}

/* Timeline Process */
.about-us-section .service-process {
  margin-bottom: 45px;
}

.about-us-section .service-process .process-steps .process-step {
  display: flex;
  margin-bottom: 25px;
  position: relative;
}

.about-us-section .service-process .process-steps .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50px;
  width: 2px;
  height: calc(100% - 20px);
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 75%);
}

.about-us-section .service-process .process-steps .process-step .step-number {
  background: var(--accent-color, #0d6efd);
  color: var(--contrast-color, #ffffff);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 15px;
  z-index: 1;
}

.about-us-section .service-process .process-steps .process-step .step-content h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-color, #1a1a1a);
}

.about-us-section .service-process .process-steps .process-step .step-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: color-mix(in srgb, var(--default-color, #000), transparent 25%);
}

/* Responsibility Callout */
.responsibility-box {
  background: #fdf8f0;
  border: 1px solid #f5e6d0;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.responsibility-box h4 {
  color: #8a5300;
  margin-bottom: 10px;
}

.responsibility-box p {
  margin: 0;
  color: #5c3a02;
  font-size: 15px;
  line-height: 1.6;
}

/* Promise List Styling */
.promise-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.promise-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--heading-color, #1a1a1a);
}

.promise-list li i {
  color: var(--accent-color, #0d6efd);
  font-size: 18px;
  margin-right: 12px;
}

/* Sticky Contact Sidebar */
.about-us-section .service-sidebar {
  position: sticky;
  top: 100px;
}

.about-us-section .service-sidebar .contact-card {
  background: linear-gradient(135deg, var(--accent-color, #0d6efd), color-mix(in srgb, var(--accent-color, #0d6efd), #000 25%));
  padding: 32px 24px;
  border-radius: 16px;
  color: var(--contrast-color, #ffffff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-us-section .service-sidebar .contact-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--contrast-color, #ffffff);
}

.about-us-section .service-sidebar .contact-card p {
  margin-bottom: 24px;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.6;
}

.about-us-section .service-sidebar .contact-card .contact-info {
  margin-bottom: 28px;
}

.about-us-section .service-sidebar .contact-card .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.about-us-section .service-sidebar .contact-card .contact-item i {
  margin-right: 12px;
  font-size: 16px;
  opacity: 0.85;
}

.about-us-section .service-sidebar .contact-card .contact-item span,
.about-us-section .service-sidebar .contact-card .contact-item a {
  font-size: 14px;
  color: var(--contrast-color, #ffffff);
  text-decoration: none;
}

.about-us-section .service-sidebar .contact-card .btn {
  background: var(--contrast-color, #ffffff);
  color: var(--accent-color, #0d6efd);
  border: none;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  text-decoration: none;
}

.about-us-section .service-sidebar .contact-card .btn:hover {
  background: color-mix(in srgb, var(--contrast-color, #ffffff), transparent 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .about-us-section .service-sidebar {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .about-us-section .service-hero img {
    height: 240px;
  }

.about-us-section .service-header h2 {
    font-size: 26px;
  }

.about-us-section .feature-item {
    padding: 16px;
  }
}

/* --- Added/Modified CSS for spacing --- */
.about-us-section {
  padding-top: 30px; /* Adjusted top padding to create more space above the content */
  padding-bottom: 60px; /* Kept existing bottom padding */
}

/* The original .section class might be applying padding. If there's a header, it's likely that the .section class adds padding which is then covered by the header. We're ensuring .about-us-section has sufficient top padding.

If the header element itself has a fixed height and is not being accounted for in the page's overall layout, you might need to adjust the 'top' property of elements that are meant to appear below it.

Since we are targeting the .about-us-section specifically and added top padding, this should push the content down sufficiently. If you still see it under the header, it might indicate an issue with how the header is positioned or its height.
*/

/* If you have a sticky header, you might need to add a margin-top to the first section after the header. Since the section ID is 'page-content', it's likely the first major content section.
   This is a general approach if the header is truly overlapping.
*/
#page-content {
  margin-top: 120px; /* Increased margin-top as a more aggressive measure if padding alone isn't enough, assuming a header is present and sticky */
}

.header .branding {
    min-height: 60px;
    padding: 10px 0;
    background: rgba(7, 12, 16, 0.7) !important;
}

.header .branding {
  background: rgba(7, 12, 16, 0.7) !important;
}
/* ============ /projects page styles ============ */
/* Layout & Container */
.projects-section {
  margin-top: 100px;
  padding: 60px 0;
}

/* Header Section */
.projects-header {
  margin-bottom: 24px;
}

.projects-header .projects-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 90%);
  color: var(--accent-color, #0d6efd);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.projects-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading-color, #1a1a1a);
  margin-bottom: 16px;
}

.projects-header .projects-intro {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color, #444), transparent 15%);
  margin-bottom: 0;
}

/* Filter Controls */
.projects-filter-bar {
  margin-bottom: 30px;
}


.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-item {
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.btn-details {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color, #0d6efd);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.btn-details:hover {
  gap: 8px;
}

/* Sidebar Styling */
.projects-sidebar {
  position: sticky;
  top: 100px;
}

.framework-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 24px;
  border-radius: 16px;
}

.framework-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.framework-card h4 i {
  color: #16a34a;
}

.framework-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.framework-list li {
  font-size: 13px;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}


.framework-list li i {
  color: var(--accent-color, #0d6efd);
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

.framework-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color, #0d6efd);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Sidebar Contact Card */
.projects-sidebar .contact-card {
  background: linear-gradient(135deg, var(--accent-color, #0d6efd), color-mix(in srgb, var(--accent-color, #0d6efd), #000 25%));
  padding: 28px 22px;
  border-radius: 16px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.projects-sidebar .contact-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.projects-sidebar .contact-card p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
}

.projects-sidebar .contact-card .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.projects-sidebar .contact-card .contact-info a {
  color: #ffffff;
  text-decoration: none;
}

.projects-sidebar .contact-card .btn {
  background: #ffffff;
  color: var(--accent-color, #0d6efd);
  border: none;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-top: 16px;
}

.projects-sidebar .contact-card .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Shariah Note Card */
.shariah-note-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
}

.shariah-note-card i {
  font-size: 26px;
  color: #16a34a;
  margin-bottom: 6px;
  display: block;
}

.shariah-note-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 4px;
}

.shariah-note-card p {
  font-size: 12px;
  color: #166534;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .projects-sidebar {
    position: static;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .projects-header h2 {
    font-size: 28px;
  }
}

/* ============ /terms-of-service page styles ============ */
/* Layout & Container */
.terms-section,
.privacy-section {
  padding: 60px 0;
}


/* Header Section */
.terms-header {
  margin-bottom: 40px;
}

.terms-header .terms-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 90%);
  color: var(--accent-color, #0d6efd);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.terms-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading-color, #1a1a1a);
  margin-bottom: 16px;
}

.terms-header .terms-intro {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color, #444), transparent 15%);
  margin-bottom: 12px;
}

.terms-header .last-updated {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Terms Cards / Sections */
.terms-card {
  background: var(--surface-color, #ffffff);
  border: 1px solid color-mix(in srgb, var(--default-color, #000), transparent 90%);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.terms-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-color: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 75%);
}

.terms-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.terms-card-header .terms-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-color, #0d6efd);
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 90%);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.terms-card-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color, #1a1a1a);
  margin: 0;
}

.terms-card-body {
  color: color-mix(in srgb, var(--default-color, #333), transparent 15%);
  font-size: 15px;
  line-height: 1.65;
}

.terms-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #1a1a1a);
  margin-bottom: 10px;
}

.terms-card-body ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.terms-card-body ul li {
  margin-bottom: 8px;
}

.terms-card-body ul li:last-child {
  margin-bottom: 0;
}

/* Alert Box inside terms */
.terms-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8e6;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #854d0e;
  margin-top: 16px;
}

/* Ratio Grid */
.ratio-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.ratio-box {
  background: color-mix(in srgb, var(--accent-color, #0d6efd), transparent 95%);
  border: 1px dashed color-mix(in srgb, var(--accent-color, #0d6efd), transparent 70%);
  padding: 16px;
  border-radius: 8px;
}

.ratio-box .ratio-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-color, #0d6efd);
  display: block;
  margin-bottom: 8px;
}

.ratio-box .ratio-values div {
  font-size: 14px;
  margin-bottom: 4px;
}

/* Legal Box */
.legal-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 18px;
  border-radius: 8px;
}

.legal-box h5 {
  margin-bottom: 6px;
}

.legal-box p {
  margin: 0;
  font-size: 14px;
}

/* Sidebar Styling */
.terms-sidebar {
  position: sticky;
  top: 100px; /* Adjust this value to be slightly below your header */
}

.terms-sidebar .contact-card {
  background: linear-gradient(135deg, var(--accent-color, #0d6efd), color-mix(in srgb, var(--accent-color, #0d6efd), #000 25%));
  padding: 30px 24px;
  border-radius: 16px;
  color: var(--contrast-color, #ffffff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-sidebar .contact-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--contrast-color, #ffffff);
}

.terms-sidebar .contact-card p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.5;
}

.terms-sidebar .contact-card .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.terms-sidebar .contact-card .contact-info a {
  color: var(--contrast-color, #ffffff);
  text-decoration: none;
}

.terms-sidebar .contact-card .btn {
  background: var(--contrast-color, #ffffff);
  color: var(--accent-color, #0d6efd);
  border: none;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-top: 20px;
}

.terms-sidebar .contact-card .btn:hover {
  background: color-mix(in srgb, var(--contrast-color, #ffffff), transparent 10%);
  transform: translateY(-2px);
}

/* Shariah Note Card */
.shariah-note-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.shariah-note-card i {
  font-size: 28px;
  color: #16a34a;
  margin-bottom: 8px;
  display: block;
}

.shariah-note-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 6px;
}

.shariah-note-card p {
  font-size: 13px;
  color: #166534;
  margin: 0;
  line-height: 1.5;
}

.shariah-note-card ul {
  text-align: left;
}

/* Privacy Highlights Card */
.privacy-highlights-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 22px 20px;
  border-radius: 12px;
  text-align: left;
}

.privacy-highlights-card .highlight-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.privacy-highlights-card .highlight-header i {
  font-size: 22px;
  color: var(--accent-color, #0d6efd);
  line-height: 1;
}

.privacy-highlights-card .highlight-header h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #1a1a1a);
  margin: 0;
}

.privacy-highlights-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  text-align: left;
}

.privacy-highlights-card ul li {
  font-size: 13px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color, #444), transparent 15%);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.privacy-highlights-card ul li:last-child {
  margin-bottom: 0;
}

.privacy-highlights-card ul li i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 15px;
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .terms-sidebar {
    position: static;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .terms-card {
    padding: 20px;
  }
  .terms-header h2 {
    font-size: 28px;
  }
}

/* Added margin-top to the main section to push it below the header */
.terms-section,
.privacy-section {
  margin-top: 120px; /* Adjust this value based on your header height */
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Home header: logged-in user menu icon */
.home-user-avatar{font-size:1.2rem;color:#fff;}
.navmenu .dropdown-menu{min-width:230px;font-size:.925rem;}
.navmenu .dropdown-item{padding:.45rem .9rem;}

/* ===========================================================================
   design-ui.css
   Merged from home/assets/css/design-ui.css - appended last so the cascade
   order (main -> design-ui -> clients-marquee) is unchanged.
   =========================================================================== */

/* Modern UI stylesheet extracted from design.html */
/* ============================================================
       DESIGN TOKENS
       ============================================================ */
    :root {
      --g50:  #f0fdf4;
      --g100: #dcfce7;
      --g200: #bbf7d0;
      --g400: #4ade80;
      --g500: #22c55e;
      --g600: #16a34a;
      --g700: #15803d;
      --g800: #166534;
      --g900: #14532d;
      --g950: #0a3223;

      --teal: #0d9488;
      --emerald: #10b981;
      --g300: #86efac;
      --gold: #f59e0b;
      --gold-dark: #b45309;
      --line: rgba(22, 163, 74, 0.14);

      /* Footer background tokens (matching footer_UI.html) */
      --footer-bg-start: #08281b;
      --footer-bg-end:   #04160f;
      --footer-card:     rgba(255, 255, 255, 0.04);
      --footer-border:   rgba(34, 197, 94, 0.16);
      --text-footer:     #e2e8f0;
      --text-footer-muted: #94a3b8;

      --ink: #0f172a;
      --ink-soft: #1e293b;
      --body: #475569;
      --muted: #4b5563;

      --white: #ffffff;
      --offwhite: #f8fafc;
      --surface: #f1f5f9;

      --radius-xl: 24px;
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 60%, #dcfce7 100%);
      color: var(--body);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ============================================================
       AMBIENT BACKGROUND
       ============================================================ */
    .ambient {
      position: fixed; inset: 0; pointer-events: none; z-index: 0;
    }
    .orb1 {
      position: absolute;
      width: 700px; height: 700px;
      top: -200px; right: -150px;
      background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, transparent 70%);
      filter: blur(60px);
    }
    .orb2 {
      position: absolute;
      width: 500px; height: 500px;
      bottom: -100px; left: -80px;
      background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, transparent 70%);
      filter: blur(50px);
    }
    .dot-grid {
      position: absolute; inset: 0;
      background-image: radial-gradient(rgba(22,163,74,0.12) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 40%, transparent 100%);
    }

    /* ============================================================
       TOPBAR
       ============================================================ */
    /* Smooth header slide: only topbar hides, navbar slides up to take its place */
    #header {
      transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }

    body.scrolled #header {
      transform: translateY(calc(-1 * var(--topbar-h, 42px)));
    }

    .v-topbar {
      position: relative; z-index: 100;
      background: rgba(240,253,244,0.9);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(22,163,74,0.15);
      padding: 8px 0;
      font-size: 13px;
      overflow: hidden;
      margin: 0;
    }

    .tbar-chip {
      display: inline-flex; align-items: center; gap: 6px;
      color: var(--ink-soft); text-decoration: none; transition: color 0.2s;
    }
    .tbar-chip i { color: var(--g600); font-size: 13px; }
    .tbar-chip:hover { color: var(--g700); }

    .sb {
      width: 26px; height: 26px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 12px; text-decoration: none; transition: all 0.25s;
      background: rgba(22,163,74,0.1); color: var(--g700);
    }
    .sb:hover { background: var(--g600); color: #fff; transform: translateY(-1px); }

    /* ============================================================
       NAVBAR
       ============================================================ */
    .v-nav {
      position: relative; z-index: 100;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(22,163,74,0.12);
      padding: 14px 0;
    }

    .logo-text {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: 'Sora', sans-serif;
      font-size: 20px;
      font-weight: 800;
      color: var(--g950);
      text-decoration: none;
      transition: opacity 0.2s ease;
    }
    .logo-text:hover {
      opacity: 0.92;
      color: var(--g950);
    }
    .logo-text img {
      width: 36px;
      height: 36px;
      object-fit: contain;
      border-radius: 8px;
    }
    .logo-text em { color: var(--g600); font-style: normal; }

    .nav-link-item {
      font-size: 14px; font-weight: 600;
      color: var(--ink-soft);
      text-decoration: none;
      padding: 6px 14px;
      border-radius: 8px;
      transition: all 0.2s;
    }
    .nav-link-item:hover { color: var(--g700); background: rgba(22,163,74,0.08); }
    .nav-link-item.active { color: var(--g700); }

    .btn-login {
      padding: 8px 20px; border-radius: 10px;
      border: 1.5px solid rgba(22,163,74,0.4);
      color: var(--g800); font-weight: 600; font-size: 14px;
      background: transparent; text-decoration: none;
      transition: all 0.2s;
    }
    .btn-login:hover { border-color: var(--g600); background: rgba(22,163,74,0.06); color: var(--g800); }

    .btn-cta {
      padding: 9px 22px; border-radius: 10px;
      background: linear-gradient(135deg, var(--g600), var(--g700));
      color: #fff; font-weight: 700; font-size: 14px;
      text-decoration: none; border: none;
      box-shadow: 0 4px 16px rgba(22,163,74,0.35);
      transition: all 0.25s;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(22,163,74,0.45); color: #fff; }

    /* ============================================================
       HERO
       ============================================================ */
    .v-hero {
      position: relative; z-index: 5;
      margin-top: 108px;
      padding: 80px 0 100px;
      /* Hero backdrop strength: 1 = photo hidden, 0 = photo at full opacity.
         --hero-wash-text keeps the headline column readable. */
      --hero-wash-text: 0.62;
      --hero-wash-photo: 0.08;
    }

    /* Hero backdrop (same image the previous hero used, kept behind the
       glassmorphic light UI with a soft white scrim so text stays readable) */
    .v-hero .hero-background {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      border-radius: 0;
      pointer-events: none;
    }

    .v-hero .hero-background img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .v-hero .hero-background .overlay {
      position: absolute;
      inset: 0;
      /* Heaviest wash behind the headline column, lighter on the right so the
         photo stays visible under the translucent glass card; fades into the
         page background at the bottom. */
      background:
        linear-gradient(90deg,
          rgba(255, 255, 255, var(--hero-wash-text)) 0%,
          rgba(255, 255, 255, calc(var(--hero-wash-text) - 0.06)) 34%,
          rgba(255, 255, 255, calc(var(--hero-wash-text) - 0.55)) 62%,
          rgba(255, 255, 255, var(--hero-wash-photo)) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(248, 250, 252, 0.5) 100%);
    }

    /* Narrow screens: the text spans the full width, so wash the photo evenly. */
    @media (max-width: 991px) {
      .v-hero {
        --hero-wash-text: 0.8;
        --hero-wash-photo: 0.5;
      }
      .v-hero .hero-background { opacity: 0.9; }
    }

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

    /* Eyebrow badge */
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 5px 14px;
      background: rgba(236, 253, 245, 0.92);
      border: 1px solid rgba(22,163,74,0.25);
      border-radius: 30px;
      font-size: 12.5px; font-weight: 700;
      color: var(--g800);
      letter-spacing: 0.5px; text-transform: uppercase;
      margin-bottom: 28px;
    }
    .hero-eyebrow .dot {
      width: 6px; height: 6px;
      background: var(--g500); border-radius: 50%;
      animation: blink 1.8s infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

    /* Hero title */
    .v-hero-title {
      font-family: 'Sora', sans-serif;
      font-size: 58px; font-weight: 800;
      line-height: 1.1; letter-spacing: -1.5px;
      color: var(--g950);
      margin-bottom: 22px;
    }
    .v-hero-title .grad {
      background: linear-gradient(135deg, var(--g700) 0%, var(--emerald) 60%, #34d399 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .v-hero-lead {
      font-size: 17px; line-height: 1.75; color: var(--body);
      max-width: 490px; margin-bottom: 32px;
    }

    /* Trust pills */
    .trust-pills {
      display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px;
    }
    .trust-pill {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 6px 14px;
      background: #fff;
      border: 1px solid rgba(22,163,74,0.2);
      border-radius: 30px;
      font-size: 13px; font-weight: 600; color: var(--ink-soft);
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .trust-pill i { color: var(--g500); font-size: 14px; }

    /* Hero buttons */
    .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

    .btn-invest {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 16px 34px; border-radius: 14px;
      background: linear-gradient(135deg, var(--g600), var(--g800));
      color: #fff; font-size: 16px; font-weight: 700;
      text-decoration: none;
      box-shadow: 0 8px 28px rgba(22,163,74,0.38);
      transition: all 0.3s cubic-bezier(.4,0,.2,1);
      position: relative; overflow: hidden;
    }
    .btn-invest::after {
      content:''; position:absolute; inset:0;
      background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    }
    .btn-invest:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(22,163,74,0.5); color:#fff; }

    .btn-outline {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 16px 30px; border-radius: 14px;
      background: #fff;
      border: 1.5px solid var(--g400);
      color: var(--g700); font-size: 16px; font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 14px rgba(22,163,74,0.08);
      transition: all 0.25s;
    }
    .btn-outline:hover { background: var(--g600); color: #fff; border-color: var(--g600); transform: translateY(-2px); }

    /* Stats row */
    .stat-row {
      display: flex; gap: 40px; padding-top: 28px;
      border-top: 1px solid rgba(22,163,74,0.15);
    }
    .stat-n {
      font-family: 'Sora', sans-serif;
      font-size: 34px; font-weight: 800;
      background: linear-gradient(135deg, var(--g950), var(--g600));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .stat-l {
      font-size: 12px; font-weight: 700; color: var(--muted);
      text-transform: uppercase; letter-spacing: 0.6px;
    }

    /* ============================================================
       RIGHT PANEL — How It Works Card
       ============================================================ */
    .v-right-panel { position: relative; }

    /* Floating chip */
    .float-chip {
      position: absolute; top: -14px; right: 20px;
      background: rgba(255,255,255,0.82);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(22,163,74,0.25);
      border-radius: 12px; padding: 8px 14px;
      box-shadow: 0 8px 22px rgba(22,163,74,0.14);
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; font-weight: 700; color: var(--g800);
      animation: floaty 3.5s ease-in-out infinite;
      z-index: 20;
    }
    @keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
    .float-chip i { color: var(--g500); font-size: 16px; }

    /* How-It-Works glass card */
    .how-it-works-card {
      background: rgba(255,255,255,0.74);
      backdrop-filter: blur(30px) saturate(1.1);
      border: 1px solid rgba(22,163,74,0.18);
      border-radius: var(--radius-xl);
      padding: 28px;
      box-shadow: 0 24px 50px rgba(22,163,74,0.1), 0 4px 16px rgba(0,0,0,0.04);
      margin-bottom: 18px;
    }

    .hiw-header {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 24px; padding-bottom: 18px;
      border-bottom: 1px solid rgba(22,163,74,0.12);
    }
    .hiw-icon-wrap {
      width: 40px; height: 40px; border-radius: 12px;
      background: linear-gradient(135deg, var(--g500), var(--g700));
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 18px;
      box-shadow: 0 4px 14px rgba(22,163,74,0.3);
      flex-shrink: 0;
    }
    .hiw-title {
      font-family: 'Sora', sans-serif;
      font-size: 16px; font-weight: 700; color: var(--g950);
    }
    .hiw-subtitle { font-size: 12px; color: var(--muted); }

    /* Step list as cards */
    .step-list { 
      display: flex; 
      flex-direction: column; 
      gap: 12px; 
    }
    .step-item {
      display: flex; 
      gap: 16px; 
      align-items: center;
      padding: 14px 16px; 
      position: relative;
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(22, 163, 74, 0.14);
      border-radius: var(--radius-md);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .step-item:hover {
      background: #ffffff;
      border-color: rgba(22, 163, 74, 0.35);
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(22, 163, 74, 0.1);
    }
    .step-num-wrap {
      position: relative; 
      flex-shrink: 0;
      width: 40px; 
      height: 40px;
      border-radius: 12px;
      border: 1.5px solid rgba(22, 163, 74, 0.25);
      background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(34, 197, 94, 0.05));
      display: flex; 
      align-items: center; 
      justify-content: center;
      transition: all 0.25s ease;
    }
    .step-item:hover .step-num-wrap {
      background: linear-gradient(135deg, var(--g600), var(--g700));
      border-color: transparent;
      box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    }
    .step-num {
      font-family: 'Sora', sans-serif;
      font-size: 15px; 
      font-weight: 800; 
      color: var(--g800);
      transition: color 0.25s ease;
    }
    .step-item:hover .step-num {
      color: #ffffff;
    }
    .step-body {
      flex: 1;
    }
    .step-name {
      font-size: 14px; 
      font-weight: 700; 
      color: var(--g950);
      margin-bottom: 2px;
    }
    .step-desc { 
      font-size: 12px; 
      color: var(--body); 
      line-height: 1.45; 
      margin: 0;
    }



    /* ============================================================
       FEATURE CARDS GRID
       ============================================================ */
    .feature-cards-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    }
    .feat-card {
      background: #fff; border: 1px solid rgba(22,163,74,0.18);
      border-radius: var(--radius-lg); padding: 16px 14px;
      display: flex; align-items: center; gap: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
      transition: all 0.25s;
    }
    .feat-card:hover { border-color: var(--g500); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(22,163,74,0.12); }
    .feat-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.2);
      display: flex; align-items: center; justify-content: center;
      color: var(--g700); font-size: 18px; flex-shrink: 0;
      transition: all 0.25s;
    }
    .feat-card:hover .feat-icon { background: var(--g600); color: #fff; }
    .feat-label { font-size: 13px; font-weight: 700; color: var(--g950); line-height: 1.3; }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 991px) {
      .v-hero { margin-top: 92px; padding: 60px 0 80px; }
      .v-hero-title { font-size: 40px; }
    }
    @media (max-width: 576px) {
      .v-hero { margin-top: 86px; padding: 40px 0 60px; }
      .v-hero-title { font-size: 26px; line-height: 1.2; }
      .v-hero-lead { font-size: 14px; }
      .hero-eyebrow { font-size: 11px; padding: 4px 10px; margin-bottom: 16px; }
      .trust-pills { flex-direction: column; align-items: flex-start; gap: 6px; }
      .trust-pill { font-size: 11px; padding: 4px 8px; }
      .hero-btns { flex-direction: column; gap: 8px; margin-bottom: 28px; }
      .btn-invest, .btn-outline { text-align: center; justify-content: center; width: 100%; padding: 12px 14px; font-size: 14px; border-radius: 10px; }
      .btn-outline { display: none !important; }
      .btn-invest::after { display: none; }
      .stat-row { gap: 10px; flex-wrap: nowrap; justify-content: space-between; padding-top: 16px; }
      .stat-col { flex: 1; min-width: 0; }
      .stat-n { font-size: 20px; }
      .stat-l { font-size: 9.5px; letter-spacing: 0.4px; }
      .float-chip { display: none; }
      .how-it-works-card { padding: 16px; border-radius: 14px; margin-bottom: 12px; }
      .hiw-header { margin-bottom: 14px; padding-bottom: 10px; }
      .hiw-icon-wrap { width: 34px; height: 34px; font-size: 15px; }
      .hiw-title { font-size: 13px; }
      .hiw-subtitle { font-size: 10px; }
      .step-list { gap: 7px; }
      .step-item { padding: 8px 10px; gap: 8px; border-radius: 10px; }
      .step-num-wrap { width: 30px; height: 30px; }
      .step-num { font-size: 12px; }
      .step-name { font-size: 12px; }
      .step-desc { font-size: 10.5px; line-height: 1.35; }
      .feature-cards-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
      .feat-card { padding: 8px; border-radius: 9px; gap: 8px; }
      .feat-icon { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
      .feat-label { font-size: 11px; line-height: 1.25; }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Ambient Background Layer */
    .projects-wrapper {
      position: relative;
      background: radial-gradient(circle at 10% 20%, rgba(220, 252, 231, 0.5) 0%, transparent 40%),
                  radial-gradient(circle at 90% 80%, rgba(187, 247, 208, 0.35) 0%, transparent 40%),
                  #f8fafc;
      padding: 90px 0 110px;
    }

    .ambient-grid {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(22, 163, 74, 0.08) 1px, transparent 1px);
      background-size: 32px 32px;
      pointer-events: none;
      z-index: 0;
    }

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

    /* ============================================================
       SECTION HEADER
       ============================================================ */
    /* Projects Section Title + Stats Card */
    .projects-section-title {
      padding-bottom: 34px;
    }

    .projects-stat-row {
      display: flex;
      justify-content: center;
      margin-bottom: 28px;
    }

    .projects-stat-card {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      background: #ffffff;
      padding: 14px 22px;
      border-radius: 16px;
      border: 1px solid rgba(22, 163, 74, 0.2);
      box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    }

    .projects-stat-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      color: var(--muted);
    }

    .projects-stat-value {
      display: block;
      font-family: 'Sora', sans-serif;
      font-size: 20px;
      font-weight: 800;
      color: var(--g800);
      line-height: 1.3;
    }

    .projects-stat-value.is-green {
      color: var(--g600);
    }

    .projects-stat-divider {
      width: 1px;
      align-self: stretch;
      min-height: 32px;
      background: #e2e8f0;
    }

    /* Filter Controls & View Switcher */
    .filter-bar-container {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(22, 163, 74, 0.16);
      border-radius: 16px;
      padding: 8px 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 36px 0 44px;
    }

    .filter-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .filter-tab-btn {
      padding: 9px 18px;
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 600;
      border: none;
      background: transparent;
      color: var(--body);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.22s ease;
    }

    .filter-tab-btn .badge-count {
      padding: 2px 8px;
      border-radius: 20px;
      font-size: 11px;
      background: rgba(100, 116, 139, 0.1);
      color: var(--body);
      font-weight: 700;
      transition: all 0.22s ease;
    }

    .filter-tab-btn:hover {
      color: var(--g800);
      background: rgba(22, 163, 74, 0.08);
    }

    .filter-tab-btn.active {
      background: linear-gradient(135deg, var(--g600), var(--g700));
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(22, 163, 74, 0.32);
    }

    .filter-tab-btn.active .badge-count {
      background: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }

    .filter-search-box {
      position: relative;
      min-width: 240px;
    }

    .filter-search-box input {
      width: 100%;
      padding: 9px 14px 9px 36px;
      border-radius: 10px;
      border: 1px solid rgba(22, 163, 74, 0.2);
      font-size: 13px;
      background: #ffffff;
      outline: none;
      color: var(--ink-soft);
      transition: all 0.2s ease;
    }

    .filter-search-box input:focus {
      border-color: var(--g500);
      box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    }

    .filter-search-box i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      font-size: 14px;
    }

    /* Homepage: the bar holds only the tab list (no search box), so centre it. */
    .projects-wrapper .filter-bar-container {
      justify-content: center;
    }

    @media (max-width: 991px) {
      .projects-wrapper .filter-tabs {
        justify-content: center;
      }
    }

    /* Listing page: the filter bar lives in the narrower listing column, so the layout
       follows that column instead of the viewport. With room, keep the tabs and the
       search box on one row (the tab list wraps internally); when the column gets
       narrow, fall back to the stacked layout the homepage uses at mobile widths. */
    .projects-listing-main {
      container-type: inline-size;
    }

    @container (min-width: 700px) {
      .projects-listing-wrap .filter-bar-container {
        flex-wrap: nowrap;
      }

      .projects-listing-wrap .filter-tabs {
        flex: 1 1 auto;
        min-width: 0;
      }

      .projects-listing-wrap .filter-search-box {
        flex: 0 0 auto;
        width: 200px;
        min-width: 200px;
      }
    }

    @container (max-width: 699px) {
      .projects-listing-wrap .filter-bar-container {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: stretch;
      }

      .projects-listing-wrap .filter-search-box {
        width: 100%;
        min-width: 0;
      }
    }

    /* ============================================================
       PROJECT CARDS (LUCATIVE & MODERN GRID)
       ============================================================ */
    /* Adaptive grid: `auto-fit` collapses empty tracks, so the cards always fill
       the row. Two projects render as two wide cards instead of two cards
       followed by empty columns; three or more sit three per row. */
    .projects-grid {
      display: grid;
      gap: 24px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 768px) {
      .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      }
    }
    @media (min-width: 1200px) {
      .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      }
    }
    .projects-grid > .project-item-col {
      width: auto;
      max-width: none;
      margin: 0;
      padding: 0;
    }
    .project-empty-state {
      grid-column: 1 / -1;
    }

    /* The grid item is the flex parent: it sizes to its content and the card
       fills it, so cards stay equal height per row without the card box ever
       being smaller than its content (which `overflow: hidden` clipped). */
    .project-item-col {
      display: flex;
    }

    .project-card {
      background: #ffffff;
      border: 1px solid rgba(22, 163, 74, 0.16);
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
      transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-width: 0;
      position: relative;
    }

    .project-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 20px 45px rgba(22, 163, 74, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
      border-color: rgba(22, 163, 74, 0.45);
    }

    /* Card Top Media Container */
    .card-media-wrap {
      position: relative;
      height: 220px;
      overflow: hidden;
      background: #e2e8f0;
    }

    .card-media-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .project-card:hover .card-media-wrap img {
      transform: scale(1.07);
    }

    .card-media-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
      pointer-events: none;
    }

    /* Badges on Image */
    .floating-badge-bar {
      position: absolute;
      top: 14px;
      left: 14px;
      right: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 2;
    }

    .badge-category {
      background: rgba(10, 50, 35, 0.85);
      backdrop-filter: blur(8px);
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .badge-status {
      font-size: 11.5px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 30px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      backdrop-filter: blur(8px);
    }

    .badge-status.ongoing {
      background: rgba(34, 197, 94, 0.9);
      color: #ffffff;
      box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
    }

    .badge-status.completed {
      background: rgba(15, 23, 42, 0.85);
      color: #cbd5e1;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .badge-shariah-tick {
      position: absolute;
      bottom: 14px;
      right: 14px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(6px);
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 700;
      color: var(--g800);
      display: inline-flex;
      align-items: center;
      gap: 5px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      z-index: 2;
    }

    .badge-shariah-tick i {
      color: var(--g600);
      font-size: 13px;
    }

    /* Card Content Body */
    .card-body-wrap {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      min-width: 0;
    }

    /* Never let the column flexbox compress a content block away - a collapsed
       block silently hides the specs, funding bar and action buttons. */
    .card-body-wrap > * {
      flex-shrink: 0;
    }

    .client-enterprise-tag {
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
      align-self: flex-start;
    }

    .client-enterprise-tag i {
      color: var(--g600);
    }

    .project-card-title {
      font-family: 'Sora', sans-serif;
      font-size: 19px;
      font-weight: 700;
      color: var(--g950);
      line-height: 1.35;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 52px;
      transition: color 0.2s ease;
    }

    .project-card:hover .project-card-title {
      color: var(--g700);
    }

    .project-card-summary {
      font-size: 13.5px;
      line-height: 1.6;
      color: var(--body);
      margin-bottom: 20px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Project Scope Badges */
    /* Scoped + `flex: 0 0 auto` on purpose: main.css sets `.project-scope
       { flex: 0 0 100% }` for the legacy portfolio card (a row-wrap flex
       container). Inside this column flex container `100%` resolved against the
       card height and pushed the specs/funding/actions out of view. */
    .card-body-wrap .project-scope {
      display: flex;
      flex: 0 0 auto;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-bottom: 16px;
    }

    .scope-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11.5px;
      font-weight: 600;
      color: var(--ink-soft);
      background: #f1f5f9;
      border: 1px solid rgba(226, 232, 240, 0.9);
      padding: 4px 10px;
      border-radius: 6px;
      line-height: 1.3;
      transition: all 0.2s ease;
    }

    .scope-item i {
      font-size: 11px;
      color: var(--g600);
    }

    .scope-item.risk-badge {
      background: rgba(34, 197, 94, 0.08);
      border-color: rgba(34, 197, 94, 0.25);
      color: var(--g800);
      font-weight: 700;
    }

    .scope-item.risk-badge i {
      color: var(--g600);
    }

    .project-card:hover .scope-item {
      background: #ffffff;
      border-color: rgba(22, 163, 74, 0.25);
    }

    /* Key Spec Metric Pillars */
    .specs-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      background: var(--g50);
      border: 1px solid rgba(22, 163, 74, 0.12);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      margin-bottom: 20px;
    }

    .spec-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .spec-icon-box {
      width: 34px;
      height: 34px;
      border-radius: 8px;
      background: rgba(22, 163, 74, 0.12);
      color: var(--g700);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      flex-shrink: 0;
    }

    .spec-meta .meta-label {
      font-size: 10.5px;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      line-height: 1.1;
    }

    .spec-meta .meta-value {
      font-size: 13.5px;
      font-weight: 800;
      color: var(--g950);
      line-height: 1.25;
      margin-top: 2px;
    }

    .spec-meta .meta-value.accent-green {
      color: var(--g700);
    }

    /* Funding Progress Bar */
    .funding-progress-block {
      margin-bottom: 22px;
    }

    .funding-labels-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .funding-labels-row .raised-text {
      color: var(--g950);
    }

    .funding-labels-row .percentage-pill {
      background: rgba(22, 163, 74, 0.12);
      color: var(--g800);
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 11.5px;
    }

    .progress-track {
      background: #e2e8f0;
      border-radius: 10px;
      height: 8px;
      overflow: hidden;
      position: relative;
    }

    .progress-fill {
      height: 100%;
      border-radius: 10px;
      background: linear-gradient(90deg, var(--g600) 0%, var(--emerald) 50%, #34d399 100%);
      box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
      transition: width 1s ease;
    }

    .funding-sub-targets {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--muted);
      margin-top: 5px;
      font-weight: 600;
    }

    /* Card Action Buttons */
    .card-actions-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      flex-shrink: 0;
      gap: 8px;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px dashed rgba(22, 163, 74, 0.16);
    }

    .btn-card-invest {
      flex: 1 1 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 16px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--g600), var(--g700));
      color: #ffffff;
      font-size: 13.5px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
      transition: all 0.25s ease;
    }

    .btn-card-invest:hover {
      background: linear-gradient(135deg, var(--g700), var(--g800));
      transform: translateY(-2px);
      box-shadow: 0 8px 22px rgba(22, 163, 74, 0.38);
      color: #ffffff;
    }

    .btn-card-knowmore {
      padding: 11px 13px;
      border-radius: 10px;
      background: rgba(37, 211, 102, 0.1);
      border: 1.5px solid rgba(37, 211, 102, 0.3);
      color: #15803d;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      transition: all 0.22s ease;
    }

    .btn-card-knowmore i {
      color: #16a34a;
      font-size: 14.5px;
    }

    .btn-card-knowmore:hover {
      background: #22c55e;
      border-color: #22c55e;
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
    }

    .btn-card-knowmore:hover i {
      color: #ffffff;
    }

    .btn-card-details {
      padding: 11px 13px;
      border-radius: 10px;
      background: #ffffff;
      border: 1.5px solid rgba(22, 163, 74, 0.22);
      color: var(--g800);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
      transition: all 0.2s ease;
    }

    .btn-card-details:hover {
      background: var(--g50);
      border-color: var(--g600);
      color: var(--g950);
      transform: translateY(-2px);
    }

    .btn-card-completed {
      flex: 1 1 auto;
      text-align: center;
      padding: 11px 14px;
      border-radius: 10px;
      background: #f1f5f9;
      color: #475569;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      white-space: nowrap;
      border: 1px solid #cbd5e1;
      transition: all 0.2s ease;
    }

    .btn-card-completed:hover {
      background: #e2e8f0;
      color: #0f172a;
    }

    /* Shariah Trust Strip at Bottom */
    .trust-guarantee-bar {
      margin-top: 60px;
      background: #ffffff;
      border: 1px solid rgba(22, 163, 74, 0.18);
      border-radius: var(--radius-lg);
      padding: 24px 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    }

    .trust-col {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .trust-col-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(34, 197, 94, 0.08));
      color: var(--g700);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }

    .trust-col-title {
      font-size: 14.5px;
      font-weight: 700;
      color: var(--g950);
      margin-bottom: 2px;
    }

    .trust-col-desc {
      font-size: 12.5px;
      color: var(--muted);
      line-height: 1.4;
      margin: 0;
    }

    /* Load more / CTA footer */
    .explore-all-cta-box {
      margin-top: 48px;
      text-align: center;
    }

    .btn-view-all-projects {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 36px;
      border-radius: 14px;
      background: #ffffff;
      border: 2px solid var(--g600);
      color: var(--g700);
      font-size: 15px;
      font-weight: 800;
      text-decoration: none;
      box-shadow: 0 4px 18px rgba(22, 163, 74, 0.1);
      transition: all 0.28s ease;
    }

    .btn-view-all-projects:hover {
      background: var(--g600);
      color: #ffffff;
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(22, 163, 74, 0.35);
    }

    @media (max-width: 991px) {
      .filter-bar-container { flex-direction: column; align-items: stretch; }
      .filter-search-box { width: 100%; }
      .trust-col { margin-bottom: 16px; }
    }

    @media (max-width: 576px) {
      .projects-wrapper { padding: 40px 0 60px; }
      .projects-section-title { padding-bottom: 32px; }
      .projects-stat-card { padding: 10px 12px; border-radius: 12px; flex-wrap: wrap; gap: 10px; }
      .projects-stat-value { font-size: 13px; }
      .projects-stat-divider { display: none; }
      .project-card { border-radius: 14px; }
      .project-card-title { font-size: 15px; margin-bottom: 8px; }
      .project-card-summary { font-size: 12.5px; -webkit-line-clamp: 2; margin-bottom: 10px; }
      .project-highlights-grid { gap: 6px; margin-bottom: 10px; }
      .highlight-item { padding: 6px 8px; gap: 6px; border-radius: 8px; }
      .hl-label { font-size: 9.5px; }
      .hl-val { font-size: 11.5px; }
      .project-scope { gap: 4px; margin-bottom: 10px; }
      .scope-item { padding: 2px 6px; font-size: 10px; border-radius: 6px; }
      .card-actions-row { flex-wrap: wrap; gap: 6px; }
      .btn-card-invest, .btn-card-knowmore, .btn-card-details, .btn-card-completed { padding: 8px 10px; font-size: 12px; border-radius: 8px; }
      .specs-grid { grid-template-columns: 1fr; }
      .trust-guarantee-bar { padding: 12px; margin-top: 32px; border-radius: 12px; }
      .trust-col { gap: 8px; }
      .trust-col-icon { width: 34px; height: 34px; border-radius: 9px; font-size: 16px; }
      .trust-col-title { font-size: 12px; }
      .trust-col-desc { font-size: 10.5px; line-height: 1.45; }
    }


    .modern-footer {
      position: relative;
      background: linear-gradient(180deg, var(--footer-bg-start) 0%, var(--footer-bg-end) 100%);
      color: var(--text-footer);
      padding: 90px 0 35px;
      overflow: hidden;
      margin-top: auto;
    }

    /* Ambient Lighting Mesh */
    .footer-ambient-mesh {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }
    .mesh-orb-1 {
      position: absolute;
      width: 580px;
      height: 580px;
      top: -160px;
      right: -100px;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 68%);
      filter: blur(80px);
    }
    .mesh-orb-2 {
      position: absolute;
      width: 480px;
      height: 480px;
      bottom: -60px;
      left: -120px;
      background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
      filter: blur(70px);
    }
    .mesh-grid {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(34, 197, 94, 0.12) 1px, transparent 1px);
      background-size: 32px 32px;
      opacity: 0.45;
    }

    .footer-main-container {
      position: relative;
      z-index: 1;
    }

    /* Top Glass Callout Card (Enhanced Feature) */
    .footer-callout-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(20px);
      border: 1px solid var(--footer-border);
      border-radius: var(--radius-xl);
      padding: 36px 44px;
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
      margin-bottom: 75px;
    }
    .callout-title {
      font-family: 'Sora', sans-serif;
      font-size: 26px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 6px;
    }
    .callout-desc {
      font-size: 14.5px;
      color: var(--text-footer-muted);
      margin: 0;
      max-width: 500px;
    }
    .newsletter-form {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .newsletter-input {
      flex: 1 1 240px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      padding: 13px 18px;
      font-size: 14px;
      color: #ffffff;
      outline: none;
      transition: all 0.25s ease;
    }
    .newsletter-input::placeholder {
      color: rgba(203, 213, 225, 0.6);
    }
    .newsletter-input:focus {
      background: rgba(255, 255, 255, 0.12);
      border-color: var(--emerald);
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
    }
    .btn-newsletter {
      padding: 13px 26px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--g500) 0%, var(--g700) 100%);
      color: #ffffff;
      font-size: 14.5px;
      font-weight: 700;
      border: none;
      box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: all 0.25s ease;
      cursor: pointer;
    }
    .btn-newsletter:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
      color: #ffffff;
    }

    /* Column 1: Brand & About (from home/index.php) */
    .footer-about .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      margin-bottom: 18px;
    }
    .footer-about .logo img {
      width: 42px;
      height: 42px;
      object-fit: contain;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.1);
      padding: 4px;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .footer-about .sitename {
      font-family: 'Sora', sans-serif;
      font-size: 24px;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: -0.5px;
    }
    .footer-about .sitename em {
      color: var(--g400);
      font-style: normal;
    }
    .footer-about p {
      font-size: 14px;
      line-height: 1.7;
      color: var(--text-footer-muted);
      margin-bottom: 22px;
      max-width: 380px;
    }

    /* Shariah Trust Chip */
    .shariah-trust-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      background: rgba(34, 197, 94, 0.12);
      border: 1px solid rgba(34, 197, 94, 0.3);
      border-radius: 30px;
      font-size: 12px;
      font-weight: 700;
      color: var(--g300);
      margin-bottom: 22px;
    }

    /* Social Links (home/index.php: twitter-x, facebook, instagram, linkedin) */
    .social-links {
      display: flex;
      gap: 10px;
    }
    .social-links a {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--text-footer);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.25s ease;
    }
    .social-links a:hover {
      background: var(--g600);
      color: #ffffff;
      border-color: var(--g500);
      transform: translateY(-3px);
      box-shadow: 0 6px 18px rgba(22, 163, 74, 0.38);
    }

    /* Column Headings */
    .footer-links h4,
    .footer-contact h4 {
      font-family: 'Sora', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 22px;
      position: relative;
      display: inline-block;
    }
    .footer-links h4::after,
    .footer-contact h4::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 26px;
      height: 2.5px;
      background: var(--g500);
      border-radius: 2px;
    }

    /* Navigation Lists (home/index.php) */
    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links ul li {
      margin-bottom: 12px;
    }
    .footer-links ul li:last-child {
      margin-bottom: 0;
    }
    .footer-links ul li a {
      color: var(--text-footer-muted);
      font-size: 14px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
    }
    .footer-links ul li a i {
      font-size: 11px;
      color: var(--g500);
      transition: transform 0.2s ease;
    }
    .footer-links ul li a:hover {
      color: #ffffff;
      transform: translateX(4px);
    }
    .footer-links ul li a:hover i {
      transform: translateX(2px);
      color: var(--g400);
    }

    /* Contact Details (home/index.php) */
    .contact-glass-box {
      background: rgba(255, 255, 255, 0.035);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 18px 20px;
    }
    .footer-contact p {
      font-size: 13.5px;
      color: var(--text-footer-muted);
      margin-bottom: 6px;
      line-height: 1.5;
    }
    .footer-contact .contact-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 10px;
    }
    .footer-contact .contact-row i {
      color: var(--g400);
      font-size: 15px;
      margin-top: 3px;
      flex-shrink: 0;
    }
    .footer-contact strong {
      color: #ffffff;
    }
    .footer-contact a {
      color: var(--g300);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-contact a:hover {
      color: #ffffff;
      text-decoration: underline;
    }

    /* WhatsApp Quick Support Pill */
    .whatsapp-pill-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 10px;
      background: rgba(37, 211, 102, 0.14);
      border: 1px solid rgba(37, 211, 102, 0.35);
      color: #34d399;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      margin-top: 14px;
      transition: all 0.2s ease;
    }
    .whatsapp-pill-btn:hover {
      background: #22c55e;
      color: #04160f;
      border-color: #22c55e;
      transform: translateY(-2px);
    }

    /* Divider */
    .footer-middle-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(34, 197, 94, 0.25) 50%, transparent 100%);
      margin: 55px 0 32px;
    }

    /* Secure Payments + Copyright + Credits (single centred block) */
    .footer-secure-payments {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 14px;
    }

    .footer-secure-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: #e2e8f0;
    }
    .footer-secure-label i {
      color: var(--g400);
      font-size: 16px;
    }

    .footer-payment-logos {
      width: 100%;
      max-width: 560px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-lg);
      padding: 20px 26px;
    }
    .footer-payment-logos img {
      display: block;
      width: 100%;
      height: auto;
      opacity: 0.85;
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    }

    .footer-copyright-line {
      margin: 4px 0 0;
      font-size: 13px;
      color: #94a3b8;
    }
    .footer-copyright-line strong {
      color: #ffffff;
    }

    .footer-secure-payments .footer-credits {
      font-size: 13px;
      color: #94a3b8;
    }
    .footer-secure-payments .footer-credits a {
      color: var(--g400);
      font-weight: 600;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-secure-payments .footer-credits a:hover {
      color: #ffffff;
      text-decoration: underline;
    }

    /* Shariah Supervisory Disclaimer */
    .shariah-disclaimer-note {
      font-size: 12px;
      color: #64748b;
      line-height: 1.6;
      text-align: center;
      max-width: 900px;
      margin: 0 auto 28px;
    }

    /* Scroll to Top Button (from home/index.php) */
    .scroll-top-btn {
      position: fixed;
      visibility: hidden;
      opacity: 0;
      right: 20px;
      bottom: 20px;
      z-index: 999;
      background: linear-gradient(135deg, var(--g600), var(--g700));
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
      text-decoration: none;
      transition: all 0.3s;
    }
    .scroll-top-btn.active {
      visibility: visible;
      opacity: 1;
    }
    .scroll-top-btn:hover {
      background: var(--g500);
      color: #ffffff;
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(22, 163, 74, 0.5);
    }

    @media (max-width: 991px) {
      .footer-callout-card { padding: 28px 24px; }
      .footer-payment-logos { padding: 18px 20px; }
    }
    @media (max-width: 576px) {
      .footer-callout-card { padding: 20px 16px; border-radius: 14px; margin-bottom: 40px; }
      .callout-title { font-size: 18px; }
      .callout-subtitle { font-size: 12.5px; }
    }

/* ===========================================================================
   clients-marquee.css
   Merged from home/assets/css/clients-marquee.css - appended last so the cascade
   order (main -> design-ui -> clients-marquee) is unchanged.
   =========================================================================== */

/*--------------------------------------------------------------
# Clients Marquee (pure-CSS infinite scroll, replaces Swiper loop)
# Item widths replicate original Swiper breakpoints:
#   >=1200: 6 per view, 40px gap | 992-1199: 4 / 30px | 640-991: 3 / 20px | <640: 2 / 20px
---------------------------------------------------------------*/
.clients .clients-slider {
  overflow: hidden;
}

.clients-slider .marquee-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 40s linear infinite;
}

.clients-slider .marquee-group {
  display: flex;
  align-items: stretch;
}

.clients-slider .marquee-item {
  display: flex;
  flex-shrink: 0;
  min-width: 0;
  width: calc((100vw - 200px) / 6);
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-right: 40px;
}

.clients-slider .marquee-item:last-child {
  border-right: none;
  margin-right: 0;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1199.98px) {
  .clients-slider .marquee-item {
    width: calc((100vw - 90px) / 4);
    margin-right: 30px;
  }
}

@media (max-width: 991.98px) {
  .clients-slider .marquee-item {
    width: calc((100vw - 40px) / 3);
    margin-right: 20px;
  }
}

@media (max-width: 639.98px) {
  .clients-slider .marquee-item {
    width: calc((100vw - 20px) / 2);
  }
}

/* Shared public-page overflow safeguards (home/about/legal/footer). */
.newsletter-input { min-width: 0; max-width: 100%; }
.terms-card, .terms-sidebar, .privacy-highlights-card,
.about-us-section .service-content { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 576px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-input { flex: 0 1 auto; width: 100%; font-size: 16px; }
  .btn-newsletter { width: 100%; min-height: 44px; justify-content: center; white-space: normal; }
  .filter-search-box { min-width: 0; max-width: 100%; }
  .filter-tab-btn { min-height: 44px; white-space: normal; }
  .footer-contact a { overflow-wrap: anywhere; }
}