
/* Contenitore principale centrato */
.sectors-container {
    max-width: 1400px; 
    margin: 0 auto;    
    padding: 30px 50px 60px;
    text-align: center;
    font-family: Inter, 'sans-serif';
}

/* Titolo centrato */
.sectors-title {
font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 45px;
    line-height: 52px;
    text-transform: uppercase;
    color: #000;
    text-align: center;
        margin-block-end: 0px !important;
    margin-block-start: 0px !important;
}

/* Contenitore dei settori con Flexbox */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.sector-item {
    width: 100%;
}

/* Card singolo settore */
.sector-card {
    background: #fff;
    overflow: hidden;
    text-align: left;
}



.sector-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.sector-content {
    padding: 0 20px 20px 20px;
}

.sector-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    color: #000;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-inline-start: 0px !important;
    margin-inline-end: 0px !important;
    margin-block-end: 0px !important;
    margin-block-start: 0px !important;
}

.sector-description {
        font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #000;
    padding-bottom: 20px;
        margin-block-end: 0px !important;
    margin-block-start: 0px !important;
}

.sector-button {
    display: inline-block;
    width: 230px;
    height: 54px;
    background-color: #008bee;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 26px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
    transition: background-color 0.3s 
ease;
align-content: center;
}

.sector-button:hover {
    background-color: #005fa3;
}

/* Responsive */
/* Tablet → 2 colonne */
@media (max-width: 991px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile → 1 colonna */
@media (max-width: 699px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTAINER */
@media (max-width: 409px) {
    .sectors-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .sectors-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .sectors-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* GESTIONE FONT */
/* < 369PX */
@media (max-width: 368px) {
    .sectors-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 369px a 374px */
@media (min-width: 369px) and (max-width: 374px) {
    .sectors-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 375px a 408px */
@media (min-width: 375px) and (max-width: 408px) {
    .sectors-title {
        font-size: 32px;
        line-height: 41px;
    }
}

/*  Da 409px a 413px */
@media (min-width: 409px) and (max-width: 413px) {
    .sectors-title {
        font-size: 33px;
        line-height: 40px;
    }
}

/*  Da 414px a 429px */
@media (min-width: 414px) and (max-width: 429px) {
    .sectors-title {
        font-size: 32.5px;
        line-height: 40px;
    }
}

/*  Da 430px a 790px */
@media (min-width: 430px) and (max-width: 790px) {
    .sectors-title {
        font-size: 34px;
        line-height: 41px;
    }
}

/* Da 791px a 809px */
@media (min-width: 791px) and (max-width: 809px) {
    .sectors-title {
        font-size: 35px;
        line-height: 42px;
    }
}

/* Da 810px a 829px */
@media (min-width: 810px) and (max-width: 829px) {
    .sectors-title {
        font-size: 36px;
        line-height: 43px;
    }
}

/* Da 830px a 848px */
@media (min-width: 830px) and (max-width: 848px) {
    .sectors-title {
        font-size: 37px;
        line-height: 44px;
    }
}

/* Da 849px a 886px */
@media (min-width: 849px) and (max-width: 886px) {
    .sectors-title {
        font-size: 38px;
        line-height: 45px;
    }
}

/* Da 887px a 963px */
@media (min-width: 887px) and (max-width: 963px) {
    .sectors-title {
        font-size: 39px;
        line-height: 46px;
    }
}

/* Da 964px a 1066px */
@media (min-width: 964px) and (max-width: 1066px) {
    .sectors-title {
        font-size: 41px;
        line-height: 48px;
    }
}

/* Da 1067px a 1231px */
@media (min-width: 1067px) and (max-width: 1231px) {
    .sectors-title {
        font-size: 43px;
        line-height: 51px;
    }
}


@media (max-width: 369px) {
    .sector-title {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (min-width: 370px) and (max-width: 820px) {
    .sector-title {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (min-width: 821px) and (max-width: 943px) {
    .sector-title {
        font-size: 27px;
        line-height: 33px;
    }
}

@media (min-width: 944px) and (max-width: 1066px) {
    .sector-title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (min-width: 1067px) and (max-width: 1080px) {
    .sector-title {
        font-size: 29px;
        line-height: 35px;
    }
}


@media (max-width: 1128px) {
    .sector-description {
        font-size: 16px;
        line-height: 22px;
    }

    .sector-description {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {
    .sector-description {
        line-height: 20px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .sector-button {
        width: 100%;
    }
}