body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #172038;
}
.sidebar {
    width: 200px;
    background:white;
    color:black;
    
    position: fixed;
    height: 100%;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}
.sidebar .profile-section {
    padding: 20px 0;
}
.sidebar h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.sidebar a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 15px 9px;
    /* margin-bottom: 10px; */
    border: 1px solid white;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
}   
.sidebar a:hover, .sidebar a.active {
    background: #607d8b;
    color:white;
    border: 1px solid white;
}
.sidebar .dropdown .dropdown-toggle {
    color: black;
    text-decoration: none;
    display: block;
    padding: 15px 9px;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
}
.sidebar .dropdown .dropdown-toggle:hover, .sidebar .dropdown .dropdown-toggle.active {
    background: #607d8b;
    color: white;
}
.sidebar .dropdown-menu {
    background: white;
    border: none;
    box-shadow: none;
    padding: 0;
    position: static; /* Ensure the dropdown expands downwards */
    display: none; /* Hide dropdown by default */
}
.sidebar .dropdown-menu.show {
    display: block; /* Show dropdown when expanded */
}
.sidebar .dropdown-menu .dropdown-item {
    color: black;
    padding: 15px 9px;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
}
.sidebar .dropdown-menu .dropdown-item:hover, .sidebar .dropdown-menu .dropdown-item.active {
    background: #607d8b;
    color: white;
}
.content {
    margin-left: 206px;
    padding: 20px;
    margin-top: 56px; /* Adjusted to avoid overlap with navbar */
    overflow-y: auto;
    background-color: #ffffff;
}
.navbar {
    background-color:#607d8b;
    color: white;
}
.navbar .navbar-brand {
    color: white;
    font-size: 1.25rem;
}
.navbar .dropdown-menu {
    right: 0;
    left: auto;
}
.profile-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.form-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.form-section label {
    font-size: 1rem;
}
.form-section .form-control {
    font-size: 1rem;
    background-color: #ffffff;
    color: #172038;
    border: 1px solid #ddd;
}
.form-section .form-control:focus {
    background-color: #ffffff;
    color: #172038;
    border: 1px solid #172038;
}
.form-section .btn {
    font-size: 1rem;
    background-color: #172038;
    color: white;
    border: none;
}
.form-section .btn:hover {
    background-color: #0f1524;
}
.hero-section {
    display: flex;
    align-items: center;
    height: 100vh;
    background: #212529;
    color: white;
    padding: 50px 20px;
}
.hero-content h1 {
    font-weight: 700;
    font-size: 3rem;
}
.hero-content .highlight {
    font-weight: bold;
}
.btn-custom {
    background-color: #172038;
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}
.btn-custom:hover {
    background-color: #0f1524;
}
.image-container img {
    width: 100%;
    border-radius: 0 50px 50px 0;
}
.social-icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}
.social-icons a:hover {
    color: white;
}
@media (max-width: 991px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 50px 20px;
    }
    .image-container {
        border-radius: 50px; /* Curve all around for mobile */
    }
    .image-container img {
        border-radius: 50px;
    }
    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
}
/* Styling for the About Section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    color: #172038;
}
.about-image {
    overflow: hidden;
    text-align: center;
}
.about-image img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}
/* Legal Practice Areas Section */
.practice-area {
    padding: 15px 20px;
    border-radius: 10px;
    color: #172038;
}
.practice-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}
.practice-card a {
    text-decoration: none;
    color: inherit;
}
/* Statistics Section */
.stats-section {
    background: #f8f9fa;
    color: #172038;
    padding: 27px 0;
    text-align: center;
}
.stat-box {
    padding: 20px;
}
.stat-number {
    font-size: 2rem;
    font-weight: bold;
}
.news-section {
    padding: 50px 0;
    color: #172038;
}
.news-card {
    background: #ffffff;
    padding: 20px;
    box-shadow: 1px 2px 6px #b1a6a6;
}
.news-card:hover {
    /* transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); */
}
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.news-card h5 {
    margin-top: 15px;
    font-size: 1.0rem;
}
.news-card p {
    font-size: 0.9rem;
    color: #666;
}
.news-card a {
    text-decoration: none;
    color: #172038;
    font-weight: 12px;
}
.news-card a:hover {
    color: white;
}
.practice-card .colored-div {
    background-color: #e0e0e0;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}
.oo {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin: 1px 1px;
}
.oo:hover {
    background: #9e9e9e66;
}
.practice-area .row {
    display: flex;
    flex-wrap: wrap;
}
.practice-area .oo {
    flex: 1 1 calc(20% - 10px);
    margin: 5px;
}
@media (max-width: 768px) {
    .practice-area .oo {
        flex: 1 1 calc(33.33% - 10px);
    }
}
@media (max-width: 576px) {
    .practice-area .oo {
        flex: 1 1 calc(50% - 10px);
    }
}
/* Styling for Sections */
.news-section, .consultation-section, .testimonial-section, .footer-section {
    padding: 50px 0;
}
/* News Section */
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.news-card {
    padding: 20px;
    box-shadow: 1px 2px 6px #b1a6a6;
}
.news-card a {
    text-decoration: none;
    color: #172038;
}
/* Consultation Section */
.consultation-box {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}
.consultation-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.consultation-form .form-control {
    background-color: #ffffff;
    color: #172038;
    border: 1px solid #ddd;
}
.consultation-form .form-control:focus {
    background-color: #ffffff;
    color: #172038;
    border: 1px solid #172038;
}
.consultation-form .btn {
    background-color: #172038;
    color: white;
    border: none;
}
.consultation-form .btn:hover {
    background-color: #0f1524;
}
/* Testimonial Section */
.testimonial-box {
    text-align: center;
}
.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.location-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.btn-primary{
    background-color: #607d8b;
    border: none;
}

.btn-primary:hover{
    background-color: #607d8b;
    
}