/* Global smooth scroll */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation bar */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  border-bottom: 1px solid #eee;
}

#nav .logo {
  width: 140px;
  height: auto;
  cursor: pointer;
}

#nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

#nav ul li a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

/* Hover effect */
#nav ul li a:hover {
  background: #000;
  color: #fff;
}

/* Active link when section is visible */
#nav ul li a.active {
  background: #000;
  color: #fff;
}
/* HERO SECTION */
#hero {
  padding: 8rem 2rem 6rem;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

#hero .header {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #111;
}

#hero .subheader {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* CTA BUTTON */
#hero .cta {
  background: #000;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s, transform 0.1s;
}

#hero .cta:hover {
  background: #333;
}

#hero .cta:active {
  transform: scale(0.97);
}

/* Optional: hero background */
#hero {
  background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
}
/* SERVICES SECTION */
.services-container {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-container h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  font-weight: 800;
  color: #111;
}

/* Cards grid layout */
.services-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Desktop: 2 or 3 columns */
@media (min-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD STYLE */
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* IMAGES — nice placeholders */
.service-card img,
.service-card .service-image {
  width: 100%;
  height: 160px;
  background: #f0f0f0;
  border-radius: 10px;
  object-fit: cover;
}

/* SERVICE TITLE */
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin-top: 0.5rem;
}

/* SERVICE TEXT */
.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
/* ABOUT SECTION */
#despre {
  padding: 5rem 2rem;
  background: #fafafa;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1.2rem;
  color: #111;
  font-weight: 800;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* List styling */
.about-text ul,
.about-text ol {
  margin-bottom: 2.5rem;
  padding-left: 1.2rem;
}

.about-text ul li,
.about-text ol li {
  margin-bottom: 0.8rem;
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}

/* Custom bullet points for UL */
.about-text ul li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}

.about-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  font-size: 1.4rem;
  line-height: 1;
}

/* Numbered list for OL */
.about-text ol {
  counter-reset: step;
}

.about-text ol li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
}

.about-text ol li::before {
  counter-increment: step;
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #000;
}

/* Responsive layout: centered single column */
.about-text {
  max-width: 800px;
  margin: 0 auto;
}

/* Optional subtle card styling for better readability */
.about-text {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
/* CONTACT SECTION */
#contact {
  padding: 5rem 2rem;
  background: #fff;
}

#contact h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 2rem;
  font-weight: 800;
  color: #111;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

#contact-form label {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  transition: border-color 0.2s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #000;
  background: #fff;
  outline: none;
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button */
#contact-form button {
  padding: 1rem 1.5rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

#contact-form button:hover {
  background: #222;
}

/* Error messages */
.error-message {
  color: #d00000;
  font-size: 0.85rem;
  height: 0.85rem;
}
#faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-container {
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* + becomes × */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 10px 0;
  line-height: 1.6;
}
