/* =========================================================
   AvioZone – custom layer on top of the theme (main.css)
   Loaded after main.css on every page.
   ========================================================= */

/* ---------- 1. Header menu: arrow only where a dropdown exists ---------- */
.tp-header-menu nav>ul>li:not(.has-dropdown)>a::after {
    display: none !important;
}

.tp-header-menu nav>ul>li.has-dropdown>a::after {
    display: block;
}

.tp-header-menu nav>ul>li.has-dropdown {
    margin-inline-end: 34px;
}

.tp-header-menu nav>ul>li .sub-menu {
    width: 290px;
    padding: 14px 0;
    z-index: 99;
    list-style: none;
    margin: 0;
}

.tp-header-menu nav>ul>li .sub-menu li a {
    white-space: nowrap;
    line-height: 1.3;
}

/* theme used an icon-font glyph here (font files are empty) -> pure CSS arrow */
.tp-header-menu nav>ul>li .sub-menu li a::before {
    content: "" !important;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-inline-end: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg) !important;
    font-family: inherit;
}

.tp-header-menu nav>ul>li .sub-menu li.active a {
    color: var(--tp-theme-1);
    font-weight: 600;
}

.tp-header-menu nav>ul>li.active>a {
    opacity: .85;
}

/* keyboard users can open the dropdown too */
.tp-header-menu nav>ul>li.has-dropdown:focus-within .sub-menu {
    top: 70px;
    opacity: 1;
    visibility: visible;
}

/* ---------- 2. Icon-font replacements (Font Awesome files are empty) ---------- */
.tp-header-bar,
.tp-offcanvas-button-close,
.tp-search-close,
.tp-search-form-toggle button {
    line-height: 0;
}

.tp-header-bar svg {
    display: block;
    width: 24px;
    height: 18px;
}

.tp-offcanvas-button-close svg {
    display: block;
    margin: auto;
}

.tp-search-close svg {
    display: block;
    margin: auto;
}

/* mobile off-canvas: chevron toggle for "Services" */
.tp-offcanvas-menu nav>ul {
    padding: 0;
    margin: 0;
}

.tp-offcanvas-menu ul li .sub-menu {
    padding-left: 0;
    margin-top: 8px;
    list-style: none;
}

.tp-offcanvas-menu ul li a {
    padding: 8px 40px 8px 0;
}

.tp-offcanvas-menu .tp-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    top: 7px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
}

.tp-offcanvas-menu .tp-menu-close i {
    display: none;
}

.tp-offcanvas-menu .tp-menu-close::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.tp-offcanvas-menu ul li.active>.tp-menu-close::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* ---------- 3. Contact form ---------- */
.tp-contact-list span {
    gap: 0;
}

.tp-contact-form input,
.tp-contact-form textarea {
    width: 100%;
    padding: 14px 24px;
}

.tp-contact-form input {
    height: 56px;
}

.tp-contact-form input:focus,
.tp-contact-form textarea:focus {
    outline: none;
    border: 1px solid #fff;
}

.tp-contact-form textarea {
    padding-top: 18px;
}

.az-form-msg {
    display: none;
    margin-top: 22px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
}

.az-form-msg.is-visible {
    display: block;
}

.az-form-msg a {
    color: #fff;
    text-decoration: underline;
}

/* ---------- 4. Service detail pages ---------- */
.az-crumbs a:not(:last-child) {
    margin-inline-end: 0;
}

.az-intro {
    padding: 110px 0;
    background: var(--tp-grey-1);
}

.az-intro-img {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
}

.az-intro-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-intro-text {
    padding-inline-start: 24px;
}

.az-intro-text h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin-bottom: 20px;
}

.az-intro-text>p {
    margin-bottom: 34px;
}

.az-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--tp-border-1);
}

.az-feature:last-of-type {
    border-bottom: 1px solid var(--tp-border-1);
    margin-bottom: 34px;
}

.az-feature-icon {
    flex: 0 0 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--tp-theme-1);
}

.az-feature h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.az-feature p {
    margin: 0;
}

/* dark "what we offer" band */
.az-offer {
    position: relative;
    padding: 110px 0;
    background-color: #050339;
    background-size: cover;
    background-position: center;
}

.az-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 57, .88);
}

.az-offer .container {
    position: relative;
}

.az-offer h2 {
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin-bottom: 20px;
}

.az-offer p {
    color: rgba(255, 255, 255, .78);
}

.az-offer-card {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: background .25s ease, border-color .25s ease;
}

.az-offer-card:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
}

.az-offer-card .az-check {
    flex: 0 0 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tp-theme-1);
}

.az-offer-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: #fff;
}

/* steps */
.az-steps {
    padding: 110px 0 60px;
    background: var(--tp-grey-1);
}

.az-steps .tp-step-card p {
    margin-bottom: 0;
}

/* related services */
.az-related {
    padding: 0 0 110px;
    background: var(--tp-grey-1);
}

.az-related-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--tp-border-1);
    transition: transform .3s ease, box-shadow .3s ease;
}

.az-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 7, 21, .08);
}

.az-related-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.az-related-card div {
    padding: 24px 26px 28px;
}

.az-related-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--tp-common-black);
}

.az-related-card p {
    margin-bottom: 14px;
}

.az-related-card span {
    font-weight: 600;
    color: var(--tp-theme-1);
}

/* ---------- 5. Responsive ---------- */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1199px) {
    .az-intro-text {
        padding-inline-start: 0;
        margin-top: 40px;
    }

    .az-intro-img {
        min-height: 340px;
    }
}

@media (max-width: 991px) {

    .az-intro,
    .az-offer {
        padding: 80px 0;
    }

    .az-steps {
        padding: 80px 0 40px;
    }

    .az-related {
        padding-bottom: 80px;
    }

    .az-intro-text h2,
    .az-offer h2 {
        font-size: 32px;
    }

    .az-offer .col-lg-5 {
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .tp-hero-inner-title {
        font-size: 44px;
        line-height: 1.1;
        word-break: break-word;
    }

    .tp-hero-inner-area {
        padding-top: 150px !important;
        padding-bottom: 70px !important;
    }

    .az-intro,
    .az-offer {
        padding: 60px 0;
    }

    .az-steps {
        padding: 60px 0 20px;
    }

    .az-related {
        padding-bottom: 60px;
    }

    .az-intro-text h2,
    .az-offer h2 {
        font-size: 28px;
    }

    .az-intro-img {
        min-height: 260px;
        border-radius: 18px;
    }

    .az-offer-card {
        padding: 18px;
    }

    .tp-contact-wrap {
        padding: 24px 20px;
    }

    .tp-contact-list {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 4px;
    }

    .tp-contact-form textarea {
        height: 140px;
    }

    .tp-contact-img {
        display: none;
    }
}

body {
    overflow-x: hidden;
}

.az-steps .col-xxl-3 { display: flex; }
.az-steps .tp-step-card { width: 100%; }

/* logo sizing */
.az-logo { width: 150px; height: auto; }
.tp-offcanvas-logo img, .tp-footer-logo img { max-width: 150px; height: auto; }
@media (max-width: 575px) { .az-logo { width: 125px; } }
