
:root {
--primary: #4361ee;
--primary-hover: #3046b5;
--secondary: #3a0ca3;
--accent: #f72585;
--success: #2ec4b6;
--dark: #212529;
--light: #f8f9fa;
--white: #ffffff;
--gray: #6c757d;
--border: #e9ecef;
--bg-body: #f8f9fa;
--bg-card: #ffffff;
--text-main: #212529;
--text-muted: #6c757d;
--border-color: #e9ecef;
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
--shadow-md: 0 5px 20px rgba(0, 0, 0, 0.05);
--shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
--radius: 12px;
--font-main: 'Vazirmatn', Tahoma, sans-serif;
--container-width: 1200px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-main);
background-color: var(--bg-body);
color: var(--text-main);
line-height: 1.8;
overflow-x: hidden;
padding-top: 80px;
}
a {
text-decoration: none;
transition: all 0.2s ease-in-out;
color: inherit;
}
ul, ol {
list-style: none;
}
img {
max-width: 100%;
height: auto;
display: block;
}
.container {
width: 100%;
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}
.main-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: var(--shadow-sm);
z-index: 1000;
padding: 15px 0;
}
.nav-container {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}
.nav-left {
flex: 0 0 auto;
display: flex;
align-items: center;
}
.logo-img {
height: 40px;
width: auto;
}
.logo-link {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
}
.logo-icon {
width: 48px;
height: 48px;
border-radius: 12px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
transition: all 0.3s ease;
}
.logo-icon:hover {
transform: rotate(15deg);
box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}
.logo-icon i {
color: #fff;
font-size: 22px;
}
.logo-text {
display: flex;
flex-direction: column;
line-height: 1.2;
}
.logo-main {
font-family: 'Vazirmatn', sans-serif;
font-size: 22px;
font-weight: 700;
color: var(--dark);
letter-spacing: -0.5px;
}
.logo-sub {
font-family: 'Vazirmatn', sans-serif;
font-size: 14px;
font-weight: 500;
color: var(--primary);
opacity: 0.9;
}
.nav-center {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.nav-links {
display: flex;
gap: 30px;
align-items: center;
margin: 0;
padding: 0;
}
.nav-links a {
text-decoration: none;
color: var(--dark);
font-weight: 500;
transition: all 0.3s ease;
position: relative;
display: flex;
align-items: center;
gap: 8px;
padding: 5px 0;
white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
color: var(--primary);
}
.nav-links a.active:after {
content: '';
position: absolute;
width: 100%;
height: 3px;
bottom: -25px;
right: 0;
background-color: var(--primary);
border-radius: 3px;
}
.nav-right {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 15px;
}
.nav-cta {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 12px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
white-space: nowrap;
}
.nav-cta:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}
.mobile-actions {
display: none;
gap: 10px;
align-items: center;
}
.mobile-menu-btn {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 10px;
background: none;
border: none;
}
.mobile-menu-btn span {
width: 25px;
height: 3px;
background-color: var(--dark);
border-radius: 3px;
transition: all 0.3s ease;
}
.mobile-search-btn {
display: none;
width: 45px;
height: 45px;
border-radius: 50%;
background: var(--light);
color: var(--dark);
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
font-size: 1.2rem;
padding: 5px;
}
.mobile-search-btn:hover {
background: var(--primary);
color: white;
}
.mobile-menu-overlay,
.mobile-search-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
z-index: 1001;
display: none;
opacity: 0;
transition: opacity 0.3s;
}
.mobile-menu-overlay.active,
.mobile-search-overlay.active {
display: block;
opacity: 1;
}
.mobile-menu-sidebar {
position: fixed;
top: 0;
right: -300px;
width: 280px;
height: 100%;
background: white;
z-index: 1002;
transition: right 0.3s ease-in-out;
box-shadow: -5px 0 15px rgba(0,0,0,0.1);
padding: 20px;
display: flex;
flex-direction: column;
overflow-y: auto;
}
.mobile-menu-sidebar.active {
right: 0;
}
.close-menu-btn,
.close-search-btn {
align-self: flex-end;
font-size: 1.5rem;
cursor: pointer;
color: var(--dark);
padding: 10px;
}
.mobile-nav-links {
display: flex;
flex-direction: column;
gap: 5px;
}
.mobile-nav-links a {
text-decoration: none;
color: var(--dark);
font-size: 1.1rem;
padding: 12px 10px;
border-bottom: 1px solid #f0f0f0;
transition: all 0.3s ease;
}
.mobile-nav-links a:hover {
color: var(--primary);
padding-right: 15px;
background: #f9f9f9;
}
.mobile-sidebar-logo {
text-align: center;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border);
}
.mobile-search-panel {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: white;
z-index: 1003;
transform: translateY(-100%);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
padding: 20px;
border-bottom: 1px solid var(--border);
}
.mobile-search-panel.active {
transform: translateY(0);
}
.mobile-search-form {
max-width: 600px;
margin: 40px auto 0;
display: flex;
align-items: center;
background: var(--light);
border-radius: 50px;
padding: 5px;
border: 1px solid var(--border);
transition: all 0.3s ease;
}
.mobile-search-form:focus-within {
background: white;
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}
.mobile-search-form input {
flex: 1;
border: none;
background: transparent;
padding: 10px;
font-size: 1.1rem;
font-family: inherit;
outline: none;
color: var(--dark);
}
.mobile-search-form button {
width: 45px;
height: 45px;
border-radius: 50%;
border: none;
background: var(--primary);
color: white;
font-size: 1.2rem;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-search-form button:hover {
background: var(--secondary);
}
.page-header {
background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
padding: 100px 0 60px;
margin-bottom: 50px;
position: relative;
overflow: hidden;
}
.page-header:before {
content: '';
position: absolute;
width: 500px;
height: 500px;
border-radius: 50%;
background: linear-gradient(135deg, rgba(67, 97, 238, 0.08) 0%, rgba(58, 12, 163, 0.04) 100%);
top: -250px;
left: -250px;
z-index: 0;
}
.page-header:after {
content: '';
position: absolute;
width: 350px;
height: 350px;
border-radius: 50%;
background: linear-gradient(135deg, rgba(247, 37, 133, 0.08) 0%, rgba(76, 201, 240, 0.04) 100%);
bottom: -150px;
right: -150px;
z-index: 0;
}
.breadcrumb,
.page-title,
.page-subtitle {
position: relative;
z-index: 1;
}
.breadcrumb {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 25px;
color: var(--gray);
font-size: 1rem;
}
.breadcrumb a {
color: var(--primary);
text-decoration: none;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
font-weight: 500;
}
.breadcrumb a:hover {
color: var(--secondary);
}
.page-title {
font-size: 2.5rem;
margin-bottom: 20px;
color: var(--dark);
line-height: 1.3;
}
.page-subtitle {
font-size: 1.3rem;
color: var(--gray);
max-width: 900px;
line-height: 1.6;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 15px 35px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
display: inline-flex;
align-items: center;
gap: 10px;
transition: all 0.3s ease;
box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
border: none;
cursor: pointer;
font-family: 'Vazirmatn', sans-serif;
}
.btn-primary:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}
.btn-secondary {
background-color: white;
color: var(--primary);
padding: 15px 35px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
display: inline-flex;
align-items: center;
gap: 10px;
transition: all 0.3s ease;
border: 2px solid var(--primary);
}
.btn-secondary:hover {
background-color: var(--primary);
color: white;
transform: translateY(-5px);
}
.content-wrapper {
display: grid;
grid-template-columns: 1fr 350px;
gap: 40px;
margin-bottom: 60px;
}
.main-content {
min-width: 0;
}
.page-content-wrapper {
display: grid !important;
grid-template-columns: 1fr !important;
gap: 0 !important;
align-items: start !important;
}
.index-post-card {
background: var(--bg-card);
border-radius: var(--radius);
padding: 25px;
border: 1px solid var(--border-color);
display: flex;
gap: 25px;
margin-bottom: 30px;
transition: all 0.3s ease;
}
.index-post-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
border-color: var(--primary);
}
.index-post-thumb-wrapper {
width: 280px;
height: 186px;
flex-shrink: 0;
border-radius: 12px;
overflow: hidden;
position: relative;
}
.index-post-thumb-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.index-post-card:hover .index-post-thumb-wrapper img {
transform: scale(1.05);
}
.index-post-content-wrapper {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.index-post-title {
font-size: 1.8rem;
margin-bottom: 15px;
line-height: 1.4;
color: var(--dark);
font-weight: 700;
}
.index-post-title a {
color: var(--dark);
text-decoration: none;
transition: all 0.3s ease;
}
.index-post-title a:hover {
color: var(--primary);
}
.index-post-meta {
display: flex;
gap: 20px;
font-size: 0.9rem;
color: var(--gray);
margin-bottom: 15px;
align-items: center;
flex-wrap: wrap;
}
.index-meta-item {
display: inline-flex;
align-items: center;
gap: 5px;
}
.index-meta-item a {
color: var(--gray);
text-decoration: none;
}
.index-meta-item a:hover {
color: var(--primary);
}
.index-post-excerpt {
color: var(--gray);
margin-bottom: 15px;
font-size: 0.95rem;
line-height: 1.7;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.index-read-more {
color: var(--primary);
font-weight: 600;
font-size: 0.9rem;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 5px;
align-self: flex-start;
}
.index-read-more:hover {
gap: 10px;
}
.single-post-card {
background: var(--bg-card);
border-radius: var(--radius);
box-shadow: var(--shadow-md);
padding: 40px;
border: 1px solid #eef2f6;
overflow: hidden;
margin-bottom: 30px;
}
.single-post-title {
font-size: 2.2rem;
color: var(--dark);
margin-bottom: 15px;
line-height: 1.3;
}
.single-post-meta {
display: flex;
flex-wrap: wrap;
gap: 20px;
color: var(--gray);
font-size: 0.9rem;
padding-bottom: 20px;
margin-bottom: 30px;
border-bottom: 1px solid var(--border);
}
.single-post-content {
font-size: 1.15rem;
line-height: 1.9;
color: #4a4a4a;
text-align: justify;
}
.single-post-content img {
max-width: 100%;
height: auto;
border-radius: var(--radius);
display: block;
margin: 2rem auto;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.single-post-tags {
margin-top: 40px;
padding-top: 25px;
border-top: 2px dashed var(--border);
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.single-post-tag-item {
background: var(--light);
color: var(--primary);
padding: 8px 18px;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 500;
text-decoration: none;
border: 1px solid var(--border);
transition: all 0.3s ease;
}
.single-post-tag-item:hover {
background: var(--primary);
color: white;
transform: translateY(-2px);
}
.single-author-box {
display: flex;
align-items: center;
gap: 25px;
background: #fdfdfd;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 30px;
margin-top: 50px;
box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.single-author-avatar-wrapper {
flex-shrink: 0;
}
.single-author-avatar-img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s;
border: 3px solid var(--border);
}
.single-author-avatar-wrapper:hover .single-author-avatar-img {
transform: scale(1.05);
}
.single-author-details {
flex: 1;
}
.single-author-name {
font-size: 1.4rem;
margin-bottom: 10px;
color: var(--dark);
display: flex;
align-items: center;
}
.single-author-bio {
color: var(--gray);
font-size: 0.95rem;
line-height: 1.7;
margin-bottom: 15px;
}
.single-author-socials a {
width: 36px;
height: 36px;
background: #f1f3f5;
border-radius: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--dark);
text-decoration: none;
border: none;
box-shadow: none;
margin-left: 8px;
transition: all 0.3s ease;
font-size: 15px;
}
.single-author-socials a:hover {
background: var(--primary);
color: #ffffff;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}
.page-static-card {
background: #ffffff;
border-radius: var(--radius);
box-shadow: var(--shadow-lg);
padding: 60px 80px;
border: 1px solid rgba(0,0,0,0.03);
position: relative;
overflow: hidden;
margin-bottom: 0;
}
.page-static-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.page-static-header-text {
margin-bottom: 10px;
text-align: center;
}
.page-static-header-text h1 {
font-size: 2.8rem;
color: var(--dark);
margin-bottom: 10px;
font-weight: 800;
letter-spacing: -1px;
line-height: 1.3;
}
.page-static-meta {
color: var(--gray);
font-size: 0.95rem;
margin-bottom: 40px;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border);
}
.page-static-content {
font-size: 1.15rem;
line-height: 1.9;
color: #333;
margin: 0 auto;
max-width: 1000px;
}
.page-static-content p {
margin-bottom: 1.8rem;
}
.page-static-content h2 {
font-size: 1.8rem;
color: var(--dark);
margin-top: 3rem;
margin-bottom: 1.2rem;
padding-bottom: 10px;
border-bottom: 2px solid var(--light);
position: relative;
}
.page-static-content h2::after {
content: '';
position: absolute;
bottom: -2px;
right: 0;
width: 60px;
height: 2px;
background: var(--primary);
}
.page-static-content h3 {
font-size: 1.5rem;
color: var(--secondary);
margin-top: 2.5rem;
margin-bottom: 1rem;
}
.page-static-content a {
color: var(--primary);
text-decoration: none;
border-bottom: 1px dashed var(--primary);
transition: all 0.3s ease;
}
.page-static-content a:hover {
background: rgba(67, 97, 238, 0.05);
border-bottom-style: solid;
}
.page-static-content blockquote {
background: #f8f9fa;
border-right: 5px solid var(--accent);
margin: 2.5rem 0;
padding: 20px 30px;
font-style: italic;
color: #555;
border-radius: 0 8px 8px 0;
position: relative;
}
.page-static-content blockquote p {
margin-bottom: 0;
}
.page-static-content ul,
.page-static-content ol {
margin-bottom: 1.8rem;
padding-right: 30px;
}
.page-static-content li {
margin-bottom: 0.8rem;
color: #444;
}
.main-content ol,
.page-static-content ol {
list-style: decimal;
margin-right: 20px;
font-family: var(--font-main);
}
.main-content ol li,
.page-static-content ol li {
margin-bottom: 10px;
padding-right: 10px;
}
.sidebar {
display: flex;
flex-direction: column;
gap: 30px;
}
.widget {
background: var(--bg-card);
padding: 30px;
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow: var(--shadow-md);
}
.widget-title {
font-size: 1.3rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
color: var(--dark);
}
.widget-title:after {
content: '';
position: absolute;
width: 40px;
height: 3px;
background: var(--primary);
bottom: 0;
right: 0;
border-radius: 3px;
}
.widget ul {
list-style: none;
}
.widget ul li {
margin-bottom: 12px;
border-bottom: 1px dashed var(--border);
padding-bottom: 12px;
}
.widget ul li:last-child {
border-bottom: none;
}
.widget ul li a {
color: var(--gray);
text-decoration: none;
transition: all 0.3s ease;
display: block;
}
.widget ul li a:hover {
color: var(--primary);
padding-right: 5px;
}
.sidebar-search-form {
display: flex;
flex-direction: column;
gap: 10px;
}
.sidebar-search-input {
padding: 12px;
border: 1px solid var(--border);
border-radius: 8px;
font-family: inherit;
margin-bottom: 10px;
}
.sidebar-search-btn {
padding: 10px;
cursor: pointer;
border: none;
background: var(--primary);
color: white;
border-radius: 8px;
font-weight: 600;
width: 100%;
justify-content: center;
font-size: 1rem;
}
.sidebar-author-box {
text-align: center;
}
.sidebar-author-avatar {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 15px;
border: 3px solid var(--border);
}
.sidebar-author-bio {
color: var(--gray);
font-size: 0.95rem;
margin-bottom: 15px;
line-height: 1.6;
}
.sidebar-author-link {
font-size: 0.9rem;
padding: 8px 20px;
}
.sidebar-recent-posts {
list-style: none;
}
.sidebar-recent-posts li a,
.sidebar-categories li a {
color: var(--gray);
text-decoration: none;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
}
.sidebar-recent-posts li a:hover,
.sidebar-categories li a:hover {
color: var(--primary);
padding-right: 5px;
}
.sidebar-post-icon,
.sidebar-category-icon {
font-size: 0.9rem;
color: var(--primary);
width: 20px;
}
.sidebar-comment-link {
text-decoration: none;
display: block;
margin-bottom: 10px;
}
.sidebar-comment-author {
color: var(--dark);
display: block;
font-size: 0.9rem;
margin-bottom: 3px;
}
.sidebar-comment-excerpt {
color: var(--gray);
font-size: 0.85rem;
line-height: 1.5;
display: block;
}
.sidebar-category-count {
float: left;
font-size: 0.8em;
opacity: 0.6;
margin-right: auto;
}
.sidebar-tags-cloud {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.sidebar-tag-item {
background: var(--light);
padding: 5px 12px;
border-radius: 20px;
font-size: 0.85rem;
color: var(--gray);
text-decoration: none;
border: 1px solid var(--border);
transition: all 0.3s ease;
}
.sidebar-tag-item:hover {
background: var(--primary);
color: white;
transform: translateY(-2px);
}
.comments-container {
margin-top: 60px;
}
.comments-title {
font-size: 1.5rem;
margin-bottom: 30px;
position: relative;
padding-bottom: 15px;
border-bottom: 2px solid var(--border);
color: var(--dark);
}
.comment-list {
list-style: none;
padding: 0;
margin: 0;
}
.comment-item {
display: flex;
gap: 20px;
margin-bottom: 30px;
align-items: flex-start;
position: relative;
}
.comment-avatar-wrapper {
width: 50px;
height: 50px;
flex-shrink: 0;
margin-top: 15px;
}
.comment-avatar-wrapper img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 2px solid var(--bg-card);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.comment-body {
flex: 1;
background: var(--bg-card);
padding: 15px 20px;
border-radius: 12px;
border: 1px solid var(--border-color);
position: relative;
box-shadow: var(--shadow-sm);
min-width: 0;
}
.comment-body::before {
content: '';
position: absolute;
top: 22px;
right: -10px;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid var(--border-color);
z-index: 1;
}
.comment-body::after {
content: '';
position: absolute;
top: 22px;
right: -9px;
width: 0;
height: 0;
border-top: 9px solid transparent;
border-bottom: 9px solid transparent;
border-left: 9px solid var(--bg-card);
z-index: 2;
}
.comment-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 1px dashed var(--border);
flex-wrap: wrap;
gap: 10px;
}
.comment-meta-group {
display: flex;
align-items: center;
gap: 10px;
}
.comment-author {
font-weight: 700;
font-size: 1rem;
color: var(--text-main);
}
.comment-date {
font-size: 0.85rem;
color: var(--text-muted);
position: relative;
padding-right: 12px;
}
.comment-date::before {
content: '•';
position: absolute;
right: 0;
color: var(--gray);
font-size: 0.8rem;
}
.comment-reply {
margin: 0;
}
.comment-reply a {
font-size: 0.8rem;
color: var(--primary);
background: rgba(67, 97, 238, 0.05);
padding: 4px 12px;
border-radius: 20px;
font-weight: 600;
display: inline-block;
text-decoration: none;
transition: all 0.2s;
}
.comment-reply a:hover {
background: var(--primary);
color: white;
}
.comment-content {
color: #555;
font-size: 0.95rem;
line-height: 1.7;
word-wrap: break-word;
}
.comments-page-navigator-wrapper {
margin-top: 40px;
border-top: 1px solid var(--border);
padding-top: 20px;
}
.respond-card {
background: var(--bg-card);
padding: 30px;
border-radius: var(--radius);
border: 1px solid var(--border);
margin-top: 50px;
box-shadow: var(--shadow-md);
}
.comments-form-title {
font-size: 1.3rem;
color: var(--dark);
margin-bottom: 25px;
display: flex;
align-items: center;
gap: 10px;
}
.comments-respond input,
.comments-respond textarea {
width: 100%;
padding: 12px 15px;
border: 1px solid var(--border);
border-radius: 8px;
font-family: inherit;
font-size: 0.95rem;
transition: all 0.3s ease;
background: #fcfcfc;
box-sizing: border-box;
margin-bottom: 15px;
}
.comments-respond input:focus,
.comments-respond textarea:focus {
border-color: var(--primary);
background: white;
box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
outline: none;
}
.comments-form-row-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.comments-required {
color: var(--accent);
margin-right: 4px;
}
.comments-optional {
color: var(--gray);
margin-right: 4px;
}
.comments-login-msg {
background: #eef2ff;
color: var(--dark);
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
border-left: 4px solid var(--primary);
}
.comments-submit-row {
text-align: left;
}
@media (max-width: 768px) {
.comment-item {
flex-direction: column;
gap: 10px;
}
.comment-avatar-wrapper {
margin-top: 0;
}
.comment-body {
width: 100%;
}
.comment-body::before,
.comment-body::after {
display: none;
}
.comments-form-row-2 {
grid-template-columns: 1fr;
}
.comment-item.is-reply {
margin-right: 0 !important;
border-right: none !important;
padding-right: 0 !important;
margin-left: 20px !important;
border-left: 2px dashed var(--border-color) !important;
padding-left: 15px !important;
}
}
.comment-avatar-wrapper {
width: 50px;
height: 50px;
flex-shrink: 0;
margin-top: 15px;
}
.comment-avatar-wrapper img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 2px solid var(--bg-card);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
background-color: #e9ecef;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23adb5bd"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
background-size: 60%;
background-position: center;
background-repeat: no-repeat;
}
.comment-avatar-wrapper img {
transition: transform 0.3s;
}
.comment-item:hover .comment-avatar-wrapper img {
transform: scale(1.1);
}
.page-navigator,
.comments-page-navigator {
display: flex;
justify-content: center;
}
.comments-page-navigator {
gap: 15px;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid var(--border-color);
}
.page-nolverator a,
.comments-page-navigator a {
padding: 8px 20px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 6px;
color: var(--text-main);
font-weight: 600;
font-size: 0.95rem;
}
.page-nolverator a:hover,
.comments-page-navigator a:hover {
background: var(--primary);
color: white;
border-color: var(--primary);
}
.page-nolverator span,
.page-nolverator li:not(:has(a)) {
display: none !important;
}
.footer {
background: var(--dark);
color: #fff;
padding: 50px 0;
margin-top: 80px;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 30px;
}
.footer-column {
display: flex;
align-items: center;
}
.footer-logo .logo-link {
display: flex;
align-items: center;
gap: 12px;
}
.footer-logo-img {
height: 40px;
width: auto;
}
.footer-logo .logo-text {
display: flex;
flex-direction: column;
line-height: 1.3;
}
.footer-pages-nav {
display: flex;
align-items: center;
gap: 30px;
}
.footer-page-link {
color: #adb5bd;
font-size: 0.95rem;
font-weight: 500;
position: relative;
}
.footer-page-link:hover {
color: #fff;
}
.footer-page-link::after {
content: '';
position: absolute;
width: 0;
height: 1px;
bottom: -4px;
right: 0;
background-color: var(--primary);
transition: width 0.3s ease;
}
.footer-page-link:hover::after {
width: 100%;
}
@media (max-width: 992px) {
.content-wrapper {
grid-template-columns: 1fr;
}
.nav-links {
display: none;
}
.mobile-menu-btn {
display: flex;
}
.nav-cta {
display: none;
}
.mobile-search-btn {
display: flex;
}
.mobile-actions {
display: flex;
}
.sidebar {
display: none;
}
.page-static-card {
padding: 30px;
}
.page-static-header-text h1 {
font-size: 2rem;
}
.footer-content {
flex-direction: column;
text-align: center;
gap: 40px;
}
.footer-column {
flex-direction: column;
}
.footer-logo .logo-link {
flex-direction: column;
}
.footer-pages-nav {
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
}
@media (max-width: 768px) {
body {
padding-top: 70px;
}
.page-title {
font-size: 2rem;
}
.page-static-card {
padding: 30px 20px;
}
.page-static-header-text h1 {
font-size: 1.8rem;
}
.page-static-content {
max-width: 100%;
}
.comments-form-row-2 {
grid-template-columns: 1fr;
}
.index-post-card {
flex-direction: column;
padding: 0;
overflow: hidden;
}
.index-post-thumb-wrapper {
width: 100%;
height: 220px;
border-radius: 12px 12px 0 0;
}
.index-post-content-wrapper {
padding: 20px;
width: 100%;
box-sizing: border-box;
}
.single-author-box {
flex-direction: column;
text-align: center;
}
.comment-item {
flex-direction: column;
align-items: flex-start;
}
.comment-body {
width: 100%;
}
.comment-body::before,
.comment-body::after {
display: none;
}
.comment-children {
margin-right: 0;
padding-right: 0;
border-right: none;
border-left: 2px dashed var(--border-color);
padding-left: 20px;
}
.comment-children::before {
right: auto;
left: -6px;
}
}
.single-post-content ol,
.page-static-content ol {
list-style: decimal;
margin-right: 20px;
margin-bottom: 1.5rem;
padding-right: 1.5rem;
}
.single-post-content ol li,
.page-static-content ol li {
margin-bottom: 0.8rem;
padding-right: 0.5rem;
}
.index-post-excerpt ol {
list-style: decimal;
margin-right: 15px;
margin-bottom: 1rem;
padding-right: 1rem;
}
.index-post-excerpt ol li {
margin-bottom: 0.5rem;
padding-right: 0.5rem;
}
.comment-list,
.comment-children,
.comments-page-navigator,
.page-navigator,
.widget ul,
.nav-links,
.mobile-nav-links,
.footer-pages-nav {
list-style: none !important;
}
.page-static-content,
.single-post-content {
word-wrap: break-word;
overflow-wrap: break-word;
}
.page-static-content p,
.single-post-content p {
margin-bottom: 1.5rem;
line-height: 1.8;
}
.page-static-content a,
.single-post-content a {
color: var(--primary);
text-decoration: none;
border-bottom: 1px solid rgba(67, 97, 238, 0.3);
transition: all 0.2s ease;
}
.page-static-content a:hover,
.single-post-content a:hover {
background-color: rgba(67, 97, 238, 0.05);
border-bottom-style: solid;
}
.page-static-content h1,
.page-static-content h2,
.page-static-content h3,
.page-static-content h4,
.page-static-content h5,
.page-static-content h6,
.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
margin-top: 2.5rem;
margin-bottom: 1.2rem;
color: var(--dark);
line-height: 1.4;
}
.page-static-content h1,
.single-post-content h1 { font-size: 2rem; font-weight: 800; }
.page-static-content h2,
.single-post-content h2 { font-size: 1.75rem; font-weight: 700; }
.page-static-content h3,
.single-post-content h3 { font-size: 1.5rem; font-weight: 700; color: var(--secondary); }
.page-static-content h4,
.single-post-content h4 { font-size: 1.25rem; font-weight: 600; }
.page-static-content ul,
.page-static-content ol,
.single-post-content ul,
.single-post-content ol {
margin-bottom: 1.5rem;
padding-right: 1.5rem;
}
.page-static-content ul li,
.single-post-content ul li {
margin-bottom: 0.8rem;
padding-right: 0.5rem;
position: relative;
}
.page-static-content ol,
.single-post-content ol {
list-style-type: none;
counter-reset: item;
}
.page-static-content ol li,
.single-post-content ol li {
counter-increment: item;
margin-bottom: 0.8rem;
padding-right: 2rem;
position: relative;
}
.page-static-content ol li::before,
.single-post-content ol li::before {
content: counter(item, persian) " . ";
position: absolute;
right: 0;
top: 0;
font-weight: bold;
color: var(--primary);
}
.page-static-content blockquote,
.single-post-content blockquote {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
border-right: 5px solid var(--primary);
margin: 2rem 0;
padding: 20px 30px;
border-radius: 8px;
position: relative;
box-shadow: 0 4px 15px rgba(0,0,0,0.03);
font-style: italic;
color: #495057;
}
.page-static-content blockquote p:last-child,
.single-post-content blockquote p:last-child {
margin-bottom: 0;
}
.page-static-content blockquote::before,
.single-post-content blockquote::before {
content: '\f10d';
font-family: "Font Awesome 6 Free", "Font Awesome 6 Solid", "Font Awesome 5 Free", "FontAwesome";
font-weight: 900;
display: block;
line-height: 1;
position: absolute;
top: 10px;
left: 20px;
font-size: 2rem;
color: rgba(67, 97, 238, 0.1);
}
.page-static-content code,
.single-post-content code {
background-color: rgba(67, 97, 238, 0.08);
color: var(--primary);
padding: 0.2em 0.4em;
border-radius: 4px;
font-family: 'Courier New', Courier, monospace;
font-size: 0.9em;
direction: ltr;
display: inline-block;
}
.page-static-content pre,
.single-post-content pre {
background-color: #282c34;
color: #abb2bf;
padding: 20px;
border-radius: 8px;
overflow-x: auto;
margin: 1.5rem 0;
direction: ltr;
text-align: left;
position: relative;
font-family: 'Courier New', Courier, monospace;
border: 1px solid #3e4451;
}
.page-static-content pre code,
.single-post-content pre code {
background-color: transparent;
color: inherit;
padding: 0;
border-radius: 0;
font-size: 0.95rem;
display: block;
}
.copy-code-btn {
position: absolute;
top: 10px;
right: 10px;
background: rgba(255, 255, 255, 0.1);
color: #abb2bf;
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 5px 12px;
border-radius: 4px;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.3s ease;
font-family: var(--font-main);
display: flex;
align-items: center;
gap: 5px;
z-index: 10;
}
.copy-code-btn:hover {
background: rgba(255, 255, 255, 0.2);
color: white;
}
.copy-code-btn.copied {
background: #2ec4b6;
color: white;
border-color: #2ec4b6;
}
.page-static-content table,
.single-post-content table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
background: white;
border-radius: var(--radius);
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.page-static-content th,
.page-static-content td,
.single-post-content th,
.single-post-content td {
padding: 12px 15px;
text-align: right;
border-bottom: 1px solid var(--border);
}
.page-static-content thead,
.single-post-content thead {
background-color: #f8f9fa;
}
.page-static-content th,
.single-post-content th {
font-weight: 700;
color: var(--dark);
}
.page-static-content tbody tr:nth-child(even),
.single-post-content tbody tr:nth-child(even) {
background-color: #fcfcfc;
}
.page-static-content tbody tr:hover,
.single-post-content tbody tr:hover {
background-color: #f1f3f5;
}
@media (max-width: 768px) {
.page-static-content table,
.single-post-content table,
.page-static-content thead,
.single-post-content thead,
.page-static-content tbody,
.single-post-content tbody,
.page-static-content th,
.single-post-content th,
.page-static-content td,
.single-post-content td,
.page-static-content tr,
.single-post-content tr {
display: block;
}
.page-static-content thead tr,
.single-post-content thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
.page-static-content tr,
.single-post-content tr {
border: 1px solid var(--border);
margin-bottom: 15px;
border-radius: 8px;
}
.page-static-content td,
.single-post-content td {
border: none;
border-bottom: 1px solid var(--border);
position: relative;
padding-right: 50%;
text-align: right;
}
.page-static-content td::before,
.single-post-content td::before {
position: absolute;
top: 12px;
right: 15px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
text-align: right;
font-weight: bold;
color: var(--primary);
content: attr(data-label);
}
}
.footer-content {
text-align: center !important;
justify-content: center !important;
align-items: center !important;
gap: 40px !important;
}
@media (max-width: 768px) {
.footer-column {
flex-direction: column;
text-align: center;
width: 100%;
}
.footer-logo .logo-link {
justify-content: center;
}
}
.footer-divider {
width: 100%;
height: 1px;
background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
margin: 30px 0 20px 0;
border: none;
}
.footer-bottom {
padding: 20px 0 40px 0;
text-align: center;
}
.copyright-text {
color: #adb5bd;
font-size: 0.9rem;
line-height: 1.8;
}
.copyright-text a {
color: var(--primary);
text-decoration: none;
font-weight: 700;
border-bottom: 1px dotted rgba(255,255,255,0.2);
transition: all 0.3s ease;
}
.copyright-text a:hover {
color: #fff;
border-bottom-color: var(--primary);
}
@media (min-width: 769px) {
.footer-content {
justify-content: space-between !important;
align-items: center !important;
}
.footer-column {
flex: 1;
display: flex;
}
.footer-column:first-child {
justify-content: flex-start;
}
.footer-column:last-child {
justify-content: flex-end;
}
}
.logo-text-footer {
display: flex;
flex-direction: column;
line-height: 1.2;
font-family: 'Vazirmatn', sans-serif;
}
.logo-text-footer .logo-main {
font-family: 'Vazirmatn', sans-serif;
font-size: 22px;
font-weight: 700;
color: #ffffff;
letter-spacing: -0.5px;
display: block;
}
.logo-text-footer .logo-sub {
font-family: 'Vazirmatn', sans-serif;
font-size: 14px;
font-weight: 500;
color: var(--success);
opacity: 1;
display: block;
margin-top: 2px;
}
.logo-sub-footer{
margin-right: 15px;
}
.page-about-wrapper {
max-width: 1100px;
margin: 40px auto;
}
.about-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 60px;
margin-bottom: 60px;
background: white;
padding: 40px;
border-radius: 20px;
box-shadow: var(--shadow-lg);
border: 1px solid var(--border);
}
.about-content {
flex: 1;
}
.about-badge {
display: inline-block;
background: rgba(67, 97, 238, 0.1);
color: var(--primary);
padding: 8px 20px;
border-radius: 50px;
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 20px;
}
.about-hero h1 {
font-size: 2.5rem;
color: var(--dark);
margin-bottom: 10px;
line-height: 1.2;
}
.about-hero h3 {
font-size: 1.2rem;
color: var(--gray);
font-weight: 500;
margin-bottom: 25px;
}
.about-intro {
font-size: 1.1rem;
line-height: 1.9;
color: #4a4a4a;
margin-bottom: 30px;
}
.about-socials {
display: flex;
gap: 15px;
}
.about-socials a {
width: 45px;
height: 45px;
border-radius: 12px;
background: #f1f3f5;
color: var(--dark);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
transition: all 0.3s ease;
}
.about-socials a:hover {
background: var(--primary);
color: white;
transform: translateY(-3px);
}
.about-image {
flex: 0 0 350px;
}
.about-image img {
width: 100%;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
object-fit: cover;
aspect-ratio: 1/1;
}
.about-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 50px;
}
.about-card {
background: white;
padding: 30px;
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow: var(--shadow-md);
height: 100%;
}
.card-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid var(--light);
}
.card-header i {
font-size: 1.5rem;
color: var(--primary);
background: rgba(67, 97, 238, 0.1);
width: 50px;
height: 50px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.card-header h3 {
font-size: 1.4rem;
color: var(--dark);
margin: 0;
}
.about-list {
list-style: none;
padding: 0;
margin: 0;
}
.about-list li {
background: #f8f9fa;
padding: 20px;
border-radius: 12px;
margin-bottom: 15px;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.3s ease;
border: 1px solid transparent;
}
.about-list li:hover {
background: white;
border-color: var(--primary);
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transform: translateX(-5px);
}
.item-content h4 {
font-size: 1.1rem;
margin-bottom: 5px;
color: var(--dark);
}
.item-content p {
font-size: 0.9rem;
color: var(--gray);
margin: 0;
}
.item-actions {
display: flex;
align-items: center;
gap: 10px;
}
.status-badge {
font-size: 0.75rem;
padding: 4px 10px;
border-radius: 20px;
font-weight: 700;
}
.status-badge.active { background: #d1e7dd; color: #0f5132; }
.status-badge.inactive { background: #f8d7da; color: #842029; }
.status-badge.neutral { background: #e2e3e5; color: #41464b; }
.item-actions a {
width: 35px;
height: 35px;
border-radius: 8px;
background: white;
border: 1px solid var(--border);
color: var(--dark);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.item-actions a:hover {
background: var(--primary);
color: white;
border-color: var(--primary);
}
.skills-container {
display: flex;
flex-direction: column;
gap: 25px;
}
.skill-item {
width: 100%;
}
.skill-info {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.skill-name {
font-weight: 700;
color: var(--dark);
font-size: 1rem;
}
.skill-info small {
color: var(--gray);
font-size: 0.85rem;
}
.skill-bar {
width: 100%;
height: 10px;
background: #e9ecef;
border-radius: 10px;
overflow: hidden;
}
.skill-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--secondary));
border-radius: 10px;
width: 0;
animation: fillBar 1.5s ease-out forwards;
}
@keyframes fillBar {
from { width: 0; }
}
.about-cta {
background: linear-gradient(135deg, var(--secondary), var(--primary));
color: white;
padding: 50px;
border-radius: 20px;
text-align: center;
box-shadow: 0 15px 40px rgba(67, 97, 238, 0.2);
}
.about-cta p {
font-size: 1.2rem;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
opacity: 0.9;
}
.about-cta .btn-primary {
background: white;
color: var(--primary);
padding: 15px 40px;
font-size: 1.1rem;
}
.about-cta .btn-primary:hover {
background: #f0f0f0;
transform: translateY(-5px);
color: var(--secondary);
}
@media (max-width: 768px) {
.about-hero {
flex-direction: column-reverse;
text-align: center;
padding: 30px;
}
.about-image {
width: 100%;
max-width: 300px;
}
.about-socials {
justify-content: center;
}
.about-list li {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.item-actions {
width: 100%;
justify-content: flex-end;
}
}
.contact-page-wrapper {
max-width: 1100px;
margin: 40px auto;
}
.alert-message {
padding: 15px 20px;
border-radius: var(--radius);
margin-bottom: 30px;
display: flex;
align-items: center;
gap: 15px;
font-weight: 500;
animation: fadeIn 0.5s ease;
}
.alert-message.success {
background: #d1e7dd;
color: #0f5132;
border: 1px solid #badbcc;
}
.alert-message.error {
background: #f8d7da;
color: #842029;
border: 1px solid #f5c2c7;
}
.alert-message i {
font-size: 1.2rem;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 40px;
}
.contact-info-card {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 40px;
border-radius: 20px;
box-shadow: 0 15px 30px rgba(67, 97, 238, 0.25);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.contact-info-card h3 {
font-size: 1.8rem;
margin-bottom: 15px;
margin-top: 0;
}
.contact-desc {
font-size: 1rem;
opacity: 0.9;
margin-bottom: 40px;
line-height: 1.7;
}
.info-items {
display: flex;
flex-direction: column;
gap: 25px;
margin-bottom: 40px;
}
.info-item {
display: flex;
align-items: center;
gap: 20px;
}
.info-icon {
width: 50px;
height: 50px;
background: rgba(255,255,255,0.15);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
backdrop-filter: blur(5px);
flex-shrink: 0;
}
.info-text {
display: flex;
flex-direction: column;
gap: 5px;
}
.info-text span {
font-size: 0.8rem;
opacity: 0.7;
text-transform: uppercase;
letter-spacing: 1px;
}
.info-text a {
color: white;
font-size: 1.1rem;
text-decoration: none;
font-weight: 600;
transition: opacity 0.3s;
}
.info-text a:hover {
opacity: 0.8;
}
.contact-socials span {
display: block;
margin-bottom: 15px;
font-size: 0.9rem;
opacity: 0.8;
}
.contact-socials .social-icons {
display: flex;
gap: 15px;
}
.contact-socials .social-icons a {
width: 45px;
height: 45px;
border-radius: 50%;
background: rgba(255,255,255,0.2);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
transition: all 0.3s ease;
text-decoration: none;
}
.contact-socials .social-icons a:hover {
background: white;
color: var(--primary);
transform: translateY(-5px);
}
.contact-form-card {
background: white;
padding: 40px;
border-radius: 20px;
border: 1px solid var(--border);
box-shadow: var(--shadow-md);
}
.contact-form-card h3 {
font-size: 1.5rem;
margin-bottom: 30px;
color: var(--dark);
position: relative;
padding-bottom: 15px;
border-bottom: 2px solid var(--light);
margin-top: 0;
}
.contact-form-card h3:after {
content: '';
position: absolute;
bottom: -2px;
right: 0;
width: 60px;
height: 2px;
background: var(--primary);
}
.form-group {
margin-bottom: 25px;
}
.form-group label {
display: block;
margin-bottom: 10px;
font-weight: 600;
color: var(--dark);
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 15px;
border: 1px solid var(--border);
border-radius: 12px;
font-family: inherit;
font-size: 1rem;
transition: all 0.3s ease;
background: #fdfdfd;
box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary);
background: white;
box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}
.form-group textarea {
resize: vertical;
min-height: 150px;
}
.btn-submit {
width: 100%;
padding: 15px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border: none;
border-radius: 12px;
font-size: 1.1rem;
font-weight: 700;
font-family: inherit;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
transition: all 0.3s ease;
box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
}
.btn-submit:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}
@media (max-width: 768px) {
.contact-grid {
grid-template-columns: 1fr;
}
.contact-info-card {
padding: 30px;
}
.contact-form-card {
padding: 30px;
}
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 15px;
}
.form-group {
margin-bottom: 15px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 14px 18px;
border: 1px solid var(--border);
border-radius: 12px;
font-family: inherit;
font-size: 0.95rem;
transition: all 0.3s ease;
background: #fdfdfd;
box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary);
background: white;
box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.btn-submit {
width: 100%;
padding: 14px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border: none;
border-radius: 12px;
font-size: 1.1rem;
font-weight: 700;
font-family: inherit;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
transition: all 0.3s ease;
box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
}
.btn-submit:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}
@media (max-width: 768px) {
.form-row {
grid-template-columns: 1fr;
gap: 15px;
}
}
.highlight-text {
color: var(--primary);
font-weight: 700;
}
.text-center {
text-align: center;
}
.sidebar-author-avatar {
border-radius: 50%;
width: 120px;
height: 120px;
object-fit: cover;
margin: 0 auto 15px auto;
border: 3px solid var(--border);
display: block;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.sidebar-author-avatar:hover {
transform: scale(1.05);
}
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
z-index: 9999;
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.back-to-top.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.back-to-top:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
}
.back-to-top i {
font-size: 1.2rem;
transition: transform 0.3s ease;
}
.back-to-top:hover i {
transform: translateY(-3px);
}
@media (max-width: 768px) {
.back-to-top {
bottom: 20px;
right: 20px;
width: 45px;
height: 45px;
}
}
.privacy-page-wrapper {
max-width: 900px;
margin: 40px auto;
}
.privacy-hero {
text-align: center;
margin-bottom: 60px;
}
.privacy-icon-wrapper {
width: 80px;
height: 80px;
background: rgba(67, 97, 238, 0.1);
color: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin: 0 auto 20px auto;
}
.privacy-hero h1 {
font-size: 2.5rem;
color: var(--dark);
margin-bottom: 15px;
}
.privacy-hero > p {
font-size: 1.1rem;
color: var(--gray);
max-width: 700px;
margin: 0 auto;
}
.privacy-content-card {
background: var(--bg-card);
padding: 50px;
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow: var(--shadow-md);
}
.intro-text {
font-size: 1.1rem;
color: var(--text-main);
margin-bottom: 40px;
padding: 20px;
background: var(--light);
border-right: 4px solid var(--primary);
border-radius: 8px;
}
.privacy-section {
margin-bottom: 30px;
}
.privacy-section h2 {
font-size: 1.4rem;
color: var(--dark);
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 15px;
}
.step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 35px;
height: 35px;
background: var(--primary);
color: white;
border-radius: 50%;
font-size: 0.9rem;
font-weight: 700;
flex-shrink: 0;
}
.section-text p {
font-size: 1.05rem;
line-height: 1.8;
color: #4a4a4a;
}
.privacy-list {
list-style: none;
padding-right: 20px;
margin-top: 15px;
}
.privacy-list li {
position: relative;
padding-bottom: 10px;
padding-right: 20px;
color: #4a4a4a;
}
.privacy-list li::before {
content: '•';
color: var(--primary);
font-size: 1.5rem;
position: absolute;
right: 0;
top: -5px;
}
.privacy-divider {
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--border), rgba(0, 0, 0, 0));
margin: 40px 0;
}
.privacy-cta {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
padding: 30px;
border-radius: var(--radius);
text-align: center;
border: 1px solid var(--border);
margin-top: 50px;
}
.privacy-cta p {
font-size: 1.05rem;
color: var(--dark);
margin: 0;
}
@media (max-width: 768px) {
.privacy-content-card {
padding: 30px 20px;
}
.privacy-hero h1 {
font-size: 2rem;
}
.privacy-section h2 {
font-size: 1.2rem;
}
}
hr {
border: 0;
height: 1px;
background-color: var(--border);
margin: 2.5rem 0;
position: relative;
}
hr:after {
content: '';
position: absolute;
width: 8px;
height: 8px;
background-color: var(--primary);
border-radius: 50%;
top: -4px;
left: 50%;
transform: translateX(-50%);
box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}
.farsi-digits {
font-family: 'Vazirmatn', sans-serif;
font-feature-settings: "ss01";
}
.widget-styled-primary {
background-color: var(--primary) !important;
border-color: var(--primary) !important;
color: #ffffff !important;
box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}
.widget-styled-primary .widget-title {
color: #ffffff !important;
}
.widget-styled-primary .widget-title:after {
background-color: #ffffff !important;
}
.widget-styled-primary .sidebar-author-bio {
color: rgba(255, 255, 255, 0.9) !important;
}
.widget-styled-primary .sidebar-author-avatar {
border-color: rgba(255, 255, 255, 0.3);
}
.widget-styled-primary .sidebar-author-link {
background-color: #ffffff !important;
color: var(--primary) !important;
border: 2px solid #ffffff !important;
}
.widget-styled-primary .sidebar-author-link:hover {
background-color: var(--secondary) !important;
color: #ffffff !important;
border-color: var(--secondary) !important;
transform: translateY(-3px);
}
.widget-styled-primary .author-name {
color: #ffffff !important;
}
.post-gallery-wrapper {
margin: 40px 0;
}
.post-gallery {
display: grid;
gap: 15px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
.grid-2, .grid-3, .grid-4 {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.grid-2, .grid-3, .grid-4 {
grid-template-columns: 1fr;
}
}
.gallery-item {
position: relative;
overflow: hidden;
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
aspect-ratio: 16/9;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.style-zoom .gallery-item img {
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.style-zoom .gallery-item:hover {
box-shadow: var(--shadow-lg);
}
.style-zoom .gallery-item:hover img {
transform: scale(1.08);
}
.style-dark .gallery-item {
border: 1px solid var(--border);
}
.style-dark .gallery-item img {
transition: transform 0.5s ease;
}
.gallery-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
z-index: 2;
}
.gallery-overlay i {
color: white;
font-size: 2rem;
transform: translateY(20px);
transition: transform 0.3s ease;
}
.style-dark .gallery-item:hover .gallery-overlay {
opacity: 1;
}
.style-dark .gallery-item:hover .gallery-overlay i {
transform: translateY(0);
}
.style-dark .gallery-item:hover img {
transform: scale(1.1);
}
.slb-modal {
display: none;
position: fixed;
z-index: 9999;
padding-top: 50px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.9);
opacity: 0;
transition: opacity 0.3s ease;
}
.slb-modal.active {
display: flex;
justify-content: center;
align-items: center;
opacity: 1;
}
.slb-content {
margin: auto;
display: block;
max-width: 90%;
max-height: 90vh;
box-shadow: 0 0 20px rgba(0,0,0,0.5);
animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
from {transform:scale(0.8); opacity:0;}
to {transform:scale(1); opacity:1;}
}
.slb-close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
cursor: pointer;
z-index: 10000;
}
.slb-close:hover,
.slb-close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
.slb-prev,
.slb-next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
user-select: none;
background-color: rgba(0,0,0,0.5);
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.slb-prev {
left: 4%;
}
.slb-next {
right: 4%;
}
.slb-prev:hover,
.slb-next:hover {
background-color: rgba(255,255,255,0.2);
transform: scale(1.1);
}
@media only screen and (max-width: 700px){
.slb-content {
width: 100%;
}
}
.ratio-landscape .gallery-item {
aspect-ratio: 16 / 9;
}
.ratio-portrait .gallery-item {
aspect-ratio: 3 / 4;
}
.ratio-square .gallery-item {
aspect-ratio: 1 / 1;
}
@media (max-width: 480px) {
.ratio-portrait .gallery-item {
aspect-ratio: 4 / 5;
}
}
.instruction-box {
background: linear-gradient(145deg, #f6f9fc, #ffffff);
border: 1px solid #e2eaf1;
border-radius: 20px;
padding: 30px 35px;
margin: 40px 0;
box-shadow: 0 10px 25px -8px rgba(0, 32, 64, 0.08);
position: relative;
transition: all 0.3s ease;
}
.instruction-box:hover {
box-shadow: 0 15px 35px -10px rgba(67, 97, 238, 0.12);
border-color: rgba(67, 97, 238, 0.2);
}
.instruction-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 25px;
border-bottom: 2px solid var(--light);
padding-bottom: 18px;
}
.instruction-header svg {
width: 28px;
height: 28px;
color: var(--primary);
stroke-width: 2;
}
.instruction-header h3 {
font-size: 1.5rem;
font-weight: 700;
color: var(--dark);
margin: 0;
position: relative;
}
.instruction-header h3::after {
content: '';
position: absolute;
bottom: -18px;
right: 0;
width: 50px;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--secondary));
border-radius: 3px;
}
.instruction-box ol {
list-style: none;
counter-reset: instruction-counter;
margin: 0 0 25px 0;
padding: 0;
}
.instruction-box ol li {
counter-increment: instruction-counter;
margin-bottom: 16px;
padding-right: 40px;
position: relative;
font-size: 1.05rem;
line-height: 1.7;
color: #2c3e50;
}
.instruction-box ol li::before {
content: counter(instruction-counter);
position: absolute;
right: 0;
top: 0;
width: 28px;
height: 28px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
font-weight: 700;
box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}
.instruction-box code,
.instruction-box .licode {
background: #1e2a3a;
color: #e3f2fd;
padding: 4px 10px;
border-radius: 8px;
font-family: 'Courier New', Courier, monospace;
font-size: 0.95em;
font-weight: 600;
direction: ltr !important;
unicode-bidi: embed !important;
display: inline-block !important;
border: 1px solid #2a3a4a;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
margin: 0 2px;
line-height: 1.5;
white-space: nowrap;
}
.instruction-box .note {
background: #fff9e6;
border-right: 5px solid #ffb74d;
border-radius: 12px;
padding: 20px 25px;
margin-top: 20px;
font-size: 0.98rem;
color: #5d4037;
box-shadow: 0 3px 10px rgba(255, 183, 77, 0.1);
display: block;
word-wrap: break-word;
overflow-wrap: break-word;
}
.instruction-box .note strong {
color: #bf5e00;
font-weight: 700;
display: inline;
margin-left: 5px;
}
.instruction-box .note code,
.instruction-box .note .licode {
display: inline-block !important;
direction: ltr !important;
unicode-bidi: embed !important;
background: #2d2d2d;
color: #ffd700;
padding: 3px 10px;
border-radius: 6px;
font-weight: 600;
margin: 0 3px;
white-space: nowrap;
max-width: 100%;
overflow-x: auto;
vertical-align: middle;
border: 1px solid #444;
line-height: 1.5;
}
@media (max-width: 768px) {
.instruction-box .note code,
.instruction-box .note .licode {
white-space: nowrap;
max-width: 90%;
overflow-x: auto;
display: inline-block;
vertical-align: baseline;
}
}
.btn-box-modern {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin: 40px 0;
padding: 25px;
background: linear-gradient(145deg, #f8faff, #ffffff);
border-radius: 20px;
border: 1px solid rgba(67, 97, 238, 0.1);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
justify-content: center;
align-items: center;
}
.btn-box-modern .btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 14px 32px;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border: none;
cursor: pointer;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
letter-spacing: 0.3px;
position: relative;
overflow: hidden;
}
.btn-box-modern .btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.btn-box-modern .btn:hover::before {
width: 300px;
height: 300px;
}
.btn-box-modern .btn-download {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
}
.btn-box-modern .btn-download:hover {
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(67, 97, 238, 0.35);
}
.btn-box-modern .btn-preview {
background: linear-gradient(135deg, #00b09b, #96c93d);
color: white;
}
.btn-box-modern .btn-preview:hover {
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(0, 176, 155, 0.35);
}
.btn-box-modern .icon {
width: 22px;
height: 22px;
transition: transform 0.3s ease;
}
.btn-box-modern .btn:hover .icon {
transform: scale(1.15);
}
.warning-box {
background: linear-gradient(145deg, #fff5f0, #ffffff);
border: 1px solid #ffe0cc;
border-radius: 20px;
padding: 25px 30px;
margin: 40px 0;
box-shadow: 0 10px 25px -8px rgba(255, 107, 53, 0.1);
position: relative;
transition: all 0.3s ease;
}
.warning-box:hover {
border-color: #ff8a5c;
box-shadow: 0 15px 35px -10px rgba(255, 107, 53, 0.2);
}
.warning-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 18px;
padding-bottom: 15px;
border-bottom: 2px dashed #ffe0cc;
}
.warning-icon {
width: 28px;
height: 28px;
color: #ff6b35;
flex-shrink: 0;
}
.warning-header span {
font-size: 1.3rem;
font-weight: 700;
color: #c73f0c;
letter-spacing: -0.3px;
}
.warning-box p {
font-size: 1.05rem;
line-height: 1.8;
color: #4a3a2f;
margin: 0;
padding-right: 12px;
border-right: 4px solid #ffb08e;
}
@media (max-width: 768px) {
.instruction-box {
padding: 25px 20px;
}
.instruction-header h3 {
font-size: 1.3rem;
}
.instruction-box ol li {
font-size: 0.98rem;
padding-right: 35px;
}
.btn-box-modern {
flex-direction: column;
padding: 20px;
}
.btn-box-modern .btn {
width: 100%;
padding: 12px 25px;
}
.warning-box {
padding: 20px 25px;
}
.warning-header span {
font-size: 1.2rem;
}
.warning-box p {
font-size: 0.98rem;
}
.instruction-box code,
.instruction-box .licode,
.instruction-box .note code {
white-space: normal !important;
word-break: break-all !important;
font-size: 0.9em;
padding: 3px 6px;
}
}
@media (max-width: 480px) {
.instruction-header {
flex-direction: column;
text-align: center;
}
.instruction-header h3::after {
right: 50%;
transform: translateX(50%);
}
.instruction-box .note {
flex-direction: column;
text-align: center;
}
.warning-header {
flex-direction: column;
text-align: center;
}
.warning-box p {
padding-right: 0;
border-right: none;
text-align: justify;
}
}
.instruction-header i {
font-size: 28px;
color: var(--primary);
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.single-post-content pre,
.page-static-content pre {
background-color: #282c34;
color: #abb2bf;
padding: 20px;
border-radius: 8px;
overflow-x: auto;
margin: 1.5rem 0;
direction: ltr;
text-align: left;
position: relative;
font-family: 'Courier New', Courier, monospace;
border: 1px solid #3e4451;
white-space: pre-wrap;
word-break: break-word;
word-wrap: break-word;
overflow-x: hidden;
}
.single-post-content pre code,
.page-static-content pre code {
background-color: transparent;
color: inherit;
padding: 0;
border-radius: 0;
font-size: 0.95rem;
display: block;
white-space: pre-wrap;
word-break: break-word;
}