/* Home page: Repio index.html transparent header over a light hero slider. */

/* ---------- Header ---------- */
.avci-hh .header-ten-top::before,
.avci-hh .header-ten-top::after {
    content: none;
}

.avci-hh .header-ten-top .logo {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin-block: -12px;
    padding-block: 12px;
    padding-inline-end: 32px;
    border-inline-end: 1px solid #afb4b5;
}

.avci-hh .header-ten-top .logo img {
    max-height: 68px;
    width: auto;
}

.avci-hh .avci-hh-label {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    color: hsl(var(--heading-color));
}

.avci-hh .header-ten-top-item .text-body {
    color: #44546a !important;
}

@media (min-width: 1400px) {
    .avci-hh .header-ten-top-item--address {
        display: flex !important;
    }
}

.avci-hh #fixed-header:not(.fixed-header) {
    background: transparent;
    box-shadow: none;
}

.avci-hh #fixed-header.fixed-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(4, 20, 39, 0.08);
}

.avci-hh #fixed-header .header-ten-left .logo img {
    max-height: 52px;
    width: auto;
}

@media (min-width: 1200px) {
    .avci-hh #fixed-header.fixed-header .header-ten-left {
        display: block !important;
    }

    .avci-hh #fixed-header.fixed-header .header-ten-left .logo img {
        max-height: 48px;
    }
}

/* ---------- Hero ---------- */
.avci-home .banner-nine-area {
    background: #f4f9ff;
    overflow: hidden;
}

.avci-home .banner-nine-height {
    height: clamp(760px, 100vh, 960px);
    padding-top: 196px;
    padding-bottom: 120px;
}

.avci-home .banner-nine-bg {
    z-index: 0;
    transform: scale(1);
    transition: transform 9s ease-out;
}

.avci-home .banner-nine-wrapper .swiper-slide.swiper-slide-active .banner-nine-bg {
    transform: scale(1.05);
}

.avci-home .banner-nine-bg::before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(175, 220, 253, 0.85) 0%, rgba(175, 220, 253, 0) 34%);
}

.avci-home .banner-nine-bg::after {
    z-index: 1;
    background: linear-gradient(90deg, rgba(244, 249, 255, 0.95) 0%, rgba(244, 249, 255, 0.8) 30%, rgba(244, 249, 255, 0) 56%);
}

.avci-home .banner-nine-content {
    padding-inline: 12px;
}

.avci-hero-tag {
    margin-bottom: 24px;
    padding: 8px 18px;
    border: 1px solid rgba(7, 89, 133, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--main-eight-600);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.avci-hero-tag i {
    font-size: 18px;
}

.avci-home .avci-hero-title {
    max-width: 11.5em;
    margin-bottom: 24px;
    color: hsl(var(--heading-color));
    font-size: clamp(2.5rem, 4.6vw, 5.25rem) !important;
    line-height: 1.03;
    letter-spacing: -0.025em;
    text-shadow: none;
    overflow-wrap: normal;
    text-wrap: balance;
}

.avci-hero-desc {
    max-width: 34rem;
    margin-bottom: 38px;
    color: #3d4f63;
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    line-height: 1.6;
}

.avci-home .banner-nine-title-box,
.avci-home .banner-nine-btn-box {
    max-width: none;
    opacity: 0;
    transform: translateY(28px);
    transition: none;
}

.avci-home .banner-nine-wrapper .swiper-slide.swiper-slide-active .banner-nine-title-box {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.avci-home .banner-nine-wrapper .swiper-slide.swiper-slide-active .banner-nine-btn-box {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease 0.35s, transform 0.8s ease 0.35s;
}

.avci-btn-outline-dark .btn_inner::before {
    background-color: var(--main-eight-600);
}

.avci-btn-outline-dark:hover .btn_inner .btn_text {
    color: hsl(var(--white)) !important;
}

/* Arrows and dots sit under the content, away from the floating call button. */
.avci-hero-controls {
    position: absolute;
    inset-inline: 0;
    bottom: 56px;
    z-index: 3;
    pointer-events: none;
}

.avci-hero-controls > .container > .d-flex {
    padding-inline: 12px;
    pointer-events: auto;
}

.avci-home .avci-hero-controls .banner-nine-arrow-box {
    position: static;
    flex-direction: row;
    gap: 12px;
    transform: none;
}

.avci-home .avci-hero-controls .banner-nine-arrow-box button {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(4, 20, 39, 0.1);
    background: #fff;
    color: hsl(var(--heading-color));
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(4, 20, 39, 0.08);
    transition: background 0.3s, color 0.3s;
}

.avci-home .avci-hero-controls .banner-nine-arrow-box button:hover {
    background: var(--main-eight-600);
    color: #fff;
}

.avci-home .avci-hero-controls .banner-nine-dots {
    position: static;
    display: flex;
    align-items: center;
    width: auto;
    transform: none;
}

.avci-home .banner-nine-dots.dots-color .swiper-pagination-bullet {
    background-color: rgba(4, 20, 39, 0.22);
}

.avci-home .banner-nine-dots.dots-color .swiper-pagination-bullet-active {
    border: 2px solid var(--main-eight-600);
    background-color: transparent;
}

@media (max-width: 1639px) {
    .avci-hh #fixed-header > .container,
    .avci-home .banner-nine-height > .container,
    .avci-hero-controls > .container {
        padding-inline: 30px;
    }

    .avci-home .banner-nine-content,
    .avci-hero-controls > .container > .d-flex {
        padding-inline: 0;
    }
}

@media (max-width: 1199px) {
    .avci-hh #fixed-header > .container,
    .avci-home .banner-nine-height > .container,
    .avci-hero-controls > .container {
        padding-inline: 20px;
    }

    .avci-home .banner-nine-height {
        height: auto;
        min-height: 720px;
        padding-top: 140px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .avci-home .banner-nine-bg {
        background-position: 22% center !important;
    }

    .avci-home .banner-nine-content {
        max-width: 470px;
    }

    .avci-home .avci-hero-title {
        font-size: 2.75rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .avci-home .banner-nine-content {
        max-width: 520px;
    }

    .avci-home .avci-hero-title {
        font-size: 3.25rem !important;
    }
}

@media (max-width: 767px) {
    .avci-home .banner-nine-height {
        align-items: flex-start;
        min-height: 0;
        padding-top: 104px;
        padding-bottom: calc(74vw + 24px);
    }

    .avci-home .banner-nine-bg {
        background-color: #f4f9ff;
        background-position: 96% 100% !important;
        background-size: 215% auto !important;
    }

    .avci-home .banner-nine-bg.avci-has-m {
        background-image: var(--avci-slide-m) !important;
        background-position: 50% 100% !important;
        background-size: 100% auto !important;
    }

    .avci-home .banner-nine-bg::after {
        background: linear-gradient(0deg, rgba(244, 249, 255, 0) 0, rgba(244, 249, 255, 0) 60vw, #f4f9ff 76vw, #f4f9ff 100%);
    }

    .avci-home .avci-hero-title {
        font-size: 2.35rem !important;
    }

    .avci-hero-tag {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .avci-hero-desc {
        margin-bottom: 28px;
    }

    .avci-home .banner-nine-btn-box {
        max-width: 100%;
        gap: 12px;
    }

    .avci-home .banner-nine-btn-box .tw-primary-btn .btn_inner {
        padding: 12px 60px 12px 28px;
    }

    .avci-hero-controls {
        bottom: 22px;
    }

    .avci-hero-controls > .container > .d-flex {
        justify-content: center;
    }

    .avci-home .avci-hero-controls .banner-nine-arrow-box {
        display: none;
    }
}

/* ---------- Category cards ---------- */
.avci-home .service-nine-button .tw-primary-btn {
    width: 100%;
}

.avci-home .service-nine-button .tw-primary-btn .btn_inner {
    padding: 14px 54px 14px 18px;
}

/* Repio draws the hover copy of the label with text-shadow, so a wrapped label overlaps itself. */
.avci-home .service-nine-button .tw-primary-btn .btn_text {
    white-space: nowrap;
}

.avci-home .service-nine-list li.d-inline-flex {
    display: flex !important;
}

/* ---------- Export ---------- */
.avci-export-origin__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e6f1fb;
    color: var(--main-eight-600);
    font-size: 26px;
}

.avci-export-origin__label {
    font-size: 14px;
    line-height: 1.3;
    color: #5b6b7d;
}

.avci-export-origin__value {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: hsl(var(--heading-color));
}

.avci-country-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.avci-country {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 20px 22px;
    border: 1px solid rgba(7, 87, 131, 0.1);
    border-radius: 16px;
    background: #f4f9ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.avci-country:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 87, 131, 0.18);
    background: #fff;
    box-shadow: 0 16px 36px rgba(4, 20, 39, 0.08);
}

.avci-country__flag {
    flex: none;
    width: 48px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(4, 20, 39, 0.08), 0 6px 14px rgba(4, 20, 39, 0.1);
}

.avci-country__name {
    min-width: 0;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: hsl(var(--heading-color));
}

@media (max-width: 1399px) {
    .avci-country {
        gap: 12px;
        padding: 18px 16px;
    }

    .avci-country__flag {
        width: 40px;
        height: 30px;
        border-radius: 5px;
    }

    .avci-country__name {
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    .avci-export-intro {
        max-width: 640px;
    }
}

@media (max-width: 767px) {
    .avci-country-grid {
        gap: 10px;
    }

    .avci-country {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        min-height: 0;
        padding: 16px 6px;
        border-radius: 14px;
        text-align: center;
    }

    .avci-country__name {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .avci-country__name {
        font-size: 13px;
    }
}

/* ---------- Production panels ---------- */
.avci-project-link,
.avci-project-link:hover {
    color: inherit;
}

.avci-project-link:focus-visible {
    outline: 3px solid var(--main-eight-600);
    outline-offset: 4px;
}

.avci-project-media {
    height: 100%;
    background: #fff;
}

.avci-project-link--cutout .avci-project-media {
    background: #eef5fc;
}

.avci-project-link--cutout .avci-project-media img {
    mix-blend-mode: multiply;
}

@media (max-width: 991px) {
    .avci-project-media {
        height: auto;
        overflow: hidden;
        border-radius: 1.25rem;
    }
}

.avci-project-card__arrow {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e6f1fb;
    color: var(--main-eight-600);
    font-size: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.avci-project-card__title {
    transition: color 0.3s ease;
}

.avci-project-link:hover .avci-project-card__arrow {
    background: var(--main-eight-600);
    color: #fff;
    transform: rotate(45deg);
}

.avci-project-link:hover .avci-project-card__title {
    color: var(--main-eight-600) !important;
}

@media (min-width: 992px) {
    .avci-project-link img {
        transition: transform 0.8s ease;
    }

    .avci-project-link:hover img {
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .avci-home .banner-nine-bg,
    .avci-home .banner-nine-title-box,
    .avci-home .banner-nine-btn-box,
    .avci-country,
    .avci-project-link img,
    .avci-project-card__arrow {
        transition: none !important;
    }
}
