@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/Vazir-Thin-FD-WOL.eot");
  src: url("../fonts/Vazir-Thin-FD-WOL.woff") format("woff"),
    url("../fonts/Vazir-Thin-FD-WOL.ttf") format("ttf"),
    url("../fonts/Vazir-Thin-FD-WOL.woff2") format("woff2");
}

@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/Vazir-Light-FD-WOL.eot");
  src: url("../fonts/VVazir-Light-FD-WOL.woff") format("woff"),
    url("../fonts/Vazir-Light-FD-WOL.ttf") format("ttf"),
    url("../fonts/Vazir-Light-FD-WOL.woff2") format("woff2");
}

@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Vazir-Medium-FD-WOL.eot");
  src: url("../fonts/Vazir-Medium-FD-WOLwoff") format("woff"),
    url("../fonts/Vazir-Medium-FD-WOL.ttf") format("ttf"),
    url("../fonts/Vazir-Medium-FD-WOL.woff2") format("woff2");
}

@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 950;
  src: url("../fonts/Vazir-Bold-FD-WOL.eot");
  src: url("../fonts/Vazir-Bold-FD-WOL.woff") format("woff"),
    url("../fonts/Vazir-Bold-FD-WOL.ttf") format("ttf"),
    url("../fonts/Vazir-Bold-FD-WOL.woff2") format("woff2");
}

/* CSS Variables */
:root {
	--primary: #2c3e50;
	--secondary: #3498db;
	--accent: #e74c3c;
	--light: #f8f9fa;
	--dark: #2c3e50;
	--text: #333;
	--gray: #6c757d;
	--border: #dee2e6;
	--success: #28a745;
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: vazir;
	line-height: 1.7;
	color: var(--text);
	background-color: #f5f7fa;
	direction: rtl;
	padding: 5px; 
	margin: 5px;
}

.content {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 18px;
	padding-right: 15%;
	padding-left: 15%;
	background: white;
}

.content2 {
	padding-right: 15%;
	padding-left: 15%;
	background: rgb(180, 200, 250);
	border-radius: 0 0 10px 10px;
}

.content-box {
	padding: 40px;
    background: platinum;
    border-radius: 10px;
	box-shadow: var(--shadow);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	font-size: 20px;
}

a {
	text-decoration: none;
	color: var(--secondary);
	transition: var(--transition);
}

a:hover {
	color: var(--accent);
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.section-title {
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translateX(50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(to left, var(--secondary), var(--accent));
}

/* Header Styles */
header {
	font-family: vazir;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: white;
	padding: 1.2rem 0;
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 1000;
	border-radius: 10px 10px 0 0;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo img {
	width: 40px;
	height: 40px;
}

.logo-text {
	font-size: 1.8rem;
	font-weight: 700;
}

.logo-text span {
	color: salmon;
}

/* Navigation */
nav {
	display: flex;
	align-items: center;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 1.5rem;
}

.nav-menu a {
	color: white;
	font-weight: 500;
	padding: 0.5rem 0.8rem;
	border-radius: 4px;
	transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
	background: rgba(255, 255, 255, 0.15);
	color: white;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Hero Section */
.hero {
	background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
	background-size: cover;
	background-position: center;
	color: white;
	padding: 4rem 0;
	text-align: center;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 2.8rem;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.btn {
	display: inline-block;
	padding: 0.8rem 1.8rem;
	border-radius: 50px;
	font-weight: 600;
	transition: var(--transition);
	cursor: pointer;
}

.btn-primary {
	background: var(--accent);
	color: white;
}

.btn-primary:hover {
	background: #c0392b;
	color: white;
	transform: translateY(-3px);
}

.btn-outline {
	border: 2px solid white;
	color: white;
}

.btn-outline:hover {
	background: white;
	color: var(--primary);
	transform: translateY(-3px);
}

/* Main Content */
main {
	padding: 3rem 0;
}

/* News Section */
.news-section {
	margin-bottom: 4rem;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.news-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-img {
	display: flex;
	justify-content: center;   /* horizontal centering */
	align-items: center;       /* vertical centering */
	width: 200px;
	height: 200px;
	overflow: hidden;
	margin: 0 auto;
}

.news-picture {
	border-radius: 10px 10px 10px 10px;
}

.news-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; 
	transition: var(--transition);
}

.news-card:hover .news-img img {
	transform: scale(1.05);
}

.news-content {
	padding: 1.5rem;
}

.news-content h3 {
	margin-bottom: 0.8rem;
	font-size: 1.2rem;
	color: var(--dark);
}

.news-content p {
	color: var(--gray);
	margin-bottom: 1.2rem;
	font-size: 0.95rem;
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--secondary);
	font-weight: 500;
}

.read-more:hover {
	gap: 8px;
}

/* Featured Content */
.featured-section {
	margin-bottom: 4rem;
}

.featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.featured-card {
	background: white;
	padding: 1.8rem;
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.featured-card h3 {
	color: var(--primary);
	margin-bottom: 1.2rem;
	padding-bottom: 0.8rem;
	border-bottom: 2px solid var(--border);
}

.featured-list {
	list-style: none;
}

.featured-item {
	padding: 0.8rem 0;
	border-bottom: 1px dashed var(--border);
}

.featured-item:last-child {
	border-bottom: none;
}

.featured-item a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--dark);
	transition: var(--transition);
}

.featured-item a:hover {
	color: var(--accent);
	gap: 12px;
}

.featured-item i {
	color: var(--accent);
}

/* About Section */
.about-section {
	background: linear-gradient(to right, #f8f9fa, #e9ecef);
	padding: 4rem 0;
	margin: 4rem 0;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.about-text {
	flex: 1;
}

.about-text h2 {
	color: var(--primary);
	margin-bottom: 1.5rem;
}

.about-text p {
	margin-bottom: 1.2rem;
	color: var(--gray);
	line-height: 1.8;
}

.about-image {
	flex: 1;
	text-align: center;
}

.about-image img {
	max-width: 100%;
	border-radius: 10px;
	box-shadow: var(--shadow);
}

/* Footer */
footer {
	background: var(--dark);
	color: white;
	padding: 3rem 0 1.5rem;
	border-radius: 0 0 10px 10px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	margin-bottom: 2rem;
}

.footer-column h3 {
	color: var(--accent);
	margin-bottom: 1.5rem;
	font-size: 1.3rem;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: #ccc;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: var(--transition);
}

.footer-links a:hover {
	color: white;
	gap: 12px;
}

.footer-links i {
	color: var(--secondary);
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	transition: var(--transition);
}

.social-links a:hover {
	background: var(--secondary);
	transform: translateY(-3px);
}

.copyright {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #aaa;
	font-size: 0.9rem;
}

/* Date Display */
.date-display {
	color: black;
	background: white;
	padding: 1rem;
	border-radius: 10px;
	box-shadow: var(--shadow);
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.date-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.date-item i {
	color: var(--accent);
}

.picture3 {
	box-shadow: 5px 10px #888888;
	border-radius: 10px 10px 10px 10px;
}

.bttn {
	background: rgb(212, 255, 158);
	font-family: vazir;
	font-size: 16px;
	box-shadow: 2px 5px #888888;
	border-radius: 4px 4px 4px 4px;
	padding: 4px 20px 4px 20px;
}

.bttn:hover {
	background: #DC143C;
	color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
	}
	
	.hero h1 {
		font-size: 2.3rem;
	}
}

@media (max-width: 991px) {
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		width: 100%;
		background: var(--primary);
		flex-direction: column;
		padding: 1.5rem;
		box-shadow: var(--shadow);
		gap: 0.8rem;
	}
	
	.nav-menu.active {
		display: flex;
	}
	
	.mobile-menu-btn {
		display: block;
	}
	
	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.date-display {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
	
	.content {
		font-size: 16px;
		padding-right: 10px;
		padding-left: 10px;
	}
	
	.content2 {
		padding-right: 10px;
		padding-left: 10px;
	}
	
	.content-box {
		padding: 20px;
		font-size: 16px;
	}
}

@media only screen and (min-width:992px) and (max-width: 1600px) {
	.content {
		padding-right: 20px;
		padding-left: 10px;
	}
	
	.content2 {
		padding-right: 20px;
		padding-left: 10px;
	}
}

@media (max-width: 576px) {
	.logo-text {
		font-size: 1.5rem;
	}
	
	.hero h1 {
		font-size: 2rem;
	}
	
	.hero p {
		font-size: 1rem;
	}
	
	.section-title {
		font-size: 1.5rem;
	}
}