/* =========================================================
   HERO (Bootstrap-based, aligned with DE structure)
   ========================================================= */

.hero {
    min-height: 320px;
}

@media (min-width: 992px) {
    .hero .hero-pad {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

.hero-bg {
    object-fit: cover;
    opacity: 0.5;
    pointer-events: none;
}

.hero-text {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    font-family: "BMitra", sans-serif;
}

.hero-name {
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.35rem 0;
    font-family: "BMitra", sans-serif;
}

.hero-logo {
    width: 44px;
    height: auto;
}

@media (max-width: 575.98px) {
    .hero-logo {
        width: 32px;
    }
}

.hero-lines {
    line-height: 1.8;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    font-family: "BMitra", sans-serif;
}

.hero-portrait {
    width: min(420px, 90%);
    height: auto;
    border: 10px solid #ffffff;
}

.hero-cta-main {
    background-color: grey;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    min-width: 140px;
    font-weight: 400;
    font-family: "BMitra", sans-serif;
}

.hero-cta-arrow {
    background-color: black;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    min-width: 42px;
}

.hero-cta-main:hover {
    background-color: grey;
    color: #78f140;
}

.hero-cta-arrow:hover {
    background-color: white;
    color: black;
}

@media (max-width: 991.98px) {
    .hero .hero-text {
        max-width: 100%;
    }
}

/* =========================================================
   SLOGAN
   ========================================================= */

@media screen and (max-width: 950px) {
    .secondDiv {
        padding-top: 2%;
    }

    .secondDiv > div {
        display: block;
        width: 90%;
        margin: 0 5% 0 5%;
    }

    .slogan,
    .description {
        text-align: right;
    }
}

@media screen and (min-width: 951px) {
    .secondDiv {
        display: flex;
        justify-content: center;
        width: 80%;
        margin: 0 10% 0 10%;
    }

    .secondDiv > div {
        width: 54%;
        margin-right: 5%;
        margin-top: 2%;
        text-align: right;
    }
}

.slogan {
    line-height: 1.6em;
    font-family: "BMitra", sans-serif;
}

.description {
    line-height: 1.7em;
    font-family: "BMitra", sans-serif;
}

.description b,
.description strong {
    font-weight: 700;
    color: #1f1f1f;
    background: linear-gradient(transparent 72%, rgba(40, 75, 99, 0.14) 0);
    padding: 0 0.08em;
    border-radius: 2px;
}

/* =========================================================
   SERVICES PREVIEW
   ========================================================= */

.services {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-top: 5%;
    padding-bottom: 5%;
    background-color: #d9d9d9;
}

.services-preview {
    padding-bottom: 0;
}

.services-head {
    width: min(92%, 980px);
    margin: 0 auto 1.5rem auto;
    text-align: right;
}

.services-head h3 {
    font-family: "BMitra", sans-serif;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.services-lead {
    font-family: "BMitra", sans-serif;
    line-height: 1.8;
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    margin: 0;
    text-align: right;
}

.firstServicesDiv {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 80%;
    margin: 1% 10%;
}

.firstServicesDiv div {
    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
    width: 30%;
    margin: 1%;
    min-height: 100px;
}

.firstServicesDiv div img {
    margin-bottom: 5%;
    width: 100%;
    height: auto;
}

.firstServicesDiv h5 {
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: "BMitra", sans-serif;
}

.firstServicesDiv div h5 a,
.firstServicesDiv div h5 a:visited {
    color: #353535;
    text-decoration: none;
}

.firstServicesDiv div h5 a:hover {
    color: #8a8989;
}

.services-contact {
    margin-top: 2rem;
    padding: 3rem 0;
    width: 100%;
    background-color: #3c6e71;
    color: #ffffff;
}

.services-contact p {
    width: min(88%, 980px);
    margin: 0 auto 1.2rem auto;
    text-align: right;
    line-height: 1.9;
    font-size: clamp(1rem, 1.65vw, 1.35rem);
    font-family: "BMitra", sans-serif;
}

@media screen and (max-width: 950px) {
    .firstServicesDiv {
        flex-direction: column;
        width: 90%;
        margin: 0 5%;
    }

    .firstServicesDiv div {
        width: 100%;
        margin: 4% 0 0 0;
    }

    .services-contact {
        padding: 2.2rem 0;
    }
}
