/* =====================================================
   TRISAC LIMITED — Design System
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

/* ── Variables ── */
:root {
  --navy:   #00305B;
  --gold:   #E8A020;
  --blue:   #1565A8;
  --light:  #F4F8FC;
  --text:   #2C3E50;
  --white:  #ffffff;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: none; }

p { color: var(--text); margin-bottom: 1rem; }

img { max-width: 100%; height: auto; display: block; }

/* ── Top Bar ── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 2px solid var(--gold);
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--gold); }
.top-bar .fa { margin-right: 5px; color: var(--gold); }
.top-bar-item { display: inline-block; margin-right: 20px; }

/* ── Navbar ── */
.trisac-navbar {
  background: rgba(0, 48, 91, 0.95);
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  min-height: 64px;
}
.trisac-navbar.navbar-scrolled {
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.trisac-navbar .navbar-brand {
  padding: 10px 15px;
  height: 64px;
  line-height: 44px;
}
.trisac-navbar .navbar-brand img {
  height: 44px;
  display: inline-block;
}
.trisac-navbar .navbar-nav > li > a {
  color: rgba(255,255,255,0.88) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 22px 14px;
  transition: color 0.2s;
}
.trisac-navbar .navbar-nav > li > a:hover,
.trisac-navbar .navbar-nav > li.active > a {
  color: var(--gold) !important;
  background: transparent !important;
}
.trisac-navbar .navbar-toggle {
  border-color: rgba(255,255,255,0.3);
  margin-top: 15px;
}
.trisac-navbar .navbar-toggle .icon-bar { background: var(--white); }
.trisac-navbar .navbar-collapse { border-top: none; box-shadow: none; }

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('../images/stylistbg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,48,91,0.88) 0%, rgba(0,48,91,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 52px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ── Buttons ── */
.btn-trisac-primary {
  background: var(--gold);
  color: var(--navy) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  display: inline-block;
  transition: all 0.25s;
  margin: 6px 8px;
}
.btn-trisac-primary:hover {
  background: #d4911a;
  border-color: #d4911a;
  color: var(--white) !important;
  transform: translateY(-1px);
}
.btn-trisac-outline {
  background: transparent;
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 3px;
  display: inline-block;
  transition: all 0.25s;
  margin: 6px 8px;
}
.btn-trisac-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-trisac-navy {
  background: var(--navy);
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 2px solid var(--navy);
  border-radius: 3px;
  display: inline-block;
  transition: all 0.25s;
  margin: 6px 8px;
}
.btn-trisac-navy:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--gold);
  padding: 28px 0;
}
.stat-item {
  text-align: center;
  padding: 10px 15px;
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(0,48,91,0.2);
}

/* ── Section Styles ── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); }

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-title-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  display: block;
  margin-bottom: 20px;
}
.section-title-bar.center { margin-left: auto; margin-right: auto; }
.section-subtitle {
  font-size: 16px;
  color: #5a6a7a;
  margin-bottom: 40px;
}
.section-header-center { text-align: center; }

/* ── Service Cards ── */
.service-card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 24px;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,48,91,0.12);
  transform: translateY(-4px);
}
.service-card .service-icon {
  width: 64px;
  height: 64px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--gold); }
.service-card .service-icon .fa {
  font-size: 26px;
  color: var(--navy);
  transition: color 0.3s;
}
.service-card:hover .service-icon .fa { color: var(--white); }
.service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-card p { font-size: 13.5px; color: #5a6a7a; margin: 0; }

/* icon flex fallback for older browsers */
.service-icon { display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }

/* ── Who We Are ── */
.about-intro-text { font-size: 16px; line-height: 1.8; }
.value-card {
  background: var(--light);
  border-left: 4px solid var(--gold);
  padding: 24px 20px;
  margin-bottom: 20px;
  border-radius: 0 4px 4px 0;
}
.value-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 14px; margin: 0; color: #5a6a7a; }
.value-card .fa { color: var(--gold); font-size: 20px; margin-right: 10px; }

/* ── Why Choose Us ── */
.why-item { display: flex; gap: 18px; margin-bottom: 32px; align-items: flex-start; }
.why-icon {
  min-width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon .fa { font-size: 20px; color: var(--navy); }
.why-text h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.why-text p { font-size: 14px; color: #5a6a7a; margin: 0; }

/* ── Clients Grid ── */
.clients-section { background: var(--light); }
.client-logo-wrap {
  text-align: center;
  padding: 12px;
  filter: grayscale(60%);
  opacity: 0.8;
  transition: all 0.3s;
}
.client-logo-wrap:hover { filter: grayscale(0%); opacity: 1; }
.client-logo-wrap img { max-height: 80px; width: auto; margin: 0 auto; }

/* ── CTA Band ── */
.cta-band {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 32px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 30px; }

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 60%, var(--blue) 100%);
  padding: 90px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.page-banner h1 {
  color: var(--white);
  font-size: 38px;
  margin-bottom: 10px;
}
.page-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin: 0;
}
.breadcrumb-nav { margin-top: 12px; }
.breadcrumb-nav a { color: var(--gold); font-size: 13px; }
.breadcrumb-nav span { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0 6px; }
.breadcrumb-nav span.current { color: rgba(255,255,255,0.8); }

/* ── About Page ── */
.about-section-img {
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,48,91,0.15);
  width: 100%;
  margin-bottom: 20px;
}
.office-card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 20px;
}
.office-card h4 { font-size: 14px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.office-card p { font-size: 14px; color: #5a6a7a; margin: 0 0 5px; }

/* ── Policy Page ── */
.policy-section { border-bottom: 1px solid #e0e8f0; padding-bottom: 40px; margin-bottom: 40px; }
.policy-section:last-child { border-bottom: none; }
.policy-section h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.policy-section ul { padding-left: 20px; }
.policy-section ul li { margin-bottom: 8px; font-size: 14.5px; color: var(--text); }
.policy-section ol li { margin-bottom: 8px; font-size: 14.5px; color: var(--text); }

/* ── Equipment Page ── */
.equip-list { list-style: none; padding: 0; margin: 0; }
.equip-list li {
  padding: 9px 12px;
  border-bottom: 1px solid #e8eef4;
  font-size: 14.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.equip-list li .fa { color: var(--gold); font-size: 14px; flex-shrink: 0; }
.equip-list li:last-child { border-bottom: none; }
.equip-category-card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}
.equip-category-card .equip-header {
  background: var(--light);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.equip-category-card .equip-header .fa { font-size: 22px; color: var(--navy); }
.equip-category-card .equip-header h3 { font-size: 17px; color: var(--navy); margin: 0; }
.equip-category-card .equip-list { padding: 0 20px; }

/* ── Projects Page ── */
.projects-tabs .nav-tabs {
  border-bottom: 2px solid var(--gold);
  margin-bottom: 30px;
}
.projects-tabs .nav-tabs > li > a {
  border: none;
  border-radius: 0;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  margin-right: 2px;
}
.projects-tabs .nav-tabs > li.active > a,
.projects-tabs .nav-tabs > li.active > a:hover {
  background: var(--navy);
  color: var(--white);
  border: none;
}
.projects-tabs .nav-tabs > li > a:hover { background: var(--light); color: var(--navy); }
.project-card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-radius: 4px;
  padding: 18px;
  margin-bottom: 20px;
}
.project-card .proj-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}
.project-card p { font-size: 14px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.project-card .proj-meta { font-size: 13px; color: #7a8a9a; }
.badge-completed { background: #2ecc71; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.badge-ongoing { background: var(--gold); color: var(--navy); font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.badge-pending { background: #e0e8f0; color: var(--navy); font-size: 11px; padding: 2px 8px; border-radius: 10px; }

/* ── Contact Page ── */
.contact-info-card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.contact-info-card h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 16px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 12px; align-items: flex-start; }
.contact-row .fa { color: var(--gold); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.contact-row span { font-size: 14px; color: var(--text); }
.contact-row a { color: var(--blue); }
.map-wrapper { border-radius: 4px; overflow: hidden; border: 1px solid #e0e8f0; }

/* ── Footer ── */
.site-footer {
  background: #001f3d;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col p { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.footer-col img { height: 40px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a {
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer-links li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .fa { color: var(--gold); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.footer-bottom {
  background: #001529;
  margin-top: 40px;
  padding: 16px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom a { color: var(--gold); }

/* ── Gallery ── */
.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e0e8f0;
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.gallery-img:hover { transform: scale(1.02); }

/* ── Utilities ── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 36px; }
  .section-pad { padding: 56px 0; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(0,48,91,0.2); }
}
@media (max-width: 767px) {
  .hero-section { min-height: 100vh; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .top-bar { display: none; }
  .trisac-navbar .navbar-collapse { background: var(--navy); padding: 10px 0; }
  .trisac-navbar .navbar-nav > li > a { padding: 12px 20px; }
  .section-pad { padding: 44px 0; }
  .stat-number { font-size: 28px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner { padding: 80px 0 40px; }
  .section-title { font-size: 24px; }
  .cta-band h2 { font-size: 24px; }
  .why-item { flex-direction: column; gap: 10px; }
}

/* ── Aliases & supplements ── */
/* equip-category-card: icon + heading row variant */
.equip-category-icon { font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.equip-category-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  padding: 16px 20px 0;
}
.equip-category-card > h3 { padding-top: 20px; }
.equip-category-card { padding-bottom: 4px; }
.equip-category-card .equip-list { padding: 0 20px 16px; }

/* project-card h5 */
.project-card h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.project-card p { font-size: 13px; color: #5a6a7a; margin-bottom: 4px; font-weight: 400; }
.project-card p strong { color: var(--navy); }

/* project-status badges */
.project-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 10px;
  margin-top: 6px;
}
.project-status.completed { background: #2ecc71; color: #fff; }
.project-status.ongoing { background: var(--gold); color: var(--navy); }

/* contact-info-card h3 */
.contact-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info-card .contact-row div { font-size: 14px; color: var(--text); }
.contact-info-card .contact-row a { color: var(--blue); }
.map-wrap { border-radius: 4px; overflow: hidden; border: 1px solid #e0e8f0; }

/* about page */
.about-section-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #e0e8f0;
}
.office-card {
  background: var(--light);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.office-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.office-card p { font-size: 13px; color: var(--text); margin: 0; }
.section-header-center { text-align: center; margin-bottom: 40px; }
.about-intro-text { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
