@font-face {
    font-family: "IRANSansWeb(FaNum)";
    src: url("https://db.onlinewebfonts.com/t/5c53f1a72f61b5b51e2ea79a22ebc38b.eot");
    src: url("https://db.onlinewebfonts.com/t/5c53f1a72f61b5b51e2ea79a22ebc38b.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/5c53f1a72f61b5b51e2ea79a22ebc38b.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/5c53f1a72f61b5b51e2ea79a22ebc38b.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/5c53f1a72f61b5b51e2ea79a22ebc38b.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/5c53f1a72f61b5b51e2ea79a22ebc38b.svg#IRANSansWeb(FaNum)")format("svg");
}
@font-face {
    font-family: 'b-titr';
    src: url('../fonts/B-Titr/B Titr Bold_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'IRANSansWeb(FaNum)', sans-serif !important;
    background-color: #f5f7fa;
    color: var(--arvin-dark);
    line-height: 1.8;
}

.titr-font{
    font-family: "b-titr",sans-serif !important;
}

:root {
    --arvin-primary: #0a3b66; /* آبی تیره لوگو */
    --arvin-secondary: #197c7b; /* فیروزه‌ای مایل به سبز */
    --arvin-accent: #21a5b6; /* آبی روشن/اکسنت */
    --arvin-light: #f8f9fa;
    --arvin-dark: #212529;
}

.custom-dropdown {
    background-color: #197c7b; /* رنگ زمینه روشن */
    border-radius: 0.5rem;
    min-width: 220px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    border: none;
}

.custom-dropdown .dropdown-item {
    text-align: right;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #a2dfce;
}

.custom-dropdown .dropdown-item.hover-info:hover {
    background-color: #082b4e;
    transform: translateX(-5px);
    border-radius: 0.375rem;
}


/* فونت، رنگ و استایل تیتر اصلی */
.hero-title {
    font-family: 'BMitra', sans-serif;
    font-weight: 700;
    color: #249e78;
    letter-spacing: 0.5px;
    line-height: 1.3;
    padding: 12px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: right;
    margin-bottom: 1.5rem; /* معادل mb-4 */
}

/* خط زیر تیتر */
.hero-title .bordered {
    border-bottom: 1px solid rgba(36, 158, 120, 0.3);
    padding-bottom: 4px;
}

/* استایل ویژه نام آروین در تیتر */
.hero-title .arvin-highlight {
    color: #1abc9c;
    letter-spacing: 3px;
    position: relative;
}

/* پاراگراف اصلی */
.hero-paragraph {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    margin-bottom: 1.5rem; /* معادل mb-4 */
}

/* هایلایت آبی کمرنگ برای نام آروین در متن */
.text-arvin-blue {
    color: #0c4d8c;
}

.img-hero-custom {
    max-width: 90%;
    display: block;
    margin: 0 auto;
}


.bg-arvin-secondary {
    background-color: var(--arvin-secondary);
    color: white;
    padding: 5px;
}

.text-arvin-accent {
    color: var(--arvin-accent);
}

.navbar-brand img {
    height: 40px;
}

.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--arvin-accent);
}

.carousel-item img,
.carousel-item video {
    height: 680px;
    object-fit: cover;
}

.footer {
    background: linear-gradient(to right,
    #082b4e,
    #135f5e,
    #1fa2b3);
    color: white;
    padding: 50px 0 20px;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--arvin-accent);
}

.language-switcher {
    cursor: pointer;
}

.carousel-item img,
.carousel-item video {
    height: 400px;
}


.hero-buttons {
    justify-content: center;
    display: flex;
    gap: 1rem;
}

.carousel-item img,
.carousel-item video {
    height: 300px;
}

.stats-section .col-md-3 {
    margin-bottom: 30px;
}


.carousel-item img,
.carousel-item video {
    height: 250px;
}

.navbar-brand img {
    height: 30px;
}

.section-spacing {
    margin-top: 50px;
    margin-bottom: 50px;
}

/**
logo slider
**/
.logo-slider-section {
    background: #f8f9fa;
    padding: 30px 0;
    overflow: hidden;
}

.text-arvin-blue {
    color: #1a4f8a;
}

.logo-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-slider-track {
    display: flex;
    gap: 25px;
    animation: scrollRight 15s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
}

.logo-item img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    filter: grayscale(0%) opacity(1);
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1) brightness(1.1);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .logo-item img { height: 55px; }
}
@media (max-width: 768px) {
    .logo-item img { height: 45px; }
}
@media (max-width: 480px) {
    .logo-item img { height: 35px; }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/**
end logo slider
**/

.logo-img {
    height: 80px !important;
    width: auto !important;
}


@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
}

.dropdown-menu .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

