
/*
Theme Name: ALP School Main
Theme URI: https://alpschool.ir
Author: Ali Motlaghian
Author URI: https://hrnb.ir
Description: قالب اختصاصی سایت آموزشی ALP
Version: 2.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alp-school
Tags: education, school, rtl-language-support
*/

body {
	font-family: dana  !important;
	direction: rtl;
	
}

h1, h2, h3, h4, h5, h6,input, textarea {
	font-family: dana !important;
}
h1 {
	font-weight: bold;
}
.wrapper {
	max-width: 900px;
	margin: 0 auto;
}

.ltr {
	direction: ltr;
}
img.imageicon {
    border-radius: 13px;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-small {
	font-size: 0.8em;
}
.text-xsmall {
	font-size: 0.6em;
}
.text-large {
	font-size: 1.2em;
}
.text-xlarge {
	font-size: 1.4em;
}
.text-underline {
	text-decoration:underline;
}
.text-regular {
	font-weight: normal;
}
.text-bold {
	font-weight: bold;
}


blockquote {
	font-weight: 700;
	padding: 10px;
	border: 1px dashed #666666;
}

.mainbox {
	width: 100%;
	background-color: #EFEFEF;
	display: table;
	margin-bottom: 30px;
	border-right: 8px solid #c5ccad;
}

.mainboxnegativ {
	width: 100%;
	background-color: #000000;
	display: table;
	margin-bottom: 30px;
	border-right: 8px solid #c5ccad;
	color: #F9F9F9;
}

.mainbox2 {
	font-size: 1em;
	width: 90%;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.mainboxitalic {
	font-size: 1em;
	font-style: italic;
	width: 90%;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.mainbox3 {
	width: 100%;
	background-color: #DFDFDF;
	display: table;
	margin-bottom: 30px;
	border-right: 8px solid #FF5EAA;
}

.mainbox2negativ {
	font-size: 1em;
	color: #F9F9F9;
	background-color: #000000;
	padding-right: 20px;
}


.farsiparagraph {
	font-size: 1em;
	width: 47%;
	float:right;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;

}
.boxonvan {
    text-align: center;
    margin: 0px auto;
}
.farsiparagraph_negativ {
	font-size: 1em;
	color: #F9F9F9;
	background-color: #000000;
	width: 47%;
	float:right;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;

}


.englishparagraph {
	font-size: 1em;
	width: 47%;
	float: left;
	direction:ltr;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;


}

.englishparagraph_negativ {
	font-size: 1em;
	color: #F9F9F9;
	background-color: #000000;
	width: 47%;
	float: left;
	direction:ltr;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;


}
.rightbox {
	width: 60%;
	padding-right: 20px;
	padding-left: 5px;
	float: right;
	margin-left: 10px;
	margin-bottom: 0px;
	min-width: 0px;
	background-color: #F7F7F7;

}

.titelbox {
	width: 60%;
	padding-right: 25px;
	padding-left: 0px;
	float: right;
	margin-left: 10px;
	margin-bottom: 0px;
	min-width: 0px;
	background-color: #d5d5d5;
	color: #4B4B4B;
}


.lefttbox {
	
	padding-right: 20px;
	padding-left: 4px;
	float: right;
	margin-bottom: 10px;
	min-width: 0px;
}

.alphabet {
	width: 35%;
	float: left;
	font-size: 21em;
	text-align: center;
	font-weight: 600;
	color: #999999;
}

.alphabet2 {
	width: 35%;
	float: left;
	direction: ltr;
	font-size: 1.6em;
	text-align: left;
	font-weight: 600;
	color: #333333;
	margin-top: 100px;
}
.footer {
	font-weight: 400;
	font-size: 0.7em;
	text-align: center;
	direction: ltr;
	margin-bottom: 0px;
	padding-bottom: 0px;
}




/* استایل منوی موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.mobile-menu-close:hover {
    transform: scale(1.1);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.mobile-menu li {
    margin-bottom: 0.75rem;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
}

.mobile-menu a:hover {
    background-color: #843d64;
    color: white;
    transform: translateX(-0.5rem);
}

/* استایل هدر */
.site-header {
    background-color: #843d64;
    padding: 1rem 0;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-title a {
    color: white;
    text-decoration: none;
}

/* استایل دکمه‌های هدر */
.menu-toggle,
.search-toggle {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.menu-toggle:hover,
.search-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle svg,
.search-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

/* گرید دوره‌ها */
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: #7d395e;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.course-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.course-info {
    flex: 1;
}

.course-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffff;
    margin: 0 0 0.5rem 0;
}

.teacher-name {
    color: #ffff;
    font-size: 0.875rem;
    margin: 0;
}

.course-icon {
    width: 64px;
    height: 64px;
    margin-right: 2rem;
    background-color: rgba(132, 61, 100, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #843d64;
}

.course-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2;
}
.course-info {
    font-family: system-ui;
}
/* رسپانسیو */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
               padding: 0.1rem 1rem 1rem
    }

    .header-container {
        padding: 0 1rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    .course-icon {
        width: 48px;
        height: 48px;
        margin-right: 1rem;
    }

    .course-icon svg {
        width: 24px;
        height: 24px;
    }

    .course-title {
        font-size: 1.25rem;
    }
}


.onvaneaval {
    font-weight: bold;
    font-size: 18px;
}
.boxonvan {
    background-color: #eeeeee6e;
    padding: 10px;
    max-width: 470px;
    border-radius: 10px;
}
