/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

body {
  overflow-x: hidden;
  background: #f5f7f6;
}

/* ================= BACKGROUND ================= */
.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('../assets/images/backgrond.jpeg') center/cover no-repeat;
  transform: scale(1.05);
  z-index: -2;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.25);
  z-index: -1;
}

/* ================= LAYOUT ================= */
.container {
  max-width: 420px;
  margin: auto;
  padding: 20px;
}

/* ================= HEADER ================= */
.header {
  text-align: center;
  margin-bottom: 25px;
  color: #2e5b3c;
  font-weight: 800;
  font-size: 18px;
}

/* ================= HERO ================= */
.hero {
  text-align: center;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 26px;
  color: #2f5d3a;
  font-weight: 800;
}

.hero p {
  color: #555;
  margin-top: 10px;
  font-size: 14px;
}

/* ================= BUTTONS ================= */
.main-btn, .next-btn {
  width: 100%;
  background: linear-gradient(135deg, #5c8a5f, #2f5d3a);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
}

.main-btn:hover, .next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(60,110,71,0.4);
}

.glow {
  box-shadow: 0 10px 25px rgba(60,110,71,0.35);
}

/* ================= CARD ================= */
.form-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(25px);
  padding: 25px;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.hero-form {
  margin-top: 10px;
}

/* ================= INPUT ================= */
.input-group {
  margin-bottom: 15px;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 14px;
  border-radius: 15px;
  border: none;
  background: rgba(255,255,255,0.9);
  outline: none;
  transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 2px rgba(92,138,95,0.2);
}

/* ================= PHONE ================= */
.phone {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone span {
  background: #eee;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
}

/* ================= SERVICES ================= */
.services {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.card {
  flex: 1;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(15px);
  padding: 18px;
  border-radius: 18px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}

.card:hover {
  transform: translateY(-4px);
}

.card.active {
  background: linear-gradient(135deg, #5c8a5f, #2f5d3a);
  color: white;
}

/* ================= TEXTAREA ================= */
textarea {
  width: 100%;
  height: 120px;
  border-radius: 15px;
  border: none;
  padding: 15px;
  margin-top: 10px;
  resize: none;
  outline: none;
}

/* ================= TRUST ================= */
.trust {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.trust-item {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 15px;
  background: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* ================= INFO ================= */
.info-section {
  text-align: center;
  margin-bottom: 20px;
}

.info-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.info-section li {
  margin: 6px 0;
  color: #444;
  font-size: 13px;
}

/* ================= CTA ================= */
.cta-box {
  background: linear-gradient(135deg, #2f5d3a, #5c8a5f);
  padding: 25px;
  border-radius: 25px;
  text-align: center;
  color: white;
}

.cta-box h3 {
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

/* ================= BACK ================= */
.back-btn {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 30px;
  border: none;
  background: #ddd;
  cursor: pointer;
}

/* ================= SUCCESS ================= */
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.success-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  padding: 35px 25px;
  border-radius: 25px;
  text-align: center;
  max-width: 360px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
  animation: pop 0.5s ease;
}

.success-icon {
  font-size: 45px;
  color: #2ecc71;
  margin-bottom: 10px;
}

/* رقم الطلب */
.request-box {
  margin: 15px 0;
  padding: 15px;
  background: rgba(255,255,255,0.5);
  border-radius: 15px;
}

.request-box h3 {
  color: #2f5d3a;
}

/* ================= ANIMATIONS ================= */
.fade-in {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .main-btn, .next-btn {
    padding: 12px;
  }
}

.error{
  color:#e74c3c;
  font-size:12px;
  margin-top:6px;
  display:none;
}

.input-group.error input,
.input-group.error select{
  border:1px solid #e74c3c;
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 30px;
  padding: 20px 10px;
  text-align: center;
}

.footer-content {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-size: 13px;
  color: #2f5d3a;
  font-weight: bold;
  transition: 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 12px;
  color: #777;
}

.next-btn:active {
  transform: scale(0.97);
}