/* Sectors listing page (moved verbatim from sectors.blade.php inline <style>). */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sector-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 122, 78, 0.2);
    border-color: var(--primary-color);
}

.sector-image {
    width: 280px;
    height: 280px;
    border-radius: 5%;
    object-fit: cover;
    margin-bottom: 1rem;

}

.sector-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sector-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

.sector-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.sector-features li {
    padding: 0.3rem 0;
    color: var(--text-color);
    opacity: 0.8;
    position: relative;
    padding-right: 1.5rem;
}

.sector-features li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.sector-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: var(--section-bg);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color);
    opacity: 0.8;
}

.sector-cta {
    background: var(--primary-gradient);
    padding: 3rem;
    border-radius: 15px;
    color: white;
}

.sector-cta h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.sector-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sector-statistics {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }

    .sector-cta {
        padding: 2rem;
    }
}

/* ---- Additions for the bilingual / SEO version of the page ---- */
.sectors-grid-heading {
    text-align: center;
    font-size: 1.6rem;
    margin: 1rem 0 0;
    color: var(--primary-color);
}

.sector-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sector-card h3 a {
    color: inherit;
    text-decoration: none;
}

.sector-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.sector-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1rem;
    border-radius: 5%;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 4rem;
}

.sector-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.sector-link:hover {
    text-decoration: underline;
}

.sectors-empty {
    text-align: center;
    opacity: 0.8;
    padding: 2rem 0;
}

.stat-item .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.sector-cta h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

[dir="ltr"] .sector-features {
    text-align: left;
}

[dir="ltr"] .sector-features li {
    padding-right: 0;
    padding-left: 1.5rem;
}

[dir="ltr"] .sector-features li:before {
    right: auto;
    left: 0;
}
