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

:root {
  --primary: #1a1a2e;
  --accent: #c8a45c;
  --accent-light: #f5ecd7;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --bg: #fafaf8;
  --white: #ffffff;
  --border: #e8e8e4;
  --radius: 10px;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { color: var(--primary); }
h2 { font-size: 1.5rem; margin-bottom: 12px; text-align: center; }

.hidden { display: none !important; }

/* ===== Nav ===== */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.btn-nav {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 6px 18px !important;
  border-radius: 6px;
}
.btn-nav:hover { opacity: 0.9; }

/* ===== Hero ===== */
.hero {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content { flex: 1; text-align: center; }

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-light);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.hero-tag {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.hero-subtitle strong { color: var(--primary); }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: #b8944c; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 10px 28px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--border);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== About ===== */
.about {
  padding: 70px 0;
  background: var(--white);
}

.about-text {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
}

.about-text strong { color: var(--primary); }

/* ===== Expertise ===== */
.expertise {
  padding: 70px 0;
  background: var(--bg);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.expertise-card {
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s;
}

.expertise-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.expertise-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  width: 44px;
  height: 44px;
  line-height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  margin: 0 auto 12px;
}

.expertise-card h3 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.expertise-card p {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 70px 0;
  text-align: center;
  background: var(--white);
}

.cta p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Consultation Page ===== */
.consultation-section {
  padding: 40px 0 60px;
  max-width: 680px;
  margin: 0 auto;
}

.consultation-section h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  text-align: center;
}

.section-desc {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.9rem;
  text-align: center;
}

/* Type Selector */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.type-card {
  padding: 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  text-align: center;
}

.type-card:hover { border-color: var(--accent); }
.type-card.selected { border-color: var(--accent); background: var(--accent-light); }

.type-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.free-badge { background: #e8f5e9; color: #2e7d32; }
.paid-badge { background: #fff3e0; color: #e65100; }

.type-card h3 { margin-bottom: 6px; font-size: 0.95rem; }
.type-card p { color: var(--text-light); font-size: 0.8rem; line-height: 1.5; }

.type-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 10px;
}

.type-duration {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Form */
.consultation-form { margin-top: 16px; }

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

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.88rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

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

.paid-fields {
  padding: 20px;
  background: #fffdf5;
  border: 1px solid #f0e8d0;
  border-radius: var(--radius);
  margin: 20px 0;
}

.paid-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 7px;
  margin-top: 16px;
}

.notice-icon { font-size: 1.2rem; }
.paid-notice strong { color: var(--primary); font-size: 0.88rem; }
.paid-notice p { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

.btn-submit {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* Thank You Page */
.thankyou-section {
  padding: 100px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thankyou-icon { font-size: 3rem; margin-bottom: 16px; }
.thankyou-section h1 { margin-bottom: 12px; font-size: 1.8rem; }
.thankyou-section p { color: var(--text-light); margin-bottom: 8px; font-size: 0.95rem; }
.thankyou-section .btn-primary { margin-top: 24px; }

/* Success inline */
.success-msg { text-align: center; padding: 50px 20px; }
.success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.success-msg h2 { margin-bottom: 10px; }
.success-msg p { color: var(--text-light); margin-bottom: 24px; font-size: 0.95rem; }

/* ===== Footer ===== */
footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-grid { flex-direction: column-reverse; gap: 24px; }
  .hero-image img { width: 160px; height: 160px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.88rem; }
  .type-selector { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .nav-links { gap: 14px; }
  .consultation-section { padding: 30px 20px 50px; }
}

/* ===== Date Slots ===== */
.date-section { margin-bottom: 28px; }

.form-section-title {
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-align: center;
}

.slots-loading {
  text-align: center;
  color: var(--text-light);
  padding: 20px;
  font-size: 0.88rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.slot-card {
  padding: 14px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}

.slot-card:hover { border-color: var(--accent); }
.slot-card.slot-selected { border-color: var(--accent); background: var(--accent-light); }
.slot-card.slot-taken {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-day { font-weight: 600; font-size: 0.82rem; color: var(--primary); }
.slot-date { font-size: 0.9rem; font-weight: 700; color: var(--accent); margin: 4px 0; }
.slot-status { font-size: 0.72rem; color: var(--text-light); }

/* ===== InstaPay ===== */
.payment-section {
  margin-top: 20px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.payment-section h4 {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--primary);
}

.payment-section > p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }

.instapay-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
}

.qr-code { width: 120px; height: 120px; border-radius: 8px; }

.instapay-details { text-align: center; flex: 1; }

.instapay-handle {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.btn-instapay {
  display: inline-block;
  background: #6C3EC1;
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-instapay:hover { opacity: 0.9; }

.payment-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
  .instapay-box { flex-direction: column; }
}

@media (max-width: 480px) {
  .expertise-grid { grid-template-columns: 1fr; }
}
