﻿* {
    box-sizing: border-box
}

:root {
    --navy: #061c30;
    --navy2: #082840;
    --red: #ff0b4d;
    --ink: #0a2541;
    --muted: #63758a;
    --line: #dce5ee
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Vazirmatn",Tahoma,sans-serif;
    color: var(--ink);
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

button {
    font: inherit
}

.container {
    width: min(1280px,calc(100% - 70px));
    margin: auto
}

.site-header {
    height: 78px;
    background: var(--navy);
    color: #fff;
    position: relative;
    z-index: 20
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 200px
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    direction: ltr;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px
}

.logo-symbol {
    font-size: 43px;
    line-height: .7
}

.main-nav {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 35px
}

    .main-nav a {
        font-size: 13px;
        color: #eef4f9;
        display: flex;
        align-items: center;
        position: relative
    }

        .main-nav a.active:after {
            content: "";
            height: 2px;
            background: var(--red);
            position: absolute;
            bottom: 13px;
            left: 0;
            right: 0
        }

.header-cta, .btn, .outline-btn, .dark-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s
}

.header-cta {
    background: var(--red);
    padding: 11px 20px;
    white-space: nowrap
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px
}

.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
    background: #061522;
    color: #fff
}

.hero-track, .hero-slide {
    position: absolute;
    inset: 0
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity .65s,transform 6s
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1)
    }

    .hero-slide > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: inherit;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(2,13,24,.03),rgba(2,12,22,.13) 45%,rgba(2,12,22,.9) 78%,rgba(2,12,22,.96))
}

.hero-inner {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column
}

.hero-brand {
    position: absolute;
    right: 0;
    top: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
    direction: ltr;
    text-align: left
}

.hero-symbol {
    font-size: 57px;
    line-height: .6
}

.hero-brand b {
    font-size: 27px;
    letter-spacing: 1px;
    display: block
}

.hero-brand small {
    font-size: 10px;
    display: block;
    margin-top: 5px;
    direction: rtl
}

.hero-copy {
    width: 48%;
    text-align: right;
    margin-top: 50px;
    position: relative;
}

.kicker {
    font-size: 14px;
    font-weight: 600
}

.hero h1, .hero h2 {
    font-size: 44px;
    line-height: 1.35;
    margin: 8px 0;
    font-weight: 800
}

    .hero h1 em, .hero h2 em {
        font-style: normal;
        color: var(--red)
    }

.hero-copy p {
    font-size: 14px;
    margin: 7px 0 18px
}

.btn {
    background: var(--red);
    color: #fff;
    padding: 12px 20px;
    box-shadow: 0 7px 20px #ff0b4d33
}

    .btn:hover, .header-cta:hover {
        transform: translateY(-2px);
        filter: brightness(1.08)
    }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    background: #0003;
    color: #fff;
    font-size: 30px;
    cursor: pointer
}

    .slider-arrow.prev {
        left: 22px
    }

    .slider-arrow.next {
        right: 22px
    }

.slider-controls {
    position: absolute;
    left: 60px;
    bottom: 19px;
    display: flex;
    align-items: center;
    gap: 22px;
    direction: ltr;
    z-index: 10
}

.dots {
    display: flex;
    gap: 7px
}

.dot {
    border: 0;
    width: 25px;
    height: 4px;
    border-radius: 5px;
    background: #fff8;
    cursor: pointer
}

    .dot.active {
        width: 48px;
        background: var(--red)
    }

.slide-count {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px
}

    .slide-count span {
        width: 28px;
        height: 1px;
        background: #fff7
    }

    .slide-count b {
        font-size: 13px
    }

.hero-progress {
    height: 3px;
    background: #ffffff18;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12
}

    .hero-progress i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--red)
    }

.section {
    padding: 44px 0
}

.section-lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center
}

.lead-image {
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
    position: relative
}

    .lead-image:before {
        content: "";
        position: absolute;
        right: -8px;
        top: 0;
        width: 15px;
        height: 82px;
        background: var(--red);
        z-index: 2;
        transform: skew(-14deg)
    }

    .lead-image img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.angled {
    clip-path: polygon(10% 0,100% 0,91% 100%,0 100%)
}

.section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px
}

    .section-title i {
        width: 28px;
        height: 2px;
        background: var(--red);
        display: block
    }

    .section-title span {
        order: 2
    }

    .section-title i {
        order: 1
    }

.section-lead h2 {
    font-size: 22px;
    margin: 0 0 10px
}

.section-lead p, .service-copy p {
    font-size: 13px;
    line-height: 1.5;
    color: #52657a;
    margin: 0 0 15px;
    text-align: justify
}

.outline-btn {
    background: var(--red);
    color: #fff;
    padding: 11px 19px;
    float: left
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 13px;
    margin-top: 28px
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    min-height: 215px;
    padding-bottom: 15px
}

.product-card-img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    display: block
}

.product-icon {
    width: 80%
}

.product-card .icon {
    width: 37px;
    height: 37px;
    border: 0px solid var(--ink);
    background: #fff;
    border-radius: 50%;
    margin: -12px auto 4px;
    display: grid;
    place-items: center;
    position: relative;
    font-size: 17px
}

.product-card h3 {
    font-size: 14px;
    margin: 5px 5px 7px
}

.product-card p {
    font-size: 10px;
    line-height: 1.8;
    color: #6a7d91;
    margin: 0 10px
}

.clients {
    background: #f5f9fc;
    padding: 30px 0 35px;
    text-align: center;
    height: 270px;
}

.clients-logo {
    width: 100px
}

.centered {
    justify-content: center
}

.center-sub {
    font-size: 12px;
    color: #3c5b7b;
    margin: 0 0 22px
}

.client-list {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    align-items: center
}

    .client-list div {
        height: 60px;
        display: grid;
        place-items: center;
        border-left: 1px solid #cbd9e6;
        font-size: 13px;
        font-weight: 700;
        color: #123f72
    }

        .client-list div:last-child {
            border: 0
        }

.service-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center
}

.servicegr-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(4,27,45,.03),rgba(4,27,45,.13) 45%,rgba(4,27,45,.9) 78%,rgba(4,27,45,.96))
}

.service-copy .section-title {
    font-size: 20px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px
}

    .service-grid article {
        height: 145px;
        position: relative;
        overflow: hidden;
        clip-path: polygon(10% 0,100% 0,90% 100%,0 100%);
        border-radius: 4px
    }

    .service-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.72)
    }

    .service-grid b {
        position: absolute;
        bottom: 14px;
        left: 0;
        right: 0;
        text-align: center;
        color: #fff;
        font-size: 12px;
        text-shadow: 0 2px 8px #000
    }

.contact-band {
    background: linear-gradient(90deg,#062039dd,#072a47ee),url("images/process-1.jpg") center/cover;
    color: #fff;
    padding: 27px 0
}

.contact-wrap {
    display: flex;
    align-items: center;
    gap: 22px
}

.contact-icon {
    font-size: 53px;
    line-height: .5;
    width: 60px
}

.contact-wrap h2 {
    font-size: 19px;
    margin: 0 0 5px
}

.contact-wrap p {
    font-size: 10px;
    margin: 0;
    color: #e5edf5
}

.contact-actions {
    margin-right: auto;
    display: flex;
    gap: 16px
}

.dark-btn {
    border: 1px solid var(--red);
    color: #fff;
    padding: 10px 25px
}

.footer {
    background: #041b2d;
    color: #dbe5ef;
    padding: 32px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .9fr 1.2fr;
    gap: 40px;
    padding-bottom: 30px
}

.footer h4 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 10px
}

.footer a, .footer p {
    display: block;
    font-size: 10px;
    line-height: 2;
    margin: 0;
    color: #bac8d6
}

.footer-logo {
    font-size: 26px;
    color: #fff;
}

.footer-brand p {
    margin-top: 7px
}

.footer-bottom {
    border-top: 1px solid #315067;
    padding: 13px 0;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #8498aa;
    direction: ltr;
}

@media(max-width:900px) {
    .container {
        width: min(100% - 35px,700px)
    }

    .site-header {
        height: 66px
    }

    .main-nav {
        display: none
    }

    .menu-toggle {
        display: block;
        order: 3
    }

    .header-cta {
        margin-right: 0
    }

    .logo {
        margin-right: auto
    }

    .hero {
        height: 500px
    }

    .hero-copy {
        width: 70%
    }

    .hero h1, .hero h2 {
        font-size: 35px
    }

    .product-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .client-list {
        grid-template-columns: repeat(4,1fr);
        gap: 8px
    }

        .client-list div {
            border: 0
        }

    .service-wrap, .section-lead {
        grid-template-columns: 1fr
    }

    .service-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .contact-wrap {
        flex-wrap: wrap
    }

    .contact-actions {
        margin-right: 0
    }
}

@media(max-width:560px) {
    .container {
        width: calc(100% - 28px)
    }

    .header-cta {
        font-size: 10px;
        padding: 9px 12px
    }

    .logo-text {
        font-size: 18px
    }

    .hero {
        height: 570px
    }

    .hero-overlay {
        background: linear-gradient(90deg,#04132122,#041321dc 75%,#041321f2)
    }

    .hero-inner {
        align-items: flex-end;
        padding-bottom: 65px
    }

    .hero-copy {
        width: 100%;
        text-align: right
    }

    .hero h1, .hero h2 {
        font-size: 31px
    }

    .hero-brand {
        right: auto;
        left: 0;
        top: 25px
    }

        .hero-brand b {
            font-size: 22px
        }

    .slider-arrow {
        display: none
    }

    .slider-controls {
        left: 16px
    }

    .section {
        padding: 35px 0
    }

    .section-lead {
        gap: 25px
    }

    .lead-image {
        height: 180px
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px
    }

    .product-card {
        min-height: 205px
    }

        .product-card img {
            height: 90px
        }

    .client-list {
        grid-template-columns: repeat(2,1fr)
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

        .service-grid article {
            height: 125px
        }

    .contact-wrap h2 {
        font-size: 16px
    }

    .contact-actions {
        width: 100%
    }

        .contact-actions > * {
            flex: 1
        }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px
    }
}
div.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.gallery-item {
    margin: 5px;
    width: 180px;
    display: grid;
    align-content: center;
}


    div.gallery-item img {
        width: 100%;
        height: auto;
    }

    div.gallery-item div.desc {
        padding: 15px;
        text-align: center;
    }

div.about-text {
    width: 40%;
    margin: 5px;
    text-align: justify;
}

.float-left {
    float: left;
}
