/* CSS variables and global styles */
:root {
  --alg-bg-dark: #0b1020;
  --alg-bg-darker: #020617;
  --alg-accent: #1f4b8f;
  --alg-accent-gold: #f5b027;
  --alg-text-light: #f9fafb;
  --alg-text-dark: #111827;
  --alg-muted: #6b7280;
  --alg-section-grey: #020617;
  --alg-max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--alg-bg-darker);
  color: var(--alg-text-light);
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 32, 0.97);
  backdrop-filter: blur(18px);
  color: var(--alg-text-light);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  max-width: var(--alg-max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  height: 60px;
  background: rgba(248, 250, 252, 0.98);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
}

.brand-text-main {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(156, 163, 175, 0.9);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.86rem;
}

.nav-links a {
  color: rgba(249, 250, 251, 0.85);
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--alg-text-light);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero styles */
.hero {
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 45%, #000000 100%);
  color: var(--alg-text-light);
  padding: 3.5rem 1.5rem 3.8rem;
}

.hero-inner {
  max-width: var(--alg-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(209, 213, 219, 0.85);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0.6rem 0 0.6rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 34rem;
  color: rgba(229, 231, 235, 0.9);
}

.hero-practices {
  justify-content: center;
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-pill {
  display:inline-block;
  background: rgba(31,75,143,0.22);
  color: var(--alg-text-light);
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--alg-accent-gold);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  backdrop-filter: blur(3px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  background: rgba(31,75,143,0.33);
}
.hero-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.hero-actions {
  justify-content: center;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f5b027, #f97316);
  color: #111827;
}

.btn-outline {
  background: transparent;
  color: var(--alg-text-light);
  border: 1px solid rgba(148, 163, 184, 0.75);
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: rgba(209, 213, 219, 0.9);
}

.hero-panel {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.7rem 1.6rem 1.4rem;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.hero-panel-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-panel-sub {
  font-size: 0.84rem;
  color: rgba(209, 213, 219, 0.9);
  margin-bottom: 0.9rem;
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: rgba(229, 231, 235, 0.9);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(156, 163, 175, 0.95);
}


.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-image {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.9);
  object-fit: cover;
  max-height: 340px;
}

.hero-mini-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.hero-mini {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero-mini-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 250, 251, 0.9);
  margin-bottom: 0.35rem;
}

.hero-mini-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 0.8rem;
  color: rgba(229, 231, 235, 0.9);
}

.hero-mini-list li + li {
  margin-top: 0.15rem;
}


}
/* Section styles */
.section {
  padding: 3.6rem 1.5rem;
}

.section-inner {
  max-width: var(--alg-max-width);
  margin: 0 auto;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000000 100%);
}

.section-dark {
  background: var(--alg-bg-dark);
  color: var(--alg-text-light);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.4rem;
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alg-muted);
}

.section-dark .section-kicker {
  color: rgba(156, 163, 175, 0.95);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
}

.section-dark .section-subtitle {
  color: rgba(209, 213, 219, 0.9);
}

/* Card and grid styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75);
}

.section-dark .card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border-color: rgba(148, 163, 184, 0.6);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(229, 231, 235, 0.9);
}

.section-dark .card p {
  color: rgba(209, 213, 219, 0.9);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: rgba(229, 231, 235, 0.9);
}

.section-dark .pill {
  background: #111827;
  color: rgba(229, 231, 235, 0.9);
}

/* Testimonials */
.testimonial-text {
  font-size: 0.9rem;
  color: rgba(229, 231, 235, 0.9);
}

.testimonial-name {
  margin-top: 0.7rem;
  font-weight: 600;
  font-size: 0.86rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.faq-item {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(229, 231, 235, 1);
}

.faq-item:first-child {
  border-top: none;
}

.faq-question {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: rgba(249, 250, 251, 0.96);
}

.faq-answer {
  font-size: 0.88rem;
  color: rgba(209, 213, 219, 0.85);
}

/* Contact form */
.cta-form-wrapper {
  max-width: 640px;
  margin: 2.1rem auto 0;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.9));
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: rgba(209, 213, 219, 0.9);
}

.form-input,
.form-textarea {
  border-radius: 10px;
  border: 1px solid rgba(75, 85, 99, 1);
  background: #020617;
  padding: 0.6rem 0.7rem;
  font-size: 0.84rem;
  color: var(--alg-text-light);
  font-family: inherit;
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--alg-accent-gold);
  box-shadow: 0 0 0 1px rgba(245, 176, 39, 0.35);
}

.form-full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(156, 163, 175, 0.9);
}

.form-submit {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f5b027, #f97316);
  color: #111827;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Footer */
footer {
  background: #000000;
  color: rgba(249, 250, 251, 0.9);
  padding: 2.2rem 1.5rem 1.7rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(31, 41, 55, 1);
}

.footer-inner {
  max-width: var(--alg-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  max-width: var(--alg-max-width);
  margin: 1.4rem auto 0;
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: rgba(156, 163, 175, 0.9);
}

/* Responsive design */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 2.8rem;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .header-inner {
    padding-inline: 1rem;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(11, 16, 32, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.75rem;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-out;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.nav-cta.nav-call {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(248, 250, 252, 0.7);
}

.nav-cta.nav-call:hover {
  background: rgba(148, 163, 184, 0.18);
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 1.5rem;
    background: #020617;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 220px;
    display: none;
    z-index: 40;
  }

  .nav-links.open {
    display: flex;
  }
}


.contact-locations {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: stretch;
}

.contact-location-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-location-text p {
  margin: 0;
  line-height: 1.5;
}

.contact-location-map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
}

@media (max-width: 900px) {
  .contact-location {
    grid-template-columns: 1fr;
  }
}


.hero-attorney {
  margin-top: 1.2rem;
  width: 210px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.attorney-intro {
  padding: 5rem 0;
}
.attorney-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.attorney-photo {
  width: 260px;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}
.attorney-name {
  text-align: center;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 1.1rem;
}
.attorney-text {
  max-width: 700px;
  line-height: 1.65;
}
.attorney-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .attorney-inner {
    flex-direction: column;
    align-items: center;
  }
  .attorney-photo {
    width: 220px;
  }
}

.immigration-services-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
  align-items: flex-start;
}

.immigration-services-col h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.immigration-services-col ul {
  margin: 0 0 1.5rem 1.2rem;
  padding: 0;
  list-style: disc;
}

.immigration-services-col li {
  margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
  .immigration-services-grid {
    grid-template-columns: 1fr;
  }
}
