/* ================== RESET ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================== VARIABILE ================== */
:root {
  --bg: #f4f6f9;
  --accent: #f5c518;
  --accent-dark: #e6b800;
  --dark: #0d1015;
  --muted: #6b7280;
  --white: #fff;
  --red: #d73b3b;
  --transition: 0.25s;
}

/* ================== BODY ================== */
body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: #111;
  scroll-behavior: smooth;
}

/* ================== CONTAINERE ================== */
.container {
  width: 92%;
  max-width: 1250px;
  margin: 0 auto;
}

/* ================== TOP STRIP ================== */
.top-strip {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 0;
}

.top-strip.red { background: var(--red); color: #fff; }

.top-strip.yellow {
  background: var(--dark);
  color: #fff;
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 8px 10px;
}

/* ================== HEADER ================== */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-flex {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
}

.header-logo img { height: 56px; }

.search-area input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  font-size: 16px;
}

.user-area {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.user-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition);
}

.user-link:hover { transform: scale(1.05); color: var(--accent); }

/* ================== NAVBAR ================== */
.navbar {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar ul {
  display: flex;
  gap: 22px;
  list-style: none;
  justify-content: center;
  padding: 12px 0;
  margin: 0;
}

.navbar a.nav-btn {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 10px 15px;
  font-weight: 500;
  border-radius: 6px;
  background-color: var(--accent);
  transition: all 0.3s ease;
}

.navbar a.nav-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #fff;
  transition: width 0.3s ease;
}

.navbar a.nav-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,197,24,0.4);
}

.navbar a.nav-btn:hover::after { width: 100%; }

/* HAMBURGER MOBILE */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ================== HERO ================== */
.hero { background: #fff; padding: 70px 0; }

.hero-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.hero-text h1 {
  font-size: 54px;
  margin-bottom: 16px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}

.hero-text p { font-size: 20px; color: #555; margin-bottom: 26px; }

.hero-btn {
  display: inline-block;
  background: linear-gradient(45deg, #f5c518, #ffb800);
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  transition: all var(--transition);
}

.hero-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(245,197,24,0.5);
  background: linear-gradient(45deg, #ffeb3b, #f5c518);
}

.hero-image img {
  width: 100%;
  max-width: 900px;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0px 18px 35px rgba(0,0,0,.18));
  transition: transform .3s ease;
}

.hero-image img:hover { transform: scale(1.15); }

/* ================== SLIDER ================== */
.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.slider img {
  width: 100%;
  height: auto;
  display: none;
  transition: transform 0.5s ease;
  border-radius: 12px;
}

.slider img.active { display: block; }
.slider img:hover { transform: scale(1.05); }

/* ================== BANNER ================== */
.banner {
  background: linear-gradient(90deg,#d73b3b,#f5c518);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 20px;
  font-weight: 800;
}

.banner span { color: var(--accent-dark); }

/* ================== FORMULAR ================== */
.solicitare-evaluare { padding: 70px 20px; text-align: center; }

.eval-box {
  background: #fff;
  max-width: 780px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  transition: all var(--transition);
}

.eval-box form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.eval-box input,
.eval-box select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
}

.eval-box label { font-weight: 700; display: block; margin-bottom: 6px; }

.eval-full { grid-column: 1 / span 2; display: flex; align-items: center; gap: 10px; }

.eval-box button {
  grid-column: 1 / span 2;
  padding: 14px;
  background: linear-gradient(45deg,#f5c518,#ffb800);
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
}

.eval-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(245,197,24,0.5);
  background: linear-gradient(45deg,#ffeb3b,#f5c518);
}

/* ================== BENEFICII ================== */
.beneficii { background: #fff; padding: 60px 20px; text-align: center; }

.beneficii h2 { font-size: 32px; font-weight: 900; margin-bottom: 20px; font-family: 'Montserrat', sans-serif; }

.beneficii p.intro { max-width: 800px; margin: 0 auto 50px; font-size: 16px; line-height: 1.7; color: #444; }

.beneficii-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.beneficiu {
  text-align: center;
  transition: .3s;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.beneficiu img { width: 55px; margin-bottom: 12px; }

.beneficiu h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }

.beneficiu p { font-size: 15px; color: #555; line-height: 1.6; }

.beneficiu:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ================== FUNCȚIONARE ================== */
.funcționare { background: #fff; padding: 60px 20px; text-align: center; }

.funcționare h2 { font-size: 32px; font-weight: 900; margin-bottom: 40px; font-family: 'Montserrat', sans-serif; }

.funcționare-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.pas {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: .3s;
}

.pas img { width: 50px; margin-bottom: 12px; }

.pas h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }

.pas p { font-size: 14px; color: #555; line-height: 1.5; }

.pas:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ================== TESTIMONIALE ================== */
.testimoniale { background: #f5f5f5; padding: 60px 20px; }

.testimoniale h2 { font-size: 32px; font-weight: 900; text-align: center; margin-bottom: 40px; font-family: 'Montserrat', sans-serif; }

.testimoniale-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: .3s;
}

.testimonial img { width: 50px; height: 50px; border-radius: 50%; margin-bottom: 12px; }

.testimonial p { font-size: 14px; color: #555; line-height: 1.5; }

.testimonial h4 { font-weight: 800; font-size: 16px; margin-top: 8px; }

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* ================== VIDEO ================== */
.video-sec { background: #fff; padding: 60px 20px; text-align: center; }

.video-sec h2 { font-size: 32px; font-weight: 900; margin-bottom: 30px; font-family: 'Montserrat', sans-serif; }

.video-sec iframe { width: 90%; max-width: 700px; height: 400px; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.15); }

/* ================== FOOTER ================== */
footer {
  background: linear-gradient(135deg,#f5c518,#ffb800);
  color: #111;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

/* ================== STICKY WHATSAPP ================== */
.sticky-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.sticky-whatsapp:hover { transform: scale(1.1); }

.sticky-whatsapp img { width: 25px; }

/* ================== ANIMAȚII ================== */
@keyframes pulse {
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}

@keyframes shake {
  0%{ transform: translateX(0); }
  25%{ transform: translateX(3px); }
  50%{ transform: translateX(-3px); }
  75%{ transform: translateX(3px); }
  100%{ transform: translateX(0); }
}

@keyframes vibrate {
  0%{ transform: translate(0); }
  20%{ transform: translate(-2px,2px); }
  40%{ transform: translate(2px,-2px); }
  60%{ transform: translate(-2px,2px); }
  80%{ transform: translate(2px,-2px); }
  100%{ transform: translate(0); }
}

#subscribe-btn { animation: shake 1s infinite; }

.contact-icon img { animation: pulse 2s infinite; }
.contact-icon:hover img {
  animation: vibrate 0.2s infinite;
  transform: scale(1.4);
}

/* ================== MEDIA QUERIES MOBIL ================== */
@media (max-width: 768px) {
  .header-flex { grid-template-columns: 1fr; text-align: center; gap: 15px; }
  .search-area input { width: 100%; }
  .user-area { justify-content: center; }
  .navbar ul { display: none; flex-direction: column; text-align: center; background: #111; padding: 20px 0; gap: 15px; width: 100%; position: absolute; top: 60px; left: 0; }
  .navbar ul.show { display: flex; }
  .hamburger { display: flex; position: absolute; right: 20px; top: 12px; }

  nav a.nav-btn { padding: 12px 0; font-size: 18px; }

  .hero-flex { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-text h1 { font-size: 32px; }
  .hero-text p { font-size: 16px; }

  .beneficii-grid, .funcționare-grid, .testimoniale-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .eval-box form { grid-template-columns: 1fr; }
  .eval-full { flex-direction: column; align-items: flex-start; }

  .video-sec iframe { width: 100%; height: 250px; }

  footer .container { flex-direction: column; gap: 20px; }
}

/* ================== DASHBOARD ANIMAT ================== */
#user-dashboard {
  background: #fff;
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: dashboard-fadein 0.8s forwards;
}

@keyframes dashboard-fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#user-dashboard h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
}

#user-dashboard p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

#user-dashboard h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-dark);
}

#requests-list {
  list-style: none;
  padding-left: 0;
}

#requests-list li {
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #f5f5f5;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s, transform 0.4s;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-20px);
  animation: request-fadein 0.6s forwards;
}

#requests-list li:nth-child(1) { animation-delay: 0.1s; }
#requests-list li:nth-child(2) { animation-delay: 0.2s; }
#requests-list li:nth-child(3) { animation-delay: 0.3s; }
#requests-list li:nth-child(4) { animation-delay: 0.4s; }

@keyframes request-fadein {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#requests-list li:hover {
  background: #fff8e1;
  transform: translateX(5px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

#dashboard-logout {
  margin-top: 25px;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  animation: logout-fadein 1s forwards;
}

@keyframes logout-fadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#dashboard-logout:hover {
  background: #d13a3a;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
