:root {
  --ink: #0b1220;
  --navy: #111827;
  --steel: #263244;
  --concrete: #f3f4f6;
  --concrete-dark: #d1d5db;
  --gold: #2f7fd0;      /* brand blue (primary accent) */
  --gold-dark: #17558f; /* deep brand blue (accents on light backgrounds) */
  --orange: #123f7d;    /* navy blue (gradient partner) */
  --blue-light: #8ec6f5; /* light blue (accents on dark backgrounds) */
  --muted: #687385;
  --white: #ffffff;
  --line: #e5e7eb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Aptos, Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #ffffff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--ink), var(--steel));
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 1px;
  border-bottom: 4px solid var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--gold-dark); }
.nav-cta { padding: 9px 16px; border: 1px solid var(--gold); border-radius: 2px; }
.menu-toggle { display: none; border: 0; background: none; font-size: 28px; cursor: pointer; }

.hero {
  min-height: auto;
  position: relative;
  display: grid;
  align-items: start;
  padding: 30px 22px 96px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(180deg, #0a2f63 0%, #0a2346 100%);
}
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(30deg, transparent 48%, rgba(47,127,208,.16) 49%, rgba(47,127,208,.16) 51%, transparent 52%);
  background-size: 58px 58px, 58px 58px, 360px 360px;
  opacity: .9;
}
.crane-line {
  position: absolute;
  right: -50px;
  top: 70px;
  width: 520px;
  height: 360px;
  border-top: 8px solid rgba(47,127,208,.38);
  border-left: 8px solid rgba(47,127,208,.20);
  transform: skewX(-18deg);
}
.crane-line::before, .crane-line::after {
  content: "";
  position: absolute;
  background: rgba(47,127,208,.30);
}
.crane-line::before { width: 8px; height: 230px; top: 0; right: 88px; }
.crane-line::after { width: 140px; height: 8px; top: 224px; right: 20px; }
.hero-content {
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
}
.hero h1 { max-width: 900px; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; margin: 14px 0 24px; letter-spacing: -.04em; }
.hero-subtitle { max-width: 720px; font-size: 19px; color: #e5e7eb; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 20px;
  border-radius: 3px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}
.btn.primary { background: linear-gradient(135deg, #2f7fd0, #1b5fa8); color: #ffffff; box-shadow: 0 16px 32px rgba(47,127,208,.28); }
.btn.primary:hover { background: linear-gradient(135deg, #4a95dc, #2470bd); }
.btn.secondary { border-color: rgba(255,255,255,0.45); color: var(--white); }
.hero-card {
  position: absolute;
  right: max(22px, calc((100vw - 1200px)/2));
  bottom: 62px;
  z-index: 3;
  width: 350px;
  padding: 26px;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  border-left: 5px solid var(--gold);
}
.hero-card span { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; }
.hero-card strong { display: block; margin-top: 8px; font-size: 25px; }
.hero-card p { color: #e5e7eb; margin-bottom: 0; }

.stats-strip {
  width: min(1200px, calc(100% - 44px));
  margin: -48px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(17,24,39,.14);
  border: 1px solid var(--line);
}
.stats-strip div { padding: 26px; border-right: 1px solid var(--line); }
.stats-strip div:last-child { border-right: 0; }
.stats-strip strong { color: var(--gold-dark); font-size: 28px; display: block; }
.stats-strip span { color: var(--muted); font-weight: 800; }

.section { max-width: 1200px; margin: 0 auto; padding: 96px 22px; }
.section-label { color: var(--gold-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin: 12px 0 18px; letter-spacing: -.02em; }
.section-heading { max-width: 780px; margin-bottom: 36px; }
.section-heading p, .intro p { color: var(--muted); font-size: 17px; }

.services {
  max-width: none;
  background: linear-gradient(180deg, var(--concrete), #ffffff);
  padding-left: max(22px, calc((100vw - 1200px)/2));
  padding-right: max(22px, calc((100vw - 1200px)/2));
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17,24,39,0.06);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}
.card-number { color: var(--concrete-dark); font-size: 38px; font-weight: 900; }
.service-card h3 { margin: 10px 0 8px; font-size: 22px; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.delivery { background: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); }
.timeline div { position: relative; background: var(--white); border: 1px solid var(--line); padding: 28px; border-radius: 3px; box-shadow: 0 12px 30px rgba(17,24,39,.05); }
.timeline b { display: grid; place-items: center; width: 44px; height: 44px; background: var(--navy); color: var(--gold); border-radius: 50%; margin-bottom: 16px; position: relative; z-index: 1; }
.timeline h3 { margin: 0 0 8px; }
.timeline p { color: var(--muted); margin: 0; }

.projects {
  max-width: none;
  background:
    linear-gradient(rgba(11,18,32,.94), rgba(11,18,32,.94)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.05) 47px 48px);
  color: var(--white);
  padding-left: max(22px, calc((100vw - 1200px)/2));
  padding-right: max(22px, calc((100vw - 1200px)/2));
}
.section-heading.light p { color: #d1d5db; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-tile {
  min-height: 210px;
  padding: 24px;
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 5px solid var(--gold);
}
.project-tile strong { font-size: 21px; }
.project-tile span { color: #d1d5db; margin-top: 8px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-grid div { border-top: 3px solid var(--gold); padding-top: 20px; }
.value-grid span { color: var(--gold-dark); font-weight: 900; }
.value-grid p { color: var(--muted); }

.cta-section {
  margin: 40px auto 0;
  width: min(1200px, calc(100% - 44px));
  padding: 44px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(17,24,39,.96), rgba(38,50,68,.94)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(47,127,208,.08) 13px 24px);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-left: 6px solid var(--gold);
}
.cta-section h2 { max-width: 720px; margin-bottom: 0; }

.contact-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 34px; }
.contact-info {
  padding: 30px;
  border-radius: 3px;
  background: var(--concrete);
  border: 1px solid var(--line);
}
.contact-info a { color: var(--gold-dark); font-weight: 800; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  font: inherit;
  color: var(--navy);
  outline: none;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(47,127,208,0.13); }
.footer {
  padding: 26px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--muted);
}
.footer a { color: var(--gold-dark); font-weight: 800; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(17,24,39,0.12);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: auto; padding: 24px 22px 64px; }
  .hero-card { left: 22px; right: 22px; bottom: 28px; width: auto; }
  .two-col, .contact-panel { grid-template-columns: 1fr; gap: 28px; }
  .service-grid, .project-grid, .value-grid, .timeline, .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip { margin-top: 0; width: 100%; }
  .stats-strip div { border-bottom: 1px solid var(--line); }
  .cta-section { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 580px) {
  .service-grid, .project-grid, .value-grid, .timeline, .stats-strip { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .cta-section { padding: 28px; }
  .hero h1 { font-size: 42px; }
}

/* Core Line logo and address updates */
.brand-logo {
  height: 54px;
  width: auto;
  max-width: 235px;
  object-fit: contain;
  display: block;
}
.hero-logo-wrap {
  width: min(520px, 90vw);
  padding: 16px 18px;
  margin: 18px auto 24px;
  background: rgba(255,255,255,0.94);
  border-radius: 4px;
  border-left: 5px solid var(--gold);
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}
.motto {
  margin: -10px 0 22px;
  color: var(--gold);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  letter-spacing: .02em;
}
.company-motto {
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
@media (max-width: 580px) {
  .brand-logo { height: 42px; max-width: 180px; }
  .hero-logo-wrap { width: 100%; padding: 12px; }
}

/* Social media links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.social-links a,
.footer-links a {
  text-decoration: none;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(17,24,39,0.12);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
@media (max-width: 580px) {
  .footer-links { justify-content: flex-start; }
}

/* Phone and WhatsApp updates */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 3px;
  background: var(--navy);
  color: var(--white) !important;
  border-left: 4px solid var(--gold);
  font-weight: 900;
}
.hero-logo-wrap {
  text-align: center;
}

/* Detailed About Core Line section */
.about-detailed p {
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-highlight {
  margin-top: 18px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
}


.hero-banner {
  width: min(1400px, 100%);
  margin: 0 auto 34px;
  position: relative;
  z-index: 2;
}
.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.hero-content {
  text-align: center;
}
.hero-subtitle,
.hero h1,
.hero-actions {
  margin-left: auto;
  margin-right: auto;
}
.hero-card {
  display: none;
}


.social-links a, .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.social-links a .social-icon {
  color: var(--navy);
}
.footer-links a .social-icon {
  color: var(--gold-dark);
}
.footer-links a {
  align-items: center;
}
.hero-logo-wrap {
  display: none !important;
}


/* Cover-all highlight section */
.cover-all-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - 1200px)/2));
  padding-right: max(22px, calc((100vw - 1200px)/2));
  background: #ffffff;
  position: relative;
}
.cover-all-card {
  background: var(--white);
  border: 1px solid rgba(47,127,208,.22);
  box-shadow: 0 24px 60px rgba(17,24,39,0.12);
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}
.cover-all-card::before,
.cover-all-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.cover-all-card::before {
  top: 18px;
  left: 18px;
  width: 130px;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), rgba(47,127,208,0));
}
.cover-all-card::after {
  right: 18px;
  bottom: 18px;
  width: 5px;
  height: 130px;
  background: linear-gradient(180deg, var(--gold), rgba(47,127,208,0));
}
.cover-all-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Certificates page */
.active-link {
  color: var(--gold-dark) !important;
}
.certificate-hero {
  padding: 110px 22px;
  background:
    linear-gradient(135deg, rgba(10,35,70,.94), rgba(10,47,99,.90)),
    url('banner-cover.png') center/cover no-repeat;
  color: var(--white);
}
.certificate-hero .section-heading {
  width: min(1200px, 100%);
  margin: 0 auto;
}
.certificate-hero h1 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.02;
  margin: 14px 0 22px;
  letter-spacing: -.03em;
}
.certificate-hero p {
  max-width: 760px;
  color: #e5e7eb;
  font-size: 19px;
}
.certificates-page {
  max-width: 1240px;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.certificate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(17,24,39,0.10);
  display: flex;
  flex-direction: column;
}
.certificate-thumb {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: top center;
  background: var(--concrete);
  border-bottom: 1px solid var(--line);
}
.certificate-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.certificate-card-body h2 {
  font-size: 30px;
  margin: 4px 0 6px;
}
.certificate-card-body p {
  margin: 0;
  color: var(--muted);
}
.certificate-card-body .btn {
  margin-top: 18px;
  align-self: flex-start;
}
.footer-actions {
  gap: 20px;
}

@media (max-width: 920px) {
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-thumb { height: auto; max-height: 720px; }
}


/* Owner message */
.owner-message {
  padding-top: 40px;
  padding-bottom: 40px;
}
.owner-message-card {
  position: relative;
  padding: 42px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(10,35,70,.96), rgba(10,47,99,.92)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.06) 15px 28px);
  color: var(--white);
  border-left: 6px solid var(--gold);
  box-shadow: 0 22px 56px rgba(17,24,39,0.16);
  overflow: hidden;
}
.owner-message-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.owner-message-card .section-label {
  color: var(--gold);
}
.owner-message-card h2 {
  max-width: 820px;
  margin-bottom: 16px;
}
.owner-message-card p {
  max-width: 900px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
}
@media (max-width: 580px) {
  .owner-message-card { padding: 28px; }
}

.owner-message-body {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.owner-message-body p {
  margin: 0 0 18px;
  color: #e5e7eb;
  font-size: 17px;
  line-height: 1.78;
}
.owner-message-body p:last-child {
  margin-bottom: 0;
}


/* Bright gold line decorations */
.section-heading,
.owner-message-card,
.contact-info,
.contact-form,
.service-card,
.project-tile,
.value-grid div,
.cover-all-card,
.certificate-card {
  position: relative;
}
.accent-heading::after,
.section-heading::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(47,127,208,0) 100%);
}
.section.intro,
.owner-message,
.cover-all-section,
.services,
.why-us,
.contact {
  position: relative;
}
.section.intro::before,
.owner-message::before,
.cover-all-section::before,
.services::before,
.why-us::before,
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(22px, calc((100vw - 1200px)/2));
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(47,127,208,0) 100%);
}
.owner-message-card::before,
.contact-info::before,
.contact-form::before,
.cta-section::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47,127,208,0), var(--gold));
}
.service-card::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 42px;
  height: 2px;
  background: var(--gold);
  opacity: .9;
}
.project-tile::after,
.value-grid div::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, var(--gold), rgba(47,127,208,0));
}
.footer-actions .back-to-top {
  position: relative;
}
.footer-actions .back-to-top::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--gold);
}

/* Blue brand alignment — readable accents on dark backgrounds */
.eyebrow,
.motto,
.hero-card span,
.owner-message-card .section-label,
.projects .section-label {
  color: var(--blue-light);
}
.timeline b { color: var(--blue-light); }
.certificate-hero .section-label { color: var(--blue-light); }
.about-highlight { color: var(--gold-dark); }
.certificate-thumb {
  object-fit: contain;
  background: #eef3f9;
  padding: 14px 0;
}
