/* Bamal Fastener  -  Precision Industrial Design */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0D1F35;
  --bg-alt:      #152B44;
  --bg-card:     #1a3352;
  --primary:     #279fda;
  --primary-dk:  #006da8;
  --accent:      #f5a623;
  --text:        #e8edf2;
  --text-muted:  #8ba4b8;
  --border:      rgba(39,159,218,0.18);
  --white:       #ffffff;
  --radius:      6px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--primary); color: var(--white);
  padding: .5rem 1rem; border-radius: var(--radius);
  z-index: 1000; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; line-height: 1.1; letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; max-width: 1200px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.text-center { text-align: center; }

.tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); background: rgba(39,159,218,0.1);
  border: 1px solid rgba(39,159,218,0.3); padding: .25rem .75rem; border-radius: 2px; margin-bottom: 1rem;
}

.divider { width: 50px; height: 4px; background: var(--primary); margin: 1.25rem 0; border-radius: 2px; }
.divider.center { margin: 1.25rem auto; }

.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: .875rem 2.25rem; border-radius: var(--radius);
  transition: all .2s; cursor: pointer; border: none; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(39,159,218,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #1a1a1a; }
.btn-accent:hover { background: #e09400; color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,0.4); }

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem;
  font-weight: 800; color: var(--white); letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: .25rem; align-items: center; }
.nav-links a {
  color: rgba(232,237,242,0.85); font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: .92rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: .5rem .85rem; border-radius: var(--radius); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(39,159,218,0.1); }
.nav-cta { background: var(--primary) !important; color: var(--white) !important; padding: .5rem 1.25rem !important; }
.nav-cta:hover { background: var(--primary-dk) !important; color: var(--white) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column; padding: 1rem 1.5rem 1.5rem; gap: .25rem; align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; font-size: 1.1rem; padding: .75rem 1rem; }
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,31,53,0.92) 0%, rgba(13,31,53,0.72) 50%, rgba(13,31,53,0.88) 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(39,159,218,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,159,218,0.07) 1px, transparent 1px);
  background-size: 50px 50px; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem;
}
.hero-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Barlow Condensed', sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.5rem;
}
.hero-label::before { content: ''; display: block; width: 30px; height: 2px; background: var(--primary); }
.hero h1 { color: var(--white); max-width: 800px; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 1.15rem; color: rgba(232,237,242,0.85); max-width: 560px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-badges { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Barlow Condensed', sans-serif; font-size: .82rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(232,237,242,0.65);
}
.hero-badge svg { color: var(--primary); flex-shrink: 0; }

/* ── Stats Band ── */
.stats-band {
  background: var(--primary-dk);
  border-top: 1px solid rgba(39,159,218,0.3); border-bottom: 1px solid rgba(39,159,218,0.3);
  padding: 2.5rem 1.5rem;
}
.stats-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 2.8rem; font-weight: 900;
  color: var(--white); display: block; line-height: 1;
}
.stat-label {
  font-size: .78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-top: .35rem; display: block;
}
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

/* ── Markets ── */
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.market-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; transition: all .25s; position: relative; overflow: hidden;
}
.market-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.market-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.market-card:hover::before { transform: scaleX(1); }
.market-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.market-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.market-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── Service Cards (Home) ── */
.services-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: all .25s;
}
.service-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon {
  width: 48px; height: 48px; background: rgba(39,159,218,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--primary);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.service-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── About Strip ── */
.about-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; height: 380px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text p { color: var(--text-muted); }
.cert-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(39,159,218,0.1); border: 1px solid rgba(39,159,218,0.3);
  border-radius: var(--radius); padding: .6rem 1rem; margin-top: 1rem;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: 0.04em; color: var(--primary);
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img { height: 260px; }
}

/* ── Locations Cards ── */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.location-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: border-color .2s;
}
.location-card:hover { border-color: var(--primary); }
.location-city { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.location-card address { font-style: normal; font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.location-hq {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3); padding: .1rem .5rem; border-radius: 2px; margin-bottom: .5rem;
}

/* ── Full-width CTA image strip ── */
.img-cta-strip {
  position: relative; overflow: hidden;
  background: var(--primary-dk);
  padding: 4rem 1.5rem; text-align: center;
}
.img-cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.img-cta-strip > * { position: relative; z-index: 1; }
.img-cta-strip h2 { color: var(--white); margin-bottom: 1rem; }
.img-cta-strip p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }

/* ── Services Page ── */
.services-categories { display: flex; flex-direction: column; gap: 4rem; }
.services-cat-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.services-cat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3rem; font-weight: 900; color: rgba(39,159,218,0.15); line-height: 1; }
.services-cat-title h2 { font-size: 1.75rem; margin-bottom: .25rem; }
.services-cat-title p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.services-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.service-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; transition: all .2s;
}
.service-item:hover { border-color: var(--primary); }
.service-bullet { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; flex-shrink: 0; margin-top: .55rem; }
.service-item h4 { margin-bottom: .35rem; }
.service-item p { color: var(--text-muted); font-size: .85rem; margin: 0; }

/* ── About Page ── */
.about-full p { color: var(--text-muted); }
.about-content-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.about-facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) {
  .about-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-facts-grid { grid-template-columns: 1fr; }
}
.people-factor-block {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; border-left: 4px solid var(--primary); margin-top: 2rem;
}
.people-factor-block p { color: var(--text-muted); }
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.leader-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center; transition: border-color .2s;
}
.leader-card:hover { border-color: var(--primary); }
.leader-avatar {
  width: 72px; height: 72px;
  background: rgba(39,159,218,0.12); border: 2px solid rgba(39,159,218,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--primary);
}
.leader-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.leader-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── Locations Page ── */
.locations-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.location-full-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: all .25s;
}
.location-full-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.location-full-card .city-name {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: .25rem;
}
.location-full-card address { font-style: normal; color: var(--text-muted); font-size: .9rem; line-height: 1.8; margin-top: .75rem; }
.location-full-card a.phone { color: var(--primary); font-weight: 600; }
.map-container { height: 450px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 3rem; }

/* ── Contact Page ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
}
.contact-card-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .75rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem;
}
.contact-card a { color: var(--text); }
.contact-card a:hover { color: var(--primary); }
.contact-form-wrap {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-family: 'Barlow', sans-serif;
  font-size: .95rem; padding: .75rem 1rem; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; }
.form-group textarea { height: 140px; resize: vertical; }
.form-group select option { background: var(--bg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none; background: rgba(39,159,218,0.1); border: 1px solid rgba(39,159,218,0.4);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
  color: var(--primary); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border); padding: 6rem 1.5rem 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(39,159,218,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,159,218,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: .78rem; color: var(--text-muted); margin-bottom: .75rem; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.05em; text-transform: uppercase; }
.breadcrumb a { color: var(--primary); }

/* ── Footer ── */
.site-footer { background: #080f1a; border-top: 1px solid var(--border); padding: 3.5rem 1.5rem 2rem; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin: 1rem 0; }
.footer-brand img { height: 36px; width: auto; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { color: rgba(232,237,242,0.6); font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-col address { font-style: normal; color: rgba(232,237,242,0.6); font-size: .9rem; line-height: 1.8; }
.footer-col address a { color: rgba(232,237,242,0.6); }
.footer-col address a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid var(--border); display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: .8rem; margin: 0; }
.footer-cert { display: flex; align-items: center; gap: .5rem; font-family: 'Barlow Condensed', sans-serif; font-size: .82rem; font-weight: 700; color: var(--primary); letter-spacing: 0.05em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* ── Floating CTA ── */
.floating-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: var(--primary); color: white; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(39,159,218,0.4); transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.floating-cta:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(39,159,218,0.55); color: white; }
@media (min-width: 768px) { .floating-cta { bottom: 2rem; right: 2rem; width: 64px; height: 64px; } }

main { padding-top: 72px; }
