.navbar {
    position: fixed;
    width: 100%;
    z-index: 10;
    background: transparent;
    transition: background-color 0.3s ease;
}

.navbar li {
    font-size: 18px;
}

.bright-logo {
    height: 40px;
    width: 60px;
    filter: brightness(2) contrast(1.2);
    transition: filter 0.3s ease-in-out;
}

.navbar.scrolled .bright-logo {
    filter: brightness(2) contrast(1.3);
}

.navbar.scrolled {
    background-color: #4B2C82 !important;
}

.navbar.scrolled a:hover {
    color: #fff !important;
}

.nav-link:hover {
    color: #4B2C82 !important;
}

.banner {
    height: 100vh;
    background: url('assets/banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.stats-box {
    background: #4B2C82;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 30px 10px;
    margin-top: -80px;
    position: relative;
    z-index: 3;

}

.stat-item h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
}

.stat-item p {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-top: 5px;
    font-size: 1rem;
}

.call-btn {
    background-color: #4B2C82;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.call-btn:hover {
    background-color: #267a88;
    color: #fff;
}

.btn {
    background-color: #4B2C82;
    color: #fff;
    border: 1px solid #fff;
    font-size: 18px;
    border-radius: 30px;
    padding: 5px 15px 5px 15px;
}

.btn:hover {
    background-color: #267a88;
    color: #fff;
}

.service-btn:hover {
    background-color: #fff !important;
    color: #000;
}

.practice-areas .text-primary {
    color: #4B2C82 !important;
}

.practice-card {
    position: relative;
    background: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s;
}

.practice-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #4B2C82;
    z-index: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease-in-out;
}

.practice-card i,
.practice-card h5,
.practice-card p {
    position: relative;
    z-index: 1;
    color: #4B2C82;
    transition: color 0.3s;
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-card:hover::before {
    transform: scaleY(1);
}

.practice-card:hover i,
.practice-card:hover h5,
.practice-card:hover p {
    color: #fff;
}

.practice-card .btn {
    position: relative;
    z-index: 2;
    border: 2px solid #4B2C82;
    color: #fff;
    background-color: #4B2C82;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* On hover – button should be visible */
.practice-card:hover .btn {
    background-color: #fff;
    color: #4B2C82 !important;
    border-color: #fff;
}

.all-categories-btn {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 30px;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.all-categories-btn:hover {
    background-color: #4B2C82;
    color: #fff;
}

.why-choose-us {
    background: url('assets/why-choose-bg.png') center/cover no-repeat;
    position: relative;
}

.why-choose-us i {
    background-color: #8d76b5;
    border-radius: 50%;
    width: 120px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-choose-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: #4B2C82;
    letter-spacing: 2px;
}

.feature-box i {
    color: #4B2C82;
    transition: transform 0.3s;
}

.feature-box:hover i {
    transform: scale(1.2);
}

.feature-box h5 {
    color: #fff;
}

.feature-box p {
    color: #ddd;
}

.expert-team .text-primary {
    color: #4B2C82 !important;
}

.team-card {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-card img {
    width: 100%;
}

.reviews-section {
    background: url('assets/reviews-bg.png') center/cover no-repeat;
    position: relative;
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.reviews-section .container {
    position: relative;
    z-index: 2;
}

.reviews-section .text-primary {
    color: #4B2C82 !important;
}

.testimonial p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial i {
    color: #4B2C82;
}

.testimonial img {
    border: 2px solid #4B2C82;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.contact-section {
    background-color: #f7f7f7;
    color: #4B2C82 !important;
}

.contact-section .form-control {
    background: transparent;
    border: 1px solid #4B2C82;
    color: #fff;
}

.contact-section .form-control::placeholder {
    color: #1a1919;
}

.contact-info i {
    color: #4B2C82;
    border: 1px solid #4B2C82;
    padding: 20px;
}

.btn-outline-light:hover {
    background-color: #4B2C82;
    border-color: #4B2C82;
}

.form-select {
    background: transparent;
    color: #000;
    border: 1px solid #4B2C82;
}

.form-select option {
    background-color: #1d1b20;
    color: #fff;
}

.footer-section {
    background-color: #4B2C82;
}

.footer-section h5,
.footer-section h4 {
    color: #fff;
}

.footer-section i{
    color: #fff !important;
}

.footer-section .social-icons a {
    color: #fff;
    font-size: 1.2rem;
}

.footer-section .social-icons a:hover {
    color: #4B2C82;
}

.about-hero {
    position: relative;
    background: url('assets/about-banner.png') center/cover no-repeat;
    min-height: 400px;
    padding: 100px 0;
    z-index: 0;
}

.about-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.about-hero .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
    z-index: 2;
}

/* Active breadcrumb text glow */
.breadcrumb .active {
    color: #4B2C82;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        0 0 1px #fff,
        0 0 1px #fff;
}

/* Remove glow from the separator ( / ) */
.breadcrumb-item+.breadcrumb-item::before {
    text-shadow: none !important;
}


.about-hero .breadcrumb-item a:hover {
    color: #4B2C82;
}

.about-content h2 {
    color: #4B2C82;
}

.subscribe-section {
    background-color: #FFF;
    color: #4B2C82 !important;
}

.subscribe-section input {
    border: none;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.subscribe-section button {
    background-color: #4B2C82;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s;
}

.subscribe-section button:hover {
    background-color: transparent;
    color: #4B2C82;
    border: 1px solid #4B2C82;
}

/* Navbar adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        gap: 1rem !important;
    }

    .navbar-collapse {
        background-color: #4B2C82;
        padding: 1rem;
        border-radius: 8px;
    }

    .navbar-toggler {
        border: none;
        outline: none;
    }
}

/* Stats Section */
@media (max-width: 768px) {
    .stats .stat-item {
        margin-bottom: 20px;
        text-align: center;
    }

    .stats .row {
        text-align: center;
    }
}

/* Banner text responsiveness */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-content .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Practice cards on small screens */
@media (max-width: 576px) {
    .practice-card {
        padding: 20px;
    }

    .practice-card i {
        font-size: 1.5rem;
    }

    .practice-card h5 {
        font-size: 1rem;
    }
}