/* =============================================
   ADVI INTERIORS — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --primary: #1464F0;
  --primary-dark: #0f4fc7;
  --primary-light: #4a85f5;
  --dark: #0f1c2e;
  --dark-2: #1a2d45;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --white: #ffffff;
  --light: #f7f8fc;
  --light-2: #eef0f5;
  --border: #e5e8ee;
  --amber: #c89050;
  --amber-dark: #a0702a;
  --hero-inner: linear-gradient(135deg, rgba(20,100,240,0.92) 0%, rgba(10,60,180,0.97) 100%);
  --section-pad: 90px;
  --font-head: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --transition: all 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--text-light); line-height: 1.8; }
p:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.8px; text-transform: uppercase; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,100,240,0.35); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--light); transform: translateY(-2px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.7); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-sm { padding: 9px 22px; font-size: 0.8rem; }

/* ---- Section Layout ---- */
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--primary); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; }

.section-header-left .label,
.section-header-left h2,
.section-header-left p { text-align: left; margin-left: 0; }

/* ---- Grid Helpers ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---- Header Top Bar ---- */
.header-top {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 9px 0;
}
.header-top .container { display: flex; align-items: center; justify-content: space-between; }
.header-top-left { display: flex; gap: 24px; }
.header-top-left a { color: rgba(255,255,255,0.75); }
.header-top-left a:hover { color: var(--white); }
.header-top-left span { display: flex; align-items: center; gap: 6px; }
.header-top-right { display: flex; gap: 14px; }
.header-top-right a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
}
.header-top-right a:hover { background: var(--primary); color: var(--white); }

/* ---- Navbar ---- */
.navbar {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 88px; }
.nav-links { justify-content: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 88px; width: auto; }
.logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.5px; color: var(--dark);
  text-transform: uppercase; border-radius: var(--radius);
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--primary); }
.nav-links > li > a i { font-size: 0.7rem; }

/* Dropdown */
.nav-links .dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 200px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 10px 0; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: var(--transition);
}
.nav-links .dropdown-menu a {
  display: block; padding: 9px 20px;
  font-size: 0.88rem; color: var(--text); font-weight: 500;
}
.nav-links .dropdown-menu a:hover { color: var(--primary); background: var(--light); padding-left: 26px; }
.nav-links > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.nav-search:hover { border-color: var(--primary); color: var(--primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero (Homepage) ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,100,240,0.85) 0%, rgba(20,100,240,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-bottom: 20px;
}
.hero-label::before { content: ''; display: block; width: 40px; height: 2px; background: var(--primary); }
.hero h1 { color: var(--white); margin-bottom: 22px; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
.hero h1 span { color: var(--primary-light); }
.hero p { color: rgba(255,255,255,0.75); max-width: 540px; font-size: 1.05rem; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero 2 specific */
.hero-2 { background: var(--primary); min-height: 100vh; }
.hero-2 .hero-overlay { background: linear-gradient(to right, rgba(20,100,240,0.95) 50%, rgba(20,100,240,0.5) 100%); }

/* Hero 3 specific */
.hero-3 .hero-overlay { background: linear-gradient(to bottom, rgba(20,100,240,0.88) 0%, rgba(20,100,240,0.75) 100%); }

/* ---- Inner Page Banner ---- */
.page-banner {
  position: relative; padding: 100px 0 80px;
  background: var(--dark); overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: var(--hero-inner);
}
.page-banner-content { position: relative; z-index: 2; text-align: center; color: var(--white); }
.page-banner-content h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: var(--white); }

/* ---- Service Cards ---- */
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; box-shadow: var(--shadow);
  transition: var(--transition); border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-bottom-color: var(--primary); }
.service-card .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary); margin-bottom: 22px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 18px; }
.service-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.service-card .read-more:hover { gap: 10px; }

/* ---- Project / Portfolio Cards ---- */
.project-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.project-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,100,240,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: var(--transition);
}
.project-card:hover .overlay { opacity: 1; }
.project-card .overlay h4 { color: var(--white); margin-bottom: 4px; }
.project-card .overlay span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ---- Stats Counter ---- */
.stats-section { background: var(--primary); }
.stat-item { text-align: center; padding: 16px; }
.stat-item .num { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; color: var(--white); line-height: 1; }
.stat-item .num span { font-size: 0.7em; }
.stat-item p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 8px; margin-bottom: 0; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ---- Process Steps ---- */
.process-steps { counter-reset: step; }
.process-step { position: relative; padding: 30px 24px 30px 70px; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  color: var(--primary); opacity: 0.15; line-height: 1;
}
.process-step h3 { margin-bottom: 10px; font-size: 1.1rem; }
.process-step p { font-size: 0.92rem; }

.process-card {
  text-align: center; padding: 36px 24px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); position: relative;
}
.process-card .step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.process-card .icon { font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.process-card h4 { margin-bottom: 10px; }
.process-card p { font-size: 0.9rem; }

/* ---- Team Cards ---- */
.team-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card .img-wrap { position: relative; overflow: hidden; }
.team-card .img-wrap img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .img-wrap img { transform: scale(1.05); }
.team-card .info { padding: 22px; background: var(--white); }
.team-card .info h4 { margin-bottom: 4px; }
.team-card .info .role { color: var(--primary); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.team-card .social-links { display: flex; gap: 8px; }
.team-card .social-links a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--light); color: var(--text-light);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.team-card .social-links a:hover { background: var(--primary); color: var(--white); }

/* ---- Blog Cards ---- */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .img-wrap { overflow: hidden; }
.blog-card .img-wrap img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .img-wrap img { transform: scale(1.06); }
.blog-card .content { padding: 24px; }
.blog-card .meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 0.82rem; color: var(--text-muted); }
.blog-card .meta span { display: flex; align-items: center; gap: 5px; }
.blog-card h4 { margin-bottom: 10px; font-size: 1.05rem; }
.blog-card h4 a:hover { color: var(--primary); }
.blog-card p { font-size: 0.9rem; margin-bottom: 16px; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.blog-card .read-more:hover { gap: 10px; }

/* ---- Blog List ---- */
.blog-list-card { display: grid; grid-template-columns: 280px 1fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; transition: var(--transition); }
.blog-list-card:hover { box-shadow: var(--shadow-md); }
.blog-list-card .img-wrap img { width: 100%; height: 220px; object-fit: cover; }
.blog-list-card .content { padding: 30px; }
.blog-list-card h3 { margin-bottom: 12px; }
.blog-list-card h3 a:hover { color: var(--primary); }

/* ---- Testimonial Cards ---- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 16px; right: 24px;
  font-size: 5rem; line-height: 1; color: var(--primary); opacity: 0.12;
  font-family: Georgia, serif;
}
.testimonial-card .author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.testimonial-card .author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author-info h5 { margin-bottom: 2px; font-size: 1rem; }
.testimonial-card .author-info span { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-card .stars { color: #f5a623; font-size: 0.85rem; margin-bottom: 14px; }
.testimonial-card p { font-size: 0.95rem; font-style: italic; }

/* ---- Sidebar ---- */
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); margin-bottom: 28px; }
.sidebar-widget h4 { font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.search-box { display: flex; }
.search-box input { flex: 1; padding: 11px 16px; border: 1px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 0.9rem; outline: none; }
.search-box button { padding: 11px 16px; background: var(--primary); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.category-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--light-2); font-size: 0.9rem; }
.category-list li:last-child { border-bottom: none; }
.category-list li a:hover { color: var(--primary); }
.category-list li span { background: var(--light); padding: 2px 8px; border-radius: 20px; font-size: 0.8rem; }
.latest-post { display: flex; gap: 14px; margin-bottom: 18px; }
.latest-post:last-child { margin-bottom: 0; }
.latest-post img { width: 68px; height: 68px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.latest-post-info h6 { font-size: 0.88rem; margin-bottom: 4px; line-height: 1.4; }
.latest-post-info h6 a:hover { color: var(--primary); }
.latest-post-info span { font-size: 0.78rem; color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 5px 14px; background: var(--light); border-radius: 20px; font-size: 0.82rem; color: var(--text-light); }
.tags a:hover { background: var(--primary); color: var(--white); }

/* ---- Partners ---- */
.partners-logo-strip { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-logo-strip .logos { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.partners-logo-strip img { height: 44px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: var(--transition); }
.partners-logo-strip img:hover { filter: grayscale(0%) opacity(1); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--primary); padding: 72px 0;
  position: relative;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: rgba(10,70,180,0.15); }
.cta-banner .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; }

/* ---- Contact Form ---- */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 13px 18px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.92rem; outline: none; background: var(--white);
  transition: border-color 0.3s;
  margin-bottom: 18px;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .ci-icon {
  width: 48px; height: 48px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-info-item h5 { margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-item p { font-size: 0.9rem; margin: 0; }

/* ---- Skill Bars ---- */
.skill-bar { margin-bottom: 20px; }
.skill-bar .label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; }
.skill-bar .track { height: 6px; background: var(--light-2); border-radius: 3px; overflow: hidden; }
.skill-bar .fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 1.2s ease; }

/* ---- Accordion ---- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.accordion-header:hover { color: var(--primary); }
.accordion-header i { font-size: 0.8rem; transition: transform 0.3s; }
.accordion-item.open .accordion-header i { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 20px 18px; font-size: 0.92rem; color: var(--text-light); }
.accordion-item.open .accordion-body { display: block; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 8px; margin-top: 48px; justify-content: center; }
.pagination a {
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-light);
}
.pagination a:hover, .pagination a.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---- Comments Section ---- */
.comment { display: flex; gap: 18px; margin-bottom: 30px; }
.comment img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body { flex: 1; background: var(--light); border-radius: var(--radius-lg); padding: 20px; }
.comment-body .meta { display: flex; justify-content: space-between; margin-bottom: 10px; }
.comment-body .meta h5 { font-size: 0.95rem; margin: 0; }
.comment-body .meta span { font-size: 0.8rem; color: var(--text-muted); }
.comment-body p { font-size: 0.9rem; margin: 0; }
.comment.reply { margin-left: 60px; }
.reply-link { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-top: 8px; display: inline-block; }

/* ---- 404 Page ---- */
.error-page { text-align: center; padding: 80px 0; }
.error-page .error-img { max-width: 480px; margin: 0 auto 40px; }
.error-page h2 { font-size: 2rem; margin-bottom: 16px; }
.error-page p { margin-bottom: 32px; }

/* ---- Footer ---- */
.footer { background: var(--primary); color: rgba(255,255,255,0.85); }
.footer-top { padding: 72px 0 48px; }
.footer-top .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo img { height: 80px; filter: brightness(0) invert(1); }
.footer-logo span { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.75); }
.footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a::before { content: '»'; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-links li > span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.newsletter-form { display: flex; margin-top: 16px; }
.newsletter-form input { flex: 1; padding: 11px 16px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-right: none; border-radius: var(--radius) 0 0 var(--radius); color: var(--white); font-size: 0.88rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { padding: 11px 18px; background: var(--white); color: var(--primary); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.88rem; font-weight: 700; }
.newsletter-form button:hover { background: rgba(255,255,255,0.9); }
.footer-insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.footer-insta a { display: block; overflow: hidden; border-radius: 4px; }
.footer-insta img { width: 100%; height: 72px; object-fit: cover; transition: transform 0.4s; }
.footer-insta a:hover img { transform: scale(1.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding: 20px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.footer-social a:hover { background: rgba(255,255,255,0.3); }

/* ---- Utility Classes ---- */
.text-primary { color: var(--primary) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-muted) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-dark { background: var(--dark) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: start; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-rounded { border-radius: var(--radius-lg); }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.badge { display: inline-block; padding: 4px 12px; background: var(--light); border-radius: 20px; font-size: 0.78rem; font-weight: 600; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; }

/* ---- Marquee ---- */
.marquee-section { background: var(--primary); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 20s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; letter-spacing: 2px; padding-right: 40px;
}
.marquee-track span::after { content: '◆'; font-size: 0.6rem; margin-left: 24px; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- About Section image stack ---- */
.img-stack { position: relative; }
.img-stack .main-img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.img-stack .accent-img {
  position: absolute; bottom: -30px; right: -30px;
  width: 220px; height: 200px; object-fit: cover;
  border-radius: var(--radius-lg); border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.img-stack .exp-badge {
  position: absolute; top: 24px; left: -24px;
  background: var(--primary); color: var(--white); border-radius: var(--radius-lg);
  padding: 18px 22px; text-align: center; box-shadow: var(--shadow-md);
}
.img-stack .exp-badge .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; display: block; line-height: 1; }
.img-stack .exp-badge p { font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin: 4px 0 0; color: rgba(255,255,255,0.85); }

/* ---- Project Gallery ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-grid .project-card img { height: 260px; }
.portfolio-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.portfolio-filter button {
  padding: 8px 22px; border: 1px solid var(--border); border-radius: 30px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-light); transition: var(--transition);
}
.portfolio-filter button:hover, .portfolio-filter button.active {
  background: var(--primary); border-color: var(--primary); color: var(--white);
}

/* ---- Newsletter ---- */
.newsletter-section { background: var(--light); }
.newsletter-section .inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-section .text .label { color: var(--primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.newsletter-section h3 { margin-bottom: 0; }
.newsletter-section .form-wrap { display: flex; gap: 0; max-width: 480px; width: 100%; }
.newsletter-section input { flex: 1; padding: 14px 20px; border: 1px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); outline: none; font-size: 0.92rem; }
.newsletter-section button { padding: 14px 24px; background: var(--primary); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 700; font-size: 0.88rem; }
.newsletter-section button:hover { background: var(--primary-dark); }

/* ---- Home01 Hero Specific ---- */
.hero-01 { min-height: 100vh; }
.hero-01 .hero-overlay { background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 100%); }

/* ---- Home03 Decor ---- */
.home3-decor {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #c8a060 0%, #6b4a20 100%);
  opacity: 0.35;
}

/* ---- Expertise Cards (dark bg) ---- */
.expertise-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: var(--transition);
}
.expertise-card:hover { background: var(--primary); border-color: var(--primary); }
.expertise-card .icon { font-size: 2.2rem; color: var(--primary); margin-bottom: 18px; transition: var(--transition); }
.expertise-card:hover .icon { color: var(--white); }
.expertise-card h4 { color: var(--white); margin-bottom: 10px; }
.expertise-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }

/* ---- Video Button ---- */
.play-btn {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 0 0 10px rgba(20,100,240,0.2);
  animation: pulse 2s infinite;
}
.play-btn:hover { background: var(--primary-dark); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(20,100,240,0.4); } 50% { box-shadow: 0 0 0 16px rgba(20,100,240,0); } }

/* ---- Floor Plans ---- */
.floor-plan-tabs { display: flex; gap: 10px; margin-bottom: 24px; }
.floor-plan-tabs button {
  padding: 9px 22px; border: 1px solid var(--border); border-radius: 30px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-light);
}
.floor-plan-tabs button.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.floor-plan img { width: 100%; border-radius: var(--radius-lg); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root { --section-pad: 70px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top .grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { gap: 40px; }
  .img-stack .accent-img { display: none; }
  .img-stack .exp-badge { left: 16px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  /* ── Navbar ── */
  .nav-links, .nav-actions .nav-search { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 76px;
    background: var(--white); z-index: 999;
    padding: 20px; overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.mobile-open > li > a { padding: 14px 0; border-bottom: 1px solid var(--light-2); font-size: 1rem; }
  .nav-links .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--light); margin-top: 4px; margin-bottom: 4px; border-radius: var(--radius); }
  .header-top { display: none; }
  .navbar .container { height: 68px; }
  .logo img { height: 54px; }

  /* ── Hero ── */
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-content { padding: 100px 0 60px !important; }

  /* ── Generic grids ── */
  .grid-2, .grid-3, .two-col, .two-col-3-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* ── Index page inline grids ── */
  .services-grid-6 { grid-template-columns: 1fr 1fr !important; }
  .projects-preview-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .projects-2x2 { grid-template-columns: 1fr 1fr !important; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-band-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .why-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .process-row { grid-template-columns: repeat(2, 1fr) !important; }
  .process-row::before { display: none; }

  /* ── About page ── */
  .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-collage { justify-content: center; }
  .about-img-collage .img-main { width: 58%; height: 260px; }
  .about-img-collage .img-secondary { width: 36%; height: 190px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-images-wide { grid-template-columns: 1fr !important; }

  /* ── Services page ── */
  .svc-cards-row { grid-template-columns: repeat(2, 1fr) !important; }
  .process-steps-track { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── Portfolio ── */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-showcase-header { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* ── Sidebar layouts (blog, service-details) ── */
  .sd-layout, .bd-layout { grid-template-columns: 1fr !important; }
  .sd-sidebar, .bd-sidebar { width: 100% !important; }

  /* ── Team / Portfolio details ── */
  .pd-top { grid-template-columns: 1fr !important; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-details-grid { grid-template-columns: 1fr !important; }

  /* ── Footer (index) ── */
  .footer-top .grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  div[style*="grid-template-columns:1.6fr"] { grid-template-columns: 1fr !important; }

  /* ── Footer (other pages) ── */
  .svc-footer-grid, .about-footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-footer-subscribe { flex-direction: column; }
  .about-footer-subscribe input, .about-footer-subscribe button,
  .svc-footer-subscribe input, .svc-footer-subscribe button { width: 100%; border-radius: 4px; }

  /* ── Contact page ── */
  .cpage-grid { grid-template-columns: 1fr !important; }
  .cta-banner .container { flex-direction: column; text-align: center; }

  /* ── Misc ── */
  .partners-logo-strip .logos { gap: 24px; }
  .partners-logo-strip img { height: 34px; }
  .img-stack .main-img { height: 320px; }
  .newsletter-section .inner { flex-direction: column; }
  .newsletter-section .form-wrap { max-width: 100%; }
  .blog-list-card { grid-template-columns: 1fr; }
  .blog-list-card .img-wrap img { height: 220px; width: 100%; }
  .clients-logos { gap: 20px; }
  .clients-logos img { height: 36px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 40px; }

  /* ── Navbar ── */
  .navbar .container { height: 62px; }
  .logo img { height: 46px; }

  /* ── Hero ── */
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: .9rem; }
  .hero-content { padding: 80px 0 40px !important; }
  .page-banner { padding: 70px 0 60px; }
  .page-banner h1 { font-size: 1.8rem; }

  /* ── Grids → single column ── */
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid-6 { grid-template-columns: 1fr !important; }
  .stats-band-inner { grid-template-columns: 1fr !important; }
  .process-row { grid-template-columns: 1fr !important; }
  .projects-2x2 { grid-template-columns: 1fr !important; }
  .svc-cards-row { grid-template-columns: 1fr !important; }
  .process-steps-track { grid-template-columns: 1fr !important; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pd-related-grid { grid-template-columns: 1fr !important; }

  /* ── About collage → stack ── */
  .about-img-collage { flex-direction: column; align-items: center; }
  .about-img-collage .img-main, .about-img-collage .img-secondary { width: 100%; height: 220px; margin-bottom: 0; }
  .about-circle-badge { display: none; }

  /* ── Footer ── */
  .svc-footer-grid, .about-footer-grid { grid-template-columns: 1fr !important; }
  .footer-social { justify-content: center; }

  /* ── Clients logos ── */
  .clients-logos img { height: 30px; }
  .clients-logos { gap: 16px; }

  /* ── CTA ── */
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner .btn { width: 100%; text-align: center; }

  /* ── Testimonials ── */
  .testi-grid { grid-template-columns: 1fr !important; }

  /* ── Misc ── */
  .section-header { margin-bottom: 32px; }
  .container { padding: 0 16px; }
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-hero {
  width: 100%;
  height: 340px;
  overflow: hidden;
}
.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.about-intro { padding: 80px 0; }
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-collage {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.about-img-collage .img-main {
  width: 60%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.about-img-collage .img-secondary {
  width: 38%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 20px;
}
.about-circle-badge {
  position: absolute;
  left: -18px;
  bottom: 60px;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.about-circle-badge i { color: var(--primary); font-size: 1rem; }
.about-text-col h2 {
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 18px;
  font-weight: 700;
}
.about-text-col p {
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-checklist { list-style: none; padding: 0; margin: 0; }
.about-checklist li {
  font-size: .9rem;
  color: var(--text);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-checklist li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.spaces-shine { padding: 60px 0 0; }
.spaces-shine h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 36px;
}
.spaces-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.spaces-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.about-stats-band { background: #2e2e2e; padding: 56px 0; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.about-stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.about-stat-item:last-child { border-right: none; }
.about-stat-item i { font-size: 1.7rem; color: #bbb; margin-bottom: 12px; display: block; }
.about-stat-item .stat-label { color: rgba(255,255,255,.6); font-size: .8rem; display: block; margin-bottom: 4px; }
.about-stat-item .stat-num {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-head);
  line-height: 1;
}

.about-feature-img { padding: 60px 0; }
.about-feature-img img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  height: 460px;
  object-fit: cover;
  border-radius: 6px;
}

.building-passion { padding: 60px 0 80px; text-align: center; }
.building-passion h2 {
  color: var(--primary);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.building-passion p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 18px;
}

.about-footer { background: #1e1e1e; padding: 60px 0 0; }
.about-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
}
.about-footer .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.about-footer .footer-logo img { height: 80px; }
.about-footer .footer-logo span {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.about-footer p { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.7; margin-bottom: 20px; }
.about-footer-subscribe { display: flex; gap: 0; border-radius: 4px; overflow: hidden; }
.about-footer-subscribe input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  font-size: .85rem;
  outline: none;
  background: #2c2c2c;
  color: #fff;
}
.about-footer-subscribe input::placeholder { color: rgba(255,255,255,.35); }
.about-footer-subscribe button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.about-footer h5 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 18px; letter-spacing: .3px; }
.about-footer-links { list-style: none; padding: 0; margin: 0; }
.about-footer-links li { margin-bottom: 10px; }
.about-footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; text-decoration: none; transition: color .2s; }
.about-footer-links a:hover { color: var(--primary); }
.about-footer-insta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.about-footer-insta a img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; display: block; }
.about-footer-insta a { position: relative; display: block; }
.about-footer-insta a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
  border-radius: 4px;
  transition: background .2s;
}
.about-footer-insta a:hover::after { background: rgba(0,0,0,.4); }
.about-footer-copyright { background: var(--primary); text-align: center; padding: 14px 0; margin-top: 48px; }
.about-footer-copyright p { color: rgba(255,255,255,.85); font-size: .82rem; margin: 0; }

/* =============================================
   SERVICES PAGE
   ============================================= */

.svc-hero { width: 100%; height: 340px; overflow: hidden; }
.svc-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

.featured-svc { padding: 70px 0 60px; text-align: center; }
.featured-svc .sec-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.featured-svc h2 { color: var(--primary); font-size: 2rem; font-weight: 700; margin-bottom: 36px; }
.svc-cards-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { text-align: left; }
.svc-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 14px;
}
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-card-badge i { color: #fff; font-size: .85rem; }
.svc-card h4 {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 2px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.svc-card strong { font-size: 1rem; color: var(--primary); font-weight: 700; }

.why-choose { background: #f5f5f5; padding: 80px 0; }
.why-choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-choose-img img { width: 100%; height: 460px; object-fit: cover; border-radius: 4px; display: block; }
.why-choose-text .sec-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.why-choose-text h2 {
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 28px;
}
.why-feature-list { display: flex; flex-direction: column; gap: 22px; }
.why-feature-item { display: flex; gap: 16px; align-items: flex-start; }
.why-feature-icon { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.why-feature-icon i { font-size: 1.4rem; color: var(--primary); }
.why-feature-body h5 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.why-feature-body p { font-size: .85rem; color: var(--text-light); margin: 0; line-height: 1.65; }

.svc-process { padding: 80px 0; }
.svc-process .sec-label { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 6px; }
.svc-process h2 { text-align: center; color: var(--primary); font-size: 2rem; font-weight: 700; margin-bottom: 48px; }
.process-steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step-tab {
  text-align: center;
  padding: 12px 0;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  border: 1px solid #ddd;
  border-right: none;
  cursor: pointer;
  background: #fff;
}
.process-step-tab:last-child { border-right: 1px solid #ddd; }
.process-step-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.process-step-tab:not(.active):hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.process-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #eee;
  border-top: none;
}
.process-item { padding: 36px 24px; text-align: center; border-right: 1px solid #eee; transition: background .2s, transform .2s; }
.process-item:last-child { border-right: none; }
.process-item .p-icon { font-size: 2rem; color: var(--primary); margin-bottom: 14px; display: block; transition: transform .2s; }
.process-item h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.process-item p { font-size: .83rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.process-item:hover { background: #f0f6ff; transform: translateY(-4px); }
.process-item:hover .p-icon { transform: scale(1.1); }

.testimonial-video {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.testimonial-video-bg { position: absolute; inset: 0; z-index: 0; }
.testimonial-video-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-video-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.testimonial-side { position: relative; z-index: 1; padding: 60px 48px; }
.testimonial-card-inner {
  background: rgba(255,255,255,.97);
  border-radius: 4px;
  padding: 36px 32px;
  position: relative;
  max-width: 440px;
}
.testimonial-card-inner .testi-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #27ae60;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.testimonial-card-inner h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 16px; }
.testimonial-card-inner p { font-size: .88rem; color: var(--text-light); line-height: 1.75; margin-bottom: 20px; }
.testi-author { font-size: .85rem; color: var(--dark); font-weight: 600; }
.testi-author span { font-weight: 400; color: var(--text-light); display: block; font-size: .8rem; }
.testi-dots { display: flex; gap: 6px; margin-top: 18px; }
.testi-dots span { width: 8px; height: 8px; border-radius: 50%; background: #ddd; display: block; }
.testi-dots span.active { background: var(--primary); }
.testi-quote { position: absolute; bottom: 20px; right: 20px; font-size: 3rem; color: rgba(0,0,0,.08); font-family: Georgia, serif; line-height: 1; }
.video-side { position: relative; z-index: 1; overflow: hidden; }
.video-side video { width: 100%; height: 100%; object-fit: cover; display: block; }

.our-clients { padding: 60px 0; text-align: center; }
.our-clients h2 { color: var(--dark); font-size: 1.6rem; font-weight: 700; margin-bottom: 36px; }
.clients-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.clients-logos img { height: 40px; object-fit: contain; filter: grayscale(20%); opacity: .85; transition: opacity .2s; }
.clients-logos img:hover { opacity: 1; filter: none; }

.floor-plans-section { padding: 70px 0 80px; text-align: center; }
.floor-plans-section h2 { color: var(--primary); font-size: 1.85rem; font-weight: 700; margin-bottom: 40px; }
.fp-slider { position: relative; overflow: hidden; }
.fp-slide { display: none; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start; }
.fp-slide.active { display: grid; }
.floor-plan-col img { width: 100%; height: 320px; object-fit: cover; display: block; border-radius: 4px; }
.floor-plan-col img.fp-plan { object-fit: contain; background: #f9f9f9; }
.floor-plan-col .fp-label { display: block; margin-top: 12px; color: var(--primary); font-weight: 700; font-size: .95rem; }
.floor-plans-nav { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }
.floor-plans-nav button {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.floor-plans-nav button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.svc-cta { background: #2e2e2e; padding: 44px 0; }
.svc-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.svc-cta h3 { color: #fff; font-size: 1.5rem; font-weight: 700; margin: 0; }
.svc-cta .btn-outline-white {
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: #fff;
  padding: 10px 24px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .2s;
}
.svc-cta .btn-outline-white:hover { background: rgba(255,255,255,.1); }

.svc-footer { background: #1e1e1e; padding: 60px 0 0; }
.svc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; align-items: start; }
.svc-footer .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.svc-footer .footer-logo img { height: 80px; }
.svc-footer .footer-logo span { color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .5px; text-transform: uppercase; }
.svc-footer p { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.7; margin-bottom: 20px; }
.svc-footer-subscribe { display: flex; gap: 0; border-radius: 4px; overflow: hidden; }
.svc-footer-subscribe input { flex: 1; padding: 10px 14px; border: none; font-size: .85rem; outline: none; background: #2c2c2c; color: #fff; }
.svc-footer-subscribe input::placeholder { color: rgba(255,255,255,.35); }
.svc-footer-subscribe button { background: var(--primary); color: #fff; border: none; padding: 10px 18px; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.svc-footer h5 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 18px; }
.svc-footer-links { list-style: none; padding: 0; margin: 0; }
.svc-footer-links li { margin-bottom: 10px; }
.svc-footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; text-decoration: none; transition: color .2s; }
.svc-footer-links a:hover { color: var(--primary); }
.svc-footer-social { display: flex; gap: 14px; margin-top: 8px; }
.svc-footer-social a { color: rgba(255,255,255,.6); font-size: 1.3rem; transition: color .2s; }
.svc-footer-social a:hover { color: var(--primary); }
.svc-footer-copyright { background: var(--primary); text-align: center; padding: 14px 0; margin-top: 48px; }
.svc-footer-copyright p { color: rgba(255,255,255,.85); font-size: .82rem; margin: 0; }

/* =============================================
   SERVICE DETAILS PAGE
   ============================================= */

.sd-hero { width: 100%; height: 340px; overflow: hidden; }
.sd-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

.sd-section { padding: 70px 0 80px; }
.sd-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Main left column */
.sd-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 28px;
}
.sd-h2 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.sd-p {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.sd-features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 28px;
}
.sd-feature-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.sd-feature-title i { color: var(--primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.sd-feature-title h4 { font-size: .95rem; font-weight: 700; color: var(--primary); margin: 0; line-height: 1.3; }
.sd-feature p { font-size: .85rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.sd-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}
.sd-img-row img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; display: block; }
.sd-bullet-list {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0 28px;
}
.sd-bullet-list li { font-size: .9rem; color: var(--text-light); padding: 3px 0; }
.sd-h4 { color: var(--primary); font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.sd-inline-section {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 24px;
}
.sd-inline-text { flex: 1; }
.sd-inline-img { width: 160px; flex-shrink: 0; }
.sd-inline-img img { width: 100%; border-radius: 4px; }

/* Sidebar */
.sd-svc-list { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; }
.sd-svc-list li { border-bottom: 1px solid #eee; }
.sd-svc-list li:last-child { border-bottom: none; }
.sd-svc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.sd-svc-list a:hover { background: var(--primary); color: #fff; }
.sd-svc-list a i { font-size: .7rem; color: var(--text-light); transition: color .2s; }
.sd-svc-list a:hover i { color: #fff; }

.sd-contact-box {
  background: var(--primary);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
}
.sd-contact-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.sd-contact-icon i { color: #fff; font-size: 1.4rem; }
.sd-contact-label { color: rgba(255,255,255,.8); font-size: .8rem; margin-bottom: 6px; }
.sd-contact-phone {
  display: block;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-head);
  margin-bottom: 12px;
  text-decoration: none;
}
.sd-contact-desc { color: rgba(255,255,255,.75); font-size: .8rem; line-height: 1.6; margin: 0; }

/* =============================================
   PORTFOLIO PAGE
   ============================================= */

.pf-hero { width: 100%; height: 340px; overflow: hidden; }
.pf-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

.pf-grid-section { padding: 48px 0 40px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.pf-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pf-thumb:hover img { transform: scale(1.05); }
.pf-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  transition: background .3s;
}
.pf-thumb:hover .pf-thumb-overlay { background: rgba(20,100,240,.35); }
.pf-thumb.active .pf-thumb-overlay { background: rgba(20,100,240,.5); }
.pf-thumb.active { outline: 3px solid var(--primary); outline-offset: -3px; }

/* Showcase */
.pf-showcase { padding: 0 0 80px; }
.pf-showcase-label {
  text-align: center;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

/* Carousel */
.pf-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.pf-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.pf-carousel-item {
  flex: 0 0 37%;
  padding: 0 6px;
  box-sizing: border-box;
}
.pf-carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.pf-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: background .2s, color .2s;
  z-index: 10;
}
.pf-nav-btn:hover { background: var(--primary); color: #fff; }
.pf-nav-prev { left: 16px; }
.pf-nav-next { right: 16px; }

/* Portfolio showcase header */
.pf-showcase-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.pf-showcase-label { margin-bottom: 0; }
.pf-view-details {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: 4px;
  transition: all .2s;
  white-space: nowrap;
}
.pf-view-details:hover { background: var(--primary); color: #fff; }

/* =============================================
   PORTFOLIO DETAILS PAGE
   ============================================= */

.pd-hero { position: relative; width: 100%; height: 340px; overflow: hidden; }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 100%);
  display: flex;
  align-items: center;
}
.pd-hero-overlay h1 { color: #fff; font-size: 2.2rem; margin-bottom: 10px; }
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.pd-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.pd-breadcrumb a:hover { color: #fff; }
.pd-breadcrumb i { font-size: .65rem; }
.pd-breadcrumb span { color: #fff; }

.pd-section { padding: 60px 0 40px; }
.pd-layout { max-width: 860px; }

/* Top: image + info card */
.pd-top { display: grid; grid-template-columns: 1fr 240px; gap: 0; margin-bottom: 36px; align-items: end; }
.pd-top-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 4px 0 0 4px;
}
.pd-info-card {
  background: #fff;
  border: 1px solid #eee;
  border-left: none;
  padding: 24px 20px;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 4px 16px rgba(0,0,0,.07);
}
.pd-info-date {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.pd-info-row {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-info-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
}
.pd-info-val { font-size: .88rem; color: var(--text); font-weight: 500; }

.pd-h2 { color: var(--primary); font-size: 1.4rem; font-weight: 700; margin: 28px 0 14px; }
.pd-p { color: var(--text-light); font-size: .9rem; line-height: 1.8; margin-bottom: 14px; }
.pd-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.pd-img-pair img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; display: block; }
.pd-highlights { list-style: none; padding: 0; margin: 14px 0 24px; }
.pd-highlights li { margin-bottom: 8px; }
.pd-highlights a {
  color: var(--primary);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-highlights a::before { content: '›'; font-size: 1.1rem; font-weight: 700; }
.pd-highlights a:hover { text-decoration: underline; }

/* Related projects */
.pd-related-section { margin-top: 60px; }
.pd-related-title {
  text-align: center;
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.pd-related-card { text-decoration: none; color: inherit; display: block; }
.pd-related-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; margin-bottom: 12px; }
.pd-related-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pd-related-card:hover .pd-related-img img { transform: scale(1.05); }
.pd-related-cat { font-size: .75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.pd-related-info h5 { font-size: 1rem; color: var(--dark); font-weight: 700; }

/* Partner logos */
.pd-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 0 60px;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
}
.pd-logos img { height: 36px; object-fit: contain; opacity: .7; filter: grayscale(30%); transition: opacity .2s; }
.pd-logos img:hover { opacity: 1; filter: none; }

/* =============================================
   TEAM PAGE
   ============================================= */

/* Dark gradient banner with text */
.team-banner {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.team-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #3b2a10 40%, #1c1c1c 100%);
  z-index: 0;
}
.team-banner .container { position: relative; z-index: 1; }
.team-banner h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.team-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.team-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.team-breadcrumb a:hover { color: #fff; }
.team-breadcrumb i { font-size: .6rem; }
.team-breadcrumb span { color: rgba(255,255,255,.9); }

/* Team grid */
.team-section { padding: 70px 0 60px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Team card */
.team-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.team-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.team-card:hover > img { transform: scale(1.06); }

/* Slide-up overlay */
.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 22px 20px 20px;
  transform: translateY(100%);
  transition: transform .35s ease;
}
.team-card:hover .team-overlay { transform: translateY(0); }
.team-overlay h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-overlay span {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  display: block;
  margin-bottom: 14px;
}
.team-socials { display: flex; gap: 8px; }
.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  text-decoration: none;
  transition: background .2s;
}
.team-socials a:hover { background: rgba(255,255,255,.4); }

/* Partner logos */
.team-logos { padding: 48px 0; border-top: 1px solid #eee; }
.team-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.team-logos-row img {
  height: 40px;
  object-fit: contain;
  opacity: .7;
  filter: grayscale(20%);
  transition: opacity .2s, filter .2s;
}
.team-logos-row img:hover { opacity: 1; filter: none; }

/* =============================================
   BLOG GRID PAGE
   ============================================= */

/* Banner */
.blog-banner {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
}
.blog-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #3b2a10 40%, #1c1c1c 100%);
  z-index: 0;
}
.blog-banner .container { position: relative; z-index: 1; }
.blog-banner h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.blog-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.blog-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.blog-breadcrumb a:hover { color: #fff; }
.blog-breadcrumb i { font-size: .65rem; }

/* Grid section */
.blog-grid-section { padding: 80px 0 60px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

/* Blog card */
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px 22px 24px; }
.blog-card-by {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0 0 8px;
  text-align: center;
}
.blog-card-by span { color: var(--text-light); font-weight: 500; }
.blog-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.blog-card-body h3 a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}
.blog-card-body h3 a:hover { color: var(--primary-dark); }
.blog-card-excerpt {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 14px;
}
.blog-read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.blog-read-more:hover { color: var(--primary); }

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.blog-page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.blog-page-btn:hover,
.blog-page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.blog-page-next { font-size: .8rem; }

/* =============================================
   BLOG DETAILS PAGE
   ============================================= */

/* Layout */
.bd-section { padding: 72px 0 80px; }
.bd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Main image */
.bd-main-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.bd-main-img img { width: 100%; height: 100%; object-fit: cover; }

/* Meta line */
.bd-meta {
  display: flex;
  gap: 24px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.bd-meta i { margin-right: 5px; color: var(--primary); }

/* Post title */
.bd-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 18px;
  line-height: 1.35;
}

/* Body paragraphs */
.bd-p {
  font-size: .93rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0 0 16px;
}

/* Blockquote */
.bd-quote {
  border-left: 4px solid var(--primary);
  background: var(--light);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.bd-quote p {
  font-size: .95rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin: 0 0 8px;
}
.bd-quote cite {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 600;
  font-style: normal;
}

/* Video */
.bd-video {
  width: 100%;
  background: #2a4a7f;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.bd-video video { width: 100%; display: block; max-height: 340px; object-fit: cover; }

/* Sub-heading */
.bd-h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px;
}

/* Tags + Share row */
.bd-tags-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin: 24px 0;
}
.bd-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bd-tags-label { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.bd-tags a {
  font-size: .78rem;
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-light);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.bd-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.bd-share { display: flex; align-items: center; gap: 6px; }
.bd-share > span { font-size: .82rem; color: var(--text-muted); margin-right: 2px; }
.bd-share-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: .75rem;
  text-decoration: none;
  transition: opacity .2s;
}
.bd-share-btn:hover { opacity: .8; }
.bd-share-tw { background: #1da1f2; }
.bd-share-fb { background: #1877f2; }
.bd-share-li { background: #0a66c2; }
.bd-share-pi { background: #e60023; }

/* Prev / Next nav */
.bd-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}
.bd-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  text-decoration: none;
  background: var(--light);
  transition: background .2s;
}
.bd-post-nav-item:hover { background: var(--light-2); }
.bd-post-nav-right { text-align: right; border-left: 1px solid var(--border); }
.bd-post-nav-label { font-size: .72rem; font-weight: 700; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.bd-post-nav-title { font-size: .88rem; font-weight: 600; color: var(--primary); }

/* Comments */
.bd-comments { margin-bottom: 48px; }
.bd-comments-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 24px;
}
.bd-comment {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.bd-comment-indent { margin-left: 48px; }
.bd-comment-avatar {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.bd-comment-body { flex: 1; }
.bd-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.bd-comment-meta strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.bd-comment-meta span { font-size: .76rem; color: var(--text-muted); }
.bd-comment-body p { font-size: .88rem; color: var(--text-light); line-height: 1.6; margin: 0 0 8px; }
.bd-reply-btn {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--primary);
  text-decoration: none;
}
.bd-reply-btn:hover { text-decoration: underline; }

/* Comment form */
.bd-comment-form {}
.bd-form-note { font-size: .82rem; color: var(--text-muted); margin: 0 0 20px; }
.bd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bd-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.bd-form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.bd-form-group input,
.bd-form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  resize: vertical;
}
.bd-form-group input:focus,
.bd-form-group textarea:focus { outline: none; border-color: var(--primary); }
.bd-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.bd-form-check input { margin-top: 3px; accent-color: var(--primary); }
.bd-form-check label { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.bd-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
}
.bd-submit:hover { background: var(--primary-dark); }

/* ── Sidebar ── */
.bd-sidebar { display: flex; flex-direction: column; gap: 32px; }
.bd-widget {}
.bd-widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Search */
.bd-search {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bd-search input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
}
.bd-search button {
  background: none;
  border: none;
  padding: 0 14px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: .9rem;
  transition: color .2s;
}
.bd-search button:hover { color: var(--primary); }

/* Category list */
.bd-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bd-cat-list li {}
.bd-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: .88rem;
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.bd-cat-list a:hover { background: var(--light); color: var(--primary); }
.bd-cat-list span { font-size: .78rem; color: var(--text-muted); }

/* Latest Posts */
.bd-latest-list { display: flex; flex-direction: column; gap: 16px; }
.bd-latest-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}
.bd-latest-item img {
  width: 64px; height: 52px; min-width: 64px;
  object-fit: cover;
  border-radius: var(--radius);
}
.bd-latest-item p {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  transition: color .2s;
}
.bd-latest-item:hover p { color: var(--primary); }

/* Tags cloud */
.bd-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-tags-cloud a {
  font-size: .78rem;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-light);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.bd-tags-cloud a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =============================================
   404 ERROR PAGE
   ============================================= */

.err-section { padding: 72px 0 80px; }
.err-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* "oops!" handwriting */
.err-oops {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 -20px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* 404 digit row */
.err-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.err-digit {
  font-family: var(--font-head);
  font-size: clamp(140px, 20vw, 220px);
  font-weight: 900;
  color: #e8ddd0;
  line-height: 1;
  letter-spacing: -10px;
  user-select: none;
}

/* Zero container — positions the SVG inside the "0" glyph */
.err-zero-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.err-figure {
  position: absolute;
  width: clamp(56px, 7vw, 90px);
  height: auto;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

/* Heading + sub */
.err-heading {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 12px;
}
.err-sub {
  font-size: .95rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 420px;
}
.err-home-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.err-home-btn:hover { background: var(--primary-dark); }
