@font-face {
    font-family: "VAZIR";
    src: url("../fonts/Vazir-Medium.eot");
    src: url("../fonts/Vazir-Medium.eot") format("embedded-opentype"),
        url("../fonts/Vazir-Medium.woff2") format("woff2"),
        url("../fonts/Vazir-Medium.woff") format("woff"),
        url("../fonts/Vazir-Medium.ttf") format("truetype");
    font-weight: normal;
    font-display: swap;
}

:root {
    --orange: #28b6e9;
    --orange-dark: #1a9fd1;
}

*:not(i) {
    font-family: "VAZIR" !important;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

*::selection {
    background: var(--orange);
    color: #fff;
}

html {
    font-size: 80%;
    overflow-x: hidden;
    scroll-padding-top: 6rem;
    scroll-behavior: smooth;
    text-align: right;
    direction: rtl;
}

body {
    overflow: hidden;
}

section {
    padding: 2rem;
}

.heading {
    text-align: center;
    padding: 1rem 0
}

.heading span {
    font-size: 3.5rem !important;
    background: rgba(40, 182, 233, .15);
    color: var(--orange);
    border-radius: .5rem;
    padding: .2rem 1rem;
}

.heading span.space {
    background: none;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    padding: .8rem 3rem;
    border: .2rem solid var(--orange);
    cursor: pointer;
    font-size: 1.7rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(40, 182, 233, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 182, 233, 0.4);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

header a {
    text-decoration: none;
    text-align: center;
}

header .logo {
    margin-right: 5px;
    font-size: 2.5rem;
    width: 160px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header .navbar a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    margin: 0 .8rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

header .navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.3s ease;
    border-radius: 10px;
    z-index: -1;
}

header .navbar a:hover::before {
    width: 100%;
}

header .navbar a:hover {
    color: #fff;
    transform: translateY(-2px);
}

header .icons i {
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    margin-right: 2rem;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

header .icons i:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header .search-bar-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--orange-dark) 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

header .search-bar-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

header .search-bar-container #search-bar {
    width: 100%;
    padding: 1rem 1.5rem;
    text-transform: none;
    color: #333;
    font-size: 1.7rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

header .search-bar-container #search-bar:focus {
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    background: #fff;
}

header .search-bar-container button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

header .search-bar-container button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.login-form-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    min-height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.login-form-container.active {
    opacity: 1;
}

.login-form-container form {
    margin: 2rem;
    padding: 2.5rem;
    border-radius: 24px;
    background: #fff;
    width: 50rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-form-container.active form {
    transform: scale(1);
}

.login-form-container form h3 {
    font-size: 3rem;
    color: #1a1a2e;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
    font-weight: 700;
}

.login-form-container form .box {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.7rem;
    color: #333;
    margin: 1rem 0;
    border: 2px solid #e0e0e0;
    text-transform: none;
    border-radius: 12px;
}

.login-form-container form .box:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(40, 182, 233, 0.1);
}

.login-form-container form #remember {
    margin: 2rem 0;
}

.login-form-container form label {
    font-size: 1.5rem;
}

.login-form-container form .btn {
    display: block;
    width: 100%;
}

.login-form-container form p {
    padding: .5rem 0;
    font-size: 1.5rem;
    color: #666;
    text-align: center;
}

.login-form-container form p a {
    color: var(--orange);
    font-weight: 600;
}

.login-form-container form p a:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

.login-form-container #form-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 5rem;
    color: #fff;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container #form-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#menu-bar {
    color: #fff;
    border: .1rem solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 3rem;
    padding: .5rem 1.2rem;
    cursor: pointer;
    display: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

#menu-bar:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width:1200px) {
    html {
        font-size: 62.5%;
    }
}

@media (max-width:991px) {
    html {
        font-size: 62.5%;
    }

    section {
        padding: 2rem;
    }
}

@media (max-width:768px) {
    #menu-bar {
        display: initial;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: linear-gradient(135deg, var(--orange-dark) 0%, #1a1a2e 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    header .navbar.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    header .navbar a {
        display: block;
        border-radius: 12px;
        padding: 1.5rem;
        margin: 0.5rem 0;
        background: rgba(255, 255, 255, 0.1);
        width: 100%;
    }
}

@media (max-width:450px) {
    html {
        font-size: 60%;
    }

    .heading span {
        font-size: 2.5rem;
    }

    .contact .row form .inputBox input {
        width: 100%;
    }

    header {
        display: flex;
        justify-content: space-between;
    }
}
