* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #faf9f8;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
}

/* ----- navbar: white bg, black text, logo original ----- */
.navbar {
    background-color: #ffffff !important;
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: none !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.3rem;
    color: #0b1a2e !important;
}

.navbar-brand:hover {
    color: #0b1a2e !important;
}

.navbar-logo {
    height: 48px;
    width: auto;
}

.navbar .nav-link {
    color: #1a1a1a !important;
    font-weight: 500;
    padding: 8px 16px;
    transition: 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #c0392b !important;
    background: rgba(192, 57, 43, 0.06);
    border-radius: 6px;
}

.navbar .btn-danger {
    background-color: #c0392b;
    border: none;
    padding: 8px 28px;
    font-weight: 500;
    border-radius: 40px;
    letter-spacing: 0.5px;
    color: #fff !important;
}

.navbar .btn-danger:hover {
    background-color: #a93226;
    color: #fff !important;
}

.navbar-toggler {
    border-color: #0b1a2e;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11, 26, 46, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ----- hero ----- */
.hero {
    background-image: url('TRS Fam.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.hero .btn-danger {
    background-color: #c0392b;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.hero .btn-danger:hover {
    background-color: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 57, 43, 0.3);
}

.hero .btn-outline-light {
    border-width: 2px;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ----- about ----- */
.list-group-item {
    background: transparent;
    border: none;
    padding-left: 0;
    font-weight: 500;
}

/* ----- practice cards ----- */
.service-card {
    background: #fff;
    border: none;
    border-radius: 24px;
    padding: 24px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

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

.service-card i {
    font-size: 4rem;
}

/* ----- counters ----- */
.counter {
    background: #790303;
    color: #fff;
    padding: 60px 0;
}

.counter h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
}

.counter p {
    font-size: 1.1rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* ----- attorneys ----- */
/* Add to your style.css */
.attorney {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    cursor: pointer;
}

.attorney:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.attorney img {
    height: 300px;
    object-fit: cover;
}

.attorney .badge {
    font-size: 0.7rem;
    opacity: 0.8;
    transition: 0.3s;
}

.attorney:hover .badge {
    opacity: 1;
}

/* Modal styles */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 2px solid #f0ede9;
    background: #faf9f8;
    border-radius: 20px 20px 0 0;
}

.modal-footer {
    border-top: 2px solid #f0ede9;
    background: #faf9f8;
    border-radius: 0 0 20px 20px;
}

#modalAttorneyImage {
    border: 3px solid #c0392b;
    padding: 3px;
}

#modalAttorneyDetails p {
    padding: 8px 0;
    border-bottom: 1px solid #f0ede9;
    margin: 0;
}

#modalAttorneyDetails p:last-child {
    border-bottom: none;
}

/* ----- consultation ----- */
.consultation {
    background: #f0ede9;
}

.consultation .form-control {
    border: none;
    border-radius: 30px;
    padding: 14px 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.consultation .btn-danger {
    border-radius: 40px;
    padding: 14px;
    font-weight: 600;
    background: #c0392b;
    border: none;
}

/* ----- footer ----- */
footer {
    background: #0b1a2e;
    color: #ddd;
    padding: 50px 0 30px;
}

footer h3,
footer h4 {
    color: #fff;
    font-family: 'Playfair Display', serif;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer hr {
    border-color: #2c3e50;
}

footer .bi {
    margin-right: 8px;
    color: #c0392b;
}

/* ----- responsive ----- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

    .hero .btn-danger,
    .hero .btn-outline-light {
        padding: 10px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-logo {
        height: 38px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
        min-height: 100vh;
    }

    .hero .btn-danger,
    .hero .btn-outline-light {
        display: block;
        width: 100%;
        margin: 8px 0 !important;
    }

    .counter h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .lead {
        font-size: 1rem;
    }
}