:root {
    --bg-topbar: #0a0a0a;
    --bg-navbar: #121212;
    --text-white: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #262626;
    --accent-gold: #d4af37;
    /* Optional accent */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: var(--text-white);
}

.text-justify{
    text-align: justify !important;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Top Bar Styling */
.top-header {
    background-color: var(--bg-topbar);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.top-header a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-header a:hover {
    color: var(--text-white);
}

/* Navbar Styling */
.navbar {
    background-color: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.navbar-brand .logo-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-white);
}

.navbar-brand .logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 12px;
    margin-right: 12px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white) !important;
}

/* White underline hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-white);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Action Button */
.btn-contrast {
    background-color: var(--text-white);
    color: #000000;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: 1px solid var(--text-white);
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.btn-contrast:hover {
    background-color: transparent;
    color: var(--text-white);
}




/* ================= UPDATED HIGH-CONTRAST HEADER STYLES ================= */
.hero-fixed-bg {
    position: relative;
    min-height: 100vh;
    background-image: url('../../images/cover_home_new.png'), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Darker upper overlay for 100% text readability, fading to white at the bottom */
.hero-fade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(11, 15, 25, 0.88) 0%,
            /* Deep dark top for crisp white text */
            rgba(11, 15, 25, 0.75) 40%,
            rgba(11, 15, 25, 0.45) 65%,
            rgba(255, 255, 255, 0.85) 90%,
            /* Smooth transition to page body */
            #ffffff 100%
            /* Solid white bottom edge */
        );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Crisp text colors */
.hero-title-white {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-sub-gold {
    color: #e5be48 !important;
    font-weight: 600;
}

.hero-lead-white {
    color: #e2e8f0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.8;
}

.badge-hero-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.btn-light-contrast {
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #ffffff;
    transition: all 0.25s ease;
}

.btn-light-contrast:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}





/* ================= ABOUT US SECTION STYLES ================= */
.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-subtle);
    max-width: 240px;
    z-index: 2;
}

/* Mobile fix for floating card */
@media (max-width: 991px) {
    .about-floating-card {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -30px;
        margin-left: 20px;
        max-width: calc(100% - 40px);
    }
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--brand-gold-subtle);
    border: 1px solid var(--brand-gold-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box i {
    color: var(--brand-gold);
    font-size: 1.1rem;
}

.quote-box {
    background-color: var(--bg-surface);
    border-left: 4px solid var(--brand-gold);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
}



/* ================= SERVICES / PRACTICE AREAS STYLES ================= */
.practice-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-gold, #c59b27), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.practice-card:hover {
    border-color: var(--brand-gold, #c59b27);
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(197, 155, 39, 0.15);
}

.practice-card:hover::before {
    opacity: 1;
}

.practice-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-gold-subtle, rgba(197, 155, 39, 0.12));
    border: 1px solid var(--brand-gold-border, rgba(197, 155, 39, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold, #c59b27);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.practice-card:hover .practice-icon-wrapper {
    background: var(--brand-gold, #c59b27);
    color: #ffffff;
    transform: scale(1.05);
}

.practice-num {
    font-family: var(--font-heading, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted, #94a3b8);
    letter-spacing: 0.05em;
}

.practice-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--bg-surface, #f8fafc);
    border: 1px solid var(--border-subtle, #e2e8f0);
    color: var(--text-secondary, #475569);
}

.consult-banner-box {
    background: linear-gradient(135deg, var(--brand-dark, #0b0f19) 0%, #1e293b 100%);
    border-radius: 18px;
    border: 1px solid rgba(197, 155, 39, 0.3);
}









/* ================= TEAM & ADVOCATES SECTION STYLES ================= */
.team-card-modern {
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.team-card-modern:hover {
    border-color: var(--brand-gold, #c59b27);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(197, 155, 39, 0.18);
}

.team-avatar-frame {
    width: 108px;
    height: 108px;
    margin: 0 auto 1.25rem;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--brand-gold, #c59b27), transparent);
}

.team-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 2px solid #ffffff;
}

.team-role-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 6px;
    background-color: var(--brand-gold-subtle, rgba(197, 155, 39, 0.12));
    color: #785300;
    border: 1px solid var(--brand-gold-border, rgba(197, 155, 39, 0.35));
}

.team-footer-meta {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle, #e2e8f0);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-gold, #c59b27);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}



/* Gallery Card Styling */
.gallery-item-card {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    background-color: #f8fafc;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, rgba(11, 15, 25, 0.75) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-hover-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #c59b27;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transform: translateY(12px) scale(0.85);
    transition: all 0.3s ease;
}

.gallery-item-card:hover {
    transform: translateY(-4px);
    border-color: #c59b27;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.15);
}

.gallery-item-card:hover img {
    transform: scale(1.06);
}

.gallery-item-card:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item-card:hover .gallery-hover-icon {
    transform: translateY(0) scale(1);
}

.gallery-item-extra {
    display: none;
}

/* Fallback Backdrop when Bootstrap JS is missing */
.custom-modal-backdrop-fallback {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1050;
}






/* ================= CLIENTS & PARTNERS STYLES ================= */
.partner-logo-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 14px;
    height: 100px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.partner-logo-card:hover {
    border-color: var(--brand-gold, #c59b27);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(197, 155, 39, 0.15);
}

.partner-logo-img {
    max-height: 42px;
    max-width: 85%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-card:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

.confidential-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-surface, #f8fafc);
    border: 1px solid var(--border-subtle, #e2e8f0);
    padding: 8px 18px;
    border-radius: 50rem;
    color: var(--text-secondary, #475569);
    font-size: 0.8rem;
}


/* ================= CONTACT SECTION STYLES ================= */
.contact-card-modern {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-modern:hover {
    border-color: var(--brand-gold, #c59b27);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(197, 155, 39, 0.14);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-gold-subtle, rgba(197, 155, 39, 0.12));
    border: 1px solid var(--brand-gold-border, rgba(197, 155, 39, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold, #c59b27);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.form-box-white {
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05);
}

.form-input-clean {
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: #0f172a;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.form-input-clean:focus {
    background-color: #ffffff;
    border-color: var(--brand-gold, #c59b27);
    box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.15);
    outline: none;
}

.fullwidth-map-frame {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
}