:root {
    --primary-color: #1a2942; /* Dark blue */
    --gold-color: #a3811c;    /* Professional gold */
    --text-color: #333;
}

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator {
    display: inline;
}
.htmx-request.htmx-indicator {
    display: inline;
}

/* Pagination Styles */
.pagination {
    --bs-pagination-color: var(--primary-color);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-color: #dee2e6;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--primary-color);
    --bs-pagination-hover-border-color: var(--primary-color);
    --bs-pagination-focus-color: var(--primary-color);
    --bs-pagination-focus-bg: #e9ecef;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(26, 41, 66, 0.25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--gold-color);
    --bs-pagination-active-border-color: var(--gold-color);
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: #dee2e6;
}

.pagination .page-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    font-weight: 600;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.follow-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--gold-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.logo {
    height: 60px;
}

.location {
    font-size: 14px;
    font-weight: 500;
}

.phone-number {
    color: var(--text-color);
    text-decoration: none;
}
.gold {
    color: var(--gold-color) !important;
}
.bg-dark-blue {
    background-color: var(--primary-color) !important;
}
.btn-consultation {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-consultation:hover {
    background: var(--primary-color);
    color: white;
}

.navbar-toggler {
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    z-index: 10001;
    border: none;
    background: none;
    padding: 0;
}

.menu-text {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    color: var(--text-color);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Reset styles when menu is closed */
.navbar-collapse:not(.show) .menu-toggle .menu-text,
.navbar-collapse:not(.show) .menu-toggle .menu-icon span {
    color: var(--text-color);
    background-color: var(--text-color);
}

/* Menu Toggle Animation */
.menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 41, 66, 0.8), rgba(26, 41, 66, 0.8)),
                url('../images/law-office-bg.jpg') center/cover;
    position: relative;
}

/* Hero Compact Section - For use between content sections */
.hero-compact {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.hero-compact-content {
    padding: 40px 20px;
    color: var(--primary-color);
}

.hero-compact-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-compact-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-compact-actions {
    margin-top: 25px;
}

.btn-compact-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn-compact-primary:hover {
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(191, 155, 48, 0.3);
    text-decoration: none;
}

.hero-compact-image-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-compact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.hero-compact-image-wrapper:hover .hero-compact-image {
    transform: scale(1.05);
}

.hero-compact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 10px;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero {
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-content {
    max-width: 600px;
    margin-left: 15%;
    color: white;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-gallery {
    background: var(--gold-color);
    border: 2px solid var(--gold-color);
    color: var(--gold-white);
    padding: 15px 30px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-gallery:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .social-sidebar {
        display: none;
    }

    .hero-content {
        margin-left: 0%;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-alternative {
        min-height: 300px;
    }
    
    .hero-alternative .hero-image-wrapper {
        height: 500px;
    }
    
    /* Compact Hero Tablet Styles */
    .hero-compact-title {
        font-size: 2.2rem;
    }
    
    .hero-compact-image-wrapper {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .location, .btn-consultation {
        display: none;
    }
    .logo {
        height: 65px;
    }
    .menu-toggle {
        margin-left: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-alternative {
        min-height: auto;
        flex-direction: column;
    }
    
    .hero-alternative .hero-content {
        padding: 60px 20px;
        text-align: center;
        order: 2;
    }
    
    .hero-alternative .hero-image-wrapper {
        height: 300px;
        order: 1;
    }
    
    /* Compact Hero Mobile Styles */
    .hero-compact {
        padding: 40px 0;
    }
    
    .hero-compact-content {
        padding: 20px;
        text-align: center;
        order: 2;
    }
    
    .hero-compact-title {
        font-size: 2rem;
    }
    
    .hero-compact-image-wrapper {
        height: 250px;
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-compact .row {
        flex-direction: column;
    }
    .navbar {
        padding: 10px 0;
    }
}

/* Update Slide Menu Styles */
.navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #000000e9;
    transition: all 0.3s ease;
    padding: 2rem;
    z-index: 9999;
    display: block !important;
    transform: none !important;
    flex-basis: auto;
    overflow: hidden;
    will-change: transform, right;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    right: 0;
    transform: translateX(0);
}

/* Overlay when menu is open */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    will-change: opacity, visibility;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close button styles */
.menu-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-close::before {
    transform: rotate(45deg);
}

.menu-close::after {
    transform: rotate(-45deg);
}

.menu-close:hover::before,
.menu-close:hover::after {
    background-color: var(--gold-color);
}

/* Show close button only when menu is open */
.navbar-collapse.show .menu-close {
    opacity: 1;
    visibility: visible;
}

/* Update menu content layout */
.menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 1rem;
    padding-bottom: 2rem;
    z-index: 9999;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

/* Menu Items Container */
.menu-items {
    padding-top: 4rem;
    padding-right: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.child a {
    color: white;
    text-decoration: none;
    font-family: 'Playfair Display', serif;   
    font-size: 1.3rem;
    line-height: 1.2;
    transition: color 0.3s ease;
    display: block;
    font-weight: 500;
    letter-spacing: 2px;
}

.child a:hover {
    color: var(--gold-color);
}

/* Menu Footer Styles */
.menu-footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
    color: white;
}

/* Adjust vertical line */
.menu-items::after {
    content: '';
    position: absolute;
    top: 0;
    right: 15%;
    width: 1px;
    height: 100%;
    background-color: var(--gold-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Update existing menu toggle styles */
.menu-toggle.active .menu-text {
    color: white;
}

.menu-toggle.active .menu-icon span {
    background-color: white;
}

/* Fix for potential layout issues */
.navbar-expand-lg .navbar-collapse {
    display: block !important;
}

/* Ensure the menu toggle is always visible */
@media (min-width: 992px) {
    .navbar-toggler {
        display: block !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }
}

/* Scrollbar Styles */
.menu-content::-webkit-scrollbar {
    width: 5px;
}

.menu-content::-webkit-scrollbar-track {
    background: #000;
}

.menu-content::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    border-radius: 4px;
}

/* Firefox scrollbar */
.menu-content {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-color) #000;
}

/* Remove height media queries that might interfere */
@media (max-height: 700px) {
    .menu-content {
        height: 100%;
    }
    
    .menu-items {
        padding-top: 4rem;
    }
}

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

/* Mobile adjustments */
@media (max-width: 576px) {
    .navbar-collapse {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .menu-items {
        gap: 1rem;
    }

    .menu-link {
        font-size: 1.3rem;
    }
}

/* Add this to ensure content is scrollable */
@media (max-height: 700px) {
    .menu-content {
        height: auto;
        min-height: unset;
        padding-bottom: 2rem;
    }
    
    .menu-items {
        margin-top: 4rem;
    }
}

/* Add to your JavaScript */

/* Services Section */
.services {
    background-color: #fff;
    position: relative;
}

.service-content {
    padding: 3rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gold-color);
    margin-bottom: 2rem;
}

.section-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-list {
    margin-bottom: 2rem;
}

.service-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 50%;
}

.btn-outline-dark {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.service-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .service-content {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-image {
        min-height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .service-list .row {
        margin-bottom: 1rem;
    }

    .service-list .col-md-6:first-child {
        margin-bottom: 1rem;
    }
}

/* Experience Section Styles */
.experience {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.experience-content {
    padding: 3rem 0 3rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--gold-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.experience-text {
    margin: 2rem 0;
}

.experience-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 50%;
}

.experience-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.experience-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 5px;
}

.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .experience-content {
        padding: 2rem 0;
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .experience-image {
        min-height: 300px;
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Case Results Section */
.case-results {
    background-color: white;
    position: relative;
}

.result-card {
    background: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.result-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-type {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-outcome {
    background: var(--gold-color);
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.result-body {
    padding: 2rem;
}

.result-body p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.result-details {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-details span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .result-card {
        margin-bottom: 2rem;
    }
    
    .result-body p {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .result-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .result-outcome {
        display: inline-block;
    }
}

@media (max-width: 575.98px) {
    .result-card {
        margin-bottom: 1.5rem;
    }
    
    .result-header {
        padding: 1rem;
    }
    
    .result-body {
        padding: 1.5rem;
    }
}


/* Video Modal Styles */
.modal-content {
    background: none;
    border: none;
}

.modal-body {
    position: relative;
    padding: 0 !important;
    border-radius: 5px;
    overflow: hidden;
}

.btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    background-color: white;
    opacity: 1;
    padding: 0.5rem;
    border-radius: 50%;
}



/* Blog Articles Section */
.blog-articles {
    background-color: white;
}

.featured-article {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.article-image {
    position: relative;
    height: 350px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content {
    padding: 2rem;
    background: white;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.featured-article .article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
    color: var(--primary-color);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateX(10px);
}

.article-thumb {
    width: 200px;
    min-width: 200px;
    height: 200px;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .article-content {
    padding: 1.5rem;
    flex: 1;
}

.article-card .article-category {
    position: static;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
}

.article-card .article-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .article-image {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .article-card {
        flex-direction: column;
        gap: 0;
    }
    
    .article-thumb {
        width: 100%;
        height: 200px;
    }
    
    .article-card .article-content {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .featured-article .article-title {
        font-size: 1.3rem;
    }
    
    .article-image {
        height: 200px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: white;
}

.footer-main {
    position: relative;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold-color);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-color);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--gold-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold-color);
}

.hours {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--gold-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .footer-title {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* Legal Information Section */
.legal-info {
    background-color: #fff;
    position: relative;
}

.text-content {
    position: relative;
    padding: 2rem 0;
}

.text-divider {
    position: relative;
    text-align: center;
    margin: 3rem 0;
}

.text-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider-icon {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: var(--gold-color);
    font-size: 1.5rem;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-block p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.content-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.4;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 50%;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.strategy-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.strategy-item:hover {
    transform: translateY(-5px);
}

.strategy-item i {
    font-size: 2rem;
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.strategy-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.strategy-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cta-block {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 5px;
}

.cta-block h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-block p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.child.sibling::marker {
    content: "";
    display: none;
    height: 0px;
}
.menu-items li{

    list-style: none;
}
.child.sibling a, .child.selected a {
    display: block;
    padding: 0px 10px;
    text-transform: uppercase;/* Adjust padding as needed */
}
/* Responsive Styles */
@media (max-width: 991.98px) {
    .content-list {
        grid-template-columns: 1fr;
    }
    
    .strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .content-block h3 {
        font-size: 1.5rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-block {
        padding: 2rem;
    }
    
    .cta-block h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .text-content {
        padding: 1rem 0;
    }
    
    .content-block {
        margin-bottom: 2rem;
    }
}

/* Testimonial Videos Section */


/* Modal Styles */
.modal-content {
    background: none;
    border: none;
}

.modal-body {
    position: relative;
    padding: 0 !important;
    border-radius: 5px;
    overflow: hidden;
}

.btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    background-color: white;
    opacity: 1;
    padding: 0.5rem;
    border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        padding: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .client-name {
        font-size: 1.1rem;
    }
    
    .case-type {
        font-size: 0.8rem;
    }
    
    .testimonial-overlay {
        padding: 1rem;
    }
}



/* Accordion Styles */
.accordion {
    --bs-accordion-color: var(--text-color);
    --bs-accordion-bg: white;
    --bs-accordion-border-color: rgba(26, 41, 66, 0.1);
    --bs-accordion-btn-color: var(--primary-color);
    --bs-accordion-btn-bg: white;
    --bs-accordion-btn-focus-border-color: var(--gold-color);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(191, 155, 48, 0.25);
    --bs-accordion-active-color: white;
    --bs-accordion-active-bg: var(--primary-color);
}

/* Law Category Section Styles */
.law-category-section {
    padding: 2rem 0;
}

.category-header {
    margin-bottom: 3rem;
}

.category-header .section-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-header .section-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Enhanced Accordion Button Styles */
.accordion-button-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.accordion-button i {
    color: var(--gold-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) i {
    color: white;
}

.accordion-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Law Content Styles */
.law-content {
    color: var(--text-color);
    line-height: 1.7;
}

.law-content p {
    margin-bottom: 1rem;
}

.law-content h1, .law-content h2, .law-content h3, 
.law-content h4, .law-content h5, .law-content h6 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.law-content ul, .law-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.law-content li {
    margin-bottom: 0.5rem;
}

/* SEO and Accessibility Enhancements */
.law-category-section[itemscope] {
    outline: none;
}

.law-category-section h1.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Ensure proper focus indicators for accessibility */
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(191, 155, 48, 0.25);
    outline: none;
}

.accordion-button:focus-visible {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

/* Screen reader only text for better accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced semantic structure */
.law-category-section article {
    margin-bottom: 0.5rem;
}

.law-category-section article:last-child {
    margin-bottom: 0;
}

/* Tax Code Specific Enhancements */
.law-category-section[itemscope] {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.8) 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem 0;
}

.law-category-section h1.section-title::before {
    content: "§ ";
    color: var(--gold-color);
    font-weight: 700;
}

.law-category-section .accordion-item {
    border-left: 4px solid var(--gold-color);
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(26, 41, 66, 0.1);
    transition: all 0.3s ease;
}

.law-category-section .accordion-item:hover {
    box-shadow: 0 4px 12px rgba(26, 41, 66, 0.15);
    transform: translateY(-1px);
}

.law-category-section .accordion-button i {
    color: var(--gold-color);
    font-size: 1.2rem;
}

.law-category-section .accordion-button:not(.collapsed) i {
    color: white;
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

/* Tax Code Content Styling */
.law-content {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #2c3e50;
}

.law-content h1, .law-content h2, .law-content h3, 
.law-content h4, .law-content h5, .law-content h6 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid var(--gold-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.law-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.law-content strong, .law-content b {
    color: var(--primary-color);
    font-weight: 600;
}

.law-content em, .law-content i {
    color: var(--gold-color);
    font-style: italic;
}

/* Tax Code Section Numbers */
.law-content h1::before,
.law-content h2::before {
    content: "§ ";
    color: var(--gold-color);
    font-weight: 700;
}

/* Professional Legal Document Styling */
.law-content blockquote {
    border-left: 4px solid var(--gold-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    background: rgba(191, 155, 48, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0 0.25rem 0.25rem 0;
}

.law-content code {
    background: rgba(26, 41, 66, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

.law-content pre {
    background: rgba(26, 41, 66, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(26, 41, 66, 0.1);
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* No Laws Message */
.no-laws-message {
    background: rgba(26, 41, 66, 0.05);
    border-radius: 0.5rem;
    border: 1px dashed rgba(26, 41, 66, 0.2);
}

.accordion-button {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:hover:not(.collapsed) {
    background-color: var(--primary-color);
    opacity: 0.9;
}

.accordion-button.collapsed:hover {
    background-color: rgba(26, 41, 66, 0.05);
}

.accordion-body {
    padding: 1.25rem;
    color: var(--text-color);
    line-height: 1.6;
}

.accordion-item {
    border: 1px solid rgba(26, 41, 66, 0.1);
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
    overflow: hidden;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.accordion-item:last-of-type {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* Paragraph Link Styles */
p a {
    color: var(--gold-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Also style links in other text containers */
.accordion-body a,
.content-block a,
.article-excerpt a,
.section-text a,
.experience-text a,
.result-body a {
    color: var(--gold-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.accordion-body a:hover,
.content-block a:hover,
.article-excerpt a:hover,
.section-text a:hover,
.experience-text a:hover,
.result-body a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Shine Frame Effect */
.shine-frame {
    position: relative;
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.shine-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(191, 155, 48, 0.2),  /* Gold color with opacity */
        rgba(26, 41, 66, 0.2),   /* Primary color with opacity */
        rgba(191, 155, 48, 0.2)  /* Gold color with opacity */
    );
    border-radius: 8px;
    z-index: -1;
    animation: shine 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shine-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: shine-move 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shine-frame:hover::before,
.shine-frame:hover::after {
    opacity: 1;
}

.shine-frame img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.shine-frame:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine-move {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Variations of the shine frame */
.shine-frame.small {
    padding: 5px;
}

.shine-frame.large {
    padding: 15px;
}

.shine-frame.no-scale:hover img {
    transform: none;
}

.shine-frame.dark {
    background: var(--primary-color);
}

.shine-frame.dark img {
    filter: brightness(1.1);
}

/* Law Accordion Responsive Styles */
@media (max-width: 767.98px) {
    .category-header .section-title {
        font-size: 2rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .accordion-button i {
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .law-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .category-header .section-title {
        font-size: 1.8rem;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .accordion-button i {
        font-size: 0.9rem;
        margin-right: 0.75rem !important;
    }
} 