@font-face {
  font-family: 'IRAmir';
  src: url('/fonts/IRAmir.woff2') format('woff2'),
       url('/fonts/IRAmir.woff') format('woff'),
       url('/fonts/IRAmir.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #0f2c59;      /* سرمه‌ای سیر و اعتباری */
  --accent-gold: #f39c12;        /* طلایی زنده */
  --accent-green: #10b981;       /* سبز زمردی انرژی‌بخش */
  --accent-blue: #2563eb;        /* آبی زنده برای دکمه‌ها */
  --bg-gradient: linear-gradient(135deg, #eef2f3 0%, #8e9eab 100%);
  --card-bg: #ffffff;
  --text-dark: #1e293b;
}

body {
  font-family: 'IRAmir', Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  background: var(--bg-gradient);
  color: var(--text-dark);
  margin: 0;
  padding: 25px 12px;
  min-height: 100vh;
}

.card-container {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 44, 89, 0.15);
  overflow: hidden;
  border-top: 6px solid var(--accent-gold);
}

.header {
  background: linear-gradient(145deg, #0f2c59, #1e40af);
  color: #fff;
  padding: 35px 20px 25px 20px;
  text-align: center;
  position: relative;
}

.header img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 12px;
  object-fit: cover;
}

.header h1 {
  font-size: 1.4rem;
  margin: 5px 0;
  color: #ffffff;
}

.header h2 {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: bold;
  margin: 6px 0;
}

.header .degree {
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-top: 4px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(5px);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section {
  padding: 22px 25px;
  border-bottom: 1px solid #f1f5f9;
}

.section h3 {
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-top: 0;
  border-right: 4px solid var(--accent-gold);
  padding-right: 10px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  padding: 10px 0;
  position: relative;
  padding-right: 24px;
  font-size: 0.95rem;
  border-bottom: 1px dashed #f1f5f9;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.1rem;
}

.btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-call { background: linear-gradient(135deg, #10b981, #059669); grid-column: span 2; }
.btn-vcard { background: linear-gradient(135deg, #0f2c59, #1e40af); grid-column: span 2; }
.btn-maps { background: linear-gradient(135deg, #2563eb, #1d4ed8); grid-column: span 2; }
.btn-insta { background: linear-gradient(135deg, #e1306c, #c13584); }
.btn-wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.btn-web { background: linear-gradient(135deg, #8b5cf6, #6d28d9); grid-column: span 2; }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.contact-info p {
  margin: 10px 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.footer {
  text-align: center;
  padding: 18px;
  font-size: 0.8rem;
  color: #64748b;
  background-color: #f8fafc;
}