/*
Theme Name: SIX8
Theme URI: https://example.com/six8
Author: SIX8
Description: A modern pharmaceutical and life-sciences WordPress theme inspired by the supplied SIX8 design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: six8
*/

:root {
  --six8-navy: #082F6A;
  --six8-blue: #0384E3;
  --six8-green: #007A3D;
  --six8-dark: #1b2738;
  --six8-muted: #697586;
  --six8-border: #e3e9f1;
  --six8-light: #f6fbff;
  --six8-white: #fff;
  --six8-shadow: 0 18px 55px rgba(12, 45, 91, .12);
}

.primary-blue {
    color: var(--six8-navy);
}

.secondary-blue {
    color: var(--six8-blue);
}

.primary-green {
    color: var(--six8-green);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--six8-dark);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }

.six8-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.six8-section { padding: 92px 0; }
.six8-eyebrow {
  color: var(--six8-green);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
}
.six8-title {
  color: var(--six8-navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
  margin: 12px 0 20px;
  font-weight: 800;
}
.six8-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}
.six8-button:hover { transform: translateY(-2px); }
.six8-button--green { background: var(--six8-green); color: #fff; }
.six8-button--outline { border: 1px solid var(--six8-navy); color: var(--six8-navy); background: #fff; }

.six8-header {
  position: relative;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(10,54,120,.04);
}
.six8-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.six8-logo {
  display: inline-flex;
  align-items: center;
  color: var(--six8-navy);
  font-size: 43px;
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: 1;
}
.six8-logo small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--six8-green);
  font-size: 10px;
  letter-spacing: 0;
}
.six8-nav { display: flex; align-items: center; gap: 27px; }
.six8-nav a { color: #0a326b; font-size: 14px; font-weight: 750; }
.six8-nav a:hover { color: var(--six8-green); }
.six8-menu-toggle { display: none; border: 0; background: none; color: var(--six8-navy); font-size: 28px; cursor: pointer; }

.six8-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 42%, rgba(78, 204, 255, .10), transparent 28%),
    linear-gradient(110deg, #fff 0%, #fff 46%, #f7fcff 100%);
}
.six8-hero:after {
  content: "";
  position: absolute;
  left: -8%;
  right: 35%;
  bottom: -150px;
  height: 280px;
  border: 2px solid rgba(61, 151, 245, .12);
  border-radius: 50%;
  transform: rotate(-11deg);
}
.six8-hero__grid {
  position: relative;
  z-index: 2;
  min-height: 540px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
}
.six8-hero__copy { padding: 60px 0 70px; }
.six8-hero__title {
  color: var(--six8-navy);
  font-size: clamp(40px, 4.1vw, 60px);
  line-height: 1.07;
  letter-spacing: -.035em;
  margin: 10px 0 22px;
  font-weight: 850;
}
.six8-hero__title span { color: var(--six8-green); }
.six8-hero__text {
  max-width: 510px;
  color: #687382;
  font-size: 15px;
  margin: 0 0 14px;
}
.six8-hero__tags {
  color: var(--six8-green);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 15px;
}
.six8-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.six8-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.six8-hero__visual img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: multiply;
  border-radius: 0 0 0 35%;
}
.six8-hero__glow {
  position: absolute;
  right: 0;
  top: 14%;
  width: 330px;
  height: 330px;
  background: rgba(50, 157, 255, .09);
  filter: blur(45px);
  border-radius: 50%;
  z-index: -1;
}

.six8-stats {
  position: relative;
  z-index: 10;
  margin-top: -4px;
}
.six8-stats__box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 8px;
  box-shadow: var(--six8-shadow);
  overflow: hidden;
}
.six8-stat {
  min-height: 112px;
  padding: 18px 25px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  border-right: 1px solid var(--six8-border);
}
.six8-stat:last-child { border-right: 0; }
.six8-stat__icon { color: var(--six8-navy); }
.six8-stat__number { color: var(--six8-navy); font-size: 28px; line-height: 1; font-weight: 850; }
.six8-stat__label { color: #111c2b; font-size: 13px; font-weight: 800; line-height: 1.25; margin-top: 7px; }
.six8-stat__desc { color: #727c88; font-size: 10px; line-height: 1.25; margin-top: 4px; }

.six8-services { background: var(--six8-light); }
.six8-section-head { max-width: 700px; margin-bottom: 40px; }
.six8-section-head p { color: var(--six8-muted); }
.six8-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.six8-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--six8-border);
  border-radius: 10px;
  transition: .2s ease;
}
.six8-card:hover { transform: translateY(-5px); box-shadow: var(--six8-shadow); }
.six8-card__icon { width: 50px; height: 50px; color: var(--six8-green); margin-bottom: 20px; }
.six8-card h3 { color: var(--six8-navy); margin: 0 0 10px; font-size: 20px; }
.six8-card p { margin: 0; color: var(--six8-muted); font-size: 14px; }

.six8-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.six8-about__panel {
  padding: 38px;
  background: linear-gradient(145deg, #f2fbff, #fff);
  border: 1px solid var(--six8-border);
  border-radius: 12px;
}
.six8-check { display: flex; gap: 12px; margin: 13px 0; color: #526071; font-size: 14px; }
.six8-check strong { color: var(--six8-navy); }

.six8-cta {
  padding: 70px 0;
  background: var(--six8-navy);
  color: #fff;
}
.six8-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.six8-cta h2 { margin: 0 0 8px; font-size: 36px; line-height: 1.1; }
.six8-cta p { margin: 0; color: #cbd9ed; }

.six8-footer { background: #071e43; color: #c7d4e7; padding: 55px 0 25px; }
.six8-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.six8-footer .six8-logo { color: #fff; margin-bottom: 16px; }
.six8-footer h4 { color: #fff; margin: 0 0 14px; }
.six8-footer a { display: block; color: #b9c8dc; font-size: 13px; margin: 8px 0; }
.six8-footer a:hover { color: #fff; }
.six8-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 12px; }

.six8-page { padding: 90px 0; }
.six8-content { max-width: 1220px; }
.six8-content h1, .six8-content h2, .six8-content h3 { color: var(--six8-navy); }
.six8-content p, .six8-content li { color: #596677; }

@media (max-width: 980px) {
  .six8-nav { gap: 15px; }
  .six8-hero__grid { grid-template-columns: 1fr; }
  .six8-hero__visual { min-height: 360px; }
  .six8-hero__visual img { height: 390px; }
  .six8-hero__copy { padding-bottom: 20px; }
  .six8-stats__box { grid-template-columns: repeat(2, 1fr); }
  .six8-stat:nth-child(2) { border-right: 0; }
  .six8-stat:nth-child(-n+2) { border-bottom: 1px solid var(--six8-border); }
  .six8-cards { grid-template-columns: 1fr 1fr; }
  .six8-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .six8-container { width: min(100% - 28px, 1120px); }
  .six8-header__inner { min-height: 68px; }
  .six8-menu-toggle { display: block; }
  .six8-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
  }
  .six8-nav.is-open { display: flex; }
  .six8-nav .six8-button { justify-content: center; }
  .six8-hero__title { font-size: 42px; }
  .six8-hero__visual { min-height: 300px; }
  .six8-hero__visual img { height: 320px; }
  .six8-stats__box, .six8-cards, .six8-about__grid, .six8-footer__grid { grid-template-columns: 1fr; }
  .six8-stat, .six8-stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--six8-border); }
  .six8-stat:last-child { border-bottom: 0; }
  .six8-cta__inner { flex-direction: column; align-items: flex-start; }
  .six8-section { padding: 65px 0; }
}
.menu-anchor-fix {
    position: relative;
    top: -130px;
    display: block;
}
        
/* =========================================
   N01 CUSTOM HAMBURGER MENU
   ========================================= */
button.n01-custom-menu-toggle,
button.n01-custom-menu-toggle:hover,
button.n01-custom-menu-toggle:focus,
button.n01-custom-menu-toggle:active{
    background: transparent !important;
	padding: 0px !important;
	
}
.n01-custom-menu-wrapper {
    position: relative;
    display: inline-block;
    z-index: 99999;
}

/* Hamburger button */
.n01-custom-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    position: relative;
    z-index: 100001;
}

/* Hamburger lines */
.n01-custom-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #082F6A;
    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

/* =========================================
   HAMBURGER -> X
   ========================================= */

.n01-custom-menu-wrapper.n01-menu-open
.n01-custom-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.n01-custom-menu-wrapper.n01-menu-open
.n01-custom-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.n01-custom-menu-wrapper.n01-menu-open
.n01-custom-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   DROPDOWN MENU
   ========================================= */

.n01-custom-menu-dropdown {
    position: absolute;

    /* Opens directly below hamburger */
    top: calc(100% + 1px);
    right: 0;

    /* Natural width based on menu content */
    width: max-content;
    min-width: 220px;
    max-width: 320px;

    margin: 0;
    padding: 10px 0;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 100000;
}


/* =========================================
   OPEN STATE
   ========================================= */

.n01-custom-menu-wrapper.n01-menu-open
.n01-custom-menu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================
   MENU UL
   ========================================= */

.n01-primary-menu {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================
   MENU ITEMS
   ========================================= */

.n01-primary-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* =========================================
   MENU LINKS
   ========================================= */

.n01-primary-menu li a {
    display: block;

    padding: 11px 20px;

    color: #666666;
    background: transparent;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* Hover */
.n01-primary-menu li a:hover {
    background: #f5f5f5;
    color: #000;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .n01-custom-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .n01-custom-menu-toggle span {
        width: 25px;
    }

    .n01-custom-menu-dropdown {
        right: 0;

        min-width: 200px;
        max-width: calc(100vw - 30px);

        padding: 8px 0;
    }

    .n01-primary-menu li a {
        padding: 10px 16px;
        font-size: 14px;
    }
}
