/* ===== Open Doors Services - Website Styles ===== */
:root {
  --green: #0D6B6E;
  --green-dark: #0A4F52;
  --green-light: #E6F4F4;
  --orange: #E67E22;
  --orange-dark: #D35400;
  --text: #1F2937;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F7FAFA;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans Arabic', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

body[dir="rtl"] {
  font-family: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: white;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--green-dark);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-light);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  background: var(--green-light);
  color: var(--green-dark);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-btn:hover {
  background: #d4edda;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--green-light) 0%, #fff 60%);
  padding: 80px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero-sub {
  font-size: 16px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--text-light);
  font-size: 17px;
}

.approval-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  margin: 0 auto 28px;
  border: 1px solid rgba(13, 107, 110, 0.2);
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: white;
}

.btn-block {
  width: 100%;
  margin-top: 16px;
}

/* ===== Sections ===== */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-featured {
  border: 2px solid var(--green);
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .card-featured {
    grid-column: span 2;
  }
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

body[dir="rtl"] .card-badge {
  right: auto;
  left: 16px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
  flex-grow: 1;
}

.contact-note {
  margin-top: 12px;
  font-size: 14px !important;
  color: var(--green) !important;
  font-weight: 500;
}

.policy-box {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
}

.policy-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.policy-box p {
  font-size: 13px !important;
  color: var(--text-light);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-item {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.service-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* ===== Registration Form ===== */
.registration-form {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-dark);
  color: white;
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  background: white;
  border-radius: 8px;
  padding: 4px;
}

.footer-brand .logo-icon {
  background: rgba(255,255,255,0.15);
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.2s;
  text-decoration: none;
}

body[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .menu-btn {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 50px 0 40px;
  }

  .section {
    padding: 50px 0;
  }

  .registration-form {
    padding: 24px;
  }

  .card-featured {
    grid-column: auto;
  }
}
