@font-face {
    font-family: 'Yekan';
    src: url('../fonts/Yekan.eot?-wwn5ej');
    src: url('../fonts/Yekan.eot?#iefix-wwn5ej') format('embedded-opentype'), url('../fonts/Yekan.woff?-wwn5ej') format('woff'), url('../fonts/Yekan.ttf?-wwn5ej') format('truetype'), url('../fonts/Yekan.svg?-wwn5ej#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/vazirmatn.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --bs-primary: #1ccad8;
    --bs-primary-rgb: 28, 202, 216;
    --bs-secondary: #f3b33d;
    --bs-secondary-rgb: 243, 179, 61;
    --bs-light: #dffbfd;
    --bs-light-rgb: 223, 251, 253;
    --bs-dark: #071a33;
    --bs-dark-rgb: 7, 26, 51;
    --galactic-blue: #071a33;
    --galactic-blue-soft: #10345d;
    --galactic-blue-deep: #03101f;
    --turquoise-glow: #1ccad8;
    --ocean-green: #18a38b;
    --amber-yellow: #f3b33d;
    --amber-light: #ffd97a;
    --text-body: #d6e6ef;
    --panel-surface: rgba(8, 30, 56, 0.78);
    --panel-border: rgba(28, 202, 216, 0.18);
}

body {
    font-family: Vazirmatn,Yekan, 'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text-body);
    background: radial-gradient(circle at top left, rgba(28, 202, 216, 0.18), transparent 30%), radial-gradient(circle at top right, rgba(24, 163, 139, 0.16), transparent 28%), linear-gradient(145deg, var(--galactic-blue-deep) 0%, var(--galactic-blue) 42%, #0b3158 100%);
}

.site-navbar {
    min-height: 108px;
}

.brand-shell {
    width: 82px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.brand-shell img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
    object-position: center;
}

.footer-brand-shell {
    width: 74px;
    height: 74px;
    border-radius: 20px;
}

.footer-brand-shell img {
    width: 66px;
    height: 88px;
}

.lang-pill {
    padding: 10px 16px !important;
    min-width: 82px;
    border-radius: 999px;
    border: 1px solid rgba(108, 149, 255, 0.2);
    background: rgba(255, 255, 255, 0.10);
    color: #eef4ff !important;
    font-weight: 700;
    text-align: center;
}

.lang-dropdown-menu {
    min-width: 170px;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(60, 34, 117, 0.96), rgba(30, 82, 145, 0.92));
    border: 1px solid rgba(173, 204, 255, 0.2);
    box-shadow: 0 18px 40px rgba(6, 10, 28, 0.2);
}

.lang-dropdown-menu .dropdown-item {
    color: #eef4ff;
    border-radius: 12px;
    padding: 10px 12px;
}

.lang-dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--amber-light);
}

.site-header-contact span:first-child {
    color: var(--text-body);
}

.site-footer-shell {
    background:
        linear-gradient(135deg, rgba(15, 24, 56, 0.94), rgba(14, 39, 86, 0.92)),
        radial-gradient(circle at 20% 24%, rgba(217, 194, 255, 0.15) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 28%, rgba(255, 211, 107, 0.13) 0 2px, transparent 3px) !important;
}

.copyright {
    background: rgba(11, 20, 46, 0.9) !important;
    border-top: 1px solid rgba(108, 149, 255, 0.12);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background:
        linear-gradient(135deg, rgba(67, 42, 139, 0.88), rgba(31, 104, 184, 0.84)),
        radial-gradient(circle at 15% 20%, rgba(255, 215, 122, 0.12), transparent 24%);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
        url('../img/bg-breadcrumb.jpg') center/cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero p,
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: #dfeaff !important;
}

.page-shell {
    padding: 70px 0;
}

.section-surface,
.glass-card {
    background:
        linear-gradient(180deg, rgba(50, 72, 142, 0.54), rgba(47, 125, 194, 0.4)) !important;
    border: 1px solid var(--panel-border) !important;
    box-shadow: 0 20px 44px rgba(7, 18, 44, 0.1);
    border-radius: 24px;
}

.glass-card {
    padding: 28px;
}

.page-copy,
.page-copy p,
.page-copy li,
.page-copy span,
.section-surface p,
.glass-card p {
    color: var(--text-body) !important;
}

.page-title-accent,
.glass-card h1,
.glass-card h2,
.glass-card h3,
.glass-card h4,
.section-surface h1,
.section-surface h2,
.section-surface h3,
.section-surface h4 {
    color: #fff4cf !important;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(28, 202, 216, 0.18);
    color: #eef4ff;
}

.project-grid-card img,
.cert-grid-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
}

.project-grid-card,
.cert-grid-card {
    height: 100%;
}

.contact-list .contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-list .icon-box {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--turquoise-glow), var(--ocean-green));
    color: #071a33;
}

.page-shell .list-unstyled li {
    margin-bottom: 10px;
}

html[dir="ltr"] .footer-links i,
html[dir="ltr"] .breadcrumb-item + .breadcrumb-item::before {
    transform: scaleX(-1);
}

@media (max-width: 991.98px) {
    .site-navbar {
        min-height: 96px;
    }

    .brand-shell {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .brand-shell img {
        width: 100% !important;
        height: 100% !important;
    }

    .page-hero {
        padding: 96px 0 64px;
    }
}

/* Shared pages: closer to the original layout, with the new purple/ocean palette */
.nav-bar {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-bar.sticky-top,
.nav-bar.shadow-sm {
    background: linear-gradient(90deg, rgba(88, 66, 168, 0.92), rgba(54, 110, 182, 0.9)) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 34px rgba(8, 17, 44, 0.16);
}

.site-navbar {
    position: relative;
    min-height: 120px;
    padding: 0;
    gap: 48px;
    direction: ltr;
    justify-content: space-between;
}

.site-navbar .navbar-brand {
    position: static;
    transform: none;
    margin: 0;
    z-index: 4;
    flex: 0 0 auto;
}

.site-navbar .navbar-collapse {
    flex: 1 1 auto;
    justify-content: flex-end;
}

.site-navbar .navbar-nav {
    width: auto;
    gap: 0 10px;
    margin-left: auto !important;
    margin-right: 0 !important;
    direction: rtl;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.site-navbar .navbar-nav .nav-item {
    padding: 14px 8px;
}

.site-navbar .navbar-nav .nav-link {
    color: #eef4ff !important;
    font-weight: 700;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active {
    color: var(--amber-light) !important;
    text-shadow: none;
}

.site-header-contact {
    display: none !important;
}

.lang-dropdown {
    margin-right: 10px;
}

.lang-pill {
    background: rgba(255, 255, 255, 0.12);
}

.page-hero {
    padding: 88px 0 72px;
    background:
        linear-gradient(180deg, rgba(88, 66, 168, 0.88), rgba(54, 110, 182, 0.86)),
        url('../img/bg-breadcrumb.jpg') center/cover no-repeat;
}

.page-hero::before {
    display: none;
}

.page-shell {
    padding: 56px 0 72px;
}

.section-surface,
.glass-card,
.bg-white {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(203, 223, 255, 0.18) !important;
    box-shadow: 0 16px 36px rgba(5, 17, 42, 0.12);
}

.glass-card,
.section-surface {
    backdrop-filter: blur(6px);
}

.page-copy,
.page-copy p,
.page-copy li,
.page-copy span,
.section-surface p,
.glass-card p,
.text-muted,
.small.text-muted,
.card-text.text-muted {
    color: #dbe7f7 !important;
}

.glass-card .btn-outline-primary {
    color: #eef4ff;
    border-color: rgba(223, 235, 255, 0.4);
}

.glass-card .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff4cf;
}

.project-detail-slider .carousel-inner,
.project-detail-slider .carousel-item,
.project-detail-slider img {
    border-radius: 20px;
}

.project-detail-slider img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.project-detail-slider .carousel-control-prev,
.project-detail-slider .carousel-control-next {
    width: 54px;
    height: 54px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    opacity: 1;
}

.project-detail-slider .carousel-control-prev {
    left: 18px;
}

.project-detail-slider .carousel-control-next {
    right: 18px;
}

.project-detail-slider .carousel-control-prev-icon,
.project-detail-slider .carousel-control-next-icon {
    filter: invert(19%) sepia(14%) saturate(1208%) hue-rotate(188deg) brightness(92%) contrast(92%);
}

.project-carousel-image {
    height: 460px;
    object-fit: cover;
}

#projectCarousel.owl-carousel .owl-nav button.owl-prev,
#projectCarousel.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78) !important;
    color: #344b7d !important;
    font-size: 28px !important;
}

#projectCarousel.owl-carousel .owl-nav button.owl-prev {
    left: 18px;
}

#projectCarousel.owl-carousel .owl-nav button.owl-next {
    right: 18px;
}

#projectCarousel.owl-carousel .owl-dots {
    margin-top: 16px;
    text-align: center;
}

#projectCarousel.owl-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.35);
}

#projectCarousel.owl-carousel .owl-dot.active span {
    background: var(--amber-light);
}

.project-gallery-thumb {
    height: 220px;
    object-fit: cover;
}

.project-detail-hero,
.project-detail-description,
.project-detail-meta,
.project-image-modal {
    border-radius: 24px;
}

.project-detail-description {
    color: #4b5563;
    line-height: 1.9;
}

.project-detail-description:empty {
    display: none;
}

.project-detail-description img,
.project-detail-description video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.project-detail-hero {
    min-height: 520px;
}

.project-hero-stage {
    position: relative;
    min-height: 520px;
    background: linear-gradient(180deg, rgba(4, 15, 33, 0.9), rgba(7, 29, 58, 0.96));
}

.project-hero-action {
    width: 100%;
    height: 100%;
    min-height: 520px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.project-hero-image {
    width: 100%;
    min-height: 520px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-hero-toolbar {
    position: absolute;
    right: 24px;
    left: 24px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(4, 16, 34, 0.58);
    backdrop-filter: blur(8px);
}

.project-hero-counter {
    color: #eef4ff;
    font-weight: 700;
}

.project-hero-zoom,
.project-image-nav,
.project-gallery-card {
    border: 0;
}

.project-hero-zoom {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
}

.project-hero-nav,
.project-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: #213f6d;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 16px 36px rgba(7, 18, 44, 0.18);
}

.project-hero-nav-prev,
.project-image-nav-prev {
    left: 18px;
}

.project-hero-nav-next,
.project-image-nav-next {
    right: 18px;
}

.project-gallery-card {
    width: 100%;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
}

.project-gallery-card:hover,
.project-gallery-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(4, 15, 33, 0.16);
    border-color: rgba(255, 217, 122, 0.9);
}

.project-image-modal {
    background: rgba(7, 18, 44, 0.96);
    border: 1px solid rgba(203, 223, 255, 0.18);
}

.project-image-viewer {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 56px;
}

.project-image-viewer img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.cert-frame-modal-content {
    background: rgba(13, 26, 58, 0.98);
    border: 1px solid rgba(203, 223, 255, 0.18);
}

#certFrameViewer {
    width: 100%;
    height: 78vh;
    border: 0;
    background: #fff;
}

html[dir="ltr"] .site-navbar {
    padding-left: 0;
    padding-right: 0;
}

html[dir="ltr"] .site-navbar .navbar-brand {
    margin: 0;
}

html[dir="ltr"] .site-header-contact {
    margin-left: 24px;
    margin-right: 0;
}

html[dir="ltr"] .lang-dropdown {
    margin-left: 10px;
    margin-right: 0;
}

@media (max-width: 991.98px) {
    .site-navbar {
        min-height: 96px;
        gap: 12px;
    }

    .site-navbar .navbar-brand {
        position: static;
        transform: none;
        margin: 0;
    }

    .site-navbar .navbar-collapse {
        margin-top: 16px;
        background: rgba(19, 36, 88, 0.72);
        border-radius: 24px;
        padding: 12px 14px;
    }

    .site-navbar .navbar-nav .nav-item {
        padding: 8px 0;
    }

    .site-navbar .navbar-nav .nav-link {
        display: block;
        text-align: center;
    }

    .project-detail-slider img {
        height: 260px;
    }

    .project-carousel-image {
        height: 260px;
    }

    .project-detail-hero,
    .project-hero-stage,
    .project-hero-action,
    .project-hero-image {
        min-height: 340px;
    }

    .project-gallery-thumb {
        height: 180px;
    }

    .project-hero-nav,
    .project-image-nav {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .project-image-viewer {
        min-height: 56vh;
        padding: 12px 42px;
    }

    .project-image-viewer img {
        max-height: 56vh;
    }
}

a {
    color: var(--amber-light);
}

a:hover {
    color: var(--bs-primary);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: #fff4cf;
    text-shadow: 0 0 18px rgba(243, 179, 61, 0.14);
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-secondary {
    color: var(--amber-yellow) !important;
}

.text-dark {
    color: #f7fbff !important;
}

.text-white-50,
.text-body,
p,
span,
small,
li {
    color: var(--text-body);
}

.bg-white {
    background-color: rgba(7, 26, 51, 0.96) !important;
}

.bg-light {
    background-color: rgba(223, 251, 253, 0.1) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--turquoise-glow), var(--ocean-green)) !important;
}

.border-top,
.border-bottom {
    border-color: rgba(28, 202, 216, 0.18) !important;
}




/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
    background: linear-gradient(135deg, var(--turquoise-glow), var(--ocean-green));
    box-shadow: 0 12px 30px rgba(28, 202, 216, 0.22);
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--ocean-green), var(--galactic-blue-soft));
    color: var(--bs-white);
}

.btn.btn-light {
    color: #fff4cf;
    border: none;
    background: rgba(223, 251, 253, 0.1);
    box-shadow: inset 0 0 0 1px rgba(28, 202, 216, 0.24);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: rgba(28, 202, 216, 0.2);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: rgba(3, 16, 31, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(28, 202, 216, 0.12);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
    color: var(--text-body);
    transition: color .35s ease, text-shadow .35s ease;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--amber-light);
    text-shadow: 0 0 18px rgba(243, 179, 61, 0.22);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: rgba(8, 30, 56, 0.95);
        border-radius: 10px;
        border: 1px solid rgba(28, 202, 216, 0.14);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(8, 30, 56, 0.2);
        backdrop-filter: blur(4px);
        border-radius: 10px;
        border: 1px solid rgba(223, 251, 253, 0.08);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: rgba(8, 30, 56, 0.98);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/

.dropdown-menu {
    background: rgba(8, 30, 56, 0.98);
    border: 1px solid rgba(28, 202, 216, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.dropdown-item {
    color: var(--text-body);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #fff7da;
}


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: rgba(223, 251, 253, 0.12);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--galactic-blue);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 26, 51, 0.92), rgba(16, 52, 93, 0.68)),
        linear-gradient(90deg, rgba(28, 202, 216, 0.24), rgba(24, 163, 139, 0.16)),
        url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

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

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-light);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-white);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

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

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/

.service-item,
.feature-item,
.blog-item,
.testimonial-item,
.team-item,
.project-item,
.contact-form,
.counter-item {
    background-color: var(--panel-surface);
    border: 1px solid var(--panel-border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.section-title,
.sub-title,
.section-title span,
.display-5,
.display-6,
.hero-kicker {
    background: linear-gradient(90deg, #fff6d5 0%, var(--amber-yellow) 48%, var(--amber-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(3, 16, 31, .78), rgba(3, 16, 31, .28));
}

html[dir="rtl"] .hero-overlay {
    background: linear-gradient(270deg, rgba(3, 16, 31, .78), rgba(3, 16, 31, .28));
}

.hero-title,
.hero-sub {
    text-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.footer,
.copyright {
    background:
        linear-gradient(135deg, rgba(3, 16, 31, 0.97), rgba(7, 26, 51, 0.95)),
        linear-gradient(90deg, rgba(28, 202, 216, 0.1), rgba(24, 163, 139, 0.08)) !important;
}

.footer .footer-item .footer-btn a {
    background: rgba(223, 251, 253, 0.12);
    color: var(--amber-light);
}

.footer .footer-item .footer-btn a:hover {
    background: linear-gradient(135deg, var(--turquoise-glow), var(--ocean-green));
}

.footer a:hover,
.copyright a:hover {
    color: var(--bs-primary) !important;
}



/* Projects filters */
#projectsFilters .btn.active{color:#fff;}


/* === PAYA HERO (custom) === */
.hero-section{position:relative;}
.hero-slide{min-height:72vh; background-size:cover; background-position:center; position:relative;}
.hero-overlay{position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.25));}
html[dir="rtl"] .hero-overlay{background:linear-gradient(270deg, rgba(0,0,0,.55), rgba(0,0,0,.25));}
.hero-content{position:relative; z-index:2; padding:6.5rem 0 6rem;}
.hero-kicker{color:rgba(255,255,255,.85); font-weight:700; letter-spacing:.02em; margin-bottom:.75rem;}
.hero-title{color:#fff; font-weight:800; line-height:1.12; margin-bottom:1rem; font-size:clamp(1.7rem, 3.3vw, 3.25rem);}
.hero-sub{color:rgba(255,255,255,.88); font-size:1.1rem; max-width:46rem; margin-bottom:1.75rem;}
.hero-actions{display:flex; gap:.75rem; flex-wrap:wrap;}
.hero-actions .btn{min-width:180px}
@media (max-width: 991.98px){
  .hero-slide{min-height:64vh;}
  .hero-content{padding:5rem 0 4.5rem;}
}


/* PayaBonDezh tweaks */
@media (min-width: 992px) {
  .site-navbar.navbar {
    flex-direction: row !important;
    justify-content: space-between !important;
    direction: ltr;
  }

  .site-navbar.navbar .navbar-brand {
    order: 0;
    margin-right: 72px;
  }

  .site-navbar.navbar .navbar-collapse {
    order: 1;
    display: flex !important;
    flex: 1 1 auto;
    justify-content: flex-end !important;
  }

  .site-navbar.navbar .navbar-nav {
    width: auto !important;
    min-width: max-content;
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap;
  }
}

.navbar-brand img,
.navbar .navbar-brand img{
  max-height: 96px;
  width: auto;
}

.service-item .service-img{
  height: 280px;
}
.service-item .service-img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* LTR fixes for hero/content when EN is selected */
html[dir="ltr"] body{
  direction: ltr;
}
html[dir="ltr"] .header-carousel .carousel-caption{
  text-align: left;
}
html[dir="ltr"] .header-carousel .carousel-caption .btn{
  margin-right: .5rem;
  margin-left: 0;
}

/* Final header placement: Autora-style physical left logo and right menu. */
.nav-bar > .container {
  max-width: 1200px;
  padding-left: 16px;
  padding-right: 16px;
}

.site-navbar.navbar {
  direction: ltr !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100%;
}

.site-navbar.navbar .navbar-brand {
  order: 0;
  margin: 0 !important;
  transform: none !important;
  text-align: left !important;
}

.site-navbar.navbar .navbar-toggler {
  order: 1;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.site-navbar.navbar .navbar-collapse {
  order: 2;
  flex-basis: 100%;
}

@media (min-width: 992px) {
  .site-navbar.navbar {
    flex-wrap: nowrap;
    justify-content: space-between !important;
    gap: 120px;
  }

  .site-navbar.navbar .navbar-brand {
    flex: 0 0 auto;
  }

  .site-navbar.navbar .navbar-collapse {
    order: 1;
    flex: 1 1 auto;
    flex-basis: auto;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .site-navbar.navbar .navbar-nav {
    width: auto !important;
    min-width: max-content;
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
    direction: rtl;
  }
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.project-tab {
  min-width: 180px;
  border: 1px solid rgba(1, 95, 201, .22);
  background: #fff;
  color: #16243d;
  border-radius: 8px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition: .2s ease;
}

.project-tab i {
  color: #015fc9;
}

.project-tab.active,
.project-tab:hover {
  background: #015fc9;
  color: #fff;
}

.project-tab.active i,
.project-tab:hover i {
  color: #fff;
}

.project-panel {
  width: 100%;
}

.project-title-list {
  background: #fff;
  border: 1px solid rgba(22, 36, 61, .10);
  border-radius: 8px;
  overflow: hidden;
}

.project-title-line {
  min-height: 42px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(22, 36, 61, .08);
}

.project-title-line:last-child {
  border-bottom: 0;
}

.project-title-index {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f5f9;
  color: #015fc9;
  font-weight: 700;
}

.project-title-text {
  padding: 8px 16px;
  color: #16243d;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.project-photo-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f5f9;
}

.project-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.project-photo-item:hover img {
  transform: scale(1.04);
}

.page-visual {
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  background: #f2f5f9;
}

.page-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.footer-activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-activity-list a {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: rgba(255,255,255,.72);
  padding: 7px 10px;
  line-height: 1.4;
}

.footer-activity-list a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.38);
}

html, body, button, input, textarea, select, a, span, div, p, h1, h2, h3, h4, h5, h6, li, ul, td, th, label {
    font-family: 'Vazirmatn', 'Vazir', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
}

/* Professional inner-page typography. Homepage is Layout=null and keeps its own scale. */
.inner-page {
    font-family: 'Vazirmatn', 'Vazir', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.78;
}

.inner-page .site-navbar .navbar-nav .nav-link {
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 700;
}

.inner-page .site-navbar {
    min-height: 84px !important;
    gap: 72px !important;
}

.inner-page .site-navbar.navbar {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.inner-page .brand-shell {
    width: 56px;
    height: 64px;
}

.inner-page .navbar-brand img,
.inner-page .navbar .navbar-brand img {
    max-height: 64px !important;
}

.inner-page .site-navbar .navbar-nav {
    gap: 0 26px;
    border-radius: 8px;
    min-height: 58px;
}

.inner-page .site-navbar .navbar-nav .nav-item {
    padding: 8px 0;
}

.inner-page .site-navbar .navbar-collapse {
    min-height: 58px;
}

.inner-page .lang-pill {
    min-width: 70px;
    padding: 8px 13px !important;
    font-size: 0.86rem;
}

.inner-page .page-shell,
.inner-page .about.py-5,
.inner-page > .container-fluid.py-5 {
    padding-top: 44px !important;
    padding-bottom: 56px !important;
}

.inner-page .container.py-5 {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

.inner-page .display-6 {
    font-size: clamp(1.7rem, 2vw, 2.25rem);
    line-height: 1.45;
    font-weight: 800;
}

.inner-page h1 {
    line-height: 1.45;
}

.inner-page h2 {
    font-size: clamp(1.35rem, 1.6vw, 1.75rem);
    line-height: 1.55;
}

.inner-page h3 {
    font-size: clamp(1.1rem, 1.25vw, 1.35rem);
    line-height: 1.65;
}

.inner-page h4 {
    font-size: 1.05rem;
    line-height: 1.65;
}

.inner-page p,
.inner-page li,
.inner-page .page-copy,
.inner-page .glass-card p,
.inner-page .section-surface p {
    font-size: 0.98rem;
    line-height: 1.95;
}

.inner-page .glass-card,
.inner-page .section-surface,
.inner-page .bg-white.rounded {
    border-radius: 16px !important;
    padding: 24px !important;
}

.inner-page .feature-chip,
.inner-page .btn {
    font-size: 0.94rem;
}

.services-page-shell .page-visual {
    display: none !important;
}

.inner-page .pe-media {
    display: inline-block;
    max-width: 100%;
    margin: 10px 0;
}

.inner-page .pe-media[data-align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.inner-page .pe-media[data-align="left"] {
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.inner-page .pe-media[data-align="right"] {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.inner-page .pe-media img,
.inner-page .pe-media video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 991.98px) {
    .inner-page {
        font-size: 14.5px;
    }

    .inner-page .page-shell,
    .inner-page .about.py-5,
    .inner-page > .container-fluid.py-5 {
        padding-top: 32px !important;
        padding-bottom: 44px !important;
    }

    .inner-page .display-6 {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    .inner-page .site-navbar {
        min-height: 68px !important;
    }

    .inner-page .brand-shell {
        width: 50px;
        height: 58px;
    }

    .inner-page .navbar-brand img,
    .inner-page .navbar .navbar-brand img {
        max-height: 58px !important;
    }
}
