:root {
  --red: #007363;
  --red-dark: #009580;
  --red-light: #e74c3c;
  --navy: #1a2332;
  --navy-mid: #243447;
  --gold: #d4a843;
  --cream: #fffdf9;
  --bg-light: #f8f9fb;
  --white: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Poppins';
  background: #fff;
  color: var(--text);
  overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}



/* ── HERO ── */
#hero {
  background: linear-gradient(120deg, rgb(6 51 45), rgb(3 17 15 / 87%)), url(https://www.buniyad.com/images/about-banner.webp) center / cover no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none
}

.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  animation: drift linear infinite;
}

@keyframes drift {
  from {
    transform: translateY(100vh)
  }

  to {
    transform: translateY(-20vh)
  }
}

.hero-bg-text {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Poppins';
  font-size: 22vw;
  font-weight: 700;
  color: rgb(255 255 255 / 4%);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(255 255 255 / 15%);
  border: none;
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: #00c951;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(.8)
  }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px
}

.hero-title em {
  font-style: italic;
  color: #aa8f64;
}

.hero-title .accent {
  background: #aa8f64;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px
}

.btn-hero-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .83rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
}

.btn-hero-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  /* box-shadow: 0 8px 28px rgb(0 149 128); */
}

.btn-hero-ghost {
  background: transparent;
  color: rgba(255, 255, 255, .85);
  border: 1.5px solid rgba(255, 255, 255, .25);
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .83rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
}

.btn-hero-ghost:hover {
  border-color: rgba(255, 255, 255, .6);
  color: #fff
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap
}

.stat-val {
  font-family: 'Poppins';
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1
}

.stat-val span {
  color: var(--red-light)
}

.stat-label {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-top: 4px
}

/* Search filter tabs */
.hero-search {
  background: rgb(255 255 255);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 28px;
  margin-top: 40px;
}

.filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, .2);
  border-radius: 4px;
  overflow: hidden
}

.filter-tab {
  flex: 1;
  padding: 8px 16px;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .2s;
  border: none;
  background: transparent
}

.filter-tab.active {
  background: var(--red);
  color: #fff
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end
}

.sf-group label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgb(0 0 0 / 70%);
  display: block;
  margin-bottom: 6px;
}

.sf-input,
.sf-select {
  width: 100%;
  background: rgb(0 115 99);
  border: 1px solid rgb(0 115 99);
  border-radius: 4px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: 'Poppins';
  font-size: .85rem;
  outline: none;
  transition: border .2s;
}

.sf-input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.sf-select option {
  background: var(--navy)
}

.sf-input:focus,
.sf-select:focus {
  border-color: var(--red)
}

.sf-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s
}

.sf-btn:hover {
  background: var(--red-dark)
}

/* ── SECTIONS ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2
}

.section-title em {
  font-style: italic;
  color: var(--red)
}

h2.section-title.small-t em {
  font-size: 12px;
  display: block;
  margin-bottom: 25px;
}

/* ── LOCATION STRIP ── */
#location-strip {
  background: var(--bg-light);
  padding: 60px 0
}

.location-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .3s;
  cursor: pointer;
  height: 100%;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red)
}

.loc-header {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
}

.loc-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(192, 57, 43, .2);
}

.loc-icon {
  font-size: 1.4rem;
  color: var(--red-light);
  margin-bottom: 10px
}

.loc-city {
  font-family: 'Poppins';
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff
}

.loc-count {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 3px;
  letter-spacing: .05em
}

.loc-projects {
  padding: 16px 20px
}

.loc-proj-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: padding .2s;
}

.loc-proj-item:last-child {
  border-bottom: none
}

.loc-proj-item:hover {
  padding-left: 6px
}

.loc-proj-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  transition: color .2s
}

.loc-proj-item:hover .loc-proj-name {
  color: var(--red)
}

.loc-proj-type {
  font-size: .65rem;
  color: var(--muted)
}

.loc-proj-arrow {
  font-size: .65rem;
  color: var(--red);
  opacity: 0;
  transition: opacity .2s
}

.loc-proj-item:hover .loc-proj-arrow {
  opacity: 1
}

/* ── FEATURED PROJECTS ── */
#featured {
  background: var(--bg-light);
  padding: 50px 0
}

.proj-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .3s;
  height: 100%
}

.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg)
}

.proj-img {
  position: relative;
  overflow: hidden;
}

.proj-img-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, .08)
}

.proj-img-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0, rgba(255, 255, 255, .02) 1px, transparent 1px, transparent 20px)
}

.proj-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.proj-location-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.proj-body {
  padding: 22px
}

.proj-cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px
}

.proj-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3
}

.proj-loc {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px
}

.proj-meta {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border)
}

.proj-meta-item {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px
}

.proj-meta-item strong {
  color: var(--text);
  font-size: .75rem
}

.proj-price {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-price-val {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy)
}

.proj-price-label {
  font-size: .65rem;
  color: var(--muted)
}

.proj-cta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-proj-primary {
  flex: 1;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 9px 0;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .2s;
}

.btn-proj-primary:hover {
  background: var(--red-dark);
  color: #fff
}

.btn-proj-outline {
  flex: 0;
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 9px 14px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all .2s;
}

.btn-proj-outline:hover {
  background: var(--red);
  color: #fff
}

/* ── SERVICES ── */
#about {
  /* background: var(--bg-light); */
  padding: 50px 0;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  height: 100%;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(192, 57, 43, .1), rgba(192, 57, 43, .06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 20px;
  transition: background .3s;
}

.service-card:hover .service-icon-wrap {
  background: var(--red)
}

.service-card:hover .service-icon-wrap i {
  color: #fff
}

.service-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px
}

.service-card p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.7
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  text-decoration: none;
  transition: gap .2s
}

.service-link:hover {
  gap: 12px;
  color: var(--red)
}

/* ── WHY XACT ── */
#why {
  background: #fff;
  padding: 50px 0
}

.why-card {
  padding: 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
  height: 100%;
  background: #fff;
  transition: all .3s;
}

.why-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(192, 57, 43, .1);
  transform: translateY(-4px)
}

.why-num {
  font-family: 'Poppins';
  font-size: 3rem;
  font-weight: 700;
  color: rgb(170 143 100 / 18%);
  line-height: 1;
  margin-bottom: 12px
}

.why-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px
}

.why-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7
}

/* ── STATS STRIP ── */
#stats-strip {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 60px 0;
}

.stat-item {
  text-align: center
}

.stat-big {
  font-family: 'Poppins';
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1
}

.stat-sub {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-top: 6px
}

/* ── TESTIMONIALS ── */
#testimonials {
  background: var(--bg-light);
  padding: 50px 0
}

.testi-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px;
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow .3s;
}

.testi-card:hover {
  box-shadow: var(--shadow-lg)
}

.testi-stars {
  color: var(--gold);
  font-size: .85rem;
  margin-bottom: 16px;
  letter-spacing: 2px
}

.testi-text {
  font-size: .88rem;
  line-height: 1.85;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 24px
}

.testi-divider {
  width: 36px;
  height: 2px;
  background: var(--red);
  margin-bottom: 16px;
  border-radius: 2px
}

.testi-author {
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy)
}

.testi-role {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 2px
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(192, 57, 43, .15);
  font-family: 'Poppins';
  line-height: .5;
  display: block;
  margin-bottom: 12px
}

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, var(--navy) 0%, #243550 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(192, 57, 43, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 57, 43, .05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-inner {
  position: relative;
  z-index: 1
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px
}

.cta-title em {
  font-style: italic;
  color: #ff8a7a
}

.cta-sub {
  font-size: .95rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto
}



/* ── ENQUIRE FAB ── */
.fab-enquire {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgb(2 125 108);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .25s;
}

.fab-enquire:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgb(0 149 128 / 52%);
}

.fab-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite
}

/* ── MODAL ── */
.modal-content {
  border-radius: 12px;
  border: none;
  overflow: hidden
}

.modal-header {
  background: var(--navy);
  border-bottom: none;
  padding: 28px 32px
}

.modal-title {
  font-family: 'Poppins';
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700
}

.modal-body {
  padding: 32px;
  background: #fff
}

.form-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy)
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Poppins';
  font-size: .88rem;
  transition: border .2s
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  box-shadow: none
}

.btn-submit {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px
}

.btn-submit:hover {
  background: var(--red-dark)
}

.btn-close-modal {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .8rem;
  transition: background .2s
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, .3)
}

/* ── ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}






.project-showcase {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
}

.project-showcase.mb-5 {
  padding: 0 30px;
}

.project-image {
  position: relative;
}

.project-image img {
  width: 100%;
  box-shadow: 0 15px 45px rgb(0 0 0 / 13%);
  border-radius: 10px;
}

.project-content {
  padding: 36px;
}

.project-category {
  display: inline-block;
  color: #aa8f64;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-size: 12px;
}

.project-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 15px;
}

.project-location {
  color: #434343;
  margin-bottom: 16px;
}

.project-summary {
  color: #666;
  line-height: 1.9;
  margin-bottom: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

.project-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature-item {
  background: #f8f8f8;
  padding: 10px 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.feature-item i {
  color: #aa8f64;
}

.project-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #aa8f64;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.project-price-box {
  position: absolute;
  left: 25px;
  bottom: 25px;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 16px;
}

.project-price-box h4 {
  font-size: 12px;
}

.project-price-box span {
  font-size: 13px;
  opacity: .8;
  display: none;
}

.project-price-box h4 {
  margin: 5px 0 0;
}

@media(max-width:991px) {



  .project-content {
    padding: 25px;
  }

  .project-title {
    font-size: 28px;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

}

@media(max-width:768px) {
 

  .search-row {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .hero-stats {
    gap: 28px
  }

  .stat-big {
    font-size: 2.2rem
  }
}

@media only screen and (max-width: 767px) {

  .hero-search.w-100 p.text-uppercase {
    display: none;
  }

  .hero-badge {

    font-size: .62rem;

  }

  .hero-sub {
    margin-bottom: 16px;
  }

  #hero {
    padding: 30px 0;
  }

  .project-badge {

    padding: 9px 16px;
    font-size: 11px;
  }

  .project-price-box {
    display: none;
  }
}