:root {
    --primary: #3155A3;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-lighter: #dbeafe;
    --secondary: #1a2b4a;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #94a3b8;
    --text-lighter: #cbd5e1;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, var(--primary) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
    --subtitles-top: 40px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body.overflow-hidden {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}




.production-floor {
    margin-top: 64px;
    margin-bottom: 48px;
}

.production-floor__header {
    text-align: center;
    margin-bottom: 32px;
}

.production-floor__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.production-floor__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin: 0;
}
@media (max-width: 600px) {
    .cta-box__content h3{
    font-size:2rem;
}
}

.production-floor__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.production-floor__item {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--slate-900);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.production-floor__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.production-floor__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.production-floor__item:hover img {
    transform: scale(1.04);
}

.production-floor__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
	font-family: Montserrat;
    padding: 22px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;

}

.production-floor__caption-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-light);
}

.production-floor__caption-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .production-floor__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .production-floor__title {
        font-size: 1.45rem;
    }

    .production-floor__item {
        aspect-ratio: 16 / 10;
    }

    .production-floor__caption {
        padding: 18px 20px;
    }

    .production-floor__caption-text {
        font-size: 0.88rem;
    }
}



.heading-big {
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
    font-style: normal;
    line-height: 1.2;
    padding: 15px;

}

.text-primary {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.heading {
    margin-bottom: 5rem;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
    position: relative;
}

.bg-secondary::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, transparent 20%, var(--secondary) 100%);
    pointer-events: none;
    z-index: 10;
}

.section__normal {
    padding: 50px auto;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    position: relative;
}

section {
    position: relative;
}

.left-align {
    text-align: left;
}

.right-align {
    text-align: right;
}


.shape1__bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    clip-path: polygon(100% 49%, 0% 100%, 100% 100%);
    z-index: 1;

}

.shape1__left {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--slate-700);
    clip-path: polygon(0 36%, 100% 49%, 0% 100%);
    z-index: 0;
    opacity: 0.4;


}

.shape2__left {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40vh;
    background: var(--slate-900);
    z-index: 0;
    opacity: 1;

}

.shape3__left {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50vh;
    background: var(--slate-900);
    z-index: 0;
    opacity: 1;
    clip-path: polygon(0 0%, 100% 100%, 0% 100%);

}





.results {
    position: relative;
    background: var(--slate-900);
    padding: 80px 0;
    overflow: hidden;
}

.results__pattern {
    display: none;
}

.results__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.results__header {
    flex-shrink: 0;
}

.results__logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 4px 14px;
    background-color: white;
    border-radius: 15px;
    width: fit-content;
}

.results__logo img {
    height: 32px;
    width: auto;
}

.results__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.results__title span {
    font-weight: 700;
}


.results__stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: flex-end;
}

.results-stat {
    text-align: center;
    padding: 0 48px;
    border-right: 1px solid var(--slate-700);
}

.results-stat:last-child {
    border-right: none;
    padding-right: 0;
}

.results-stat:first-child {
    padding-left: 0;
}

.results-stat__number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.results-stat__label {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}








img.rounded {
    border-radius: 18px;
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-image {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-image.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}



.scroll-image-reveal:not(.revealed) {
    opacity: 0;
    pointer-events: none;
}

.scroll-image-reveal.revealed {
    opacity: 1;
    pointer-events: auto;
}


.scroll-image-reveal--left.revealed {
    animation: revealImgLeft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealImgLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(50px) rotate(-15deg) scale(0.85);
    }

    100% {
        opacity: 1;
        transform: rotate(-1.5deg) translateY(0) scale(1);
    }
}


.scroll-image-reveal--center.revealed {
    animation: revealImgCenter 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealImgCenter {
    0% {
        opacity: 0;
        transform: translateY(120px) scale(0.85);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.scroll-image-reveal--right.revealed {
    animation: revealImgRight 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealImgRight {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(50px) rotate(15deg) scale(0.85);
    }

    100% {
        opacity: 1;
        transform: rotate(1.5deg) translateY(0) scale(1);
    }
}


.scroll-image-reveal--frame.revealed {
    animation: revealFrame 1.2s ease-out;
}

@keyframes revealFrame {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.scroll-image-reveal--badge.revealed {
    animation: revealBadge 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealBadge {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-section__details {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    z-index: 100;
    margin-top: 80px;
    margin-bottom: 40px;
    padding: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl, 24px);
    box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.iso-visual {
    position: relative;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.iso-visual img {
    height: 140px;
    width: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.iso-visual:hover img {
    transform: scale(1.05);
}

.iso-visual__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: var(--primary);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
}

.iso-content {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.iso-header__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.iso-header__text strong {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.iso-header__text span {
    color: var(--text-lighter);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.banner-section__details p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
}

.iso-stats-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.iso-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.iso-stat:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.iso-stat strong {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.iso-stat span {
    color: var(--text-lighter);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}


@media (max-width: 992px) {
    .banner-section__details {
        flex-direction: column;
        align-items: stretch;
    }

    .iso-visual {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 30px;
    }

    .iso-visual img {
        height: 100px;
    }

    .iso-visual__glow {
        width: 100px;
        height: 100px;
    }

    .iso-content {
        padding: 30px;
    }

    .banner-section__details p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .iso-visual {
        padding: 24px;
    }

    .iso-visual img {
        height: 80px;
    }

    .iso-content {
        padding: 24px 20px;
        gap: 20px;
    }

    .iso-stats-row {
        gap: 10px;
    }

    .iso-stat {
        padding: 10px 14px;
        flex: 1 1 auto;
        min-width: 0;
    }
}

.production-section__details {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    z-index: 100;
    margin-top: 100px;
    margin-bottom: 40px;
    padding: 0;
}

@media (max-width: 768px) {
    .production-section__details {
        flex-wrap: wrap;
    }

    .production-section__details .production-capacity__stat {
        flex: 0 0 42%;
        padding: 0px 12px;
        text-align: center;
        align-items: center;
    }

    .production-capacity__stat {
        margin-bottom: 10px;
    }

}

.banner-section__image-container {
    position: relative;
    height: 620px;
    margin-top: 60px;
}


.gallery__frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 520px;
    margin-left: -196px;
    margin-top: -246px;
    border: 2px solid rgba(96, 165, 250, 0.35);
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}


.gallery__frame-2 {
    position: absolute;
    left: 50%;
    top: 95%;
    margin-left: 50px;
    margin-top: 29%;
    width: 1100px;
    height: 520px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(96, 165, 250, 0.35);
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}


.gallery__item {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s ease;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.gallery__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.gallery__item--left {
    left: 5%;
    top: 12%;
    width: 320px;
    height: 420px;
    z-index: 1;
    transform: rotate(-1.5deg);
}

.gallery__item--left:hover {
    transform: rotate(-1.5deg) translateY(-10px) scale(1.02);
    box-shadow: 0 32px 70px -15px rgba(0, 0, 0, 0.7);
}


.gallery__item--center {
    left: 50%;
    top: 50%;
    margin-left: -210px;
    margin-top: -260px;
    width: 420px;
    height: 520px;
    z-index: 3;
}

.gallery__item--center:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 32px 70px -15px rgba(0, 0, 0, 0.7);
}


.gallery__item--right {
    right: 5%;
    bottom: 8%;
    width: 320px;
    height: 420px;
    z-index: 2;
    transform: rotate(1.5deg);
}

.gallery__item--right:hover {
    transform: rotate(1.5deg) translateY(-10px) scale(1.02);
    box-shadow: 0 32px 70px -15px rgba(0, 0, 0, 0.7);
}


.gallery__badge {
    position: absolute;
    z-index: 4;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.gallery__badge strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.gallery__badge span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.gallery__badge--top {
    top: 16%;
    right: 12%;
}

.gallery__badge--bottom {
    bottom: 12%;
    left: 8%;
}



.highlight-feature {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    z-index: 2;
}

.feature-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl, 24px);
    overflow: hidden;
    background: var(--slate-900);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    height: auto;
    min-height: 600px;
}

@media (min-width: 992px) {
    .feature-card {
        flex-direction: row;
        height: 600px;
    }
}

.feature-card__carousel {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    height: 400px;
}

@media (min-width: 992px) {
    .feature-card__carousel {
        height: 100%;
    }
}

.carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel__slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.carousel__ribbon {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px 12px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0 50px 50px 0;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    transition-delay: 0.2s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.carousel__slide.active .carousel__ribbon {
    transform: translateX(0);
    opacity: 1;
}

.carousel__controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel__btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--white);
    border: none;
    color: var(--secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel__btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel__btn:active {
    transform: translateY(0);
}

.carousel__indicators {
    position: absolute;
    top: 30px;
    left: 40px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.indicator {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-light);
    width: 48px;
}

.feature-card__content {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}


.panel {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 48px;
    z-index: 2;
    color: black;
    max-width: 500px;
}

.panel__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 24px;
    line-height: 1.2;
}

.panel__title .highlight-text {
    background: linear-gradient(90deg, var(--white), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel__desc {
    color: black;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.highlight-keyword {
    color: black;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 4px;
    z-index: 1;
}

.highlight-keyword::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(59, 130, 246, 0.6);
    z-index: -1;
    border-radius: 2px;
    transform: skewX(-15deg);
}

@media (max-width: 991px) {
    .feature-card__content {
        padding: 40px 24px;
    }

    .panel {
        padding: 0;
        max-width: 100%;
        background: transparent;
    }

    .panel__title {
        font-size: 2.2rem;
    }

    .carousel__ribbon {
        font-size: 0.95rem;
        padding: 10px 16px 10px 24px;
        bottom: 24px;
    }
}

@media (max-width: 768px) {
    .banner-section__details {
        max-width: 80vw !important;
        margin: 0 auto;
        margin-top: 20px;
    }

    .feature-card__carousel {
        height: 320px;
    }

    .feature-card__content {
        padding: 32px 20px;
    }

    .panel__title {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .panel__desc {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .carousel__controls {
        bottom: 16px;
        right: 16px;
    }

    .carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel__indicators {
        top: 20px;
        left: 20px;
    }

    .carousel__ribbon {
        bottom: 16px;
        font-size: 0.85rem;
        padding: 8px 14px 8px 20px;
    }
}

@media (max-width: 480px) {
    .highlight-feature {
        padding: 50px 0;
    }

    .feature-card__carousel {
        height: 260px;
    }

    .panel__title {
        font-size: 1.6rem;
    }

    .panel__desc {
        font-size: 0.95rem;
    }
}



.capabilities {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
}


.capabilities__svg-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    height: auto;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}





.main__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.main__subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 600;
    max-width: 640px;
    margin: 0 auto;
    margin-top: var(--subtitles-top);
    line-height: 1.7;
}


.capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
    margin-top: 75px;
}

.capabilities__grid a {
    position: relative;
}


.capabilities__grid a p {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    margin: 0;
    padding: 6px 16px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 50px;
}

.capabilities__grid a p span {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--white);
    border-radius: 50%;
    color: var(--secondary);
}


.capabilities__card {
    position: relative;
    background: var(--slate-900);
    border-radius: var(--radius-lg);
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease;
}

.capabilities__card-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 14px;
    background: white;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.capabilities__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px #000;
}


.capabilities__card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.capabilities__card:hover .capabilities__card-bg {
    transform: scale(1.05);
}




.capabilities__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.capabilities__card-icon i {
    font-size: 1.25rem;
    color: var(--white);
}


.capabilities__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    background: var(--primary-light);
    border-radius: 14px;
    padding-inline: 10px;

}

.capabilities__card-detailframe {
    margin-top: auto;
    background: white;
    padding: 5px;
    padding: 16px 16px 16px;
    z-index: 1;
}

.capabilities__card-desc {
    font-size: 0.9rem;
    color: var(--primary);
    background: var(--white);
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-align: justify;
    padding-inline: 10px;
}

.capabilities__card-apps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.capabilities__card-apps li {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.capabilities__card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.capabilities__card:hover .capabilities__card-link {
    gap: 12px;
}

.capabilities__card-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.capabilities__card:hover .capabilities__card-link i {
    transform: translateX(3px);
}


.products-overview {
    padding: 100px 0;
    overflow: hidden;
    z-index: 5;
    background: linear-gradient(rgba(49, 85, 163, 0.94), rgba(49, 85, 163, 0.94)),
        url(./assets/index/cometal_jakob_remar_270126-107.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.products__subtitle {
    margin-top: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-lighter);
    max-width: 700px;
    margin: 0 auto 60px;
    margin-top: var(--subtitles-top);
    font-size: 1.1rem;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@media (max-width: 500px) {
    .product-card {
        width: 85%;
        margin: 0 auto;
    }
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px -12px rgba(0, 0, 0, 0.4);
}

.product-card__image {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 43, 74, 0.85) 0%, rgba(49, 85, 163, 0.3) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}



.product-card__label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--primary);
    padding: 6px 15px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    z-index: 2;
    width: 280px;
    text-align: center;
    font-weight: 800;
}

.product-card__content {
    width: 100%;
    padding: 30px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    text-align: center;
    z-index: 2;
}

.product-card__content h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.product-card__list {
    list-style: none;
    margin-bottom: 25px;

}

.product-card__list ul {
    margin-bottom: 0px;
}

.product-card__list li {
    font-size: 1rem;
    color: var(--white);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.product-card__stats {
    padding: 15px 30px 20px;
    text-align: center;
    background: var(--white);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
}


.products__cta-box {
    background: var(--secondary);
    border-radius: var(--radius-xl);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 6px solid var(--primary-light);
    gap: 40px;
}

.cta-box__content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-box__content p {
    color: var(--text-lighter);
    max-width: 500px;
}


@media (max-width: 992px) {
    .products__grid {
        grid-template-columns: 1fr;
    }

    .products__cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
}


.production-capacity {
    padding: 100px 0 120px;
    overflow: hidden;
    background: linear-gradient(rgba(26, 43, 74, 0.94), rgba(26, 43, 74, 0.94)),
        url(./assets/index/cometal_jakob_remar_270126-799.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}


.production-capacity.bg-secondary::before {
    display: none;
}


.production-capacity__header {
    text-align: center;
    margin-bottom: 64px;
}

.production-capacity__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.production-capacity__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.production-capacity__accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    margin: 0 auto 24px;
    border-radius: 2px;
}

.production-capacity__subtitle {

    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    margin-top: var(--subtitles-top);
    line-height: 1.7;
}


.production-capacity__stats {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    padding: 48px 0;
}

.production-capacity__stat {
    flex: 1;
    text-align: center;
    padding: 0 32px;
    border-radius: 20px;
    margin-inline: 10px;

}

.production-capacity__stat-number {
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    font-weight: 600;
    color: white !important;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--primary);
    letter-spacing: -1px;
}

.production-capacity__stat-line {
    width: 32px;
    height: 2px;
    background: var(--primary);
    margin: 0 auto 14px;
    border-radius: 1px;
    transition: width 0.4s ease;
}

.production-capacity__stat:hover .production-capacity__stat-line {
    width: 56px;
}

.production-capacity__stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.production-capacity__stat-detail {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
}

.production-capacity__divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    align-self: center;
}


.production-capacity__visual {
    margin-bottom: 48px;
}

.production-capacity__split-container {
    display: flex;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--slate-900);
    aspect-ratio: 21 / 9;
}

.split-half {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.split-half--left {
    clip-path: polygon(0 0, 100% 0, 81.8182% 100%, 0 100%);
    width: 55%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.team-overlay h3 {}

.split-half--right {
    clip-path: polygon(18.1818% 0, 100% 0, 100% 100%, 0 100%);
    width: 55%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.split-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.capacity-overlay {
    position: absolute;
    bottom: 5%;
    left: 15%;
    max-width: 80%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-left: 3px solid var(--primary-light);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.capacity-overlay h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 12px;
}

.capacity-overlay h3 span {
    color: var(--primary-light);
}

.capacity-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


.production-capacity__cta {
    text-align: center;
}

.production-capacity__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    border: 1px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.production-capacity__cta-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-light);
    gap: 16px;
}

.production-capacity__cta-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.production-capacity__cta-link:hover i {
    transform: translateX(4px);
}



.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    z-index: 1000;
    border-radius: 14px;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header.scrolled,
.header.header--solid {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}



.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
}

.nav__logo img {
    height: 64px;
    width: auto;
    display: block;
}

.logo__icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;

}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);

}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
    background: var(--primary);
}

.nav__link--cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}


.nav__item--mega {
    position: static;
}

.nav__item--mega>.nav__link i {
    transition: transform 0.3s ease;
    transition-delay: 0.5s;
}

.nav__item--mega:hover>.nav__link i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.nav__item--mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


@media (max-width: 991px) {
    .nav__item--mega.active .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        max-height: 2000px;

    }

    .gallery__frame-2 {
        display: none;
    }

    .collage-item--tall {
        grid-column: span 1;
    }
}


.mega-menu::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 40px;
    background: transparent;
}

.mega-menu__inner {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    padding: 32px;
}

.mega-menu__featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-right: 32px;
    border-right: 1px solid var(--gray-200);
}

.mega-menu__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-50);
    transition: var(--transition);
    border: 1px solid transparent;
}

.mega-menu__card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--primary);


    transform: translateY(-2px);

}

.mega-menu__card:hover .mega-menu__card-content h4 {
    color: white;
}

.mega-menu__card:hover .mega-menu__card-content p {
    color: white;
}

.mega-menu__card-img {
    height: 140px;
    overflow: hidden;
}

.mega-menu__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mega-menu__card:hover .mega-menu__card-img img {
    transform: scale(1.05);
}

.mega-menu__card-content {
    padding: 16px;
}

.mega-menu__card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.mega-menu__card-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

.mega-menu__links {
    padding-left: 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu__links-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0 16px;
    margin-bottom: 8px;
}

.mega-menu__link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.mega-menu__link:hover {
    color: white;
    background: var(--primary);
}

.mega-menu__link:hover h5 {
    color: white;
}

.mega-menu__link:hover p {
    color: white;
}

.mega-menu__link h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2px;
}

.mega-menu__link p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.3;
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;

}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.65;
    background: var(--gradient-hero);
}

.hero__image {
    position: absolute;
    z-index: 1;
    inset: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.hero__video {
    position: absolute;
    z-index: 1;
    inset: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(49, 85, 163, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(49, 85, 163, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    opacity: 0.8;
}

.hero__content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 900px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-lighter);
    max-width: 600px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: left;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 0;
}

.scroll__indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    position: relative;
}

.scroll__indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(49, 85, 163, 0.3);
}

.btn--secondary {
    background: var(--white);
    color: var(--secondary);
    border: 1px solid var(--white);
}

.btn--secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



section {
    padding: 80px 0;
}







.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .nav__logo {
    margin-bottom: 16px;
}

.footer__brand .logo__text {
    color: var(--white);
}

.footer__brand p {
    color: var(--text-lighter);
    margin-bottom: 20px;
    max-width: 300px;
}

.footer__certs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer__certs span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-lighter);
}

.footer__links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
    color: var(--text-lighter);
    font-size: 0.95rem;
}

.footer__links a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 0.875rem;
    color: var(--text-lighter);
}

/* ===== Footer Responsive ===== */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__brand p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer__links h4 {
        margin-bottom: 14px;
    }

    .footer__bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 36px 0 16px;
    }

    .footer__grid {
        gap: 28px;
        padding-bottom: 24px;
    }

    .footer__certs {
        gap: 8px;
    }

    .footer__certs span {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .footer__bottom {
        font-size: 0.8rem;
    }
}





@media (max-width: 992px) {
    .hero__stats {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero__stats .stat {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .heading-big {
        font-size: 2rem;
    }

    .results-stat__number {
        font-size: 2.5rem;
    }

    .main__subtitle {
        font-size: 1.05rem;
    }


    .banner-section__details {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .banner-section__image-container {
        height: 400px;
    }

    .gallery__frame {
        width: 300px;
        height: 360px;
        margin-left: -150px;
        margin-top: -180px;
    }

    .gallery__item {
        border-radius: 12px;
    }

    .gallery__item--left {
        left: 2%;
        top: 15%;
        width: 240px;
        height: 300px;
    }

    .gallery__item--center {
        width: 300px;
        height: 360px;
        margin-left: -150px;
        margin-top: -180px;
    }

    .gallery__item--right {
        right: 2%;
        bottom: 15%;
        width: 240px;
        height: 300px;
    }


    .capabilities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities {
        padding: 80px 0 100px;
    }


    .production-capacity__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 40px 24px;
    }

    .production-capacity__stat {
        min-width: 0;
    }

    .production-capacity__divider {
        display: none;
    }

    .production-capacity__split-container {
        flex-direction: column;
        aspect-ratio: auto;
    }

    .split-half {
        width: 100%;
        height: 350px;
    }

    .split-half--left,
    .split-half--right {
        clip-path: none;
        position: relative;
    }

    .capacity-overlay {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        padding: 24px;
    }
}


@media (max-width: 768px) {


    .capabilities__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 20px;
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .capabilities__grid::-webkit-scrollbar {
        height: 4px;
    }

    .capabilities__grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    .capabilities__grid::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 2px;
    }

    .capabilities__card {
        min-width: 300px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .capabilities {
        padding: 60px 0 80px;
    }


    .production-capacity {
        padding: 60px 0 80px;
    }

    .production-capacity__header {
        margin-bottom: 40px;
    }

    .production-capacity__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 24px 0;
    }

    .production-capacity__stat {
        min-width: 0;
        padding: 16px 0;
        border-bottom: none;
    }

    .production-capacity__divider {
        display: none;
    }

    .split-half {
        height: 300px;
    }

    .capacity-overlay {
        padding: 20px;
    }

    .capacity-overlay h3 {
        font-size: 1.4rem;
    }

    .capacity-overlay p {
        font-size: 0.85rem;
    }

    .main__header {
        margin-bottom: 40px;
    }

    .capabilities__svg-bg {
        display: none;
    }

    .main__subtitle {
        font-size: 1rem;
    }

    .team-overlay h3 {
        font-size: 1.3rem;
    }

    .results-stat__number {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .header {
        top: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    }

    .nav {
        position: relative;
        z-index: 1002;
        background: white;
    }

    .nav__logo {
        position: relative;
        z-index: 1001;
    }

    .nav__menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 32px 32px 40px;
        gap: 0;
        box-shadow: none;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav__item--mega {
        width: 100%;
        position: relative;
    }

    .mega-menu {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-top: 10px;
        pointer-events: auto;
    }

    .nav__item--mega.active .mega-menu {
        display: block;
    }

    .mega-menu__inner {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .mega-menu__featured {
        grid-template-columns: 1fr;
        padding-right: 0;
        border-right: none;
        gap: 12px;
    }

    .mega-menu__card {
        flex-direction: row;
        align-items: center;
        background: var(--gray-50);
        padding: 8px;
    }

    .mega-menu__card-img {
        width: 120px;
        height: auto;
        flex-shrink: 0;
    }

    .mega-menu__card-content {
        padding: 0 16px;
    }

    .mega-menu__links {
        padding-left: 0;
        margin-top: 24px;
        border-top: 1px solid var(--gray-100);
        padding-top: 20px;
    }

    .nav__menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav__link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--secondary);
        font-size: 1.25rem;
        font-weight: 600;
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav__link::after {
        bottom: 0;
        height: 3px;
    }

    .nav__link:hover,
    .nav__link.active {
        color: var(--primary);
    }

    .nav__link--cta {
        margin-top: 16px;
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
    }

    .nav__toggle span {
        background: var(--secondary);
        transition: var(--transition);
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }


    .results__stats {
        flex-direction: column;
        gap: 24px;
    }

    .results-stat {
        padding: 24px 0;
        border-right: none;
        border-bottom: 1px solid var(--slate-700);
    }

    .results-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .results-stat:first-child {
        padding-top: 0;
    }

    .hero__stats {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 32px;
        margin-bottom: 60px;
    }

    .hero__stats .stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .hero__subtitle {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero {
        min-height: 110vh;
        /* Extra room for stacked content */
        padding-bottom: 100px;
    }


    .heading-big {
        font-size: 2rem;
        padding: 0 16px;
    }

    .banner-section__details {
        position: relative;
        left: auto;
        bottom: auto;
        padding: 32px 16px;
    }

    .banner-section__details ul {
        padding-left: 0;
    }

    .banner-section__details li {
        font-size: 1rem;
        padding: 8px 0;
        padding-left: 18px;
    }

    .banner-section__details li::before {
        width: 5px;
        height: 5px;
    }

    .certificate-badge {
        padding: 12px 16px;
        gap: 12px;
    }

    .certificate-badge img {
        height: 36px;
    }

    .certificate-badge span {
        font-size: 0.8rem;
    }

    .banner-section__image-container {
        height: auto;
        min-height: 300px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 220px;
        position: relative;
    }

    .gallery__frame {
        display: none;
    }

    .gallery__item {
        position: relative;
        height: 280px;
        width: 200px;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        margin: 0;
        transform: none;
        opacity: 1;
    }

    .gallery__item--left {
        margin-right: -40px;
        z-index: 1;
    }

    .gallery__item--center {
        height: 300px;
        width: 220px;
        z-index: 3;
    }

    .gallery__item--right {
        margin-left: -40px;
        z-index: 2;
    }

    .gallery__badge {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: max-content;
        top: auto;
        z-index: 4;
    }

    .gallery__badge--top {
        bottom: 120px;
    }

    .gallery__badge--bottom {
        bottom: 20px;
    }

}

@media (max-width: 480px) {
    .hero__scroll {
        display: none;
    }

    .hero__stats {
        gap: 12px;
        margin-bottom: 80px;
    }

    .hero__stats .stat {
        flex: 1 1 calc(50% - 6px);
    }

    .hero__subtitle {
        font-size: 0.85rem !important;
    }

    .hero {
        min-height: 120vh;
    }

    .stat__number {
        font-size: 1.5rem;
    }


    .heading-big {
        font-size: 1.6rem;
    }

    .banner-section__details li {
        font-size: 1rem;
    }

    .banner-section__image-container {
        min-height: 250px;
    }

    .gallery__item {
        height: 220px;
        width: 160px;
    }

    .gallery__item--center {
        height: 240px;
        width: 180px;
    }

    .main__subtitle {
        font-size: 0.9rem;
    }

    .results-stat__number {
        font-size: 1.8rem;
    }

    .team-overlay h3 {
        font-size: 1.15rem;
    }
}


.team-section {
    position: relative;
    background-color: var(--secondary);
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
}

.team-wrapper {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
}


.team-wrapper::before,
.team-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 250px;
    z-index: 2;
    pointer-events: none;
}

.team-wrapper::before {
    left: 0;

    background: linear-gradient(to right, var(--secondary) 0%, rgba(26, 43, 74, 0) 100%);
}

.team-wrapper::after {
    right: 0;

    background: linear-gradient(to left, var(--secondary) 0%, rgba(26, 43, 74, 0) 100%);
}

.team-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) contrast(1.1);

    border-radius: var(--radius-xl, 24px);

}

.team-overlay {
    position: absolute;
    bottom: 10%;
    left: 10%;
    max-width: 600px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl, 24px);
    padding: 48px;
    z-index: 3;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--primary-light);
}

.team-overlay h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 20px;
}

.team-overlay h3 span {
    color: var(--primary-light);
}

.team-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
}


@media (max-width: 1200px) {

    .team-wrapper::before,
    .team-wrapper::after {
        width: 150px;
    }
}

@media (max-width: 992px) {
    .team-section {
        padding: 60px 0;
    }

    .team-wrapper {
        padding: 0 24px;
    }

    .team-wrapper::before,
    .team-wrapper::after {
        display: none;

    }

    .team-image {
        height: 500px;
        border-radius: var(--radius-xl, 24px);
    }

    .team-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        margin: -80px 24px 0;
        max-width: none;
    }
}


.image-collage {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 0;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 0;
    width: 100%;
}

.collage-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0) 60%),
        linear-gradient(135deg, rgba(49, 85, 163, 0.45) 0%, rgba(29, 78, 216, 0.75) 100%);
    opacity: 0.85;
    transition: opacity 0.5s ease;
    z-index: 1;
}


.collage-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item--tall {
    grid-row: span 2;
}

.collage-item--wide {
    grid-column: span 2;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(1.05);
    display: block;
}

.collage-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    z-index: 2;
}

.collage-overlay-content {
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.collage-overlay span {
    display: block;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.collage-overlay p {
    color: var(--text-lighter);
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.collage-item:hover img {
    transform: scale(1.12);
}

.collage-item:hover::after {
    opacity: 0.95;
}

.collage-item:hover .collage-overlay-content {
    transform: translateY(0);
}

.collage-item:hover .collage-overlay p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .collage-grid {
        grid-auto-rows: 280px;
    }
}

@media (max-width: 992px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }

    .collage-item--large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .collage-item--tall {
        grid-row: span 1;
    }

    .collage-item:nth-child(4) {
        grid-column: span 1;
    }

    .collage-item:nth-child(5) {
        grid-column: span 2;
    }

    .collage-overlay {
        padding: 20px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .collage-overlay span {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .collage-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .collage-overlay span {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
}

/* ===== Language Switcher ===== */
.nav__item--lang {
    list-style: none;
    margin-left: auto;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    opacity: 0.55;
    transition: opacity 0.2s, background 0.2s;
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

.lang-btn--active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.08);
}

.lang-divider {
    color: var(--secondary);
    opacity: 0.3;
    font-size: 0.75rem;
}

.header--solid .lang-btn {
    color: var(--slate-900);
}

.header--solid .lang-divider {
    color: var(--slate-900);
}

.header--solid .lang-btn--active {
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .nav__item--lang {
        width: 100%;
        margin-left: 0;
        margin-top: 24px;
        margin-bottom: 48px;
        padding-top: 24px;
        border-top: 1px solid var(--gray-200);
    }

    .lang-switcher {
        justify-content: center;
        gap: 8px;
    }

    .lang-btn {
        font-size: 0.95rem;
        padding: 10px 20px;
        border-radius: 8px;
        color: var(--secondary);
        opacity: 0.6;
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
    }

    .lang-btn:hover,
    .lang-btn--active {
        opacity: 1;
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    .lang-divider {
        color: var(--text-light);
        opacity: 0.4;
        font-size: 0.9rem;
    }
}