/* ===========================
   G2H Solutions – Global Theme
   =========================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  /* Layout */
  --container-max: 1120px;
  --border-radius: 22px;
  --box-shadow-soft: rgba(50, 85, 71, 0.11);
  --nav-height: 80px;

  /* Palette from your sheet */
  --glass-bg: #f7fdef;
  --page-bg: #f4f9ef;

  --nav-bg: linear-gradient(90deg, #b7eed1 0%, #ffeab2 100%);
  --nav-item: #325747;
  --nav-active: #ff9800;
  --nav-hover: #406d4d;
  --nav-border: #ff9800;

  --hero-gradient: linear-gradient(120deg, #e7f6db 0%, #fff4de 100%);
  --heading-color: #325747;
  --subheading-color: #699d6b;
  --text-main: #38544a;
  --text-muted: #8aa38f;

  --card-bg: rgba(255, 255, 255, 0.82);
  --accent-orange: #ffa735;
  --service-icon: #699d6b;
  --leadgen-dot: #95e7dc;

  --input-bg: #fcfbe9;
  --input-border: #e1e5c7;
  --input-text: #325747;
  --input-placeholder: #a7b3a0;

  --footer-bg: linear-gradient(180deg, #f7fdef 0%, #e7f6db 55%, #ffeab2 100%);
  --footer-text: #325747;
  --footer-link: #325747;

  --border-subtle: rgba(193, 210, 188, 0.8);
  --shadow-elevated: 0 20px 45px var(--box-shadow-soft);
  --transition-fast: 200ms ease;
  --transition-med: 260ms ease;

  --social-icon-size: 38px;
}

/* Reset / base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, var(--page-bg) 70%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  padding-top: var(--nav-height);
}

/* Screen-reader only */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout helpers */

.wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3.8rem, 6vw, 5.2rem) 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.2rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(247, 253, 239, 0.9);
  border: 1px solid rgba(227, 236, 212, 0.9);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--subheading-color);
}

.section-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--leadgen-dot);
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--heading-color);
}

.section-subtitle {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Glass card */

.card {
  border-radius: var(--border-radius);
  background: var(--card-bg);
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

/* ===========================
   Header / Navigation
   =========================== */

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 253, 239, 0.9);
  border-bottom: 1px solid rgba(225, 229, 199, 0.9);
  transition: box-shadow var(--transition-med), transform var(--transition-med),
    background var(--transition-med);
}

.site-header.scrolled {
  background: var(--nav-bg);
  box-shadow: 0 10px 35px var(--box-shadow-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo sizing – make it clearly visible */

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  height: 70px;      /* main tweak: nice and prominent */
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--nav-item);
}

.nav-link {
  position: relative;
  padding: 0.15rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-orange);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--nav-hover);
  font-weight: 500;
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav actions */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--nav-item);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-orange), #ffd28b);
  color: #3c362a;
  box-shadow: 0 16px 30px rgba(255, 167, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(255, 167, 53, 0.4);
}

.btn-ghost {
  border-color: rgba(200, 210, 185, 0.9);
  background: rgba(247, 253, 239, 0.85);
}

.btn-ghost:hover {
  border-color: var(--accent-orange);
}

.btn-icon {
  font-size: 1rem;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: 1px solid rgba(205, 214, 187, 0.9);
  background: rgba(247, 253, 239, 0.9);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-item);
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-item);
}

.nav-toggle-line::before {
  top: -5px;
}

.nav-toggle-line::after {
  top: 5px;
}

.nav-toggle.active .nav-toggle-line {
  background: transparent;
}

.nav-toggle.active .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 840px) {
  .nav-links {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(var(--nav-height) + 0.7rem);
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(247, 253, 239, 0.98);
    border: 1px solid rgba(221, 230, 206, 0.98);
    box-shadow: 0 18px 40px var(--box-shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-med), transform var(--transition-med);
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===========================
   Hero – Home page
   =========================== */

.hero {
  padding: clamp(3.2rem, 5vw, 4rem) 0 clamp(3.8rem, 6vw, 5rem);
  background: var(--hero-gradient);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: var(--heading-color);
}

.hero-title-highlight {
  color: var(--accent-orange);
}

.hero-lead {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-ctas {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-meta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--leadgen-dot);
}

.hero-metrics {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
}

.hero-metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-metric-value {
  margin-top: 0.12rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
}

/* Hero side card */

.hero-card {
  padding: 1.4rem 1.3rem;
  position: relative;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-card-pill {
  font-size: 0.75rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: rgba(247, 253, 239, 0.95);
  border: 1px solid rgba(224, 233, 207, 0.95);
  color: var(--subheading-color);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-card-pipeline {
  display: grid;
  gap: 0.7rem;
  font-size: 0.84rem;
}

.pipeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.pipeline-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pipeline-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(233, 240, 225, 0.9);
  overflow: hidden;
}

.pipeline-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--service-icon), var(--accent-orange));
  transform-origin: left;
  transform: scaleX(var(--fill, 0.5));
}

.hero-card-footer {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-avatar-row {
  display: flex;
}

.hero-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #d4e9d0;
  margin-left: -8px;
}

.hero-avatar:first-child {
  margin-left: 0;
}

/* ===========================
   Generic content layout
   =========================== */

.twocol {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .hero-grid,
  .twocol {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.3rem 1.3rem 1.2rem;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: rgba(153, 189, 154, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--service-icon);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 0.3rem;
}

.service-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: var(--text-main);
}

.service-list li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--accent-orange);
}

/* Lists */

.list-check {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.list-check li {
  color: var(--text-main);
}

.list-check li::before {
  content: "✓";
  margin-right: 0.4rem;
  color: var(--service-icon);
}

/* Process / timeline */

.timeline {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.2rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
}

.timeline-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(186, 205, 175, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--service-icon);
  background: rgba(247, 253, 239, 0.9);
}

.timeline-title {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--heading-color);
}

.timeline-body {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Case snapshot */

.case-card {
  padding: 1.2rem 1.4rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.case-chip {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(247, 253, 239, 0.98);
  border: 1px solid rgba(224, 233, 207, 0.98);
}

.case-outcomes {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.86rem;
}

.case-outcomes strong {
  display: block;
  font-size: 1.05rem;
  color: var(--heading-color);
}

/* Forms */

.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.84rem;
}

label {
  color: var(--text-main);
  line-height: 1.35;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--input-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 1px rgba(255, 167, 53, 0.45);
  background: #fffdf4;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .twocol {
    gap: 1.8rem;
  }
}

@media (max-width: 720px) {
  .form-grid-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ */

.faq {
  margin-top: 1.6rem;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(220, 229, 204, 0.95);
  background: rgba(247, 253, 239, 0.95);
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-header {
  padding: 0.7rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.faq-question {
  font-size: 0.9rem;
  color: var(--heading-color);
}

.faq-toggle {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(199, 213, 189, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--service-icon);
}

.faq-body {
  padding: 0 0.9rem 0.7rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--footer-bg);
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid rgba(221, 230, 206, 0.98);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--footer-text);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--footer-link);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===========================
   Social icon set (G2H colors)
   =========================== */

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8f5e8; /* soft beige */
  border: 1px solid rgba(222, 233, 215, 0.95);
  box-shadow: 0 14px 26px rgba(50, 87, 71, 0.16);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast);
}

/* PNG / SVG icon inside the circle */
.social-icon img,
.social-icon svg {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Hover effect */
.social-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(50, 87, 71, 0.22);
}

/* Email icon outline */
.social-icon--email svg {
  fill: none;
  stroke: #325747;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* ===========================
   Scroll animations
   =========================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal="fade-right"] {
  transform: translateX(-18px);
}

[data-reveal="fade-left"] {
  transform: translateX(18px);
}

[data-reveal="fade-up"] {
  transform: translateY(18px);
}

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Responsive adjustments */

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}
