@font-face {
    font-family: iranyekanwebregularfanum;
    src: url('../font/iranyekanwebregularfanum.ttf');
}

@font-face {
    font-family: arabic;
    src: url('../font/arabic.otf');
}

@font-face {
    font-family: IRANYekanWebExtraBlack;
    src: url('../font/IRANYekanWebExtraBlack.ttf');
}

@font-face {
    font-family: IRANYekanWebExtraBold;
    src: url('../font/IRANYekanWebExtraBold.ttf');
}

@font-face {
    font-family: IRANYekanWebMedium;
    src: url('../font/IRANYekanWebMedium.ttf');
}

@font-face {
    font-family: IRANYekanWebBold;
    src: url('../font/Qs_Iranyekan\ bold.ttf');
}

@font-face {
    font-family: IRANYekanWebRegular;
    src: url('../font/IRANYekanWebRegular.ttf');
}

@font-face {
    font-family: IRANYekanWebLight;
    src: url('../font/IRANYekanWebLight.ttf');
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
    font-size: 13px;
    font-family: iranyekanwebregularfanum;

}

a {
    text-decoration: none !important;
    color: #333 !important;
}

p {
    margin-bottom: 0px !important;
}

:root {
    --primary-color: hsl(356deg 29.41% 80%);;
    --secondary-color: hsl(240deg 50% 9.41%)

}

.bg-orange {
    background-color: var(--orange);
}

.font-gray {
    color: hsl(0deg 0% 78.43%);
}

.container-fluid {

    /* margin: 0;  */
}

.container-fluid .row {
    max-width: 1676px;
    margin: 0 auto !important;
}

.header-container {
    background-color: #ffffffc9;
    color: #000;

    /* height: 127px; */
    display: flex;
    align-items: center;
}

.header-container.scrolled {
    background-color: hsl(356deg 29.41% 80%);
    box-shadow: 0px 2px 10px 2px #d1d0d0;
    margin-top: 0px !important;

}

.main-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 20000;
}

.logo {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo.scrolled .logo-img {
    padding-left: 80px;
    height: 50%;

}

.logo-img {
    padding-left: 130px;
}

.logo-img-fix {
    position: absolute;
    left: 0;
    top: -20px;
    /* background-color: #ffffffc9; */
    border-radius: 50%;
}

.logo-img-fix.scrolled {
    height: 100%;
    top: 0;

}

/* منو اصلی */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;

}

.menu > li {
    position: relative;
    flex: 0 0 auto;
}

.search {
    padding: 12px 24px;
    cursor: pointer;

}


.menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
    color: #000 !important;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.menu > li > a::before {
    /* content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px; */
}

.menu > li > a:hover::before {
    opacity: 1;
}

.menu > li > a:hover {
    /* background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

/* زیرمنو */
.submenu {
    list-style: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 180px;
    width: max-content;
    /*background: rgb(255, 255, 255);*/
    /*backdrop-filter: blur(20px);*/
    /*-webkit-backdrop-filter: blur(20px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    /* border-radius: 16px; */
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);*/
    /*padding: 8px;*/
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    padding: 12px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.submenu-flower {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
}

.submenu-flower-down {
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 50px;
    transform: rotate(180deg);
}

.submenu li {
    position: relative;
}

.submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    color: #2d3748;
    text-decoration: none;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
}

.submenu li a:hover {
    background: var(--secondary-color);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    color: #fff !important;
    transform: translateX(-4px);

}

.submenu li:last-child > a {
    margin-bottom: 0;
}


/* زیرمنو سطح‌های داخلی */
.submenu .submenu {
    top: -8px;
    right: calc(100% + 12px);
    transform: translateX(-12px) scale(0.95);
}

/* فعال‌سازی زیرمنو */
li.active > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.submenu li.active > .submenu {
    transform: translateX(0) scale(1);
}

/* فلش‌ها */
.arrow {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.arrow::before {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3.5px;
    display: inline-block;
}

/* فلش پایین (منوی سطح اول) */
.arrow.down::before {
    transform: rotate(45deg);
    margin-top: -2px;
}

/* فلش چپ (منوهای تو در تو) */
.arrow.left::before {
    transform: rotate(135deg);
}

/* انیمیشن برای فلش‌های باز شده */
li.active > a .arrow.down {
    transform: rotate(180deg);
}

/* Off Canvas Container */
.off-canvas {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 70%;
    max-width: 350px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 20001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.off-canvas.active {
    transform: translateX(0);
}

/* Header */
.off-canvas-header {
    padding: 20px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 18px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.close-btn {
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.close-btn i {
    font-size: 20px;
}

/* Navigation */
.off-canvas-nav {
    padding: 10px 0;
}

/* Menu Items */
.off-canvas-item {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.off-canvas-item:hover {
    background-color: rgba(33, 94, 157, 0.05);
}

.off-canvas-item > a,
.off-canvas-item > .menu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.off-canvas-item > a:hover,
.off-canvas-item > .menu-trigger:hover {
    color: var(--secondary-color);
    padding-right: 25px;
}

.off-canvas-item.has-submenu > .menu-trigger i {
    transition: transform 0.3s ease;
    color: var(--third-color);
    font-size: 14px;
}

.off-canvas-item.has-submenu > .menu-trigger:hover i {
    transform: translateX(-3px);
}

/* Submenu Container */
.off-canvas-submenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.off-canvas-submenu.active {
    transform: translateX(0);
}

/* Submenu Header - رنگ یکسان برای همه */
.submenu-header {
    padding: 20px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(3px);
}

.back-btn i {
    margin-left: 8px;
    font-size: 14px;
}

.submenu-title {
    font-weight: 600;
    font-size: 16px;
}

/* Submenu Items */
.submenu-items {
    padding: 10px 0;
}

.submenu-item {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.submenu-item:hover {
    background-color: rgba(64, 134, 198, 0.05);
}

.submenu-item > a,
.submenu-item > .menu-trigger {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submenu-item > a:hover,
.submenu-item > .menu-trigger:hover {
    color: var(--secondary-color);
    padding-right: 25px;
}

.submenu-item.has-submenu > .menu-trigger i {
    color: var(--third-color);
    transition: transform 0.3s ease;
    font-size: 13px;
}

.submenu-item.has-submenu > .menu-trigger:hover i {
    transform: translateX(-3px);
}

.submenu-item:not(.has-submenu) a i {
    display: none;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scrollbar */
.off-canvas::-webkit-scrollbar,
.submenu::-webkit-scrollbar {
    width: 6px;
}

.off-canvas::-webkit-scrollbar-track,
.off-canvas-submenu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.off-canvas::-webkit-scrollbar-thumb,
.off-canvas-submenu::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.off-canvas::-webkit-scrollbar-thumb:hover,
.off-canvas-submenu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 576px) {
    .off-canvas {
        width: 85%;
    }

    .off-canvas-header,
    .submenu-header {
        padding: 15px;
    }

    .submenu-title {
        font-size: 14px;
    }
}

.baner-txt {
    position: absolute;
    left: 10%;
    bottom: 30%;
    /* transform: translateY(-50%); */
}

.baner-txt p {
    color: #fff;
    font-size: 2em;
}

.baner-txt p:first-child {
    font-family: IRANYekanWebBold;
    font-size: 3.2em;

}

#banner-owl .owl-dots {
    position: absolute;
    bottom: 45px;
    left: 10%;
    /* transform: translateX(-50%); */
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 8px; */
    z-index: 100;
    margin: 0;
    padding: 0;
}


#banner-owl .owl-dots .owl-dot {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    outline: none;
}


#banner-owl .owl-dots .owl-dot span {
    display: block;
    width: 55px;
    height: 4px;
    background-color: hsl(311.25deg 10.96% 28.63%);
    border-radius: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}


#banner-owl .owl-dots .owl-dot.active span {
    background-color: hsl(242.61deg 46.94% 9.61%);
    /* width: 45px; */
    /* height: 3px; */
}

.baner-flesh {
    position: absolute;
    bottom: -1px;
    right: calc(50% - 80px);
    z-index: 1;
}

.baner-chev {
    position: absolute;
    bottom: -10px;
    right: calc(50% - 12px);
    z-index: 2;
}


#banner-owl .owl-dots .owl-dot:hover span {
    /*background-color: white;*/
    /*width: 45px;*/
}

.search-input-wrapper:focus-within {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(185, 28, 28, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 20px;
    font-size: 1em;
    font-family: iranyekanwebregularfanum;
    color: #333;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: #999;
    font-size: .9em;
}

.search-submit-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: #000;
    transform: scale(1.05);
}

.search-submit-btn i {
    font-size: 0.9em;
}

.service-item {
    /* width: 20%; */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.service-item:hover {
    /* transform: scale(1.05); */
    /* font-weight: bold; */
}

.service-item:hover .service-img {
    /* filter: contrast(200%); */
}


.service-item span {
    font-family: IRANYekanWebMedium;
    font-size: 1.1em;
}

.service-item img {
    min-height: 60px;
    max-height: 60px;
    width: auto !important;
}

.about-sec {
    padding: 50px 0px 100px 0px;
}

.about-sec img {
    position: absolute;
    top: 0;
    left: 0;
}

.about-sec span, .blog-sec .blog-title span {
    font-size: 1.5em;
}

.about-sec h6, .customer-sec h6, .blog-sec h6 {
    font-size: 3em;

}

.about-sec .about-top {
    left: 60px;
    top: 90px;
}

.about-sec p {
    font-size: 1.2em;
    line-height: 1.9em;
    text-align: justify;
}

.chemi-sec .title {
    margin-bottom: 100px;
}

.chemi-sec .title p {
    font-size: 2em;
    font-family: IRANYekanWebMedium;
    padding-bottom: 10px;


}

.chemi-sec .title span {
    font-size: 1.1em;
    font-family: IRANYekanWebMedium;
    padding-top: 20px;


}

.chemi-shapes {
    text-align: center;
    padding-bottom: 300px;
    position: relative;

}

.chemi-back {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    /* height: 100%; */
    z-index: 0;
}

.chemi-shape {
    position: relative;
    width: 300px;
    max-height: 400px;
}

.shap-txt h6 {
    font-family: IRANYekanWebMedium;
    font-size: 1.7em;
    font-weight: bold;

}

.shap-img {
    /* background-image: url("../images/chem-back.png") */
    border: 4px solid #333;
    border-radius: 50%;
    width: 220px;
    height: 220px;
}

.shap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shape-1 {
    position: absolute;
    left: -360px;
    top: -25%;
}

.shape-2 {
    position: absolute;
    right: -360px;
    top: 10%;
}

.shape-3 {
    position: absolute;
    left: -360px;
    top: 40%;
}

.shape-4 {
    position: absolute;
    right: -360px;
    top: 70%;
}

.blog-img {
    position: relative;
    overflow: hidden;

}

.blog-item .blog-main-img {

    transition: transform .3s;
}

.blog-item:hover .blog-main-img {
    transform: scale(1.1);
    transition: transform .3s;
}

.blog-text h1 {
    font-size: 1.2em;
    font-family: IRANYekanWebMedium;
    margin-top: 30px;
    position: relative;
    padding-right: 40px;

}

.blog-text h1:before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    /* transform: translateY(-50%); */
    height: 10px;
    width: 30px;
    background-color: hsl(356deg 29.41% 80%);
}

.blog-mask {
    position: absolute;
    bottom: -6px;
    right: 24%;
    width: auto !important;
}

.blog-date {
    position: absolute;
    top: -30px;
    right: 40%;
}

.see-all-blog {
    background-color: hsl(356deg 29.41% 80%);
    border-radius: 50px;
    padding: 12px 18px;
    font-family: IRANYekanWebMedium;
    font-size: 1.1em;


}

.blog-owl .owl-dots {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 8px; */
    z-index: 100;
    margin: 0;
    padding: 0;
}


.blog-owl .owl-dots .owl-dot {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    outline: none;
}


.blog-owl .owl-dots .owl-dot span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: hsl(356deg 29.41% 80%);
    border-radius: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}


.blog-owl .owl-dots .owl-dot.active span {
    background-color: hsl(242.61deg 46.94% 9.61%);
    /* width: 45px; */
    /* height: 3px; */
}

.applications {
    padding: 60px 0;
}

.app-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px;
}

.app-card {
    position: relative;
    overflow: hidden;
    /* border-radius:10px; */
    height: 260px;
}

.app-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, .15) 40%,
            rgba(0, 0, 0, .45) 75%,
            rgba(0, 0, 0, .7) 100%
    );
    z-index: 1;
}


.tag,
.content {
    position: absolute;
    z-index: 2;
}


.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.app-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent 60%);
}

.app-card:hover img {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #fff;
    padding: 4px 10px;
    font-size: 12px;
    z-index: 2;
}

.content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    color: #fff;
    z-index: 2;
}

.content h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.content p {
    font-size: 13px;
    opacity: .8;
}

/* Responsive */

@media (max-width: 991px) {
    .baner-owl {
        display: none !important;
    }

    .logo-img-fix {
        height: 100%;
        top: 0;

    }

    .logo-img {
        padding-left: 45px;
        height: 50%;
        display: none;

    }

    .app-grid {
        grid-template-columns:repeat(2, 1fr);
    }

    .customer-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .footer-contact,
    .footer-bottom .row {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .footer-credits {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .app-grid {
        grid-template-columns:1fr;
    }

    .customer-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .footer-contact,
    .footer-bottom .row {
        justify-content: center;
        text-align: center;
    }

    .footer-credits {
        text-align: center;
    }
}

.img-grid-sec {
    background-image: url('../images/grid-sec-back.png');

}

.img-grid-sec h6 {
    color: hsl(356deg 29.41% 80%);
    text-align: center;
    padding-top: 60px;
    font-size: 1.8em;
    font-family: IRANYekanWebMedium;


}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px auto;
    /* width: 90%; */
}

.timeline .item a {
    display: flex;
    justify-content: center;
}


.timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #aaa;
    z-index: 1;
}


.item {
    /* width: 180px; */
    flex: 1;
    height: 90px;
    border: 1px solid #aaa;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.item img {
    max-width: 80%;
    max-height: 80%;
}

.item.top {
    transform: translateY(-44px);
}

.item.bottom {
    transform: translateY(45px);
}

.item::after {
    /* content: ""; */
    position: absolute;
    width: 2px;
    height: 40px;
    background: #aaa;
    left: 50%;
    transform: translateX(-50%);
}

.item.top::after {
    bottom: -40px;
}

.item.bottom::after {
    top: -40px;
}

.site-footer {

    color: #2b1d1d;
    /* margin-top:40px; */
}

.f-top-sec {
    /* background-image: url('../images/footer-back2.png'); */
    background-color: hsl(356deg 29.41% 80%);
    position: relative;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-top: 80px;
}

.ft-flower {
    position: absolute;
    top: 0px;
}

.fl-left {
    left: 0px;
}

.fl-right {
    right: 0px;
}

.footer-logo {
    position: absolute;
    top: -20px;
    right: calc(50% - 62px);
    width: 115px;
    height: 115px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}


.footer-description {
    margin: 20px auto 0;
    max-width: 900px;
    font-size: 15px;
    line-height: 2;
    text-align: center;
}

.footer-contact {
    background: hsl(356.67deg 30% 88.24%);
    padding: 10px 35px;
    position: relative;
    /* overflow:hidden; */
    display: flex;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    font-size: .9em;
}

.footer-flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* width:80px; */
    height: auto;
    /* opacity:0.7; */
}

.footer-flower-right {
    right: -35px;
}

.footer-flower-left {
    left: -25px;
}

.footer-contact-item {
    flex: 1;
    display: flex;
    gap: 6px;
    align-items: center;
}

.footer-contact-item img {
    width: 20px !important;
    height: 18px;
}

.footer-contact-title {
    font-weight: 600;
}

.footer-contact-value {
    display: flex;
    flex-direction: column;
    /* align-items:center; */
    gap: 5px;
    /* font-size:14px; */
    margin-right: 10px;
}

.footer-contact-value i {
    font-size: 18px;
}

.footer-links {
    padding: 18px 0;
    /* background:#e2c7c6; */
}

.footer-links ul {
    display: flex;
    justify-content: space-between;
}

.footer-links .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-weight: 600;
}

.footer-links a {
    color: #2b1d1d !important;
}

.footer-bottom {
    background: hsl(240deg 50% 9.41%);
    color: #d7c7c7;
    padding: 20px 0;
}

.footer-bottom .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
}

.footer-social a {
    color: #d7c7c7 !important;
    position: relative;
    padding: 0px 15px;
}

.footer-social a::after {
    position: absolute;
    content: '';
    top: 5%;
    right: -7px;
    height: 95%;
    width: 1px;
    background-color: hsl(308deg 6.91% 42.55%);
}

.footer-credits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    text-align: left;
}

.footer-credits p {
    margin: 0;
}

.f-top-logo {
    position: absolute;
    top: -65px;
    left: calc(50% - 370px);
}

/* ==================== جعبه جستجو - طراحی جدید (از کنار) ==================== */

.search-box-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    height: 100vh;
    background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(245, 247, 250, 0.95) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 5px 0 40px rgba(185, 28, 28, 0.15),
    0 0 60px rgba(0, 0, 0, 0.1);
    z-index: 20002;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
}

.search-box-wrapper.active {
    transform: translateX(0);
}

/* خط تزئینی سمت راست */
.search-box-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg,
    var(--primary-color) 0%,
    hsl(356deg 35% 70%) 50%,
    var(--secondary-color) 100%);
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.5);
}

/* پترن تزئینی پس‌زمینه */
.search-box-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(185, 28, 28, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(15, 23, 42, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.search-box-container {
    padding: 40px 30px;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* هدر جستجو */
.search-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(185, 28, 28, 0.15);
    position: relative;
}

.search-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg,
    var(--primary-color) 0%,
    transparent 100%);
}

.search-title {
    font-size: 1.8em;
    font-family: IRANYekanWebBold;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-title i {
    font-size: 0.85em;
    color: var(--primary-color);
    animation: searchPulse 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

.search-subtitle {
    font-size: 0.95em;
    color: #64748b;
    font-family: IRANYekanWebRegular;
}

/* محتوای جستجو */
.search-box-content {
    position: relative;
    flex: 1;
}

/* دکمه بستن */
.search-close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%);
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35),
    0 3px 8px rgba(0, 0, 0, 0.15);
}

.search-close-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.search-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.45),
    0 5px 12px rgba(0, 0, 0, 0.2);
}

.search-close-btn:hover::before {
    opacity: 1;
}

.search-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.search-close-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.search-close-btn:hover i {
    transform: rotate(90deg);
}

/* فرم جستجو */
.search-form {
    margin-top: 20px;
}

.search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(185, 28, 28, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* افکت نوری پس‌زمینه */
.search-input-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
    rgba(185, 28, 28, 0.08) 0%,
    transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-input-wrapper:focus-within {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(185, 28, 28, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-3px);
}

.search-input-wrapper:focus-within::before {
    opacity: 1;
}

/* Label */
.search-label {
    font-size: 0.95em;
    color: var(--secondary-color);
    font-family: IRANYekanWebMedium;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.search-label i {
    color: var(--primary-color);
    font-size: 0.9em;
}

/* ورودی جستجو */
.search-input {
    width: 100%;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    padding: 16px 20px;
    font-size: 1.05em;
    font-family: iranyekanwebregularfanum;
    color: #1e293b;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.1),
    0 4px 12px rgba(185, 28, 28, 0.08);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #94a3b8;
    font-size: 0.95em;
}

/* دکمه جستجو */
.search-submit-btn {
    background: linear-gradient(135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 1.05em;
    font-family: IRANYekanWebBold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35),
    0 3px 8px rgba(0, 0, 0, 0.12);
}

.search-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.search-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(185, 28, 28, 0.45),
    0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.search-submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.search-submit-btn i {
    font-size: 1em;
    transition: transform 0.3s ease;
}

.search-submit-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* جستجوهای محبوب (اختیاری) */
.popular-searches {
    margin-top: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.popular-searches-title {
    font-size: 1.1em;
    font-family: IRANYekanWebBold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-searches-title i {
    color: var(--primary-color);
    font-size: 0.85em;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tag {
    padding: 10px 18px;
    background: #fff;
    border: 2px solid rgba(185, 28, 28, 0.15);
    border-radius: 25px;
    color: #475569;
    font-size: 0.9em;
    font-family: IRANYekanWebMedium;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-tag:hover {
    background: linear-gradient(135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(185, 28, 28, 0.3);
}

/* Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 20001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* اسکرول‌بار */
.search-box-wrapper::-webkit-scrollbar {
    width: 8px;
}

.search-box-wrapper::-webkit-scrollbar-track {
    background: rgba(185, 28, 28, 0.05);
}

.search-box-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%);
    border-radius: 10px;
}

.search-box-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%);
}

/* Responsive */
@media (max-width: 991px) {
    .search-box-wrapper {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .search-box-wrapper {
        width: 340px;
    }

    .search-box-container {
        padding: 30px 20px;
    }

    .search-title {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    .search-box-wrapper {
        width: 100%;
        max-width: 90%;
    }
}

/* ==================== About Section - Flower Animation ==================== */

@media (min-width: 991px) {
    .menu-container {
        border-left: 1px solid hsl(0deg 12.68% 86.08%);
    }

    .baner-mobile-owl {
        display: none !important;
    }

    .about-sec .about-down {
        opacity: 0;
        transform: scale(0.3) rotate(-45deg);
        transform-origin: center;
        transition: none;
    }

    /* افکت Draw برای حلقه گل */
    .about-sec .about-down {
        opacity: 0;
        /* position: relative; */
    }

    .about-sec .about-down::before {
        content: '';
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        border: 3px solid var(--primary-color);
        opacity: 0;
        transform: scale(0.8);
        transition: none;
    }

    .about-sec .about-down.bloomed::before {
        animation: drawCircle 2s ease-out forwards;
    }

    @keyframes drawCircle {
        0% {
            opacity: 0;
            transform: scale(0.5) rotate(0deg);
            clip-path: polygon(50% 50%, 50% 0%, 50% 0%, 50% 0%);
        }
        50% {
            opacity: 1;
            transform: scale(1) rotate(180deg);
            clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%);
        }
        100% {
            opacity: 0.7;
            transform: scale(1.1) rotate(360deg);
            clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
        }
    }
    /* انیمیشن شکفتن گل */
    @keyframes flowerBloom {
        0% {
            opacity: 0;
            transform: scale(0.9);
            filter: blur(8px);
        }

        100% {
            opacity: 1;
            transform: scale(1);
            filter: blur(0px);
        }
    }

    /* کلاس فعال‌سازی انیمیشن */
    .about-sec .about-down.bloomed {
        animation: flowerBloom 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    /* انیمیشن لرزش ملایم بعد از شکفتن */
    @keyframes gentleSway {
        0%, 100% {
            transform: scale(1) rotate(0deg);
        }
        25% {
            transform: scale(1.01) rotate(1deg);
        }
        75% {
            transform: scale(0.99) rotate(-1deg);
        }
    }

    .about-sec .about-down.bloomed {
        animation: flowerBloom 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        gentleSway 6s ease-in-out 2.5s infinite;
    }

    /* افکت درخشش (اختیاری) */
    @keyframes shimmer {
        0% {
            filter: brightness(1) saturate(1);
        }
        50% {
            filter: brightness(1.1) saturate(1.2);
        }
        100% {
            filter: brightness(1) saturate(1);
        }
    }

    .about-sec .about-down.bloomed {
        animation: flowerBloom 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        gentleSway 6s ease-in-out 2.5s infinite,
        shimmer 4s ease-in-out 2.5s infinite;
    }

    /* افکت سایه پویا */
    .about-sec .about-down.bloomed::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        box-shadow: 0 0 30px rgba(185, 28, 28, 0.2),
        0 0 60px rgba(185, 28, 28, 0.1);
        opacity: 0;
        animation: glowPulse 3s ease-in-out 2.5s infinite;
        pointer-events: none;
        z-index: -1;
    }

    @keyframes glowPulse {
        0%, 100% {
            opacity: 0.3;
            transform: scale(1);
        }
        50% {
            opacity: 0.6;
            transform: scale(1.05);
        }
    }
}

/* انیمیشن برای about-top هم (اختیاری) */
/* .about-sec .about-top {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: none;
}

.about-sec .about-top.visible {
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
} */

/* ==================== Chemi Shapes Animation ==================== */
.chemi-shape {
    position: relative;
    width: 300px;
    max-height: 400px;
}

@media (min-width: 991px) {
    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4 {
        opacity: 0;
        transition: none;
    }

    /* shape-1 و shape-3 از چپ */
    .shape-1,
    .shape-3 {
        transform: translateX(-80px) translateY(-15px) rotateY(-20deg);
    }

    /* shape-2 و shape-4 از راست */
    .shape-2,
    .shape-4 {
        transform: translateX(80px) translateY(-15px) rotateY(20deg);
    }

    /* انیمیشن از چپ */
    @keyframes slideInFromLeft {
        0% {
            opacity: 0;
            transform: translateX(-80px) translateY(-15px) rotateY(-20deg);
            filter: blur(4px);
        }
        50% {
            opacity: 0.7;
            transform: translateX(-15px) translateY(-5px) rotateY(-5deg);
            filter: blur(1px);
        }
        80% {
            transform: translateX(5px) translateY(0) rotateY(2deg);
        }
        100% {
            opacity: 1;
            transform: translateX(0) translateY(0) rotateY(0deg);
            filter: blur(0px);
        }
    }

    /* انیمیشن از راست */
    @keyframes slideInFromRight {
        0% {
            opacity: 0;
            transform: translateX(80px) translateY(-15px) rotateY(20deg);
            filter: blur(4px);
        }
        50% {
            opacity: 0.7;
            transform: translateX(15px) translateY(-5px) rotateY(5deg);
            filter: blur(1px);
        }
        80% {
            transform: translateX(-5px) translateY(0) rotateY(-2deg);
        }
        100% {
            opacity: 1;
            transform: translateX(0) translateY(0) rotateY(0deg);
            filter: blur(0px);
        }
    }

    /* فعال‌سازی انیمیشن‌ها */
    .shape-1.animate {
        animation: slideInFromLeft 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        animation-delay: 0.2s;
    }

    .shape-2.animate {
        animation: slideInFromRight 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        animation-delay: 0.6s;
    }

    .shape-3.animate {
        animation: slideInFromLeft 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        animation-delay: 1s;
    }

    .shape-4.animate {
        animation: slideInFromRight 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        animation-delay: 1.4s;
    }

    /* hover */
    .shape-1.animate:hover,
    .shape-2.animate:hover,
    .shape-3.animate:hover,
    .shape-4.animate:hover {
        transform: translateY(-6px) scale(1.03);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* تصویر */
    .shap-img {
        opacity: 0;
        transform: scale(0.7) rotate(-40deg);
        transition: none;
    }

    .shape-1.animate .shap-img {
        animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        animation-delay: 0.4s;
    }

    .shape-2.animate .shap-img {
        animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        animation-delay: 0.8s;
    }

    .shape-3.animate .shap-img {
        animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        animation-delay: 1.2s;
    }

    .shape-4.animate .shap-img {
        animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        animation-delay: 1.6s;
    }

    @keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.7) rotate(-40deg);
        }
        50% {
            transform: scale(1.05) rotate(5deg);
        }
        70% {
            transform: scale(0.97) rotate(-2deg);
        }
        85% {
            transform: scale(1.02) rotate(1deg);
        }
        100% {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }
    }

    /* متن */
    .shap-txt {
        opacity: 0;
        transform: translateY(20px);
        transition: none;
    }

    .shape-1.animate .shap-txt {
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 0.7s;
    }

    .shape-2.animate .shap-txt {
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 1.1s;
    }

    .shape-3.animate .shap-txt {
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 1.5s;
    }

    .shape-4.animate .shap-txt {
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 1.9s;
    }

    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* لینک */
    .shap-txt a {
        opacity: 0;
        transform: translateX(-20px);
        transition: none;
    }

    .shape-1.animate .shap-txt a {
        animation: slideInLink 0.6s ease-out forwards;
        animation-delay: 1s;
    }

    .shape-2.animate .shap-txt a {
        animation: slideInLink 0.6s ease-out forwards;
        animation-delay: 1.4s;
    }

    .shape-3.animate .shap-txt a {
        animation: slideInLink 0.6s ease-out forwards;
        animation-delay: 1.8s;
    }

    .shape-4.animate .shap-txt a {
        animation: slideInLink 0.6s ease-out forwards;
        animation-delay: 2.2s;
    }

    @keyframes slideInLink {
        0% {
            opacity: 0;
            transform: translateX(-20px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* عنوان */
    .chemi-sec .title {
        opacity: 0;
        transform: translateY(-30px);
    }

    .chemi-sec .title.animate {
        animation: fadeInDown 1s ease-out forwards;
    }

    @keyframes fadeInDown {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* بکگراند */
    .chemi-back {
        opacity: 0;
        transform: scale(0.9);
    }

    .chemi-back.animate {
        animation: fadeInScale 1.5s ease-out forwards;
        animation-delay: 0.3s;
    }

    @keyframes fadeInScale {
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

}

/* ==================== Language Switcher ==================== */

.lang-switcher {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px !important;
    cursor: pointer;
}

.lang-trigger i.fa-globe {
    font-size: 16px;
    color: var(--secondary-color);
}

.current-lang {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
}

.arrow-lang {
    font-size: 11px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.lang-switcher:hover .arrow-lang,
.lang-switcher.active .arrow-lang {
    transform: rotate(180deg);
}

/* Dropdown زبان */
.lang-dropdown {
    list-style: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    margin: 0;
}

.lang-option {
    display: block;
    padding: 10px 14px !important;
    color: #475569 !important;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff !important;
    transform: translateX(-3px);
}

.lang-option.active {
    background: rgba(185, 28, 28, 0.1);
    color: var(--primary-color) !important;
    font-weight: 600;
}

.lang-option.active::after {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 991px) {

    .baner-txt {
        position: absolute;
        left: 5%;
        bottom: 10%;
    }

    .baner-flesh {
        display: none;
    }

    .baner-chev {
        display: none;
    }

    .baner-txt p:first-child {
        font-family: IRANYekanWebBold;
        font-size: 1.5em;
    }

    .baner-txt p {
        font-size: 1em;
    }

    .chemi-shape {
        width: 150px;
        height: 400px
    }

    .chemi-shape > img {
        width: 100%;
    }

    .shap-img {
        /* background-image: url(../images/chem-back.png); */
        border: 4px solid #333;
        border-radius: 50%;
        width: 100px;
        height: 100px;
    }

    .shap-txt {
        max-width: 150px;
        text-align: center !important;
    }

    .shap-txt h6 {
        font-family: IRANYekanWebMedium;
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
    }

    .shap-txt p {
        text-align: center;
    }

    .shape-1 {
        position: absolute;
        left: -100px;
        top: -50px;
        flex-direction: column;
    }

    .shape-2 {
        position: absolute;
        right: -100px;
        top: 60px;
        flex-direction: column-reverse;

    }

    .shape-3 {
        position: absolute;
        left: -100px;
        top: 45%;
        flex-direction: column;

    }

    .shape-4 {
        position: absolute;
        right: -100px;
        top: 72%;
        flex-direction: column-reverse;


    }

    .fl-left {

        width: 100px;
    }

    .fl-right {

        width: 80px;
    }

    .chemi-sec .title {
        margin-bottom: 50px;
    }

    .applications {
        padding: 30px 0;
    }

    .see-all-blog {

        font-size: 1em;
    }

    .f-top-logo {
        position: absolute;
        top: -32px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

    .footer-flower-left {
        left: -8px;
        /* top: 30px; */
        width: 50px;
    }

    .footer-flower-right {
        right: -8px;
        width: 50px;

    }

    .about-top {
        width: 100%;
    }

    .about-sec .about-top {
        width: 300px;
        left: calc(50% - 100px);
        top: 70px

    }

    .about-sec .about-down {
        width: 300px;
        left: calc(50% - 150px);
    }

    .about-sec {
        padding: 10px 0px 300px 0px;
        text-align: center;
    }

    .customer-sec h6 {
        text-align: center;
    }

    .chemi-shapes {
        padding-bottom: 150px;
    }

    .item.top {
        transform: translateY(0px);
    }

    .item.bottom {
        transform: translateY(0px);
    }

    .timeline {

        margin: 30px auto;
        /* width: 90%; */
    }

    .app-card {

        height: 200px;
    }

    .timeline::after {
        display: none;
    }

    .about-sec h6, .customer-sec h6, .blog-sec h6 {
        font-size: 1.5em;

    }

    .footer-contact {
        flex-direction: column;
        justify-content: center;
        align-items: start;
    }

    .footer-credits p {
        text-align: center;
    }

    .footer-contact-value {
        align-items: start;
    }

    .footer-contact-value span {
        text-align: right;
    }

    .footer-links ul {
        flex-wrap: wrap;
    }

    .footer-links ul li {
        width: 30%;
        margin-bottom: 10px;
    }

    .chemi-sec .title {
        margin-bottom: 50px;
    }

    .owl-support .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
        background: var(--primary-color) !important;
    }

    .menu > li:not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }
}