/* Main Content Wrapper */
.main-content-wrapper {
  background-color: #f2f2f2;
  border-radius: var(--br-120) var(--br-120) 0 0;
  margin-top: -120px;
  position: relative;
  z-index: 2;
}

/* CSS for section section:Hero */
.hero-section {
  position: relative;
  padding-top: 47px;
  padding-bottom: 30px;
  color: var(--color-text-light);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #5CC3AD 0%, #4EBAAA 100%);
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header, .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.5);
}

.logo {
  width: 168.6px;
  height: 37px;
}
.donate-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  cursor: pointer;
}

.donate-text {
  font-weight: 700;
  font-size: 14px;
}

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

.hero-text-group {
  position: relative;
  font-family: var(--font-primary);
  text-align: left;
  color: var(--color-text-light);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  font-size: 14px;
}

.tag-pill span {
 font-family: var(--font-mono);
    font-size: var(--fs-16);
    font-weight: 500;
   
 
}

.pill-icon {
  width: 20px;
  height: 20px;
}

h1 {
  font-size: var(--fs-76);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 27px;
  font-family: var(--font-primary);
  color: var(--color-text-light);
}

.highlight {
  background: linear-gradient(90deg, #07675c, #078c7d 25.48%, #31b8a2 60.1%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--fs-18);
  font-weight: 300;
  line-height: 1.3;
  max-width: 619px;
  margin: 0 0 44px;
}

.hero-stats {
  display: flex;
  gap: 80px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
width: 129px;
height: 74px;
position: relative;
font-size: 59.03px;
font-weight: 500;
font-family: var(--font-made-tommy);
color: var(--color-white);
text-align: left;
display: inline-block;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  max-width: 200px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: var(--fs-56);
  }
  .navbar, .site-header {
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-bottom: 0;
  }
  .hero-content {
    text-align: center;
  }
  h1 {
    font-size: var(--fs-42);
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .navbar, .site-header {
    flex-direction: column;
    gap: 20px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 40px;
  }
}

/* CSS for section section:Map */
.map-section {
  background-color: var(--color-background-light);
  border-radius: var(--br-120) var(--br-120) 0 0;
  padding: 95px 0 0px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.map-header, .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.map-title-group {
  max-width: 700px;
}

.section-tag, .pre-title {
  font-family: var(--font-mono);
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--color-text-dark);
  margin: 0 0 19px;
}

.section-tag .highlight,
.pre-title .highlight,
.pre-title span {
  color: var(--color-primary);
}

h2 {
  font-size: var(--fs-56);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--color-text-dark);
}

.map-description, .section-description {
  font-size: var(--fs-18);
  font-weight: 300;
  line-height: 1.3;
  max-width: 438px;
  margin: 0;
  padding-bottom: 21px;
  color: var(--color-text-dark);
}

.map-visualization {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.merged-map-container {
  position: relative;
  width: 100%;
}

.main-map-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.pine-icon {
  position: absolute;
  width: 4.5%; /* Relative sizing */
  height: auto;
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  .map-header {
    flex-direction: column;
  }
  h2 {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .map-section {
    padding: 40px 20px;
  }
}

/* CSS for section section:Steps */
.steps-section {
  padding: 80px 0 0;
  background-color: #f2f2f2;
  position: relative;
}

.steps-header {
  margin-bottom: 60px;
}

.section-tag.pre-title {
  margin-bottom: 19px;
}

h3 {
  font-size: 36px;
  font-weight: 700;
  color: #28282a;
  line-height: 1.3;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  row-gap: 60px;
}

.steps-grid-title {
  grid-column: 1;
  font-size: 36px;
  font-weight: 700;
  color: #28282a;
  line-height: 1.3;
  display: flex;
  align-items: center;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* First row line (steps 1-3) */
.step-card:nth-child(2)::before {
  content: '';
  width: calc(300% + 80px);
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  border-top: 1px solid var(--color-gray);
  box-sizing: border-box;
}

/* Second row line (steps 4-7) */
.step-card:nth-child(5)::before {
  content: '';
  width: calc(400% + 120px);
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  border-top: 1px solid var(--color-gray);
  box-sizing: border-box;
}

.step-number {
  width: 20px;
  height: 43px;
  position: relative;
  font-size: 33.95px;
  display: inline-block;
  font-family: var(--font-made-tommy);
  color: var(--color-lightseagreen-100);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1;
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #28282a;
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid-title {
    grid-column: 1;
  }
  .steps-section {
    padding: 40px 20px;
  }
}

/* CSS for section section:Benefits */
.benefits-section {
  padding: 80px 0 0;
  background-color: #f2f2f2;
  position: relative;
}

.benefits-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.benefits-header h3 {
  max-width: 600px;
  margin-top: 10px;
}

.benefits-intro {
  max-width: 450px;
  font-size: 15px;
  line-height: 1.65;
  color: #28282a;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.benefit-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #28282a;
}

.benefit-content p {
  font-size: 15px;
  line-height: 1.65;
  color: #28282a;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefits-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .benefits-section {
    padding: 40px 20px;
  }
  .benefit-card {
    flex-direction: column;
  }
}

/* CSS for section section:Form */
.form-section {
  padding: 80px 0 0;
  background-color: #f2f2f2;
  position: relative;
}

.form-header {
  margin-bottom: 60px;
}

.form-intro {
  max-width: 600px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #28282a;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  row-gap: 80px;
  column-gap: 0;
}

/* Steps 1 & 2 Wrapper */
.steps-1-2-wrapper {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Step Titles Row */
.step-titles-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
}

.step-titles-row .step-title {
  font-size: 18px;
  font-weight: 700;
  color: #28282A;
  padding: 0 30px;
}

.step-titles-row .step-title .step-number-text {
  color: #5CC3AD;
}

/* Steps 1 & 2 Container - unified border */
.steps-1-2-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #28282a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.steps-1-2-container::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #28282a;
  transform: translateX(-50%);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #28282A;
  border-bottom: none;
  padding-bottom: 0;
}

.step-title .step-number-text {
  color: #5CC3AD;
}

/* Step 1 Styles */
.input-group, .input-field {
  margin-bottom: 20px;
}

.input-group label,
.input-field label,
.form-group label,
.field-title {
  display: block;
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  row-gap: 15px;
}

.radio-label {
  font-size: var(--fs-14);
  display: flex;
  align-items: center;
  gap: 5px;
}

.line-input,
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-text-dark);
  padding: 8px 0;
  font-family: var(--font-primary);
  font-size: var(--fs-14);
  outline: none;
}

.form-group input.error {
  border-bottom-color: #e74c3c;
}

.form-group input:focus,
.form-group textarea:focus,
.line-input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.address-row {
  display: flex;
  gap: 20px;
}

.select-field {
  flex: 1;
}

.select-box,
.custom-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 17px;
  border: 1px solid var(--color-text-dark);
  border-radius: var(--br-22);
  cursor: pointer;
  position: relative;
}

.custom-select select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.custom-select.full-width {
  margin-top: 11px;
}

.custom-select img,
.select-box img {
  width: 16px;
  height: 9px;
  pointer-events: none;
}

/* Step 2 Styles */
.map-placeholder img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Step 1 and Step 2 Styles */
.steps-1-2-container .step-1,
.steps-1-2-container .step-2 {
  padding: 30px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Step 3 and Step 4 Styles */
.step-3 {
  
  border-radius: 12px;
  padding: 30px;
}

.step-4 {
  border: 1px solid #28282a;
  border-radius: 12px;
  padding: 30px;
}

.species-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.species-card {
  border: 1px solid #28282a;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.species-icon {
  width: 60px;
  height: 60px;
}

.species-info h5 {
  font-size: 16px;
  font-weight: 700;
}

.species-info p {
  font-size: 12px;
  color: #666;
  margin: 4px 0 10px;
}

.counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.counter-controls button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #5CC3AD;
  font-weight: 600;
}

/* Step 4 Styles */
.summary-card {
  border: none;
  padding: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-row.total {
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.plant-btn,
.btn-submit {
  width: 100%;
  padding: 9px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--br-6);
  font-size: var(--fs-16);
  font-weight: 700;
  cursor: pointer;
  margin-top: 44px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plant-btn:hover,
.btn-submit:hover {
  background-color: var(--color-primary-darker);
}

.terms label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .species-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .form-section {
    padding: 40px 20px;
  }
}

/* CSS for section section:Partners */
.partners-section {
  padding: 80px 0 80px;
  background-color: #f2f2f2;
  position: relative;
}

.partners-content {
  margin-bottom: 0;
}

.partners-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.partners-text h3 {
  width: 645px;
  height: 78px;
  position: relative;
  font-size: 60px;
  font-weight: 500;
  font-family: var(--font-geist);
  color: var(--color-gray);
  text-align: left;
  display: inline-block;
}

.partners-text p {
  width: 437px;
  height: 93px;
  position: relative;
  font-size: 18px;
  font-weight: 300;
  font-family: var(--font-geist);
  color: var(--color-gray);
  text-align: left;
  display: inline-block;
}

.separator-line {
  height: 1px;
  background-color: #28282a;
  width: 100%;
  margin-bottom: 60px;
}

.partners-logos {
  display: flex;
  gap: 60px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.partners-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
  flex: 1;
  max-width: 200px;
  filter: grayscale(100%) brightness(0);
  transition: filter 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%) brightness(1);
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 20px;
  }
  .partners-text {
    flex-direction: column;
    align-items: flex-start;
  }
  .partners-text h3 {
    font-size: 40px;
    width: 100%;
    height: auto;
  }
  .partners-text p {
    width: 100%;
    height: auto;
  }
  .partners-logos {
    flex-wrap: wrap;
    gap: 30px;
  }
}

/* CSS for section section:Footer */
.footer-section {
  background-color: #2f2f31;
  color: var(--color-text-light);
  padding: 60px 0 40px 0;
}

.footer-section .container {
  border: 1px solid var(--color-text-light);
  padding: 40px 85px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--color-text-light);
  margin-bottom: 40px;
}

.footer-column {
  background-color: #2f2f31;
  padding: 39px 56px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-text-light);
}

.footer-column:last-child {
  border-right: none;
}

.column-number {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 67px;
  display: block;
}

.column-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 40px;
  text-transform: lowercase;
  color: var(--color-text-light);
}

.footer-column a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 10px;
  display: block;
}

.footer-column a:hover {
  text-decoration: underline;
}

.publications {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.publications a {
  display: block;
  margin-bottom: 0;
}

.publications img {
  max-width: 167px;
  height: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--color-text-light);
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .footer-section {
    padding: 40px 0 20px 0;
  }
  .footer-section .container {
    padding: 20px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-column {
    border-right: none;
    border-bottom: 1px solid var(--color-text-light);
    padding: 30px 20px;
  }
  .footer-column:last-child {
    border-bottom: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Form Specific Styles */
.select-box-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--color-text-dark);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 35px;
}

.select-box-input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.google-map {
  width: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.gps-coords-eco-proposal {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-dark);
  font-weight: 500;
}

.counter-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.counter-btn:hover {
  background: #4EBAAA;
  transform: scale(1.05);
}

.counter-btn:active {
  transform: scale(0.95);
}

.counter-value {
  font-size: 18px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

.redborder {
  border-bottom-color: #e74c3c !important;
  border-bottom-width: 2px !important;
}

input[type="checkbox"] + label {
  cursor: pointer;
}

input[type="checkbox"]:checked + label {
  color: var(--color-primary);
}

#btn-plantează:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

#btn-plantează:disabled:hover {
  background-color: #ccc;
  transform: none;
}

.plant-btn {
  width: 100%;
  padding: 16px 32px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 24px 0;
}

.plant-btn:hover:not(:disabled) {
  background: #4EBAAA;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 195, 173, 0.3);
}

.plant-btn:active:not(:disabled) {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .select-box-input {
    font-size: 14px;
  }

  .google-map {
    min-height: 300px;
  }

  .counter-controls {
    gap: 8px;
  }

  .counter-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .counter-value {
    font-size: 16px;
    min-width: 35px;
  }
}
