:root {
    --navy-950: #071a2b;
    --navy-900: #0c253d;
    --navy: #173e63;

    --gold-700: #a97924;
    --gold: #c99a3e;
    --gold-light: #efd28b;

    --cream: #f8f5ef;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;

    --text-dark: #1d2939;
    --text-muted: #667085;
    --border: #e5eaf0;

    --success: #14804a;
    --danger: #d92d20;

    --shadow-sm: 0 4px 14px rgba(16, 42, 67, 0.06);
    --shadow-md: 0 14px 35px rgba(16, 42, 67, 0.1);
    --shadow-lg: 0 22px 60px rgba(7, 26, 43, 0.16);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
}

/* Reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text-dark);
    background: var(--surface);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--navy-900);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
}

a {
    transition: all 0.2s ease;
}

/* Typography */
.eyebrow,
.section-kicker,
.profile-label {
    color: var(--gold-700);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-title {
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.section-pad {
    padding: 88px 0;
}

/* Buttons */
.btn {
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 6px 16px rgba(16, 42, 67, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #ffffff;
    background: var(--navy-950);
    border-color: var(--navy-950);
    box-shadow: 0 9px 22px rgba(16, 42, 67, 0.25);
}

.btn-outline-primary {
    color: var(--navy);
    background: #ffffff;
    border-color: #b7c5d4;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
}

.btn-outline-success {
    color: var(--success);
    background: #ffffff;
    border-color: #76c596;
}

.btn-outline-success:hover {
    color: #ffffff;
    background: var(--success);
    border-color: var(--success);
}

.btn-outline-danger {
    color: var(--danger);
    background: #ffffff;
    border-color: #f1aaa4;
}

.btn-outline-danger:hover {
    color: #ffffff;
    background: var(--danger);
    border-color: var(--danger);
}

.btn-outline-warning {
    color: #986801;
    background: #ffffff;
    border-color: #dfb45a;
}

.btn-outline-warning:hover {
    color: #ffffff;
    background: #a86f00;
    border-color: #a86f00;
}

/* Navbar */
.site-navbar {
    min-height: 76px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(16, 42, 67, 0.04);
    z-index: 1000;
}

.navbar-brand {
    color: var(--navy-900);
    line-height: 1.05;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--navy-900);
}

.navbar-brand strong {
    font-size: 1.08rem;
    font-weight: 800;
}

.navbar-brand small {
    display: block;
    margin-top: 2px;
    color: var(--gold-700);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(201, 154, 62, 0.2);
    border-radius: 13px;
    color: var(--gold-light);
    background: linear-gradient(135deg, var(--navy-950), var(--navy));
    box-shadow: 0 6px 14px rgba(16, 42, 67, 0.16);
    font-size: 1.28rem;
}

.nav-link {
    color: #52606d;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-700);
}

.navbar-toggler {
    border-color: #d7e0e8;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 154, 62, 0.2);
}

/* Home Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 86% 22%,
            rgba(201, 154, 62, 0.38),
            transparent 23%
        ),
        radial-gradient(
            circle at 94% 80%,
            rgba(43, 111, 160, 0.34),
            transparent 28%
        ),
        linear-gradient(115deg, var(--navy-950), var(--navy-900));
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    opacity: 0.3;
    pointer-events: none;
}

.hero::after {
    position: absolute;
    right: 4%;
    bottom: -82px;
    content: "⚖";
    color: rgba(255, 255, 255, 0.055);
    font-size: 30rem;
    line-height: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero .eyebrow {
    color: var(--gold-light);
}

.hero h1 {
    max-width: 760px;
    margin: 1rem 0 1.3rem;
    color: #ffffff;
    font-size: clamp(2.75rem, 6vw, 5.4rem);
    line-height: 1.05;
}

.hero p {
    max-width: 620px;
    margin-bottom: 0;
    color: #dce7f0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Search */
.search-box {
    max-width: 700px;
    padding: 8px;
    margin-top: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.search-box input {
    min-height: 48px;
    border: 0;
    color: var(--text-dark);
    box-shadow: none !important;
}

.search-box input:focus {
    border: 0;
    box-shadow: none !important;
}

/* Statistics */
.stats-strip {
    border-bottom: 1px solid #eee6d7;
    background: var(--cream);
}

.stat-number {
    color: var(--navy-900);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.65rem;
    font-weight: 700;
    line-height: 1.1;
}

/* Common Cards */
.info-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-circle {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 16px;
    color: var(--gold-700);
    background: #fff6e4;
    font-size: 1.4rem;
}

.gold-link {
    color: var(--gold-700);
    font-weight: 800;
    text-decoration: none;
}

.gold-link:hover {
    color: var(--navy);
}

.cta-box {
    padding: 3.3rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(201, 154, 62, 0.27),
            transparent 28%
        ),
        linear-gradient(130deg, var(--navy-950), var(--navy));
    box-shadow: var(--shadow-md);
}

.cta-box h2 {
    color: #ffffff;
}

.cta-box .section-kicker {
    color: var(--gold-light);
}

/* Footer */
.site-footer {
    color: #ffffff;
    background: var(--navy-950);
}

.site-footer h6 {
    margin-bottom: 1rem;
    color: var(--gold-light);
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 800;
}

.site-footer a {
    display: block;
    margin-bottom: 0.55rem;
    color: #d7e2ec;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.site-footer a.footer-link-inline,
.site-footer p a[href^="tel:"],
.site-footer p a[href="https://prpcloud.in/"] {
    display: inline;
    margin-bottom: 0;
}

.footer-brand {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Internal Page Hero */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 355px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 0%,
            rgba(201, 154, 62, 0.3),
            transparent 25%
        ),
        linear-gradient(115deg, var(--navy-950), var(--navy));
}

.page-hero::after {
    position: absolute;
    right: 5%;
    bottom: -60px;
    content: "§";
    color: rgba(255, 255, 255, 0.05);
    font-family: Georgia, serif;
    font-size: 22rem;
    line-height: 1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero .eyebrow {
    color: var(--gold-light);
}

.page-hero h1 {
    margin: 0.8rem 0 1rem;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.page-hero p {
    max-width: 680px;
    margin-bottom: 0;
    color: #dce7f0;
    font-size: 1.08rem;
    line-height: 1.75;
}

/* About */
.about-highlight-card {
    padding: 42px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(201, 154, 62, 0.3),
            transparent 25%
        ),
        var(--navy);
    box-shadow: var(--shadow-lg);
}

.about-highlight-card h3 {
    color: #ffffff;
    font-size: 2rem;
}

.about-highlight-card p {
    color: #d9e4ee;
    line-height: 1.8;
}

.about-symbol {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
    font-size: 2rem;
}

.mini-about-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.07);
}

.mini-about-card strong {
    color: var(--gold-light);
    font-size: 0.78rem;
}

.mini-about-card span {
    color: #ffffff;
    font-size: 0.92rem;
}

.about-light-section {
    background: var(--cream);
}

/* Practice Areas */
.practice-area-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--navy-900);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.practice-area-card:hover {
    color: var(--navy-900);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.practice-area-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--gold-700);
    background: #fff5df;
    font-size: 1.1rem;
}

.practice-area-name {
    color: var(--navy-900);
    font-weight: 800;
}

.practice-area-card small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Public Advocate Cards */
.advocate-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advocate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.advocate-photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 4px;
    overflow: hidden;
    background: linear-gradient(135deg, #edf2f7, #f8f5ef);
}

.advocate-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.4s ease;
}

.advocate-card:hover .advocate-photo {
    transform: scale(1.04);
}

.placeholder-photo {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    color: var(--gold-700);
    background:
        radial-gradient(
            circle at 45% 35%,
            rgba(201, 154, 62, 0.18),
            transparent 23%
        ),
        linear-gradient(135deg, #f7f1e6, #edf2f7);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 5rem;
    font-weight: 700;
}

/* Advocate Profile */
.profile-hero {
    padding: 25px 0;
    border-bottom: 1px solid #eee6d7;
    background: var(--cream);
}

.back-link {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    color: var(--gold-700);
}

.profile-section {
    padding: 60px 0 90px;
    background: var(--surface-soft);
}

.profile-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.profile-photo-section {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2f6, #f8f5ef);
}

.profile-photo {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.profile-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 430px;
    color: var(--gold-700);
    background: linear-gradient(135deg, #f8f5ef, #e9eff5);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9rem;
    font-weight: 700;
}

.profile-verified-badge {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 9px 15px;
    border-radius: 50px;
    color: #ffffff;
    background: var(--success);
    box-shadow: 0 4px 12px rgba(20, 128, 74, 0.25);
    font-size: 0.82rem;
    font-weight: 700;
}

.profile-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 430px;
    padding: 56px;
}

.profile-content h1 {
    margin: 10px 0;
    color: var(--navy-900);
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.1;
}

.profile-practice-area {
    margin-bottom: 22px;
    color: var(--gold-700);
    font-size: 1.08rem;
    font-weight: 700;
}

.profile-bio {
    color: var(--text-muted);
    line-height: 1.85;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.profile-details {
    padding: 50px 56px;
    border-top: 1px solid var(--border);
}

.profile-details-heading {
    margin-bottom: 28px;
}

.profile-details-heading h2 {
    margin: 6px 0 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
}

.detail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: var(--gold-700);
    background: #fff5df;
    font-weight: 700;
}

.detail-item small {
    display: block;
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 0.77rem;
}

.detail-item strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.96rem;
    line-height: 1.5;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 36px 56px;
    border-top: 1px solid var(--border);
    background: #fffcf6;
}

.profile-location h2 {
    margin: 6px 0;
}

/* Developer Section */
.developer-card {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(201, 154, 62, 0.12),
            transparent 28%
        ),
        #ffffff;
    box-shadow: var(--shadow-md);
}

.developer-photo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 230px;
    overflow: hidden;
    border: 6px solid #ffffff;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8f5ef, #edf2f7);
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.16);
}

.developer-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-photo-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--gold-700);
    background: linear-gradient(135deg, #fff5df, #edf2f7);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
}

.developer-title {
    max-width: 750px;
    margin: 8px 0 14px;
    color: var(--navy-900);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
}

.developer-description {
    max-width: 760px;
    color: var(--text-muted);
    line-height: 1.8;
}

.developer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.developer-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fbfcfe;
}

.developer-detail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: var(--gold-700);
    background: #fff5df;
}

.developer-detail-item small {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.developer-detail-item strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.86rem;
}

/* Admin shared compatibility */
.admin-dashboard-page {
    min-height: 100vh;
    background: #f5f8fb;
}

.admin-dashboard-page img {
    max-width: 100%;
}

.admin-form-card,
.admin-dashboard-page .info-card {
    background: #ffffff;
}

.admin-current-photo {
    display: block !important;
    width: 90px !important;
    max-width: 90px !important;
    height: 90px !important;
    max-height: 90px !important;
    border-radius: 14px;
    object-fit: cover !important;
}

.admin-list-photo {
    display: block !important;
    width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    max-height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 0.8rem 0;
    }

    .navbar-nav .btn {
        display: inline-block;
        margin-top: 0.5rem;
    }

    .profile-content {
        min-height: auto;
        padding: 38px 32px;
    }

    .profile-details {
        padding: 38px 32px;
    }

    .profile-location {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 65px 0;
    }

    .developer-card {
        padding: 25px 20px;
    }

    .developer-photo-wrap {
        width: 155px;
        height: 195px;
    }

    .developer-details {
        flex-direction: column;
    }

    .developer-detail-item {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .site-navbar {
        min-height: 68px;
    }

    .hero {
        min-height: 610px;
    }

    .hero::after {
        right: -42px;
        bottom: -20px;
        font-size: 18rem;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .section-pad {
        padding: 55px 0;
    }

    .search-box {
        width: 100%;
    }

    .search-box .btn {
        width: 100%;
        margin-top: 4px;
    }

    .cta-box {
        padding: 2rem 1.4rem;
        border-radius: var(--radius-md);
    }

    .page-hero {
        min-height: 350px;
    }

    .page-hero h1 {
        font-size: 2.55rem;
    }

    .about-highlight-card {
        padding: 30px 23px;
    }

    .advocate-photo-wrap,
    .advocate-photo,
    .placeholder-photo {
        height: 225px;
    }

    .profile-section {
        padding: 35px 0 60px;
    }

    .profile-photo-section,
    .profile-photo,
    .profile-placeholder {
        height: 300px;
        min-height: 300px;
    }

    .profile-placeholder {
        font-size: 6rem;
    }

    .profile-content {
        padding: 30px 22px;
    }

    .profile-details {
        padding: 30px 22px;
    }

    .profile-location {
        padding: 26px 22px;
    }

    .profile-actions .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .practice-area-card {
        padding: 15px;
    }

    .practice-area-name {
        font-size: 0.88rem;
    }
}
/* Home Search Section */


.home-search-form .form-control {
    min-height: 48px;
    border: 0;
    box-shadow: none !important;
}

.home-search-form .btn {
    flex: 0 0 auto;
}

/* Home Real Stats */

.home-stat-card {
    height: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 17px;
    border-radius: 13px;
    color: var(--gold-700);
    background: #fff5df;
    font-size: 1.2rem;
}

.home-stat-icon.success {
    color: var(--success);
    background: #eaf8ef;
}

.home-stat-icon.blue {
    color: #1c64f2;
    background: #edf4ff;
}

.home-stat-label {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    .home-search-card {
        padding: 24px 20px;
    }

    .home-search-form {
        flex-direction: column;
        padding: 8px;
    }

    .home-search-form .btn {
        width: 100%;
    }
}

/* Compact Home Search Section */

.home-search-section {
    position: relative;
    z-index: 5;
    padding: 30px 0;
    background: var(--cream);
}

.home-search-card {
    max-width: 1050px;
    margin: 0 auto;
    padding: 24px 28px;
    border: 1px solid #eadfca;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.home-search-title {
    margin: 6px 0 4px;
    color: var(--navy-900);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    line-height: 1.15;
}

.home-search-card p {
    font-size: 0.92rem;
}

.home-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    padding: 5px;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.07);
}

.home-search-form .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 8px 13px;
    border: 0;
    color: var(--text-dark);
    background: transparent;
    box-shadow: none !important;
}

.home-search-form .form-control:focus {
    border: 0;
    outline: none;
    box-shadow: none !important;
}

.home-search-form .btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 22px;
    white-space: nowrap;
}

/* Real Stats */
.home-stat-card {
    height: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 17px;
    border-radius: 13px;
    color: var(--gold-700);
    background: #fff5df;
    font-size: 1.2rem;
}

.home-stat-icon.success {
    color: var(--success);
    background: #eaf8ef;
}

.home-stat-icon.blue {
    color: #1c64f2;
    background: #edf4ff;
}

.home-stat-label {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

/* Mobile Search */
@media (max-width: 767px) {
    .home-search-card {
        padding: 22px 18px;
    }

    .home-search-form {
        max-width: 100%;
        margin: 0;
    }

    .home-search-form .btn {
        padding-right: 17px;
        padding-left: 17px;
    }
}

@media (max-width: 430px) {
    .home-search-form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 3px;
    }

    .home-search-form .form-control {
        width: 100%;
    }

    .home-search-form .btn {
        width: auto;
    }
}
/* Advocates Directory Page */

.advocates-directory-section {
    padding: 55px 0 90px;
    background: var(--surface-soft);
}

.directory-search-card {
    max-width: 1050px;
    margin: 0 auto 28px;
    padding: 25px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.directory-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.directory-search-heading h2 {
    margin: 5px 0 0;
    color: var(--navy-900);
    font-size: 1.7rem;
}

.clear-search-link {
    color: var(--gold-700);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.clear-search-link:hover {
    color: var(--navy);
}

.directory-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.directory-search-input {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #ffffff;
}

.directory-search-input:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 154, 62, 0.15);
}

.search-icon {
    margin-right: 10px;
    color: var(--gold-700);
    font-size: 1.35rem;
}

.directory-search-input input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.search-submit-button {
    flex: 0 0 auto;
    height: 52px;
    min-width: 105px;
    border-radius: 12px !important;
}

.practice-filter-section {
    margin-bottom: 48px;
}

.filter-title {
    margin-bottom: 13px;
    color: var(--navy-900);
    font-size: 0.88rem;
    font-weight: 800;
}

.practice-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.practice-filter {
    padding: 8px 14px;
    border: 1px solid #cbd5df;
    border-radius: 50px;
    color: var(--navy);
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.practice-filter:hover,
.practice-filter.active {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
}

.directory-result-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.directory-result-heading h2 {
    margin: 5px 0 0;
    color: var(--navy-900);
    font-size: 1.8rem;
}

.directory-result-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.public-verified-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 7px 11px;
    border-radius: 50px;
    color: #ffffff;
    background: var(--success);
    font-size: 0.75rem;
    font-weight: 800;
}

.advocate-photo-wrap {
    position: relative;
}

.advocate-practice-name {
    margin-bottom: 14px;
    color: var(--gold-700);
    font-size: 0.92rem;
    font-weight: 700;
}

.advocate-meta {
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.empty-directory-card {
    padding: 65px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.empty-directory-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    border-radius: 18px;
    color: var(--gold-700);
    background: #fff5df;
    font-size: 1.7rem;
}

.empty-directory-card h2 {
    font-size: 1.8rem;
}

.empty-directory-card p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Contact Page */

.contact-section {
    padding: 70px 0 90px;
    background: var(--surface-soft);
}

.contact-info-card,
.contact-form-card {
    height: 100%;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h2,
.contact-form-card h2 {
    margin: 7px 0 10px;
    color: var(--navy-900);
    font-size: 2rem;
}

.contact-info-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fbfcfe;
}

.contact-info-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: var(--gold-700);
    background: #fff5df;
}

.contact-info-item small {
    display: block;
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.contact-info-item strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-info-note {
    margin-top: 24px;
    padding: 17px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: #fffaf0;
}

.contact-info-note strong {
    color: var(--navy-900);
}

.contact-info-note p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.contact-form-card .form-label {
    margin-bottom: 6px;
    color: var(--navy-900);
    font-size: 0.87rem;
    font-weight: 700;
}

.contact-form-card .form-control {
    min-height: 47px;
    border-color: #d9e2ec;
    border-radius: 10px;
}

.contact-form-card textarea.form-control {
    min-height: auto;
}

.contact-form-card .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 154, 62, 0.15);
}

@media (max-width: 767px) {
    .directory-search-card {
        padding: 22px 18px;
    }

    .directory-search-heading,
    .directory-result-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-search-form {
        flex-direction: column;
    }

    .directory-search-input,
    .search-submit-button {
        width: 100%;
    }

    .directory-result-heading {
        gap: 8px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 25px 20px;
    }
}
/* Website Logo Fix */
.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.site-navbar .site-logo {
    display: block;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px;
    object-fit: contain;
    object-position: center;
}

.site-navbar .navbar-brand span {
    min-width: 0;
}

.site-navbar .navbar-brand strong {
    display: block;
    font-size: 0.96rem;
    line-height: 1.05;
    white-space: nowrap;
}

.site-navbar .navbar-brand small {
    display: block;
    margin-top: 3px;
    font-size: 0.57rem;
    line-height: 1;
    white-space: nowrap;
}

/* Footer Logo */
.site-footer .footer-logo {
    display: block;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain;
    object-position: center;
}

/* Mobile Logo */
@media (max-width: 575px) {

    .site-navbar .site-logo {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        flex-basis: 32px;
    }

    .site-navbar .navbar-brand strong {
        font-size: 0.82rem;
    }

    .site-navbar .navbar-brand small {
        font-size: 0.5rem;
    }

    .site-footer .footer-logo {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
    }
}
.association-members-section {
    background: var(--surface-soft);
}

.association-member-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.association-member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.association-member-content {
    padding: 24px;
    text-align: center;
}

.association-member-designation {
    margin-bottom: 8px;
    color: var(--gold-700);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.association-member-content h3 {
    margin-bottom: 14px;
    color: var(--navy-900);
    font-size: 1.25rem;
}

.association-member-mobile {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.association-member-mobile:hover {
    color: var(--gold-700);
}

/* Events Page */
.events-section {
    padding: 70px 0 90px;
    background: var(--surface-soft);
}

.events-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.events-heading .section-title {
    margin: 6px 0 0;
}

.event-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.event-image-wrap {
    position: relative;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: linear-gradient(135deg, #edf2f7, #f8f5ef);
}

.event-image {
    display: block;
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.event-card:hover .event-image {
    transform: scale(1.04);
}

.event-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 235px;
    color: var(--gold-700);
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(201, 154, 62, 0.18),
            transparent 24%
        ),
        linear-gradient(135deg, #f8f5ef, #edf2f7);
    font-size: 4rem;
}

.event-date-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 8px 12px;
    border-radius: 50px;
    color: #ffffff;
    background: var(--navy);
    box-shadow: 0 5px 14px rgba(16, 42, 67, 0.2);
    font-size: 0.77rem;
    font-weight: 800;
}

.event-card-content {
    padding: 24px;
}

.event-card-content h2 {
    margin-bottom: 11px;
    color: var(--navy-900);
    font-size: 1.4rem;
    line-height: 1.3;
}

.event-card-content p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.empty-events-card {
    padding: 70px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.empty-events-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 18px;
    color: var(--gold-700);
    background: #fff5df;
    font-size: 1.8rem;
}

.empty-events-card h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.empty-events-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

@media (max-width: 767px) {
    .events-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .events-section {
        padding: 55px 0 65px;
    }

    .event-image-wrap,
    .event-image,
    .event-image-placeholder {
        height: 220px;
    }

    .event-card-content {
        padding: 20px;
    }
}
/* Event Multiple Image Upload Preview */
.event-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.event-preview-item {
    width: 92px;
    height: 92px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
}

.event-preview-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Admin Existing Event Images */
.event-existing-image-card {
    height: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.event-existing-image {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

/* Public Event Detail Page */
.event-detail-card {
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.event-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.event-detail-header h2 {
    margin: 7px 0 0;
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.event-detail-date {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 50px;
    color: #ffffff;
    background: var(--navy);
    font-size: 0.84rem;
    font-weight: 800;
}

.event-detail-description {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.event-gallery-item {
    display: block;
    height: 235px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    box-shadow: var(--shadow-sm);
}

.event-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-gallery-item:hover .event-gallery-image {
    transform: scale(1.05);
}

.event-detail-no-image {
    padding: 35px;
    border-radius: var(--radius-sm);
    color: var(--gold-700);
    background: #fff5df;
    font-weight: 700;
    text-align: center;
}

.event-image-count {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    .event-detail-card {
        padding: 28px 20px;
    }

    .event-detail-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .event-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .event-gallery-item {
        height: 180px;
    }
}

@media (max-width: 450px) {
    .event-gallery {
        grid-template-columns: 1fr;
    }

    .event-gallery-item {
        height: 230px;
    }
}
/* Event Image Lightbox Slider */
.event-card-image-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.event-card-image-button .event-image {
    height: 235px;
}

.event-card-image-overlay {
    position: absolute;
    right: 13px;
    bottom: 13px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 50px;
    color: #ffffff;
    background: rgba(7, 26, 43, 0.8);
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.event-image-wrap:hover .event-card-image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.event-gallery-item {
    position: relative;
    padding: 0;
    border: 0;
    cursor: zoom-in;
}

.event-gallery-zoom {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(7, 26, 43, 0.78);
    font-size: 1.3rem;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.event-gallery-item:hover .event-gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.event-lightbox-modal {
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-md);
    background: #071a2b;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.event-lightbox-header {
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    background: #071a2b;
}

.event-lightbox-header .modal-title {
    margin: 0;
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.event-lightbox-header small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.event-lightbox-modal .carousel-item {
    height: min(72vh, 700px);
    background: #02070c;
}

.event-lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #02070c;
}

.event-lightbox-modal .carousel-control-prev,
.event-lightbox-modal .carousel-control-next {
    width: 12%;
    opacity: 0.9;
}

.event-lightbox-modal .carousel-control-prev-icon,
.event-lightbox-modal .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    padding: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.22);
    background-size: 55%;
}

.event-lightbox-modal .carousel-control-prev:hover,
.event-lightbox-modal .carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 575px) {
    .event-card-image-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .event-gallery-zoom {
        opacity: 1;
        transform: scale(1);
    }

    .event-lightbox-header {
        padding: 13px 15px;
    }

    .event-lightbox-modal .carousel-item {
        height: 58vh;
    }

    .event-lightbox-modal .carousel-control-prev-icon,
    .event-lightbox-modal .carousel-control-next-icon {
        width: 36px;
        height: 36px;
    }
}
/* Extra Mobile Safety For Events */
@media (max-width: 575px) {

    .events-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .event-card-content {
        padding: 20px;
    }

    .event-card-content h2 {
        font-size: 1.25rem;
    }

    .event-image-wrap,
    .event-image,
    .event-card-image-button .event-image,
    .event-image-placeholder {
        height: 220px;
    }

    .event-date-badge {
        right: 12px;
        bottom: 12px;
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .event-card-content .btn {
        white-space: nowrap;
    }

    .event-detail-card {
        padding: 25px 18px;
    }

    .event-detail-header h2 {
        font-size: 1.8rem;
    }

    .event-detail-date {
        padding: 8px 12px;
        font-size: 0.76rem;
    }

    .event-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .event-gallery-item {
        height: 225px;
    }

    .event-lightbox-modal {
        border-radius: 14px;
    }

    .event-lightbox-modal .carousel-item {
        height: 58vh;
        min-height: 280px;
    }

    .event-lightbox-modal .carousel-control-prev,
    .event-lightbox-modal .carousel-control-next {
        width: 18%;
    }

    .event-lightbox-modal .carousel-control-prev-icon,
    .event-lightbox-modal .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }

    .event-preview-item {
        width: 74px;
        height: 74px;
    }

    .event-existing-image {
        height: 100px;
    }
}
/* Events Pagination */
.event-pagination-nav {
    margin-top: 42px;
}

.event-pagination-nav .pagination {
    gap: 7px;
}

.event-pagination-nav .page-item {
    margin: 0;
}

.event-pagination-nav .page-link {
    min-width: 42px;
    border: 1px solid var(--border);
    border-radius: 10px !important;
    color: var(--navy);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    text-align: center;
}

.event-pagination-nav .page-link:hover {
    color: #ffffff;
    border-color: var(--navy);
    background: var(--navy);
}

.event-pagination-nav .page-item.active .page-link {
    color: #ffffff;
    border-color: var(--navy);
    background: var(--navy);
}

.event-pagination-nav .page-item.disabled .page-link {
    color: #98a2b3;
    background: #f8fafc;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 575px) {
    .event-pagination-nav {
        margin-top: 30px;
    }

    .event-pagination-nav .pagination {
        gap: 5px;
    }

    .event-pagination-nav .page-link {
        min-width: 38px;
        padding: 8px 10px;
        font-size: 0.84rem;
    }
}
/* Temporary Public Advocate Registration */
.public-registration-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.public-registration-review-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 16px;
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    color: var(--text-muted);
    background: #fffaf0;
    font-size: 0.83rem;
    line-height: 1.55;
}

.public-registration-review-note strong {
    color: var(--navy-900);
    font-size: 0.88rem;
}
/* Admin Login Logo */
.admin-login-logo {
    display: block;
    width: 78px;
    height: 78px;
    max-width: 78px;
    max-height: 78px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 575px) {
    .admin-login-logo {
        width: 62px;
        height: 62px;
        max-width: 62px;
        max-height: 62px;
    }
}
/* Office Bearers image styling is consolidated below, under
   "OFFICE BEARERS - NATURAL IMAGE SIZE FIX" */


//* =========================================================
   OFFICE BEARERS - NATURAL IMAGE SIZE FIX
   ========================================================= */

.association-member-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 42, 67, 0.08);
}

.association-member-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 10px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #f1f5f8
        );
}

.association-member-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent;
    transition: transform 0.3s ease;
}

.association-member-card:hover .association-member-image {
    transform: scale(1.015);
}

.association-member-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--gold-700);
    background:
        radial-gradient(
            circle at center,
            rgba(201, 154, 62, 0.15),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fffaf0,
            #f1f5f8
        );
    font-family: "Playfair Display", Georgia, serif;
    font-size: 4.5rem;
    font-weight: 700;
}

.association-member-content {
    min-height: 125px;
    padding: 18px 15px 20px;
    text-align: center;
}

.association-member-designation {
    margin-bottom: 7px;
    color: var(--gold-700);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.25;
    text-transform: uppercase;
}

.association-member-content h3 {
    margin: 0 0 9px;
    color: var(--navy-900);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.3;
}

.association-member-mobile {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.association-member-mobile:hover {
    color: var(--gold-700);
}

@media (max-width: 575px) {
    .association-member-content {
        min-height: 120px;
        padding: 17px 13px 19px;
    }

    .association-member-content h3 {
        font-size: 1.06rem;
    }
}
/* =========================================================
   HEADER BRAND - LARGE LOGO AND FONT SIZE
   ========================================================= */

.site-navbar {
    min-height: 98px;
}

.site-navbar .container {
    min-height: 98px;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding-top: 6px;
    padding-bottom: 6px;
}

.site-navbar .site-logo {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    flex: 0 0 60px;
    object-fit: contain !important;
    object-position: center;
}

.site-navbar .site-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1;
}

.site-navbar .site-brand-text strong {
    display: block;
    color: var(--navy-900);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 1.96rem !important;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    white-space: nowrap;
}

.site-navbar .site-brand-text small {
    display: block;
    margin-top: 5px;
    color: var(--gold-700);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.87rem !important;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .site-navbar {
        min-height: 86px;
    }

    .site-navbar .container {
        min-height: 86px;
    }

    .site-navbar .site-logo {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
        flex-basis: 52px;
    }

    .site-navbar .site-brand-text strong {
        font-size: 1.55rem !important;
    }

    .site-navbar .site-brand-text small {
        font-size: 0.72rem !important;
    }
}

@media (max-width: 575px) {
    .site-navbar {
        min-height: 76px;
    }

    .site-navbar .container {
        min-height: 76px;
    }

    .site-navbar .navbar-brand {
        gap: 9px;
    }

    .site-navbar .site-logo {
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
        flex-basis: 46px;
    }

    .site-navbar .site-brand-text strong {
        font-size: 1.15rem !important;
        letter-spacing: -0.03em;
    }

    .site-navbar .site-brand-text small {
        margin-top: 3px;
        font-size: 0.58rem !important;
        letter-spacing: 0.11em;
    }
}