:root {
    --desktop-navbar-height: 60px;
    --color-primary: #0c2c71;
    --color-secondary: #63c9cb;
    --color-secondary-light: rgba(99, 201, 203, 0.3);
    --color-white: #fbf9f8;
    --color-black: #1a1d20;
    --font-regular: 'vazir-regular';
    --font-bold: 'vazir-bold';
    --font-light: 'vazir-light';
}

@font-face {
    font-family: 'vazir-regular';
    src: url(../fonts/Vazirmatn-UI-FD-Regular.woff2);
    font-display: swap;
}

@font-face {
    font-family: 'vazir-bold';
    src: url(../fonts/Vazirmatn-UI-FD-Bold.woff2);
    font-display: swap;
}

@font-face {
    font-family: 'vazir-light';
    src: url(../fonts/Vazirmatn-UI-FD-Light.woff2);
    font-display: swap;
}

.row {
    margin: 0;
    padding: 0;
}

html.rtl{
    --font-regular: 'vazir-regular';
    --font-bold: 'vazir-bold';
    --font-light: 'vazir-light';
}
html.ltr {
}

body {
    padding-top: var(--desktop-navbar-height);
    color: var(--color-black);
    font-family: var(--font-regular);
}

footer {
    flex-shrink: 0;
}

h2 {
    color: var(--color-primary);
    font-family: var(--font-bold);
    font-size: 1.6em;
}

p {
    margin-bottom: 0;
    line-height: 1.9em;
}

.navbar {
    height: var(--desktop-navbar-height);
}

    .navbar .navbar-brand {
        color: var(--color-primary);
    }

    .navbar .navbar-nav .nav-link,
    .navbar .side-navs .nav-link {
        color: var(--color-secondary);
    }

        .navbar .navbar-nav .nav-link:hover,
        .navbar .side-navs .nav-link:hover {
            color: var(--color-primary);
        }

.hero-section .hero-img {
    height: calc(100vh - var(--desktop-navbar-height));
    object-fit: cover;
}

.hero-section h1 {
    color: var(--color-primary);
    font-size: 2em;
    line-height: 1.4em;
    font-family: var(--font-bold);
    margin-bottom: 0.5em;
}

    .hero-section h1 span {
        display: block;
        color: var(--color-secondary);
        font-family: var(--font-regular);
        font-size: 0.85em;
    }

.hero-section .col {
    margin-top: 1em;
}

    .hero-section .col .box i {
        color: var(--color-secondary);
        font-size: 2em;
        margin-bottom: 0.5em;
    }

    .hero-section .col .box h3 {
        direction: ltr;
        color: var(--color-primary);
        font-size: 1.5em;
        font-family: var(--font-bold);
        margin-bottom: 0.1em;
    }

    .hero-section .col .box p {
        color: var(--color-black);
        font-size: 1em;
        font-family: var(--font-regular);
        margin-bottom: 0.1em;
    }

.hero-section .btn {
    display: inline-block;
    color: var(--color-primary);
    background-color: var(--color-secondary-light);
    font-size: 1em;
    font-family: var(--font-regular);
    margin-top: 2em;
    margin-left: 1.2em;
    border-radius: 1000px;
}

    .hero-section .btn:hover {
        background-color: var(--color-secondary);
    }

    .hero-section .btn:last-child {
        margin-left: 0;
    }

.hero-section .about-description {
    margin-top: 5em;
    margin-bottom: 5em;
}

    .hero-section .about-description h2 {
        text-align: center;
        margin-bottom: 0.7em;
    }

    .hero-section .about-description .slogan {
        text-align: center;
        margin-bottom: 2em;
    }

.hero-section form label {
    margin-right: 1em;
}

.hero-section form select {
    border-radius: 1000px;
}

.services-section {
    margin-bottom: 4em;
}

    .services-section h2 {
        margin-bottom: 1.5em;
    }

    .services-section .col {
    }

        .services-section .col .box {
            border-radius: 15px;
            padding: 25px 10px 15px 10px;
        }

            .services-section .col .box i {
                font-size: 3em;
                color: var(--color-secondary);
                margin-bottom: 0.5em;
            }

            .services-section .col .box h3 {
                color: var(--color-primary);
                font-size: 1.4em;
            }

            .services-section .col .box p {
                font-size: 1em;
                font-weight: var(--font-light);
            }

            .services-section .col .box .btn {
                color: var(--color-primary);
                background-color: var(--color-secondary-light);
                font-size: 1em;
                font-family: var(--font-regular);
                border-radius: 1000px;
                margin-top: 1em;
            }

                .services-section .col .box .btn:hover {
                    background-color: var(--color-secondary);
                }

.questions-section {
    margin-bottom: 4em;
}

    .questions-section h2 {
        margin-bottom: 1.5em;
    }

    .questions-section .col .box {
        border-radius: 15px;
        padding: 25px 10px 15px 10px;
        position: relative;
    }

        .questions-section .col .box i {
            font-size: 3em;
            color: var(--color-secondary);
            margin-bottom: 0.5em;
        }

        .questions-section .col .box h3 {
            color: var(--color-primary);
            font-size: 1.2em;
        }

        .questions-section .col .box p {
            font-size: 0.85em;
            font-weight: var(--font-light);
        }

        .questions-section .col .box .btn {
            display: inline-block;
            color: var(--color-primary);
            background-color: var(--color-secondary-light);
            font-size: 1em;
            font-family: var(--font-regular);
            border-radius: 1000px;
            margin-top: 1em;
        }

            .questions-section .col .box .btn:hover {
                background-color: var(--color-secondary);
            }

        .questions-section .col .box span {
            position: absolute;
            top: 5px;
            left: 5px;
            background-color: var(--color-secondary-light);
            color: var(--color-primary);
            padding: 2px 5px;
            font-size: 0.85em;
            border-radius: 1000px;
        }

.how-section {
    margin-bottom: 4em;
}

    .how-section h2 {
        margin-bottom: 1.5em;
        font-family: var(--font-bold);
    }

    .how-section .col .box i {
        transform: scale(-1);
        font-size: 3em;
        color: var(--color-secondary);
        margin-bottom: 0.5em;
    }

    .how-section .col .box h3 {
        color: var(--color-primary);
        font-size: 1.2em;
    }

    .how-section .col .box p {
        font-size: 0.85em;
        font-weight: var(--font-light);
    }

.teacher-section {
    margin-bottom: 4em;
}

    .teacher-section h2 {
        margin-bottom: 0.8em;
        display: inline-block;
        font-family: var(--font-bold);
    }

    .teacher-section h3 {
        color: var(--color-primary);
        font-size: 1.5em;
    }

    .teacher-section .btn {
        display: inline-block;
        color: var(--color-primary);
        background-color: var(--color-secondary-light);
        font-size: 1em;
        font-family: var(--font-regular);
        border-radius: 1000px;
        margin-top: 1em;
    }

        .teacher-section .btn:hover {
            background-color: var(--color-secondary);
        }

footer {
    background-color: var(--color-secondary-light);
    padding-top: 1.5em;
}

    footer .copyright {
        background-color: var(--color-secondary);
        padding: 10px 0;
        font-family: var(--font-bold);
        font-size: 0.9em;
        color: var(--color-primary);
        margin-top: 1em;
    }

    footer h2,
    footer h3 {
        color: var(--color-primary);
        font-family: var(--font-bold);
        font-size: 1.3em;
    }

    footer h2 {
        font-size: 1.5em;
    }

    footer .nav {
        margin-top: 0.9em;
    }

        footer p,
        footer .nav li a {
            font-size: 0.95em;
        }

        footer .nav li a {
            padding: 0;
            padding-bottom: 0.75em;
            color: var(--color-primary);
        }

@media (max-width: 992px) {
    body {
        padding-top: calc(var(--desktop-navbar-height) + 2em);
    }

    .hero-img {
        margin-top: 2em;
        align-content: center;
    }

    .services-section .col .box,
    .questions-section .col .box {
        height: 100%;
    }

        .services-section .col .box h3,
        .questions-section .col .box h3 {
            font-size: 1.2em;
        }

        .services-section .col .box p,
        .questions-section .col .box p {
            font-size: 0.95em;
            margin-top: 1em;
        }

        .services-section .col .box .btn,
        .questions-section .col .box .btn {
            font-size: 0.95em;
            margin-top: 1em;
        }

    .how-section .col {
        margin-bottom: 2em;
    }
}

@media (max-width: 768px) {

    p,
    .services-section .col .box p,
    .questions-section .col .box p,
    .how-section .col .box p,
    footer p, footer .nav li a {
        font-size: 1.2em;
        line-height: 2em;
    }

    .hero-section p {
        margin-bottom: 1em;
    }

    .hero-section .btn,
    .services-section .col .box .btn,
    .questions-section .col .box .btn,
    .teacher-section .btn {
        font-size: 1.2em;
    }

    .hero-section .hero-img {
        height: auto;
        object-fit: contain;
        margin-top: 3em;
    }

    .hero-section form select {
        margin-bottom: 1.5em;
    }

    .hero-section form label {
        margin-right: 0em;
        text-align: center;
        display: block;
    }

    .hero-section form .btn {
        margin-top: 0em;
    }

    .services-section .col,
    .questions-section .col {
        padding-right: 2em;
        padding-left: 2em;
        padding-bottom: 2em;
    }

        .services-section .col:last-child,
        .questions-section .col:last-child {
            padding-bottom: 0em;
        }

        .services-section .col .box h3,
        .questions-section .col .box h3,
        .how-section .col .box h3 {
            font-size: 1.3em;
        }

        .questions-section .col .box span {
            font-size: 1.3em;
            top: 15px;
            left: 15px;
        }

    .teacher-section h3 {
        line-height: 2em;
    }

    footer .col {
        text-align: center;
    }

        footer .col:first-child {
            margin-bottom: 1.5em;
        }

    footer h2, footer h3 {
        font-size: 1.5em;
    }

    footer .nav li a {
        padding: 0;
        padding-bottom: 0.5em;
    }
}
