html {
  scroll-behavior: smooth;
}

.hero-section {
  background-image: url('media/Pg-86-foto.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  z-index: 10;
}

.hero-button {
  background-color: white;
  color: #0077B6;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: #0077B6;
  color: white;
}


/* === Form === */
.input {
  opacity: 0.6;
  border: 1px solid #ccc;
  color: #000;
  padding: 10px 14px;
  border-radius: 6px;
  width: 100%;
  background-color: white;
  outline: none;
  transition: border-color 0.2s ease;
}

.input:focus {
  border-color: #0077B6;
  box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.2);
}

/* Container secțiune */
#how {
  background-color: #f9fafb; /* gri foarte deschis */
  padding-top: 3rem;  /* 20 */
  padding-bottom: 5rem; /* 20 */
  padding-left: 1.5rem; /* 6 */
  padding-right: 1.5rem; /* 6 */
  max-width: 72rem; /* 6xl Tailwind ~1152px */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Titlu */
#how h2 {
  color: #023E8A; /* culoare deep */
  font-weight: 700;
  font-size: 2.25rem; /* text-4xl */
  margin-bottom: 3rem; /* 12 */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grid pentru carduri */
#how .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem; /* 10 */
  text-align: left;
}

/* Carduri */
#how .how-card {
  background-color: white;
  border-radius: 0.75rem; /* 12px */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem; /* 8 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Efect hover */
#how .how-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 119, 182, 0.4);
}

/* Icon container */
#how .how-card .icon {
  margin-bottom: 1rem; /* 4 */
  color: #0077B6; /* culoare hydro */
}

/* Icon SVG */
#how .how-card .icon svg {
  height: 3rem; /* 12 */
  width: 3rem; /* 12 */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Titlu card */
#how .how-card h3 {
  font-size: 1.25rem; /* xl */
  font-weight: 600;
  color: #0077B6;
  margin-bottom: 0.5rem; /* 2 */
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Text card */
#how .how-card p {
  color: #4a5568; /* text-gray-700 */
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Notification === */
.notification {
  background-color: white;
  color: #1F2937;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  position: fixed;
  bottom: 24px;
  right: 24px;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

/* === FAQ Section === */
/* Colors */
.text-deep {
  color: #023E8A;
}

.text-hydro {
  color: #0077B6;
}

/* FAQ Section */
#faq {
  background-color: #f7fafc; /* light gray */
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Container */
#faq .max-w-4xl {
  max-width: 48rem; /* 768px */
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Title */
#faq h2 {
  font-weight: 700;
  font-size: 2.25rem; /* 36px */
  text-align: center;
  margin-bottom: 3rem;
  color: #023E8A;
}

/* Each FAQ item */
.faq-item {
  background-color: #fff;
  padding: 1.25rem 1.5rem; /* 20px 24px */
  border-radius: 0.75rem; /* 12px */
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

/* FAQ item hover effect */
.faq-item:hover {
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
}

/* Remove default marker */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Style the summary (question) */
.faq-item summary {
  position: relative;
  font-weight: 600;
  font-size: 1.125rem; /* 18px */
  color: #023E8A;
  padding-left: 2rem;
  outline: none;
  list-style: none;
  user-select: none;
  transition: color 0.3s ease;
}

/* Change color on hover */
.faq-item summary:hover {
  color: #0077B6;
}

/* Plus sign before each summary */
.faq-item summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.5rem;
  color: #0077B6;
  transition: transform 0.3s ease, color 0.3s ease;
  user-select: none;
}

/* Change plus to minus when open */
.faq-item[open] summary::before {
  content: "−";
  color: #023E8A;
  transform: translateY(-50%) rotate(180deg);
}

/* Style the answer */
.faq-item p {
  margin-top: 0.75rem; /* 12px */
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  color: #4a5568; /* gray-700 */
}

/* Space between FAQ items */
.space-y-6 > * + * {
  margin-top: 1.5rem; /* 24px */
}

.carousel-wrapper {
  position: relative;
}

.carousel-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.carousel-scroll::-webkit-scrollbar {
  display: none;
}
.carousel-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 20rem; /* fixed width */
  text-align: left;
}

.scroll-btn {
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  color: #000;
  user-select: none;
  transition: background-color 0.3s ease;
} 

.scroll-btn:focus {
  outline: none;
}

/*form bottom*/
/* Container Section */
#contact-form {
  background-image: url("media/backg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 5rem 1.5rem;
  font-family: 'Segoe UI', sans-serif;
}

#contact-form .form-wrapper {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Heading */
#contact-form h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #023E8A;
  margin-bottom: 2rem;
}

/* Form grid */
#contact-form form {
  display: grid;
  gap: 1.5rem;
}

/* Two-column layout for name fields on larger screens */
@media (min-width: 768px) {
  #contact-form .name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Input fields and textarea */
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #0077B6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
  outline: none;
}

/* Submit button */
#contact-form .submit-button {
  background-color: #0077B6;
  color: #ffffff;
  padding: 1rem 2rem;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form .submit-button:hover {
  background-color: #023E8A;
}

/* Success message */
#formSuccess {
  text-align: center;
  font-size: 1rem;
  color: #16a34a;
  margin-top: 1rem;
}

/* === Footer === */
footer {
  background-color: #0077B6;
  color: white;
  font-weight: 500;
}