/* ========================================= 1. CORE VARIABLES & BASE STYLES ========================================= */
    :root {
        --brand: #387dcf;
        --line: #e6e6e6;
        --muted: #666;
        --text: #111;
        --primary-blue: #4a7ab6;
        --dark-blue-bg: #2b5d9b;
        --gold: #c5a065;
        --light-blue-header: #7daee0;
        --bg-overlay: #3e444c;
    }

    body {
        margin: 0; padding: 0;


        font-family: 'Roboto', sans-serif;
        color: #333;
        box-sizing: border-box;
        line-height: 1.6;
    }

    *, *:before, *:after { box-sizing: inherit; }
    a { text-decoration: none; color: inherit; transition: 0.3s; }
    /* ul { list-style: none; padding: 0; margin: 0; } */

    /* ======================================== 2. REUSABLE UTILITY CLASSES (CLEANER CODE) ========================================= */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .section-padding { padding: 80px 0; }
    .section-padding1 { padding: 20px 0; }
    .text-center { text-align: center; }
    
    /* Grid System */
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

    /* Typography */
    .heading-serif { font-family: 'Playfair Display', serif; }
    .heading-gold { color: var(--gold); font-weight: bold; margin-bottom: 10px; }
    .heading-upper { text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }

    /* Buttons */
    .btn { display: inline-block;padding: 12px 28px;border-radius: 0;font-weight: bold;text-transform: uppercase;
            font-size: 0.9rem;cursor: pointer;border: none;transition: 0.3s; }
    .btn-gold-outline {position: relative;overflow: hidden;z-index: 1;border: 2px solid var(--gold); color: var(--gold);padding: 12px 40px;display: inline-flex;align-items: center;gap: 10px;background: transparent;transition: color 0.3s; }
    .btn-gold-outline::before { content: "";position: absolute;bottom: 0;left: 0;right: 0;z-index: -1;background: var(--gold);height: 0;transition: height 0.3s ease-out; }
    .btn-gold-outline:hover { color: #fff; }
    .btn-gold-outline:hover::before { height: 100%; }
    .checkbox-group{flex-direction:row;align-items:center;gap:10px}
    .checkbox-group label{font-size:12px;cursor:pointer}
    .btn-white-box{background:#fff;color:#333;border:none;padding:10px 30px;text-transform:none;font-weight:400;transition:background 0.3s}
    .btn-white-box:hover{background:var(--brand);color:#fff}

    /* ========================================= 3. HEADER & HERO ========================================= */

    .top-bar{background-color:#fff;border-bottom:1px solid #eee;padding:8px 0;font-size:13px;letter-spacing:.05em}
    .top-bar-content{display:flex;align-items:center;justify-content: space-between;}
    .top-left{margin-right:40px}
    .call-us{color:#999;text-transform:uppercase}
    .phone-link{color:var(--brand);font-weight:500;margin-left:5px;}
    .top-right{display:flex;align-items:center;gap:20px}
    .request-link{color:var(--brand);text-transform:uppercase;font-weight:500;display:flex;align-items:center;gap:8px}
    .request-link:hover{opacity:0.8}
    .search-icon{color:#ccc;cursor:pointer;display:flex;align-items:center}

    .site-header {
        background: #ffffff; height: 70px;
        display: flex; align-items: center; justify-content: space-between;
        padding: 0 40px; position: relative; z-index: 1000;
    }

    .logo { margin-left: 18%; }
    .logo img { height: 50px; }
    .nav-menu { display: flex; gap: 55px; margin: 0 auto; }
    .nav-menu a { font-size: 15px; font-weight: 400; }
    .nav-menu a:hover { color: var(--primary-blue); }

    .hero-parallax-slider{position:relative;height:5vh;min-height:600px;overflow:hidden;background:#000}
    .parallax-container{height:100%;width:100%}
    .p-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease-in-out;display:flex;align-items:center;z-index:1}
    .p-slide.active{opacity:1;z-index:2}
    .p-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-attachment:fixed;transform:scale(1.1);transition:transform 10s linear;z-index:0}
    .p-slide.active .p-bg{transform:scale(1)}
    .p-content{position:relative;z-index:10;color:#fff}
    .p-content h1{font-size:3.5rem;margin-bottom:25px;max-width:900px}

    .hero-sub-section{position:relative;height:35vh;min-height:300px;display:flex;align-items:center;justify-content:center;background:#333;color:#fff;overflow:hidden;}
    .hero-sub{position:absolute;inset:0;z-index:0}
    .hero-sub .hero-bg{width:100%;height:100%;object-fit:cover;opacity:0.6}
    .hero-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.4);z-index:1;width: 100%;}
    .hero-sub-section .hero-content{position:relative;z-index:2;width:100%;margin-top:-40px}

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

    /* Ensure the slider container fits your design */
    .hero-slider-section { padding: 0;background: var(--bg-overlay); }
    /* Adjusting your existing button to work inside RevSlider layers */
    .hero-slider-section .btn-gold-outline { text-decoration: none;display: inline-flex;white-space: nowrap;}
    /* --- Hamburger Button --- */
    .hamburger-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 2000; }
    .hamburger-btn span { display: block; width: 25px; height: 3px; background: var(--text); }

    /* --- Mobile Overlay --- */
    .mobile-overlay { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100%; background: var(--bg-overlay); z-index: 1500; transition: 0.4s ease; padding: 20px; }
    .mobile-overlay.active { right: 0;}
    .overlay-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 20px;}
    .close-btn { background: none; border: none; color: #fff;  font-size: 30px; cursor: pointer;}
    .mobile-link-item { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .mobile-link-item a { color: #fff; font-size: 18px; display: block;}

    /* ========================================= 4. COMPONENT SPECIFIC STYLES ========================================= */
    
    /* Stats Bar */
    .aps-stats {
        background: #fff; border: 1px solid #eee;
        padding: 25px 0; margin-top: -60px; position: relative; z-index: 10;
    }
    .aps-item { font-size: 12px; text-align: center; border-left: 1px solid #eee; padding: 10px 15px; }
    .aps-item:first-child { border-left: none; }

    /* Practice Area Cards */
    .aps-card-title { font-size: 1.1rem; font-weight: 500; margin: 8px 0 6px; }
    .aps-icon svg { width: 65px; height: 65px; fill: #e3c78a; transition: 0.3s; }
    .aps-icon svg:hover { fill: var(--brand); transform: translateY(-5px); }
    .aps-link { color: #3267e3; font-weight: 500; display: flex; align-items: center; gap: 5px; }

    /* Who We Are / Quote Section */
    .quote-header { text-align: center; margin-bottom: 50px; border-bottom: 1px solid #eee; padding-bottom: 40px; }
    .main-quote { font-family: 'Playfair Display', serif; font-size: 28px; font-style: italic; color: #444; max-width: 800px; margin: 0 auto; line-height: 1.3; border:none;}
    
    .about-layout { display: flex; gap: 25px; }
    .about-sidebar { width: 160px; flex-shrink: 0; }
    .sidebar-img { width: 100%; height: 400px; background: #ccc url('https://lawyers-attorneys.vamtam.com/wp-content/uploads/2014/09/photo-1.png') center/cover; }
    .sidebar-nav { background: var(--primary-blue); color: white; padding: 16px; font-size: 10px; }
    .sidebar-nav li { border-bottom: 1px solid rgba(255,255,255,0.2); padding: 8px 0; cursor: pointer; }

    /* Services Panel */
    .services-card { display: flex; height: 480px; background: #f4f4f4; margin-bottom: 30px; }
    .services-list-panel { flex: 1; background: var(--bg-overlay); color: white; padding: 25px; }
    .services-ul { font-family: 'Playfair Display', serif; line-height: 1.8; }
    .services-ul li { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 8px 0; }
    .services-image-panel { flex: 1; background: url('https://lawyers-attorneys.vamtam.com/wp-content/uploads/2014/09/bg_4.jpg') center/cover; background-repeat: no-repeat;  background-size: cover; background-position: right center;}

    /* Clients Scroller */
    .logo-scroller { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
    .logo-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: logo-scroll 40s linear infinite; }
    
    @keyframes logo-scroll { to { transform: translateX(-50%); } }

    /* Partners */
    .partner-card { text-align: center; background: #fff; border: 1px solid var(--line); padding: 30px 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
    .partner-photo { width: 220px; height: 220px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
    .partner-photo img { width: 100%; height: 100%; object-fit: cover; }
    .social-icon { width: 16px; height: 16px; opacity: 0.4; filter: grayscale(100%); transition: 0.3s; display: inline-flex; justify-content: center; }
    .social-icon img { width: 100%; height: auto; }
    .social-icon:hover { opacity: 1; filter: grayscale(0%); transform: translateY(-2px); }

    /* Work with Us Section */
    .work-header { display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
    .work-header::before, .work-header::after { content: ""; flex: 1; border-bottom: 1px solid #e5e5e5; margin: 0 30px; }

    .practice-area{padding:80px 0;background:#ffffff}
    .section-title{text-align:center;font-size:30px;font-weight:500;margin-bottom:25px}
    .practice-filter{text-align:center;margin-bottom:40px;border:1px solid #eee;padding:10px 0}
    .practice-filter a{margin:0 12px;font-size:14px;color:#666;text-decoration:none;padding-bottom:6px}
    .practice-filter a.active{color:#3a6edc;border-bottom:2px solid #3a6edc}
    .practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
    .practice-card{border:1px solid #f0f0f0;padding:22px;background:#fff}
    .practice-card h3{font-size:17px;font-weight:500;color:#2f55d4;margin-bottom:10px}
    .practice-card p{font-size:15px;line-height:1.7;color:#666}
    .video-card{padding:0}
    .video-thumb iframe{width:100%;height:180px;display:block}
    .video-card h3,.video-card p{padding:0 22px 18px}

    /* Testimonial Form */
    .testimonial-form-container{background-color:var(--gold);padding:50px;max-width:1100px;margin:-70px auto 80px;position:relative;z-index:10;}
    .testimonial-form{display:flex;flex-direction:column;gap:20px}
    .form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
    .form-group{display:flex;flex-direction:column;gap:8px}
    .form-group label{font-size:13px;color:#fff;font-weight:500}
    .label-note{font-weight:400;opacity:0.9;font-size:12px}
    .testimonial-form input[type="text"],.testimonial-form input[type="email"],.testimonial-form textarea{width:100%;padding:12px 15px;border:none;font-family:inherit;font-size:14px}
    .testimonial-form textarea{height:100px;resize:vertical}

    /* TESTIMONIAL GRID STYLES  */

    /* Layout & Titles */
    .comments-title { text-align: center; margin-bottom: 50px; font-family: 'Playfair Display', serif; }
    .comments-title a { font-size: 26px; color: var(--text); font-weight: 700; }
    .comment-word { font-weight: 400; color: var(--muted); font-style: italic; margin-left: 5px; }

    /* Masonry Layout */
    .masonry-grid { column-count: 3; column-gap: 30px; width: 100%; }
    .testimonial-card { break-inside: avoid; margin-bottom: 40px; background: #fff; text-align: center; }

    /* Divider styling */
    .sep-divider { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
    .sep-line { flex: 1; height: 1px; background: var(--line); }
    .sep-icon { padding: 0 15px; color: var(--gold); font-size: 18px; font-family: serif; }

    /* Typography Inside Cards */
    .author-name { font-size: 16px; color: var(--brand); font-weight: 500; margin-bottom: 15px; line-height: 1.4; }
    .testimonial-text { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 15px; }
    .testimonial-footer { color: #ccc; font-size: 12px; }
    .footer-dash { display: block; margin-bottom: 5px; }
    .comment-time { font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }

    /* AWARDS PAGE - IMAGE POSTS */
    .awards-posts { padding: 60px 0 80px; background: #fff; }

    /* Each Post */
    .award-post { max-width: 920px; margin: 0 auto 55px; }
    .award-img { width: 100%; height: auto; display: block; border: 1px solid #eee; background: #f7f7f7; }

    /* Caption Area */
    .award-title { margin: 18px 0 6px; font-size: 18px; font-weight: 500; color: #333; }
    .award-desc { margin: 0; font-size: 14px; color: #666; line-height: 1.7; }
    .award-post { background: #ffffff; padding: 14px; border: 1px solid #e5e5e5; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
    .award-img { border: 1px solid #dcdcdc; }
    .award-post:last-child { margin-bottom: 0; }

    /* ========================================= Conatct page ========================================= */
    /* ===== Based in Colombo section ===== */
    .based-section { background:#fff; padding: 70px 0 80px; }
    .based-wrap { max-width: 1200px; margin: 0 auto; }
    .based-title { text-align:center; font-size: 42px; font-weight: 300; color:#3e3e3e; margin: 0 0 12px; }
    .based-accent-line { width: 120px; height: 3px; background:#d2a96b; margin: 0 auto 18px; }
    .based-sub { text-align:center; color:#8a8a8a; font-size: 18px; margin: 0 0 60px; }
    .based-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 80px; align-items:start; text-align:center; }
    .based-col { padding: 0 10px; }
    .based-icon { width: 46px; height: 46px; margin: 0 auto 18px; color:#c8a36b; }
    .based-icon svg { width:100%; height:100%; display:block; }
    .based-heading { font-size: 14px; font-weight: 700; letter-spacing: .04em; color:#5a5a5a; margin-bottom: 14px; text-transform: uppercase; }
    .based-text { color:#6f6f6f; font-size: 14px; line-height: 1.9; }
    .based-text-right { text-transform: uppercase; letter-spacing: .02em; }
    .based-link { display:inline-block; margin-top: 10px; color:#3a6edc; font-size: 14px; }
    .based-link:hover { text-decoration: underline; }
    .based-bottom { margin-top: 60px; text-align:center; color:#6f6f6f; font-size: 15px; }
    .based-bottom a { color:#6f6f6f; text-decoration:none; }
    .based-bottom a:hover { text-decoration: underline; }
    .based-divider { margin: 40px auto 18px; max-width: 1000px; height: 1px; background: #eeeeee; }

    /* CONTACT PAGE – SOCIAL MEDIA ICONS */
    .contact-social-icons { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 30px 0 85px; }
    .contact-social-icons img { width: 22px; height: auto; opacity: 0.55; transition: 0.3s ease; display: block; }
    .contact-social-icons img:hover { opacity: 1; transform: translateY(-2px); }

    /* ATTORNEYS PAGE */
    .attorneys-section { background:#fff; padding: 70px 0 60px; }
    .attorneys-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 70px 40px; align-items:start; }
    .attorney-card { color:#555; background: #ffffff; border: 1px solid #eeeeee; padding: 26px 22px 30px; transition: 0.3s ease; position: relative; }
    .attorney-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 400; margin: 0 0 6px; color:#333; }
    .attorney-role { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color:#9a9a9a; margin-bottom: 14px; }
    .attorney-contact { margin-bottom: 10px; }
    .attorney-link { display:block; font-size: 13px; color:#3a6edc; margin: 0 0 6px; }
    .attorney-link:hover { text-decoration: underline; }
    .attorney-social { display:flex; gap: 10px; align-items:center; margin: 8px 0 18px; opacity: .45; }
    .attorney-social a { color:#666; font-weight: 700; font-size: 14px; text-decoration:none; }
    .attorney-social a:hover { opacity: 1; color:#3a6edc; }
    .attorney-sep { border: none; border-top: 1px solid #efefef; margin: 0 0 14px; }
    .attorney-meta p { font-size: 15px; line-height: 1.8; margin: 0 0 8px; color:#6b6b6b; }
    .attorney-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; background: transparent; transition: 0.3s ease; }
    .attorney-card:hover { border-color: #d6d6d6; box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
    .attorney-card:hover::before { background: var(--gold-text); }
    .attorney-card h4, .attorney-card h3 { margin-top: 0; }
    .attorney-card .footer-social, .attorney-card .social-icons { margin-top: 12px; }

    /* INTERN CTA */
    .intern-cta { background:#fff; padding: 45px 0 55px; }
    .intern-wrap { text-align:center; max-width: 820px; }
    .intern-wrap h2 { font-size: 26px; font-weight: 400; color:#3c3c3c; margin: 0 0 10px; }
    .intern-wrap p { color:#8a8a8a; font-size: 13px; line-height: 1.7; margin: 0 0 18px; }
    .intern-btn { display:inline-flex; align-items:center; gap: 10px; padding: 10px 18px; border: 1px solid #d7b27b; color:#d7b27b; text-decoration:none; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; transition: .3s; }
    .intern-btn:hover { background:#d7b27b; color:#fff; }
    .intern-icon { font-size: 12px; }

    /* CONSULT STRIP */
    .consult-strip { background:#f7f7f7; padding: 40px 0 55px; }
    .consult-title { text-align:center; color:#9a9a9a; letter-spacing: .08em; font-size: 12px; margin-bottom: 22px; text-transform: uppercase; }
    .contact-mini-form { display:grid; grid-template-columns: 1fr 1fr 1fr 320px; gap: 40px; align-items:center; }
    .cm-field input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid #ececec; background:#fff; outline:none; font-size: 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
    .cm-field input::placeholder { color:#b8b8b8; }
    .cm-submit { background: #d2ae6d; color: #fff; padding: 16px 32px; border: none; font-weight: 600; cursor: pointer; transition: 0.3s ease; white-space: nowrap; height: 52px; width: 100%; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
    .cm-submit:hover { filter: brightness(0.95); transform: translateY(-1px); }
    .cm-submit.sending, .cm-submit.sent { background: #3b7ddd; }
    .cm-submit:disabled { cursor: not-allowed; opacity: 0.9; }
    .consult-success { margin-top: 28px; padding: 14px 18px; border: 2px solid #39b54a; color: #333; font-size: 14px; background: #f9fff9; }

    /* =========================================  FOOTER ========================================= */

    .site-footer{ position: relative; background: url("https://lawyers-attorneys.vamtam.com/wp-content/uploads/2014/09/bg_3.jpg") center/cover no-repeat; color: #e9edf3; overflow: hidden;}
    .site-footer::before{ content:""; position:absolute; inset:0; z-index:0; }
    .footer-top{ position: relative; z-index: 1; padding: 70px 0; }
    .footer-backtop{ text-align:center; margin-bottom: 30px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
    .footer-backtop a{ color: var(--light-blue-header); }
    .footer-backtop a:hover{color:#fff}
    .footer-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:40px;align-items:start}

    /* LEFT */
    .footer-phone{margin-bottom:26px}
    .footer-phone .city{display:block;font-size:13px;opacity:.85;margin-bottom:6px}
    .footer-phone a{font-size:32px;color:var(--gold);font-weight:500;letter-spacing:.02em}
    .footer-title{font-family:'Playfair Display',serif;font-size:26px;margin:0 0 16px;color:#fff}
    .footer-about{font-size:14px;line-height:1.85;opacity:.88;max-width:420px}
    .footer-left .btn-gold-outline{margin-top:26px} 

    /* CENTER CTA */
    .footer-center{display:flex;justify-content:center;padding-top:58px}
    .cta-circle{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.45);display:inline-flex;align-items:center;justify-content:center;font-size:14px;opacity:.95}
    .cta-text{white-space:nowrap}
    .cta-arrow{font-size:18px;opacity:.95}

    /* RIGHT */
    .footer-right{display:flex;justify-content:flex-start}
    .footer-title-right{margin-bottom:18px;font-size:28px}
    .footer-right-text{padding-left:60px}
    .footer-right-text p{margin:0 0 10px;font-size:14px;opacity:.92}
    .footer-email{margin-top:14px}
    .footer-email a,.footer-maplink{color:var(--light-blue-header)}
    .footer-email a:hover,.footer-maplink:hover{color:#fff;opacity:1}
    .footer-maplink{display:inline-block;margin-top:10px;font-size:13px;opacity:.9}

    /* BOTTOM */
    .footer-bottom{position:relative;z-index:1;background:#3a4048;padding:18px 0}
    .footer-bottom-row{display:flex;align-items:center;justify-content:space-between}
    .footer-copy{font-size:13px;opacity:.75}
    .footer-brand{display:flex;align-items:center;justify-content:center;opacity:.95}
    .footer-social img{width:26px;opacity:.55;transition:.3s}
    .footer-social img:hover{opacity:1;transform:translateY(-2px)}

    
            

    /* ========================================= 5. RESPONSIVE ========================================= */

     @media (max-width: 1100px) { 
        .attorneys-grid { grid-template-columns: repeat(2, 1fr); } 
        .contact-mini-form { grid-template-columns: 1fr 1fr; gap: 20px; } 
        .cm-submit { grid-column: span 2; } 
    }

    @media (max-width: 900px) {
        .logo { margin-left: 0; }
        .logo img { height: 35px; }
        .grid-4, .grid-2, .content-grid { grid-template-columns: 1fr; }
        .about-layout { flex-direction: column; }
        .about-sidebar { width: 100%; display: flex; }
        .services-card { flex-direction: column; height: auto; }
        .services-image-panel { height: 200px; }
        .hero-content h1 { font-size: 2.5rem; }
        .nav-menu { display: none; }
        .hamburger-btn { display: flex; }
        .footer-grid{ grid-template-columns: 1fr; text-align:center; }
        .footer-center{ padding-top: 20px; }
        .footer-right-text{ padding-left: 0; }
        .footer-bottom-row{ flex-direction: column; gap: 14px; }
        .practice-grid { grid-template-columns: 1fr 1fr; }
        .form-row{grid-template-columns:1fr}.testimonial-form-container{padding:20px}
        .testimonial-form-container { margin: -50px 20px 60px; padding: 30px; }
        .masonry-grid { column-count: 2; } 
        .contact-social-icons { margin-bottom: 50px; }
    }

    @media (max-width: 768px) {
        .top-bar-content { flex-direction: column; gap: 8px; text-align: center; }
        .top-right {gap: 15px; }
        .award-post { margin-bottom: 40px; }
        .award-title { font-size: 16px; }
    }

    @media (max-width: 600px) { 
        .practice-grid { grid-template-columns: 1fr; }
        .form-row { grid-template-columns: 1fr; }
        .hero-sub-section { height: 30vh; }
        .testimonial-form-container { margin-top: -30px; }
        .masonry-grid { column-count: 1; }
        .testimonial-card { margin-bottom: 30px; }
        .attorneys-grid { grid-template-columns: 1fr; } 
        .cm-submit { grid-column: auto; }
    }
    
    /* =========================================
   FULL BORDER BOX FOR TESTIMONIAL CARDS
   (ADD THIS AT THE END OF YOUR CSS)
========================================= */

.masonry-grid .testimonial-card{
  /* keep your current layout, just add full border */
  border: 1px solid var(--line);
  padding: 26px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-radius: 0;
  overflow: hidden;            /* ensures border looks continuous */
}

/* Optional: make the divider sit nicely inside the border */
.masonry-grid .testimonial-card .sep-divider{
  margin-top: 0;
  padding-top: 0;
}

/* Optional: add a subtle hover like your other cards */
.masonry-grid .testimonial-card:hover{
  border-color: #d6d6d6;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  transition: 0.25s ease;
}


/* =========================================================
   CONTACT PAGE – MOBILE RESPONSIVE (ADD TO END OF CSS)
========================================================= */

/* ---------- 1024px and below ---------- */
@media (max-width: 1024px){
  .based-grid{
    gap: 50px;
  }
  .contact-mini-form{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .cm-submit{
    grid-column: span 2;
    width: 100%;
  }
}

/* ---------- 900px and below ---------- */
@media (max-width: 900px){
  .based-section{
    padding: 55px 0 65px;
  }

  .based-title{
    font-size: 34px;
    line-height: 1.2;
  }

  /* stack 3 columns */
  .based-grid{
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .based-col{
    padding: 0;
  }

  .based-icon{
    margin-bottom: 14px;
  }

  .based-text{
    font-size: 14px;
    line-height: 1.85;
  }

  .based-text-right{
    text-align: center;
  }

  .based-bottom{
    font-size: 14px;
    padding: 0 10px;
  }

  .based-divider{
    max-width: 100%;
  }

  /* consultation strip spacing */
  .consult-strip{
    padding: 35px 0 45px;
  }
}

/* ---------- 600px and below (mobile) ---------- */
@media (max-width: 600px){
  /* hero title */
  .hero-sub-section{
    min-height: 240px;
    height: 30vh;
  }
  .hero-sub-section .hero-content{
    margin-top: 0;
    padding-top: 10px;
  }
  .hero-sub-section .section-title{
    font-size: 26px;
  }

  .based-title{
    font-size: 28px;
  }

  .based-accent-line{
    width: 90px;
  }

  /* social icons wrap nicely */
  .contact-social-icons{
    flex-wrap: wrap;
    gap: 14px;
    margin: 22px 0 55px;
  }

  /* consultation form full width */
  .contact-mini-form{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cm-submit{
    grid-column: auto;
    height: 50px;
    font-size: 12px;
    padding: 14px 18px;
  }

  .cm-field input{
    height: 48px;
    font-size: 14px;
    padding: 0 14px;
  }

  .consult-title{
    font-size: 11px;
    margin-bottom: 18px;
  }

  .consult-success{
    font-size: 13px;
  }
}

/* ---------- 420px and below (small phones) ---------- */
@media (max-width: 420px){
  .based-title{
    font-size: 24px;
  }

  .based-text{
    font-size: 13px;
  }

  .based-heading{
    font-size: 12px;
  }

  .based-link{
    font-size: 13px;
  }
}

/* ===== Recognition ===== */
.aps-recognition {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.aps-recognition .heading {
    text-align: center;
    margin: 0 0 26px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 1.8rem;
    color: #111;
}

.rec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 26px;
}

.rec-card {
    border: 1px solid #eee;
    padding: 20px 22px;
    background: #fff;
}

.rec-card h3 {
    margin: .25rem 0 .5rem;
    font-size: 1.1rem;
}

.rec-card .byline {
    color: #777;
    font-size: .9rem;
    margin-bottom: 10px;
}

.rec-card p {
    color: #444;
    line-height: 1.7;
}

.rec-card .readmore {
    display: inline-block;
    margin-top: 12px;
    color: #3267e3;
    text-decoration: none;
    font-weight: 600;
}

.rec-card .readmore:hover {
    text-decoration: underline;
}

/* === Awards: 3-column Horizontal Row === */
.awds { margin-top: 50px; }

/* Force Grid layout for Awards */
.awd-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    align-items: stretch;
}

.awd-item {
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
    /* padding removed here, applied to link */
    padding: 0; 
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Fix for the Award Link (removes blue/underline) */
.awd-link {
    display: block !important;
    width: 100%;
    height: 100%;
    padding: 20px; /* Padding moved inside the link */
    text-decoration: none !important;
    color: inherit !important;
}

.awd-thumb {
    width: 120px;
    height: 100px;
    margin: 0 auto 15px;
}

.awd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.awd-body .date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 4px;
}

.awd-body .title {
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.awd-body .subtitle {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 8px;
}

.awd-body .meta {
    font-size: 0.85rem;
    color: #888;
}

/* =========================================
   PRACTICE SIDEBAR (ADD ONLY)
   ========================================= */
.practice-layout{
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.practice-sidebar .ps-card{
    border: 1px solid #eee;
    background: #fff;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    position: sticky;
    top: 90px; /* header height adjust */
}

.ps-title{
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

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

.ps-item{
    border-bottom: 1px solid #f6f6f6;
}

.ps-item:last-child{
    border-bottom: none;
}

.ps-link{
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: #2f55d4;
    text-decoration: none;
    transition: .3s;
}

.ps-link:hover{
    color: #3a6edc;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px){
    .practice-layout{
        grid-template-columns: 1fr;
    }
    .practice-sidebar .ps-card{
        position: relative;
        top: auto;
    }
}


/* =========================================
   PRACTICE DETAIL PAGE (COMMON FORMAT for all 13)
   ADD ONLY
   ========================================= */

.practice-detail{
  background:#fff;
  padding: 70px 0 80px;
}

/* Use your existing sidebar grid */
.practice-layout{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Main content */
.practice-main{
  min-width: 0;
}

/* Quote block (creative) */
.practice-quote{
  display: block;
  gap: 22px;
  margin-bottom: 36px;
}

.pq-bar{
  width: 6px;
  background: var(--gold-text);
  opacity: .85;
  flex: 0 0 6px;
}

.practice-quote blockquote{
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.02;
  color: #3e3e3e;
  font-weight: 500;
}

.pq-source{
  display: inline-block;
  margin-left: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #4c4c4c;
}

/* Body */
.practice-body{
  margin-top: 10px;
}

.practice-intro{
  margin: 0 0 16px;
  color: #6d6d6d;
  font-size: 18px;
}

.practice-list{
  margin: 0;
  padding-left: 22px;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.9;
}

.practice-list li{
  margin: 12px 0;
}

/* Share buttons row */
.practice-share{
  margin-top: 55px;
  border-top: 1px solid #eee;
  padding-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ps-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f2f2f2;
  border: 1px solid #e6e6e6;
  color: #444;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: .3s;
}

.ps-btn:hover{
  background: #eaeaea;
  transform: translateY(-1px);
}

.ps-ico{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #dcdcdc;
  color: #333;
  font-weight: 700;
  font-size: 12px;
}

/* Sidebar card (if not already added) */
.practice-sidebar .ps-card{
  border: 1px solid #eee;
  background: #fff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  position: sticky;
  top: 90px;
}

.ps-title{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.ps-list{ list-style:none; margin:0; padding:0; }
.ps-item{ border-bottom: 1px solid #f6f6f6; }
.ps-item:last-child{ border-bottom:none; }

.ps-link{
  display:block;
  padding: 10px 0;
  font-size: 14px;
  color: #2f55d4;
  text-decoration:none;
  transition:.3s;
}

.ps-link:hover{
  color:#3a6edc;
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px){
  .practice-layout{
    grid-template-columns: 1fr;
  }

  .practice-quote blockquote{
    font-size: 32px;
    line-height: 1.15;
  }
  .pq-source{
    font-size: 22px;
  }

  .practice-intro,
  .practice-list{
    font-size: 16px;
  }

  .practice-sidebar .ps-card{
    position: relative;
    top: auto;
  }
}

/* Foreign investment content typography (ADD ONLY) */
.practice-paragraph{
  margin: 0 0 18px;
  color: #6a6a6a;
  font-size: 16px;
  line-height: 1.9;
}

.practice-h3{
  margin: 26px 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #3e3e3e;
  font-weight: 600;
}

.practice-ul{
  margin: 0 0 18px;
  padding-left: 22px;
  color: #5f5f5f;
  font-size: 16px;
  line-height: 1.9;
}

.practice-ul li{
  margin: 10px 0;
}

.practice-video {
  margin: 30px 0 35px;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.practice-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.practice-h3 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 600;
}

.practice-ul {
  margin: 14px 0 22px 20px;
}

.practice-ul li {
  margin-bottom: 6px;
}

.practice-list{
  margin: 10px 0 22px;
  padding-left: 20px;
  color:#5f5f5f;
  font-size: 16px;
  line-height: 1.9;
}
.practice-list li{ margin: 8px 0; }


/* =========================================
   FAQ V2 (hover open + arrow icon)
   ========================================= */
.faq2 { background:#fff; }

.faq2-head{
  text-align:center;
  max-width: 850px;
  margin: 0 auto 50px;
}
.faq2-head h3{
  font-size: 36px;
  margin: 0 0 10px;
  color:#3e3e3e;
  font-weight: 500;
}
.faq2-head p{
  margin: 0;
  color:#777;
  line-height: 1.7;
  font-size: 15px;
}

.faq2-layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items:start;
}

/* LEFT sidebar */
.faq2-side-card{
  border: 1px solid #eee;
  background:#fff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  position: sticky;
  top: 90px;
}
.faq2-side-title{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:#444;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
}
.faq2-cat{
  display:block;
  padding: 10px 0;
  color:#2f55d4;
  text-decoration:none;
  border-bottom: 1px solid #f6f6f6;
  transition: .3s;
  font-size: 14px;
}
.faq2-cat:hover{ transform: translateX(4px); color:#3a6edc; }

.faq2-side-cta{ margin-top: 16px; }

/* RIGHT groups */
.faq2-group{ margin-bottom: 32px; }
.faq2-group-title{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color:#3e3e3e;
  margin: 0 0 12px;
}

/* accordion items */
.faq2-item{
  border: 1px solid #eee;
  background:#fff;
  margin-bottom: 12px;
  transition: .3s;
}

.faq2-q{
  width: 100%;
  padding: 16px 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 700;
  color:#333;
}

/* ANSWER hidden by default */
.faq2-a{
  display: none;
  padding: 0 16px 16px;
  color:#666;
  line-height: 1.8;
  font-size: 14px;
}

/* Hover shows answer */
.faq2-item:hover .faq2-a{
  display: block;
}

/* Arrow icon */
.faq2-ico{
  width: 30px;
  height: 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  color:#777;
  transition: .3s;
  font-size: 16px;
  line-height: 1;
}

/* Rotate arrow on hover */
.faq2-item:hover .faq2-ico{
  transform: rotate(180deg);
  border-color: var(--gold-text);
  color: var(--gold-text);
}

/* subtle hover highlight */
.faq2-item:hover{
  border-color: #ddd;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 900px){
  .faq2-layout{ grid-template-columns: 1fr; }
  .faq2-side-card{ position: relative; top:auto; }
}

/* ===== Articles Page – Wide Card Fix ===== */

.practice-grid1 {
  display: grid;
  grid-template-columns: 1fr; /* single wide column */
  gap: 30px;
  justify-content: center;
}

.practice-card1 {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 35px 40px;
  border: 1px solid #eee;
  background: #fff;
  transition: all 0.3s ease;
}

.practice-card1 h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.practice-card1 p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* Hover effect – premium */
.practice-card1:hover {
  border-color: #c9a24d;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.attorney-name1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}

.attorney-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.attorney-photo img {
    width: 100%;
    border-radius: 4px;
}

.attorney-sidebar h4 {
    margin-top: 25px;
    letter-spacing: 1px;
}

.attorney-sidebar a {
    color: #3267e3;
    display: block;
    margin-bottom: 5px;
}



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

.arrow-links li {
    margin-bottom: 10px;
}

.arrow-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.arrow-links a:hover {
    color: #c9a46b; /* gold */
    padding-left: 6px;
}


.gold-quote {
    border-left: 4px solid #c9a36a;
    padding-left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.section-title-left {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-section {
    background: #fafafa;
}

.contact-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-form textarea {
    grid-column: 1 / -1;
    height: 160px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.contact-form button {
    grid-column: 1 / 2;
    background: #c9a36a;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    cursor: pointer;
}

.contact-form button:hover {
    background: #b08d58;
}
