/*
Theme Name: juris
Version: 9.99
*/

: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);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font);
            color: var(--text-dark);
            background: var(--white);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

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

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

        .section-title {
            font-weight: 700;
            font-size: 2.4rem;
            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);
        }

        /* ===== 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.5rem 0;
            transition: var(--transition);
        }
        .navbar-custom.scrolled {
            box-shadow: 0 4px 20px rgba(102, 64, 123, 0.08);
        }
        .navbar-custom .navbar-brand img {
            height: 80px;
            width: auto;
            transition: var(--transition);
        }
        .navbar-custom .navbar-nav .nav-link {
            font-weight: 500;
            font-size: 1.2rem;
            color: var(--text-dark);
            padding: 0.6rem 1rem;
            letter-spacing: 0.01em;
            position: relative;
            transition: var(--transition);
        }
        .navbar-custom .navbar-nav .nav-link:hover,
        .navbar-custom .navbar-nav .nav-link.active {
            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 {
            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 WITH SINGAPORE SKYLINE ===== */
        .hero {
            position: relative;
            min-height: 92vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: 6rem 0 4rem 0;
        }

        /* Background image: Singapore skyline (free stock) */
        .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;
        }

        /* Dark overlay for readability + brand purple tint */
        .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;
        }

        /* Abstract graphic accents (subtle) */
        .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.8rem;
            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;
        }

        /* ===== INTRO ===== */
        .intro-section {
            background: var(--white);
        }
        .intro-section .intro-text {
            font-size: 1.15rem;
            color: var(--text-muted);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.9;
        }
        .intro-section .intro-text strong {
            color: var(--primary);
            font-weight: 600;
        }

        /* ===== PRACTICE AREAS ===== */
        .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;
        }

        /* ===== CONTACT MINI ===== */
        .contact-mini {
            background: var(--primary-very-light);
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--primary-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 2.5rem 0 2rem 0;
        }
        .footer a {
            color: rgba(255, 255, 255, 0.6);
            transition: var(--transition);
        }
        .footer a:hover {
            color: #fff;
        }
        .footer .footer-brand {
            font-weight: 700;
            font-size: 1.3rem;
            color: #fff;
            letter-spacing: -0.02em;
        }
        .footer .footer-brand .highlight {
            color: #c9a84c;
        }
        .footer .footer-divider {
            border-color: rgba(255, 255, 255, 0.06);
            margin: 1.5rem 0 1.5rem 0;
        }
        .footer .footer-bottom-text {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 991.98px) {
            .hero {
                min-height: auto;
                padding: 5rem 0 3rem 0;
            }
            .hero h1 {
                font-size: 2.8rem;
            }
            .section-title {
                font-size: 2rem;
            }
            .section-padding {
                padding: 60px 0;
            }
            .hero-graphic {
                background-size: 80% 80%;
            }
        }

        @media (max-width: 575.98px) {
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .section-title {
                font-size: 1.7rem;
            }
            .section-padding {
                padding: 45px 0;
            }
            .navbar-custom .navbar-brand img {
                height: 36px;
            }
            .hero-graphic {
                background-size: 100% 100%;
            }
        }

        /* ===== 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);
            }
        }