
body {
    padding-top: 100px; /* Adjust padding to match the header height and prevent content overlap */
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa; /* Light background for contrast */
    overflow-x: hidden; /* Prevent horizontal scrollbar during menu transition */
}

/* Custom Header Styling - Matches PDF's top bar color */
.law-firm-header {
    background-color: #37373f; /* Dark background similar to PDF */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    /*position: relative; /* For z-index context */
    position: fixed; /* Make the header fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* Ensure header is above overlay */
}

.law-firm-logo {
    display: flex; /* Use flexbox for centering text */
    align-items: center; /* Vertically center text */
    height: 100%; /* Ensure it takes full height of its container for centering */
}

/* Styling for the text logo */
.law-firm-logo a {
    color: #b49c73; /* Gold/brown color from your contact info */
    font-size: 1.8rem; /* Larger font size for prominence */
    font-weight: 700; /* Bold font weight */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease;
}

.law-firm-logo a:hover {
    color: #f8c253; /* Slightly brighter gold on hover */
}

/* Contact Info Styling - Top Row */
.top-contact-info {
    font-size: 0.85rem;
    color: #b49c73; /* Gold/brown text for contact info */
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    padding-bottom: 5px; /* Space between contact info and menu */
    border-bottom: 1px solid #b49c73; /* Subtle separator */
    margin-bottom: 5px;
}

.top-contact-info a {
    color: #b49c73;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.top-contact-info a:hover {
    color: #b49c73; /* Maintain color, but increase size */
    font-size: 0.95rem; /* Slightly larger on hover */
}

.top-contact-info .fas {
    margin-right: 5px;
    color: #b49c73;
}

/* Main Navigation Styling - Desktop */
.main-nav-bar {
    background-color: transparent; /* Transparent as it's part of the header */
    padding: 0;
}

.main-nav-bar .navbar-nav {
    width: 100%;
    justify-content: flex-end; /* Align menu items to the right */
    flex-wrap: wrap;
}

.main-nav-bar .nav-link {
    color: #b49c73 !important; /* Gold/brown text for menu items */
    font-weight: 500;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 3px;
    position: relative; /* For the interactive effect */
}

.main-nav-bar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white background on hover */
    color: #f8c253 !important; /* Brighter gold on hover */
}

/* Interactive Border Bottom Effect */
.main-nav-bar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #f8c253; /* Gold/Yellow color from PDF */
    transition: width 0.3s ease-out, left 0.3s ease-out;
}

.main-nav-bar .nav-link:hover::after,
.main-nav-bar .nav-link.active::after {
    width: 100%;
    left: 0;
}
.main-nav-bar .nav-link.dropdown-toggle::after{
    display: none;
}

/* Active link styling */
.main-nav-bar .nav-link.active {
    color: #f8c253 !important; /* Gold/Yellow for active link */
    font-weight: 600;
}

/* Navbar Toggler Icon Color */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Off-canvas menu specific styles */
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -280px; /* Hidden off-screen to the left */
    width: 280px; /* Width of the off-canvas menu */
    height: 100%;
    background-color: #343a40; /* Same dark background as header */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3); /* Shadow to the right */
    transition: left 0.3s ease-in-out; /* Smooth slide transition */
    z-index: 1040; /* Higher than header and overlay */
    padding-top: 60px; /* Space for fixed header if needed */
    overflow-y: auto; /* Enable scrolling for long menus */
}

.offcanvas-menu.show {
    left: 0; /* Slide into view from the left */
}

.offcanvas-open {
    overflow: hidden; /* Prevent body scroll when off-canvas is open */
}

.offcanvas-menu .nav-link {
    padding: 15px 20px;
    color: #b49c73 !important; /* Mobile menu links now match desktop */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block; /* Make links block-level for full width tap area */
    font-weight: 500;
}

.offcanvas-menu .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f8c253 !important; /* Brighter gold on hover */
}

.offcanvas-menu .nav-link.active {
    color: #f8c253 !important;
    background-color: rgba(255, 255, 255, 0.05);
}

.offcanvas-menu .dropdown-menu {
    background-color: #2a2e33; /* Slightly darker for dropdowns */
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.offcanvas-menu .dropdown-item {
    color: #b49c73; /* Dropdown items also match theme */
    padding: 10px 30px; /* Indent dropdown items */
    transition: background-color 0.3s ease;
}

.offcanvas-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #f8c253; /* Brighter gold on hover */
}

/* Overlay for when off-canvas menu is open */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1035; /* Between header and off-canvas menu */
    display: none; /* Hidden by default */
}

.offcanvas-overlay.show {
    display: block; /* Show when menu is open */
}

/* Close button for off-canvas menu */
.offcanvas-close-btn {
    position: absolute;
    top: 15px;
    right: 20px; /* Changed from 'left' to 'right' for better placement */
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 1050;
    transition: color 0.2s ease;
}

.offcanvas-close-btn:hover {
    color: #f8c253;
}

/* Responsive adjustments */
@media (min-width: 992px) { /* Desktop and larger */
    .offcanvas-menu,
    .offcanvas-overlay,
    .offcanvas-close-btn {
        display: none !important; /* Hide off-canvas elements on desktop */
    }
    .main-nav-bar .navbar-collapse {
        display: flex !important; /* Ensure desktop menu is always visible */
    }
    .navbar-toggler { /* Hide toggler on desktop */
        display: none !important;
    }
}

@media (max-width: 991.98px) { /* Medium devices and smaller */
    body {
        padding-top: 80px; /* Adjust padding for smaller screens where header might be shorter */
    }
    /* Ensure logo and toggler are aligned on one line and logo is centered */
    .col-md-12.d-flex.justify-content-between.align-items-center {
        justify-content: center !important; /* Center the logo and toggler container */
        position: relative; /* For absolute positioning of toggler */
    }
    .law-firm-logo {
        flex-grow: 1; /* Allow logo div to take available space */
        justify-content: center; /* Center the text inside the logo div */
        text-align: center; /* Fallback for older browsers */
    }
    .navbar-toggler {
        position: absolute; /* Position toggler absolutely */
        left: 15px; /* Align to the left */
        top: 50%; /* Vertically center */
        transform: translateY(-50%); /* Adjust for vertical centering */
        display: block; /* Ensure toggler is visible on mobile */
    }
    .top-contact-info {
        justify-content: center; /* Center contact info on small screens */
        border-bottom: none; /* Remove separator on small screens */
        margin-bottom: 10px;
    }
    .top-contact-info a {
        margin: 0 10px; /* Adjust spacing for smaller screens */
    }
    .main-nav-bar .navbar-nav {
        /* Not applicable for off-canvas mobile menu */
    }
    .main-nav-bar .nav-link {
        /* Not applicable for off-canvas mobile menu */
    }
    .main-nav-bar .navbar-collapse {
        display: none; /* Hide default collapse on mobile */
    }
}

@media (max-width: 767.98px) { /* Small devices and smaller */
    .law-firm-logo a {
        font-size: 1.5rem; /* Slightly smaller font for very small screens */
    }
    .top-contact-info {
        flex-direction: column; /* Stack contact info vertically */
        align-items: center;
    }
    .top-contact-info a {
        margin: 5px 0; /* Vertical spacing */
    }
}


/* New styles for the banner section */
.banner-carousel {
    margin-top: 0; /* Remove default margin from jumbotron */
    position: relative;
}

.carousel-item {
    height: 500px; /* Fixed height for banners, adjust as needed */
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden; /* Hide overflow for animations */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/ /* Ensure image covers the area without distortion */
    animation: imageFadeIn 1s ease-out forwards; /* Image loading effect */
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 5rem;
    padding-left: 30rem;
    color: #b49c73;
    /*text-shadow: 2px 2px 4px; /* Stronger text shadow for readability */
    display: flex; /* Enable flexbox for positioning content */
    flex-direction: column;
    justify-content: center; /* Default to center */
    align-items: center; /* Default to center */
    text-align: center; /* Default to center */
    /*background-color: rgba(0, 0, 0, 0.2); /* Subtle overlay for text readability */
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}
.carousel-caption h1:hover {
    font-size: 2.9rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeInUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.carousel-caption .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeInUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    background-color: #b49c73; /* Button color matching theme */
    border-color: #b49c73;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.carousel-caption .btn:hover {
    background-color: #4a3304; /* Brighter gold on hover */
    border-color: #f8c253;
    transform: translateY(-2px);
}

/* Positioning for carousel captions */
.caption-left {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 10%; /* Adjust as needed */
    padding-right: 10%;
}

.caption-right {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding-left: 10%;
    padding-right: 10%; /* Adjust as needed */
}

/* Animations */
@keyframes imageFadeIn {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes textFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments for banners */
@media (max-width: 767.98px) {
    .carousel-item {
        height: 300px; /* Smaller height for mobile */
    }
    .carousel-caption h5 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    /* Adjust padding for captions on small screens */
    .carousel-caption.caption-left,
    .carousel-caption.caption-right {
        padding-left: 5%;
        padding-right: 5%;
    }
}


/* Disclaimer Modal Specific Styles */
#disclaimerModal .modal-content {
    border-radius: 8px;
    background-color: #37373f; /* Dark background */
    color: #ffffff; /* White text */
    border: 1px solid #b49c73; /* Gold border */
    /* Add animation properties */
    transform: scale(0.9); /* Start slightly smaller */
    opacity: 0; /* Start invisible */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* Smooth transition */
}

#disclaimerModal.show .modal-content {
    transform: scale(1); /* Scale to normal size */
    opacity: 1; /* Fade in */
}

#disclaimerModal .modal-header {
    border-bottom: 1px solid #b49c73;
    padding: 15px 20px;
}

#disclaimerModal .modal-title {
    color: #f8c253; /* Gold title */
    font-weight: 600;
    text-align: center; /* Centered disclaimer heading */
}

#disclaimerModal .modal-body {
    padding: 20px;
    line-height: 1.6;
    max-height: 60vh; /* Default max-height for scrolling on all screens (60% of viewport height) */
    overflow-y: auto; /* Enable vertical scrolling */
    background-color: #37373f; /* Ensure background color is explicitly set here too for robustness */

}
#disclaimerModal .modal-body p{
    text-align: justify;
    font-size: 0.7rem;
}

/* Hide modal footer buttons initially */
#disclaimerModal .modal-footer.hide-buttons {
    display: none;
}

#disclaimerModal .modal-footer {
    border-top: 1px solid #b49c73;
    padding: 15px 20px;
    justify-content: center; /* Center buttons */
}

#disclaimerModal .btn-agree {
    background-color: #b49c73;
    border-color: #b49c73;
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease; /* Added transform */
}

#disclaimerModal .btn-agree:hover {
    background-color: #f8c253;
    border-color: #f8c253;
    transform: translateY(-2px); /* Subtle lift on hover */
}

#disclaimerModal .btn-disagree {
    background-color: transparent;
    border-color: #b49c73;
    color: #b49c73;
    font-weight: 600;
    margin-left: 15px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* Added transform */
}

#disclaimerModal .btn-disagree:hover {
    background-color: rgba(180, 156, 115, 0.1);
    color: #f8c253;
    transform: translateY(-2px); /* Subtle lift on hover */
}

/* Responsive adjustments for modal body height */
@media (max-width: 767.98px) { /* Tablets and smaller */
    #disclaimerModal .modal-body {
        max-height: 65vh; /* Adjust max-height for tablets */
    }
}

@media (max-width: 575.98px) { /* Phones and smaller */
    #disclaimerModal .modal-body {
        max-height: 75vh; /* Further adjust max-height for phones */
    }
}


/* Aboutus Page section */
#aboutus-section p{
    text-align: justify;
}
#aboutus-section p span{
    color: #503404;
    font-weight: bolder;
    font-size: x-large;
}
@media(max-width: 425px){
    #aboutus-section{
        margin-top: 3rem;
    } 
}



/* Footer Styling */
        .law-firm-footer {
            background-color: #37373f; /* Dark background from design */
            color: #b49c73; /* Gold text for general footer elements */
            padding: 45px 0 20px 0; /* Padding top, bottom, and sides */
            font-size: 0.9rem;
            margin-top: 40px;
        }

        /* Top Row Contact Info Styling */
        .law-firm-footer .footer-contact-row {
            align-items: stretch; /* Make columns stretch to equal height */
        }

        .law-firm-footer .footer-contact-item {
            background-color: #37373f; /* Dark background for each contact box */
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
            height: 100%; /* Ensure it takes full height of stretched column */
            display: flex; /* For icon and text alignment */
            align-items: flex-start; /* Align items to the top (icon and text) */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
        }

        .law-firm-footer .footer-contact-item:hover {
            transform: translateY(-5px); /* Lift effect on hover */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
        }

        .law-firm-footer .footer-contact-item .icon-box {
            background-color: #b49c73;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background-color 0.3s ease;
        }

        .law-firm-footer .footer-contact-item .icon-box:hover {
            background-color: #f8c253;
        }

        .law-firm-footer .footer-contact-item .icon-box i {
            color: #37373f;
            font-size: 1.8rem;
            transition: transform 0.3s ease;
        }

        .law-firm-footer .footer-contact-item:hover .icon-box i {
            transform: scale(1.1);
        }

        .law-firm-footer .footer-contact-item .info-details {
            margin-left: 15px;
            text-align: left;
            flex-grow: 1;
        }

        .law-firm-footer .footer-contact-item h5 {
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .law-firm-footer .footer-contact-item p,
        .law-firm-footer .footer-contact-item a {
            color: #b49c73;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease, font-size 0.3s ease;
        }

        .law-firm-footer .footer-contact-item:hover p,
        .law-firm-footer .footer-contact-item:hover a {
            font-size: 1.05rem;
            color: #f8c253;
        }
        .law-firm-footer .footer-contact-item a:hover {
            color: #f8c253;
        }

        .law-firm-footer .footer-main-content {
            padding-top: 30px;
            border-top: 1px solid rgba(180, 156, 115, 0.2);
        }

        .law-firm-footer h4 {
            color: #f8c253;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
        }

        .law-firm-footer h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 50px;
            height: 2px;
            background-color: #b49c73;
        }

        /* Styling for "Concord Legal" in footer */
        .law-firm-footer .footer-logo-text {
            color: #b49c73;
            font-size: 2.2rem;
            font-weight: 700;
            text-decoration: none;
            margin-bottom: 10px;
            display: inline-block;
        }
        .law-firm-footer .footer-logo-text::after {
            display: none;
        }


        .law-firm-footer .footer-about p {
            color: #e0e0e0;
            line-height: 1.7;
            margin-bottom: 10px;
        }

        .law-firm-footer .social-links {
            margin-top: 20px;
        }

        .law-firm-footer .social-links a {
            display: inline-flex;
            width: 38px;
            height: 38px;
            background-color: #b49c73;
            color: #37373f;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .law-firm-footer .social-links a:hover {
            background-color: #f8c253;
            color: #ffffff;
        }

        .law-firm-footer .footer-nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        .law-firm-footer .footer-nav-menu li {
            margin-bottom: 10px;
            margin-right: 20px;
        }

        .law-firm-footer .footer-nav-menu li:last-child {
            margin-right: 0;
        }

        .law-firm-footer .footer-nav-menu li a {
            color: #e0e0e0;
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
            padding-left: 0;
        }

        .law-firm-footer .footer-nav-menu li a::before {
            display: none;
        }

        .law-firm-footer .footer-nav-menu li a.active {
            color: #f8c253;
            font-weight: 600;
        }

        .law-firm-footer .footer-nav-menu li a:hover {
            color: #f8c253;
        }

        .law-firm-footer .footer-bottom {
            border-top: 1px solid rgba(180, 156, 115, 0.2); /* Separating line */
            padding-top: 20px;
            margin-top: 30px;
            text-align: center; /* Center copyright text */
            color: #e0e0e0;
        }

        .law-firm-footer .footer-bottom p {
            margin-bottom: 0;
        }

        .law-firm-footer .footer-bottom a {
            color: #f8c253;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .law-firm-footer .footer-bottom a:hover {
            color: #b49c73;
        }

        /* Removed LLM Feature Section styles */
        /* .llm-feature-section { ... } */
        /* .llm-feature-section h2 { ... } */
        /* .llm-feature-section p { ... } */
        /* .llm-feature-section .form-group { ... } */
        /* .llm-feature-section .form-control { ... } */
        /* .llm-feature-section .btn-explain { ... } */
        /* .llm-feature-section .btn-explain:hover { ... } */
        /* .llm-explanation-area { ... } */
        /* .llm-explanation-area.loading { ... } */
        /* .llm-explanation-area.loading::before { ... } */
        /* @keyframes spin { ... } */


        /* Responsive Adjustments for Footer */
        @media (min-width: 992px) { /* Desktop and larger */
            /* Ensure footer navigation is visible on desktop */
            .law-firm-footer .footer-links {
                display: block !important;
            }
            .law-firm-footer .footer-nav-menu {
                justify-content: flex-start;
            }
            .law-firm-footer .footer-main-content .col-lg-4 {
                margin-bottom: 0;
            }
        }

        @media (max-width: 991.98px) { /* Medium devices and smaller */
            .law-firm-footer .footer-contact-row {
                flex-direction: column;
            }
            .law-firm-footer .footer-contact-row > div {
                width: 100%;
                max-width: 400px;
                margin-left: auto;
                margin-right: auto;
            }
            .law-firm-footer .footer-contact-item {
                margin-bottom: 20px;
            }
            .law-firm-footer .footer-main-content .col-lg-4,
            .law-firm-footer .footer-main-content .col-md-6,
            .law-firm-footer .footer-main-content .col-md-12 {
                margin-bottom: 40px;
                text-align: center;
            }
            .law-firm-footer h4::after {
                left: 50%;
                transform: translateX(-50%);
            }
            .law-firm-footer .footer-logo-text {
                text-align: center;
            }
            .law-firm-footer .social-links {
                justify-content: center;
                display: flex;
            }
            .law-firm-footer .footer-links {
                display: none !important;
            }
        }

        @media (max-width: 767.98px) { /* Small devices and smaller */
            .law-firm-footer {
                padding: 30px 0 15px 0;
            }
            .law-firm-footer .footer-contact-info .col-md-4 {
                margin-bottom: 20px;
            }
            .law-firm-footer h4 {
                font-size: 1.1rem;
                margin-bottom: 20px;
            }
            .law-firm-footer .footer-main-content .col-lg-4,
            .law-firm-footer .footer-main-content .col-md-6,
            .law-firm-footer .footer-main-content .col-md-12 {
                margin-bottom: 30px;
            }
        }





        #appointment-section{
            background-color: #b49c73;
        }
        #appointment-section .bg-dark-cl{
            background-color: #37373f !important;
            border-color: #37373f !important;
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
            transition: all 0.3s ease; /* Updated transition to include background and transform */
        }
        #appointment-section .bg-dark-cl:hover {
            box-shadow: 0 15px 30px rgba(0,0,0,0.5);
            background-color: #4b4b4b !important; /* Slightly lighter background on hover */
            transform: translateY(-5px); /* Subtle lift effect on hover */
        }
        #appointment-section .bg-dark-cl h2{
            color:#b49c73;
        }
        #appointment-section .appointment-btn{
            background-color: #4b4b4b !important;
            color: #b49c73;
            transition: all 0.3s ease;
        }
        #appointment-section .appointment-btn:hover {
            background-color: #747171 !important;
            transform: scale(1.02);
            color: #f8c253;
        }
        .form-control:focus {
            box-shadow: 0 0 0 0.2rem rgba(180, 156, 115, 0.5);
        }

















 /* Practice Areas Section Styles */
        .practice-areas-section {
            background-color: #4b4b4b;
        }
        .practice-areas-header .text-gold {
            font-size: 1rem;
            font-weight: 500;
        }
        .practice-areas-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
        }
        
        /* Carousel Wrapper and Button Styles */
        .practice-area-card-container-wrapper {
            position: relative;
            overflow: hidden; /* This hides the cards outside the visible area */
            padding: 0 40px; /* Space for buttons */
        }
        .practice-area-card-container {
            display: flex;
            gap: 1.5rem;
            scroll-behavior: smooth;
            overflow-x: auto; /* Enables scrolling */
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .practice-area-card-container::-webkit-scrollbar {
            display: none;
        }
        .practice-area-card {
            flex: 0 0 calc(33.333% - 1rem); /* Show 3 cards with gaps on large screens */
            background-color: #37373f;
            padding: 2rem;
            border-radius: 1rem;
            text-align: center;
            border: 1px solid #b49c73;
            transition: transform 0.3s ease;
        }
        .practice-area-card:hover {
            transform: translateY(-10px);
        }
        
        /* Card content styling */
        .practice-area-card .icon-circle {
            width: 80px;
            height: 80px;
            background-color: #b49c73;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 1rem;
        }
        .practice-area-card .icon-circle i {
            color: #37373f;
            font-size: 2.5rem;
        }
        .practice-area-card h4 {
            color: #b49c73;
            font-weight: 700;
        }

        /* Navigation Button Styles */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(180, 156, 115, 0.8);
            color: #37373f;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
        }
        .carousel-btn:hover {
            background-color: #f8c253;
        }
        .carousel-btn.left {
            left: 0;
        }
        .carousel-btn.right {
            right: 0;
        }
        .carousel-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .carousel-btn {
                top: calc(50% + 15px);
            }
            .practice-area-card {
                /* On screens smaller than large, show 2 cards */
                flex: 0 0 calc(50% - 0.75rem);
            }
        }
        @media (max-width: 767.98px) {
             .practice-areas-section .col-lg-7 {
                padding-left: 0;
                padding-right: 0;
            }
            .practice-area-card {
                /* On extra small screens, show 1 card */
                flex: 0 0 100%;
            }
        }


/* ====================================
           Content Section
           ==================================== */
        .expertise-header {
            padding: 80px 0 40px;
            background-color: #4b4b4b;
        }
        .expertise-header h1 {
            font-weight: 700;
            color: #b49c73;
            font-size: 3rem;
        }
        .expertise-grid-section {
            background-color: #37373f;
            padding-bottom: 80px;
        }
        .expertise-card {
            background-color: #4b4b4b;
            padding: 2rem;
            border-radius: 1rem;
            text-align: center;
            border: 1px solid #b49c73;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 1.5rem;
        }
        .expertise-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .expertise-card .icon-circle {
            width: 80px;
            height: 80px;
            background-color: #b49c73;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 1.5rem;
        }
        .expertise-card .icon-circle i {
            color: #37373f;
            font-size: 2.5rem;
        }
        .expertise-card h4 {
            color: #b49c73;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .expertise-card h5 {
            color: #b49c73;
            margin-bottom: 1rem;
        }    
        .expertise-card p {
            color: #ccc;
            font-size: 0.9rem;
            height: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 4; /* Limit to 4 lines */
            -webkit-box-orient: vertical;
        }
        .expertise-card .read-more-btn {
            color: #f8c253;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        .expertise-card .read-more-btn:hover {
            text-decoration: underline;
        }


#advisory p.lead, #advisory ul.scope li{
    text-align: justify;
}



/* Basic Toast Styling for visibility */
#toastMessage .toast-header {
    background-color: #37373f;
    color: #b49c73;
    border-bottom: 1px solid #b49c73;
}
#toastMessage .toast-body {
    background-color: #4b4b4b;
    color: #ccc;
}
#toastMessage .close {
    color: #ccc;
}