
    .permits_section {
    padding: 80px 0;
    background: linear-gradient(to right, #f8fafc, #eef2f7);
}

.permits_title {
    font-weight: 700;
    color: #111827;
}

.permits_subtitle {
    color: #6b7280;
    font-size: 14px;
}

/* CARD */
.permit_card {
    position: relative;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.3s ease;
}

.permit_card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: 0.4s ease;
}

.permit_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.permit_card:hover img {
    transform: scale(1.05);
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.overlay span {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.permit_card:hover .overlay {
    opacity: 1;
}

/* 🔥 MODAL STYLE */
.image_modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.modal_content {
    max-width: 90%;
    max-height: 85vh;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close_btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}
