/* AneDa Law Theme core styles */
.gt_switcher-popup {
	display: flex;
    align-items: center;
    justify-content: space-between;
	    width: 44px;
    height: 36px;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
}
.gt_switcher-popup span:nth-child(2) {
	font-size:0px!important
}
a.glink img {
	    margin-left: 5px!important;
}
:root {
  --color-body-bg: #000000;
  --color-header-bg: #000000;
  --color-body-text: #dde4f6;
  --color-headings: #ffffff;
  --color-accent: #a3acc3;
  --color-link: #a3acc3;
  --color-hero-overlay: rgba(0,0,0,0.55);
  --color-services-bg: #11151d;
  --color-about-bg: #1e2644;
  --color-appointment-bg: #131922;
  --color-contact-bg: #11151d;
  --color-map-bg: #000000;
  --color-blog-bg: #1e2644;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--color-body-text);
  background: var(--color-body-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

html { scroll-behavior: smooth; }
section[id], header#top { scroll-margin-top: 90px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; }

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 1024px) {
  .container { padding: 0 20px; }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-headings);
  margin: 0 0 .5rem;
}

/* Header */
.branding {display: flex ; align-items: center; justify-content: space-between;}
.site-header { color: #fff; position: sticky; top: 0; z-index: 80; box-shadow: 0 6px 14px rgba(0,0,0,.35);border-bottom:1px solid #1f1f1f; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.branding .custom-logo { height: 72px; width: auto; }
.branding .site-title { color: #fff; font-weight: 600; font-size: 18px; margin-left: 10px; }

.primary-nav .menu { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li > a {
  color: #fff; font-weight: 500; font-size:15px; padding: 10px; border-radius: 6px; display: inline-block;
}
.primary-nav .menu > li > a:hover { background: rgba(255,255,255,.08); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .phone-box { font-size:14px;display: flex; flex-direction: row; align-items: center; gap: 8px; background: rgba(255,255,255,.08); padding: 8px 12px; border-radius: 10px; }
.header-cta .phone-box i { color: var(--color-accent); font-size: 18px; }
.header-cta .phone-label { color: #E2E8F0; font-weight: 600; }
.header-cta .phone-number { color: #fff; font-weight: 700; letter-spacing: .3px; line-height: 1; font-size:15px}
.header-cta .socials { display: flex; gap: 10px; }
.social-link { color: #fff; opacity: .85; background: rgba(255, 255, 255, .08); height: 36px; display: flex ; align-items: center; justify-content: center; width: 36px; border-radius: 10px; }
.header-cta .social-link:hover { opacity: 1; }
.header-cta .social-link i, .footer-socials .social-link i, .mobile-drawer .drawer-socials .social-link i { font-size: 1.25em; }

/* Mobile nav */
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; border-radius: 8px; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle .bar { display:block; width:22px; height:2px; background:#fff; border-radius:2px; }
.mobile-drawer { position: fixed; inset: 0; width: 100%; background: var(--color-body-bg); color: #fff; transform: translateX(100%); transition: transform .25s ease; z-index: 90; display: grid; grid-template-rows: auto 1fr auto auto; }
.mobile-drawer[aria-hidden="false"] { transform: translateX(0); }
.mobile-drawer .drawer-inner { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; padding: 16px 18px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer .drawer-brand img { height: 40px; width: auto; }
.mobile-drawer .nav-close { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 8px; }
.mobile-drawer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mobile-drawer .menu a { color: #fff; display: block; padding: 16px; border-radius: 10px; background: rgba(255,255,255,.06); text-decoration: none; font-size: 16px; font-weight: 700; }
.mobile-drawer .menu a:hover { background: rgba(255,255,255,.12); }
.mobile-drawer .drawer-socials { display: flex; gap: 12px; justify-content: center; padding-top: 8px; }
.mobile-drawer .drawer-phone { display: flex; align-items: center; gap: 10px; padding: 12px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.08); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 85; }
.mobile-drawer[aria-hidden="false"] + .drawer-backdrop { opacity: 1; visibility: visible; }


/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 120% auto;
  animation: heroZoomOut 14s ease-out forwards;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
  z-index: -1;
}
.hero .hero-overlay { position: absolute; inset: 0; background: var(--color-hero-overlay); }
.hero-inner { padding: 120px 0; display: flex; justify-content: flex-end; width: 100%;position:relative; }
.hero-inner--xl { padding: 220px 0 260px; }
.hero-title { font-size: clamp(32px, 5vw, 56px); color: #fff; }
.hero-subtitle { font-size: clamp(16px, 2.2vw, 20px); color: #E2E8F0; max-width: 720px; margin-top: 8px; }
.hero-text { display: inline-flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 720px; margin: 0 auto; }
@keyframes heroZoomOut { from { background-size: 120% auto; } to { background-size: 100% auto; } }

/* Sections */
.section { padding: 72px 0; }
.section--light { background: transparent; }
.section--dark { background: transparent; color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section-header h2 { font-size: 28px; }
.section-header .desc { opacity: .8; }
@media (max-width: 700px) { .section { padding: 56px 0; } }
@media (max-width: 480px) { .section { padding: 48px 0; } }

/* Services band grid */
.services-grid { display: grid; gap: 16px; }
.services-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1024px) { .services-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid--4 { grid-template-columns: 1fr; } }

.service-card { position: relative; isolation: isolate; border-radius: 16px; overflow: hidden; color: #E6EDF7; text-decoration: none; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.25); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.35); border-color: rgba(255,255,255,.14); text-decoration: none; }
/* Media style card */
.service-card--media .card-media { width: 100%; aspect-ratio: 4 / 3; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.service-card--media .card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card--media .card-media::after { content: ""; position: absolute; inset: 0; background: var(--color-body-bg); opacity: 0; transition: opacity .2s ease; }
.service-card--media:hover .card-media::after { opacity: 1; }
.service-card--media .icon-badge { position: absolute; top: 12px; left: 12px; }
.service-card--media .icon-wrap { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #123154; color: #fff; position: relative; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.service-card--media .icon-wrap i { font-size: 22px; }
.service-card--media .icon-wrap::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(205,163,73,.35); opacity: 0; transition: opacity .25s ease; }
.service-card--media:hover .icon-wrap { transform: translateY(-6px) scale(1.06); background: var(--color-accent); color: #0B213F; box-shadow: 0 10px 26px rgba(205,163,73,.35); }
.service-card--media:hover .icon-wrap::after { opacity: 1; }
.service-card--media .card-body { padding: 14px 14px 18px; }
.service-card--media .label { display: block; font-weight: 700; color: #fff; letter-spacing: .2px; margin-bottom: 6px; }
.service-card--media .desc { margin: 0; opacity: .85; font-size: 14px; line-height: 1.5; }

.services-hint { text-align: center; margin-top: 12px; opacity: .7; font-size: 12px; color: #C3D4E9; }

/* Posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

.post-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(2,12,27,.28); }
.section--dark .post-card { background: rgba(255,255,255,.06); backdrop-filter: saturate(120%) blur(4px); }
.post-card .thumb img, .post-card .thumb--placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #d9e1ee; }
.section--dark .post-card .thumb--placeholder { background: rgba(255,255,255,.12); }
.post-card .content { padding: 16px; }
.post-card .cat-labels { margin-bottom: 6px; }
.post-card .cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2px; padding: 4px 8px; border-radius: 999px; color: #0B213F; background: var(--color-accent); }
.post-card .title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.post-card .title a { color: inherit; text-decoration: none; }
.section--dark .post-card .title a { color: #fff; }
.post-card .meta { opacity: .65; font-size: 12px; margin-bottom: 6px; }
.post-card .excerpt { margin: 0 0 8px; }
.post-card .read-more { font-weight: 600; color: var(--color-accent); text-decoration: none; }

/* Single */
.single-container, .page-container { max-width: 800px; }
.single-title, .page-title { font-size: 34px; }
.single-content, .page-content { margin-top: 10px; }
.single-content p, .page-content p { margin: 0 0 16px; }

/* Footer */
.site-footer { color: #fff; margin-top: 20px;border-top:1px solid #1f1f1f;  }
.footer-inner { padding: 28px 0; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; }
.footer-branding .custom-logo { height: 40px; width: auto; }
.footer-socials { display: flex; gap: 12px; justify-content: center; }
.footer-socials .social-link { color: #fff; opacity: .85; background: rgba(255, 255, 255, .08); height: 40px; display: flex ; align-items: center; justify-content: center; width: 40px; border-radius: 10px; }
.footer-socials .social-link:hover { opacity: 1; }
.footer-copy { text-align: right; opacity: .9; }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.about-text p { opacity: .9; }
.about-media img, .about-placeholder { border-radius: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.cta-inner--with-form { grid-template-columns: 1.2fr 1fr; }
.cta-form { background: rgba(255,255,255,.05); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.10); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #0B213F; box-shadow: 0 10px 26px rgba(205,163,73,.22); }
.btn-accent:hover { filter: brightness(1.05); text-decoration: none; }
@media (max-width: 700px) { .cta-inner, .cta-inner--with-form { grid-template-columns: 1fr; text-align: center; } .cta-form { text-align: left; } }

/* Map band */
.map-band { padding: 0; background: var(--color-map-bg); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Contact band */
.contact-band .contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.contact-band { background: var(--color-contact-bg); }
.contact-band h2 { margin-bottom: 10px; }
.contact-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.contact-list i { color: var(--color-accent); font-size: 18px; line-height: 1.2; }
.contact-list a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.35); }
.contact-list a:hover { border-color: var(--color-accent); }
.contact-right img { border-radius: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .contact-band .contact-grid { grid-template-columns: 1fr; } }

/* Overrides and icon-only services */
/* Logo scaling */
.branding .custom-logo { height: 72px !important; width: auto; }
.footer-branding .custom-logo { height: 76px !important; width: auto; }

@media (max-width: 980px) { .branding .custom-logo { height: 60px !important; } }
@media (max-width: 640px) { .branding .custom-logo { height: 52px !important; } }
@media (max-width: 480px) { .branding .custom-logo { height: 46px !important; } }

/* Icon-only style card (centered) */
.service-card--icon { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 20px 16px; text-align: center; }
.service-card--icon .icon-wrap { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #123154; color: #fff; position: relative; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; box-shadow: 0 6px 18px rgba(0,0,0,.25); margin-bottom: 10px; }
.service-card--icon .icon-wrap i { font-size: 20px; }
.service-card--icon .icon-wrap::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(205,163,73,.35); opacity: 0; transition: opacity .25s ease; }
.service-card--icon:hover .icon-wrap { transform: translateY(-5px) scale(1.05); background: var(--color-accent); color: #0B213F; box-shadow: 0 10px 24px rgba(205,163,73,.30); }
.service-card--icon:hover .icon-wrap::after { opacity: 1; }
.service-card--icon .label { display: block; font-weight: 700; color: #fff; margin-bottom: 6px; }
.service-card--icon .desc { margin: 0; opacity: .85; font-size: 13px; line-height: 1.55; }
/* About points */
.about-points { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.about-points li { display: flex; align-items: center; gap: 8px; opacity: .95; }
.about-points i { color: var(--color-accent); }

.services-band.section { padding: 96px 0; background: var(--color-services-bg); }
.cta { padding: 96px 0; background: var(--color-appointment-bg); }
@media (max-width: 700px) { .services-band.section, .cta { padding: 72px 0; } }
@media (max-width: 480px) { .services-band.section, .cta { padding: 60px 0; } }

.hero-text { display: inline-flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 720px; margin: 0 auto; }

.nav-toggle .bar + .bar { margin-top: 4px; }

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .header-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 12px; }
  .branding { justify-self: start; }
  .nav-toggle { display: inline-flex; justify-self: end;flex-direction:column; }
}

@media (max-width: 700px) {
  .hero { min-height: 50vh; background-size: 200%!important; background-position: center; }
  .hero-inner { justify-content: center; padding: 120px 0 100px; }
  .hero-inner--xl { padding: 150px 0 120px; }
  .contact-list a {
      font-size:14px;
  }
}

@media (max-width: 480px) {
  .hero-inner { padding: 100px 0 80px; }
  .hero-inner--xl { padding: 200px 0 100px; }
  .hero-title { font-size: clamp(26px, 8vw, 40px); }
}

.about { background: var(--color-about-bg); }
.blog-preview { background: var(--color-blog-bg); }
.contact-band { background: var(--color-contact-bg); }
.map-band { padding: 0; background: var(--color-map-bg); }

@media (max-width: 640px) {
  .services-hint { text-align: center; margin-top: 28px; }
  .services-hint small { display: block; font-size: 12px; letter-spacing: .6px; }
}

@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .mobile-drawer .drawer-inner { padding: 16px; }
  .post-card { width: 100%; }
}

