
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #246b55;
    --primary-dark: #194e40;
    --gold: #c49a52;
    --background: #f8f8f4;
    --text: #24332d;
    --muted: #78837d;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--background);
    color: var(--text);
    direction: rtl;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

/* Header */

.header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #eeeeea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 800;
    color: var(--primary-dark);
}

.brand-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary);
    color: white;
    font-size: 24px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
    color: #56645d;
    font-size: 14px;
}

.menu a:hover {
    color: var(--primary);
}

.login-button {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.login-button:hover {
    background: var(--primary);
    color: white;
}

/* Hero */

.hero {
    min-height: 440px;
    background: linear-gradient(115deg, #e8efe8, #f6f1e6);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-top: 75px;
    padding-bottom: 75px;
    position: relative;
    z-index: 2;
}

.hero-label,
.section-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.55;
    margin: 14px 0;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: var(--muted);
    max-width: 520px;
    font-size: 16px;
    margin-bottom: 28px;
}

.primary-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 27px;
    border-radius: 11px;
    font-weight: 600;
    transition: .2s;
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-decoration {
    position: absolute;
    left: 12%;
    top: 20px;
    font-size: 280px;
    color: rgba(196,154,82,.12);
}

/* Academies */

.academies-section {
    padding: 85px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading h2,
.about-content h2 {
    font-size: 29px;
    margin: 8px 0;
    font-weight: 800;
}

.section-heading p,
.about-content p {
    color: var(--muted);
    font-size: 14px;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.academy-card {
    min-height: 285px;
    padding: 25px 22px;
    border-radius: 19px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,.04);
    transition: .25s;
    overflow: hidden;
    position: relative;
}

.academy-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 35px rgba(35,65,50,.10);
}

.fashion {
    background: #f0e9df;
}

.pastry {
    background: #f5e9e2;
}

.computer {
    background: #e5edf0;
}

.art {
    background: #eeebf5;
}

.academy-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.7);
    border-radius: 18px;
    font-size: 32px;
}

.academy-caption {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
}

.academy-info h3 {
    font-size: 19px;
    margin: 5px 0;
    font-weight: 800;
}

.academy-info p {
    color: #6f7973;
    font-size: 12px;
}

.academy-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

/* About */

.about-section {
    background: #edf1eb;
    padding: 65px 0;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.about-content p {
    max-width: 600px;
}

.about-symbol {
    color: var(--gold);
    font-size: 110px;
}

/* Footer */

.footer {
    background: #193e34;
    color: white;
    padding: 38px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer .brand {
    color: white;
}

.footer .brand-icon {
    background: rgba(255,255,255,.15);
}

.footer p,
.footer-content > span {
    color: #c6d4cd;
    font-size: 12px;
}

/* Responsive */

@media (max-width: 850px) {
    .academy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .nav {
        min-height: 70px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .brand {
        font-size: 19px;
    }

    .menu {
        order: 3;
        width: 100%;
        justify-content: center;
        font-size: 12px;
        gap: 22px;
    }

    .login-button {
        padding: 7px 12px;
        font-size: 12px;
    }

    .hero {
        min-height: 390px;
    }

    .hero-content {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero p {
        font-size: 14px;
    }

    .academies-section {
        padding: 55px 0;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 23px;
    }

    .academy-grid {
        gap: 12px;
    }

    .academy-card {
        min-height: 245px;
        padding: 17px 13px;
    }

    .academy-info h3 {
        font-size: 15px;
    }

    .about-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-symbol {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
