html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "IranSans";
    src: url("/assets/fonts/IRANSansX-ExtraBlack.ttf") format("truetype");
}

body {
    font-family: "IranSans", sans-serif !important;
}

.header-search-wrapper {
    padding: 0 15px;
}

.preloader-circle {
    border-top-color: #d63b03 !important;
}

.header-search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-input-group:focus-within {
    background: white;
    border-color: #d63b03;
    box-shadow: 0 4px 12px rgba(214, 59, 3, 0.15);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    padding-left: 50px;
    font-size: 14px;
    color: #333;
    outline: none;
    font-family: inherit;
    direction: rtl;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    position: absolute;
    left: 5px;
    background: linear-gradient(135deg, #d63b03 0%, #ff6b35 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(214, 59, 3, 0.3);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.mobile-search-wrapper {
    padding: 15px;
    background: transparent;
    border-bottom: 1px solid #e9ecef;
    display: block;
}

.mobile-search-form .search-input-group {
    background: black;
    border-radius: 20px;
}

.mobile-search-form .search-input {
    padding: 10px 18px;
    padding-left: 45px;
    font-size: 14px;
}

.mobile-search-form .search-btn {
    width: 35px;
    height: 35px;
    left: 5px;
}

.mobile-search-form .search-btn svg {
    width: 16px;
    height: 16px;
}


@media (max-width: 1199px) {
    .header-search-wrapper {
        padding: 0 10px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 10px 18px;
        padding-left: 45px;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 991px) {
    .mobile-search-wrapper {
        animation: slideDown 0.3s ease;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.search-input-group:focus-within .search-btn {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(214, 59, 3, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(214, 59, 3, 0);
    }
}

.theme-colors, .header-sticky.sticky-bar {
    background: white !important;
}

.hero__caption, .features-caption, .section-tittle, .footer-tittle, #navigation {
    text-align: right;
}

.btn {
    background: #e26039;
}

.btn::before {
    background: #d63b03;
}

.highlight-category {
    background-color: rgba(128, 128, 128, 0.6);
    border-radius: 4px;
    padding: 4px 12px;
    display: inline-block;
}

.section-tittle.section-tittle2.mb-55 {
    width: max-content;
}

.mobile_menu .slicknav_menu .slicknav_nav {
    background: #fad561 !important;
}

.mobile_menu .slicknav_menu .slicknav_nav a {
    text-align: right;
}

.mobile_menu {
    display: none !important;
}

.custom_mobile_menu {
    position: relative;
}

.mobile-toggle-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.custom_menu_btn_simple {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.custom_menu_btn_simple .bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.custom_menu_btn_simple.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.custom_menu_btn_simple.active .bar:nth-child(2) {
    opacity: 0;
}

.custom_menu_btn_simple.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.custom_menu_btn {
    display: none;
}

.custom_mobile_nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    z-index: 10000;
    animation: slideInLeft 0.3s ease;
}

.custom_mobile_nav.active {
    display: block !important;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom_mobile_nav ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.custom_mobile_nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom_mobile_nav > ul > li:last-child {
    border-bottom: none;
}

.custom_mobile_nav > ul > li > a {
    display: block;
    padding: 15px 25px;
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.custom_mobile_nav > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.custom_mobile_nav > ul > li.active > a {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.custom_mobile_nav > ul > li.active > a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #fff;
}

.custom_mobile_nav .has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom_mobile_nav .has-submenu .arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
    margin-left: 10px;
}

.custom_mobile_nav .has-submenu.open .arrow {
    transform: rotate(45deg);
}

.custom_mobile_nav .submenu {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
    list-style: none;
}

.custom_mobile_nav .submenu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.custom_mobile_nav .submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom_mobile_nav .submenu li:last-child {
    border-bottom: none;
}

.custom_mobile_nav .submenu li a {
    padding: 12px 25px 12px 45px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom_mobile_nav .submenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 50px;
}

.button-container-mobile {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    border-bottom: none !important;
}

.btn-mobile {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
}

.btn-signup {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

.custom_mobile_nav {
    text-align: right !important;
}

@media (max-width: 360px) {
    .btn-mobile {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .custom_mobile_menu {
        display: none !important;
    }
}

.footer-bg {
    background: #e26039 !important;
}

.footer-logo {
    float: right !important;
    margin-right: 10px;
    margin-left: 10px;
}

.aparat-icon img {
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.aparat-icon:hover img {
    filter: none;
}

.slider-area.slider-area2, .slider-area2.slider-area2 {
    background-image: url(../img/hero/h1_hero.png);
}


.topic-img img {
    max-height: 360px;
}

.properties__caption {
    text-align: right;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.hero__buttons .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    text-align: center;
}

.hero__buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero__buttons .hero-btn {
    background: linear-gradient(135deg, #d63b03 0%, #d63b03 100%);
    color: white;
    border: none;
}

.hero__buttons .btn-warning {
    background: linear-gradient(135deg, #ff7950 0%, #ff3b00 100%);
    color: white;
    border: none;
}


@media (max-width: 768px) {
    .hero__buttons {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .hero__buttons .btn {
        min-width: auto;
        flex: 0 1 auto;
        padding: 12px 20px;
        font-size: 14px;
    }
}


@media (max-width: 480px) {
    .hero__buttons .btn {
        padding: 10px 16px;
        font-size: 17px;
        width: 100%;
    }
}


@media only screen and (min-width: 1200px) and (max-width: 1440px) {
    .about-area1 .support-wrapper .left-content1 {
        width: 52% !important;
    }

    .about-area1 .support-wrapper .right-content1 {
        width: 42% !important;
    }
}

@media (max-width: 575px) {
    .section-tittle.section-tittle2.mb-55 {
        width: 350px !important;
    }
}

@media (min-width: 990px) {
    .about-area3, .about-area2 {
        margin-right: 250px !important;
    }
}


