/* ============================================
   THE GROWTH PARTNER — Global Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0B1121;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1f2b3d;
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  --accent-gold: #F59E0B;
  --accent-gold-glow: rgba(245, 158, 11, 0.15);
  --accent-blue: #3B82F6;
  --accent-blue-glow: rgba(59, 130, 246, 0.15);
  --accent-red: #EF4444;
  --text-primary: #FFFFFF;
  --text-secondary: #8892A0;
  --text-muted: #5a6478;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --section-padding: 120px 0;
  --border-radius: 12px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--accent-gold);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 16px;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--accent-emerald);
}

.text-gold {
  color: var(--accent-gold);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-emerald);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: #0d9668;
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--accent-emerald-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-gold:hover {
  background: #d97706;
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--accent-gold-glow);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 17, 33, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--accent-emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-emerald-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-emerald);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Section Styles --- */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.section-header p {
  font-size: 1.15rem;
}

/* --- Wave Divider --- */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
}

/* --- Three Column Service Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.service-column {
  position: relative;
}

.service-column-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  position: relative;
}

.service-column-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
}

.service-column:nth-child(1) .service-column-header::after {
  background: var(--accent-emerald);
}

.service-column:nth-child(2) .service-column-header::after {
  background: var(--accent-gold);
}

.service-column:nth-child(3) .service-column-header::after {
  background: var(--accent-blue);
}

.service-column-header h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.service-column-header h3 strong {
  color: var(--text-primary);
  font-weight: 700;
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 0;
}

/* Dashed connector line */
.service-items::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  border-left: 2px dashed rgba(255, 255, 255, 0.08);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.service-item:hover {
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.service-column:nth-child(1) .service-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px var(--accent-emerald-glow);
}

.service-column:nth-child(2) .service-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

.service-column:nth-child(3) .service-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px var(--accent-blue-glow);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.service-column:nth-child(1) .service-icon {
  color: var(--accent-emerald);
}

.service-column:nth-child(2) .service-icon {
  color: var(--accent-gold);
}

.service-column:nth-child(3) .service-icon {
  color: var(--accent-blue);
}

.service-item-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.service-item-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all var(--transition);
}

.service-item:hover .service-item-arrow {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* --- Differentiators Strip --- */
.differentiators {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.diff-item {
  text-align: center;
  padding: 32px 24px;
}

.diff-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.diff-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.diff-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-emerald-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* --- Timeline --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold), var(--accent-blue), var(--accent-emerald));
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-emerald);
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Pull Quote --- */
.pull-quote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  border-left: 3px solid var(--accent-emerald);
  padding-left: 32px;
  margin: 48px 0;
  max-width: 800px;
}

/* --- Contact Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.calendly-embed {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 24px;
  min-height: 500px;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 300px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--accent-emerald);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  :root {
    --section-padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: 100%;
  }

  .timeline-step {
    text-align: left;
    padding-left: 72px;
  }

  .timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

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

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

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 17, 33, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.5rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Utility --- */
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 64px; }
.text-center { text-align: center; }

/* --- Service Detail Sections --- */
.service-detail {
  padding: 64px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 1.5rem;
}

.service-detail-content ul {
  list-style: none;
  margin-top: 16px;
}

.service-detail-content ul li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-detail-content ul li::before {
  content: '→';
  color: var(--accent-emerald);
  font-weight: 700;
}

.service-detail-visual {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  font-size: 4rem;
}

@media (max-width: 768px) {
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* --- About page specific --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Testimonials placeholder --- */
.testimonials {
  padding: var(--section-padding);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 32px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Learning Section (How We Work) --- */
.learning-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.learning-visual {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 48px;
}

.learning-loop {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loop-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--accent-emerald);
}

.loop-step span:first-child {
  font-size: 1.2rem;
}

.loop-step span:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.loop-arrow {
  text-align: center;
  color: var(--accent-emerald);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .learning-grid {
    grid-template-columns: 1fr;
  }
}
