/* BioFutura Elementor Widgets CSS */

:root {
    --bio-accent-blue: #6EC1E4;
    --bio-text-main: #111;
    --bio-text-secondary: #555;
    --bio-text-light: #666;
    --bio-bg-light: #f9f9f9;
    --bio-bg-gray: #f8f8f8;
    --bio-border: #e5e5e5;
    --bio-border-color: #eaeaea;
}

/* --- WIDGET 1: Čomu sa venujeme (What We Do) --- */
.what-we-do-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    font-family: 'Roboto', sans-serif;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 80px;
    align-items: start;
}

.left-sticky {
    position: sticky;
    top: 40px;
}

.left-sticky h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
    color: #6EC1E4;
}

.right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-block {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.info-block h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
}

.info-block p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.info-block:hover {
    border-color: #6EC1E4;
    box-shadow: 10px 10px 0 rgba(110, 193, 228, 0.15);
    transform: translateY(-5px);
}

.info-block h3::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #6EC1E4;
    margin-right: 12px;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .left-sticky {
        position: static;
        margin-bottom: 20px;
    }

    .left-sticky h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .right-grid {
        grid-template-columns: 1fr;
    }
}

/* --- WIDGET 2: Problémy Mozaika (Problems Mosaic) --- */
.problems-mosaic-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-header-top {
    margin-bottom: 60px;
    text-align: left;
    border-bottom: 2px solid var(--bio-accent-blue);
    padding-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.section-header-top h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--bio-text-main);
    margin: 0;
    line-height: 1;
}

.section-header-top span {
    color: var(--bio-accent-blue);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mosaic-card {
    background: #fff;
    border: 1px solid var(--bio-border-color);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mosaic-card.highlight-card {
    grid-column: 1 / -1;
    background-color: #fafffe;
    border-color: var(--bio-accent-blue);
    display: flex;
    align-items: center;
    gap: 40px;
}

.mosaic-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-top: 40px solid var(--bio-accent-blue);
    transition: transform 0.3s ease;
}

.mosaic-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: var(--bio-accent-blue);
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--bio-text-main);
}

.highlight-card h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
}

.card-content p {
    font-size: 1rem;
    color: var(--bio-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.card-icon {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--bio-accent-blue);
    border: 2px solid var(--bio-accent-blue);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.highlight-card .card-icon {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
    margin-bottom: 0;
    background: var(--bio-accent-blue);
    color: #fff;
}

@media (max-width: 900px) {
    .mosaic-card.highlight-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .highlight-card .card-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 700px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
}

/* --- WIDGET 3: Prečo Fágy (Why Phages) --- */
.why-phages-section {
    padding: 100px 20px;
    background: #fff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: var(--bio-text-main);
}

.section-header-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--bio-accent-blue);
    margin: 20px auto 0;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-square {
    background: #fff;
    border: 1px solid var(--bio-border-color);
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background: var(--bio-accent-blue);
    transition: height 0.3s ease;
}

.feature-square h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--bio-text-main);
    text-transform: uppercase;
}

.feature-square p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--bio-text-secondary);
    margin: 0;
}

/* --- WIDGET 4: Prečo BioFutura (Why BioFutura) --- */
.bio-section-padding {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.section-header-left {
    margin-bottom: 50px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header-left h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0;
    color: var(--bio-text-main);
}

.header-tag {
    background: var(--bio-accent-blue);
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.asym-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    align-items: start;
}

.history-box {
    background: var(--bio-bg-gray);
    padding: 40px;
    border-left: 5px solid var(--bio-accent-blue);
}

.history-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--bio-text-main);
    margin-bottom: 20px;
}

.history-box p {
    color: var(--bio-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.stafal-highlight {
    background: #fff;
    border: 1px solid var(--bio-border-color);
    padding: 25px;
    margin: 30px 0;
}

.stafal-highlight strong {
    color: var(--bio-accent-blue);
    text-transform: uppercase;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.stafal-highlight p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.right-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-card {
    background: #fff;
    border: 1px solid var(--bio-border-color);
    padding: 30px;
    transition: 0.3s;
}

.pillar-card h4 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: var(--bio-text-main);
    text-transform: uppercase;
}

.pillar-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--bio-text-secondary);
    line-height: 1.5;
}

.pillar-card:hover {
    border-color: var(--bio-accent-blue);
    box-shadow: -5px 5px 0 rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .asym-grid {
        grid-template-columns: 1fr;
    }
}

.feature-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-square:hover::before {
    height: 5px;
}

.header-tag {
    background: var(--bio-accent-blue);
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.asym-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    align-items: start;
}

.history-box {
    background: var(--bio-bg-gray);
    padding: 40px;
    border-left: 5px solid var(--bio-accent-blue);
}

.history-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--bio-text-main);
    margin-bottom: 20px;
}

.history-box p {
    color: var(--bio-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.stafal-highlight {
    background: #fff;
    border: 1px solid var(--bio-border-color);
    padding: 25px;
    margin: 30px 0;
}

.stafal-highlight strong {
    color: var(--bio-accent-blue);
    text-transform: uppercase;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.stafal-highlight p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.right-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-card {
    background: #fff;
    border: 1px solid var(--bio-border-color);
    padding: 30px;
    transition: 0.3s;
}

.pillar-card h4 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: var(--bio-text-main);
    text-transform: uppercase;
}

.pillar-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--bio-text-secondary);
    line-height: 1.5;
}

.pillar-card:hover {
    border-color: var(--bio-accent-blue);
    box-shadow: -5px 5px 0 rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .asym-grid {
        grid-template-columns: 1fr;
    }
}

/* --- WIDGET 5: Partnerstvá (Partners) --- */
.partners-section {
    padding: 100px 20px;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--bio-accent-blue);
    display: inline-block;
    padding-right: 40px;
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    color: var(--bio-text-main);
}

.looking-for-wrapper {
    margin-bottom: 60px;
}

.sub-heading {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--bio-text-light);
    margin-bottom: 20px;
    display: block;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sector-box {
    background: var(--bio-bg-gray);
    border: 1px solid transparent;
    padding: 20px 25px;
    font-weight: 500;
    color: var(--bio-text-main);
    transition: all 0.3s;
    position: relative;
}

.sector-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--bio-accent-blue);
}

.sector-box:hover {
    background: #fff;
    border-color: var(--bio-accent-blue);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.05);
}

.offer-banner {
    background: #fff;
    border: 2px solid var(--bio-text-main);
    padding: 30px;
    margin: 40px 0 80px 0;
    text-align: center;
}

.offer-banner p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.offer-highlight {
    color: var(--bio-accent-blue);
    font-weight: 900;
    text-transform: uppercase;
}

.partners-logo-grid {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: #fdfdfd;
}

@media (max-width: 900px) {
    .sectors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .partners-logo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .partners-logo-grid {
        grid-template-columns: 1fr;
    }
}