@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

@font-face {
    font-family: "vazir";
    src: url("../fonts/Vazir.eot");
    src: url("../fonts/Vazir.woff") format("woff"),
        url("../fonts/Vazir.ttf") format("truetype");
}

@font-face {
    font-family: "yekan";
    src: url("../fonts/Yekan.eot");
    src: url("../fonts/Yekan.woff") format("woff"),
        url("../fonts/Yekan.ttf") format("truetype");
}

/* @font-face {
    font-family: 'yekan';
     src: url('../fonts/YekanBakhFat.eot');
     src: url('../fonts/YekanBakhFat.woff') format('woff'),
     url('../fonts/YekanBakhFat.ttf') format('truetype');
    font-weight: 700;
} */

body {
    font-family: "yekan";
    direction: rtl;
    text-align: right;
    background: #f8f8f8;
}

* {
    text-decoration: none !important;
    outline: none;
    list-style: none;
}

ul,
li,
p {
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.btn-primary,
.bg-primary {
    background: #373555 !important;
}

.text-primary {
    color: #373555 !important;
}

.btn-dark,
.btn-primary {
    box-shadow: none !important;
    border-color: transparent !important;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ffa62b;
}

.form-control {
    font-size: 13px;
}

/* top header */
.top-header {
    background: #373555;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.top-header-content {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.top-header .email-address span {
    font-size: 16px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    letter-spacing: 2px;
    direction: ltr;
    text-align: left;
}

.top-header .call span {
    font-size: 16px;
    color: #fff;
    letter-spacing: 2px;
    direction: ltr;
    text-align: left;
    font-family: "Vazir", sans-serif;
}

/* header */

header {
    background: #ffffff;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.navbar .nav-link {
    color: #606068;
    padding: 2rem 25px !important;
    font-size: 20px !important;
    position: relative;
    z-index: 0;
}

.navbar .nav-link.active {
    color: #000000;
}

.logo {
    max-width: 150px;
    margin: 10px 0;
}

.logo img {
    height: auto;
}

.navbar-nav .nav-item:not(:first-child) .nav-link {
    position: relative;
    padding-left: 15px;
}

.navbar-nav .nav-item:not(:first-child) .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40%;
    bottom: 40%;
    width: 3px;
    background-color: #ccc;
}

.navbar .nav-link {
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #000000 !important;
}


/* Dropdown منوی شرکت */
.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* دقیقاً زیر آیتم منو */
    right: 0;
    /* چون RTL هست */
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    direction: rtl;
    text-align: right;
    z-index: 1060;
    margin-top: 0;
    /* یا 5px اگر فاصله کمی خواستی */
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-item {
    color: #606068;
    font-size: 18px;
    margin-bottom: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: #a3a3a3;
    color: #000000;
}

.navbar .nav-item.dropdown {
    position: relative;
}



/* hero wrap */
.hero-wrap {
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.hero-wrap .hero-wrap-content {
    z-index: 2;
}

.hero-wrap .hero-wrap-content .subheading {
    position: relative;
    width: 100px;
    display: block;
    margin: auto;
}

.hero-wrap .hero-wrap-content .subheading {
    position: relative;
    width: 100px;
    display: block;
    margin: auto;
}

.hero-wrap .hero-wrap-content a {
    position: relative;
    width: auto;
    padding: 0 14px;
    display: inline-block;
    border-radius: 10px;
    font-size: 2rem;
}

.highlight-text {
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.1) 10%,
            rgba(0, 0, 0, 0) 100%);
    display: inline-block;
    z-index: 2;
}

.hero-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

/* انیمیشن دکمه هیرو */
.hero-wrap .hero-wrap-content a {
    position: relative;
    width: auto;
    padding: 0 14px;
    display: inline-block;
    border-radius: 10px;
    font-size: 2rem;
    overflow: hidden;
}

.hero-wrap .hero-wrap-content a i {
    display: inline-block;
    transition: transform 0.4s ease;
    margin-right: 8px;
}

/* هنگام hover فلش به سمت چپ حرکت می‌کند */
.hero-wrap .hero-wrap-content a:hover i {
    transform: translateX(-10px);
}

/* اختیاری: انیمیشن اضافی برای متن */
.hero-wrap .hero-wrap-content a {
    transition: all 0.3s ease;
}

.hero-wrap .hero-wrap-content a:hover {
    padding-right: 20px;
    padding-left: 10px;
}

/* company */

.company .icon-container {
    background: rgba(100, 100, 100, 0);
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -15px;
    left: 50%;
    height: 80px;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    transform: translateX(-50%);
    border-radius: 20px;
    display: flex;
}

.company .custom-card {
    position: relative;
    padding-top: 60px;
    min-height: 320px;
    padding-left: 0;
    padding-right: 0;
    transition: all 0.4s ease;
}

.company .custom-icon {
    width: 70px;
    height: 80px;
    position: relative;
}

.company .custom-title {
    position: relative;
    text-align: center;
    padding-top: 20px;
    padding-right: 20px;
    font-size: 28px;
}

.company h5 {
    color: #373555;
}

.company .icon-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 85%;
    background: rgba(100, 100, 100, 0.5);
    opacity: 1;
    border-radius: 20px;
}

.company .custom-text {
    text-align: justify;
    direction: rtl;
    line-height: 2;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}


/* افکت محو شدن انتهای متن */
.company .custom-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 40px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* حذف سایه وقتی موس روی کارت است */
.company .custom-card:hover .custom-text::after {
    opacity: 0;
    visibility: hidden;
}


/*customer*/

/* موقعیت و چیدمان قبلی دست‌نخورده می‌ماند */
.customer .customer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* برای نرمی انیمیشن */
    transition: transform 0.4s ease;
    /* کل آیتم کمی بالا می‌آید */
}

.customer .customer-icon {
    height: 150px;
    width: auto;
    transition: transform 0.4s ease;
    /* زوم تصویر */
}

.customer .customer-description {
    width: 100%;
    text-align: center;
    transition: transform 0.4s ease;
    /* زوم نوشته */
}

/* افکت‌ها هنگام هاور روی آیتم والد */
.customer .customer-item:hover {
    transform: translateY(-6px) scale(1.04);
    /* یک‌دستی بالا و بزرگ شود */
}

.customer .customer-item:hover .customer-icon {
    transform: scale(1.12) rotate(-2deg);
    /* تصویر کمی بزرگ و یک لرزش جزئی */
}

.customer .customer-item:hover .customer-description {
    transform: scale(1.06);
    /* نوشته هم کمی بزرگ‌تر شود */
}

/* about */

.about {
    padding: 100px 0;
    background: #f8f8f8;
    width: 100%;
}

.about .services:hover {
    background: #3d424a;
}

.about .services:hover .services-text h3,
.about .services:hover .services-text p {
    color: #fff !important;
}

.about .about-img {
    height: 100%;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.about .about-img .counter-wrap {
    position: absolute;
    bottom: 98px;
    right: -97px;
    background: #3d424a;
    transform: rotate(-90deg);
    width: 300px;
}

.about .about-img .counter-wrap .icon img {
    width: 60px;
}

/* service */

.service {
    background: #f8f8f8;
}

.service .service-img {
    background-size: cover;
    background-position: center;
}

/* counter */

.counter-section {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.counter-section .counter-text {
    color: #ffcd39;
}

/* team */
.team {
    background: #f8f8f8;
}

.team .team-item {
    transition: all 0.3s ease-in-out;
    background: #fff;
    box-shadow: 0 0 10px rgba(156, 156, 156, 0.2);
    border-radius: 20px;
}

.team .team-item .team-item-img {
    background-size: cover;
    background-position: center;
    height: 220px;
    width: 100%;
    position: relative;
    border-radius: 20px;
}

.team .team-item .team-description {
    position: absolute;
    top: 50%;
    right: 30px;
    left: auto;
    width: auto;
    transform: translateY(-50%);
    text-align: right;
    pointer-events: none;
    z-index: 2;
}

.team .team-item .team-item-media {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    /* اضافه: تا ویدیو از قاب بیرون نزند */
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(156, 156, 156, 0.2);
}

/* خود ویدیو کل فضا را پر کند مثل background‑image قبلی */
.team .team-item .team-item-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* مثل background-size: cover */
}

/* گزینه‌ی دل‌خواه: روشن/تاریک شدن ویدئو موقع هاور */
.team .team-item-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.quote {
    position: relative;
    min-height: 500px;
    padding: 0;
    display: flex;
    align-items: center;
}

.quote-image-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 2px; /* فاصله از لبه چپ */
    width: 400px;
    height: 400px;
    z-index: 1;
}

.quote-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quote-text {
    margin-right: 0;
    padding-right: 0;
    padding-left: 100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media (max-width: 1900px) {
    .quote-text { padding-left: 150px; }
}

@media (max-width: 1800px) {
    .quote-text { padding-left: 200px; }
}

@media (max-width: 1700px) {
    .quote-text { padding-left: 250px; }
}

@media (max-width: 1600px) {
    .quote-text { padding-left: 300px; }
}

@media (max-width: 1500px) {
    .quote-text { padding-left: 350px; }
}

@media (max-width: 1400px) {
    .quote-text { padding-left: 400px; }
}


/* برای صفحات با عرض کمتر از 992 پیکسل */
@media (max-width: 992px) {
    .quote {
        flex-direction: column;
        min-height: auto;
        padding: 20px 0;
    }

    .quote-image-wrapper {
        position: relative;
        top: auto;
        transform: none;
        left: 20px; /* حفظ فاصله از لبه */
        width: 250px;
        height: 250px;
        margin: 0 0 40px 0; /* فاصله 40px از پایین تصویر تا متن */
    }

    .quote-text {
        width: 100%;
        padding: 0 15px;
    }
}

/* برای صفحات با عرض کمتر از 768 پیکسل */
@media (max-width: 768px) {
    .quote-image-wrapper {
        left: 20px;
        width: 200px;
        height: 200px;
        margin-bottom: 40px; /* حداقل فاصله 40px */
    }

    .quote-text h1 {
        font-size: 1.5rem;
    }

    .quote-text h3 {
        font-size: 0.9rem;
    }
}

/* برای موبایل */
@media (max-width: 576px) {
    .quote-image-wrapper {
        left: 15px; /* فاصله کمتر در موبایل */
        width: 150px;
        height: 150px;
        margin-bottom: 30px; /* حداقل فاصله 30px */
    }

    .quote-text h1 {
        font-size: 1.3rem;
    }

    .quote-text h3 {
        font-size: 0.85rem;
    }
}
/* project */
        /* project */
        .project {
            background: #f8f8f8;
            padding: 3rem 0;
        }

        .project .project-item {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            cursor: pointer;
        }

        .project-image {
            width: 100%;
            height: 330px;
            object-fit: cover;
            border-radius: inherit;
            transition: transform 0.6s ease, filter 0.6s ease;
        }

        .project-item:hover .project-image {
            transform: scale(1.1);
            filter: brightness(0.7) saturate(1.2);
        }

        .project-description {
            position: absolute;
            bottom: 20px;
            width: auto;
            right: 30px;
            text-align: right;
            z-index: 2;
            pointer-events: none;
            transition: transform 0.3s ease;
        }

        .project-title {
            position: absolute;
            bottom: 70px;
            width: auto;
            right: 30px;
            text-align: right;
            z-index: 2;
            pointer-events: none;
            transition: transform 0.3s ease;
        }

        .project-item:hover .project-title,
        .project-item:hover .project-description {
            transform: translateX(-5px);
        }

        .project-item .hover-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 360px;
            object-fit: cover;
            border-radius: inherit;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease-in-out;
            z-index: 1;
        }

        .project-item:hover .hover-img {
            opacity: 0.1;
        }

        .project-item a {
            text-decoration: none;
            display: block;
        }
/* footer */

.footer {
    background: #2e2e2e;
}

.footer .footer-quick-link ul li a {
    padding: 0 0;
    display: block;
    color: #b8b8b8;
    font-size: 20px;
}

/* contact us */




.contact {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
}

.contact .contact-text {
    color: #ffcd39;
}

.contact .contact-social ul li a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255);
    margin-left: 5px;
    border-radius: 50%;
    color: #000000;
}

/*go to top*/
#goToButton {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 30px;
    height: 30px;
    background-color: #ffcd39;
    color: white;
    border: none;
    padding-right: 4px;
    padding-left: 0px;
    padding-bottom: 4px;
    padding-top: 0px;
    cursor: pointer;
    align-items: center;
    transition: background-color 0.3s ease;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#goToButton:hover {
    background-color: #2e2e2e;
}


#goToButton.rotated {
    transform: rotate(180deg);

}

#goToButton i,
#goToButton svg {
    transition: transform 0.3s ease;
}

/*===============================*/

.close-menu {
    padding: 20px 0;
    color: #ffffff;
    font-size: 22px;
    text-align: center;
    cursor: pointer;
    background: #373555;
    display: none;
}

/* ===============  blog ========== */

.detail-website .blog-item {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(117, 117, 177, 0.2);
}

.sidebar {
    box-shadow: 0 0 10px rgba(117, 117, 177, 0.2);
    border-radius: 10px;

}

.sidebar-item-text img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.sidebar-item-title {
    border-bottom: 1px solid #ffa62b;
}

.sidebar-item-text a {
    transition: all 0.3s ease;
}

.sidebar-item-text a:hover {
    color: #ffa62b !important;
}

.comment-section p {
    font-size: 14px;
}

.comment input,
.comment textarea {
    font-size: 13px;
}

.comment textarea {
    height: 150px;
    resize: none;
}

/* استایل برای بخش پروفایل در navbar */
.auth-nav-item {
    margin-right: 30px; /* فاصله از درباره ما */
}

.auth-nav-item .nav-link::before{
    display: none;
}

.auth-nav-item .auth-users {
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-nav-item .auth-users .nav-link {
    padding: 0.5rem 0.75rem;
}

.auth-nav-item .dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}



.auth-nav-item .dropdown-menu {
    right: 0;
    left: auto;
}

/* حذف یا غیرفعال کردن استایل قبلی auth-user */
.auth-user {
    display: none;
}
.navbar .container-lg>.d-flex {
    display: flex;
    width: 100%;
    align-items: center;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.en-lang-btn {
    color: #fff;
    background-color: #373555;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease;
    white-space: nowrap;
    border-radius: 20px;
}

.en-lang-btn:hover {
    color: #8d8d8d;
}

.fa-lang-btn {
    color: #fff;
    background-color: #1f833d;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease;
    white-space: nowrap;
    border-radius: 70px;

}

.fa-lang-btn:hover {
    color: #8d8d8d;
}

/*Capabilities*/
.capablitiies-header {
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.capablitiies-header .row {
    direction: rtl;
}

.capablitiies-header .capablitiies-content .subheading {
    position: relative;
    width: 100px;
    display: block;
    margin: auto;
}

.capablitiies-header .capablitiies-content .subheading {
    position: relative;
    width: 100px;
    display: block;
    margin: auto;
}

.capablitiies-header h1 {
    margin-top: 2rem;
    clear: both;
    line-height: 1.3;
}

.separator {
    width: 80px;
    height: 8px;
    background-color: rgb(147, 147, 147);
    border: none;
    /* این خط باعث می‌شود المنت به سمت راست بچسبد */
    margin: 0 0 0 auto;
    display: block;
}

/* Products Section */
.products {
    padding: 5rem 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-card p {
    color: #666;
    font-size: 0.9rem;
}

.product-item {
    text-align: center;
}

.product-title {
    margin-top: 1rem;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 2.5rem;
}

.product-desc {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.product-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #dfdfdf;
    border-radius: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: visible;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.product-card .custom-icon {
    width: 125%;
    height: 125%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    right: -25%;
    /* مستقیم از سمت راست بیرون میره */
    transform: translateY(-50%);
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    /* تا روی کارت‌های دیگه نمایش داده بشه */
}

.product-card .cartrij-overflow {
    position: absolute;
    bottom: 0;                /* چسبیدن به کف کارت */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 105%;             /* 130% ارتفاع کارت = 30% از بالا بیرون میزنه */
    max-width: none;
    object-fit: contain;
    z-index: 1;
}

/* Certificates Section */
.certificates-grid {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* برای ریسپانسیو */
}

.certificate-card {

    text-align: center;
    transition: transform 0.3s;
    flex: 1 1 0;
}

/* کارت افقی: عریض‌تر از بقیه */

.certificate-card-wide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 1rem; /* یا مثلاً 0.5rem */
     flex: 1.6 1 0; /* هرچی عدد بزرگ‌تر، کارت عریض‌تر */
}

.certificate-card:hover {
    transform: scale(1.05);
}

/* مدیریت نسبت تصویرها */
.certificate-img {
    width: 100%;
    display: block;
    background: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 1rem;
    object-fit: cover;
    text-align: center;
}

/* عمودی */
.certificate-img-vertical {
    aspect-ratio: 3 / 4;
}

/* افقی */
.certificate-img-horizontal {
    aspect-ratio: 16 / 9;
}

/* ریسپانسیو برای موبایل (اختیاری) */
@media (max-width: 768px) {
    .certificates-grid {
        flex-direction: column;
    }
    .certificate-card,
    .certificate-card-wide {
        flex: 1 1 100%;
    }
}

/* Work Areas Section */
.work-areas {
    text-align: center;
}

.work-areas .separator {
    width: 80px;
    height: 8px;
    background-color: #373555;
    border: none;
    margin: 0 0 0 auto;
    display: block;
}

.work-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.work-btn {
    display: inline-block;
    background: #373555;
    color: white;
    padding: 1rem 3rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    width: 250px;
    text-align: center;
    text-decoration: none; /* مهم */
}

.work-btn:hover {
    background: #3498db;
    color: white;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-btn {
    background: #373555;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.contact-btn:hover {
    display: flex;
    margin-top: 3rem;
    background: #2980b9;
}

/* ====== Tabs Section ====== */
.tabs-section {
    background: #fff;
    padding: 0;
}

/* تب‌های سفارشی */
.custom-tabs {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-tabs li {
    flex: 1;
    text-align: center;
    background-color: #373555;
}

.custom-tabs li a {
    display: block;
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.custom-tabs li a:hover {
    background: #606068;
}

/* ====== Header Section ====== */
.elec-header,
.elec-header-header {
    background-size: cover;
    background-position: center;
    position: relative;
}

.elec-header {
    padding-bottom: 60px;
}

.elec-header-header {
    padding-bottom: 0;
}

/* قرارگیری تب‌ها در پایین هدر */
.tabs-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(50%);
    z-index: 10;
}

/* فاصله برای بخش بعد از هدر */
.elec-header-header+section,
.elec-header-header+div {
    margin-top: 4rem;
}

/* ====== Water Projects Section ====== */
.water-projects-section {
    padding: 5rem 0;
}

.water-projects-item {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    margin-bottom: 2rem;
    height: 340px;
    background: #ddd;
}

.water-projects-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.water-projects-item:hover img {
    transform: scale(1.1);
}

.water-projects-title {
    position: relative;
    right: 30px;
    bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
}

/* invesment */

.invesment .custom-card {
    position: relative;
    padding-top: 60px;
    min-height: 220px;
    transition: all 0.4s ease;
}

.invesment .custom-title {
    text-align: center;
    background-color: #dcdcdc;
    border-radius: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invesment h5 {
    color: #373555;
}

.invesment .custom-text {
    text-align: justify;
    direction: rtl;
    line-height: 2;
    max-height: 200Px;
    overflow: hidden;
    position: relative;
    transition: max-height 1s ease;

}

/* fade انتها */
.invesment .custom-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 40px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.8s ease;

}
.invesment .custom-card:hover .custom-text::after {
    opacity: 0;
    visibility: hidden;
}



.team-roles {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #555;
    font-size: 1.5rem;
}

.team-main-banner {
    height: 50vh;
    background-size: cover;
    position: relative;
}


.csr-list {
    list-style: none;
    padding: 0;
}

.csr-list li {
    padding: 0.8rem 0;
    padding-right: 2rem;
    position: relative;
    line-height: 1.8;
    font-size: 1.1rem;
}

.csr-list li::before {
    position: absolute;
    right: 0;
    color: #1e3a8a;
    font-weight: 700;
}


