/* ============================================================
   FoxFuture Elementor Widgets — foxfuture-widgets.css
   Synced with index.html design system (March 2026)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Jost:wght@300;400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --ff-green-deep:   #0a1f14;
  --ff-green-mid:    #112d1e;
  --ff-green-light:  #153825;
  --ff-green-accent: #2d7a4f;       /* replaces gold — forest green */
  --ff-green-hover:  #3a9962;
  --ff-off-white:    #f7f5f0;
  --ff-white:        #ffffff;
  --ff-dark-text:    #0a1f14;
  --ff-muted-dark:   #3a5045;
  --ff-text-light:   #f4f4f0;
  --ff-text-muted:   #8a9e8a;
  --ff-font-display: 'Cormorant Garamond', serif;
  --ff-font-body:    'Jost', sans-serif;
  --ff-transition:   all 0.3s ease;
  --ff-section-pad:  100px 5%;

  /* leaf texture URL — same as index.html */
  --ff-leaf-bg: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?w=1920&q=80&auto=format&fit=crop');
}

/* ══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */

/* Dark green leaf texture sections */
.ff-grain-bg,
.ff-section-leaf {
  position: relative;
  background-color: var(--ff-green-deep);
}
.ff-section-leaf::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.ff-section-leaf > * { position: relative; z-index: 1; }

/* White / off-white sections */
.ff-section-white {
  background-color: var(--ff-off-white) !important;
  color: var(--ff-dark-text);
}
.ff-section-white h2,
.ff-section-white h3,
.ff-section-white h4 { color: var(--ff-dark-text) !important; }
.ff-section-white p,
.ff-section-white li  { color: var(--ff-muted-dark) !important; }
.ff-section-white .ff-section-label { color: var(--ff-green-accent) !important; }

/* Green accent text */
.ff-gold-text { color: var(--ff-green-accent); }

/* Section label (small caps above heading) */
.ff-section-label {
  font-family: var(--ff-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ff-green-accent);
  display: block;
  margin-bottom: 14px;
}

/* Buttons */
.ff-btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ff-white);
  color: var(--ff-green-deep);
  font-family: var(--ff-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border: 1px solid var(--ff-white);
  cursor: pointer;
  transition: var(--ff-transition);
}
.ff-btn-primary:hover {
  background: #e8f5ee;
  border-color: #e8f5ee;
}

.ff-btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--ff-white);
  font-family: var(--ff-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--ff-transition);
}
.ff-btn-outline:hover {
  background: var(--ff-white);
  color: var(--ff-green-deep);
  border-color: var(--ff-white);
}

.ff-btn-full { width: 100%; text-align: center; }

/* Green divider line */
.ff-divider-gold {
  width: 60px;
  height: 1px;
  background: var(--ff-green-accent);
  margin: 0 auto 32px;
}

/* Scroll-triggered animation */
.ff-animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  animation: ff-fallback-reveal 0s 1.2s forwards;
}
.ff-animate-in.ff-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
.elementor-editor-active .ff-animate-in,
.elementor-editor-preview .ff-animate-in,
.elementor-element-edit-mode .ff-animate-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
@keyframes ff-fallback-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   1. HERO WIDGET  —  dark green + leaf texture
═══════════════════════════════════════════════════════════ */
.foxfuture-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  font-family: var(--ff-font-body);
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
}

/* Dark overlay */
.foxfuture-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,17,8,0.84) 0%,
    rgba(8,25,14,0.72) 50%,
    rgba(5,17,8,0.78) 100%
  );
  z-index: 0;
}

/* Architectural line grid */
.ff-hero-lines-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

.ff-hero-inner {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
}

/* NRI badge — white */
.ff-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 7px 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.ff-hero-headline {
  font-family: var(--ff-font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600;
  color: var(--ff-text-light);
  line-height: 1.1;
  margin: 0 0 28px;
}

.ff-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 48px;
}

.ff-hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.ff-scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  opacity: 0.6;
  animation: ff-bounce 2s infinite;
  z-index: 2;
}
.ff-scroll-arrow svg { width: 24px; height: 24px; }
@keyframes ff-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════
   2. STATS WIDGET  —  white / off-white
═══════════════════════════════════════════════════════════ */
.foxfuture-stats {
  background-color: var(--ff-off-white);
  padding: var(--ff-section-pad);
}

.ff-stats-inner {
  display: grid;
  grid-template-columns: 1fr auto 1.5fr;
  gap: 0 60px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.ff-stats-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ff-stat-item { display: flex; flex-direction: column; gap: 8px; }

.ff-stat-number {
  font-family: var(--ff-font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--ff-green-accent);
  line-height: 1;
}

.ff-stat-label {
  font-family: var(--ff-font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ff-muted-dark);
}

.ff-stats-divider {
  width: 1px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(45,122,79,0.3), transparent);
}

.ff-stats-right { padding-left: 20px; }

.ff-stats-title {
  font-family: var(--ff-font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  color: var(--ff-dark-text);
  line-height: 1.15;
  margin: 0 0 24px;
}

.ff-stats-desc {
  font-family: var(--ff-font-body);
  font-size: 1rem;
  color: var(--ff-muted-dark);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   3. SERVICES WIDGET  —  dark green + leaf texture
═══════════════════════════════════════════════════════════ */
.foxfuture-services {
  background-color: var(--ff-green-deep);
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  padding: var(--ff-section-pad);
  position: relative;
}
.foxfuture-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,17,8,0.88);
  z-index: 0;
}
.foxfuture-services > * { position: relative; z-index: 1; }

.ff-services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.ff-services-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  color: var(--ff-text-light);
  line-height: 1.1;
  margin: 0 0 16px;
}

.ff-services-subtitle {
  font-family: var(--ff-font-body);
  color: var(--ff-text-muted);
  font-size: 1rem;
}

.ff-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}

.ff-services-grid .ff-service-card:last-child:nth-child(3n+2) {
  grid-column: 2 / 3;
}

.ff-service-card {
  background: rgba(21,56,37,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--ff-transition);
  backdrop-filter: blur(4px);
}
.ff-service-card:hover {
  border-color: rgba(45,122,79,0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.ff-service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(45,122,79,0.15);
  border: 1px solid rgba(45,122,79,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ff-green-accent);
  font-size: 1.1rem;
}

.ff-service-title {
  font-family: var(--ff-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ff-text-light);
  line-height: 1.2;
  margin: 0;
}

.ff-service-desc {
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
  color: var(--ff-text-muted);
  line-height: 1.7;
  flex: 1;
}

.ff-service-link {
  font-family: var(--ff-font-body);
  font-size: 0.82rem;
  color: var(--ff-green-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: var(--ff-transition);
  align-self: flex-start;
}
.ff-service-link:hover { letter-spacing: 2px; }

/* ══════════════════════════════════════════════════════════
   4. NRI ADVANTAGE WIDGET  —  white / off-white
═══════════════════════════════════════════════════════════ */
.foxfuture-nri-advantage {
  background-color: var(--ff-off-white);
  padding: var(--ff-section-pad);
}

.ff-nri-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.ff-nri-headline {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--ff-dark-text);
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.ff-nri-subtext {
  font-family: var(--ff-font-body);
  font-size: 1rem;
  color: var(--ff-muted-dark);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 64px;
}

.ff-nri-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
}

.ff-nri-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ff-nri-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ff-green-accent);
  font-size: 2rem;
  margin-bottom: 4px;
}

.ff-nri-feature-title {
  font-family: var(--ff-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ff-dark-text);
  margin: 0;
}

.ff-nri-feature-desc {
  font-family: var(--ff-font-body);
  font-size: 0.87rem;
  color: var(--ff-muted-dark);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   5. PROCESS WIDGET  —  dark green + leaf texture
═══════════════════════════════════════════════════════════ */
.foxfuture-process {
  background-color: var(--ff-green-deep);
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  padding: var(--ff-section-pad);
  position: relative;
}
.foxfuture-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,17,8,0.88);
  z-index: 0;
}
.foxfuture-process > * { position: relative; z-index: 1; }

.ff-process-header {
  text-align: center;
  margin-bottom: 72px;
}

.ff-process-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--ff-text-light);
  margin: 0;
}

.ff-process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: auto;
  align-items: start;
  position: relative;
}

.ff-process-timeline::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(16.66% + 10px);
  right: calc(16.66% + 10px);
  height: 1px;
  border-top: 2px dashed rgba(45,122,79,0.4);
  pointer-events: none;
}

.ff-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.ff-step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(45,122,79,0.15);
  border: 1px solid var(--ff-green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.ff-step-number {
  font-family: var(--ff-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ff-green-accent);
}

.ff-step-title {
  font-family: var(--ff-font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ff-text-light);
  margin: 0 0 12px;
}

.ff-step-desc {
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
  color: var(--ff-text-muted);
  line-height: 1.7;
}

/* CTA Button */
.ff-process-cta {
  text-align: center;
  margin-top: 64px;
}

.ff-process-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: transparent;
  color: var(--ff-text-light);
  font-family: var(--ff-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.ff-process-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ff-green-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 0;
}
.ff-process-cta-btn:hover::before { transform: scaleX(1); }
.ff-process-cta-btn span,
.ff-process-cta-btn svg { position: relative; z-index: 1; }
.ff-process-cta-btn:hover {
  border-color: var(--ff-green-accent);
  color: #ffffff;
  letter-spacing: 3px;
}
.ff-process-cta-btn svg { transition: transform 0.35s ease; }
.ff-process-cta-btn:hover svg { transform: translateX(4px); }

.ff-step-connector { display: none; }

/* ══════════════════════════════════════════════════════════
   6. PORTFOLIO WIDGET  —  white / off-white
═══════════════════════════════════════════════════════════ */
.foxfuture-portfolio {
  background-color: var(--ff-off-white);
  padding: 100px 0 0;
  overflow: hidden;
}

.ff-portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 0 5% 60px;
}

.ff-portfolio-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  color: var(--ff-dark-text);
  line-height: 1.1;
  margin: 0;
}

.ff-portfolio-desc {
  font-family: var(--ff-font-body);
  font-size: 0.95rem;
  color: var(--ff-muted-dark);
  line-height: 1.7;
  max-width: 380px;
  text-align: right;
}

/* --- Portfolio Marquee (Scroll) --- */
.ff-portfolio-scroll-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ff-portfolio-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12vw;
  max-width: 200px;
  z-index: 5;
  pointer-events: none;
}
.ff-portfolio-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--ff-off-white) 0%, transparent 100%);
}
.ff-portfolio-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--ff-off-white) 0%, transparent 100%);
}

.ff-portfolio-track {
  display: flex;
  width: max-content;
  gap: 0; /* Remove gap if cards have margin, or set explicit gap */
  animation: ff-scroll-left-marquee linear infinite;
}

.ff-portfolio-track:hover {
  animation-play-state: paused;
}

@keyframes ff-scroll-left-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ff-portfolio-card {
  width: 360px; /* Slimmer width for portrait ratios */
  flex: 0 0 auto;
  margin-right: 32px; /* Spacing between images */
  transition: background 0.3s;
}

.ff-portfolio-card:hover { background: rgba(45,122,79,0.04); }

.ff-portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  height: 480px; /* Taller height for architectural/portrait photos */
  /* If modern browsers supported, could also use aspect-ratio: 3/4; */
}

.ff-portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.ff-portfolio-card:hover .ff-portfolio-img-wrap img { transform: scale(1.06); }

.ff-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,20,0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  text-align: center;
}
.ff-portfolio-card:hover .ff-portfolio-overlay { opacity: 1; }

.ff-portfolio-category {
  background: var(--ff-green-accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
}

.ff-portfolio-project-name {
  font-family: var(--ff-font-display);
  font-size: 1.4rem;
  color: #f0f0ee;
  margin: 0;
}

.ff-portfolio-location {
  color: var(--ff-text-muted);
  font-size: 0.85rem;
}

.ff-portfolio-view {
  color: var(--ff-green-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.ff-portfolio-card-body {
  padding: 24px 24px 32px;
  border-top: 1px solid rgba(10,31,20,0.08);
}

.ff-portfolio-card-title {
  font-family: var(--ff-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ff-dark-text);
  line-height: 1.2;
  margin: 0 0 6px;
}

.ff-portfolio-card-meta {
  font-size: 0.85rem;
  color: var(--ff-muted-dark);
  margin: 0 0 10px;
}

.ff-portfolio-card-date {
  font-size: 0.78rem;
  color: var(--ff-green-accent);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════
   7. FOUNDER WIDGET  —  dark green (solid)
═══════════════════════════════════════════════════════════ */
.foxfuture-founder {
  background: var(--ff-green-deep);
  overflow: hidden;
  position: relative;
}

.ff-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 700px;
  align-items: stretch;
}

.ff-founder-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.ff-founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(108%) brightness(0.92);
  transition: filter 0.6s ease;
}
.foxfuture-founder:hover .ff-founder-img { filter: grayscale(0%) contrast(105%) brightness(0.96); }

/* Green inset frame */
.ff-founder-image-wrap::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(45,122,79,0.5);
  pointer-events: none;
  z-index: 2;
}
/* L-bracket corner */
.ff-founder-image-wrap::after {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  width: 48px; height: 48px;
  border-top: 2px solid var(--ff-green-accent);
  border-left: 2px solid var(--ff-green-accent);
  pointer-events: none;
  z-index: 3;
}

.ff-founder-content {
  padding: 70px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(45,122,79,0.15);
}

.ff-founder-name {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 600;
  color: var(--ff-text-light);
  margin: 8px 0 4px;
  line-height: 1.1;
}

.ff-founder-role {
  color: var(--ff-green-accent);
  font-family: var(--ff-font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 36px;
}

.ff-founder-rule {
  width: 60px;
  height: 1px;
  background: var(--ff-green-accent);
  margin-bottom: 32px;
}

.ff-founder-quote {
  font-family: var(--ff-font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-style: italic;
  color: var(--ff-text-light);
  line-height: 1.4;
  padding-left: 28px;
  border-left: 2px solid var(--ff-green-accent);
  margin: 0 0 36px;
}

.ff-founder-story {
  font-family: var(--ff-font-body);
  font-size: 1rem;
  color: var(--ff-text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.ff-founder-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(45,122,79,0.15);
}

.ff-founder-stat { display: flex; flex-direction: column; gap: 4px; }

.ff-founder-stat-num {
  font-family: var(--ff-font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--ff-green-accent);
  line-height: 1;
}

.ff-founder-stat-label {
  font-family: var(--ff-font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ff-text-muted);
}

.ff-signature {
  font-family: var(--ff-font-display);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ff-green-accent);
  opacity: 0.85;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   7b. PORTFOLIO WIDGET  —  white / off-white (auto-scroll)
═══════════════════════════════════════════════════════════ */
.foxfuture-portfolio {
  background-color: var(--ff-off-white);
  padding: var(--ff-section-pad) 0 0;
  overflow: hidden;
}

.ff-portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 0 5% 48px;
}

.ff-portfolio-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--ff-dark-text);
  margin: 0;
  max-width: 520px;
}

.ff-portfolio-desc {
  font-family: var(--ff-font-body);
  font-size: 1rem;
  color: var(--ff-muted-dark);
  max-width: 360px;
  text-align: right;
  line-height: 1.7;
}

/* Auto-scroll wrapper with fade edges */
.ff-portfolio-scroll-wrap {
  position: relative;
  overflow: hidden;
}

.ff-portfolio-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ff-portfolio-fade--left  { left: 0;  background: linear-gradient(to right, var(--ff-off-white), transparent); }
.ff-portfolio-fade--right { right: 0; background: linear-gradient(to left,  var(--ff-off-white), transparent); }

/* Scroll animation */
@keyframes ff-portfolio-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scrolling track */
.ff-portfolio-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: max-content;
  animation: ff-portfolio-scroll linear infinite;
  will-change: transform;
}
.ff-portfolio-track:hover {
  animation-play-state: paused;
}

.ff-portfolio-card {
  flex: 0 0 25vw;
  width: 25vw;
  background: var(--ff-white);
  overflow: hidden;
  border-right: 1px solid rgba(10,31,20,0.08);
  transition: var(--ff-transition);
  flex-shrink: 0;
}
.ff-portfolio-card:hover {
  background: rgba(45,122,79,0.04);
}

.ff-portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ff-portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ff-portfolio-card:hover .ff-portfolio-img-wrap img {
  transform: scale(1.05);
}

.ff-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,31,20,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ff-portfolio-card:hover .ff-portfolio-overlay {
  opacity: 1;
}

.ff-portfolio-category {
  font-family: var(--ff-font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ff-green-accent);
  margin-bottom: 6px;
}

.ff-portfolio-project-name {
  font-family: var(--ff-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ff-white);
  margin: 0 0 4px;
}

.ff-portfolio-location {
  font-family: var(--ff-font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 0 0 12px;
}

.ff-portfolio-view {
  font-family: var(--ff-font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ff-green-accent);
}

.ff-portfolio-card-body {
  padding: 20px 24px 24px;
}

.ff-portfolio-card-title {
  font-family: var(--ff-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ff-dark-text);
  margin: 0 0 6px;
}

.ff-portfolio-card-meta {
  font-family: var(--ff-font-body);
  font-size: 0.85rem;
  color: var(--ff-muted-dark);
  margin: 0 0 8px;
}

.ff-portfolio-card-date {
  font-family: var(--ff-font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ff-green-accent);
}

/* ══════════════════════════════════════════════════════════
   8. TESTIMONIALS WIDGET  —  white / off-white
═══════════════════════════════════════════════════════════ */
.foxfuture-testimonials {
  background-color: var(--ff-off-white);
  padding: var(--ff-section-pad);
}

.ff-testi-header {
  text-align: center;
  margin-bottom: 64px;
}

.ff-testi-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--ff-dark-text);
  margin: 0;
}

.ff-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: auto;
}

.ff-testi-card {
  background: var(--ff-white);
  border-top: 2px solid var(--ff-green-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--ff-transition);
}
.ff-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.ff-testi-stars {
  color: var(--ff-green-accent);
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.ff-testi-quote {
  font-family: var(--ff-font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--ff-dark-text);
  line-height: 1.7;
  flex: 1;
}

.ff-testi-client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(10,31,20,0.08);
}

.ff-testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ff-green-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
}

.ff-testi-name {
  font-family: var(--ff-font-body);
  font-weight: 500;
  color: var(--ff-dark-text);
  font-size: 0.95rem;
}

.ff-testi-location {
  font-family: var(--ff-font-body);
  font-size: 0.8rem;
  color: var(--ff-muted-dark);
}

/* ══════════════════════════════════════════════════════════
   9. CONTACT WIDGET  —  dark green + leaf texture, white form
═══════════════════════════════════════════════════════════ */
.foxfuture-contact {
  background-color: var(--ff-green-deep);
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  padding: var(--ff-section-pad);
  position: relative;
}
.foxfuture-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,17,8,0.85);
  z-index: 0;
}
.foxfuture-contact > * { position: relative; z-index: 1; }

.ff-contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.ff-contact-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--ff-text-light);
  margin: 0;
}

.ff-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

.ff-contact-headline {
  font-family: var(--ff-font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  color: var(--ff-text-light);
  margin: 0 0 16px;
  line-height: 1.2;
}

.ff-contact-subtext {
  font-family: var(--ff-font-body);
  font-size: 0.95rem;
  color: var(--ff-text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.ff-contact-phones {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.ff-contact-phone-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(45,122,79,0.2);
}

.ff-phone-icon {
  width: 20px;
  height: 20px;
  color: var(--ff-green-accent);
  flex-shrink: 0;
}

.ff-contact-phone-item small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ff-text-muted);
  display: block;
  font-family: var(--ff-font-body);
}

.ff-contact-phone-item span {
  font-family: var(--ff-font-body);
  font-size: 0.95rem;
  color: var(--ff-text-light);
}

.ff-contact-areas {
  margin-bottom: 32px;
  padding: 16px 20px;
  border-left: 2px solid rgba(45,122,79,0.4);
}

.ff-contact-areas small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ff-text-muted);
  display: block;
  margin-bottom: 6px;
  font-family: var(--ff-font-body);
}

.ff-contact-areas p {
  font-family: var(--ff-font-body);
  font-size: 0.95rem;
  color: rgba(244,244,240,0.75);
  margin: 0;
}

/* WhatsApp and Instagram buttons */
.ff-social-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.ff-whatsapp-btn, .ff-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  color: #fff;
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: var(--ff-transition);
  border: none;
  cursor: pointer;
}
.ff-whatsapp-btn { background: #25D366; }
.ff-whatsapp-btn:hover { background: #1ebe59; }

.ff-instagram-btn { background: #E1306C; }
.ff-instagram-btn:hover { background: #C13584; }

.ff-whatsapp-btn svg, .ff-instagram-btn svg { width: 20px; height: 20px; fill: #fff; }

/* Contact form — WHITE card on green background */
.ff-form-title,
.ff-contact-form-wrap .ff-form-title {
  font-family: var(--ff-font-display) !important;
  font-size: 1.8rem !important;
  color: var(--ff-dark-text) !important;
  margin: 0 0 32px !important;
}

.ff-contact-form-wrap {
  background: #ffffff;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.ff-form-group { margin-bottom: 16px; }

.ff-form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,31,20,0.2);
  color: var(--ff-dark-text);
  padding: 14px 0;
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
  box-sizing: border-box;
  line-height: 1.5 !important;
}
input.ff-form-control, select.ff-form-control { height: auto !important; }
textarea.ff-form-control { height: auto; min-height: 120px !important; }
.ff-form-control::placeholder { color: rgba(10,31,20,0.4); }
.ff-form-control:focus { border-bottom-color: var(--ff-green-accent); }
.ff-form-control option { background: white; color: var(--ff-dark-text); }

/* Submit button — green on white form */
.ff-form-submit {
  width: 100%;
  padding: 16px;
  background: var(--ff-green-accent);
  color: #ffffff;
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: var(--ff-transition);
}
.ff-form-submit:hover { background: var(--ff-green-hover); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .ff-stats-inner       { grid-template-columns: 1fr; gap: 48px; }
  .ff-stats-divider     { display: none; }
  .ff-services-grid     { grid-template-columns: repeat(2, 1fr); }
  .ff-nri-features      { grid-template-columns: repeat(2, 1fr); }
  .ff-process-timeline  { grid-template-columns: 1fr; gap: 48px; }
  .ff-process-timeline::after { display: none; }
  .ff-founder-grid      { grid-template-columns: 1fr; }
  .ff-founder-image-wrap{ min-height: 400px; }
  .ff-founder-content   { padding: 60px 40px; }
  .ff-contact-grid      { grid-template-columns: 1fr; gap: 48px; }
  .ff-portfolio-card    { flex: 0 0 50vw; width: 50vw; }
}

@media (max-width: 768px) {
  :root { --ff-section-pad: 72px 5%; }
  .ff-hero-ctas         { flex-direction: column; align-items: center; }
  .ff-stats-left        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ff-services-grid     { grid-template-columns: 1fr; }
  .ff-nri-features      { grid-template-columns: 1fr; }
  .ff-testi-grid        { grid-template-columns: 1fr; }
  .ff-portfolio-header  { flex-direction: column; align-items: flex-start; }
  .ff-portfolio-desc    { text-align: left; max-width: 100%; }
  .ff-portfolio-card    { flex: 0 0 80vw; width: 80vw; }
  .ff-founder-stats     { gap: 28px; flex-wrap: wrap; }
  .ff-contact-form-wrap { padding: 32px 24px; }
}

/* ══════════════════════════════════════════════════════════
   SERVICES SHOWCASE — "What We Build"
   Full-height section with horizontally scrolling service cards.
   Matches index.html .services-section exactly.
═══════════════════════════════════════════════════════════ */
.foxfuture-svc-showcase {
  background-color: #0a1a11;
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Leaf texture overlay */
.foxfuture-svc-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
}

.ff-svc-showcase-heading {
  font-family: var(--ff-font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--ff-text-light);
  padding-left: 5%;
  margin: 0 0 60px;
  position: relative;
  z-index: 1;
}

/* Outer wrapper — hides overflow & provides edge fades */
.ff-svc-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ff-svc-marquee-wrapper::before,
.ff-svc-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}
.ff-svc-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0a1f14 0%, transparent 100%);
}
.ff-svc-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0a1f14 0%, transparent 100%);
}

/* Scrolling track — contains doubled cards for seamless loop */
.ff-svc-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: max-content;
  animation: ff-svc-scroll linear infinite;
  will-change: transform;
}
.ff-svc-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes ff-svc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual service card */
.ff-svc-card {
  flex: 0 0 33.333vw;
  width: 33.333vw;
  display: flex;
  flex-direction: column;
  background: #0d2218;
  border-right: 1px solid rgba(45,122,79,0.12);
  transition: background 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.ff-svc-card:hover {
  background: #122d1e;
}

/* Top visual area: wireframe + name overlay */
.ff-svc-card-visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ff-svc-wireframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  transition: opacity 0.5s ease;
}
.ff-svc-card:hover .ff-svc-wireframe {
  opacity: 0.28;
}

.ff-svc-card-name {
  position: relative;
  z-index: 2;
  font-family: var(--ff-font-display);
  font-size: clamp(1.8rem, 2.6vw, 3.4rem);
  font-weight: 600;
  color: rgba(244,244,240,0.45);
  text-align: center;
  padding: 0 24px;
  line-height: 1.15;
  transition: color 0.4s ease;
  pointer-events: none;
}
.ff-svc-card:hover .ff-svc-card-name {
  color: rgba(244,244,240,1);
}

/* Bottom: text info panel */
.ff-svc-card-info {
  padding: 32px 40px 48px;
  text-align: center;
  border-top: 1px solid rgba(45,122,79,0.1);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}
.ff-svc-card:hover .ff-svc-card-info {
  opacity: 1;
}

.ff-svc-card-info h4 {
  font-family: var(--ff-font-display);
  font-size: 1.3rem;
  color: var(--ff-green-accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.ff-svc-card-info p {
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
  color: #8aab99;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* Mobile: wider cards */
@media (max-width: 768px) {
  .ff-svc-card { flex: 0 0 80vw; width: 80vw; }
  .ff-svc-card-name { font-size: 1.6rem; }
  .ff-svc-card-info { padding: 24px 28px 36px; }
}

/* ══════════════════════════════════════════════════════════
   BRANDS MARQUEE
═══════════════════════════════════════════════════════════ */
.foxfuture-brands-marquee {
  background-color: var(--ff-off-white);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(10,31,20,0.08);
  border-bottom: 1px solid rgba(10,31,20,0.08);
}

.ff-marquee-label {
  text-align: center;
  font-family: var(--ff-font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ff-muted-dark);
  margin-bottom: 14px;
  opacity: 0.7;
}

.ff-marquee-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Fade edges - removed in favor of CSS mask */
.ff-marquee-fade { display: none; }

/* Scroll animation */
@keyframes ff-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ff-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ff-marquee-scroll linear infinite;
  will-change: transform;
}

.ff-marquee-track:hover { animation-play-state: paused; }

.ff-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;                          /* fixed strip height */
  padding: 0 48px;
  border-right: 1px solid rgba(10,31,20,0.12);
  white-space: nowrap;
  flex-shrink: 0;
}

.ff-marquee-logo {
  display: block;
  max-height: 70px;                      /* logo never taller than 70 px */
  max-width: 220px;                      /* cap wide logos too */
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ff-marquee-logo:hover { 
  opacity: 1;
  transform: scale(1.05);
}

.ff-marquee-text {
  font-family: var(--ff-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ff-dark-text);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.ff-marquee-text:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   SERVICES MARQUEE ("What We Build")
═══════════════════════════════════════════════════════════ */
.foxfuture-services-marquee {
  background-color: var(--ff-green-deep);
  padding: 36px 0;
  overflow: hidden;
  position: relative;
}

/* Leaf texture overlay reuse */
.foxfuture-services-marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.ff-svc-marquee-label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--ff-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ff-green-accent);
  margin-bottom: 20px;
}

/* Make fade edges match dark bg for services marquee */
.foxfuture-services-marquee .ff-marquee-fade--left  { background: linear-gradient(to right, var(--ff-green-deep), transparent); }
.foxfuture-services-marquee .ff-marquee-fade--right { background: linear-gradient(to left,  var(--ff-green-deep), transparent); }

.ff-svc-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ff-marquee-scroll linear infinite;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.ff-svc-marquee-track.ff-marquee-reverse {
  animation-direction: reverse;
}

.ff-svc-marquee-track:hover { animation-play-state: paused; }

.ff-svc-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  font-family: var(--ff-font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(244, 244, 240, 0.7);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.ff-svc-marquee-item:hover { color: var(--ff-text-light); }

.ff-svc-marquee-dot {
  color: var(--ff-green-accent);
  font-size: 0.6rem;
  opacity: 0.8;
}

/* responsive */
@media (max-width: 768px) {
  .ff-marquee-item     { padding: 0 24px; height: 64px; }
  .ff-marquee-logo     { max-height: 32px; max-width: 100px; }
  .ff-svc-marquee-item { font-size: 1.1rem; padding: 0 20px; }
}

@media (max-width: 480px) {
  .ff-portfolio-card    { flex: 0 0 90vw; width: 90vw; }
}

/* ══════════════════════════════════════════════════════════
   10. START PROJECT FORM WRAPPER  —  dark green + leaf + wrapper
═══════════════════════════════════════════════════════════ */
.foxfuture-start-project {
  background-color: var(--ff-green-deep);
  background-image: var(--ff-leaf-bg);
  background-size: cover;
  background-position: center;
  padding: var(--ff-section-pad);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foxfuture-start-project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,17,8,0.85); /* Dark overlay */
  z-index: 0;
}
.foxfuture-start-project > * { position: relative; z-index: 1; }

.ff-start-project-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.ff-start-project-wrapper {
  background: rgba(17, 45, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 122, 79, 0.3);
  padding: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ff-form-header {
  text-align: center;
  margin-bottom: 48px;
}

.foxfuture-start-project .ff-form-title {
  font-family: var(--ff-font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--ff-text-light) !important;
  line-height: 1.1;
  margin-bottom: 16px;
}

.foxfuture-start-project .ff-form-desc {
  font-family: var(--ff-font-body);
  font-size: 1rem;
  color: var(--ff-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Internal overrides for user's shortcode form plugins (CF7 / WPForms) */
.ff-form-shortcode-area .wpforms-container,
.ff-form-shortcode-area .wpcf7 {
  margin: 0 !important;
}

.ff-form-shortcode-area input[type="text"],
.ff-form-shortcode-area input[type="email"],
.ff-form-shortcode-area input[type="tel"],
.ff-form-shortcode-area input[type="number"],
.ff-form-shortcode-area input[type="url"],
.ff-form-shortcode-area input[type="password"],
.ff-form-shortcode-area input[type="search"],
.ff-form-shortcode-area select,
.ff-form-shortcode-area textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(244, 244, 240, 0.2) !important;
  padding: 14px 0 !important;
  font-family: var(--ff-font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--ff-text-light) !important;
  transition: var(--ff-transition) !important;
  outline: none !important;
  border-radius: 0 !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
}

.ff-form-shortcode-area input,
.ff-form-shortcode-area select {
  height: auto !important;
}

.ff-form-shortcode-area textarea {
  height: auto !important;
  min-height: 120px !important;
}

.ff-form-shortcode-area input:focus,
.ff-form-shortcode-area select:focus,
.ff-form-shortcode-area textarea:focus {
  border-bottom-color: var(--ff-green-accent) !important;
}

.ff-form-shortcode-area input::placeholder,
.ff-form-shortcode-area textarea::placeholder {
  color: rgba(244, 244, 240, 0.8) !important;
  font-weight: 400 !important;
}

.ff-form-shortcode-area select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232d7a4f' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
}
.ff-form-shortcode-area select option {
  background-color: var(--ff-green-deep) !important;
  color: var(--ff-text-light) !important;
}

.ff-form-shortcode-area input[type="submit"],
.ff-form-shortcode-area button[type="submit"],
.ff-form-shortcode-area .wpcf7-submit,
.ff-form-shortcode-area .wpforms-submit {
  background: var(--ff-white) !important;
  color: var(--ff-green-deep) !important;
  font-family: var(--ff-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding: 18px 40px !important;
  border: 1px solid var(--ff-white) !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 16px !important;
  transition: var(--ff-transition) !important;
  display: inline-block !important;
  border-radius: 0 !important;
}

.ff-form-shortcode-area input[type="submit"]:hover,
.ff-form-shortcode-area button[type="submit"]:hover {
  background: transparent !important;
  color: var(--ff-white) !important;
}

@media (max-width: 768px) {
  .ff-start-project-wrapper { padding: 40px 24px; }
}

/* ══════════════════════════════════════════════════════════
   CONTAINER UTILITY
═══════════════════════════════════════════════════════════ */
.ff-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  width: 100%;
  box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════
   12. HEADER WIDGET
═══════════════════════════════════════════════════════════ */
.ff-site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 9999;
  transition: var(--ff-transition);
}

.ff-site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 31, 20, 0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.ff-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.ff-logo img {
  height: 48px;
  width: auto;
}

.ff-nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-nav-link {
  font-family: var(--ff-font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ff-nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--ff-green-accent);
  transition: width 0.3s ease;
}

.ff-nav-link:hover::after { width: 100%; }

.ff-site-header.scrolled .ff-nav-link { color: var(--ff-dark-text); }

.ff-nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.ff-nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--ff-font-body);
  white-space: nowrap;
}

/* Base outline button in transparent header */
.ff-nav-actions .ff-btn-outline {
  border: 1px solid #fff;
  color: #fff;
}
.ff-nav-actions .ff-btn-outline:hover {
  background: #fff;
  color: var(--ff-dark-text);
}

.ff-site-header.scrolled .ff-nav-actions .ff-btn-outline {
  border-color: var(--ff-dark-text);
  color: var(--ff-dark-text);
}
.ff-site-header.scrolled .ff-nav-actions .ff-btn-outline:hover {
  background: var(--ff-dark-text);
  color: #fff;
}

.ff-site-header.scrolled .ff-nav-actions .ff-btn-primary {
  background: var(--ff-green-deep) !important;
  color: #fff !important;
}

.ff-site-header.scrolled .ff-nav-actions .ff-btn-primary:hover {
  background: var(--ff-green-accent) !important;
}

.ff-hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 10000;
}

.ff-hamburger-line {
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: 0.3s;
}
.ff-site-header.scrolled .ff-hamburger-line { background: var(--ff-dark-text); }

.ff-hamburger-line:nth-child(1) { top: 0; }
.ff-hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.ff-hamburger-line:nth-child(3) { bottom: 0; }

.ff-hamburger.active .ff-hamburger-line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.ff-hamburger.active .ff-hamburger-line:nth-child(2) { opacity: 0; }
.ff-hamburger.active .ff-hamburger-line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1024px) {
  .ff-nav-links { gap: 24px; }
}

@media (max-width: 768px) {
  .ff-nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--ff-green-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.4s ease;
    z-index: 9998;
  }
  .ff-nav-links.active { left: 0; }
  .ff-site-header.scrolled .ff-nav-link { color: #fff; }
  .ff-hamburger { display: block; }
  .ff-nav-actions { display: none; }
}

/* ══════════════════════════════════════════════════════════
   13. FOOTER WIDGET
═══════════════════════════════════════════════════════════ */
.ff-site-footer {
  background-color: var(--ff-off-white);
  color: var(--ff-dark-text);
  border-top: 1px solid rgba(10,31,20,0.08);
  padding: 60px 0;
  font-family: var(--ff-font-body);
}

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

.ff-footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.ff-footer-tagline {
  color: var(--ff-muted-dark);
  font-family: var(--ff-font-body);
  line-height: 1.6;
  max-width: 320px;
}

.ff-footer-links h4 {
  font-family: var(--ff-font-display);
  color: var(--ff-dark-text);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.ff-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-footer-links a {
  color: var(--ff-muted-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--ff-font-body);
  font-size: 0.9rem;
}
.ff-footer-links a:hover { color: var(--ff-green-accent); }

@media (max-width: 768px) {
  .ff-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ff-footer-brand img { margin: 0 auto 20px; }
  .ff-footer-tagline { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   14. GALLERY WIDGET
═══════════════════════════════════════════════════════════ */
.ff-gallery-wrap { width: 100%; }

.ff-gallery-grid {
  display: grid;
  gap: 24px;
}
.ff-gallery-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.ff-gallery-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.ff-gallery-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }

.ff-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  background: #f0f0f0;
}

.ff-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.ff-gallery-item:hover img { transform: scale(1.05); }

.ff-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,20,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ff-gallery-overlay svg {
  width: 32px;
  height: 32px;
  color: #fff;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.ff-gallery-item:hover .ff-gallery-overlay { opacity: 1; }
.ff-gallery-item:hover .ff-gallery-overlay svg { transform: scale(1); }

@media (max-width: 768px) {
  .ff-gallery-grid[data-cols="3"],
  .ff-gallery-grid[data-cols="4"] { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .ff-gallery-grid[data-cols="2"],
  .ff-gallery-grid[data-cols="3"],
  .ff-gallery-grid[data-cols="4"] { grid-template-columns: 1fr; }
}

