/* =========================================================
   JustBeGreen Business Center
   Homepage Styles
   ========================================================= */

:root {
  --green: #169b36;
  --green-dark: #08752d;
  --navy: #071c35;
  --navy-2: #0b2948;
  --text: #172234;
  --muted: #5f6b79;
  --line: #e4e9ed;
  --soft: #f5f7f7;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(7, 28, 53, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   Top Bar
   ========================================================= */

.topbar {
  min-height: 38px;
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#google_translate_element {
  min-height: 24px;
}


/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(7, 28, 53, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: 330px;
  object-fit: contain;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  border: 4px solid #e6f2e9;
  font-weight: 800;
  font-size: 16px;
}

.brand-text {
  line-height: 1.05;
}

.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--green-dark);
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: #243248;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--green);
}

.login-link {
  padding: 11px 17px;
  border: 1px solid var(--green);
  border-radius: 5px;
  color: var(--green-dark) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background: var(--navy);
}


/* =========================================================
   Shared Typography / Buttons
   ========================================================= */

.eyebrow {
  margin: 0 0 9px;
  color: var(--green);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 2px;
}

.eyebrow.light {
  color: #58dc75;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin-bottom: 18px;
}

h2 span {
  color: var(--green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button-row.center {
  justify-content: center;
}

.btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, #159b36, #0a7d2e);
  color: #fff;
  box-shadow: 0 8px 22px rgba(20, 155, 54, 0.22);
}

.btn-outline-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(7, 28, 53, 0.25);
}

.btn-outline-dark {
  color: var(--navy);
  border: 1px solid var(--navy);
  background: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg,
      rgba(4, 21, 39, 0.94) 0%,
      rgba(5, 28, 48, 0.82) 37%,
      rgba(5, 28, 48, 0.25) 67%,
      rgba(5, 28, 48, 0.06) 100%),
    url("images/hero_bkgd.png") center center / cover no-repeat;
}

.hero-content {
  padding-top: 75px;
  padding-bottom: 75px;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -2.5px;
}

.hero h1 span {
  color: #54d36d;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}


/* =========================================================
   Intro
   ========================================================= */

.intro-section {
  min-height: 535px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.84) 31%,
      rgba(255, 255, 255, 0.22) 49%,
      rgba(255, 255, 255, 0.00) 66%
    ),
    url("images/business_center_bkgd.png") center center / cover no-repeat;
}

.intro-section .split {
  display: flex;
  justify-content: flex-start;
}

.intro-copy {
  width: min(45%, 520px);
  padding: 28px 0;
}

.intro-copy p:not(.eyebrow) {
   color: #000000;
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 800;
}


/* =========================================================
   Service Sections
   ========================================================= */

.services-section {
  padding: 88px 0;
}

.soft-bg {
  background:
    radial-gradient(circle at 8% 15%, rgba(31, 162, 69, 0.06), transparent 25%),
    var(--soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 13px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 7px 25px rgba(7, 28, 53, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(7, 28, 53, 0.12);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 22px 23px 24px;
}

.card-body h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 19px;
}

.card-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   Network Banner
   ========================================================= */

.network-section {
  min-height: 355px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg,
      rgba(3, 22, 42, 0.98) 0%,
      rgba(3, 22, 42, 0.91) 35%,
      rgba(3, 22, 42, 0.40) 66%,
      rgba(3, 22, 42, 0.08) 100%),
    url("images/connected_bkgd.png") center center / cover no-repeat;
}

.network-content {
  padding-top: 58px;
  padding-bottom: 58px;
}

.network-content h2 {
  max-width: 600px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
}

.network-content > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}


/* =========================================================
   Bottom CTA
   ========================================================= */

.bottom-cta {
  min-height: 310px;
  display: flex;
  align-items: center;
  background: url("images/virtual_office_solutions.png") center center / cover no-repeat;
}

.cta-content {
  padding-top: 55px;
  padding-bottom: 55px;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 43px);
}

.cta-content > p:not(.eyebrow) {
  color: #445064;
  font-size: 17px;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.75);
  background: #05182c;
  border-top: 4px solid var(--green);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: block;
  width: min(330px, 100%);
  height: auto;
  margin-bottom: 12px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 4px 0 0;
  font-size: 13px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.10);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid #edf0f2;
  }

  .login-link {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    min-height: 560px;
    background-position: 58% center;
  }

  .intro-section {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.80) 38%,
        rgba(255, 255, 255, 0.15) 58%,
        rgba(255, 255, 255, 0.00) 72%
      ),
      url("images/business_center_bkgd.png") center center / cover no-repeat;
  }

  .intro-section .split {
    justify-content: flex-start;
  }

  .intro-copy {
    width: 52%;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-section {
    background-position: 58% center;
  }
}


@media (max-width: 680px) {

  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner > span {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    top: 72px;
  }

  .header-logo {
    height: 48px;
    max-width: 245px;
  }

  .brand-mark {
    width: 45px;
    height: 45px;
    font-size: 13px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .hero {
    min-height: 580px;
    background-position: 64% center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 21, 39, 0.18);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .button-row .btn {
    width: 100%;
  }

  .intro-section,
  .services-section {
    padding: 65px 0;
  }

  .intro-section {
    min-height: 570px;
    align-items: flex-end;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.28) 35%,
        rgba(255, 255, 255, 0.94) 62%,
        rgba(255, 255, 255, 0.99) 100%
      ),
      url("images/business_center_bkgd.png") center top / cover no-repeat;
  }

  .intro-section .split {
    justify-content: flex-start;
  }

  .intro-copy {
    width: 100%;
    padding-top: 210px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .network-section {
    min-height: 420px;
    background-position: 65% center;
  }

  .network-section {
    background:
      linear-gradient(90deg, rgba(3, 22, 42, 0.96), rgba(3, 22, 42, 0.62)),
      url("images/connected_bkgd.png") center center / cover no-repeat;
  }

  .bottom-cta {
    min-height: 370px;
    background-position: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
