@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

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

:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #b76e79;
  --accent-light: #d4a0a8;
  --gold: #c9a96e;
  --gold-light: #e0c990;
  --bg-light: #faf8f5;
  --bg-cream: #f5f0eb;
  --text-dark: #1a1a2e;
  --text-muted: #6b6b7b;
  --white: #ffffff;
  --shadow-sm: 0 2px 15px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.15);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links .btn-nav {
  background: var(--gold);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links .btn-nav::after {
  display: none;
}

.nav-links .btn-nav:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--primary);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(183, 110, 121, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 3.8rem;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201, 169, 110, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  max-width: none;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS BASE ===== */
section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--bg-cream), #e8ddd3);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.about-image:hover .about-image-main img {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge h3 {
  font-size: 2rem;
  color: var(--gold);
}

.about-badge p {
  font-size: 0.85rem;
  opacity: 0.7;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--bg-light);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(183, 110, 121, 0.1), rgba(201, 169, 110, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-light);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(183, 110, 121, 0.08), rgba(201, 169, 110, 0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--gold);
}

/* ===== BEFORE & AFTER RESULTS ===== */
.results {
  background: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.result-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.result-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.result-image {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.result-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.result-card:hover .result-image img {
  transform: scale(1.05);
}

.result-info {
  padding: 28px 28px 32px;
}

.result-info h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.result-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.results-disclaimer {
  text-align: center;
  margin-top: 40px;
}

.results-disclaimer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}

/* ===== WHY CHOOSE ===== */
.why-choose {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1), transparent);
  border-radius: 50%;
}

.why-choose .section-label {
  color: var(--gold);
}

.why-choose .section-label::before {
  background: var(--gold);
}

.why-choose .section-title {
  color: var(--white);
}

.why-choose .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.why-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(183, 110, 121, 0.15));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.why-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.testimonial-card:hover {
  border-color: rgba(183, 110, 121, 0.15);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-author p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.92rem;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  background: var(--bg-light);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(183, 110, 121, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--gold-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
  }
  .nav-links.active { display: flex; }
  .nav-links a { color: var(--white) !important; font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-btns { flex-direction: column; }
  
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .section-title { font-size: 2rem; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  background: rgba(255, 255, 255, 0.12) !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch:hover {
  background: var(--gold) !important;
  color: var(--primary) !important;
  border-color: var(--gold) !important;
}

.navbar.scrolled .lang-switch {
  background: rgba(26, 26, 46, 0.08) !important;
  border-color: rgba(26, 26, 46, 0.15);
}

.navbar.scrolled .lang-switch:hover {
  background: var(--gold) !important;
  color: var(--primary) !important;
}

/* ===== SUCCESS POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-card {
  background: var(--white);
  border-radius: 24px;
  padding: 52px 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.8) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-card {
  transform: scale(1) translateY(0);
}

.popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.35);
  animation: popIn 0.5s ease 0.2s both;
}

@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.popup-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.popup-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.popup-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  padding: 14px 44px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

/* ===== RTL SUPPORT (Persian) ===== */
body.rtl {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  direction: rtl;
  text-align: right;
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5 {
  font-family: 'Vazirmatn', 'Playfair Display', serif;
}

body.rtl .section-label::before {
  display: none;
}

body.rtl .section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-right: 8px;
}

body.rtl .about-badge {
  right: auto;
  left: -20px;
}

body.rtl .hero-content {
  text-align: right;
}

body.rtl .nav-links {
  direction: ltr;
}

body.rtl .service-link {
  direction: rtl;
}

body.rtl .contact-form {
  text-align: right;
}

body.rtl .contact-form input,
body.rtl .contact-form textarea,
body.rtl .contact-form select {
  text-align: right;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}

body.rtl .popup-card {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}

body.rtl .popup-btn {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}

body.rtl .about-feature {
  direction: rtl;
}

body.rtl .contact-item {
  direction: rtl;
}

body.rtl .testimonial-card blockquote {
  direction: rtl;
}

body.rtl .footer-col a:hover {
  padding-left: 0;
  padding-right: 4px;
}

body.rtl .btn-submit {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}
