/* ==========================================================
   Advocate Amit — Main Stylesheet (Emerald & Gold)
   ========================================================== */
:root {
  --green: #0f3d2e;
  --green-dark: #082821;
  --green-light: #1f6b4f;
  --green-tint: #eaf3ee;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --gold-dark: #9c7c1a;
  --text: #1c2621;
  --muted: #647169;
  --bg-soft: #f7f5ef;
  --border: #e4e2d8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 6px 18px rgba(15,61,46,.08);
  --shadow-md: 0 18px 40px rgba(15,61,46,.14);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; background: #fff; }
h1, h2, h3, h4, .font-head { font-family: var(--font-head); color: var(--green); font-weight: 700; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; }

.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { position: relative; margin-bottom: 40px; }
.section-title .subtitle { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }
.section-title .subtitle::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; }
.section-title h2 { font-size: 2.3rem; margin-bottom: 12px; }
.section-title h2::after { content: ''; display: block; width: 46px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin-top: 16px; }
.section-title.text-center h2::after { margin-left: auto; margin-right: auto; }
.section-title p { color: var(--muted); max-width: 640px; }
.section-title.text-center p { margin: 0 auto; }

/* Buttons */
.btn { border-radius: 50px; font-weight: 600; padding: .7rem 1.6rem; transition: all .25s; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-dark); border: 1px solid var(--gold); }
.btn-gold:hover { filter: brightness(1.06); color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(201,162,39,.4); }
.btn-navy { background: var(--green); color: #fff; border: 1px solid var(--green); }
.btn-navy:hover { background: var(--green-light); color: #fff; transform: translateY(-2px); }
.btn-outline-navy { border: 2px solid var(--green); color: var(--green); }
.btn-outline-navy:hover { background: var(--green); color: #fff; }
.btn-outline-light { border-radius: 50px; }

/* Topbar */
.topbar { background: var(--green-dark); color: #cfe4da; font-size: .85rem; padding: 8px 0; }
.topbar a { color: #cfe4da; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: 4px; }

/* Navbar */
.main-nav { background: var(--green); padding: 12px 0; box-shadow: 0 2px 16px rgba(0,0,0,.2); }
.navbar-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; }
.brand-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); display: flex; align-items: center; justify-content: center; color: var(--green-dark); font-size: 1.3rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.brand-text { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font-body); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); font-weight: 500; }
.main-nav .nav-link { color: #e7f0ea; font-weight: 500; padding: .5rem 1rem; position: relative; border-radius: 50px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--gold-light); }
.main-nav .nav-link.active::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.dropdown-menu { border: 0; border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; box-shadow: var(--shadow-md); padding: 10px 0; }
.dropdown-item { padding: 8px 18px; font-size: .92rem; }
.dropdown-item:hover { background: var(--green-tint); color: var(--green); }
.dropdown-item i { color: var(--gold-dark); }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 140% at 15% 0%, var(--green-light) 0%, var(--green) 45%, var(--green-dark) 100%); color: #fff; padding: 120px 0 108px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,.045)' stroke-width='1'/%3E%3C/svg%3E"); }
.hero::after { content: ''; position: absolute; right: -140px; top: -140px; width: 500px; height: 500px; border-radius: 50%; border: 60px solid rgba(201,162,39,.1); }
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,162,39,.16); border: 1px solid rgba(201,162,39,.45); color: var(--gold-light); padding: 7px 18px; border-radius: 30px; font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: 3.2rem; line-height: 1.14; margin-bottom: 20px; }
.hero h1 span { color: var(--gold-light); }
.hero p.lead { color: #dcebe3; font-size: 1.1rem; max-width: 560px; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--gold-light); line-height: 1; }
.hero-stats div span { font-size: .85rem; color: #a9c7ba; }
.hero-card { background: #fff; border-radius: var(--radius); padding: 34px; color: var(--text); box-shadow: 0 30px 70px rgba(0,0,0,.35); border-top: 5px solid var(--gold); }
.hero-card h4 { margin-bottom: 4px; }
.hero-card p.small { color: var(--muted); }
.hero-scale { position: absolute; left: 50%; bottom: -40px; font-size: 22rem; color: rgba(255,255,255,.03); pointer-events: none; }

/* Forms */
.form-control, .form-select { border-radius: var(--radius-sm); border: 1px solid var(--border); padding: .7rem .9rem; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(201,162,39,.2); }
.form-label { font-weight: 600; font-size: .85rem; color: var(--green); }

/* Service cards */
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; height: 100%; transition: all .3s; position: relative; overflow: hidden; display: block; color: var(--text); }
.service-card::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); transition: height .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--text); }
.service-card:hover::before { height: 100%; }
.service-card .icon { width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px; transition: all .3s; }
.service-card:hover .icon { background: var(--green); color: var(--gold-light); }
.service-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.service-card .link { color: var(--gold-dark); font-weight: 600; font-size: .9rem; }
.service-card .link i { transition: transform .2s; }
.service-card:hover .link i { transform: translateX(4px); }

/* About */
.about-img { position: relative; }
.about-img .frame { background: radial-gradient(120% 140% at 20% 0%, var(--green-light), var(--green-dark)); border-radius: var(--radius); min-height: 440px; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 9rem; position: relative; overflow: hidden; }
.about-img .frame::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(201,162,39,.35); border-radius: 10px; }
.about-img .exp { position: absolute; right: -16px; bottom: -16px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-dark); padding: 20px 26px; border-radius: var(--radius-sm); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.about-img .exp strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.about-img .exp span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 6px 0 6px 32px; position: relative; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 6px; color: var(--gold-dark); font-size: 1.1rem; }

/* Why choose */
.feature-box { text-align: center; padding: 32px 20px; border-radius: var(--radius); transition: box-shadow .3s, transform .3s; }
.feature-box:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature-box .icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; border: 3px solid var(--gold); }
.feature-box h5 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-box p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Process */
.process-step { position: relative; text-align: center; padding: 20px 14px; }
.process-step .num { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--green); font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.process-step h5 { font-size: 1.05rem; }
.process-step p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (min-width: 992px) {
  .process-step:not(:last-child)::after { content: ''; position: absolute; top: 50px; left: calc(50% + 34px); width: calc(100% - 68px); border-top: 2px dashed var(--gold); }
}

/* Testimonials */
.testi-card { background: #fff; border-radius: var(--radius); padding: 32px; height: 100%; border: 1px solid var(--border); position: relative; }
.testi-card::before { content: '\201C'; position: absolute; top: 10px; right: 22px; font-family: var(--font-head); font-size: 5rem; color: rgba(201,162,39,.22); line-height: 1; }
.testi-card .stars { color: var(--gold); margin-bottom: 12px; }
.testi-card p { color: var(--text); font-style: italic; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-card .who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testi-card .who strong { display: block; font-size: .95rem; color: var(--green); }
.testi-card .who span { font-size: .8rem; color: var(--muted); }

/* FAQ */
.accordion-item { border: 1px solid var(--border); margin-bottom: 10px; border-radius: var(--radius-sm) !important; overflow: hidden; }
.accordion-button { font-weight: 600; color: var(--green); background: #fff; }
.accordion-button:not(.collapsed) { background: var(--green); color: var(--gold-light); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed)::after { filter: invert(76%) sepia(44%) saturate(490%) hue-rotate(3deg) brightness(101%); }

/* Page banner */
.page-banner { background: radial-gradient(120% 160% at 85% 0%, var(--green-light) 0%, var(--green-dark) 70%); color: #fff; padding: 74px 0; position: relative; overflow: hidden; }
.page-banner::after { content: '\f62e'; font-family: 'bootstrap-icons'; position: absolute; right: 5%; top: 50%; transform: translateY(-50%); font-size: 12rem; color: rgba(255,255,255,.05); }
.page-banner h1 { color: #fff; font-size: 2.6rem; margin-bottom: 8px; }
.page-banner .breadcrumb { margin: 0; }
.page-banner .breadcrumb a, .page-banner .breadcrumb-item { color: #cfe4da; }
.page-banner .breadcrumb-item.active { color: var(--gold-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #7fa593; }

/* Service details */
.service-content h5 { margin-top: 26px; color: var(--green); }
.service-content p, .service-content li { color: var(--text); }
.doc-box { background: var(--bg-soft); border-left: 4px solid var(--gold); padding: 24px; border-radius: var(--radius-sm); }
.doc-box ul { list-style: none; padding: 0; margin: 0; }
.doc-box li { padding: 6px 0 6px 28px; position: relative; font-size: .93rem; }
.doc-box li::before { content: '\f35f'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--gold-dark); }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h5 { font-size: 1.05rem; padding-bottom: 12px; border-bottom: 2px solid var(--gold); margin-bottom: 14px; }
.sidebar-widget .service-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .92rem; color: var(--text); }
.sidebar-widget .service-list a:hover, .sidebar-widget .service-list a.active { background: var(--green); color: #fff; }
.sidebar-widget.contact-widget { background: linear-gradient(160deg, var(--green), var(--green-dark)); color: #fff; border: 0; }
.sidebar-widget.contact-widget h5 { color: var(--gold-light); }
.sidebar-widget.contact-widget a { color: #fff; }

/* Contact page */
.contact-info-box { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); height: 100%; }
.contact-info-box .icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-info-box h6 { margin-bottom: 4px; }
.contact-info-box p { margin: 0; font-size: .92rem; color: var(--muted); word-break: break-word; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* CTA strip & footer */
.cta-strip { background: linear-gradient(120deg, var(--gold-light), var(--gold)); padding: 44px 0; }
.cta-strip h3, .cta-strip p { color: var(--green-dark); margin: 0; }
.cta-strip .btn-outline-light { border-color: var(--green-dark); color: var(--green-dark); }
.cta-strip .btn-outline-light:hover { background: var(--green-dark); color: #fff; }
.cta-strip .btn-gold { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.cta-strip .btn-gold:hover { background: var(--green); }

.site-footer { background: var(--green-dark); color: #a9c7ba; padding: 64px 0 0; font-size: .92rem; }
.site-footer h5.footer-brand { color: #fff; font-family: var(--font-head); }
.site-footer h6 { color: var(--gold-light); text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: #cfe4da; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { margin-bottom: 10px; padding-left: 26px; position: relative; }
.footer-contact li i { position: absolute; left: 0; top: 4px; color: var(--gold-light); }
.social a { display: inline-flex; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; align-items: center; justify-content: center; color: #cfe4da; margin-right: 8px; }
.social a:hover { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8rem; }
.footer-bottom .disclaimer { color: #7fa593; }

/* Floating buttons */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; z-index: 999; box-shadow: 0 6px 20px rgba(37,211,102,.45); animation: pulse 2s infinite; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.back-top { position: fixed; right: 30px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; z-index: 998; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold); color: var(--green-dark); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Alerts */
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }

/* Responsive */
@media (max-width: 991px) {
  .hero { padding: 74px 0; }
  .hero h1 { font-size: 2.3rem; }
  .hero-card { margin-top: 40px; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 1.8rem; }
  .main-nav .nav-link.active::after { display: none; }
  .main-nav .navbar-collapse { padding: 10px 0; }
}
@media (max-width: 575px) {
  .hero h1 { font-size: 1.9rem; }
  .page-banner h1 { font-size: 1.9rem; }
  .brand-text { font-size: 1.15rem; }
  .hero-stats { gap: 22px; }
}
