/* fonts */
@font-face {
    font-family: "serenity-thin";
    src: url("../fonts/fonnts.com-Serenity_Thin.otf");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "serenity-light";
    src: url("../fonts/fonnts.com-Serenity_Light.otf");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "serenity-extra-light";
    src: url("../fonts/fonnts.com-Serenity_Extra_Light.otf");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "serenity-medium";
    src: url("../fonts/fonnts.com-Serenity_Medium.otf");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "serenity-demi-bold";
    src: url("../fonts/fonnts.com-Serenity_Demi_Bold.otf");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "warnock-pro";
    src: url("../fonts/fonnts.com-Warnock-Pro-.otf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "warnock-pro";
    font-weight: 400;
}

.serenity-thin {
    font-family: "serenity-thin";
    font-weight: 200;
}

.serenity-extra-light {
    font-family: "serenity-extra-light";
    font-weight: 300;
}

.serenity-light {
    font-family: "serenity-light";
    font-weight: 400;
}

.serenity-medium {
    font-family: "serenity-medium";
    font-weight: 500;
}

.serenity-demi-bold {
    font-family: "serenity-demi-bold";
    font-weight: 600;
}

.warnock-pro {
    font-family: "warnock-pro";
    font-weight: 400;
}

.theme-six-primary-color {
    color: #07606d;
}

.theme-six-forest-green {
    color: #105249;
}

.theme-six-forest-green-bg {
    background-color: #105249;
}

.theme-six-forest-green-border {
    border-color: #105249;
}

/* wrapper crops shadow on sides/top, allows bottom shadow */
.logo-wrapper {
    position: absolute;
    left: 30px;
    top: 43px;
    z-index: 3;
    display: inline-block;
}

/* reusable shadow effect */
.theme-six-shadow-box {
    overflow: hidden;
    padding-bottom: 20px; /* space for bottom shadow */
}

.theme-six-shadow-box img {
    filter: drop-shadow(0 5px 22px rgba(0, 0, 0, 0.2))
        drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
}

/* curved PNG shadow (respects transparency) */
.curved-bottom-shadow {
    display: block;
    height: 98px;
    width: auto;
    filter: drop-shadow(0 1px 15px rgba(0, 0, 0, 0.06));
}
.hero-section-4 {
    height: 940px;
    background: url(../assets/user-front/images/hero-img-4.png) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: start;
    padding-top: 140px;
    color: white;
}

.hero-section-4 h1 {
    font-family: "serenity-thin", sans-serif;
    font-weight: 200 !important;
    font-size: 64px;
    line-height: 1.2;
    letter-spacing: 0px;
    color: white;
}

.hero-section-4 h1 span {
    font-family: "warnock-pro", serif;
    font-weight: 600 !important;
    font-style: italic;
    font-size: 64px;
    line-height: 50px;
    letter-spacing: -1px;
    color: white;
}

.hero-section-4 p {
    display: block; /* ensures it's a block element */
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.9rem; /* increase spacing for readability */
    margin: 0.5rem 0; /* add space between paragraphs */
    font-family: "serenity-thin", sans-serif;
}

.section-theme-six {
    span.section-theme-six_subtitle {
        font-weight: 300;
        font-style: Light;
        font-size: 14px;
        leading-trim: NONE;
        line-height: 19.5px;
        letter-spacing: 0%;
        vertical-align: middle;
    }
    h2.section-theme-six_title {
        font-weight: 200;
        font-style: Extra Light;
        font-size: 39.84px;
        leading-trim: NONE;
        line-height: 37px;
        letter-spacing: 1px;
        vertical-align: middle;
        text-transform: capitalize;
    }
    p.section-theme-six_description {
        font-weight: 300;
        font-style: Light;
        font-size: 18px !important;
        leading-trim: NONE;
        line-height: 19.5px !important;
        letter-spacing: 0%;
        vertical-align: middle;
    }
}
.card-theme-six {
    display: flex;
    align-items: flex-end;
    height: 190px;
    position: relative;
    transition: all 0.3s ease-in-out;
    span.card-theme-six_date {
        font-weight: 300;
        font-style: Light;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 18px;
        letter-spacing: 0%;
    }
    img.card-theme-six_cover {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        height: 241px;
        top: 9835px;
        left: 311px;
        border-width: 1px;
        angle: 0 deg;
        opacity: 1;
        border-radius: 20px;
        border: 1px solid #105249 !important;
        transition: all 0.3s ease-in-out;
    }
    h2.card-theme-six_title {
        font-weight: 300;
        font-style: Light;
        font-size: 32px;
        line-height: 31px !important;
        letter-spacing: 0.5px;
        vertical-align: middle;
        text-transform: capitalize;
        height: 132px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
    p.card-theme-six_description {
        font-weight: 300;
        font-style: Light;
        font-size: 18px;
        line-height: 18px;
        letter-spacing: 0%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    &:hover {
        transform: translateY(-5px);
        img.card-img-top {
            border-color: #0d4038;
        }
    }
}

/* Service Card Color Overlays */
.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.overlay-1 {
    background: linear-gradient(
        0deg,
        rgba(7, 96, 109, 0.8) 0%,
        rgba(7, 96, 109, 0.4) 30%,
        rgba(7, 96, 109, 0.1) 70%,
        transparent 100%
    );
}
.overlay-2 {
    background: linear-gradient(
        0deg,
        rgba(0, 100, 200, 0.8) 0%,
        rgba(0, 100, 200, 0.4) 30%,
        rgba(0, 100, 200, 0.1) 70%,
        transparent 100%
    );
}
.overlay-3 {
    background: linear-gradient(
        0deg,
        rgba(255, 140, 0, 0.8) 0%,
        rgba(255, 140, 0, 0.4) 30%,
        rgba(255, 140, 0, 0.1) 70%,
        transparent 100%
    );
}
.overlay-4 {
    background: linear-gradient(
        0deg,
        rgba(0, 150, 150, 0.8) 0%,
        rgba(0, 150, 150, 0.4) 30%,
        rgba(0, 150, 150, 0.1) 70%,
        transparent 100%
    );
}
.overlay-5 {
    background: linear-gradient(
        0deg,
        rgba(139, 69, 19, 0.8) 0%,
        rgba(139, 69, 19, 0.4) 30%,
        rgba(139, 69, 19, 0.1) 70%,
        transparent 100%
    );
}
.overlay-6 {
    background: linear-gradient(
        0deg,
        rgba(75, 0, 130, 0.8) 0%,
        rgba(75, 0, 130, 0.4) 30%,
        rgba(75, 0, 130, 0.1) 70%,
        transparent 100%
    );
}
.overlay-7 {
    background: linear-gradient(
        0deg,
        rgba(220, 20, 60, 0.8) 0%,
        rgba(220, 20, 60, 0.4) 30%,
        rgba(220, 20, 60, 0.1) 70%,
        transparent 100%
    );
}
.overlay-8 {
    background: linear-gradient(
        0deg,
        rgba(25, 25, 112, 0.8) 0%,
        rgba(25, 25, 112, 0.4) 30%,
        rgba(25, 25, 112, 0.1) 70%,
        transparent 100%
    );
}
.overlay-9 {
    background: linear-gradient(
        0deg,
        rgba(0, 128, 0, 0.8) 0%,
        rgba(0, 128, 0, 0.4) 30%,
        rgba(0, 128, 0, 0.1) 70%,
        transparent 100%
    );
}
.overlay-10 {
    background: linear-gradient(
        0deg,
        rgba(255, 69, 0, 0.8) 0%,
        rgba(255, 69, 0, 0.4) 30%,
        rgba(255, 69, 0, 0.1) 70%,
        transparent 100%
    );
}

.place-card:hover .color-overlay {
    opacity: 0;
}

/* Text color utilities */
.text-white {
    color: white !important;
}
