﻿/* ÇÓÊÇíáåÇí ÈÎÔåÇí ÓÇíÊ ÏÇäÔÂãæÒÇä */
body, html { direction: rtl; }

/* Approved resume profiles shown at the top of the public home page. */
.hemmat-featured-students { width:100%; box-sizing:border-box; padding:12px 16px 14px; background:#fff; border-bottom:1px solid #eeeaf3; direction:rtl; }
.hemmat-featured-students-inner { max-width:1200px; margin:0 auto; }
.hemmat-featured-students-scroller { min-width:0; display:flex; gap:18px; overflow-x:auto; padding:2px 2px 7px; scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:#c8afd9 transparent; }
.hemmat-featured-students-scroller::-webkit-scrollbar { height:6px; }
.hemmat-featured-students-scroller::-webkit-scrollbar-thumb { border-radius:99px; background:#c8afd9; }
.hemmat-featured-student { flex:0 0 calc((100% - 90px) / 6); min-width:76px; display:flex; flex-direction:column; align-items:center; gap:6px; color:#38323f; text-decoration:none; text-align:center; }
.hemmat-featured-student:hover,.hemmat-featured-student:focus { color:#8c2bff; text-decoration:none; }
.hemmat-featured-student-avatar { display:block; width:68px; height:68px; padding:3px; border-radius:50%; background:linear-gradient(135deg,#ef2674,#8c2bff); box-shadow:0 5px 16px rgba(140,43,255,.2); transition:transform .2s ease,box-shadow .2s ease; }
.hemmat-featured-student:hover .hemmat-featured-student-avatar,.hemmat-featured-student:focus .hemmat-featured-student-avatar { transform:translateY(-2px); box-shadow:0 8px 20px rgba(140,43,255,.3); }
.hemmat-featured-student-avatar img { display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; background:#f4eff8; }
.hemmat-featured-student-name { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; line-height:1.4; }
@media(max-width:767px) {
    .hemmat-featured-students { padding:10px 12px 12px; }
    .hemmat-featured-students-scroller { gap:12px; }
    .hemmat-featured-student { flex-basis:calc((100% - 24px) / 3); min-width:66px; }
    .hemmat-featured-student-avatar { width:58px; height:58px; }
}

.hemmat-students-list { display: block; }
.hemmat-student-item { margin-bottom: 35px; }
.hemmat-student-row { display: flex; flex-wrap: wrap; align-items: stretch; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.08); transition: all .35s ease; }
.hemmat-student-row:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(0,0,0,.12); }

.hemmat-student-col-image, .hemmat-student-col-content { display: flex; align-items: center; }
.hemmat-student-content { width: 100%; padding: 30px; }

.hemmat-btn-wrap { margin-top: 25px; }
.hemmat-more-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; padding: 12px 22px; border-radius: 999px; background: linear-gradient(90deg, #ef2674, #8c2bff); color: #fff; text-decoration: none; font-weight: 700; transition: all .3s ease; box-shadow: 0 12px 25px rgba(239,38,116,.25); }
.hemmat-more-btn:hover, .hemmat-more-btn:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px rgba(239,38,116,.35); }

.team-box .team_inner_img img, .team-box .member_img img { width: 100%; height: auto; display: block; border-radius: 18px; transition: transform .5s ease; }
.hemmat-student-row:hover .team-box .team_inner_img img, .hemmat-student-row:hover .team-box .member_img img { transform: scale(1.04); }
.team_inner_img { overflow: hidden; border-radius: 18px; }
.hemmat-no-image { min-height: 260px; border-radius: 18px; background: linear-gradient(135deg, #f2f2f2, #e4e4e4); }

.hemmat-student-single { max-width: 1200px; margin: 0 auto; padding: 30px 15px 70px; }
.hemmat-section { margin-bottom: 35px; background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 12px 35px rgba(0,0,0,.06); animation: hemmatFadeUp .7s ease both; }
.hemmat-row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }

.hemmat-col { padding-left: 15px; padding-right: 15px; width: 100%; box-sizing: border-box; }
.hemmat-col-6 { width: 50%; }
.hemmat-col-8 { width: 66.6666%; }
.hemmat-col-offset-6 { margin-right: 50%; }

.hemmat-main-heading { margin: 0; font-size: 40px; line-height: 1.4; font-weight: 800; }
.hemmat-section-title { margin-top: 0; margin-bottom: 20px; font-size: 30px; line-height: 1.5; color: #111; font-weight: 700; }
.hemmat-content-box { line-height: 2; color: #444; }
.hemmat-intro-title { margin: 25px 0 10px; font-size: 22px; color: #ef2674; font-weight: 700; }

.hemmat-animated-lines { position: relative; min-height: 42px; margin-top: 10px; }
.hemmat-animated-line { position: absolute; top: 0; right: 0; opacity: 0; transform: translateY(10px); transition: all .5s ease; color: #333; font-weight: 600; }
.hemmat-animated-line.is-active { opacity: 1; transform: translateY(0); }

.hemmat-single-image-box { text-align: center; }
.hemmat-single-image { max-width: 100%; border-radius: 24px; box-shadow: 0 15px 35px rgba(0,0,0,.12); }
.hemmat-bio-box { margin-top: 25px; padding: 22px; border-radius: 18px; background: #f9f9ff; line-height: 2; }

.hemmat-link-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.hemmat-link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: linear-gradient(90deg, #ef2674, #8c2bff); color: #fff; text-decoration: none; transition: all .3s ease; }
.hemmat-link-btn.secondary { background: linear-gradient(90deg, #3f0a9e, #5d2de0); }
.hemmat-link-btn:hover { color: #fff; transform: translateY(-2px); }

.hemmat-list { list-style: none; margin: 0; padding: 0; }
.hemmat-list li { position: relative; padding-right: 24px; margin-bottom: 14px; line-height: 1.9; }
.hemmat-list-pink li::before { content: ""; position: absolute; right: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #ef2674; }

.hemmat-progress-list { display: flex; flex-direction: column; gap: 18px; }
.hemmat-progress-item { width: 100%; }
.hemmat-progress-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-weight: 700; }
.hemmat-progress-bar { width: 100%; height: 14px; background: #ececf3; border-radius: 999px; overflow: hidden; }
.hemmat-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ef2674, #8c2bff); animation: hemmatProgress 1.2s ease; }

.hemmat-portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hemmat-portfolio-item img { width: 100%; display: block; border-radius: 18px; transition: transform .4s ease, box-shadow .4s ease; }
.hemmat-portfolio-item:hover img { transform: scale(1.03); box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.hemmat-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hemmat-video-item iframe, .hemmat-video-item video, .hemmat-video-item embed { width: 100%; max-width: 100%; border: 0; border-radius: 18px; min-height: 280px; }
/* ÇäíãíÔäåÇ */
@keyframes hemmatProgress { from { width: 0; } }
@keyframes hemmatFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 991px) {
    .hemmat-col-6, .hemmat-col-8, .hemmat-col-offset-6 { width: 100%; margin-right: 0; }
    .hemmat-main-heading { font-size: 32px; }
    .hemmat-section-title { font-size: 25px; }
    .hemmat-portfolio-grid, .hemmat-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .hemmat-section, .hemmat-student-content { padding: 20px; }
    .hemmat-main-heading { font-size: 26px; line-height: 1.6; }
    .hemmat-section-title { font-size: 22px; }
    .hemmat-animated-lines { min-height: 55px; }
}

/* Professional resume profile */
.hemmat-intro-section { position:relative; overflow:hidden; padding:clamp(24px,5vw,56px); background:linear-gradient(135deg,#fff 0%,#fff 60%,#fbf5ff 100%); }
.hemmat-intro-section::before { content:""; position:absolute; left:-95px; top:-125px; width:280px; height:280px; border-radius:50%; background:linear-gradient(135deg,rgba(239,38,116,.12),rgba(140,43,255,.13)); pointer-events:none; }
.hemmat-profile-hero { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(250px,.75fr); align-items:center; gap:clamp(30px,6vw,80px); }
.hemmat-resume-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; margin-bottom:35px; }
.hemmat-resume-pair .hemmat-section { margin:0; min-width:0; }
.hemmat-resume-pair .hemmat-col-6,
.hemmat-resume-pair .hemmat-col-offset-6 { width:100%; margin-right:0; }
.hemmat-profile-copy { min-width:0; }
.hemmat-profile-eyebrow { display:inline-flex; align-items:center; gap:9px; margin-bottom:12px; color:#8c2bff; font-size:14px; font-weight:800; }
.hemmat-profile-eyebrow::before { content:""; width:24px; height:3px; border-radius:5px; background:linear-gradient(90deg,#ef2674,#8c2bff); }
.hemmat-profile-copy .hemmat-main-heading { color:#171321; font-size:clamp(32px,4vw,50px); line-height:1.35; }
.hemmat-profile-visual { display:flex; justify-content:center; }
.hemmat-single-image-box { width:min(100%,350px); aspect-ratio:4/4.5; overflow:hidden; border:8px solid #fff; border-radius:34px 34px 100px 34px; background:linear-gradient(145deg,#f8eafa,#eee6ff); box-shadow:0 22px 55px rgba(74,35,113,.17); }
.hemmat-single-image-box.is-empty { display:grid; place-items:center; min-height:260px; }
.hemmat-single-image { display:block; width:100%; height:100%; object-fit:cover; border-radius:26px 26px 92px 26px; box-shadow:none; }
.hemmat-profile-monogram { display:grid; place-items:center; width:145px; height:145px; border-radius:50%; color:#fff; font-size:72px; font-weight:800; background:linear-gradient(135deg,#ef2674,#8c2bff); box-shadow:0 16px 38px rgba(140,43,255,.22); }
.hemmat-intro-meta { margin-top:14px; }
.hemmat-intro-title { margin-top:0; }
.hemmat-animated-lines { min-height:34px; }
.hemmat-animated-line { position:static; display:none; }
.hemmat-animated-line.is-active { display:block; position:relative; padding-bottom:12px; animation:hemmatLineReveal .7s cubic-bezier(.2,.8,.2,1) both; }
.hemmat-animated-line.is-active::after { content:""; position:absolute; right:0; bottom:2px; width:72px; height:3px; border-radius:99px; transform-origin:right; background:linear-gradient(90deg,#ef2674,#8c2bff); animation:hemmatLineComplete 1.25s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hemmatLineReveal { from { opacity:0; transform:translateY(15px); clip-path:inset(0 100% 0 0); } to { opacity:1; transform:translateY(0); clip-path:inset(0 0 0 0); } }
@keyframes hemmatLineComplete { 0% { transform:scaleX(0); opacity:0; } 35% { opacity:1; } 75% { transform:scaleX(1); opacity:1; } 100% { transform:scaleX(1); opacity:.55; } }
.hemmat-content-box { margin-top:22px; }
.hemmat-bio-box { border-right:3px solid #8c2bff; background:linear-gradient(100deg,#fbf8ff,#fff7fb); }
.hemmat-section-title { display:flex; align-items:center; gap:12px; }
.hemmat-section-title::before { content:""; flex:0 0 5px; height:27px; border-radius:5px; background:linear-gradient(180deg,#ef2674,#8c2bff); }
.hemmat-intro-section .hemmat-section-title::before { display:none; }
.hemmat-progress-bar-wrapper { height:10px; margin:9px 0 18px; overflow:hidden; border-radius:999px; background:#efedf4; }
.hemmat-progress-bar { display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#ef2674,#8c2bff); transition:width 1.1s cubic-bezier(.47,1.64,.41,.8); }
.hemmat-portfolio-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hemmat-portfolio-item { overflow:hidden; border-radius:18px; background:#f6f3f8; }
.hemmat-portfolio-item img { aspect-ratio:4/3; object-fit:cover; }
.hemmat-video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hemmat-video-item video, .hemmat-aparat-embed { display:block; width:100%; min-height:220px; border:0; border-radius:14px; }
@media(max-width:991px) { .hemmat-profile-hero { grid-template-columns:minmax(0,1fr) minmax(210px,.7fr); gap:28px; } .hemmat-single-image-box { width:min(100%,290px); } }
@media(max-width:767px) { .hemmat-student-single { padding:18px 12px 45px; } .hemmat-profile-hero { grid-template-columns:1fr; gap:26px; } .hemmat-profile-visual { grid-row:1; } .hemmat-single-image-box { width:min(74%,280px); aspect-ratio:1/1.05; border-radius:28px 28px 78px 28px; } .hemmat-single-image { border-radius:20px 20px 70px 20px; } .hemmat-profile-copy .hemmat-main-heading { font-size:30px; } .hemmat-intro-section { padding:22px 18px; } .hemmat-link-buttons { gap:9px; } .hemmat-link-btn { padding:10px 14px; font-size:14px; } .hemmat-portfolio-grid,.hemmat-video-grid { grid-template-columns:1fr; } }

/* Structured, accessible resume editor */
.hemmat-resume-form-wrap { max-width:980px; margin:28px auto; padding:clamp(20px,4vw,42px); direction:rtl; color:#24202b; background:#fff; border:1px solid #eeeaf3; border-radius:24px; box-shadow:0 18px 55px rgba(52,31,76,.08); }
.hemmat-form-heading { margin-bottom:28px; }
.hemmat-form-kicker { color:#8c2bff; font-size:13px; font-weight:800; }
.hemmat-form-heading h2 { margin:6px 0 8px; font-size:clamp(25px,3vw,34px); font-weight:800; }
.hemmat-form-heading p,.hemmat-form-section-title p { margin:0; color:#77717f; line-height:1.9; }
.hemmat-form-section { margin:20px 0; padding:clamp(18px,3vw,28px); border:1px solid #eeeaf3; border-radius:18px; background:linear-gradient(135deg,#fff,#fdfbff); }
.hemmat-form-section-title { display:flex; align-items:center; gap:13px; margin-bottom:22px; }
.hemmat-form-section-title>span { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border-radius:12px; color:white; font-weight:800; background:linear-gradient(135deg,#ef2674,#8c2bff); }
.hemmat-form-section-title h3 { margin:0 0 3px; font-size:19px; font-weight:800; }
.hemmat-form-section-title p { font-size:13px; }
.hemmat-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; }
.hemmat-form-subsection { grid-column:1/-1; padding:18px; border:1px solid #eeeaf3; border-radius:14px; background:#fff; }
.hemmat-form-subsection h4 { margin:0 0 15px; padding-bottom:11px; border-bottom:1px solid #f0ecf4; color:#542b76; font-size:16px; font-weight:800; }
.hemmat-work-list { display:grid; gap:12px; }
.hemmat-work-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; padding:14px; border:1px solid #f0ecf4; border-radius:12px; background:#fdfbff; }
.hemmat-work-row .hemmat-field { align-self:start; }
.hemmat-student-submit-form .hemmat-field { min-width:0; margin:0; }
.hemmat-field label { display:block; margin:0 0 7px; color:#38323f; font-size:14px; font-weight:700; }
.hemmat-field label em { color:#ef2674; font-style:normal; }
.hemmat-field input:not([type=file]),.hemmat-field textarea { box-sizing:border-box; display:block; width:100%; min-height:46px; padding:11px 13px; border:1px solid #e6e1eb; border-radius:11px; outline:0; color:#292431; background:#fff; font:inherit; transition:border-color .2s,box-shadow .2s; }
.hemmat-field textarea { min-height:115px; resize:vertical; }
.hemmat-field input:focus,.hemmat-field textarea:focus { border-color:#9b52ed; box-shadow:0 0 0 3px rgba(140,43,255,.1); }
.hemmat-field input[type=file] { box-sizing:border-box; width:100%; padding:10px; border:1px dashed #cfc3dc; border-radius:11px; background:#fff; }
.hemmat-field small { display:block; margin-top:6px; color:#81798a; }
.hemmat-field-wide { grid-column:1/-1; }
.hemmat-current-photo { display:flex; align-items:center; gap:12px; margin-top:10px; color:#77717f; font-size:13px; }
.hemmat-current-photo img { width:54px; height:54px; border-radius:12px; object-fit:cover; }
.hemmat-form-notice { margin:0 0 18px; padding:14px 17px; border-radius:12px; line-height:1.9; }
.hemmat-form-notice a { margin-right:8px; color:#7421ce; font-weight:700; }
.hemmat-form-notice.is-approved { color:#176b46; background:#effaf4; }
.hemmat-form-notice.is-pending { color:#78510a; background:#fff8e7; }
.hemmat-form-notice.is-error { color:#a32643; background:#fff1f3; }
.hemmat-form-actions { display:flex; align-items:center; justify-content:flex-end; gap:18px; margin-top:24px; }
.hemmat-form-actions>span { color:#77717f; font-size:13px; line-height:1.8; }
.hemmat-form-actions button { flex:0 0 auto; padding:13px 24px; border:0; border-radius:999px; color:#fff; font:inherit; font-weight:800; background:linear-gradient(90deg,#ef2674,#8c2bff); box-shadow:0 10px 24px rgba(160,43,180,.22); cursor:pointer; }
.hemmat-form-actions button:hover { transform:translateY(-1px); box-shadow:0 14px 28px rgba(160,43,180,.3); }
@media(max-width:767px) { .hemmat-resume-pair { grid-template-columns:1fr; gap:18px; } .hemmat-form-grid,.hemmat-work-row { grid-template-columns:1fr; gap:13px; } .hemmat-field-wide { grid-column:auto; } .hemmat-form-subsection { grid-column:auto; padding:14px; } .hemmat-form-actions { align-items:stretch; flex-direction:column; } .hemmat-form-actions button { width:100%; } }
