/* =============================================================
   ISAWIL CONTRACTORS & TRADERS CO. LTD
   Main Stylesheet
   ============================================================= */

/* ── Variables ── */
:root {
  --primary:      #e8441a;
  --primary-dark: #c43613;
  --dark:         #111111;
  --dark-2:       #1c1c1c;
  --dark-3:       #2e2e2e;
  --text:         #555555;
  --text-light:   #888888;
  --light:        #f8f8f8;
  --white:        #ffffff;
  --border:       #e5e5e5;
  --radius:       6px;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --transition:   all 0.3s ease;
  --max-w:        1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  color: var(--dark);
  font-weight: 700;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section     { padding: 90px 0; }
.section-sm  { padding: 60px 0; }
.section-dark { background: var(--dark); }
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark p   { color: rgba(255,255,255,0.72); }

/* ── Typography helpers ── */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-white h2, .text-white h3 { color: var(--white); }
.text-white .section-tag { color: rgba(255,255,255,0.7); }
.text-white .section-subtitle { color: rgba(255,255,255,0.7); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,68,26,0.45); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-3); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar-info a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
  transition: var(--transition);
}
.topbar-info a:hover { opacity: 1; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-social { display: flex; gap: 8px; align-items: center; }
.topbar-social-label { font-size: 12px; opacity: 0.85; margin-right: 4px; }
.topbar-social a {
  color: var(--white);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  font-size: 11px;
  transition: var(--transition);
}
.topbar-social a:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* Hero overlay header (home page) */
.site-header.header-hero {
  position: absolute;
  width: 100%;
  background: transparent;
  box-shadow: none;
}
.site-header.header-hero .primary-nav > li > a {
  color: var(--white);
}
.site-header.header-hero .primary-nav > li > a:hover,
.site-header.header-hero .primary-nav > li > a.active {
  color: var(--primary);
}
.site-header.header-hero .nav-toggle span {
  background: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 20px;
}
.site-logo img { height: 46px; width: auto; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: block;
  padding: 8px 13px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-3);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.primary-nav > li > a:hover,
.primary-nav > li > a.active { color: var(--primary); }
.primary-nav > li.has-dropdown > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 200;
  padding: 8px 0;
}
.primary-nav > li:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}
.dropdown a:hover { color: var(--primary); background: var(--light); padding-left: 24px; }

/* Nav CTA */
.nav-cta { margin-left: 8px; flex-shrink: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.68)),
              url('../.././../website/wp-content/uploads/2025/07/hector-martinez-110928-unsplash.jpg') center/cover no-repeat;
  padding: 90px 0 70px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 5vw, 52px); margin-bottom: 14px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }
.breadcrumb .current { color: var(--primary); }

/* ══════════════════════════════════════════
   HOME HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 24s infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.42) 60%, rgba(0,0,0,0.28) 100%);
}

/* ── Hero slide images ── */
.hero-slide-1 { background-image: url('../uploads/images/hero-construction_site.jpg'); animation-delay: 0s; }
.hero-slide-2 { background-image: url('../uploads/images/hero-appartments.jpg');       animation-delay: 6s; }
.hero-slide-3 { background-image: url('../uploads/images/construction_guys.png');        animation-delay: 12s; }
.hero-slide-4 { background-image: url('../uploads/images/hero-excavator.jpg');         animation-delay: 18s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero .container { position: relative; z-index: 1; padding-bottom: 90px; padding-left: 50px; }
.hero-content { max-width: 840px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 26px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6.5vw, 82px);
  line-height: 1.08;
  margin-bottom: 22px;
  font-weight: 800;
}
.hero h1 span { color: var(--primary); }
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 38px;
  max-width: 500px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  position: absolute;
  bottom: 60px;
  right: 80px;
  background: var(--primary);
  color: var(--white);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(232,68,26,0.4);
}
.hero-badge strong { font-size: 34px; font-weight: 800; line-height: 1; }
.hero-badge span { font-size: 12px; font-weight: 500; opacity: 0.9; line-height: 1.4; margin-top: 4px; }

/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.stats-bar { background: var(--dark-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 38px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ══════════════════════════════════════════
   ABOUT (home)
══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-image-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 22px;
  border-radius: 8px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 8px 30px rgba(232,68,26,0.35);
}
.about-image-badge strong { display: block; font-size: 30px; font-family: 'Poppins', sans-serif; font-weight: 800; }
.about-image-badge span { font-size: 12px; opacity: 0.9; font-weight: 500; }
.about-points { margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.about-point-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(232,68,26,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 18px;
  flex-shrink: 0;
}
.about-point-text h4 { font-size: 15px; margin-bottom: 3px; }
.about-point-text p { font-size: 14px; color: var(--text-light); margin: 0; }

/* ══════════════════════════════════════════
   SERVICES SECTION (home cards)
══════════════════════════════════════════ */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.1);
}
.service-icon {
  width: 62px; height: 62px;
  background: rgba(232,68,26,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 26px;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: var(--white); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text); line-height: 1.75; margin: 0; }

/* ══════════════════════════════════════════
   PROJECTS GRID (home)
══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  background: var(--dark-2);
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.project-card:hover img { transform: scale(1.07); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.project-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 6px;
}
.project-overlay h3 { color: var(--white); font-size: 17px; margin-bottom: 4px; }
.project-overlay p { color: rgba(255,255,255,0.72); font-size: 13px; margin: 0; }

/* ══════════════════════════════════════════
   PARTNERS / CLIENTS
══════════════════════════════════════════ */
.partners-section { padding: 50px 0; background: var(--light); }
.partners-label {
  text-align: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 36px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.partners-logos img {
  height: 52px; width: auto;
  opacity: 0.5; filter: grayscale(100%);
  transition: var(--transition);
}
.partners-logos img:hover { opacity: 1; filter: grayscale(0%); }

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band { background: var(--primary); padding: 70px 0; }
.cta-inner {
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(22px, 3.5vw, 36px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 16px; }

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text); margin: 0; line-height: 1.75; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.cert-card {
  background: var(--light);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
}
.cert-card i { font-size: 36px; color: var(--primary); margin-bottom: 14px; }
.cert-card h4 { font-size: 15px; margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--text-light); margin: 0; }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mvv-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 36px 28px;
  /* border-top: 3px solid var(--primary); */
}
.mvv-card h3 { color: var(--white); font-size: 20px; margin-bottom: 14px; }
.mvv-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; margin: 0; }

/* ══════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-img { order: 2; }
.service-detail.reverse .service-detail-body { order: 1; }
.service-detail-img img {
  width: 100%; border-radius: 8px;
  aspect-ratio: 4/3; object-fit: cover;
}
.service-number {
  font-family: 'Poppins', sans-serif;
  font-size: 64px; font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}
.service-detail h2 { font-size: 28px; margin-bottom: 14px; }
.service-detail p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 15px; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.service-list li i { color: var(--primary); font-size: 12px; }

/* ══════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════ */
.portfolio-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px; justify-content: center;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer; border: 2px solid var(--border);
  background: transparent; color: var(--text);
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item {
  border-radius: 8px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
  transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.portfolio-img-wrap { overflow: hidden; }
.portfolio-img-wrap img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.45s ease;
}
.portfolio-item:hover .portfolio-img-wrap img { transform: scale(1.05); }
.portfolio-body { padding: 20px 22px; }
.portfolio-body .ptag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 6px;
}
.portfolio-body h3 { font-size: 16px; margin-bottom: 6px; }
.portfolio-body p { font-size: 13px; color: var(--text-light); margin: 0; }
.portfolio-body .cost {
  font-size: 13px; font-weight: 700;
  color: var(--dark); margin-top: 10px; display: block;
}

/* ══════════════════════════════════════════
   BLOG PAGE
══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white); border-radius: 8px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.blog-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-img-wrap { overflow: hidden; }
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--text-light);
  margin-bottom: 10px; flex-wrap: wrap;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.read-more {
  font-size: 13px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.read-more:hover { gap: 10px; }

/* ══════════════════════════════════════════
   BLOG POST PAGE
══════════════════════════════════════════ */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.blog-post-header { margin-bottom: 32px; }
.blog-post-header .post-category {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  background: rgba(232,68,26,0.09);
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 14px;
}
.blog-post-header h1 {
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.25;
  margin-bottom: 18px;
}
.blog-post-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-light);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.blog-post-meta span { display: flex; align-items: center; gap: 6px; }
.blog-post-featured-img {
  width: 100%; border-radius: 8px;
  aspect-ratio: 16/8; object-fit: cover;
  margin-bottom: 36px;
  display: block;
}
/* Article body typography */
.blog-post-body { font-size: 15px; line-height: 1.85; color: var(--text); }
.blog-post-body h2 {
  font-size: 22px; color: var(--dark);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(232,68,26,0.15);
}
.blog-post-body h3 {
  font-size: 18px; color: var(--dark);
  margin: 30px 0 10px;
}
.blog-post-body p { margin-bottom: 20px; }
.blog-post-body ul,
.blog-post-body ol { padding-left: 20px; margin-bottom: 20px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body ul li::marker { color: var(--primary); }
.blog-post-body strong { color: var(--dark); }
.blog-post-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--light);
  padding: 18px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--dark);
}
.blog-post-body blockquote p { margin: 0; }
.blog-post-body img {
  width: 100%; border-radius: 8px;
  margin: 28px 0; display: block;
}
.blog-post-body .info-box {
  background: rgba(232,68,26,0.06);
  border: 1px solid rgba(232,68,26,0.2);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}
.blog-post-body .info-box p { margin: 0; font-size: 14px; }
.blog-post-body .info-box i { color: var(--primary); margin-right: 8px; }
.post-tags { margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-tags span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-right: 4px; }
.tag-chip {
  padding: 5px 14px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px; color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}
.tag-chip:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Blog sidebar */
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.sidebar-widget h4 {
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.sidebar-recent { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent li { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-recent img {
  width: 62px; height: 50px;
  object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.sidebar-recent a { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; display: block; }
.sidebar-recent a:hover { color: var(--primary); }
.sidebar-recent .rdate { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.sidebar-cats { list-style: none; display: flex; flex-direction: column; gap: 0; }
.sidebar-cats li { border-bottom: 1px solid var(--border); }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: 14px; color: var(--text);
  transition: var(--transition);
}
.sidebar-cats a:hover { color: var(--primary); padding-left: 4px; }
.sidebar-cats .count {
  background: var(--light); border-radius: 50px;
  padding: 2px 8px; font-size: 11px; font-weight: 700; color: var(--text-light);
}
.sidebar-cta {
  background: var(--dark);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 13px; margin-bottom: 20px; line-height: 1.6; }

.blog-back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--text-light);
  margin-bottom: 28px;
  transition: var(--transition);
}
.blog-back-link:hover { color: var(--primary); }
.blog-back-link i { font-size: 11px; }

/* CMS feature list */
.cms-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.cms-feature-item {
  background: var(--light);
  border-radius: 8px;
  padding: 18px 20px;
}
.cms-feature-item i { color: var(--primary); margin-right: 8px; }
.cms-feature-item h5 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.cms-feature-item p { font-size: 13px; color: var(--text); margin: 0; line-height: 1.5; }

@media (max-width: 1024px) {
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .cms-feature-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: 30px; margin-bottom: 12px; }
.contact-info > p { color: var(--text); margin-bottom: 36px; font-size: 15px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-item-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px;
}
.contact-item-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.contact-item-text a,
.contact-item-text p { font-size: 15px; color: var(--dark); margin: 0; display: block; }
.contact-item-text a:hover { color: var(--primary); }
.contact-form-wrap {
  background: var(--light);
  border-radius: 12px;
  padding: 44px;
}
.contact-form-wrap h3 { font-size: 22px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-family: inherit;
  color: var(--dark); background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-full { grid-column: 1 / -1; }
.map-wrap { margin-top: 60px; border-radius: 12px; overflow: hidden; }
.map-wrap iframe { display: block; width: 100%; border: none; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.68); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo img { height: 44px; width: auto; filter: brightness(10); }
.footer-brand-desc {
  font-size: 14px; line-height: 1.8;
  margin: 18px 0 24px;
  color: rgba(255,255,255,0.58);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-col h4 {
  color: var(--white); font-size: 15px; font-weight: 700;
  margin-bottom: 22px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,0.62);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-links a::before { content: '›'; color: var(--primary); font-size: 16px; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex; gap: 12px;
  margin-bottom: 16px; font-size: 14px;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--primary); margin-top: 4px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.62); transition: var(--transition); display: block; }
.footer-contact-item a:hover { color: var(--white); }
.footer-contact-item span { color: rgba(255,255,255,0.62); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   PLACEHOLDER IMAGE (inline)
══════════════════════════════════════════ */
.img-placeholder {
  background: linear-gradient(135deg, #1c1c1c 0%, #2e2e2e 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25); font-size: 13px;
  font-family: 'Poppins', sans-serif; letter-spacing: 1px;
  font-weight: 600; text-transform: uppercase;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid-home { grid-template-columns: repeat(2, 1fr); }
  .projects-grid      { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .blog-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-grid         { gap: 44px; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .stat-item          { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cert-grid          { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid           { grid-template-columns: repeat(2, 1fr); }
  .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
  .service-detail     { gap: 40px; }
}

@media (max-width: 768px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav-open .primary-nav {
    display: flex; flex-direction: column;
    position: fixed;
    top: 74px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    gap: 0; z-index: 999;
    overflow-y: auto;
  }
  .mobile-nav-open .primary-nav > li > a {
    padding: 13px 24px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .mobile-nav-open .primary-nav > li > a::after { float: right; }
  .mobile-nav-open .dropdown {
    position: static; box-shadow: none; border-top: none;
    padding: 0 0 4px 16px; display: block;
    background: var(--light);
  }
  .mobile-nav-open .dropdown a { padding: 10px 24px; border-bottom: 1px solid var(--border); }

  .section { padding: 60px 0; }
  .about-grid         { grid-template-columns: 1fr; }
  .about-image-wrap   { order: -1; }
  .about-image-badge  { right: 0; bottom: -16px; }
  .services-grid-home { grid-template-columns: 1fr; }
  .projects-grid      { grid-template-columns: 1fr; }
  .portfolio-grid     { grid-template-columns: 1fr; }
  .blog-grid          { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .cert-grid          { grid-template-columns: 1fr; }
  .mvv-grid           { grid-template-columns: 1fr; }
  .contact-form-wrap  { padding: 28px; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .service-detail     { grid-template-columns: 1fr; gap: 28px; }
  .service-detail.reverse .service-detail-img { order: 0; }
  .service-detail.reverse .service-detail-body { order: 0; }
  .hero-badge         { display: none; }
  .cta-inner          { flex-direction: column; text-align: center; }
  .topbar-info        { display: none; }
  .partners-logos     { gap: 28px; }
  .hero h1            { font-size: clamp(32px, 8vw, 52px); }
}

@media (max-width: 480px) {
  .footer-grid  { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
