﻿:root {
    --primary: #2a3582;
    --secondary: #293582;
    --white: #ffffff;
    --gray: #dddddd;
    --black: #292929;
    --background: #f5f7ff;
    --transition: all 0.3s ease;
    --transition-card: border-width 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

body, html {
    height: 100%;
    scroll-behavior: smooth;
    overflow: auto;
}

body {
    background-color: var(--background);
    height: 100vh;
    margin: 0;
    overflow: hidden;
    line-height: 1.4;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

* {
    font-family: 'iransans';
    margin: 0;
    padding: 0;
}
/*'''''''''''''''''''''''''Header'''''''''''''''''''''''''*/

header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    height: 83px;
    top: 0;
    z-index: 999;
}

.header-container {
    width: calc(100% - 80px);
    height: 82px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    box-sizing: content-box !important;
}

    .header-container * {
        box-sizing: content-box !important;
    }

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

    nav a, .mobile-nav a {
        margin: 0 1rem;
        text-decoration: none;
        color: #333;
        font-size: 16px;
    }

#lanswitch, #mobileLangswitch {
    width:70px;
    margin: 0 1rem;
    text-decoration: none;
    color: var(--black);
    border-radius: 8px;
    border: none;
    background: var(--gray);
    font-family: 'iransans';
    font-size: 16px;
    padding: 8px 12px;
}

.logoo {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 4px solid white;
    margin-left: 24px;
    margin-top: 64px;
    object-fit: cover;
}

/*''''''''''''''''''''''''''Index''''''''''''''''''''''''''*/

section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 180px;
    padding: 0 110px;
    margin-top: 0;
    padding-top: 42px;
    height: 100vh;
}

    section h2, section p {
        color: var(--secondary);
    }
    section h2 {
        font-size: 40px;
    }
    section p {
        font-size: 24px;
    }

.hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: 0;
}

.hero-container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: calc(100vh - 36px);
    padding-bottom: 36px;
    color: white;
    text-align: center;
    z-index: 0;
}
    .hero-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('../config/Images/indexbackimg.png');
        background-size: cover;
        background-position: center;
        filter: blur(6px);
        z-index: -1;
    }

.acadamies {
    display: flex;
    justify-content: space-around;
}

.acadamies img{
    width:300px;
}

.btn {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    border-radius: 8px;
    font-size: 16px;
    width: 124px;
    height: 46px;
    font-family: "iransans";
    border: none;
    text-align: center;
    backface-visibility: hidden;
    background: var(--primary);
}

.rotated-arrow {
    rotate: 180deg;
}
/*''''''''''''''''''''''''''footer''''''''''''''''''''''''''*/

footer.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 54px 100px;
    background-color: var(--background);
    border-top: solid 1px var(--primary);
    margin-top: 23vh;
}

.footer-aboutus {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.aboutus-des {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .aboutus-des h2 {
        color: var(--primary);
        margin: 0;
    }

    .aboutus-des h4 {
        color: var(--primary);
        margin: 0;
    }

    .aboutus-des p {
        color: var(--primary);
        margin: 0;
    }

.footer-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
}

    .footer-pages a {
        color: var(--primary);
        text-decoration: none;
    }

.footer-contactus {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    color: var(--primary);
}

.footer-contactus p{
    margin:0;
}

.contacts-label {
    display: flex;
    gap: 10px;
}

.contacts-icons {
    display: flex;
    gap: 24px;
}

    .contacts-icons img {
        width: 125px;
    }

/***********hcode*************/
.profilesec {
    padding: 0;
    margin-top: 0;
}

.profile-container {
    width: 1170px;
    margin-top: 112px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.profileimg {
    max-width: 200px;
    width: 100%;
    display: block;
    margin-bottom: 64px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
}

.belts {
    display: flex;
    align-items: center;
    gap:32px;
    height: 100px;
    width: 100%;
    padding: 25px;
    border-radius: 7px;
    background: #c4c5cc;
}

.belt-container {
    width: 17px;
    height: calc(100% + 50px);
}

.belt {
    position: relative;
    top: 0;
    bottom: 0;
    width: 17px;
    height:100%;
}

.belt:after {
    content: "";
    position: absolute;
    background: black;
    top: 17px;
    height: 38px;
    width: 100%;
}

.info-container {

}
    .info-container p {
        color: black;
        font-size: 16px;
    }

.belt-White {
    background: #fff;
}
.belt-Gray {
    background: #979998;
}
.belt-Yellow {
    background: #ffff32;
}
.belt-Orange {
    background: #ff6500;
}
.belt-Green {
    background: #2f9b00;
}
.belt-Blue {
    background: #0067ff;
}
.belt-Purple {
    background: #9933ce;
}
.belt-Brown {
    background: #904501;
}
.belt-Black {
    background: #000;
}
.belt-Red {
    background: #cc0000;
}
/************************/
.hamburger {
    display: none;
}

.mobile-nav {
    display: none;
}

    .mobile-nav.active {
        display: flex;
    }

@media (max-width: 1024px) {
    section {
        gap: 80px;
        padding: 0 50px;
    }

        section img {
            width: 400px !important;
        }

    .hero-container h1 {
        font-size: 40px !important;
    }

    .hero-container h3 {
        font-size: 24px !important;
    }

    .acadamies img {
        width: 200px !important;
    }
}

@media (max-width: 767px) {
    .header-container {
        padding: 0 20px;
        width: calc(100% - 40px);
    }

    nav {
        display: none;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary);
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100% - 40px);
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    #mobileLangswitch {
        margin: 0;
    }

    .mobile-nav a {
        margin: 0;
        width: 70px;
    }

    section {
        flex-direction: column !important;
        gap: 40px;
        padding: 0 20px;
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

        section img {
            width: 100% !important;
            /*max-width: 400px;*/
        }

    .hero-container {
        height: auto;
        padding: 100px 20px 50px;
    }

        .hero-container h1 {
            margin-top: 50px !important;
            font-size: 32px !important;
        }

        .hero-container h3 {
            font-size: 20px !important;
        }

    footer.footer {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .footer-aboutus,
    .footer-contactus {
        align-items: center;
        text-align: center;
    }

    .contacts-icons {
        justify-content: center;
    }

    body {
        overflow: auto !important;
        height: auto !important;
    }

    .acadamies {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

@font-face {
    font-family: 'iransans';
    src: url('fonts/iransans.ttf') format('truetype');
}

@font-face {
    font-family: 'iransans_bold';
    src: url('fonts/iransans_bold.ttf') format('truetype');
}
 