/* ==========================================================================
   PREMIUM LAW FIRM WEBSITE DESIGN SYSTEM
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #0B1F33;
    /* Deep Navy Blue */
    --secondary-color: #172A3A;
    /* Dark Slate/Charcoal Blue */
    --accent-color: #B08D57;
    /* Muted Gold */
    --accent-hover: #967443;
    /* Deeper Gold */
    --bg-light: #F7F5F0;
    /* Warm Ivory/Off-white */
    --dark-color: #111111;
    /* Deep Dark Charcoal */
    --white: #FFFFFF;
    --text-muted: #6C757D;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 30px rgba(11, 31, 51, 0.08);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
html,
body {
    font-family: var(--font-sans);
    color: var(--dark-color);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: auto !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--primary-color);
}

p {
    color: #444444;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-color);
}

.text-gold {
    color: var(--accent-color) !important;
}

.bg-navy {
    background-color: var(--primary-color) !important;
}

.bg-slate {
    background-color: var(--secondary-color) !important;
}

.bg-warm-ivory {
    background-color: var(--bg-light) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Reading Progress Bar (for articles) */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: var(--accent-color);
    width: 0%;
    z-index: 1060;
    transition: width 0.1s ease;
}

/* ==========================================================================
   BUTTONS (Slightly Squared, Elegant)
   ========================================================================== */
.btn-legal {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-legal-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: 1px solid var(--primary-color);
}

.btn-legal-primary:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    border-color: var(--accent-color);
}

.btn-legal-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-legal-gold {
    background-color: var(--accent-color);
    color: var(--white) !important;
    border: 1px solid var(--accent-color);
}

.btn-legal-gold:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
}

.btn-legal-light {
    background-color: var(--white);
    color: var(--primary-color) !important;
    border: 1px solid var(--white);
}

.btn-legal-light:hover {
    background-color: transparent;
    color: var(--white) !important;
    border-color: var(--accent-color);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
/* Top bar */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(176, 141, 87, 0.2);
    padding: 0.5rem 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar a:hover {
    color: var(--accent-color);
}

/* Sticky Navbar */
.navbar-custom {
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 1000;
    top: 0;
}

@media (min-width: 768px) {
    .navbar-custom {
        top: 41px;
        /* Sits below the desktop top bar */
    }
}

.navbar-custom.navbar-scrolled {
    padding: 0.8rem 0;
    background-color: var(--primary-color) !important;
    border-bottom: 1px solid rgba(176, 141, 87, 0.3);
    box-shadow: var(--shadow-medium);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

.navbar-brand-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    letter-spacing: 0.05em;
}

.navbar-brand-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    display: block;
    margin-top: -3px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem !important;
    position: relative;
    white-space: nowrap;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active,
.navbar-custom .nav-item.active>.nav-link {
    color: var(--accent-color) !important;
}

/* Underline link effect */
.navbar-custom .nav-link::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover::before,
.navbar-custom .nav-link.active::before,
.navbar-custom .nav-item.active>.nav-link::before {
    width: calc(100% - 2rem);
}

/* Desktop Hover Dropdown Menu */
@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0;
        animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown toggle underline width correction */
.navbar-custom .dropdown-toggle:hover::before,
.navbar-custom .dropdown-toggle.active::before,
.navbar-custom .nav-item.active>.dropdown-toggle::before {
    width: calc(100% - 2.6rem);
}

/* Dropdown Menu Styling & Unified Hover Effect */
.navbar-custom .dropdown-menu {
    background-color: #0b1928 !important;
    border: 1px solid rgba(176, 141, 87, 0.4) !important;
    border-radius: 4px !important;
    margin-top: 0 !important;
    padding: 0.5rem 0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    display: block;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: absolute;
}

/* Hover bridge to prevent losing hover state when moving cursor */
.navbar-custom .dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.navbar-custom .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.navbar-custom .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 0.65rem 1.4rem !important;
    transition: all 0.25s ease-in-out !important;
    border-left: 3px solid transparent !important;
    white-space: nowrap;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus,
.navbar-custom .dropdown-item.active {
    background-color: rgba(176, 141, 87, 0.15) !important;
    color: #b08d57 !important;
    border-left-color: #b08d57 !important;
    padding-left: 1.7rem !important;
}

/* Inner pages header version (always scrolled state colors but starting fresh) */
.navbar-custom.navbar-inner-page {
    background-color: var(--primary-color) !important;
    border-bottom: 1px solid rgba(176, 141, 87, 0.3);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 140px;
    padding-bottom: 100px;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.95) 0%, rgba(23, 42, 58, 0.8) 100%);
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.hero-desc {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
}

/* Inner Page Banner */
.page-banner {
    position: relative;
    padding: 180px 0 100px 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 31, 51, 0.95) 0%, rgba(23, 42, 58, 0.9) 100%);
    z-index: 1;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollAnimation 1.5s infinite;
}

@keyframes scrollAnimation {
    0% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0;
    }

    100% {
        top: 8px;
        opacity: 1;
    }
}

/* ==========================================================================
   TRUST / CREDIBILITY STRIP
   ========================================================================== */
.trust-strip {
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-top: 3px solid var(--accent-color);
}

.stat-box {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-right: 1px solid #EDEDED;
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent-color);
}

/* ==========================================================================
   SECTION DECORATIONS & TEXT
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    padding-left: 30px;
    display: inline-block;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title-divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 1.5rem 0;
}

.section-title-divider.center {
    margin: 1.5rem auto;
}

/* ==========================================================================
   WHY CHOOSE US & PRACTICE AREA CARDS
   ========================================================================== */
.premium-card {
    background: var(--white);
    border: 1px solid #EDEDED;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(176, 141, 87, 0.2);
}

.premium-card:hover::before {
    height: 100%;
}

.card-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(176, 141, 87, 0.3);
    margin-bottom: 1rem;
    display: block;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
}

.card-link i {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.premium-card:hover .card-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */
.founder-image-wrapper {
    position: relative;
    z-index: 1;
}

.founder-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #EDEDED;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.founder-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-color);
    z-index: -1;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.founder-image-wrapper:hover::after {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
}

@media (max-width: 991.98px) {
    .founder-image-wrapper img {
        height: 380px;
    }

    .founder-image-wrapper::after {
        top: 12px;
        left: 12px;
        right: -12px;
        bottom: -12px;
    }
}

@media (max-width: 575.98px) {
    .founder-image-wrapper img {
        height: 280px;
    }
}

/* ==========================================================================
   OUR APPROACH / LEGAL PROCESS
   ========================================================================== */
.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    line-height: 56px;
    background-color: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 auto 1.5rem auto;
    display: block;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.process-step:hover .process-number {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Connection lines for desktop view */
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: calc(50% + 30px);
        width: calc(100% - 60px);
        height: 1px;
        border-top: 1px dashed var(--accent-color);
        z-index: 1;
    }
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonial-section {
    background-color: var(--bg-light);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.testimonial-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION OVERRIDES)
   ========================================================================== */
.accordion-item-legal {
    background-color: var(--white);
    border: 1px solid rgba(176, 141, 87, 0.25) !important;
    margin-bottom: 1rem;
    border-radius: 4px !important;
    overflow: hidden;
}

.accordion-button-legal {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.25rem 1.5rem;
    background-color: var(--white);
    border: none;
    box-shadow: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button-legal:hover {
    background-color: #faf7f2;
    color: var(--accent-color);
}

.accordion-button-legal:not(.collapsed) {
    background-color: #fdfbf7;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(176, 141, 87, 0.2);
}

.accordion-button-legal::after,
.accordion-button::after {
    background-image: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-family: "bootstrap-icons" !important;
    content: "\f282" !important;
    /* bi-chevron-down */
    font-size: 1rem !important;
    font-weight: bold;
    color: var(--accent-color) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    transform: rotate(0deg) !important;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.accordion-button-legal:not(.collapsed)::after,
.accordion-button:not(.collapsed)::after {
    content: "\f282" !important;
    transform: rotate(180deg) !important;
    color: var(--accent-color) !important;
}

.accordion-body-legal {
    padding: 1.5rem;
    font-size: 0.95rem;
    color: #555555;
    background-color: var(--white);
}

/* ==========================================================================
   CALL TO ACTION & FOOTER
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.98) 0%, rgba(23, 42, 58, 0.95) 100%), url('../images/hero/hero_bg.png') center/cover no-repeat;
    position: relative;
    border-top: 3px solid var(--accent-color);
}

.footer-top {
    background-color: #081522;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 50px 0;
    border-top: none !important;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent-color);
}

.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.7);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1rem;
    margin-top: 3px;
}

.footer-bottom {
    background-color: #050E17;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    margin-left: 1.5rem;
}

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

/* Social icons footer */
.footer-social-icons a {
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    margin-right: 8px;
    transition: var(--transition-smooth);
}

.footer-social-icons a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white) !important;
}

/* Disclaimer Backdrop & Modal Overlay */
.disclaimer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 14, 23, 0.95);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

body.disclaimer-active {
    overflow: hidden !important;
}

.cookie-notice {
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    display: flex !important;
    flex-direction: column !important;
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(176, 141, 87, 0.4);
    border-top: 4px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    padding: 1.75rem 2rem 1.25rem 2rem;
    position: relative;
    animation: fadeInScale 0.4s ease-out;
    overflow: hidden !important;
}

/* Hide Cancel/Close Button on Disclaimer Modal */
.disclaimer-close-btn,
#decline-disclaimer {
    display: none !important;
}

/* Fixed Header Elements */
.cookie-notice .disclaimer-logo,
.cookie-notice .cookie-notice-title,
.cookie-notice .gold-hr {
    flex-shrink: 0 !important;
}

.disclaimer-logo {
    display: block !important;
    margin: 0 auto 0.85rem auto !important;
    height: 75px !important;
    width: 75px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Scrollable Disclaimer Text Body */
.disclaimer-scroll-content {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding-right: 0.75rem;
    margin-bottom: 0.75rem;
    max-height: calc(85vh - 230px);
    scrollbar-width: thin;
    scrollbar-color: #b08d57 #0b1328;
}

.disclaimer-scroll-content::-webkit-scrollbar {
    width: 6px;
}

.disclaimer-scroll-content::-webkit-scrollbar-track {
    background: #0b1328;
    border-radius: 4px;
}

.disclaimer-scroll-content::-webkit-scrollbar-thumb {
    background: #b08d57;
    border-radius: 4px;
}

/* Fixed Footer Container for I AGREE Button */
.cookie-notice .disclaimer-footer-btn,
.cookie-notice .text-center.mt-4,
.cookie-notice div:has(#accept-disclaimer) {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid rgba(176, 141, 87, 0.25) !important;
    background-color: var(--primary-color) !important;
    z-index: 5;
}

#accept-disclaimer {
    box-shadow: 0 4px 15px rgba(176, 141, 87, 0.3);
    transition: all 0.3s ease;
}

#accept-disclaimer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 141, 87, 0.5);
}

.gold-hr {
    border-top: 1px solid var(--accent-color);
    opacity: 0.3;
    margin: 1.2rem 0;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-notice-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cookie-notice-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
/* Floating WhatsApp with Pulsing Radar & Bounce Animation */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white) !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-align: center;
    line-height: 56px;
    font-size: 29px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1040;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: whatsappPulseBounce 3s infinite ease-in-out;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.75;
    animation: whatsappRadarPulse 2s infinite ease-out;
    pointer-events: none;
}

.floating-whatsapp:hover {
    transform: scale(1.18) rotate(12deg) !important;
    background-color: #20ba5a !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65) !important;
}

.floating-whatsapp i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover i {
    transform: scale(1.12);
}

@keyframes whatsappPulseBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }
    50% {
        transform: translateY(-6px) scale(1.05);
        box-shadow: 0 12px 25px rgba(37, 211, 102, 0.65);
    }
}

@keyframes whatsappRadarPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.48);
        opacity: 0;
    }
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary-color);
    border: 1px solid var(--accent-color);
    color: var(--white) !important;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 43px;
    font-size: 18px;
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Mobile Sticky Consultation Bar */
.mobile-consult-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-top: 2px solid var(--accent-color);
    padding: 0.8rem 1rem;
    z-index: 1039;
    display: none;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   BLOG & NEWS PAGE STYLES
   ========================================================================== */
.blog-card {
    border: 1px solid #EDEDED;
    background-color: var(--white);
    height: 100%;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: rgba(176, 141, 87, 0.2);
}

.blog-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    border-left: 2px solid var(--accent-color);
}

.blog-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: var(--primary-color);
}

.blog-card-title a:hover {
    color: var(--accent-color);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ==========================================================================
   ADVOCATE / CHAMBER MEMBER CARDS (REDESIGNED)
   ========================================================================== */
.advocate-card {
    background: #ffffff;
    border: 1px solid rgba(176, 141, 87, 0.2);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(11, 19, 40, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.advocate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b1328 0%, #b08d57 50%, #0b1328 100%);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.advocate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(11, 19, 40, 0.12);
    border-color: rgba(176, 141, 87, 0.45);
}

.advocate-card:hover::before {
    opacity: 1;
    height: 5px;
}

.advocate-avatar-header {
    background: #ffffff;
    height: 350px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(176, 141, 87, 0.2);
}

.advocate-avatar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.04), transparent);
    pointer-events: none;
    z-index: 1;
}

.advocate-badge-pill {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0b1328;
    color: #b08d57;
    border: 1px solid #b08d57;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.advocate-card-img,
.advocate-passport-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.advocate-card:hover .advocate-card-img,
.advocate-card:hover .advocate-passport-img {
    transform: scale(1.03);
}

.advocate-avatar-medallion {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: linear-gradient(145deg, #101c36, #090f20);
    border: 3px solid #b08d57;
    box-shadow: 0 0 20px rgba(176, 141, 87, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.advocate-card:hover .advocate-avatar-medallion {
    transform: scale(1.08) rotate(3deg);
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.advocate-emoji {
    font-size: 2.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.advocate-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.advocate-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.advocate-role {
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.advocate-bio {
    color: #555555;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.advocate-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
}

.advocate-info-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

.advocate-info-item i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.85rem;
}

.advocate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.advocate-tag {
    background: rgba(176, 141, 87, 0.08);
    color: #0b1328;
    border: 1px solid rgba(176, 141, 87, 0.25);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}


/* Blog Article Layout */
.article-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #EDEDED;
    border-bottom: 1px solid #EDEDED;
    padding: 1rem 0;
}

.article-meta-list li {
    margin-right: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-meta-list li i {
    color: var(--accent-color);
    margin-right: 6px;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-sidebar {
    background-color: var(--bg-light);
    padding: 2rem;
    border-top: 3px solid var(--accent-color);
}

.sidebar-widget-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--primary-color);
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 1px;
    background-color: var(--accent-color);
}

.article-sidebar .footer-links a {
    color: var(--primary-color);
    font-weight: 500;
}

.article-sidebar .footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Category Filter Links */
.category-filter-list {
    list-style: none;
    padding: 0;
}

.category-filter-list li {
    margin-bottom: 0.6rem;
}

.category-filter-list a {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.8rem;
    border-left: 2px solid transparent;
}

.category-filter-list a:hover,
.category-filter-list a.active {
    background-color: var(--white);
    border-left-color: var(--accent-color);
    color: var(--accent-color);
    padding-left: 12px;
}

/* ==========================================================================
   TIMELINE (ABOUT PAGE)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #EDEDED;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--white);
    border: 3px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -8px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--white);
    position: relative;
    border: 1px solid #EDEDED;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

@media (max-width: 767.98px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container::after {
        left: 23px;
    }

    .timeline-right {
        left: 0%;
    }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1199.98px) {
    .navbar-custom {
        background-color: var(--primary-color) !important;
        padding: 0.8rem 0;
    }

    .navbar-custom .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: none;
        position: static;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        transform: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .navbar-custom .dropdown:hover .dropdown-menu {
        display: none;
        /* Let clicks control dropdown on mobile instead of hover */
    }

    .navbar-custom .dropdown.show .dropdown-menu {
        display: block;
    }

    .navbar-custom .nav-link::after {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stat-box {
        border-right: none;
        border-bottom: 1px solid #EDEDED;
        padding: 1.8rem 1rem;
    }

    .stat-box:last-child {
        border-bottom: none;
    }

    .mobile-consult-bar {
        display: block;
    }

    .floating-whatsapp {
        bottom: 80px;
        /* Space for the mobile consultation bar */
    }

    .back-to-top {
        bottom: 145px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-legal {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ==========================================================================
   PRELOADER (Scales of Justice Loader)
   ========================================================================== */
body.preloader-active {
    overflow: auto;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-icon-wrapper {
    margin-bottom: 1.5rem;
    animation: loader-pulse 2s infinite ease-in-out;
}

.legal-loader-icon {
    font-size: 4.5rem;
    color: var(--accent-color);
    display: inline-block;
}

.loader-line {
    width: 150px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border-radius: 2px;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: loader-slide 1.5s infinite linear;
}

.loader-text {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

@keyframes loader-pulse {

    0%,
    100% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
}

@keyframes loader-slide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ==========================================================================
   DISCLAIMER PENDING OVERRIDES
   ========================================================================== */
html.disclaimer-pending #preloader {
    display: none !important;
}

html.disclaimer-pending .disclaimer-backdrop {
    display: flex !important;
}

html.disclaimer-pending body {
    overflow: auto;
}

/* ==========================================================================
   LOGO STYLES & ADDITIONAL RESPONSIVE OVERRIDES
   ========================================================================== */
.navbar-logo {
    --logo-size: 64px;
    width: var(--logo-size) !important;
    height: var(--logo-size) !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 0 12px rgba(176, 141, 87, 0.25);
    flex-shrink: 0 !important;
    transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.04);
    box-shadow: 0 0 16px rgba(176, 141, 87, 0.45);
}

.navbar-custom.navbar-scrolled .navbar-logo {
    --logo-size: 50px;
}

.footer-brand-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.footer-logo {
    height: 185px;
    width: 185px;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 18px rgba(176, 141, 87, 0.3);
    margin-bottom: 1rem !important;
    margin-right: 0 !important;
    transition: var(--transition-smooth);
}

.footer-brand-link:hover .footer-logo {
    transform: scale(1.05);
    box-shadow: 0 0 22px rgba(176, 141, 87, 0.5);
}

.footer-brand-link .navbar-brand-text {
    font-size: 1.3rem !important;
    line-height: 1.3;
}

.footer-brand-link .navbar-brand-sub {
    margin-top: 0.25rem;
    font-size: 0.72rem !important;
    letter-spacing: 0.15em !important;
}

.loader-logo {
    height: 180px;
    width: 180px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(176, 141, 87, 0.4);
}

.disclaimer-logo {
    display: block;
    margin: 0 auto 1.5rem auto;
    height: 70px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR NAVBAR LOGO & BRAND TEXT
   ========================================================================== */

/* 1. Large Desktop / 4K Displays (>1600px) */
@media (min-width: 1600px) {
    .navbar-logo {
        --logo-size: 68px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 54px;
    }
}

/* 2. Standard Desktop (1400px - 1599.98px) */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    .navbar-logo {
        --logo-size: 60px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 48px;
    }

    .navbar-brand-text {
        font-size: 1.35rem !important;
    }
}

/* 3. Mid Desktop & Laptops (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-custom .nav-link {
        font-size: 0.78rem !important;
        padding: 0.5rem 0.55rem !important;
        letter-spacing: 0.04em !important;
    }

    .navbar-brand-text {
        font-size: 1.18rem !important;
    }

    .navbar-brand-sub {
        font-size: 0.58rem !important;
        letter-spacing: 0.12em !important;
    }

    .navbar-logo {
        --logo-size: 52px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 44px;
    }

    .navbar-custom .btn-legal {
        padding: 0.5rem 1rem !important;
        font-size: 0.78rem !important;
    }
}

/* 4. Small Laptop & Tablet Landscape (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-logo {
        --logo-size: 48px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 42px;
    }

    .navbar-brand-text {
        font-size: 1.15rem !important;
    }

    .navbar-brand-sub {
        font-size: 0.55rem !important;
    }
}

/* 5. Mobile & Tablet Portrait (576px - 991.98px) */
@media (max-width: 991.98px) {
    .navbar-logo {
        --logo-size: 46px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 40px;
    }

    .navbar-brand-text {
        font-size: 1.1rem !important;
    }
}

/* 6. Mobile Devices (<576px) */
@media (max-width: 575.98px) {
    .navbar-brand {
        max-width: 75%;
    }

    .navbar-logo {
        --logo-size: 40px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 36px;
    }

    .navbar-brand-text {
        font-size: 0.98rem !important;
    }

    .navbar-brand-sub {
        font-size: 0.52rem !important;
        letter-spacing: 0.1em !important;
    }
}

/* 7. Extra Small Mobile (<380px) */
@media (max-width: 379.98px) {
    .navbar-brand {
        max-width: 72%;
    }

    .navbar-logo {
        --logo-size: 36px;
    }

    .navbar-custom.navbar-scrolled .navbar-logo {
        --logo-size: 34px;
    }

    .navbar-brand-text {
        font-size: 0.88rem !important;
    }
}

/* Interactive Google Map Layout & Responsiveness */
.map-container {
    height: 450px;
    width: 100%;
    border: 1px solid rgba(176, 141, 87, 0.3);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

@media (max-width: 767.98px) {
    .map-container {
        height: 320px;
    }
}

/* Disclaimer Close X Button styling */
.disclaimer-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    line-height: 1;
    z-index: 10;
}

.disclaimer-close-btn:hover {
    color: var(--accent-color);
    transform: scale(1.15);
}

/* Footer Brand Styling (prevents overlapping) */
.footer-brand-link {
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-brand-link:hover {
    opacity: 0.9;
}

/* Disclaimer Marquee Ticker Section */
.disclaimer-marquee-section {
    background-color: #0b1328 !important;
    border-top: 2px solid #b08d57 !important;
    border-bottom: 2px solid #b08d57 !important;
    position: relative;
    z-index: 10;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.disclaimer-marquee-section,
.disclaimer-marquee-section.border-top,
.disclaimer-marquee-section.border-bottom {
    border-top: 2px solid #b08d57 !important;
    border-bottom: 2px solid #b08d57 !important;
    border-left: none !important;
    border-right: none !important;
}

.disclaimer-badge-wrapper {
    background-color: #b08d57 !important;
    color: #ffffff !important;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
}

.disclaimer-marquee-section marquee {
    color: #ffffff !important;
}

.footer-brand-link .navbar-brand-text {
    white-space: normal !important;
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
}

.footer-brand-link .navbar-brand-sub {
    white-space: normal !important;
    line-height: 1.3 !important;
    margin-top: 2px;
}

/* ==========================================================================
   THEME FORM CONTROLS (RADIO BUTTONS & CHECKBOXES)
   ========================================================================== */
.form-check-input {
    border-color: rgba(176, 141, 87, 0.5) !important;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.form-check-input:hover {
    border-color: var(--accent-color) !important;
}

.form-check-input:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(176, 141, 87, 0.25) !important;
}

.form-check-input:checked {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.form-check-label {
    cursor: pointer;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(176, 141, 87, 0.2) !important;
}

/* ==========================================================================
   FLOATING LOCATION CARD OVERLAY (CONTACT PAGE MAP)
   ========================================================================== */
.location-floating-card {
    position: absolute;
    top: 35px;
    right: 40px;
    width: 380px;
    background: rgba(11, 19, 40, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(176, 141, 87, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 10;
    transition: all 0.3s ease;
}

.location-floating-card:hover {
    border-color: #b08d57;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.location-detail-item {
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
}

.location-detail-item i {
    font-size: 1rem;
    margin-top: 2px;
}

/* ==========================================================================
   PARALLAX EFFECT STYLING FOR ABOUT PAGE & SECTIONS
   ========================================================================== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Fallback for iOS mobile devices */
@supports (-webkit-touch-callout: none) {
    .parallax-section {
        background-attachment: scroll;
    }
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 19, 40, 0.92) 0%, rgba(22, 36, 71, 0.88) 100%);
    z-index: 1;
}

.parallax-overlay-gold {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 19, 40, 0.94) 0%, rgba(176, 141, 87, 0.25) 50%, rgba(11, 19, 40, 0.94) 100%);
    z-index: 1;
}

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

.parallax-quote-card {
    background: rgba(11, 19, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(176, 141, 87, 0.4);
    border-radius: 12px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   FOUNDER SHOWCASE IMAGE STYLING (FIXES OVERFLOW)
   ========================================================================== */
.founder-showcase-box {
    background: #ffffff;
    border: 1px solid rgba(176, 141, 87, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.founder-img-container {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0;
    overflow: hidden;
}

.founder-img-frame {
    max-width: 100% !important;
    max-height: 340px !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 6px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
    border: 2px solid #b08d57 !important;
}

/* ==========================================================================
   ABOUT PAGE STATS & COMPONENT TEXT VISIBILITY
   ========================================================================== */
.stat-item-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(11, 19, 40, 0.75);
    border: 1px solid rgba(176, 141, 87, 0.35);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat-item-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #b08d57 !important;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item-label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 600;
}

.about-card-feature {
    background: #ffffff;
    border: 1px solid rgba(176, 141, 87, 0.25);
    border-top: 3px solid #b08d57;
    border-radius: 6px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.about-card-feature:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(176, 141, 87, 0.12);
    color: #b08d57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.value-tag-pill {
    display: inline-block;
    background-color: #f8f6f0;
    color: #0b1328 !important;
    border: 1px solid rgba(176, 141, 87, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0.25rem;
}

/* ==========================================================================
   REMOVE / HIDE STICKY MOBILE CONSULTATION BOTTOM BAR
   ========================================================================== */
.mobile-consult-bar {
    display: none !important;
}

/* ==========================================================================
   TEAM MEMBER CARDS DESIGN SYSTEM (COMPACT & SLEEK)
   ========================================================================== */
.team-grid-container {
    margin-top: 1.5rem;
}

.advocate-card {
    background: #ffffff;
    border: 1px solid rgba(176, 141, 87, 0.22);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(11, 31, 51, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.advocate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(176, 141, 87, 0.18);
    border-color: rgba(176, 141, 87, 0.55);
}

.advocate-avatar-header {
    position: relative;
    overflow: hidden;
    background-color: #0b1328;
    height: 280px;
}

.advocate-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.advocate-card:hover .advocate-card-img {
    transform: scale(1.04);
}

.advocate-badge-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #b08d57 0%, #8c6a38 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.advocate-experience-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(11, 19, 40, 0.85);
    backdrop-filter: blur(6px);
    color: #b08d57;
    border: 1px solid rgba(176, 141, 87, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    z-index: 2;
}

.advocate-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.advocate-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b1f33;
    margin-bottom: 0.2rem;
    line-height: 1.35;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advocate-role {
    font-size: 0.78rem;
    font-weight: 600;
    color: #b08d57;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.advocate-bio-short {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 3.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advocate-tags-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
    margin-top: auto;
    min-height: 2.6rem;
    align-content: flex-start;
}

.advocate-tag {
    background-color: #f7f5f0;
    color: #0b1f33;
    border: 1px solid rgba(176, 141, 87, 0.3);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.advocate-card-footer-actions {
    padding: 1rem 1.25rem 1.25rem;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 0.6rem;
}

.btn-view-profile {
    flex: 1;
    height: 42px;
    background-color: transparent;
    color: #0b1f33;
    border: 1px solid #0b1f33;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-view-profile:hover {
    background-color: #0b1f33;
    color: #ffffff;
}

.btn-consult-short {
    flex: 1;
    height: 42px;
    background-color: #b08d57;
    color: #ffffff;
    border: 1px solid #b08d57;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-consult-short:hover {
    background-color: #967443;
    border-color: #967443;
    color: #ffffff;
}

/* Advocate Profile Modal Styles */
.advocate-modal-header {
    background: linear-gradient(135deg, #0b1f33 0%, #172a3a 100%);
    color: #ffffff;
    border-bottom: 3px solid #b08d57;
    padding: 1.5rem;
}

.advocate-modal-thumb {
    width: 90px;
    height: 105px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    border: 2px solid #b08d57;
}

.modal-section-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b1f33;
    border-bottom: 2px solid #f0e6d2;
    padding-bottom: 0.4rem;
    margin-top: 1.25rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section-title i {
    color: #b08d57;
}

/* Centered Scrollable Modal Enhancements & Guaranteed Header Visibility */
.modal {
    padding-top: 85px !important;
    padding-bottom: 25px !important;
    z-index: 1065 !important;
}

.modal-backdrop {
    z-index: 1060 !important;
}

.modal-dialog-centered.modal-dialog-scrollable {
    max-height: calc(100vh - 110px) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 130px) !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

.modal-dialog-scrollable .modal-header,
.advocate-modal-header {
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    top: 0 !important;
}

.modal-dialog-scrollable .modal-footer {
    flex-shrink: 0 !important;
}

.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 270px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #b08d57 #f1f3f5;
    overscroll-behavior: contain;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 4px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background: #b08d57;
    border-radius: 4px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background: #967443;
}

/* Founder Showcase Section Enhancements */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.border-gold-subtle {
    border: 1px solid rgba(176, 141, 87, 0.3) !important;
}

.border-gold-light {
    border: 1px solid rgba(176, 141, 87, 0.25) !important;
}

.founder-key-credentials {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(176, 141, 87, 0.3) !important;
    border-radius: 8px;
    padding: 1.25rem 1rem !important;
}

.founder-key-credentials i {
    flex-shrink: 0 !important;
}

.founder-key-credentials span {
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.founder-showcase-box {
    transition: all 0.3s ease;
}

.founder-showcase-box:hover {
    box-shadow: 0 16px 40px rgba(11, 31, 51, 0.12) !important;
}

@media (max-width: 991.98px) {
    .founder-showcase-box .col-lg-5 {
        padding: 1.5rem 1.25rem !important;
    }

    .founder-showcase-box .founder-img-frame {
        max-height: 280px !important;
    }

    .founder-key-credentials {
        padding: 1rem 0.85rem !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 575.98px) {
    .founder-showcase-box .col-lg-5 {
        padding: 1.25rem 1rem !important;
    }

    .founder-showcase-box .founder-img-frame {
        max-height: 250px !important;
    }

    .founder-key-credentials {
        padding: 0.9rem 0.75rem !important;
        font-size: 0.83rem !important;
    }
}

@media (max-width: 479.98px) {
    .founder-showcase-box .founder-img-frame {
        max-height: 220px !important;
    }

    .founder-key-credentials {
        padding: 0.85rem 0.65rem !important;
        font-size: 0.8rem !important;
    }
}

/* Globally Hide Disclaimer Badge Above Marquee Ticker on All Pages & Viewports */
.disclaimer-badge-wrapper,
.disclaimer-marquee-section .disclaimer-badge-wrapper {
    display: none !important;
}

/* Mobile Optimizations: Position WhatsApp to Right Bottom */
@media (max-width: 767.98px) {
    /* Shift WhatsApp floating button to bottom right corner */
    .floating-whatsapp {
        bottom: 20px !important;
        right: 20px !important;
        width: 52px !important;
        height: 52px !important;
        line-height: 52px !important;
        font-size: 26px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
        z-index: 1045 !important;
    }

    /* Keep Back-to-Top aligned directly above WhatsApp button on mobile */
    .back-to-top {
        bottom: 82px !important;
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 38px !important;
        font-size: 16px !important;
        z-index: 1044 !important;
    }
}

/* ==========================================================================
   GLOBAL FORM INPUTS & CONTROLS THEME STYLING
   ========================================================================== */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
input[type="url"],
select,
textarea {
    border: 1.5px solid rgba(176, 141, 87, 0.35) !important;
    border-radius: 6px !important;
    transition: all 0.25s ease-in-out !important;
    color: var(--primary-color) !important;
}

/* Focus State Override - Luxury Gold Glow */
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #b08d57 !important;
    box-shadow: 0 0 0 0.25rem rgba(176, 141, 87, 0.25) !important;
    outline: 0 !important;
}

/* Custom Gold Dropdown Indicator Arrow for Select Inputs */
.form-select,
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b08d57' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 14px 12px !important;
}

/* Select Dropdown Option Items */
select option {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    padding: 10px !important;
}

select option:hover,
select option:focus,
select option:active,
select option:checked {
    background-color: #b08d57 !important;
    color: #ffffff !important;
}

/* Checkboxes & Radio Buttons */
.form-check-input,
input[type="checkbox"],
input[type="radio"] {
    border: 1.5px solid rgba(176, 141, 87, 0.5) !important;
    accent-color: #b08d57 !important;
}

.form-check-input:checked,
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #b08d57 !important;
    border-color: #b08d57 !important;
    box-shadow: 0 0 0 0.2rem rgba(176, 141, 87, 0.2) !important;
}

.form-check-input:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    border-color: #b08d57 !important;
    box-shadow: 0 0 0 0.2rem rgba(176, 141, 87, 0.25) !important;
}

/* Date Picker Calendar Icon Tint */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(56%) sepia(38%) saturate(542%) hue-rotate(5deg) brightness(91%) contrast(88%);
}

/* ==========================================================================
   LIGHTNING SPEED PERFORMANCE & RENDERING OPTIMIZATIONS
   ========================================================================== */

/* Enable GPU compositing for fixed / animated elements */
.floating-whatsapp,
.back-to-top,
.navbar-custom,
.marquee-track,
.preloader-active #preloader {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Offscreen Section Content-Visibility for Faster First Contentful Paint (FCP) */
footer.footer-section,
.testimonial-section,
.faq-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}