/* ==========================================================================
   BuildCraft — Design System
   Palette: deep navy / white / light blue / red
   Fonts:   Sora (display) · Plus Jakarta Sans (body)
   ========================================================================== */

:root {
  --navy:        #0b1f3a;
  --navy-deep:   #071631;
  --navy-soft:   #13294b;
  --blue:        #2d7fc1;
  --blue-soft:   #e8f1fa;
  --blue-mist:   #f3f8fd;
  --red:         #e63946;
  --red-deep:    #c92734;
  --white:       #ffffff;
  --ink:         #10233f;
  --muted:       #5b6b82;
  --line:        #e3ecf5;

  --font-display: "Sora", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 26px;

  --shadow-soft:  0 14px 40px -12px rgba(11, 31, 58, 0.16);
  --shadow-deep:  0 30px 70px -20px rgba(7, 22, 49, 0.35);
  --shadow-red:   0 12px 30px -10px rgba(230, 57, 70, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
a { text-decoration: none; }
::selection { background: var(--red); color: var(--white); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 2px; }
.eyebrow-light { color: #ff8d96; }
.eyebrow-light::before { background: #ff8d96; }

.section { padding: 110px 0; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; }
.section-title em { font-style: normal; color: var(--red); }
.title-light { color: var(--white); }
.section-lead { color: var(--muted); font-size: 1.02rem; line-height: 1.75; max-width: 52ch; }

.section-head { margin-bottom: 0 !important; }

.link-arrow {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--red); gap: 12px; }
.link-arrow:hover i { transform: translateX(2px); }

/* ---------- Buttons ---------- */
.btn-brand {
  --bs-btn-bg: var(--red);
  --bs-btn-color: var(--white);
  background: var(--red);
  border: none;
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-red);
  transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-brand i { transition: transform 0.3s var(--ease); }
.btn-brand:hover { background: var(--red-deep); color: var(--white); transform: translateY(-2px); }
.btn-brand:hover i { transform: translateX(4px); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.8rem 1.7rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); transform: translateY(-2px); }

/* ---------- Brand ---------- */
.site-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.4s;
}
.site-nav.scrolled .site-logo { height: 52px; }
.navbar-brand { padding: 0; line-height: 1; }

/* ---------- Navbar ---------- */
.site-nav {
  padding: 14px 0;
  transition: box-shadow 0.4s, padding 0.4s;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px -8px rgba(11, 31, 58, 0.14);
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.18);
  padding: 8px 0;
}
.site-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 10px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { width: 100%; }
.site-nav .nav-link { color: var(--navy); }
.site-nav.scrolled .nav-link { color: var(--navy); }
.navbar-toggler { border: none; color: var(--navy); font-size: 1.8rem; padding: 0 6px; }
.site-nav.scrolled .navbar-toggler { color: var(--navy); }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991px) {
  #navMenu { background: var(--navy-deep); margin-top: 14px; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-deep); }
  .site-nav .nav-link { color: var(--white) !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  animation: heroZoom 12s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes heroZoom {
  0%   { transform: scale(1);    }
  50%  { transform: scale(1.10); }
  100% { transform: scale(1);    }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(7, 22, 49, 0.48) 0%, rgba(7, 22, 49, 0.22) 38%, rgba(7, 22, 49, 0.04) 62%),
    linear-gradient(to top, rgba(7, 22, 49, 0.45) 0%, transparent 42%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 64px; width: 100%; }

.hero-eyebrow {
  display: flex; gap: 26px;
  font: 700 0.78rem var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #bcd4ea;
  margin-bottom: 18px;
}
.hero-eyebrow span { position: relative; }
.hero-eyebrow span:not(:last-child)::after { content: "|"; position: absolute; right: -16px; color: rgba(255,255,255,0.3); }

.hero-title {
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  animation: heroUp 1s var(--ease) both 0.2s;
}
.hero-title em { font-style: normal; color: var(--red); position: relative; }
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: rgba(230, 57, 70, 0.25);
  z-index: -1;
}
.hero-sub {
  font-size: 1.08rem;
  color: #cddcee;
  max-width: 44ch;
  margin-bottom: 34px;
  animation: heroUp 1s var(--ease) both 0.35s;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: heroUp 1s var(--ease) both 0.5s; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 22, 49, 0.45);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  animation: heroUp 1s var(--ease) both 0.65s;
}
.hero-stat { display: flex; gap: 12px; align-items: flex-start; }
.hero-stat i { font-size: 1.5rem; color: #7db4e0; margin-top: 4px; }
.hero-stat strong { font: 800 1.5rem var(--font-display); color: var(--white); display: block; line-height: 1.1; }
.hero-stat span { font-size: 0.76rem; color: #a9c3dc; line-height: 1.35; display: block; margin-top: 3px; }

.hero-slider-ui {
  position: absolute;
  right: 34px; bottom: 50%;
  transform: translateY(50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-count { font: 700 0.85rem var(--font-display); color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }
.hero-count b { color: var(--white); font-size: 1.05rem; }
.hero-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.08); }
@media (max-width: 991px) { .hero-slider-ui { display: none; } }

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

/* ---------- Geometric shapes ---------- */
.geo { position: absolute; pointer-events: none; }
.geo-red {
  width: 130px; height: 130px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  top: -34px; left: -34px;
  z-index: 1;
  animation: floatY 7s ease-in-out infinite;
}
.geo-navy {
  width: 200px; height: 200px;
  background: var(--navy);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  bottom: -46px; right: -40px;
  z-index: 1;
}
.geo-red-2 {
  width: 120px; height: 120px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  bottom: -32px; left: -32px;
  animation: floatY 8s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- About ---------- */
.about { background: var(--blue-mist); position: relative; }
.about-collage { position: relative; padding: 46px 0 56px 46px; }
.about-main {
  position: relative; z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.about-main img { width: 78%; aspect-ratio: 4/4.6; object-fit: cover; display: block; border-radius: var(--radius-lg); transition: transform 0.7s var(--ease); }
.about-collage:hover .about-main img { transform: scale(1.04); }
.about-small {
  position: absolute;
  right: -14px; bottom: 0;
  width: 46%;
  z-index: 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
  animation: floatY 9s ease-in-out infinite;
}
.about-small img { aspect-ratio: 4/3; object-fit: cover; display: block; }
.about-badge {
  position: absolute;
  top: 8px; right: -6px;
  z-index: 4;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-deep);
  display: flex; gap: 12px; align-items: center;
}
.about-badge strong { font: 800 1.9rem var(--font-display); color: var(--white); }
.about-badge span { font-size: 0.72rem; color: #a9c3dc; line-height: 1.3; }
.about-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.about-points {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-point { display: flex; align-items: center; gap: 14px; }
.point-icon {
  width: 52px; height: 52px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue);
  font-size: 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.about-point:hover .point-icon { background: var(--red); color: var(--white); transform: translateY(-4px) rotate(-4deg); }
.about-point strong { display: block; font: 700 1rem var(--font-display); color: var(--navy); }
.about-point span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Services ---------- */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px -14px rgba(11, 31, 58, 0.14);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  height: 100%;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-deep); }
.service-media { overflow: hidden; position: relative; }
.service-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,22,49,0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
}
.service-card:hover .service-media::after { opacity: 1; }
.service-media img { aspect-ratio: 3/2; object-fit: cover; width: 100%; display: block; transition: transform 0.8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.08); }
.service-body { padding: 26px 26px 30px; position: relative; }
.service-icon {
  position: absolute;
  top: -30px; left: 26px;
  width: 60px; height: 60px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.45rem;
  box-shadow: var(--shadow-soft);
  transition: background 0.4s, transform 0.4s var(--ease);
}
.service-card:hover .service-icon { background: var(--red); transform: rotate(-6deg); }
.service-body h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.service-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; padding-right: 56px; }
.service-btn {
  position: absolute;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-red);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.service-card:hover .service-btn { transform: rotate(-45deg) scale(1.08); }
.service-btn:hover { background: var(--navy); color: var(--white); }

/* ---------- Projects ---------- */
.projects { background: var(--blue-mist); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 26px -12px rgba(11, 31, 58, 0.16);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-deep); }
.project-media { overflow: hidden; position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-card .project-media { aspect-ratio: 4/3; }
.project-featured .project-media { aspect-ratio: 4/3; flex: none; min-height: unset; }
.project-featured .project-media img { position: static; }
.project-flag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--red);
  color: var(--white);
  font: 700 0.7rem var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 8px;
  z-index: 2;
}
.project-body { padding: 18px 20px 20px; position: relative; }
.project-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.project-meta span { font-size: 0.72rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.project-meta i { color: var(--red); font-size: 0.8rem; }
.project-body h3 { font-size: 1rem; margin: 0; padding-right: 46px; }
.project-featured .project-body h3 { font-size: 1rem; }
.project-btn {
  position: absolute;
  right: 18px; bottom: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--red);
  display: grid; place-items: center;
  font-size: 0.95rem;
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.project-card:hover .project-btn { background: var(--red); color: var(--white); border-color: var(--red); transform: scale(1.1); }

/* ---------- Why choose us ---------- */
.why-media { position: relative; padding: 0 34px 34px 0; }
.why-media figure {
  position: relative; z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  margin: 0;
}
.why-media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.why-media:hover img { transform: scale(1.04); }
.why-media::before {
  content: "";
  position: absolute;
  top: 34px; right: 0;
  width: 60%; height: 78%;
  border-radius: var(--radius-lg);
  background: var(--blue-soft);
  z-index: 1;
}
.why-strip {
  position: absolute;
  left: -14px; bottom: 44px;
  z-index: 3;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.85rem;
  box-shadow: var(--shadow-deep);
}
.why-strip i { color: var(--red); font-size: 1.1rem; }

.why-item { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); height: 100%; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.why-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.why-item:hover .why-icon { background: var(--navy); color: var(--white); transform: rotate(-6deg); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* ---------- Process ---------- */
.process { background: var(--blue-mist); position: relative; }
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-line {
  position: absolute;
  top: 44px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px);
  opacity: 0.4;
}
.process-step { position: relative; text-align: center; padding: 0 6px; }
.process-num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  font: 700 0.8rem var(--font-display);
  color: var(--navy);
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 18px -8px rgba(11,31,58,0.25);
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.process-step:hover .process-num { background: var(--red); color: var(--white); border-color: var(--red); transform: scale(1.12); }
.process-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: -8px auto 16px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.process-step:hover .process-icon { transform: translateY(-6px) rotate(-6deg); background: var(--red); }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 0.82rem; line-height: 1.55; margin: 0; }

/* ---------- Impact ---------- */
.impact { position: relative; overflow: hidden; color: var(--white); }
.impact-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1); }
.impact-overlay { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(7,22,49,0.94) 10%, rgba(11,31,58,0.82) 55%, rgba(11,31,58,0.62)); }
.impact-inner { position: relative; z-index: 2; padding: 100px 0; }
.impact-grid { border-left: 1px solid rgba(255,255,255,0.14); }
.impact-stat { text-align: left; padding-left: 18px; }
.impact-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(255,255,255,0.1);
  color: #8ec3ee;
  font-size: 1.25rem;
  margin-bottom: 14px;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.impact-icon-red { background: rgba(230,57,70,0.2); color: #ff8d96; }
.impact-stat:hover .impact-icon { transform: translateY(-5px) rotate(-6deg); background: var(--red); color: var(--white); }
.impact-stat strong { display: block; font: 800 2.1rem var(--font-display); color: var(--white); line-height: 1; }
.impact-stat > span { font-size: 0.8rem; color: #a9c3dc; }

/* ---------- Testimonials ---------- */
.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
  box-shadow: var(--shadow-soft);
  margin: 0 6px 26px;
  position: relative;
}
.t-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 30px;
  font: 800 6rem var(--font-display);
  color: var(--blue-soft);
  line-height: 1;
}
.t-quote { font-size: 1.08rem; color: var(--ink); line-height: 1.75; margin-bottom: 26px; position: relative; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--white);
  font: 700 0.95rem var(--font-display);
  position: relative;
}
.t-avatar::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0.5; }
.t-author strong { display: block; font: 700 0.95rem var(--font-display); color: var(--navy); }
.t-author small { color: var(--muted); font-size: 0.8rem; }
.t-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid; place-items: center;
  margin-right: 10px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.t-arrow:hover { background: var(--red); color: var(--white); border-color: var(--red); transform: translateY(-2px); }
.t-dots { position: static; margin-top: 8px; justify-content: flex-start; }
.t-dots [data-bs-target] {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #c4d5e6;
  border: none;
  opacity: 1;
  margin: 0 5px;
  transition: width 0.3s var(--ease), background 0.3s;
}
.t-dots .active { width: 26px; border-radius: 6px; background: var(--red); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,49,0.92) 20%, rgba(7,22,49,0.55) 70%, rgba(230,57,70,0.35)); }
.cta-inner { position: relative; z-index: 2; padding: 74px 0; }
.cta-title { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-sub { color: #cddcee; margin: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 24px 0 20px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-red);
}
.contact-list li:nth-child(2) .contact-icon { background: var(--blue); box-shadow: var(--shadow-soft); }
.contact-list li:nth-child(3) .contact-icon { background: var(--blue); box-shadow: var(--shadow-soft); }
.contact-list li:nth-child(4) .contact-icon { background: var(--red); box-shadow: var(--shadow-red); }
.contact-list li:nth-child(5) .contact-icon { background: var(--navy); box-shadow: var(--shadow-soft); }
.contact-list strong { display: block; font: 700 0.95rem var(--font-display); color: var(--navy); }
.contact-list small { color: var(--muted); font-size: 0.78rem; }

/* Contact section */
.contact .row { align-items: start; }
.contact-social { margin-bottom: 0; }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 22px;
  width: 100%;
  height: 280px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: var(--radius-lg);
}

.contact-form {
  background: var(--blue-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-soft);
}
.contact-form .form-label { font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.contact-form .form-label em { color: var(--red); font-style: normal; }
.contact-form .form-control, .contact-form .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 127, 193, 0.12);
}
.form-note { margin: 14px 0 0; color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.form-note i { color: #1d9e62; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(135deg, #e8f1fa 0%, #f3f8fd 60%, #eaf3fb 100%); color: var(--ink); padding: 70px 0 0; position: relative; overflow: hidden; }
.footer > .container { padding-left: 40px; padding-right: 40px; }
@media (max-width: 767px) { .footer > .container { padding-left: 20px; padding-right: 20px; } }
.footer-accent {
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 100%;
  background: linear-gradient(200deg, rgba(45,127,193,0.06), transparent 55%);
  pointer-events: none;
}
.footer-tagline { margin-top: 20px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; }
.footer-head { color: var(--navy); font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s, padding-left 0.3s var(--ease); }
.footer-links a:hover { color: var(--red); padding-left: 6px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--white);
  color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 2px 10px -4px rgba(11,31,58,0.12);
  transition: background 0.3s, transform 0.3s var(--ease), color 0.3s;
}
.footer-social a:hover { background: var(--red); color: var(--white); transform: translateY(-4px); }
.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(11,31,58,0.1);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-credit {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  gap: 4px;
}
.to-top {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.to-top:hover { background: var(--red-deep); color: var(--white); transform: translateY(-4px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal[data-reveal="left"] { transform: translateX(-44px); }
.reveal[data-reveal="right"] { transform: translateX(44px); }
.reveal[data-reveal-delay="1"] { transition-delay: 0.12s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.36s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.48s; }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .section { padding: 80px 0; }
  .hero-inner { padding-top: 140px; padding-bottom: 56px; }
  .hero-stats { margin-top: 40px; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .process-line { display: none; }
  .impact-grid { border-left: none; }
  .impact-stat { padding-left: 0; }
  .about-collage { padding: 30px 0 40px 30px; }
}
@media (max-width: 767px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 0; padding: 12px 16px; }
  .about-badge strong { font-size: 1.4rem; }
  .t-card { padding: 32px 26px; }
  .contact-form { padding: 30px 22px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); padding: 18px 14px; }
  .hero-stat i { display: none; }
}
@media (max-width: 575px) {
  .projects-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .hero-eyebrow { gap: 16px; }
  .hero-eyebrow span:not(:last-child)::after { right: -10px; }
}

/* ---------- Contact Social Row ---------- */
.contact-social {
  display: flex;
  gap: 12px;
  margin: 24px 0 0;
  flex-wrap: wrap;
}
.csoc-btn {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  color: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.28);
}
.csoc-btn:hover { transform: translateY(-5px); box-shadow: 0 14px 28px -10px rgba(0,0,0,0.35); }
.csoc-phone { background: var(--navy); }
.csoc-wa    { background: #25d366; }
.csoc-mail  { background: var(--red); }
.csoc-ig    { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

/* ---------- Floating Contact Buttons ---------- */
.float-contacts {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: floatPulse 2.8s ease-in-out infinite;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 14px 32px -10px rgba(0,0,0,0.45); color: var(--white); }
.float-phone { background: var(--red); animation-delay: 0s; }
.float-wa    { background: #25d366; animation-delay: 0.4s; }
.float-ig    { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); animation-delay: 0.8s; }

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

/* ==========================================================================
   Section Decorative Backgrounds � diagonal lines + circle rings
   ========================================================================== */

/* shared: every decorated section is relative + overflow hidden */
.about, .services, .projects, .why, .process, .testimonials, .contact {
  position: relative;
  overflow: hidden;
}
.about .container, .services .container, .projects .container,
.why .container, .process .container, .testimonials .container,
.contact .container { position: relative; z-index: 1; }

/* ---- diagonal line helper (::before = lines, ::after = circle ring) ---- */

/* ABOUT */
.about::after {
  content: "";
  position: absolute; top: -90px; right: -90px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 3px solid rgba(45,127,193,0.12);
  box-shadow: 0 0 0 24px rgba(45,127,193,0.05), 0 0 0 48px rgba(45,127,193,0.03);
  pointer-events: none; z-index: 0;
}

/* SERVICES */
.services::after {
  content: "";
  position: absolute; bottom: -80px; left: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 3px solid rgba(230,57,70,0.1);
  box-shadow: 0 0 0 22px rgba(230,57,70,0.04), 0 0 0 44px rgba(230,57,70,0.02);
  pointer-events: none; z-index: 0;
}

/* PROJECTS */
.projects::after {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 3px solid rgba(45,127,193,0.1);
  box-shadow: 0 0 0 28px rgba(45,127,193,0.04), 0 0 0 56px rgba(45,127,193,0.02);
  pointer-events: none; z-index: 0;
}

/* WHY CHOOSE US */
.why::after {
  content: "";
  position: absolute; bottom: -80px; right: 6%;
  width: 340px; height: 340px; border-radius: 50%;
  border: 3px solid rgba(230,57,70,0.09);
  box-shadow: 0 0 0 24px rgba(230,57,70,0.04), 0 0 0 48px rgba(230,57,70,0.02);
  pointer-events: none; z-index: 0;
}

/* PROCESS */
.process::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px; border-radius: 50%;
  border: 3px solid rgba(45,127,193,0.08);
  box-shadow: 0 0 0 32px rgba(45,127,193,0.03), 0 0 0 64px rgba(45,127,193,0.015);
  pointer-events: none; z-index: 0;
}

/* TESTIMONIALS */
.testimonials::after {
  content: "";
  position: absolute; top: -70px; left: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 3px solid rgba(230,57,70,0.09);
  box-shadow: 0 0 0 20px rgba(230,57,70,0.04), 0 0 0 40px rgba(230,57,70,0.02);
  pointer-events: none; z-index: 0;
}

/* CONTACT */
.contact::after {
  content: "";
  position: absolute; bottom: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 3px solid rgba(45,127,193,0.1);
  box-shadow: 0 0 0 26px rgba(45,127,193,0.04), 0 0 0 52px rgba(45,127,193,0.02);
  pointer-events: none; z-index: 0;
}

/* ---------- Section Watermark ---------- */
.section-wm {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font: 800 clamp(4.5rem, 11vw, 9rem) / 1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 31, 58, 0.07);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.06em;
  user-select: none;
}
.wm-wrap { position: static; }
.wm-wrap > * { position: relative; z-index: 1; }

/* ---------- Footer Contact List ---------- */
.footer-contact-list {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 13px;
}
.footer-contact-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: var(--muted); line-height: 1.55;
}
.footer-contact-list li i { color: var(--red); font-size: 1rem; flex: none; margin-top: 2px; }
.footer-contact-list li strong { color: var(--navy); }
.footer-contact-list li a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-contact-list li a:hover { color: var(--red); }

/* Footer logo */
.footer .site-logo { height: 70px; mix-blend-mode: normal; opacity: 1; }
