/*
Theme Name: Advocate Ramesh Yadav
Description: Custom, high-performance theme optimized for legal services and local SEO.
Author: DK Media Services
Version: 1.0
*/

:root {
  --navy: #0d1b2e;
  --navy-mid: #1a2b3c;
  --navy-light: #243447;
  --gold: #c9a84c;
  --gold-light: #e0c070;
  --gold-dark: #a08030;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --text-dark: #1a1a1a;
  --text-muted: #5a6a7a;
  --border: #e0d8c8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text-dark); background: var(--white); }

/* DISCLAIMER MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.82); z-index: 999999 !important; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-box { background: var(--white); border-radius: 12px; max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.modal-header { background: var(--navy); padding: 1.5rem 2rem; border-radius: 12px 12px 0 0; display: flex; align-items: center; gap: 14px; }
.modal-header-icon { font-size: 28px; color: var(--gold); }
.modal-header h2 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.4rem; }
.modal-header p { color: var(--gold-light); font-size: 0.78rem; margin-top: 2px; }
.modal-body { padding: 1.5rem 2rem; }
.modal-body .intro { background: #fff8e8; border-left: 4px solid var(--gold); padding: 0.9rem 1rem; border-radius: 0 6px 6px 0; font-size: 0.85rem; font-weight: 700; color: #4a3500; margin-bottom: 1.2rem; line-height: 1.5; }
.modal-body ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.modal-body ul li { font-size: 0.84rem; color: #333; line-height: 1.7; margin-bottom: 0.5rem; }
.modal-body p { font-size: 0.84rem; color: #444; line-height: 1.7; margin-bottom: 0.9rem; }
.modal-body .note { color: var(--gold-dark); font-style: italic; font-size: 0.82rem; font-weight: 700; }
.modal-footer { padding: 1rem 2rem 1.5rem; text-align: center; border-top: 1px solid #eee; }
.btn-agree { background: var(--gold); color: var(--navy); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1rem; padding: 13px 48px; border: none; border-radius: 40px; cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px; }
.btn-agree:hover { background: var(--gold-light); transform: translateY(-1px); }

/* NAVIGATION */
nav { position: sticky; top: 0; z-index: 1000; background: var(--navy); padding: 0 3rem; display: flex; justify-content: space-between; align-items: center; height: 68px; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { font-size: 22px; color: var(--gold); }
.nav-logo-text { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.05rem; line-height: 1.2; }
.nav-logo-sub { font-size: 0.7rem; color: var(--gold); font-family: 'Lato', sans-serif; font-weight: 300; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: #c8d8e8; text-decoration: none; font-size: 0.88rem; font-weight: 400; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.82rem; padding: 9px 20px; border-radius: 4px; text-decoration: none; letter-spacing: 0.5px; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.nav-cta:hover { background: var(--gold-light); }
.hamburger { display: none; color: var(--white); font-size: 26px; cursor: pointer; background: none; border: none; }

/* HERO */
.hero { background: var(--navy); padding: 5rem 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; min-height: 88vh; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 65%); pointer-events: none; }
.hero-badge { display: inline-block; background: rgba(201,168,76,0.15); border: 1px solid var(--gold); color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; padding: 6px 16px; border-radius: 3px; margin-bottom: 1.4rem; }
.hero h1 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 2.8rem; line-height: 1.25; margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero-sub { color: #8aa0b8; font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.hero-sub strong { color: #c8d8e8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.9rem; padding: 14px 28px; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; border: 2px solid var(--gold); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary { border: 2px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 0.9rem; padding: 14px 28px; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; background: transparent; }
.btn-secondary:hover { background: rgba(201,168,76,0.1); }
.hero-courts { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-court { display: flex; align-items: center; gap: 6px; color: #6a8aaa; font-size: 0.8rem; }
.hero-court i { color: var(--gold); font-size: 15px; }
.hero-image { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-photo-wrap { width: 100%; max-width: 400px; height: 520px; border-radius: 8px 8px 0 0; overflow: hidden; border: 2px solid rgba(201,168,76,0.3); background: var(--navy-mid); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; position: relative; }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-photo-placeholder { text-align: center; padding: 2rem; }
.hero-photo-placeholder i { font-size: 64px; color: rgba(201,168,76,0.3); }
.hero-photo-placeholder p { color: #4a6a8a; font-size: 0.8rem; margin-top: 0.5rem; }
.hero-badge-float { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.78rem; padding: 8px 20px; border-radius: 4px; white-space: nowrap; letter-spacing: 0.5px; }

/* STATS & SECTIONS */
.stats-bar { background: var(--gold); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; }
.stat-item { padding: 1.5rem 1rem; text-align: center; border-right: 1px solid rgba(13,27,46,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--navy); font-weight: 700; }
.stat-label { font-size: 0.75rem; color: rgba(13,27,46,0.7); font-weight: 700; letter-spacing: 1px; margin-top: 2px; text-transform: uppercase; }

section { padding: 5rem 3rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 0.72rem; color: var(--gold); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 0.5rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2rem; line-height: 1.3; margin-bottom: 0.5rem; }
.section-line { width: 50px; height: 3px; background: var(--gold); margin: 0.8rem 0 1.5rem; border-radius: 2px; }
.section-subtitle { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; max-width: 560px; }

/* ABOUT */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.about-photo-wrap { border-radius: 8px; overflow: hidden; position: relative; background: var(--navy-mid); height: 480px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-photo-wrap .placeholder-inner { text-align: center; }
.about-photo-wrap .placeholder-inner i { font-size: 56px; color: rgba(201,168,76,0.4); }
.about-photo-wrap .placeholder-inner p { color: #4a6a8a; font-size: 0.8rem; margin-top: 0.5rem; }
.about-gold-border { position: absolute; bottom: -12px; right: -12px; width: 80%; height: 80%; border: 3px solid var(--gold); border-radius: 8px; z-index: -1; }
.about-content .section-line { margin-left: 0; }
.about-lead { font-size: 1.05rem; line-height: 1.8; color: #333; margin-bottom: 1.2rem; }
.about-lead strong { color: var(--navy); }
.about-body { font-size: 0.92rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.5rem; }
.about-creds { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.8rem; }
.about-cred { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #444; }
.about-cred i { color: var(--gold); font-size: 18px; flex-shrink: 0; }

/* PRACTICE AREAS */
.practice-section { background: var(--navy); }
.practice-section .section-tag { color: var(--gold); }
.practice-section .section-title { color: var(--white); }
.practice-section .section-subtitle { color: #7a9ab8; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.practice-card { background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.15); border-radius: 8px; padding: 1.8rem 1.5rem; border-top: 3px solid var(--gold); transition: all 0.3s; cursor: default; }
.practice-card:hover { background: var(--navy-light); transform: translateY(-4px); border-color: rgba(201,168,76,0.4); }
.practice-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.practice-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.practice-desc { font-size: 0.84rem; color: #7a9ab8; line-height: 1.7; margin-bottom: 1rem; }
.practice-link { font-size: 0.8rem; color: var(--gold); font-weight: 700; letter-spacing: 0.5px; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.practice-link:hover { color: var(--gold-light); }

/* WHY & CONTACT */
.why-section { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem 1.4rem; text-align: center; transition: all 0.3s; }
.why-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.why-icon { width: 56px; height: 56px; background: rgba(201,168,76,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.why-icon i { font-size: 24px; color: var(--gold); }
.why-title { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.why-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.contact-section { background: var(--navy); }
.contact-section .section-tag { color: var(--gold); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-subtitle { color: #7a9ab8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; margin-top: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon i { font-size: 20px; color: var(--gold); }
.contact-item-label { font-size: 0.75rem; color: #5a7a9a; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.contact-item-value { font-size: 0.95rem; color: var(--white); font-weight: 400; }
.contact-item-value a { color: var(--gold); text-decoration: none; }
.contact-form-wrap { background: var(--white); border-radius: 10px; padding: 2rem; }
.contact-form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 0.3rem; }
.contact-form-wrap p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #d8d0c0; border-radius: 6px; font-family: 'Lato', sans-serif; font-size: 0.88rem; color: var(--text-dark); background: var(--white); outline: none; transition: border 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-submit { width: 100%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.95rem; padding: 14px; border: none; border-radius: 6px; cursor: pointer; font-family: 'Lato', sans-serif; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-top: 0.5rem; }
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* TESTIMONIALS & BLOG & CTA */
.testi-section { background: var(--off-white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem; position: relative; border-top: 3px solid var(--gold); }
.testi-quote { font-size: 2.5rem; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; font-family: Georgia, serif; }
.testi-text { font-size: 0.9rem; color: #444; line-height: 1.8; font-style: italic; margin-bottom: 1.2rem; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; font-size: 0.9rem; }
.testi-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.testi-case { font-size: 0.75rem; color: var(--text-muted); }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.8rem; }

.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.blog-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.blog-image { height: 160px; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; }
.blog-image i { font-size: 40px; color: rgba(201,168,76,0.4); }
.blog-body { padding: 1.2rem; }
.blog-cat { font-size: 0.7rem; color: var(--gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--navy); line-height: 1.4; margin-bottom: 0.5rem; }
.blog-excerpt { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { font-size: 0.75rem; color: #8a9aaa; display: flex; align-items: center; gap: 6px; }

.cta-band { background: var(--gold); padding: 3.5rem 3rem; text-align: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(13,27,46,0.7); font-size: 0.95rem; margin-bottom: 1.5rem; }
.cta-band-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-dark { background: var(--navy); color: var(--white); font-weight: 700; font-size: 0.9rem; padding: 13px 28px; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn-dark:hover { background: var(--navy-mid); }
.btn-wa { background: #25D366; color: var(--white); font-weight: 700; font-size: 0.9rem; padding: 13px 28px; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn-wa:hover { background: #1fb85a; }

/* FOOTER */
footer { background: #060d18; padding: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto 2rem; }
.footer-brand .logo-text { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.1rem; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.82rem; color: #4a6a8a; line-height: 1.7; margin-bottom: 1rem; }
.footer-heading { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.84rem; color: #4a6a8a; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 0.6rem; }
.footer-contact-item i { color: var(--gold); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.82rem; color: #4a6a8a; line-height: 1.5; }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid #1a2b3c; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: #2a4a6a; }
.footer-bar-note { font-size: 0.75rem; color: #2a4a6a; font-style: italic; }
.footer-disclaimer { font-size: 0.74rem; color: #253545; line-height: 1.6; margin-top: 1rem; max-width: 1100px; margin: 1rem auto 0; }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: all 0.2s; animation: pulse 2.5s infinite; }
.wa-float i { font-size: 26px; color: white; }
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4rem 2rem; }
  .hero-image { display: none; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 1.5rem; gap: 1.2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
  .hamburger { display: block; }
  .nav-cta { font-size: 0.75rem; padding: 8px 14px; }
  section { padding: 3.5rem 1.5rem; }
  .hero { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-wrap { height: 320px; }
  .practice-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 1rem 1.2rem; }
  .modal-header { padding: 1.2rem 1.2rem; }
}/* FORCE HERO BUTTONS TO THE ABSOLUTE TOP LAYER */
.hero-content {
    position: relative !important;
    z-index: 999 !important;
}
.hero-btns a {
    position: relative !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
}