/* ==========================================================================
   OCEAN INFRASTRUCTURE — PREMIER CORPORATE STYLESHEET
   Reference: https://greendes.com/ | Industry: Government Contractor & Civil
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  --navy-primary: #0B2545;
  --navy-dark: #06182E;
  --navy-mid: #133A66;
  --gold-accent: #D4AF37;
  --gold-light: #F7DE8B;
  --gold-dark: #8C6207;
  --steel-blue: #1E4E79;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-light: #64748B;
  --bg-white: #FFFFFF;
  --bg-slate: #F8FAFC;
  --bg-dark: #07172B;
  --border-color: #E2E8F0;
  --border-gold: rgba(212, 175, 55, 0.35);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 37, 69, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Cinzel', serif;
  color: var(--navy-primary);
  line-height: 1.3;
}

h5, h6, .font-subheading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 1. TOP GOVT COMPLIANCE BAR ==================== */
.top-bar {
  background: var(--navy-dark);
  color: #E2E8F0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-credentials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
}

.top-contacts a:hover {
  color: var(--gold-light);
}

/* ==================== 2. MAIN HEADER & NAVIGATION ==================== */
header.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title-group .name {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-title-group .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

nav.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-dark);
}

nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gold-accent);
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--navy-primary);
  color: var(--bg-white);
  border: 1px solid var(--navy-primary);
}

.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 37, 69, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, #F7DE8B 0%, #D4AF37 50%, #B8860B 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFF0B8 0%, #E5BE4A 50%, #C99616 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--navy-primary);
  border: 1.5px solid var(--navy-primary);
}

.btn-outline:hover {
  background: var(--navy-primary);
  color: var(--bg-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--bg-white);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: var(--bg-white);
  color: var(--navy-primary);
}

/* ==================== 3. HERO BANNER SECTION ==================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 24, 46, 0.94) 0%, rgba(11, 37, 69, 0.88) 100%),
              url('/images/mockup_site.jpg') center/cover no-repeat;
  color: var(--bg-white);
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-accent);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  color: var(--bg-white);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
}

.hero-desc {
  font-size: 19px;
  color: #E2E8F0;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 720px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==================== 4. LIVE STATS COUNTER STRIP ==================== */
.stats-strip {
  background: var(--bg-white);
  margin-top: -45px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(11, 37, 69, 0.12);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--gold-accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 20px;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==================== 5. SECTION HEADERS ==================== */
.section {
  padding: 90px 0;
}

.section-bg-slate {
  background-color: var(--bg-slate);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  color: var(--gold-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==================== 6. SECTORS GRID ==================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sector-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-accent);
}

.sector-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.sector-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-img img {
  transform: scale(1.08);
}

.sector-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-dark);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sector-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sector-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy-primary);
}

.sector-text {
  font-size: 14.5px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.sector-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.sector-link:hover {
  color: var(--navy-primary);
}

/* ==================== 7. FEATURED PROJECTS GRID ==================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-val-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--gold-accent);
  color: var(--navy-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-info {
  padding: 24px;
}

.project-client {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.project-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-light);
}

/* ==================== 8. GOVERNMENT COMPLIANCE & ACCREDITATION ==================== */
.compliance-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--bg-white);
  padding: 80px 0;
  border-top: 3px solid var(--gold-accent);
  border-bottom: 3px solid var(--gold-accent);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.compliance-text h2 {
  color: var(--bg-white);
  font-size: 36px;
  margin-bottom: 18px;
}

.compliance-text p {
  color: #CBD5E1;
  font-size: 16.5px;
  margin-bottom: 28px;
}

.certs-pill-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.cert-pill-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-accent);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.cert-pill-content h4 {
  color: var(--gold-light);
  font-size: 16px;
  margin-bottom: 2px;
}

.cert-pill-content span {
  color: #94A3B8;
  font-size: 12.5px;
}

/* ==================== 9. CLIENT & GOVT DEPARTMENTS GRID ==================== */
.clients-strip {
  padding: 60px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: var(--transition);
}

.clients-logos:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-tag {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-primary);
  border: 1.5px dashed var(--border-color);
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--bg-slate);
}

/* ==================== 10. TENDER CALLOUT CTA ==================== */
.tender-cta-section {
  background: var(--bg-slate);
  padding: 80px 0;
}

.tender-cta-box {
  background: var(--navy-primary);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  border-left: 8px solid var(--gold-accent);
  box-shadow: var(--shadow-lg);
}

.tender-cta-text h3 {
  color: var(--bg-white);
  font-size: 32px;
  margin-bottom: 10px;
}

.tender-cta-text p {
  color: #CBD5E1;
  font-size: 16px;
  max-width: 600px;
}

/* ==================== 11. FOOTER ==================== */
footer.site-footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding-top: 80px;
  font-size: 14.5px;
  border-top: 4px solid var(--gold-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 17px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* ==================== RESPONSIVE QUERIES ==================== */
@media (max-width: 1024px) {
  .sectors-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 80px;
  }
  nav.main-nav {
    display: none; /* Mobile menu can toggle */
  }
  .hero-title {
    font-size: 36px;
  }
  .sectors-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
  }
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tender-cta-box {
    padding: 30px 24px;
  }
}
