/*
Theme Name: BDC Responsive
Theme URI: https://demo.sayemkhan.work/
Author: Codex
Description: Responsive editable WordPress theme for Building Design Collective.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: bdc-responsive
*/

:root {
  --bdc-black: #111214;
  --bdc-text: #3f444b;
  --bdc-muted: #a1a5aa;
  --bdc-gold: #d0aa34;
  --bdc-bg: #f7f7f7;
  --bdc-white: #ffffff;
  --bdc-line: #e3e3e3;
  --bdc-shadow: 0 18px 34px rgba(0, 0, 0, .10);
  --bdc-radius: 14px;
  --bdc-max: 1140px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--bdc-text);
  background: var(--bdc-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.bdc-container { width: min(calc(100% - 56px), var(--bdc-max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, .96);
  border-bottom: 1px solid var(--bdc-line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 330px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border: 4px solid var(--bdc-gold);
  border-radius: 3px;
  position: relative;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--bdc-gold);
}
.brand-mark::before { width: 4px; inset: 0 auto 0 21px; }
.brand-mark::after { height: 4px; inset: 22px 0 auto 0; }
.brand-text {
  color: var(--bdc-black);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
}
.brand-text span {
  display: block;
  margin-top: 10px;
  color: #8b8f95;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 54px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu a {
  color: var(--bdc-gold);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 8px;
}
.primary-menu .current-menu-item > a,
.primary-menu a:hover { border-color: var(--bdc-gold); }
.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ececec;
  color: var(--bdc-black);
}
.header-cta,
.bdc-button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  border-radius: 7px;
  background: var(--bdc-black);
  color: var(--bdc-white);
  padding: 0 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  cursor: pointer;
}
.bdc-button.gold { background: var(--bdc-gold); color: var(--bdc-black); }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--bdc-line);
  border-radius: 999px;
  background: var(--bdc-white);
  padding: 10px 14px;
  color: var(--bdc-black);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  content: "";
}
.menu-toggle i { position: relative; }
.menu-toggle i::before { position: absolute; top: -6px; }
.menu-toggle i::after { position: absolute; top: 6px; }
.bdc-kicker {
  margin: 0 0 16px;
  color: var(--bdc-muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.bdc-title,
.bdc-page-title h1,
.hero h1 {
  margin: 0;
  color: var(--bdc-black);
  font-size: clamp(56px, 8.8vw, 148px);
  font-weight: 950;
  line-height: .95;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}
.hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 28px 0 60px;
  background: #f8f8f8;
  border-bottom: 1px solid #efefef;
}
.hero .gold { color: var(--bdc-gold); display: block; }
.bdc-section { padding: clamp(64px, 8vw, 112px) 0; }
.bdc-section.alt { background: #f0f0f0; border-top: 1px solid var(--bdc-line); border-bottom: 1px solid var(--bdc-line); }
.section-head {
  display: grid;
  grid-template-columns: .8fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}
.section-head h2 {
  margin: 0;
  color: var(--bdc-black);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 950;
  line-height: .95;
  text-transform: uppercase;
}
.section-head p { margin: 0; text-align: center; font-size: 18px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--bdc-line);
  border-radius: 12px;
  background: var(--bdc-white);
  box-shadow: var(--bdc-shadow);
  text-align: center;
}
.project-card-media,
.project-placeholder {
  width: 100%;
  aspect-ratio: 1 / .9;
  background: linear-gradient(135deg, #071015, #1c7ea3);
}
.project-card img,
.project-row img,
.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-body { padding: 30px 30px 26px; }
.project-card .meta,
.project-row .meta {
  color: var(--bdc-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-card h3,
.project-row h2,
.leader-card h3,
.process-card h2,
.contact-card h2 {
  margin: 12px 0;
  color: var(--bdc-black);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.22;
  text-transform: none;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bdc-line);
  color: var(--bdc-black);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.why-contact {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 64px;
  align-items: start;
}
.why-panel { text-align: center; }
.why-panel h2 { font-size: clamp(44px, 6vw, 62px); }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.metric {
  border-left: 4px solid var(--bdc-gold);
  padding: 8px 12px;
}
.metric strong { display: block; color: var(--bdc-black); font-size: 28px; font-weight: 950; }
.metric span { color: #777; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.contact-card,
.accordion-item,
.leader-card,
.process-card,
.project-row {
  border: 1px solid var(--bdc-line);
  border-radius: var(--bdc-radius);
  background: var(--bdc-white);
  box-shadow: var(--bdc-shadow);
}
.contact-card { padding: clamp(30px, 5vw, 58px); text-align: center; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  margin-top: 34px;
}
.contact-form label {
  display: grid;
  gap: 10px;
  color: #777;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--bdc-line);
  border-radius: 8px;
  background: #fafafa;
  color: var(--bdc-text);
  padding: 14px 18px;
  font: inherit;
  text-transform: none;
}
.contact-form textarea,
.contact-form .full,
.contact-form button { grid-column: 1 / -1; }
.bdc-page-title {
  padding: clamp(64px, 8vw, 112px) 0 46px;
  text-align: center;
}
.bdc-page-title h1 { font-size: clamp(50px, 7.5vw, 92px); }
.accordion { display: grid; gap: 20px; }
.accordion-item { overflow: hidden; }
.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 26px 32px;
  color: var(--bdc-black);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 950;
  text-transform: uppercase;
}
.accordion-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f4f4f4;
  color: var(--bdc-black);
}
.accordion-body {
  border-top: 1px solid var(--bdc-line);
  padding: 24px 40px 34px;
  text-align: center;
  font-size: 17px;
}
.accordion-item:not(.is-active) .accordion-body { display: none; }
.accordion-item.is-active .accordion-body { display: block; }
.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}
.leader-card {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 34px;
  padding: 28px;
  align-items: center;
  text-align: center;
}
.leader-photo {
  min-height: 520px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dedede, #111);
  overflow: hidden;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.process-list { display: grid; gap: 58px; }
.process-card {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 58px;
  align-items: center;
  padding: 38px;
}
.process-number {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--bdc-gold);
  color: var(--bdc-white);
  font-size: 22px;
  font-weight: 950;
}
.process-media {
  min-height: 350px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d7d7d7, #5d6b73);
  overflow: hidden;
}
.project-list { display: grid; gap: 48px; }
.project-row {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
}
.project-row-info {
  display: grid;
  gap: 20px;
  text-align: center;
}
.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-block: 1px solid var(--bdc-line);
  padding: 24px 0;
}
.project-facts .wide { grid-column: 1 / -1; }
.project-image {
  min-height: 560px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b1b22, #2d8ab3);
  overflow: hidden;
  position: relative;
}
.project-status {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 12px 18px;
  border-radius: 5px;
  background: var(--bdc-white);
  color: var(--bdc-black);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer {
  padding: 76px 0 40px;
  background: #080808;
  color: #f1f1f1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr .8fr;
  gap: 48px;
}
.site-footer .brand { min-width: 0; align-items: flex-start; flex-direction: column; }
.site-footer .brand-text { display: none; }
.site-footer .brand-mark { border-color: #fff; }
.site-footer .brand-mark::before,
.site-footer .brand-mark::after { background: #fff; }
.footer-grid h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid a,
.footer-grid p { color: #a9a9a9; }
.footer-bottom {
  margin-top: 76px;
  padding-top: 28px;
  border-top: 1px solid #1d1d1d;
  color: #4d4d4d;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .header-inner { min-height: 86px; justify-content: flex-start; }
  .brand { min-width: 0; }
  .brand-text span { display: none; }
  .nav-wrap { flex: 0 0 auto; justify-content: flex-start; margin-left: 0; }
  .menu-toggle { display: inline-flex; order: -1; }
  .primary-menu {
    position: fixed;
    inset: 86px 24px auto 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--bdc-line);
    border-radius: 12px;
    background: var(--bdc-white);
    box-shadow: var(--bdc-shadow);
  }
  .primary-menu.is-open,
  body.bdc-menu-open .primary-menu { display: flex; }
  .primary-menu a { display: block; padding: 14px; color: var(--bdc-black); }
  .theme-toggle,
  .header-cta { display: none; }
  .section-head,
  .project-grid,
  .why-contact,
  .leaders,
  .leader-card,
  .process-card,
  .project-row,
  .footer-grid { grid-template-columns: 1fr; }
  .section-head p { text-align: left; }
  .project-image { min-height: 420px; }
}

@media (max-width: 640px) {
  .bdc-container { width: min(calc(100% - 24px), var(--bdc-max)); }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; border-width: 3px; }
  .brand-mark::before { width: 3px; left: 17px; }
  .brand-mark::after { height: 3px; top: 18px; }
  .brand-text { font-size: 18px; }
  .menu-toggle span { display: inline; }
  .primary-menu { inset: 72px 12px auto 12px; }
  .hero { min-height: 430px; }
  .contact-form,
  .metric-row,
  .project-facts { grid-template-columns: 1fr; }
  .project-facts .wide { grid-column: auto; }
  .project-row,
  .process-card,
  .leader-card,
  .contact-card { padding: 24px; }
  .leader-photo { min-height: 360px; }
  .process-media,
  .project-image { min-height: 300px; }
}
