











/* ==========================================================================
   1. GOOGLE FONTS & GLOBAL SETTINGS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@300;400;600&display=swap');

/* Basic Resets - Removes browser default spacing */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Global Body Styles */
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #f9f9f9; 
    color: #333; 
    line-height: 1.6; 
}


/* ==========================================================================
   2. HEADER & BRANDING (Title & Slogan)
   ========================================================================== */
.site-header { 
    background: #000000; 
    padding-top: 40px; 
    text-align: center; 
    border-bottom: 1px solid #eee; 
}

.site-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 38px; 
    color: #ffffff; 
    letter-spacing: 2px; 
}

.highlight { 
    color: #1a237e; 
    font-weight: 900; 
}

.gavel-icon { 
    color: #c5a059; 
}

.site-slogan { 
    font-size: 12px; 
    color: #c5a059; 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    margin-top: 10px; 
}


/* ==========================================================================
   3. NAVIGATION BAR (Menu & Action Buttons)
   ========================================================================== */
.navigation-bar { 
    background: #c5a059; /* Your Gold Background */
    border-top: 1px solid rgba(255,255,255,0.2); 
    padding: 12px 0; 
    margin-top: 25px; 
}

.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
}

.menu { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
}

.menu a { 
    text-decoration: none; 
    color: #0d1245; /* White text looks better on Gold */
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    transition: all 0.3s ease; /* Smooth color change */
}

/* Hover effect for Menu Links */
.menu a:hover { 
    color: #ffffff; /* Turns Navy Blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}




/* "Join as Lawyer" Button */
.join-btn { 
    background: #0d1245; 
    color: #fff !important; 
    padding: 10px 22px; 
    text-decoration: none; 
    font-size: 12px; 
    font-weight: 600; 
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Hover effect for the Join Button */
.join-btn:hover { 
    background: #1a237e; /* Slightly lighter navy */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: scale(1.05); /* Grows slightly */
}

/* Login Button (if you have one in the nav) */
.login-btn {
    text-decoration: none;
    color: #0d1245;
    font-size: 13px;
    font-weight: 700;
    margin-right: 15px;
    transition: 0.3s;
}

.login-btn:hover {
    color: #ffffff;
}


/* ==========================================================================
   3.5 SLIM SEARCH ROW (3-Box Layout Fix)
   ========================================================================== */
.search-row {
    background: #0d1245; 
    padding: 8px 0; 
    border-bottom: 3px solid #c5a059;
}

.header-search-form {
    display: flex !important; /* Forces Flexbox */
    flex-direction: row;      /* Ensures side-by-side */
    justify-content: center;
    align-items: center;
    gap: 12px;                /* Space between the 3 boxes */
    width: 100%;
    flex-wrap: nowrap;        /* Prevents boxes from jumping to next line */
}

.search-group {
    background: white;
    display: flex;
    align-items: center;
    padding: 0 12px; 
    border-radius: 4px;
    flex: 1;                 /* Makes all 3 boxes take equal width */
    max-width: 280px;        /* Increased slightly for better fit */
    height: 38px;            /* Increased slightly for better touch */
    border: 1px solid #ddd;
}

.search-group i {
    color: #c5a059;
    margin-right: 10px;
    font-size: 14px;
    flex-shrink: 0;          /* Prevents icon from squishing */
}

.search-group select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: transparent;
    height: 100%;
    cursor: pointer;
    appearance: none;        /* Removes default browser arrow to style our own if needed */
}

.header-search-btn {
    background: #c5a059;
    color: white;
    border: none;
    padding: 0 25px; 
    height: 38px;            /* Matches search-group height exactly */
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;          /* Prevents button from getting thin */
}

.header-search-btn:hover {
    background: #ffffff;
    color: #0d1245;
}

/* Responsive Fix for Mobile Phones */
@media (max-width: 768px) {
    .header-search-form {
        flex-direction: column; /* Stack them on top of each other on mobile */
        gap: 8px;
    }
    .search-group {
        max-width: 90%;
        width: 100%;
    }
    .header-search-btn {
        width: 90%;
    }
}

/* =============================================================================
                            
                              QUICK SEARCH PAGE START
                              
   ========================================================================== */
   
    .search-page-wrapper { 
        background: #f8fafc; 
        min-height: 100vh; 
        padding: 40px 0;
        font-family: 'Segoe UI', Arial, sans-serif;
    }

    .container-plf { max-width: 1300px; margin: 0 auto; padding: 0 15px; }

    /* Results Header */
    .results-header {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        margin-bottom: 25px; 
        background: #fff; 
        padding: 15px 25px; 
        border-radius: 8px; 
        border-bottom: 4px solid #c5a059;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    /* Table & Golden Grid */
    .table-responsive-plf {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        overflow: hidden;
        border: 2px solid #c5a059;
    }

    .plf-lawyer-table {
        width: 100%;
        border-collapse: collapse;
    }

    /* Column Width Management */
    .col-id { width: 80px; text-align: center; }
    .col-pic { width: 80px; text-align: center; }
    .col-name { width: 200px; }
    .col-location { width: 150px; }
    .col-expertise { width: auto; } /* Largest Column */
    .col-action { width: 130px; text-align: center; }

    .plf-lawyer-table thead { background: #002147; color: #fff; }

    .plf-lawyer-table th {
        padding: 15px;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
        border: 1px solid #c5a059; /* Golden Grid line */
    }

    .plf-lawyer-table td {
        padding: 12px;
        border: 1px solid #c5a059; /* Golden Grid line */
        vertical-align: middle;
        color: #334155;
        font-size: 14px;
    }

    /* Zebra Striping */
    .plf-lawyer-table tbody tr:nth-child(even) { background-color: #fffaf0; }
    .plf-lawyer-table tbody tr:hover { background-color: #f7ead0 !important; transition: 0.2s; }

    /* Image Styling */
    .table-passport-photo {
        width: 50px; height: 55px;
        object-fit: cover;
        border-radius: 4px;
        border: 1px solid #c5a059;
        display: block; margin: 0 auto;
    }

    /* Category Tags (Matched to Profile) */
    .tags-flex-wrap { display: flex; flex-wrap: wrap; gap: 5px; }

    .practice-tag {
        display: inline-block;
        padding: 4px 10px;
        background: #eef4ff; /* Profile Page Style */
        color: #007bff;
        font-size: 11px;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid #c5a059; /* Adding gold border to match table theme */
    }

    .practice-tag.general-practice {
        background: #f1f5f9;
        color: #64748b;
        border: 1px dashed #cbd5e1;
        font-style: italic;
    }

    /* Action Button */
    .btn-view-profile {
        background: #c5a059;
        color: #fff;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: bold;
        text-transform: uppercase;
        border: 1px solid #002147;
    }

    .btn-view-profile:hover { background: #002147; color: #c5a059; }

    .plf-id-text { font-weight: bold; color: #002147; }   
   
   
   
   
