/*
Theme Name: Company
Theme URI: #
Author: maleki
Author URI: http://raysaweb.ir/
Description: Company Theme v1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: elc
Text Domain: Company
*/
:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --text-color: #333333;
    --border-color: #e5e5e5;
    --hover-color: #faa838;
}
@font-face {
 font-family: iransans;
 src: url('assets/fonts/IRANSansWeb_FaNum.eot');
 src: url('assets/fonts/IRANSansWeb_FaNum.eot?#iefix') format("eot"),
 url('assets/fonts/IRANSansWeb_FaNum.woff2') format("woff2"),
 url('assets/fonts/IRANSansWeb_FaNum.woff') format("woff"),
 url('assets/fonts/IRANSansWeb_FaNum.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body
{
    	font-family: iransans !important;
    	margin:0;
    	padding:0;
    	overflow-x: hidden;
		background-color: #f5f5f5;
}
.h1, h1 {
    font-size: 21px;
    font-weight: bold;    color: #ff4016;
}
.h2, h2 {
    font-size: 18px;
    font-weight: bold;
}
.h3, h3 {
    font-size: 17px;
    font-weight: bold;    color: #375837;
}
.h4, h4 {
    font-size: 16px;
    font-weight: bold;
}
.h5, h5 {
    font-size: 15px;
    font-weight: bold;
}
.h6, h6 {
    font-size: 14px;
    font-weight: bold;
}
body a {
    color: #faa838;
    text-decoration:none;
}
a:hover {
    color: #faa838;
}
header{
    background-attachment: fixed;
    background-color: #f7f7f7;
    z-index: 1000;
    width: 100%;
}
main{
    min-height: 300px;
}
main.main_box.home_page
 {
    padding: 0;
}
.navbar {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    order: 1;
    margin-left: auto;
}
.navbar-collapse {
    order: 3;
    flex-grow: 1;
}
.navbar-toggler {
    order: 2;
}
/* استایل منوی اصلی */
.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}
.navbar-collapse {
    justify-content: flex-end
}
.main-menu li {
    position: relative;
    display: inline-block;
}
.main-menu li a {
    display: block;
    padding: 5px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.main-menu li a:hover {
    color: var(--hover-color);
}
/* استایل منوی آبشاری (زیرمنو) */
.main-menu li ul {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.main-menu li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-menu li ul li {
    display: block;
    width: 100%;
}
.main-menu li ul li a {
    padding: 10px 20px;
    color: var(--text-color);
    border-radius: 0;
    font-weight: 400;
    font-size: 13px;
}
.main-menu li ul li a:hover {
    color: var(--hover-color);
}
/* نشانگر فلش برای آیتم‌های دارای زیرمنو */
.main-menu li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}
.main-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}
.dropdown-header {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}
.language-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
span.flag img {
    border: 1px solid #888888;
    border-radius:15%;
}
.language-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--hover-color);
}
.navbar-toggler {
    border: 1px solid var(--border-color);
    background-color: transparent;
    padding: 8px 12px;
}
.navbar-toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 1px;
    position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 1px;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before {
    top: -6px;
}
.navbar-toggler-icon::after {
    bottom: -6px;
}
/* انتخابگر زبان فیکس */
.fixed-language-switcher {
    position: fixed;
    bottom:0;
    left: 20px;
    transform: translateY(-50%);
    z-index: 9999;
}
.language-toggle {
background: linear-gradient(135deg,#efbc75, #ff9300);
    color: #000;
    padding: 12px 15px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    min-width: 80px;
    justify-content: center;
}
.language-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}
.language-toggle i {
    font-size: 16px;
}
.language-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 150px;
    border: 1px solid #e0e0e0;
}
.fixed-language-switcher:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}
.language-option:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(3px);
}
.language-option.active {
       background-color: #efbc75;
    color: #000;
    font-weight: 600;
}
.language-option .flag {
    font-size: 16px;
}
/********demo5********/
.serbg {
    height:500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 50%;
    padding: 0;
    position: relative;
}
.serbg1-d5 {
    background-image: url('assets/img/bg1.jpg');
}
.serbg2-d5 {
    background-image: url('assets/img/bg2.webp');
}
.serbg3-d5 {
    background-image: url('assets/img/bg3.jpg');
}
.kaj {
    width: 100%;
    height: 200px;
    background-color: #fff;
    position: absolute;
    top: -100px;
    z-index: 1;
}
.kaj1,.kaj3{
    transform: skewY(5deg);
}
.kaj2 {
    transform: skewY(-5deg);
}
/********customers********/
.section-base {
    padding: 30px 0;
}
.section-brands {
    overflow: hidden;
    margin: 30px 0;
}
.swiper-brand-wrap, .wrap-title-brand {
    position: relative;
}
.title-brand-holder {
    display: flex
;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    position: relative;
    z-index: 1;
}
.title-brand h2 {
    font-size: 28px;
}
.title-brand p
 {
    font-size: 16px;
}
.wrap-title-brand:after {
    content: "";
    background: linear-gradient(267.34deg, #FCB620 .95%, #D4B36D 97.8%);
    height: 100%;
    width: 500%;
    position: absolute;
    top: 0;
    z-index: -1;
    border-radius: 32px 0 0 0;
    left: -150px;
}
.swiper-brand-wrap:after {
    content: "";
    height: 100%;
    width: 500%;
    position: absolute;
    top: 0;
    z-index: -1;
    border-radius: 0 0 32px 0;
    right: 0;
}
.section-brands .swiper-brand-wrap:after
 {
    background:#eee;
}
.swiper-brand-wrap {
    overflow: hidden;
    margin-top: 45px;
}
/************single**************/
.wp-comment h3 {
    font-size: 19px;
}
section#single_view,section#page_view {
    padding: 50px 0;
}
section#single_view article,section#page_view article {
min-height: 300px;;
}
.comments_box {
    width: 70%;
    margin: auto;
}
input#author {
    margin-bottom: 15px;
}
/****************footer****************/
footer {
    background-color: #000;    border-top: 5px solid #faa838;
    font-size:14px;
}
footer .round{
   background-color: #76767663;
    color: #fff;
    line-height: 25px;    border-radius: 20px 20px 0 0;
    margin-top:40px;
}
.footer-text
{
    padding-top:70px;
     color: #eee;
     line-height:28px;
}
.footer-text i {
    color: #fff;
    margin-left: 7px;
}
footer .container{
        position: relative;
}
a.footer-logo img {
    width: 100%;
    height: 100%;
    line-height: 100%;transform: rotateZ(-45deg);
}
a.footer-logo {
    display: block;
    width: 87px;
    height: 87px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    text-align: center;
    position: absolute;
    z-index: 999;
    top: -113px;
    right: 15px;
    border-top: 5px solid #faa838;
    border-left: 5px solid #faa838;
    border-bottom: 5px solid #000;
    border-right: 5px solid #000;
    transform: rotateZ(45deg);
}
footer p.copyright {
    margin: 0;     color: #eee;
font-size: 13px;
}
.call-button-fixed {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #28a745;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}
.call-button-fixed:hover {
    background-color: #1e7e34;
}
.call-button-fixed .call-icon i {
    font-size: 22px;
    line-height: 60px;    color: white;
}
.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(40, 167, 69, 0.4);
    border-radius: 50%;
    animation: pulse-animation 1.8s infinite;
    z-index: -1;
}
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
.round i {
    color: #fff;
    margin-right: 10px;
    font-size: 26px;
}
.round a {
    font-size: 17px;
    font-weight: 700;
}
.call-btn {
    text-align: left;
}
.about-footer {
    text-align: justify;
}
figure {
margin: 0 !important;
}
sr7-txt {
    text-align: justify !important;
}
.titr
{
        font-size: 30px;
    font-weight: 700;
    color: rgb(0, 0, 0);
}
/* ریسپانسیو */
@media (max-width: 991px) {
    .navbar .container {
        flex-direction: row;
    }
    
    .logo {
        order: 1;
    }
    
    .navbar-toggler {
        order: 2;
        margin-left: auto;
    }
    
    .navbar-collapse {
        order: 3;
        width: 100%;
    }
    
    .main-menu {
        flex-direction: column;
        background-color: var(--primary-color);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        gap: 0;
    }
    
    .main-menu li {
        width: 100%;
        display: block;
    }
    
    .main-menu li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--secondary-color);
        margin-right: 20px;
        margin-top: 5px;
    }
    
    .main-menu li.menu-item-has-children > a::after {
        float: left;
    }
    
    .language-switcher {
        margin-right: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .fixed-language-switcher {
        left: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
    
    .language-toggle {
        padding: 10px 12px;
        min-width: 70px;
        font-size: 13px;
    }
    
    .language-options {
        bottom: 100%;
        margin-bottom: 8px;
        min-width: 130px;
    }
    
    .language-option {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fixed-language-switcher {
        left: 10px;
        bottom: 15px;
    }
    
    .language-toggle {
        padding: 8px 10px;
        min-width: 60px;
        font-size: 12px;
    }
    
    .language-toggle span {
        display: none;
    }
}