html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Page background */
body {
    background: var(--primary-background);
}

/* ===== MAIN PAGE ===== */
.criminal-page {
    margin-top: 5.5rem; /* header space */
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

/* Heading */
.criminal-page h1 {
    font-family: var(--heading-font);
    font-size: 2rem;
    text-align: center;
    margin: 0 0 1rem 0;
    padding: 0 1rem;
}

.criminal-page h4 {
    font-family: var(--nav-head-font);
    font-size: 1rem;
    text-align: center;
    margin: 0 0 2rem 0;
    font-weight: 300;
}

/* ===== PRACTICE BOXES ===== */
.practice-area {
    width: 90%;
    max-width: 900px;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: 2rem;
    background: var(--primary-gradient);
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.practice-area:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(0,0,0,0.30);
}

.place-link {
    text-decoration: none;
    color: black;
    font-family: var(--primary-main-font);
    font-size: 1rem;
    font-weight: bold;
    display: block;
    text-align: center;
}

.place-link:hover {
    text-decoration: underline;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.waBook {
    position: fixed;
    right: 2%;
    bottom: 2%;
    z-index: 999;
}

/* only if not already in index.css */
.fixedWa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-decoration: none;
}

.waLogo {
    display: block;
    width: 35px;
    height: auto;
}

.fixedWa span {
    background-color: #00da54;
    border: 2px solid #ffffff;
    font-size: .875rem;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 1rem;
    font-family: "Reem Kufi Fun", sans-serif;
    color: white;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .criminal-page {
        margin-top: 5.2rem;
        padding: 1rem;
    }

    .criminal-page h1 {
        font-size: 1.3rem;
    }

    .criminal-page h4 {
        font-size: 0.85rem;
    }

    .practice-area {
        width: 95%;
        padding: 1.2rem;
        margin: 0.8rem auto;
    }

    .place-link {
        font-size: 0.85rem;
    }

    .waBook {
        right: 1%;
        bottom: 1%;
    }

    .waLogo {
        width: 30px;
    }

    .fixedWa span {
        font-size: 0.75rem;
    }
}
/* Text + location icon wrapper */
.place-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Location icon */
.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.location-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.location-icon:hover img {
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
    .place-wrapper {
        gap: 0.5rem;
    }

    .location-icon img {
        width: 34px;
        height: 34px;
    }
}