
/* ================= HERO BASE ================= */
.hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    height: 350px;
    background: url("/_layouts/15/MunicipalityJazan.NewPortal/img/ThinkPlat/Gdx2SdGWEAAuPyM.png") center / cover no-repeat;
}

/* Overlay */
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(17, 62, 45, 0.85) 0%,
        rgba(17, 62, 45, 0.55) 40%,
        rgba(17, 62, 45, 0.15) 70%,
        rgba(17, 62, 45, 0) 100%
    );
}

.hero-text {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    z-index: 2;
}

.hero-text .kicker {
    font-size: 24px;
    opacity: .85;
}

.hero-text h1 {
    font-size: 60px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
}

.hero-pill-btn {
    position: absolute;
    bottom: 22px;
    left: 24px;
    background: #25935F;
    color: #fff;
    padding: 10px 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    z-index: 3;
}

.pill-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
}
.hero-pill-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #25935F;
    color: #fff;
    padding: 12px 28px;
    
    box-shadow: 0 0 0 10px #fff; 
    
    border-radius: 50px; 
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
    transform-style: preserve-3d;
}

.hero-pill-btn::before {
    content: "";
    position: absolute;
    top: -40px; 
    left: -10px;
    width: 30px;
    height: 30px;
    background: transparent;
    border-radius: 0 0 0 35px; 
    box-shadow: -10px 10px 0 10px #fff; 
    
    transform: translateZ(-1px);
    z-index: -1;
}

.hero-pill-btn::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -40px; 
    width: 30px;
    height: 30px;
    background: transparent;
    border-radius: 0 0 0 35px;
    box-shadow: -10px 10px 0 10px #fff;
    transform: translateZ(-1px);
    z-index: -1;
}

.pill-icon {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= MOBILE DESIGN (FIXED) ================= */
@media (max-width: 768px) {

    
   .hero-image {
        height: 300px;

       
        clip-path: inset(0 round 20px);
    }

    .hero-text {
        top: auto;
        bottom: 140px;
        right: 20px;
        text-align: right;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    /* .hero-pill-btn {
        left: 50%;
        transform: translateX(-50%);
        bottom: 16px;
    } */

}
   /* ====== Cards row ====== */
        .cards-row {
            margin-top: 14px;
            gap: 14px;
        }

        .mini-card {
            position: relative;
            border-radius: 14px;
            padding: 18px 18px 16px;
            min-height: 150px;
            overflow: hidden;
        }


        .mini-card .icon {
            position: absolute;
            left: 14px;
            top: 14px;
            width: 42px;
            height: 42px;
            border-radius: 999px;
            border: 1px solid #25935F;
            color: #25935F;
            display: grid;
            place-items: center;
            z-index: 1;
        }

        .mini-card .icon:hover {
            background-color: #25935F;
            color: #fff;
        }

        .mini-card h3 {
            color: #25935F;
            margin: 0;
            font-weight: 800;
            font-size: 38px;
            letter-spacing: .2px;
        }

        .mini-card p {
            margin: 10px 0 0;
            color: #171817;
            font-size: 13px;
            font-weight: 500;
            line-height: 1.5;
            max-width: 90%;
        }

.custom-card {
            background-color: #EEF5F1;
            border: none;
            border-radius: 20px;
            padding: 25px;
            position: relative;
            max-width: 450px;
            transition: all 0.3s ease;
        }

       

        .card-header-custom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .arrow-icon-wrapper {
            width: 40px;
            height: 40px;
            border: 1.5px solid #25935F;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
            color: #25935F;
        }

        .arrow-icon-wrapper i {
            font-size: 30px;
        }

        .arrow-icon-wrapper:hover {
            background-color: #25935F;
            color: #fff;
        }

        .location-info {
            text-align: right;
            color: #BDBDBD;
            font-size: 0.95rem;
        }

        .location-info i {
            margin-left: 5px;
            font-size: 1.2rem;
        }

        .card-title-custom {
            color: #25935F;
            font-size: 26px;
            font-weight: 500;
            line-height: 1.4;
            margin-bottom: 40px;
            text-align: right;
        }

        .card-footer-custom {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #727272;
            
        }

        .comment-icon {

            display: flex;
            align-items: center;
            justify-content: center;
        }

        .comment-count {
            font-size: 16px;
            font-weight: 400;
        }
.map-card {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: none;
}

.map-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-card{
    border-radius: 18px;
    overflow: hidden;
}
.photo-card::after{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.15) 65%
    );

    z-index: 1;
}


.photo-like,
.photo-info{
    position: absolute;
    z-index: 2;
}
.photo-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-like{
    position: absolute;
    top: 14px;
    left: 14px;

    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 6px 10px;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 13px;
    color: #7B7B7B;
}

.photo-like.active{
    color: #E74C3C;
}

.photo-like {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.photo-like .like-count {
    color: #727272; 
    font-size: 14px;
}

.photo-like i {
    color: #7b7b7b;
    transition: color .2s ease;
}

.photo-like.active i {
    color: #e63946;
}


.photo-info{
    position: absolute;
    bottom: 14px;
    right: 14px;
    color: #fff;
    font-size: 16px;
    text-align: right;
}

.photo-info .small{
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
}

