/*
Theme Name: Juris
Author: stvn.co
Version: 999
*/
/* ============================================================
   TEMPLATE.CSS – JurisAsia LLC
   All shared styles for the entire website
   ============================================================ */

/* ---------- Variables ---------- */
html {
  font-size: 16px; /* Changes the base to 10px */
}
:root {
            --primary: #66407B;
            --primary-dark: #4e2f5e;
            --primary-light: #8a6a9e;
            --primary-very-light: #fff;
            --white: #ffffff;
            --gray-bg: #E8E2E2;
            --text-dark: #000000;
            --text-muted: #1e1a2b;
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --shadow-sm: 0 2px 8px rgba(102, 64, 123, 0.08);
            --shadow-md: 0 8px 30px rgba(102, 64, 123, 0.12);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
        }
.h1, h1 {
        font-size: 2rem;
    }
/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:target {
  scroll-margin-top: 80px;
}
 body {
            font-family: var(--font);
            color: var(--text-dark);
            background: var(--white);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
                padding-top:79px;
        }
body.home {
    xpadding-top: 0;
}
        a {
            text-decoration: none;
            color: var(--primary);
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }

        .white { color: #fff !important; }
        .purple {
            color: var(--primary)
        }

.intro-text-section li {
	font-size: 1rem;
}

/* ---------- Utilities ---------- */
.section-padding {
            padding: 80px 0;
        }
        .section-padding-sm {
            padding: 50px 0;
        }

        .section-title {
            font-weight: 700;
            font-size: 2rem;
            letter-spacing: -0.02em;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        .section-title .highlight {
            color: var(--primary);
            position: relative;
        }
        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-muted);
            max-width: 620px;
            margin: 0 auto 3rem auto;
        }

        .accent-line {
            width: 60px;
            height: 4px;
            background: var(--primary);
            border-radius: 4px;
            margin: 0.75rem 0 1.5rem 0;
        }
        .accent-line.centered {
            margin-left: auto;
            margin-right: auto;
        }

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 64, 123, 0.35);
}
.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.7rem 2.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 64, 123, 0.2);
}
.btn-white-custom {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 0.75rem 2.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.btn-white-custom:hover {
    background: #f0edf5;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 64, 123, 0.25);
}
.btn-outline-white-custom {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.7rem 2.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-outline-white-custom:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.intro-section .intro-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

.intro-text p {
    text-wrap: pretty;

}
.intro-text img {
    max-width: 100%;
    height: auto;
}

/* ---------- Navbar ---------- */
.navbar-custom {
            background: #ffffff;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 1px 3px rgba(102, 64, 123, 0.06);
            padding: 0.6rem 0;
            transition: var(--transition);
        }
        .navbar-custom.scrolled {
            box-shadow: 0 4px 20px rgba(102, 64, 123, 0.08);
        }
        .navbar-custom .navbar-brand img {
            padding-top: 5px;
            height: 50px;
            width: auto;
            transition: var(--transition);
        }
        .navbar-custom .navbar-nav .nav-link {
            font-weight: 500;
            font-size: 1.0rem;
            color: var(--text-dark);
            padding: 0.6rem 1rem;
            letter-spacing: 0.01em;
            position: relative;
            transition: var(--transition);
			display: inline-block;
        }
        .navbar-custom .navbar-nav .nav-link:hover,
        .navbar-custom .navbar-nav .nav-link.active, .navbar-custom .current-menu-ancestor > .nav-link {
            color: var(--primary);
        }
        .navbar-custom .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 1rem;
            right: 1rem;
            height: 2px;
            background: var(--primary);
            transform: scaleX(0);
            transition: var(--transition);
        }
        .navbar-custom .navbar-nav .nav-link:hover::after,
        .navbar-custom .navbar-nav .nav-link.active::after, .navbar-custom .current-menu-ancestor > .nav-link::after {
            transform: scaleX(1);
        }
        .navbar-custom .navbar-toggler {
            border: none;
            padding: 0.4rem 0.6rem;
        }
        .navbar-custom .navbar-toggler:focus {
            box-shadow: none;
        }

/* ---------- Hero (full‑width image) ---------- */
.hero {
    position: relative;
    height:70vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0 4rem 0;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/jurisbanner.jpg') no-repeat center center / cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 64, 123, 0.75) 0%, rgba(78, 47, 94, 0.75) 100%);
    opacity: 0.75;
    z-index: 1;
}
.hero-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg opacity='0.07'%3E%3Ccircle cx='400' cy='400' r='320' fill='none' stroke='white' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='400' r='220' fill='none' stroke='white' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='400' r='120' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cline x1='80' y1='400' x2='720' y2='400' stroke='white' stroke-width='1.5'/%3E%3Cline x1='400' y1='80' x2='400' y2='720' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M200 200 L600 200 L600 600 L200 600 Z' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60% 60%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}
.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    color: #EFEFEF;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.10);
    color: #EFEFEF;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
}
.hero h1 {
    font-weight: 800;
    font-size: 3.0rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #EFEFEF;
    margin-bottom: 1.2rem;
}
.hero h1 .highlight {
    color: #EFEFEF;
    position: relative;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    z-index: -1;
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    margin-bottom: 2.2rem;
    line-height: 1.8;
}

/* ---------- Page Hero (gradient, no image) ---------- */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0 4rem 0;
    background: #4E2F5E linear-gradient(135deg, rgba(102, 64, 123, 0.92) 0%, rgba(78, 47, 94, 0.96) 100%);
}
.page-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.page-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.page-hero h1 {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #fff;
}
.page-hero h1 .highlight {
    color: #d4b8e0;
}
.page-hero .hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.5;
}

/* ---------- Practice Cards ---------- */
.practice-section {
            background: var(--gray-bg);
        }
.practice-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(102, 64, 123, 0.06);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}
.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 64, 123, 0.15);
}
.practice-card:hover::before {
    opacity: 1;
}
.practice-card .practice-icon {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: inline-block;
}
.practice-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.practice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== About page specific styles ===== */
        .about-hero {
            position: relative;
            min-height: 55vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: 6rem 0 4rem 0;
            background: linear-gradient(135deg, rgba(102, 64, 123, 0.92) 0%, rgba(78, 47, 94, 0.96) 100%);
        }
        .about-hero .hero-content {
            position: relative;
            z-index: 2;
            color: #fff;
        }
        .about-hero .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.10);
            color: #fff;
            font-weight: 600;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.4rem 1.2rem;
            border-radius: 50px;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        .about-hero h1 {
            font-weight: 800;
            font-size: 4rem;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
        }
        .about-hero h1 .highlight {
            color: #d4b8e0;
        }
        .about-hero .hero-subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 300;
            letter-spacing: 0.05em;
        }

        /* Story section */
        .story-section {
            background: var(--white);
        }
        .story-section .story-lead {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
            letter-spacing: -0.01em;
        }
        .story-section .story-text {
            font-size: 1.1rem;
            color: var(--text-muted);
            line-height: 1.9;
            max-width: 800px;
            margin: 0 auto;
        }
        .story-section .story-text strong {
            color: var(--primary);
            font-weight: 600;
        }
        .story-section .story-divider {
            width: 80px;
            height: 3px;
            background: var(--primary);
            margin: 0 auto 1.5rem auto;
            border-radius: 4px;
            opacity: 0.3;
        }

        /* Belief quote */
        .belief-section {
            background: var(--gray-bg);
            position: relative;
        }
        .belief-section .belief-quote {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--primary);
            line-height: 1.5;
            max-width: 850px;
            margin: 0 auto;
            position: relative;
            padding: 0 2rem;
        }
        .belief-section .belief-quote::before {
            content: '"';
            font-size: 5rem;
            color: var(--primary-light);
            opacity: 0.2;
            position: absolute;
            top: -1.5rem;
            left: -0.5rem;
            font-family: Georgia, serif;
        }
        .belief-section .belief-quote::after {
            content: '"';
            font-size: 5rem;
            color: var(--primary-light);
            opacity: 0.2;
            position: absolute;
            bottom: -3.5rem;
            right: -0.5rem;
            font-family: Georgia, serif;
        }
        .belief-section .belief-attribution {
            font-size: 1rem;
            color: var(--text-muted);
            margin-top: 1.5rem;
            font-weight: 500;
        }

        /* What defines us - values grid */
        .values-section {
            background: var(--white);
        }
        .value-card {
            background: var(--gray-bg);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            height: 100%;
            transition: var(--transition);
            border: 1px solid rgba(102, 64, 123, 0.04);
            text-align: center;
        }
        .value-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: rgba(102, 64, 123, 0.10);
        }
        .value-card .value-icon {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 1.2rem;
            display: block;
        }
        .value-card h5 {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.6rem;
        }
        .value-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 0;
        }

        /* Singapore focus section */
        .singapore-section {
            background: var(--primary-very-light);
            position: relative;
            overflow: hidden;
        }
        .singapore-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(102, 64, 123, 0.04) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .singapore-section .singapore-text {
            font-size: 1.1rem;
            color: var(--text-muted);
            line-height: 1.9;
        }
        .singapore-section .singapore-text strong {
            color: var(--primary);
            font-weight: 700;
        }
        .singapore-section .singapore-highlight {
            background: rgba(102, 64, 123, 0.06);
            padding: 1.5rem 2rem;
            border-radius: 16px;
            border-left: 4px solid var(--primary);
            margin-top: 1.5rem;
        }
        .singapore-section .singapore-highlight p {
            margin-bottom: 0;
            font-weight: 500;
            color: var(--primary);
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            .about-hero {
                min-height: auto;
                padding: 5rem 0 3rem;
            }
            .about-hero h1 {
                font-size: 3rem;
            }
            .belief-section .belief-quote {
                font-size: 1.5rem;
                padding: 0 1rem;
            }
            .belief-section .belief-quote::before,
            .belief-section .belief-quote::after {
                font-size: 3.5rem;
            }
            .belief-section .belief-quote::before {
                top: -1rem;
                left: 0;
            }
            .belief-section .belief-quote::after {
                bottom: -2.5rem;
                right: 0;
            }
        }

        @media (max-width: 575.98px) {
            .about-hero h1 {
                font-size: 2.2rem;
            }
            .about-hero .hero-subtitle {
                font-size: 1rem;
            }
            .story-section .story-text {
                font-size: 1rem;
            }
            .belief-section .belief-quote {
                font-size: 1.2rem;
            }
            .singapore-section .singapore-highlight {
                padding: 1rem 1.2rem;
            }
            .value-card {
                padding: 1.8rem 1.2rem;
            }
        }

        #menu-item-30 a {
            color: var(--text-dark) !important;
        }
        #menu-item-30 a::after {
            display: none;
        }

        .single-service-title {
            color: var(--primary);
            font-weight: bold;
            margin-bottom: 20px;
            margin-top: 20px;
        }

/* ---------- Blog / News Cards ---------- */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(102, 64, 123, 0.06);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 64, 123, 0.12);
}
.blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--primary-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-light);
}
.blog-card .blog-body {
    padding: 1.5rem 1.8rem 1.8rem;
}
.blog-card .blog-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: rgba(102, 64, 123, 0.08);
    padding: 0.2rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}
.blog-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    line-height: 1.4;
}
.blog-card h5 a {
    color: var(--primary);
}
.blog-card h5 a:hover {
    color: var(--primary-dark);
}
.blog-card .blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(102, 64, 123, 0.06);
    padding-top: 0.8rem;
}
.blog-card .blog-meta i {
    color: var(--primary-light);
    margin-right: 0.3rem;
}
.blog-card .blog-meta .author {
    font-weight: 600;
    color: var(--text-dark);
}

/* ---------- Featured Blog Card ---------- */
.featured-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(102, 64, 123, 0.06);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.featured-card .featured-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: var(--primary-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-light);
}
.featured-card .featured-body {
    padding: 2rem 2.5rem;
}
.featured-card .featured-body .featured-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--primary);
    padding: 0.2rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}
.featured-card .featured-body h3 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}
.featured-card .featured-body h3 a {
    color: var(--primary);
}
.featured-card .featured-body h3 a:hover {
    color: var(--primary-dark);
}
.featured-card .featured-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}
.featured-card .featured-body .featured-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.featured-card .featured-body .featured-meta i {
    color: var(--primary-light);
    margin-right: 0.3rem;
}
.featured-card .featured-body .featured-meta .author {
    font-weight: 600;
    color: var(--text-dark);
}

/* ---------- Team Cards ---------- */
/* Team Cards */
        .team-card {
            background: #E8E2E2;
            border-radius: 16px;
            padding: 2rem 1.8rem;
            height: 100%;
            border: 1px solid rgba(102, 64, 123, 0.06);
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
            text-align: center;
        }
        .team-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: rgba(102, 64, 123, 0.15);
        }
        .team-card .avatar {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem auto;
            font-size: 2.4rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
        }
        .team-card img {
          width: 250px;
    height: 250px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
        }
        .team-card h5 {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.2rem;
        }
        .team-card .role {
            font-size: 0.85rem;
            color: var(--primary-light);
            font-weight: 600;
            margin-bottom: 0.6rem;
        }
        .team-card p {
            color: var(--text-muted);
            font-size: 0.92rem;
            margin-bottom: 0;
        }
        .team-card .practice-tags {
            margin-top: 0.75rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            justify-content: center;
        }
        .team-card .practice-tags span {
            background: var(--primary-very-light);
            color: var(--primary);
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            letter-spacing: 0.02em;
        }

/* ---------- Contact Info Cards ---------- */
.contact-mini {
    background-color: #F3EDF7;
}
.contact-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    height: 100%;
    border: 1px solid rgba(102, 64, 123, 0.06);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 64, 123, 0.15);
}
.contact-info-card .info-icon {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}
.contact-info-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.contact-info-card a {
    color: var(--text-muted);
    transition: var(--transition);
}
.contact-info-card a:hover {
    color: var(--primary);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(102, 64, 123, 0.06);
    box-shadow: var(--shadow-sm);
}
.contact-form-wrapper .form-control {
    background: var(--primary-very-light);
    border: 1px solid rgba(102, 64, 123, 0.08);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--text-dark);
}
.contact-form-wrapper .form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 64, 123, 0.10);
}
.contact-form-wrapper .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}
.contact-form-wrapper .form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}
.contact-form-wrapper .form-label .required {
    color: #dc3545;
}

/* ---------- Map ---------- */
.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(102, 64, 123, 0.06);
}
.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ---------- Social Links ---------- */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-very-light);
    color: var(--primary);
    transition: var(--transition);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}
.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 64, 123, 0.25);
}

/* ---------- Sidebar ---------- */
.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid rgba(102, 64, 123, 0.06);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.8rem;
}
.sidebar-card h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
}
.sidebar-card .category-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.92rem;
}
.sidebar-card .category-item:hover {
    color: var(--primary);
}
.sidebar-card .category-item .count {
    background: var(--primary-very-light);
    padding: 0 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}
.sidebar-card .recent-item {
    display: flex;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(102, 64, 123, 0.04);
}
.sidebar-card .recent-item:last-child {
    border-bottom: none;
}
.sidebar-card .recent-item .recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--primary-very-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.4rem;
}
.sidebar-card .recent-item .recent-content {
    flex: 1;
}
.sidebar-card .recent-item .recent-content a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: block;
    line-height: 1.3;
}
.sidebar-card .recent-item .recent-content a:hover {
    color: var(--primary);
}
.sidebar-card .recent-item .recent-content .recent-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.search-input {
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(102, 64, 123, 0.10);
    background: var(--gray-bg);
    transition: var(--transition);
    font-size: 0.95rem;
    width: 100%;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 64, 123, 0.08);
    background: var(--white);
}
.newsletter-box {
    background: var(--primary-very-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}
.newsletter-box h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.newsletter-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.newsletter-box .input-group {
    max-width: 400px;
    margin: 0 auto;
}
.newsletter-box .input-group input {
    border-radius: 50px 0 0 50px;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(102, 64, 123, 0.10);
}
.newsletter-box .input-group .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.6rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    font-weight: 600;
}
.newsletter-box .input-group .btn:hover {
    background: var(--primary-dark);
}
.pagination-custom .page-link {
    color: var(--primary);
    border: 1px solid rgba(102, 64, 123, 0.10);
    border-radius: 8px;
    margin: 0 0.2rem;
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}
.pagination-custom .page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination-custom .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination-custom .page-item.disabled .page-link {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ---------- Work Cards (Private Wealth) ---------- */
.work-card {
    background: #E8E2E2;
    border-radius: 16px;
    padding: 2rem 1.8rem;
    height: 100%;
    border: 1px solid rgba(102, 64, 123, 0.06);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 64, 123, 0.15);
}
.work-card .work-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}
.work-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.work-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- Team Profile (larger) ---------- */
.team-profile {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(102, 64, 123, 0.06);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}
.team-profile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.team-profile h4 {
    color: var(--primary);
    font-weight: 700;
}
.team-profile .role {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
}
.team-profile p {
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--primary-dark);
    color: #E8E2E2;
    padding: 2.5rem 0 2rem 0;
}
.footer a {
    color: #E8E2E2;
    transition: var(--transition);
}
.footer a:hover {
    color: #fff;
}
.footer .footer-bottom-text {
    font-size: 0.85rem;
    color: #E8E2E2;
}

.popup-bg {
    background: #E8E2E2;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 8;
    display: none;
}
.popup {
    width: 75vw;
    height: 75vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9;
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: none;
}
.popup-right .wrapper {
    height: calc(75vh - 60px);
    overflow-y: auto;
}
.popup h2, .popup h3, .popup h4 {
    color: var(--primary);
}
.popup-team h3 {
    margin-top: 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem 0;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .page-hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    .page-hero h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .featured-card .featured-image {
        height: 220px;
    }
    .featured-card .featured-body {
        padding: 1.5rem;
    }
    .featured-card .featured-body h3 {
        font-size: 1.5rem;
    }
    .map-wrapper iframe {
        height: 300px;
    }
    .contact-form-wrapper {
        padding: 1.8rem;
    }
	.popup {
		overflow: hidden;
		width: 90vw;
    	height: 80vh;
	}
	body {
    padding-top: 66px;
	}
	.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 40px;
	}
}
@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .page-hero .hero-description {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .section-padding {
        padding: 45px 0;
    }
    .navbar-custom .navbar-brand img {
        height: 36px;
    }
    .featured-card .featured-image {
        height: 160px;
    }
    .featured-card .featured-body {
        padding: 1.2rem;
    }
    .featured-card .featured-body h3 {
        font-size: 1.2rem;
    }
    .blog-card .blog-body {
        padding: 1.2rem;
    }
    .sidebar-card {
        padding: 1.2rem;
    }
    .map-wrapper iframe {
        height: 200px;
    }
    .contact-form-wrapper {
        padding: 1.2rem;
    }
	section#contact .col-lg-8.mx-auto {
		display: flex;
    flex-direction: column;
	}
	
	.single .authors-bio .d-flex {
		flex-direction: column;
		gap: 0 !important;
	}
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s ease forwards;
}
.fade-in-delay-1 {
    animation-delay: 0.1s;
}
.fade-in-delay-2 {
    animation-delay: 0.2s;
}
.fade-in-delay-3 {
    animation-delay: 0.3s;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xpractice-section {
	background: #E8E2E2;
}
.page-template-template-services .contact-mini {
	background: #fff;
}
.commas:last-of-type { display: none; }

.dropdown-menu {
    min-width: 200px;
}

iframe {
    filter: grayscale(100%);
    /* Optional: Include Webkit prefix for older Safari support */
    -webkit-filter: grayscale(100%); 
}

/* ===== BELIEF & VALUES CAROUSEL ===== */
.belief-values-carousel {
    background: var(--white);
}

.belief-values-carousel .carousel {
    position: relative;
}

.belief-values-carousel .carousel-inner {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.belief-values-carousel .carousel-slide-content {
    padding: 1rem 3rem;
}

/* Belief quote */
.belief-values-carousel .belief-quote {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
    max-width: 820px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

/* Value slides */
.belief-values-carousel .value-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.belief-values-carousel .value-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Carousel indicators (dots) */
.belief-values-carousel .carousel-indicators {
    position: relative;
    bottom: 1rem;
    margin-top: 2rem;
}
.belief-values-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102,64,123,0.2);
    border: none;
    margin: 0 6px;
    transition: var(--transition);
}
.belief-values-carousel .carousel-indicators button.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Navigation arrows */
.belief-values-carousel .carousel-control-prev,
.belief-values-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    background: var(--primary-very-light);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: var(--transition);
}
.belief-values-carousel .carousel-control-prev:hover,
.belief-values-carousel .carousel-control-next:hover {
    opacity: 1;
    background: var(--primary);
}
.belief-values-carousel .carousel-control-prev-icon,
.belief-values-carousel .carousel-control-next-icon {
    filter: none;
    background-image: none;
    font-size: 1.5rem;
    color: var(--primary);
}
.belief-values-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.belief-values-carousel .carousel-control-next:hover .carousel-control-next-icon {
    color: #fff;
}
.belief-values-carousel .carousel-control-prev {
    left: -60px;
}
.belief-values-carousel .carousel-control-next {
    right: -60px;
}
.belief-values-carousel .carousel-control-prev-icon::before {
    content: "‹";
    font-size: 2.5rem;
    display: block;
    line-height: 1;
}
.belief-values-carousel .carousel-control-next-icon::before {
    content: "›";
    font-size: 2.5rem;
    display: block;
    line-height: 1;
}
.belief-values-carousel .carousel-control-prev:hover .carousel-control-prev-icon::before,
.belief-values-carousel .carousel-control-next:hover .carousel-control-next-icon::before {
    color: #fff;
}

/* Hero badge inside carousel */
.belief-values-carousel .hero-badge {
    display: inline-block;
    background: rgba(102,64,123,0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(102,64,123,0.12);
}

/* Responsive */
@media (max-width: 991.98px) {
    .belief-values-carousel .belief-quote {
        font-size: 1.6rem;
    }
    .belief-values-carousel .value-title {
        font-size: 1.8rem;
    }
    .belief-values-carousel .value-description {
        font-size: 1.05rem;
    }
    .belief-values-carousel .carousel-control-prev {
        left: -20px;
    }
    .belief-values-carousel .carousel-control-next {
        right: -20px;
    }
    .belief-values-carousel .carousel-slide-content {
        padding: 1rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .belief-values-carousel .belief-quote {
        font-size: 1.2rem;
    }
    .belief-values-carousel .value-title {
        font-size: 1.4rem;
    }
    .belief-values-carousel .value-description {
        font-size: 0.95rem;
    }
    .belief-values-carousel .carousel-inner {
        min-height: 220px;
    }
    .belief-values-carousel .carousel-slide-content {
        padding: 0.5rem 1rem;
    }
    .belief-values-carousel .carousel-control-prev,
    .belief-values-carousel .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    .belief-values-carousel .carousel-control-prev {
        left: -8px;
    }
    .belief-values-carousel .carousel-control-next {
        right: -8px;
    }
    .belief-values-carousel .carousel-control-prev-icon::before,
    .belief-values-carousel .carousel-control-next-icon::before {
        font-size: 1.8rem;
    }
}

.belief-values-carousel .carousel-control-prev .carousel-control-prev-icon, .belief-values-carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 2px;
}
.dropdown-menu .nav-link::after {
	display: none !important;
}
.team-card.team-item { cursor: pointer; }

/* start mobile/tablets */
.mobile { display: none; }
@media (max-width: 991.98px){ 
.mobile { display: block; }
.mobile.flex { display: flex; }
.desktop { display: none !important; }

.m-p-0{padding:0!important}.m-p-10{padding:10px!important}.m-p-20{padding:20px!important}.m-p-30{padding:30px!important}.m-p-40{padding:40px!important}.m-p-50{padding:50px!important}.m-p-60{padding:60px!important}.m-p-70{padding:70px!important}.m-p-80{padding:80px!important}.m-p-90{padding:90px!important}.m-p-100{padding:100px!important}.m-p-110{padding:110px!important}.m-p-120{padding:120px!important}.m-p-130{padding:130px!important}.m-p-140{padding:140px!important}.m-p-150{padding:150px!important}.m-p-160{padding:160px!important}.m-p-170{padding:170px!important}.m-p-180{padding:180px!important}.m-p-190{padding:190px!important}.m-p-200{padding:200px!important}.m-pt-0{padding-top:0!important}.m-pt-10{padding-top:10px!important}.m-pt-20{padding-top:20px!important}.m-pt-30{padding-top:30px!important}.m-pt-40{padding-top:40px!important}.m-pt-50{padding-top:50px!important}.m-pt-60{padding-top:60px!important}.m-pt-70{padding-top:70px!important}.m-pt-80{padding-top:80px!important}.m-pt-90{padding-top:90px!important}.m-pt-100{padding-top:100px!important}.m-pt-110{padding-top:110px!important}.m-pt-120{padding-top:120px!important}.m-pt-130{padding-top:130px!important}.m-pt-140{padding-top:140px!important}.m-pt-150{padding-top:150px!important}.m-pt-160{padding-top:160px!important}.m-pt-170{padding-top:170px!important}.m-pt-180{padding-top:180px!important}.m-pt-190{padding-top:190px!important}.m-pt-200{padding-top:200px!important}.m-pb-0{padding-bottom:0!important}.m-pb-10{padding-bottom:10px!important}.m-pb-20{padding-bottom:20px!important}.m-pb-30{padding-bottom:30px!important}.m-pb-40{padding-bottom:40px!important}.m-pb-50{padding-bottom:50px!important}.m-pb-60{padding-bottom:60px!important}.m-pb-70{padding-bottom:70px!important}.m-pb-80{padding-bottom:80px!important}.m-pb-90{padding-bottom:90px!important}.m-pb-100{padding-bottom:100px!important}.m-pb-110{padding-bottom:110px!important}.m-pb-120{padding-bottom:120px!important}.m-pb-130{padding-bottom:130px!important}.m-pb-140{padding-bottom:140px!important}.m-pb-150{padding-bottom:150px!important}.m-pb-160{padding-bottom:160px!important}.m-pb-170{padding-bottom:170px!important}.m-pb-180{padding-bottom:180px!important}.m-pb-190{padding-bottom:190px!important}.m-pb-200{padding-bottom:200px!important}.m-mb-0{margin-bottom:0!important}.m-mb-10{margin-bottom:10px!important}.m-mb-20{margin-bottom:20px!important}.m-mb-30{margin-bottom:30px!important}.m-mb-40{margin-bottom:40px!important}.m-mb-50{margin-bottom:50px!important}.m-mb-60{margin-bottom:60px!important}.m-mb-70{margin-bottom:70px!important}.m-mb-80{margin-bottom:80px!important}.m-mb-90{margin-bottom:90px!important}.m-mb-100{margin-bottom:100px!important}.m-mb-110{margin-bottom:110px!important}.m-mb-120{margin-bottom:120px!important}.m-mb-130{margin-bottom:130px!important}.m-mb-140{margin-bottom:140px!important}.m-mb-150{margin-bottom:150px!important}.m-mb-160{margin-bottom:160px!important}.m-mb-170{margin-bottom:170px!important}.m-mb-180{margin-bottom:180px!important}.m-mb-190{margin-bottom:190px!important}.m-mb-200{margin-bottom:200px!important}.m-mt-0{margin-top:0!important}.m-mt-10{margin-top:10px!important}.m-mt-20{margin-top:20px!important}.m-mt-30{margin-top:30px!important}.m-mt-40{margin-top:40px!important}.m-mt-50{margin-top:50px!important}.m-mt-60{margin-top:60px!important}.m-mt-70{margin-top:70px!important}.m-mt-80{margin-top:80px!important}.m-mt-90{margin-top:90px!important}.m-mt-100{margin-top:100px!important}.m-mt-110{margin-top:110px!important}.m-mt-120{margin-top:120px!important}.m-mt-130{margin-top:130px!important}.m-mt-140{margin-top:140px!important}.m-mt-150{margin-top:150px!important}.m-mt-160{margin-top:160px!important}.m-mt-170{margin-top:170px!important}.m-mt-180{margin-top:180px!important}.m-mt-190{margin-top:190px!important}.m-mt-200{margin-top:200px!important}
.mpt-0 {
    padding-top: 0 !important;
}
.mpb-0 {
    padding-bottom: 0 !important;
}

}

div.wpcf7 .screen-reader-response {  
    position: absolute;  
    overflow: hidden;  
    clip: rect(1px, 1px, 1px, 1px);  
    height: 1px;  
    width: 1px;  
    margin: 0;  
    padding: 0;  
    border: 0;  
}

.wpcf7-response-output {
font-weight: bold;
    text-align: center;
    border: 1px solid var(--primary);
}
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
    padding: 5px 10px;
}
table {
   
}