html, body {
    height: 100%;
}

body {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 60px;
}

main {
    flex: 1;
}

footer {
    background: #f8f9fa;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
 

}
:root {
    --lawbird-red: #e02e2a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #333;
    padding-top: 80px;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* pushes footer to the bottom */
}

.hero {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .hero p {
        color: #666;
        font-size: 1rem;
        max-width: 600px;
        margin: 15px auto;
    }

.btn-red {
    background: var(--lawbird-red);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid #333;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

    .section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    background: #fff;
}

    .card h3 {
        color: var(--lawbird-red);
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

footer {
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    width: 100%;
}

    footer .brand {
        font-weight: 800;
        font-size: 1.4rem;
    }

        footer .brand span:first-child {
            color: #000;
        }

        footer .brand span:last-child {
            color: var(--lawbird-red);
        }

.button-group {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.btn-red,
.btn-outline {
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* Red Button */
.btn-red {
    background-color: #e02e2a;
    color: #fff;
}

/* Outline Button */
.btn-outline {
    border: 2px solid #e02e2a;
    color: #e02e2a;
}



.navbar-brand h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.nav-link:hover {
    color: #e02e2a !important;
    transition: color 0.2s ease;
}

.dropdown-menu {
    border-radius: 10px;
    min-width: 200px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.btn-outline-danger {
    border-radius: 30px;
    transition: all 0.2s ease;
}

    .btn-outline-danger:hover {
        background-color: #e02e2a;
        color: #fff;
    }

.navbar {
    height: 70px;
    z-index: 1030;
}

.navbar-nav .nav-link {
    transition: color 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: #e02e2a !important;
    }

.dropdown-menu {
    border-radius: 12px;
    border: none;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem;
    }
}
.profile-img {
    border: 2px solid #e02e2a; /* colored border to match brand */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .profile-img:hover {
        transform: scale(1.1); /* slightly zoom on hover */
        box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* deeper shadow on hover */
        cursor: pointer;
    }
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}
/* Mobile responsiveness tweaks */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }

    h5 {
        font-size: 1.1rem;
    }

    .btn {
        font-size: 0.85rem;
    }
}
.case-card {
    transition: all 0.2s ease-in-out;
}

    .case-card:hover {
        transform: scale(1.01);
    }

.case-header {
    cursor: pointer;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}

.next-date-box {
    min-width: 90px;
}

.case-details {
    flex: 1;
    padding-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .case-details p {
        font-size: 14px;
    }

    .next-date-box h4 {
        font-size: 20px;
    }
}