/*
  =========================================================
  FÖLDPRO – MODERN CONTRASTING THEME
  - Egyedi tipográfia + kontrasztos háttérszínek
  - Professzionális, egyedi megjelenés
  =========================================================
*/

:root{
  /* Fonts */
  --fp-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --fp-font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* Base palette - dark green, black, white */
  --fp-bg: #ffffff;
  --fp-bg-alt: #f5f5f5;
  --fp-bg-dark: #0a1612;
  --fp-bg-card: #ffffff;
  
  /* Text colors */
  --fp-text: #0a1612;
  --fp-text-light: #ffffff;
  --fp-muted: #6c757d;

  /* Primary - dark green */
  --fp-primary: #0d3d2a;
  --fp-primary-light: #156b4d;
  --fp-primary-lighter: #e8f5f0;
  
  /* Accent - vibrant green */
  --fp-accent: #1d8661;
  --fp-accent-light: #2ea876;

  /* UI */
  --fp-border: rgba(10,22,18,0.1);
  --fp-border-light: rgba(255,255,255,0.15);
  --fp-shadow: 0 4px 12px rgba(10,22,18,0.08);
  --fp-shadow-lg: 0 8px 24px rgba(10,22,18,0.12);
  --fp-radius: 16px;
  --fp-radius-sm: 12px;

  --fp-hero-min-height: 70vh;
  --fp-navbar-height: 72px;
}

.fp-body{
  background: var(--fp-bg);
  color: var(--fp-text);
  font-family: var(--fp-font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap theme override-ish */
.btn{
  font-family: var(--fp-font-body);
  border-radius: var(--fp-radius-sm);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
  border-width: 2px;
}
.btn-primary{
  background: var(--fp-accent);
  border-color: var(--fp-accent);
  color: var(--fp-text-light);
  box-shadow: 0 2px 8px rgba(29,134,97,0.25);
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
}
.btn-primary.btn-sm{
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
}
.btn-primary:hover,
.btn-primary:focus{
  background: var(--fp-accent-light);
  border-color: var(--fp-accent-light);
  box-shadow: 0 4px 12px rgba(10,22,18,0.2);
  transform: translateY(-2px);
  color: var(--fp-text-light);
}
.btn-outline-dark{
  border-color: var(--fp-text);
  color: var(--fp-text);
  background: transparent;
}
.btn-outline-dark:hover{
  background: var(--fp-text);
  border-color: var(--fp-text);
  color: var(--fp-text-light);
  transform: translateY(-2px);
}
.btn-outline-light{
  border-color: rgba(255,255,255,0.8);
  color: rgba(255,255,255,0.9);
  background: transparent;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
}
.btn-outline-light:hover{
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,1);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-outline-secondary{
  border-color: var(--fp-primary);
  color: var(--fp-primary);
  background: transparent;
}
.btn-outline-secondary:hover{
  background: var(--fp-primary);
  border-color: var(--fp-primary);
  color: var(--fp-text-light);
  transform: translateY(-2px);
}

/* Rounded pill button */
.fp-btn-pill{
  border-radius: 999px;
}

/* Navbar */
.fp-navbar{
  transition: padding 240ms ease, box-shadow 240ms ease;
  background: #000000 !important;
}
.fp-navbar.fp-navbar-shrink{
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  background: #000000 !important;
}
.fp-navbar .nav-link {
  color: rgba(255,255,255,0.9) !important;
}
.fp-navbar .nav-link:hover {
  color: #ffffff !important;
}
.fp-navbar .navbar-brand {
  color: #ffffff !important;
}
.fp-navbar .fp-logo-text{
  font-family: "Space Grotesk", var(--fp-font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fp-logo-placeholder{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px dashed rgba(17,19,21,0.22);
  display: inline-block;
}


/* Sections */
.fp-section{
  position: relative;
  background: var(--fp-bg);
}
.fp-section-soft{
  background: var(--fp-bg-alt);
}
.fp-section-dark{
  background: var(--fp-bg-dark);
  color: var(--fp-text-light);
}
.fp-section-dark h2,
.fp-section-dark h3,
.fp-section-dark h4 {
  color: var(--fp-text-light);
}
.fp-section-dark p {
  color: rgba(255,255,255,0.8);
}

/* HERO */
.fp-hero{
  position: relative;
  min-height: var(--fp-hero-min-height);
  display: flex;
  align-items: center;
  padding: 48px 0;
  overflow: hidden;
  background: var(--fp-bg);
}
.fp-hero-bg-asset{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  z-index: 1;
}
.fp-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.859), rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, .25) 70%);
  z-index: 2;
}
.fp-hero-content{
  position: relative;
  z-index: 3;
  text-align: left;
}
.fp-area-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--fp-primary);
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--fp-font-display);
  color: var(--fp-text-light);
  box-shadow: 0 4px 12px rgba(10,22,18,0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fp-area-badge i{
  color: var(--fp-accent);
  font-size: 1.2rem;
}
.fp-hero-title{
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #4fd89f, #6fecb3, #8ff5ca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-family: var(--fp-font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}
.fp-hero-subtitle{
  max-width: 55ch;
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
}
.fp-mini-card{
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--fp-radius);
  padding: 16px 24px;
  background: rgba(255,255,255,0.95);
  border: 2px solid var(--fp-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-weight: 700;
  font-family: var(--fp-font-display);
  transition: all 280ms ease;
}
.fp-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  background: rgba(255,255,255,1);
}
.fp-mini-card i{
  color: var(--fp-primary);
  font-size: 1.4rem;
}
.fp-scroll-hint{
  text-decoration: none;
  color: #ffffff !important;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 4;
}
.fp-scroll-hint:hover{
  color: #6fecb3 !important;
}
.fp-hero-right{
  border-radius: var(--fp-radius);
}
.fp-media-placeholder{
  width: 100%;
  height: 320px;
  border-radius: var(--fp-radius);
  border: 1px dashed rgba(17,19,21,0.22);
  background:
    linear-gradient(135deg, rgba(47,111,86,0.08), rgba(17,19,21,0.03));
}

/* Cards */
.fp-card{
  border-radius: var(--fp-radius);
  border: 2px solid rgba(10,22,18,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  background: var(--fp-bg-card);
  overflow: hidden;
}
.fp-card:hover{
  transform: translateY(-4px);
  border-color: var(--fp-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.fp-card-icon{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--fp-primary);
  border: none;
  margin-bottom: 16px;
}
.fp-card-icon i{
  color: #ffffff;
  font-size: 1.5rem;
}

/* Pricing */
.fp-pricing-main{
  position: relative;
  border-radius: var(--fp-radius);
  border: 2px solid var(--fp-border);
  background: #ffffff;
  box-shadow: var(--fp-shadow-lg);
  padding: 24px 26px;
  overflow: hidden;
}
.fp-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--fp-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.fp-chip-ghost{
  background: rgba(29,134,97,0.12);
  color: var(--fp-primary);
  border: 1px solid rgba(29,134,97,0.2);
}
.fp-price-factors{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.fp-price-factor{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(10,22,18,0.08);
}
.fp-price-factor:last-child{
  border-bottom: none;
}
.fp-price-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(29,134,97,0.12);
  border: 1px solid rgba(29,134,97,0.18);
  color: var(--fp-primary);
  flex-shrink: 0;
}
.fp-price-icon.soft{
  background: rgba(10,22,18,0.06);
  border-color: rgba(10,22,18,0.12);
}
.fp-price-checklist ul li{
  border: 1px solid rgba(10,22,18,0.07);
  border-radius: var(--fp-radius-sm);
  padding: 10px 12px;
  background: #ffffff;
}
.fp-pricing-side .card-body{
  padding: 18px 18px 16px;
}
.fp-price-matrix{
  border: 1px solid rgba(10,22,18,0.08);
  border-radius: var(--fp-radius);
  overflow: hidden;
}
.fp-price-row{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
}
.fp-price-row + .fp-price-row{
  border-top: 1px solid rgba(10,22,18,0.06);
}

/* Steps */
/* Steps - Timeline style */
.fp-timeline-wrapper {
  position: relative;
}

/* Animated progress bar - Desktop */
@media (min-width: 992px) {
  .fp-timeline-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: var(--fp-accent);
    transform: translateY(-50%);
    z-index: 0;
    box-shadow: 0 0 10px rgba(29,134,97,0.5);
    width: 0;
  }
  
  .fp-timeline-active .fp-timeline-progress {
    animation: progressAnimation 6s ease-out forwards;
  }
}

/* Animated progress bar - Mobile */
@media (max-width: 991px) {
  .fp-timeline-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 3px;
    background: var(--fp-accent);
    z-index: 0;
    box-shadow: 0 0 10px rgba(29,134,97,0.5);
    height: 0;
  }
  
  .fp-timeline-active .fp-timeline-progress {
    animation: progressAnimationVertical 6s ease-out forwards;
  }

  /* Remove top gutter on the first step so the vertical line starts at the top on mobile */
  .fp-timeline-wrapper .row > .fp-step-reveal:first-child {
    margin-top: 0;
  }
}

@keyframes progressAnimation {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes progressAnimationVertical {
  0% {
    height: 0%;
  }
  100% {
    height: 100%;
  }
}

/* Step card pulse animation - gyors villanás */
@keyframes stepPulse {
  0% {
    border-color: rgba(10,22,18,0.12);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(0);
  }
  50% {
    border-color: var(--fp-accent);
    box-shadow: 0 8px 20px rgba(29,134,97,0.25);
    transform: translateY(-4px);
  }
  100% {
    border-color: var(--fp-accent);
    box-shadow: 0 8px 20px rgba(29,134,97,0.15);
    transform: translateY(-4px);
  }
}

@keyframes stepNumPulse {
  0% {
    background: rgba(29,134,97,0.1);
    color: var(--fp-primary);
    transform: scale(1);
  }
  50% {
    background: var(--fp-accent);
    color: #ffffff;
    transform: scale(1.15);
  }
  100% {
    background: var(--fp-accent);
    color: #ffffff;
    transform: scale(1.1);
  }
}

@keyframes stepIconPulse {
  0% {
    color: var(--fp-primary);
    transform: scale(1);
  }
  50% {
    color: var(--fp-accent);
    transform: scale(1.2);
  }
  100% {
    color: var(--fp-accent);
    transform: scale(1.15);
  }
}

/* Apply animations to each step with delay - only when active */
.fp-timeline-active .fp-step-reveal:nth-child(1) .fp-step {
  animation: stepPulse 0.8s ease-out forwards;
}
.fp-timeline-active .fp-step-reveal:nth-child(1) .fp-step-num {
  animation: stepNumPulse 0.8s ease-out forwards;
}
.fp-timeline-active .fp-step-reveal:nth-child(1) .fp-step-ico {
  animation: stepIconPulse 0.8s ease-out forwards;
}

.fp-timeline-active .fp-step-reveal:nth-child(2) .fp-step {
  animation: stepPulse 0.8s ease-out forwards 1.2s;
}
.fp-timeline-active .fp-step-reveal:nth-child(2) .fp-step-num {
  animation: stepNumPulse 0.8s ease-out forwards 1.2s;
}
.fp-timeline-active .fp-step-reveal:nth-child(2) .fp-step-ico {
  animation: stepIconPulse 0.8s ease-out forwards 1.2s;
}

.fp-timeline-active .fp-step-reveal:nth-child(3) .fp-step {
  animation: stepPulse 0.8s ease-out forwards 2.4s;
}
.fp-timeline-active .fp-step-reveal:nth-child(3) .fp-step-num {
  animation: stepNumPulse 0.8s ease-out forwards 2.4s;
}
.fp-timeline-active .fp-step-reveal:nth-child(3) .fp-step-ico {
  animation: stepIconPulse 0.8s ease-out forwards 2.4s;
}

.fp-timeline-active .fp-step-reveal:nth-child(4) .fp-step {
  animation: stepPulse 0.8s ease-out forwards 3.6s;
}
.fp-timeline-active .fp-step-reveal:nth-child(4) .fp-step-num {
  animation: stepNumPulse 0.8s ease-out forwards 3.6s;
}
.fp-timeline-active .fp-step-reveal:nth-child(4) .fp-step-ico {
  animation: stepIconPulse 0.8s ease-out forwards 3.6s;
}

.fp-timeline-active .fp-step-reveal:nth-child(5) .fp-step {
  animation: stepPulse 0.8s ease-out forwards 4.8s;
}
.fp-timeline-active .fp-step-reveal:nth-child(5) .fp-step-num {
  animation: stepNumPulse 0.8s ease-out forwards 4.8s;
}
.fp-timeline-active .fp-step-reveal:nth-child(5) .fp-step-ico {
  animation: stepIconPulse 0.8s ease-out forwards 4.8s;
}

.fp-step{
  border-radius: var(--fp-radius);
  border: 2px solid rgba(10,22,18,0.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  background: var(--fp-bg-card);
  position: relative;
  transition: all 300ms ease;
}

.fp-step:hover {
  border-color: var(--fp-accent);
  box-shadow: 0 8px 20px rgba(29,134,97,0.15);
  transform: translateY(-4px);
}

.fp-step:hover .fp-step-num {
  background: var(--fp-accent);
  color: #ffffff;
  transform: scale(1.1);
}

.fp-step:hover .fp-step-ico {
  color: var(--fp-accent);
  transform: scale(1.15);
}

/* Timeline connector removed - only progress bar visible */

.fp-step-num{
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--fp-primary);
  background: rgba(29,134,97,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  transition: all 300ms ease;
}

.fp-step-ico{
  font-size: 1.5rem;
  color: var(--fp-primary);
  transition: all 300ms ease;
}

/* References card */
.fp-ref-card{
  border-radius: var(--fp-radius);
  border: none;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(17,19,21,0.04);
}

/* Reference nav buttons - equal, smaller sizing */
#references .btn-group .btn{
  min-width: 140px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  justify-content: center;
}

/* Features */
.fp-feature{
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--fp-radius);
  border: 1px solid var(--fp-border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17,19,21,0.03);
}
.fp-feature i{
  font-size: 1.2rem;
  color: var(--fp-primary);
  margin-top: 2px;
}

/* Contact */
.fp-contact-card{
  border-radius: var(--fp-radius);
  border: 1px solid var(--fp-border);
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(17,19,21,0.04);
}
.fp-contact-ico{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47,111,86,0.08);
  border: 1px solid rgba(47,111,86,0.14);
}
.fp-contact-ico i{
  color: var(--fp-primary);
}
.fp-map-placeholder{
  width: 100%;
  height: 260px;
  border-radius: var(--fp-radius);
  border: 2px dashed var(--fp-primary);
  background:
    radial-gradient(circle at 20% 30%, rgba(29,134,97,0.18), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(245,158,66,0.15), transparent 40%),
    linear-gradient(135deg, var(--fp-primary-light), rgba(245,158,66,0.08));
  box-shadow: inset 0 2px 8px rgba(29,134,97,0.1);
}

/* Map embed container */
.fp-map-embed-wrap{
  border-radius: var(--fp-radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17,19,21,0.08);
}

.fp-map-embed{
  width: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

/* Gallery carousel sizing */
.fp-gallery-carousel .carousel-item{
  height: clamp(520px, 70vh, 730px);
  background: #000;
}

.fp-gallery-carousel .carousel-item img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.fp-img-modal .modal-content{
  background: transparent;
  border: none;
  box-shadow: none;
}

.fp-img-modal .modal-dialog{
  max-width: 100%;
  margin: 0;
  pointer-events: none;
}

.fp-img-modal .modal-body{
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.9);
  min-height: 100vh;
  pointer-events: auto;
}

.fp-img-modal img{
  max-height: 88vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 768px){
  .fp-gallery-carousel .carousel-item{
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Footer */
.fp-footer{
  background: var(--fp-bg-dark);
  border-top: 3px solid var(--fp-primary);
  color: var(--fp-text-light);
}
.fp-footer h5,
.fp-footer h6 {
  color: var(--fp-text-light);
  font-family: var(--fp-font-display);
}
.fp-footer a {
  color: rgba(255,255,255,0.7);
  transition: color 200ms ease;
}
.fp-footer a:hover {
  color: var(--fp-accent);
}
.fp-footer .text-muted,
.fp-footer .small {
  color: rgba(255,255,255,0.85) !important;
}
.fp-footer .fw-semibold {
  color: var(--fp-text-light);
}

/* Stars */
.fp-stars i{
  color: var(--fp-accent);
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(245,158,66,0.3);
}

/* Toasts */
.fp-cookie-toast, .fp-copied-toast{
  border-radius: var(--fp-radius-sm);
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-shadow);
}

/* Reveal helpers (initial state set via JS/GSAP too) */
.fp-reveal, .fp-card-reveal, .fp-step-reveal{
  will-change: transform, opacity;
}

/* Small tweaks */
.accordion{
  --bs-accordion-border-color: var(--fp-border);
  --bs-accordion-border-radius: var(--fp-radius);
  --bs-accordion-active-bg: var(--fp-bg);
  --bs-accordion-active-color: var(--fp-text);
}
.accordion-item{
  border-radius: var(--fp-radius);
  overflow: hidden;
  border: 2px solid var(--fp-border);
  margin-bottom: 12px;
}
.accordion-button:not(.collapsed){
  background: var(--fp-bg);
  color: var(--fp-text);
  font-weight: 600;
  border-left: 0;
  box-shadow: none;
}
.accordion-button::after{
  transform: rotate(0deg);
}

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fp-font-display);
  font-weight: 700;
  color: var(--fp-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.display-1, .display-2, .display-3, .display-4 {
  font-family: var(--fp-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Section titles with accent */
.fp-section h2:not(.fp-hero-title) {
  position: relative;
  padding-bottom: 16px;
  display: inline-block;
}

.fp-section h2:not(.fp-hero-title)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--fp-primary);
  border-radius: 2px;
}

/* Accent text */
.text-primary {
  color: var(--fp-primary) !important;
}

/* Enhanced links */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.fp-scroll-hint) {
  color: var(--fp-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.fp-scroll-hint):hover {
  color: var(--fp-primary-600);
  text-decoration: underline;
}

/* Nav links enhancement */
.nav-link {
  font-weight: 600;
  position: relative;
  transition: color 200ms ease;
}

.nav-link:hover {
  color: var(--fp-primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--fp-primary), var(--fp-accent));
  border-radius: 2px;
  transition: transform 200ms ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dark section card styling */
.fp-section-dark .fp-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.fp-section-dark .fp-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--fp-accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.fp-section-dark .fp-card-icon {
  background: linear-gradient(135deg, var(--fp-accent), var(--fp-accent-dark));
}

/* Paragraph styling */
p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Contrast overlay for sections */
.fp-section-contrast {
  position: relative;
  background: linear-gradient(135deg, var(--fp-bg-dark) 0%, #1a332a 100%);
  color: var(--fp-text-light);
}

.fp-section-contrast::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(29,134,97,0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245,158,66,0.12), transparent 50%);
  pointer-events: none;
}

.fp-section-contrast h2,
.fp-section-contrast h3,
.fp-section-contrast h4 {
  color: var(--fp-text-light);
}

/* Selection styling */
::selection {
  background: var(--fp-primary);
  color: var(--fp-text-light);
}

::-moz-selection {
  background: var(--fp-primary);
  color: var(--fp-text-light);
}

/* Mobile text alignment */
@media (max-width: 767px) {
  .fp-hero-content {
    text-align: center !important;
  }
  .fp-hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
