﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
/* layout style */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: #011f4b;
    margin-bottom: 60px;
    background-size: cover; /* Make sure image covers the whole body */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center;
}

@media (min-width: 577px) {
    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none; /* کلیک ها رو مختل نکنه */
        z-index: 1;
    }

    body > * {
        position: relative;
        z-index: 2;
    }
}


#nav-logo {
    display: flex;
    height: 80px;
}

#mobileMenu.offcanvas {
    z-index: 1100 !important;
    background-color: #005b96;
}

.offcanvas-body li a {
    color: #005b96;
}

.font20{
    font-size:20px;
}

/* اطمینان از اینکه بک‌دراپ منوی offcanvas فعال و درست نمایش داده می‌شود */
.offcanvas-backdrop {
    z-index: 1050 !important;
    background-color: rgba(0, 0, 0, 0.5); /* تاریک بودن بک‌دراپ */
}

/* Focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.index-welcome {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeInSlideDown 1.5s ease forwards;
}

    .index-welcome h1 {
        color: #ffffff;
        font-weight: 700;
        font-size: 3rem;
        text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 30px #00bfff;
        animation: neonGlow 3s ease-in-out forwards, neonFadeOut 2s ease 3s forwards;
    }

    .index-welcome div.lead {
        color: #dbe9f4;
        font-size: 14px;
        margin-bottom: 1rem;
        margin-top: 1rem;
        opacity: 0;
        animation: fadeIn 2s ease 1.5s forwards;
    }

/* انیمیشن ها */

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 40px #00bfff;
    }

    100% {
        text-shadow: 0 0 15px #00e5ff, 0 0 30px #00e5ff, 0 0 45px #00e5ff, 0 0 60px #00e5ff;
    }
}

@keyframes neonFadeOut {
    to {
        text-shadow: none;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.index-welcome p {
    color: #e6f2f8;
    max-width: 650px;
    margin: 0 auto;
    font-size: 14px;
}

.index-welcome .btn-primary {
    background-color: #005b96;
    border-color: #005b96;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

    .index-welcome .btn-primary:hover,
    .index-welcome .btn-primary:focus {
        background-color: #011f4b;
        border-color: #011f4b;
    }

/* Highlighted text */
.text-highlight {
    color: #b3cde0;
    font-weight: 600;
}

/* Custom Navbar Styles */
.custom-navbar {
    background: linear-gradient(360deg, #b3cde0 0%, #03396c 100%);
    border-bottom: 4px solid #011f4b;
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #b3cde0 !important;
    font-weight: 600;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #ffffff !important;
        text-decoration: underline;
    }

/* Footer */
.site-footer {
    background: linear-gradient(360deg, #011f4b 15%, #03396c 60%, #005b96 85%);
    color: #b3cde0;
    padding: 2rem 0 1rem;
    font-size: 0.9rem;
    text-align: center;
}

    .site-footer a {
        color: #b3cde0;
        text-decoration: none;
        font-weight: 600;
    }

        .site-footer a:hover {
            color: #6497b1;
            text-decoration: underline;
        }

    .site-footer h5 {
        font-weight: 600;
        margin-bottom: 1rem;
        color: #ffffff;
    }

    .site-footer ul {
        padding: 0;
        list-style: none;
    }

    .site-footer hr {
        border-color: rgba(255, 255, 255, 0.2);
        margin: 1rem 0;
    }
/*End layout style */


/* Request form style */

/* کارت معرفی شرکت */
#businessIntroCard {
    background: linear-gradient(135deg, #4a90e2, #50e3c2);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    font-family: var(--bs-body-font-family);
}

    #businessIntroCard .card-header {
        cursor: pointer;
        user-select: none;
        background: transparent;
        border-bottom: none;
        font-weight: 600;
        font-size: 1.3rem;
        padding: 1.2rem 1.5rem;
    }

        #businessIntroCard .card-header i {
            font-size: 1.6rem;
            margin-right: 10px;
            color: #fff;
        }

    #businessIntroCard .rotate-icon {
        transition: transform 0.3s ease;
    }

        #businessIntroCard .rotate-icon.collapsed {
            transform: rotate(0deg);
        }

        #businessIntroCard .rotate-icon:not(.collapsed) {
            transform: rotate(180deg);
        }

#businessIntroContent div {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    border-radius: 0 0 12px 12px;
}
/* اشاره گر روی زبان‌ها */
.lang-switch {
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

/* End request form style */

/* Comparison style */

#comparison {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 30px;
}

.custom-container {
    max-width: 900px;
    margin: 0 auto;
}

.custom-title-main {
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    font-size: 2.8rem;
}

.custom-collapse-btn {
    background: #ffd700;
    border: none;
    color: #333;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 14px 25px;
    border-radius: 1rem;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: background 0.3s ease;
}

    .custom-collapse-btn:hover {
        background: #ffbb00;
        color: #222;
    }

.custom-icon-large {
    font-size: 2.5rem;
    color: #333;
    margin-right: 12px;
}

.custom-check-icon {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.3rem;
}

.custom-list-group-item {
    background: transparent !important;
    border: none !important;
    padding-left: 0;
    padding-right: 0;
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.custom-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.custom-collapse-card {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    color: #fff;
}

.rotate-icon {
    transition: transform 0.3s ease;
}

button[aria-expanded="true"] .rotate-icon {
    transform: rotate(180deg);
}

@media (max-width: 576px) {
    .custom-collapse-btn {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .custom-icon-large {
        font-size: 1.8rem;
        margin-right: 8px;
    }
}

/* End Comparison style */

/* Catalog offer */

.catalog-box {
    background: linear-gradient(135deg, #8e2de2, #ff6ec4);
    color: white;
    padding: 25px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .catalog-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }

    .catalog-box h2 {
        margin-top: 0;
        font-size: 1.8rem;
        font-weight: bold;
    }

    .catalog-box p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

.btn-catalog {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(38, 85, 255, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    user-select: none;
}

    .btn-catalog:hover {
        background: linear-gradient(135deg, #2575fc, #6a11cb);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(38, 85, 255, 0.5);
    }

    .btn-catalog:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(38, 85, 255, 0.4);
    }
/* End catalog offer */

/* Profile style */

#profiles {
    background: #f8f9fa;
    padding: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profile-card {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .profile-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    }

.profile-img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid #0d6efd;
    margin-top: -50px;
    background: white;
}


/* End Profile style */

/* Header links */

.psh-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.psh-btn-container {
    display: flex;
    flex-wrap: wrap; /* برای ریسپانسیو */
    gap: 20px;
    justify-content: center;
}

.psh-btn {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px; /* برای بهتر بودن در موبایل */
}

/* دکمه ثانویه */
.psh-btn-secondary {
    background: transparent;
    border: 2px solid #00f2fe;
    color: #00f2fe;
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
}

    .psh-btn-secondary:hover {
        background: rgba(0, 242, 254, 0.1);
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 242, 254, 0.6);
    }

/* حالت موبایل */
@media (max-width: 480px) {
    .psh-btn-container {
        flex-wrap: nowrap; /* کنار هم */
        gap: 12px; /* فاصله کمتر برای موبایل */
    }
    .psh-btn {
        font-size: 15px;
        padding: 8px 15px;
        min-width: 150px;
    }
}


/* End Header links */

/* Preview Card */

.ps-new-articles {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.ps-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #004e92;
}

.ps-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ps-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ps-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .ps-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .ps-card:hover img {
        transform: scale(1.05);
    }

    .ps-card h3 {
        font-size: 1.4rem;
        margin: 20px 15px 10px;
        color: #004e92;
    }

    .ps-card p {
        font-size: 0.95rem;
        margin: 0 15px 20px;
        color: #555;
    }

.ps-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .ps-btn:hover {
        background: linear-gradient(135deg, #000428 0%, #004e92 100%);
        transform: scale(1.05);
    }


/* End Preview Card */

/* contact us */
.ps-contact-section {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 60px 20px;
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.ps-contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: start;
}

.ps-contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.ps-contact-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.ps-contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .ps-contact-info ul li {
        margin-bottom: 12px;
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

        .ps-contact-info ul li i {
            margin-right: 10px;
            color: #00fff7;
            font-size: 1.2rem;
        }

.ps-socials a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .ps-socials a:hover {
        transform: scale(1.2);
        color: #00fff7;
    }

.ps-contact-map {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ps-contact-container {
        grid-template-columns: 1fr;
    }

    .ps-contact-map {
        height: 250px;
    }
}

/* end contact us */


/* about us section */

/* والد اختصاصی */
.psh-section-wrapper {
    padding: 60px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* انیمیشن Fade-in */
.psh-section-wrapper .psh-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: pshFadeInUp 1s ease forwards;
}

    .psh-section-wrapper .psh-fade-in.delay-1 {
        animation-delay: 0.3s;
    }

    .psh-section-wrapper .psh-fade-in.delay-2 {
        animation-delay: 0.6s;
    }

    .psh-section-wrapper .psh-fade-in.delay-3 {
        animation-delay: 0.9s;
    }

@keyframes pshFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* کارت‌ها */
.psh-section-wrapper .psh-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform .3s ease;
}

    .psh-section-wrapper .psh-card:hover {
        transform: translateY(-8px);
    }

/* عنوان برجسته */
.psh-section-wrapper .psh-title-highlight {
    color: #0d6efd;
    font-weight: bold;
}


/* End about us section */

/* Gallery style */
body {
    font-family: "Segoe UI", sans-serif;
    background: #f8f9fa;
    color: #333;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

    .section-title h2 {
        font-weight: 700;
        color: #0d6efd;
    }

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform .3s ease;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-item::after {
        content: "\f002";
        font-family: "Bootstrap-icons";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: white;
        opacity: 0;
        transition: opacity .3s ease;
    }

    .gallery-item:hover::after {
        opacity: 1;
    }

/* End Gallery style */

/* Privacy */
#datenschutz-page {
    background: #f8f9fa;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
}

#datenschutz-page .page-header {
    background: linear-gradient(135deg, #0d6efd, #198754);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#datenschutz-page .content-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

#datenschutz-page h2,
#datenschutz-page h3 {
    color: #0d6efd;
    margin-top: 1.5rem;
}

#datenschutz-page ul {
    padding-left: 1.2rem;
}

#datenschutz-page footer {
    background: #f1f3f5;
}

/* End Privacy */

/* places */
#places .section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-weight: bold;
    color: #0d6efd;
}

#places .card {
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    #places .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

#places .card-body p {
    font-size: 0.95rem;
    color: #555;
}


/* End places */

/* impressum */

.impressum-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.impressum-card h2 {
    color: #0d6efd;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.impressum-card h5 {
    margin-top: 1.5rem;
    font-weight: 500;
}

.impressum-card p {
    line-height: 1.6;
}

.divider {
    border-top: 2px solid #dee2e6;
    margin: 1.5rem 0;
}

#impressum a {
    color: #0d6efd;
    text-decoration: none;
}

    #impressum a:hover {
        text-decoration: underline;
    }

/* End impressum */
.animated-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.animated-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, #ff6ec4, #7873f5, #42e695);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-radius: 16px;
    z-index: 0;
}

.animated-card:hover::before {
    opacity: 0.3;
    transform: rotate(10deg) scale(1);
}

.animated-card:hover {
    transform: translateY(-5px);
}

.animated-card .card-body {
    position: relative;
    z-index: 1; /* تا محتوا روی overlay باشد */
}
