:root {
    --primary-red: #c9201e;
    --dark-red: #8d201e;
    --black: #000;
    --light-gray-bg: #f8f9fa;
    /* Very light gray */
    --gradient-red: linear-gradient(to right, #c9201e, #8d201e);
    --gradient-red-dark: linear-gradient(to bottom, #8d201e, #4c0403);
    --gradient-white: linear-gradient(to right, #FFF, #f8f9fa);
    --gradient-cyan: linear-gradient(to right, #00B7C7, #038e9b);
    --font-header: 'Archivo', sans-serif;
    --font-body: 'Archivo', sans-serif;
    /* some elements */
    --icons-on-red: linear-gradient(to right, #FFF, #f8f9fa);

}

.fs-7 {
    font-size: 0.8rem;
    /* nowy rozmiar */
    line-height: 1.2;
    /* opcjonalnie pod linijkę z displayami */
}

body {
    background-color: var(--light-gray-bg);
    font-family: var(--font-body);
    color: var(--black);
}

.material-symbols-outlined {
    padding: 1px;
}



.fill {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.fw-bolder {
    font-weight: 800;
}

.fw-boldest {
    font-weight: 900;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    font-weight: 500;
}

a {
    color: var(--primary-red);

}

a:hover {
    color: var(--dark-red);
    text-decoration: solid;
}

.topspacer {
    height: 68px;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.btn-login {
    background: var(--gradient-red);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: opacity 0.3s;
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.5),
        inset 10px 0 0px rgba(0, 0, 0, 0.3);

}

.btn-login:hover {
    opacity: 0.9;
    color: #fff;
}

.btn-gradient-red {
    background: var(--gradient-red);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: opacity 0.3s;
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.5),
        inset 10px 0 0px rgba(0, 0, 0, 0.3);

}

.btn-gradient-red:hover {
    opacity: 0.9;
    color: #fff;
}

.btn-gradient-cyan {
    background: var(--gradient-cyan);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: opacity 0.3s;
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.5),
        inset 10px 0 0px rgba(0, 0, 0, 0.3);

}

.btn-gradient-cyan:hover {
    opacity: 0.9;
    color: #fff;
}



/* Hero Section */
header.hero-section {
    background-color: #FFF;
}

.hero-section {
    padding: 50px 0;
}

.hero-section h1 {
    font-weight: 300;
}

.hero-section h1 strong {
    font-weight: 800;
}

/* WHY  Section */
/* kontener wszystkich kafelków */
.why-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    /* wszystkie kolumny w rzędzie mają tę samą wysokość */
    gap: 2rem;
}

/* pojedynczy kafelek */
.why-item {
    flex: 1 1 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    /* pion: ikona, h4, p */
    align-items: center;
    text-align: center;
}


.why-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 40px auto;
    /* żebyś lepiej widział cień na tle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon-svg {
    width: 100%;
    height: 100%;
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* ikona w środku */
.why-icon .material-symbols-outlined {
    font-size: 2rem;
    color: white;
    text-shadow: 1px 0px 10px rgba(0, 0, 0, 0.5);

}

.why-glyph {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 1, 0.32, 1.275);
}

/* hover: powiększenie i „rozsunięty” cień */
.why-icon:hover .why-icon-svg {
    transform: scale(1.4);
}

.why-icon:hover .why-glyph {
    transform: translate(-50%, -50%) scale(2.3);
}

/* Animation for AS-shape.svg parts */
.why-icon #left,
.why-icon #right {
    transition: transform 0.3s ease;
}

.why-icon:hover #left {
    transform: translateX(-50px);
}

.why-icon:hover #right {
    transform: translateX(50px);
}


/* H4 – ta sama wysokość w rzędzie, wyrównane do góry */
.why-title {
    margin: 0 0 0.75rem;
    display: flex;
    align-items: flex-start;
    /* tekst przyklejony do góry */
    justify-content: center;
    text-align: center;
    min-height: 3.0em;
    font-size: 1.4rem;
    /* ustala równą wysokość tytułów */
}

/* P – zawsze zaczyna się tuż pod h4 (dzięki stałej wysokości h4) */
.why-text {
    margin: 0;
    font-size: 0.9rem;

    color: #6c757d;
}

.why-text p {
    margin-block-end: 0.5em;
}


/* responsywność opcjonalna */
@media (max-width: 768px) {
    .why-item {
        max-width: 45%;
    }
}


@media (max-width: 576px) {
    .why-item {
        max-width: 100%;
    }
}


/* Why AvtekSign */
.why-avteksign {
    background-color: #fff;
}

/* Industries */
.industry-card {
    transition: transform 0.3s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

.industry-icon {
    color: var(--dark-red);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.industry-icon .material-symbols-outlined {
    font-size: 3.5rem
}



/* Platforms */
.platform-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    text-align: center;
    width: 160px;
}

.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.platform-logo-wrapper span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.2;
}

.platform-logo {
    max-height: 50px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
    object-fit: contain;
}

.platform-logo-wrapper:hover .platform-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* funkcje */
.functions .material-symbols-outlined {
    font-size: 3rem;
}

/* benefits */
.benefits .material-symbols-outlined {
    font-size: 4rem;
    color: #6c757d;
    margin-right: -1rem;
}

/* education */
.industries .icon {
    margin-bottom: 1rem;
}

.industries .icon .material-symbols-outlined {
    font-size: 4rem;

}

.industries .material-symbols-outlined {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stroked {
    font-size: 2rem;
    margin-top: -2rem;
    text-shadow: -2px -2px 0 #FFF,
        2px -2px 0 #FFF,
        -2px 2px 0 #FFF,
        2px 2px 0 #FFF;
}

/* Newsletter Form */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.btn-subscribe {
    background-color: #000;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: #333;
    color: #fff;
}

.newsletter-section input[type="checkbox"] {
    background-color: #333;
}

.newsletter-section input[type="checkbox"] {
    background-color: #333;
}

.newsletter-section input:checked {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

.newsletter-section input:focus {
    border-color: var(--dark-red);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(253, 13, 13, 0.25);
}

/* forms */
input:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--dark-red);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(253, 13, 13, 0.25);
}

.form-check-input:checked {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 2rem 0;
}

footer a {
    color: var(--black);
    text-decoration: none;
}

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

/* Utilities */
.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-red {
    background: var(--gradient-red);
}

.bg-gradient-red-dark {
    background: var(--gradient-red-dark);
}

/* ASC */
.asc-gradient-bg {
    background-color: #dedede;
    background-image: radial-gradient(circle at center, hsla(354, 100%, 85%, .541) 0px, transparent 70%), radial-gradient(circle at center, hsla(218, 97%, 87%, .464) 0px, transparent 60%);
    background-position: -70% -30%, 50% -100%;
    background-size: 80vw 80vw, 60vw 60vw;
    background-repeat: no-repeat;
    background-attachment: fixed
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    .nav-item {
        padding: 0.5rem 0;
    }

    .hero-section {
        padding: 60px 0;
        text-align: center;

    }

    .hero-section img {
        margin-top: 2rem;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link {
        font-size: 0.8rem;
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
    }

    .nav-link .material-symbols-outlined {
        font-size: 1.2rem;
    }

    .btn-login {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Fix for active link color */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}


/* Product Cards */
.product-card-img-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-card-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}