“`html
@import url(‘https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;900&display=swap’);
body {
font-family: ‘Vazirmatn’, sans-serif;
line-height: 1.8;
color: #333;
margin: 0;
padding: 0;
background-color: #f8f9fa;
}
.container {
max-width: 900px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.container {
margin: 10px;
padding: 15px;
}
.heading1 { font-size: 2.2em !important; }
.heading2 { font-size: 1.6em !important; }
.heading3 { font-size: 1.2em !important; }
.infographic-block, .table-block {
padding: 15px;
}
}
@media (max-width: 480px) {
.container {
margin: 5px;
padding: 10px;
border-radius: 8px;
}
.heading1 { font-size: 1.8em !important; }
.heading2 { font-size: 1.4em !important; }
.heading3 { font-size: 1.1em !important; }
.infographic-item {
flex-direction: column;
align-items: flex-start;
text-align: right;
}
.infographic-icon {
margin-bottom: 10px;
margin-left: 0;
margin-right: auto;
}
table, thead, tbody, th, td, tr {
display: block;
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr {
border: 1px solid #dee2e6;
margin-bottom: 10px;
border-radius: 8px;
padding: 10px;
background-color: #fefefe;
}
td {
border: none;
position: relative;
padding-left: 50% !important;
text-align: right;
font-weight: bold;
}
td::before {
content: attr(data-label);
position: absolute;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
text-align: left;
font-weight: normal;
color: #555;
}
}
/* Heading Styles */
.heading1 {
font-size: 3.2em;
font-weight: 900;
color: #4a0072; /* Deep violet */
text-align: center;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 4px solid #8e2de2; /* Lighter violet */
position: relative;
}
.heading1::after {
content: ”;
display: block;
width: 80px;
height: 4px;
background: #FFC107; /* Yellow accent */
position: absolute;
bottom: -4px;
left: 50%;
transform: translateX(-50%);
border-radius: 2px;
}
.heading2 {
font-size: 2.2em;
font-weight: 700;
color: #8e2de2; /* Lighter violet */
margin-top: 40px;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #a770ef; /* Even lighter violet */
}
.heading3 {
font-size: 1.5em;
font-weight: 700;
color: #a770ef; /* Even lighter violet */
margin-top: 30px;
margin-bottom: 15px;
padding-bottom: 5px;
border-bottom: 1px solid #d8b4fe; /* Very light violet */
}
p {
margin-bottom: 1em;
text-align: justify;
font-size: 1.1em;
line-height: 1.9;
}
ul {
list-style: none;
padding-left: 0;
margin-bottom: 1.5em;
}
ul li {
position: relative;
padding-right: 25px;
margin-bottom: 0.8em;
font-size: 1.05em;
text-align: right;
}
ul li::before {
content: ‘✅’; /* A nice checkmark */
position: absolute;
right: 0;
color: #6a1b9a; /* Darker violet for accent */
}
/* Table Styles */
.table-block {
background-color: #e9ecef; /* Light gray */
padding: 25px;
border-radius: 10px;
margin: 30px 0;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background-color: #fff;
border-radius: 8px;
overflow: hidden; /* Ensures rounded corners */
}
th, td {
border: 1px solid #dee2e6;
padding: 15px;
text-align: right;
}
th {
background-color: #6a1b9a; /* Darker violet for header */
color: #fff;
font-weight: bold;
font-size: 1.1em;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
tr:hover {
background-color: #e0e0e0;
}
/* Infographic Styles */
.infographic-block {
background: linear-gradient(135deg, #8e2de2 0%, #4a0072 100%); /* Violet gradient */
color: #fff;
padding: 30px;
border-radius: 12px;
margin: 40px 0;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
text-align: center;
}
.infographic-title {
font-size: 2em;
font-weight: 700;
margin-bottom: 25px;
color: #FFC107; /* Yellow accent */
}
.infographic-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.infographic-item {
background-color: rgba(255, 255, 255, 0.15);
border-radius: 10px;
padding: 20px;
flex: 1 1 calc(50% – 40px); /* Two items per row on larger screens */
min-width: 280px;
display: flex;
align-items: center;
text-align: right;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.infographic-item:hover {
transform: translateY(-5px);
background-color: rgba(255, 255, 255, 0.25);
}
.infographic-icon {
font-size: 2.5em;
margin-left: 15px;
color: #FFC107; /* Yellow accent */
flex-shrink: 0;
}
.infographic-text {
flex-grow: 1;
}
.infographic-text h3 {
font-size: 1.3em;
margin-top: 0;
margin-bottom: 8px;
color: #fff;
text-align: right;
}
.infographic-text p {
font-size: 0.95em;
margin-bottom: 0;
text-align: right;
line-height: 1.6;
}
/* Call to Action (Optional, but good UX) */
.cta-block {
text-align: center;
margin-top: 50px;
padding: 30px;
background-color: #f2e7ff; /* Very light violet */
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
border: 1px dashed #a770ef;
}
.cta-button {
display: inline-block;
background-color: #8e2de2; /* Lighter violet */
color: #fff;
padding: 15px 30px;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
font-size: 1.2em;
transition