/* ============================================================
   MY-CEO V6 — Global Stylesheet
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0b1a2f;
  --dark-blue: #0d3260;
  --mid-blue: #1c5cb5;
  --cyan: #00a9ce;
  --bright-cyan: #00b8e6;
  --light-bg: #f5f7fa;
  --lighter-bg: #f9fafb;
  --card-bg: #f5f7fa;
  --border: #e2e8f0;
  --text-dark: #0b1a2f;
  --text-body: #3a4a5c;
  --text-muted: #6b7b8d;
  --white: #ffffff;
  --green: #34a853;
  --red: #d93025;
  --font-main: 'Montserrat', sans-serif;
  --max-width: 1280px;
  --section-space: clamp(88px, 8vw, 128px);
  --section-space-tight: clamp(72px, 6vw, 104px);
  --hero-space: clamp(88px, 10vw, 140px);
  --hero-height: clamp(620px, calc(100vh - 64px), 860px);
  --hero-height-medium: clamp(520px, calc(82vh - 64px), 720px);
  --feature-height: clamp(420px, 58vh, 580px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px);
}

.hero-stack {
  width: min(100%, 760px);
  margin: 0 auto;
}

.hero-stack--narrow {
  width: min(100%, 680px);
}

.hero-stack--wide {
  width: min(100%, 980px);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  width: 100%;
}

.hero-split > * {
  min-width: 0;
}

.section-copy {
  width: min(100%, 780px);
  margin: 0 auto;
}

.section-copy--wide {
  width: min(100%, 940px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar--home.navbar--hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.admin-bar .navbar { top: 32px; }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo,
.nav-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.nav-logo img,
.nav-logo .custom-logo-link img {
  width: auto;
  height: 28px;
  max-height: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: var(--light-bg);
  color: var(--mid-blue);
}
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-parent > a,
.nav-links .current_page_parent > a {
  background: var(--light-bg);
  color: var(--dark-blue);
}
.nav-contact-btn {
  background: var(--dark-blue) !important;
  color: var(--white) !important;
  padding: 8px 22px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  margin-left: 6px;
}
.nav-contact-btn:hover { background: #0a2850 !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  color: var(--dark-blue);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.btn-outline:hover { background: #f0fafd; }
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  background: var(--bright-cyan);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.btn-solid:hover { background: #009ec5; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--dark-blue); }

/* ============================================================
   PAGE HERO (reusable dark hero banner)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  background: var(--navy) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,18,38,0.65);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(56px, 7vw, 96px) 24px;
}
.page-hero h1 {
  color: var(--white);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.page-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================================
   READY CTA (shared across pages)
   ============================================================ */
.ready-cta {
  background: var(--white);
  padding: 80px 0 100px;
}
.ready-cta-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f4f8fb 0%, #e4eff6 60%, #c8dff0 100%);
  border-radius: 20px;
  padding: 72px 48px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ready-cta-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(180,215,240,0.4) 100%);
  pointer-events: none;
}
.ready-cta h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.ready-cta p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.ready-cta .btn-solid {
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-logo img { height: 28px; margin-bottom: 8px; }
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}
.footer-nav .menu-item { list-style: none; }
.footer-nav a {
  font-size: 14px;
  color: var(--text-body);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--dark-blue); }
.footer-social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--dark-blue);
  color: var(--white);
  border-color: var(--dark-blue);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--dark-blue); }

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 26px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  z-index: 200;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   TAB NAVIGATION (used on expertise sub-pages)
   ============================================================ */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 64px;
  z-index: 120;
}
.admin-bar .tab-nav { top: 96px; }
.tab-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}
.tab-nav a:hover { background: var(--light-bg); color: var(--text-dark); }
.tab-nav a.active {
  background: var(--dark-blue);
  color: var(--white);
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section-white { background: var(--white); padding: var(--section-space) 0; }
.section-light { background: var(--light-bg); padding: var(--section-space) 0; }
.section-lighter { background: var(--lighter-bg); padding: var(--section-space) 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.two-col p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 12px;
}

.quote-box {
  border-left: 3px solid var(--dark-blue);
  padding: 2px 0 2px 20px;
  margin-bottom: 20px;
}
.quote-box p {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  font-style: italic;
}

.check-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.check-list li i {
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   FEATURE IMAGE BANNER (image + overlay text)
   ============================================================ */
.feature-banner {
  position: relative;
  min-height: var(--feature-height);
  background: center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.feature-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,18,38,0.72) 0%, rgba(8,18,38,0.1) 60%);
}
.feature-banner-content {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 4vw, 64px);
  max-width: 620px;
}
.feature-banner h2 {
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.feature-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 24px;
}
.value-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Team circles */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.team-member {
  text-align: center;
  width: 120px;
  min-width: 0;
}
.team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}
.team-member h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.team-member p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================================
   INSIGHT CARDS
   ============================================================ */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.insight-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.insight-card-img {
  height: 180px;
  overflow: hidden;
}
.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insight-card-body {
  padding: 16px 18px;
  flex: 1;
}
.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.insight-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
.insight-card-body h3 a { color: inherit; }
.insight-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.insight-card-tags {
  padding: 10px 18px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--light-bg);
  color: var(--text-muted);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.filter-tab:hover { border-color: var(--cyan); }
.filter-tab.active {
  background: var(--bright-cyan);
  color: var(--white);
  border-color: var(--bright-cyan);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 999;
    align-items: stretch;
    gap: 10px;
  }
  .nav-links.active li { width: 100%; }
  .nav-links.active a { display: flex; width: 100%; justify-content: center; }
  .page-hero { min-height: 280px; }
  .page-hero h1 { font-size: 26px; }
  .values-grid { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .tab-nav { flex-wrap: wrap; }
  .ready-cta h2 { font-size: 26px; }
  .ready-cta { padding: 48px 0 64px; }
  .ready-cta-card { padding: 48px 24px 44px; border-radius: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-grid { gap: 20px; }
  .team-member { width: 100px; }
  .admin-bar .navbar { top: 46px; }
  .admin-bar .tab-nav { top: 110px; }
}
