/* ══════════════════════════════════════════════
   MAGISTER LAW ASSOCIATES — Premium Design System
   Fonts: Playfair Display (headings) + Inter (body)
   Colors: Deep Navy · Gold · White
   ══════════════════════════════════════════════ */

:root {
    --navy:       #000000;
    --navy-light: #0d0d0d;
    --navy-mid:   #0a0a0a;
    --gold:       #c9a84c;
    --gold-light: #e0c068;
    --gold-dark:  #a07a30;
    --white:      #ffffff;
    --off-white:  #f5f3ee;
    --text:       #c8cdd8;
    --text-muted: #a0aebf;
    --card-bg:    #080808;
    --border:     rgba(201,168,76,0.15);

    --font-head: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0,0,0,0.6);
}

/* ──────────── Reset ──────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.25; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 90px 0; }

/* ──────────── Section labels ──────────── */
.section-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 18px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--gold);
    border-radius: 2px;
}
.section-title-left {
    text-align: left;
    margin-bottom: 1.5rem;
}
.section-title-left::after { left: 0; transform: none; }

.gold-text { color: var(--gold); }

/* ──────────── Buttons ──────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ──────────── Navbar ──────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20000;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(0,0,0,0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.8);
    border-bottom-color: transparent;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.btn-cta {
    border: 1.5px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-cta:hover {
    background: var(--gold);
    color: var(--navy) !important;
}
.btn-cta::after { display: none !important; }

.hamburger {
    display: none;
    font-size: 1.4rem;
    color: var(--white);
    cursor: pointer;
}

/* ──────────── 1. HERO ──────────── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.85;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        110deg,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.85) 50%,
        rgba(0,0,0,0.55) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
}
.hero-text { max-width: 680px; }

.hero-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-tagline::before {
    content: '';
    display: block;
    width: 36px; height: 2px;
    background: var(--gold);
}
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 700;
}
.hero-subtext {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ──────────── 2. TRUST BAR ──────────── */
.trust-bar {
    background: var(--navy-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}
.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}
.trust-item i {
    font-size: 1.3rem;
    color: var(--gold);
}
.trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ──────────── 3. SERVICES ──────────── */
.services { background: var(--navy); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,168,76,0.35);
    box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 60px; height: 60px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gold);
    border-color: var(--gold);
}
.service-icon i {
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}
.service-card:hover .service-icon i { color: var(--navy); }
.service-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ──────────── 4. ABOUT ──────────── */
.about { background: var(--navy-light); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image { position: relative; }
.about-image img {
    width: 100%; height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
    position: relative; z-index: 1;
}
.about-image-accent {
    position: absolute;
    top: -16px; left: -16px;
    width: 100%; height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    opacity: 0.3;
    z-index: 0;
}
.about-description {
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.75;
    font-size: 0.97rem;
}
.about-list {
    margin-bottom: 32px;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 500;
    color: var(--white);
}
.about-list li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.about-cta { margin-top: 8px; }

/* ──────────── 5. WHY CHOOSE US ──────────── */
.why-choose { background: var(--navy); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
}
.why-card:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.why-icon {
    width: 68px; height: 68px;
    background: rgba(201,168,76,0.1);
    border: 1.5px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--gold);
    border-color: var(--gold);
}
.why-icon i {
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}
.why-card:hover .why-icon i { color: var(--navy); }
.why-card h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 10px;
}
.why-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ──────────── TESTIMONIALS ──────────── */
.testimonials {
    background: var(--navy-light);
    border-top: 1px solid var(--border);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}
.testimonial-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: var(--shadow);
}
.testimonial-card .stars {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
    color: var(--text);
}
.testimonial-card h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 15px;
}
.outcome-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(201,168,76,0.2);
}

/* ──────────── 6. CONSULTATION CTA ──────────── */
.consultation-cta {
    position: relative;
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 90px 0;
    text-align: center;
    overflow: hidden;
}
.consultation-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-overlay { display: none; }
.cta-content { position: relative; z-index: 2; }
.cta-icon {
    width: 80px; height: 80px;
    background: rgba(201,168,76,0.12);
    border: 1.5px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-icon i { font-size: 2rem; color: var(--gold); }
.consultation-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
}
.consultation-cta p {
    font-size: 1rem;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.btn-cta-large {
    padding: 16px 40px;
    font-size: 1rem;
}


/* ──────────── GALLERY ──────────── */
.gallery {
    background: var(--navy-light);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.05);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
    .gallery-item { aspect-ratio: 16/9; }
}

/* ──────────── GALLERY PAGE ──────────── */
.gallery-page {
    background: var(--navy-light);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.05);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-item:hover img {
    transform: scale(1.08);
}

/* ──────────── GALLERY LIGHTBOX ──────────── */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 100000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.gallery-lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.95);
    animation: zoomIn 0.3s ease forwards;
}
@keyframes zoomIn {
    to { transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100001;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--gold);
    transform: scale(1.1);
}
.lightbox-caption {
    margin-top: 15px;
    color: var(--gold);
    font-size: 1.1rem;
    font-family: var(--font-head);
    text-align: center;
}

/* ──────────── 7. OUR PEOPLE ──────────── */
.advocate { background: var(--navy-light); }

/* People intro banner */
.our-people-banner {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
}
.our-people-banner-img {
    position: relative;
    width: 100%; height: 380px;
    overflow: hidden;
}
.our-people-banner-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.our-people-banner:hover .our-people-banner-img img { transform: scale(1.04); }
.our-people-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 50px;
}
.our-people-banner-content { max-width: 820px; }
.our-people-quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    margin-bottom: 20px;
    font-family: var(--font-head);
    font-weight: 500;
}
.our-people-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}
.our-people-banner:hover .our-people-cta { background: var(--gold-light); transform: translateY(-2px); }

/* Collapsible wrapper */
#advocates-wrapper { max-height: 0; overflow: hidden; transition: max-height 0.7s ease; }
#advocates-wrapper.expanded { max-height: 10000px; }

.team-section-title {
    font-size: 1.6rem;
    color: var(--gold);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
    font-family: var(--font-head);
    position: relative;
    padding-bottom: 14px;
}
.team-section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 2px;
    background: var(--gold);
}

.advocates-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}
.flex-break { flex-basis: 100%; height: 0; }

.advocate-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    width: calc((100% - 80px) / 5);
}
.advocate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-color: rgba(201,168,76,0.3);
}
.advocate-card-img {
    position: relative; width: 100%;
    aspect-ratio: 1/1; overflow: hidden;
    background: #0a0a0a;
}
.advocate-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.advocate-card:hover .advocate-card-img img { transform: scale(1.04); }
.advocate-card-overlay { display: none; }
.advocate-card-caption {
    padding: 14px 16px 16px;
    text-align: left;
    flex: 1;
    border-top: 2px solid var(--gold);
}
.advocate-card-caption h3 {
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 3px;
    font-family: var(--font-head);
    line-height: 1.3;
}
.card-designation { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.card-courts { font-size: 0.74rem; color: #556; display: flex; align-items: flex-start; gap: 5px; }
.card-courts i { color: var(--gold); font-size: 0.68rem; margin-top: 2px; }

/* Advocate modal */
.advocate-modal {
    position: fixed; inset: 0;
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}
.advocate-modal.active { visibility: visible; pointer-events: auto; }
.advocate-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.75);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.advocate-modal.active .advocate-modal-backdrop { opacity: 1; }
.advocate-modal-content {
    position: relative;
    background: var(--navy-light);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid var(--border);
    max-width: 750px; width: 90%;
    overflow: hidden;
    transform: scale(0.6); opacity: 0;
    transition: transform 0.45s cubic-bezier(0.25,0.8,0.25,1), opacity 0.4s ease;
}
.advocate-modal.active .advocate-modal-content { transform: scale(1); opacity: 1; }
.advocate-modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none;
    font-size: 2rem; color: var(--gold);
    cursor: pointer; z-index: 10;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.25s ease;
}
.advocate-modal-close:hover { background: rgba(201,168,76,0.1); }
.advocate-modal-body { display: flex; align-items: stretch; }
.advocate-modal-img { flex: 0 0 280px; min-height: 380px; }
.advocate-modal-img img { width:100%; height:100%; object-fit:cover; }
.advocate-modal-info {
    flex: 1; padding: 35px 28px;
    display: flex; flex-direction: column; justify-content: center;
}
.advocate-modal-info h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--gold); }
.designation { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 20px; }
.court-practice {
    margin-top: 20px;
    background: rgba(255,255,255,0.04);
    padding: 18px; border-radius: 6px;
    border: 1px solid var(--border);
}
.court-practice h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--gold); }
.court-practice ul li { margin-bottom: 5px; list-style-type: disc; margin-left: 20px; color: var(--text); }

/* ──────────── 8. NEWS ──────────── */
.news { background: var(--navy); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,168,76,0.35);
    box-shadow: var(--shadow);
}
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-content { padding: 24px; }
.news-date {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.news-card-content h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card-content p {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    transition: var(--transition);
}
.read-more:hover { gap: 14px; color: var(--gold-light); }

/* ──────────── 9. CONTACT ──────────── */
.contact { background: var(--navy-light); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.info-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-icon i { color: var(--gold); font-size: 0.95rem; }
.info-item h4 { font-size: 0.82rem; color: var(--gold); font-family: var(--font-body); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.info-item p, .info-item a { font-size: 0.92rem; color: var(--text); }
.info-item a:hover { color: var(--gold); }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 8px; }

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.form-heading {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 24px;
    font-family: var(--font-head);
}
.form-group { margin-bottom: 18px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--white);
    transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201,168,76,0.04);
}

/* ──────────── FOOTER ──────────── */
footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 70px 0 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}
.footer-brand .logo { font-size: 1.3rem; color: var(--white); margin-bottom: 14px; display: block; }
.footer-brand p { color: var(--text-muted); line-height: 1.7; font-size: 0.87rem; margin-bottom: 20px; }
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: var(--navy-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.87rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--text-muted); font-size: 0.87rem; margin-bottom: 12px;
}
.footer-contact li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact li a { color: var(--text-muted); transition: var(--transition); }
.footer-contact li a:hover { color: var(--gold); }

.footer-bottom {
    padding: 28px 0 24px;
    text-align: center;
}
.disclaimer {
    background: rgba(201,168,76,0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 24px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.65;
}
.disclaimer strong { color: var(--text); }
.copyright { color: var(--text-muted); font-size: 0.82rem; }

/* ──────────── DISCLAIMER MODAL ──────────── */
.disclaimer-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 50000;
    display: none;
    justify-content: center;
    align-items: center;
}
.disclaimer-modal-content {
    background: #ffffff;
    width: 90%; max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 35px rgba(0,0,0,0.4);
    overflow: hidden;
    animation: fadeUp 0.4s ease-out;
}
@keyframes fadeUp {
    from { opacity:0; transform: translateY(-24px); }
    to   { opacity:1; transform: translateY(0); }
}
.disclaimer-header {
    background: var(--navy);
    padding: 20px;
    text-align: center;
}
.disclaimer-header h2 { color: var(--gold); font-size: 1.4rem; }
.disclaimer-body {
    padding: 28px;
    color: #111;
    font-size: 0.95rem;
    line-height: 1.65;
}
.disclaimer-body p { margin-bottom: 14px; }
.disclaimer-actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 11px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.92rem;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ──────────── WHATSAPP BUTTON ──────────── */
.whatsapp-float {
    position: fixed;
    width: 58px; height: 58px;
    bottom: 36px; right: 36px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 18px rgba(37,211,102,0.4);
    z-index: 20002;
    transition: var(--transition);
    animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover { background: #20b857; transform: scale(1.1); color: #fff; }
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 992px
   ═══════════════════════════════════════════════ */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .advocate-card { width: calc((100% - 40px) / 3); }
    .our-people-banner-overlay { padding: 28px 32px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile ≤ 768px
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }

    /* Navbar */
    .navbar { padding: 14px 0; }
    .hamburger { display: block; position: relative; z-index: 9999; }
    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        width: 100%; height: auto;
        background: rgba(0,0,0,0.98);
        backdrop-filter: blur(10px);
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        gap: 0; z-index: 9998;
        transition: none;
    }
    .navbar .container { position: relative; flex-wrap: wrap; }
    .nav-links.active { display: flex; right: auto; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block; padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 0.95rem;
    }
    .nav-links a::after { display: none; }
    .nav-links .btn-cta { margin-top: 10px; text-align: center; border-bottom: none; }

    /* Hero */
    .hero { min-height: 55vh; }
    .hero-content { padding: 30px 24px 60px; }
    .hero-bg-img { object-position: center; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subtext { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Trust bar */
    .trust-items { flex-direction: column; gap: 4px; }
    .trust-item { padding: 10px 20px; }
    .trust-divider { width: 60%; height: 1px; }

    /* Services */
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .service-card { padding: 26px 20px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-image img { height: 280px; }
    .about-image-accent { display: none; }
    .section-title-left { text-align: center; }
    .section-title-left::after { left: 50%; transform: translateX(-50%); }
    .section-label { text-align: center; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
    .gallery-item { aspect-ratio: 16/9; }

    /* Why */
    .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .why-card { padding: 28px 18px; }

    /* CTA */
    .consultation-cta { padding: 60px 0; }
    .consultation-cta h2 { font-size: 1.7rem; }

    /* Our people */
    .our-people-banner-img { height: 250px; }
    .our-people-banner-overlay { padding: 20px 22px; }
    .our-people-quote { font-size: 0.82rem; }
    .advocate-card { width: calc((100% - 14px) / 2); }

    /* Advocate modal */
    .advocate-modal-content { width: 92%; max-height: 85vh; overflow-y: auto; }
    .advocate-modal-body { flex-direction: column; }
    .advocate-modal-img { flex: none; width: 100%; height: 260px; min-height: 260px; max-height: 260px; overflow: hidden; }
    .advocate-modal-img img { width:100%; height:100%; max-height:240px; object-fit:cover; object-position:top; }
    .advocate-modal-info { padding: 22px 18px; border-top: 2px solid var(--gold); }
    .advocate-modal-close { background: rgba(0,0,0,0.5); z-index: 35000; }

    /* News */
    .news-grid { grid-template-columns: 1fr; gap: 24px; }

    /* Contact */
    .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
    .contact-form { padding: 26px 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    footer { padding-top: 50px; }

    /* WhatsApp */
    .whatsapp-float { width: 50px; height: 50px; bottom: 22px; right: 22px; font-size: 24px; }

    /* Disclaimer modal */
    .disclaimer-modal-content { width: 94%; }
    .disclaimer-body { padding: 20px; font-size: 0.88rem; }
    .disclaimer-actions { flex-direction: column; gap: 10px; }
    .disclaimer-actions .btn,
    .disclaimer-actions .btn-outline { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Small phone ≤ 480px
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero { min-height: 75vh; }
    .hero h1 { font-size: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .section-padding { padding: 48px 0; }
}

/* ──────────── Blog / Article styles (preserved) ──────────── */
.blog-hero {
    background: var(--navy-light);
    height: 55vh;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); overflow: hidden;
}
.blog-hero-slider { position:absolute; inset:0; z-index:0; }
.blog-hero h1 {
    font-family: var(--font-head);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: relative; z-index: 2;
}
.blog-hero .hero-subtext {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.95rem;
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    gap: 15px;
    position: relative; z-index: 2;
}
.blog-hero .hero-subtext::before,
.blog-hero .hero-subtext::after {
    content: ''; display: block;
    width: 36px; height: 1px;
    background: var(--gold);
}
/* Flash news ticker */
.flash-news-section { background: var(--navy); padding: 26px 0; border-bottom: 1px solid var(--border); }
.flash-news-container {
    display: flex; align-items: center;
    background: #000;
    border: 2px solid var(--gold);
    border-radius: 4px;
    overflow: hidden; height: 46px;
}
.flash-news-title {
    background: var(--gold); color: #000;
    font-family: var(--font-head); font-weight: 900;
    padding: 0 22px; height: 100%;
    display: flex; align-items: center;
    text-transform: uppercase; letter-spacing: 1.5px;
    white-space: nowrap;
}
.flash-news-ticker { flex:1; overflow:hidden; position:relative; height:100%; display:flex; align-items:center; }
.news-headline-fixed {
    width: 100%; text-align: center;
    font-family: var(--font-head); font-size: 1.3rem; font-weight: 900;
    color: var(--gold); text-transform: uppercase;
    animation: fadeInOut 2s ease-in-out;
}
@keyframes fadeInOut {
    0%{opacity:0;transform:scale(0.95)} 15%{opacity:1;transform:scale(1)}
    85%{opacity:1;transform:scale(1)} 100%{opacity:0;transform:scale(1.05)}
}
.ticker-content-dynamic {
    display:inline-block; white-space:nowrap;
    color:#fff; font-size:1.05rem; font-weight:600;
    padding-left:100%;
    animation: dynamicTicker 18s linear forwards;
}
@keyframes dynamicTicker { 0%{transform:translateX(0)} 100%{transform:translateX(-100%)} }

/* Blog cards */
.blogs-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:50px; }
.blog-card { background:transparent; border-radius:0; overflow:visible; box-shadow:none; transition:transform 0.4s ease; display:flex; flex-direction:column; border-bottom:1px solid rgba(201,168,76,0.15); padding-bottom:36px; }
.blog-card:last-child { border-bottom:none; }
.blog-card:hover { transform:translateY(-5px); }
.blog-img { height:280px; overflow:hidden; margin-bottom:22px; border-radius:6px; }
.blog-img img { width:100%; height:100%; object-fit:cover; transition:transform 1.2s cubic-bezier(0.25,1,0.5,1); }
.blog-card:hover .blog-img img { transform:scale(1.05); }
.blog-content { padding:0; flex:1; display:flex; flex-direction:column; }
.blog-meta { font-size:0.78rem; text-transform:uppercase; letter-spacing:1px; color:var(--gold); margin-bottom:14px; display:flex; gap:18px; font-weight:700; }
.blog-meta i { display:none; }
.blog-content h3 { font-family:var(--font-head); font-size:1.65rem; margin-bottom:14px; line-height:1.3; font-weight:700; color: var(--white); }
.blog-content h3 a { color:var(--white); text-decoration:none; }
.blog-content h3 a:hover { color:var(--gold); }
.blog-content p { color:var(--text); margin-bottom:22px; line-height:1.8; font-size:1rem; flex:1; }

/* Article reading page */
.article-page { background:var(--navy); }
.article-container { max-width:800px; margin:0 auto; }
.full-article { background:var(--navy-light); padding:60px; border-radius:8px; box-shadow:var(--shadow); border:1px solid var(--border); }
.article-header { text-align:center; margin-bottom:40px; }
.article-date { display:block; font-size:0.88rem; color:var(--text-muted); margin-bottom:14px; font-weight:600; }
.article-header h1 { font-size:2.4rem; line-height:1.25; margin-bottom:22px; color:var(--gold); }
.article-author { display:flex; align-items:center; justify-content:center; gap:10px; color:var(--text); font-weight:600; }
.article-author i { font-size:1.8rem; color:#aaa; }
.article-hero-img { margin:0 -60px 40px; height:380px; overflow:hidden; }
.article-hero-img img { width:100%; height:100%; object-fit:cover; }
.article-body { font-size:1.12rem; line-height:1.95; color:var(--text); letter-spacing:0.015em; }
.article-body h3 { font-size:1.55rem; margin-top:40px; margin-bottom:18px; color:var(--gold); letter-spacing: 0.02em; }
.article-body h4 { font-size:1.2rem; margin-top:28px; margin-bottom:12px; color:var(--gold); }
.article-body p { margin-bottom:24px; }
.article-body ul { margin-bottom:24px; padding-left:20px; }
.article-body ul li { margin-bottom:10px; list-style-type:disc; padding-left:10px; }
.intro-text { font-size:1.25rem; font-weight:500; color:var(--white); margin-bottom:28px; border-left:4px solid var(--gold); padding-left:20px; }
.article-footer { margin-top:50px; padding-top:28px; border-top:1px solid var(--border); }
.btn-back { display:inline-flex; align-items:center; gap:8px; font-weight:600; color:var(--white); transition:color 0.3s ease; }
.btn-back:hover { color:var(--gold); }

@media (max-width:768px) {
    .full-article { padding:28px; }
    .article-hero-img { margin:0 -28px 28px; height:240px; }
    .article-header h1 { font-size:1.7rem; }
    .blog-hero { height:38vh; }
    .blog-hero h1 { font-size:1.6rem; padding:0 14px; }
    .blogs-grid { grid-template-columns:1fr; gap:28px; }
    .blog-img { height:190px; }
    .blog-content h3 { font-size:1rem; }
    .flash-news-container { height:auto; flex-direction:column; }
    .flash-news-title { padding:7px 14px; font-size:0.65rem; width:100%; text-align:center; justify-content:center; height:auto; letter-spacing:1px; }
    .flash-news-ticker { height:auto; min-height:36px; padding:10px 12px; overflow:visible; align-items:flex-start; }
    .news-headline-fixed { font-size:0.85rem; white-space:normal; word-wrap:break-word; width:100%; text-align:center; }
    .ticker-content-dynamic { display:block; white-space:normal; word-wrap:break-word; padding-left:0; font-size:0.78rem; animation:none; transform:none; width:100%; position:static; color:#e0e0e0; }
}
@media (max-width:480px) {
    .blog-hero { height:30vh; }
    .blog-img { height:160px; }
}

/* ──────────── READING PROGRESS BAR ──────────── */
.reading-progress-container {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9998;
}
.reading-progress-bar {
    height: 100%;
    background: var(--gold);
    width: 0%;
    box-shadow: 0 0 10px rgba(201,168,76,0.6);
    transition: width 0.1s ease-out;
}