/* Base reset and variables */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #1f3b5b;       /* deep blue */
  --brand-dark: #162a41;
  --accent: #c89b3c;      /* gold */
  --text: #2b2b2b;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Header & Navigation */
.header {
  background: var(--brand);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
}
.logo-mark {
  width: 55px; height: 55px;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-weight: 700;
  letter-spacing: .5px;
}
.logo-text { font-size: 1.1rem; font-weight: 600; }
.logo-sub { font-size: .85rem; color: #e5e7eb; }

.nav ul { list-style: none; display: flex; gap: 1rem; }
.nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: 4px;
}
.nav a:hover, .nav a.active {
  background: var(--brand-dark);
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 4rem 0;
}
.hero .container { display: grid; gap: 1.5rem; }
.hero h1 { font-size: 2.25rem; }
.hero p { color: #e5e7eb; max-width: 700px; }
.hero .cta {
  margin-top: 1rem;
  display: flex; gap: .75rem; flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* Sections */
.section { padding: 3rem 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.section p.lead { color: var(--muted); max-width: 800px; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); }

/* Attorney profiles */
.profile {
  display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start;
}
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #fef3c7);
  border: 2px solid #e5e7eb;
}
.profile h3 { margin-bottom: .25rem; }
.profile .role { color: var(--accent); font-weight: 600; }
.profile .bio { color: var(--muted); }

/* Lists */
.list { list-style: none; display: grid; gap: .75rem; }
.list li { display: flex; gap: .5rem; align-items: flex-start; }
.list .bullet {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-top: .4rem;
}

/* Contact */
.form {
  display: grid; gap: 1rem;
}
.form .row { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }
label { font-weight: 600; }
input, textarea, select {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31,59,91,.15);
}

/* Footer */
.footer {
  background: var(--brand-dark);
  color: #cbd5e1;
  padding: 2rem 0;
  border-top: 4px solid var(--accent);
}
.footer .cols { display: grid; gap: 1.5rem; grid-template-columns: 2fr 1fr 1fr; }
.footer a { color: #cbd5e1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .legal { margin-top: 1rem; font-size: .9rem; color: #94a3b8; }

.small { font-size: .9rem; color: var(--muted); }

/* Slider */
/* Slider container */
.image-slider {
  position: relative;
  overflow: hidden;
  height: 450px; /* adjust height */
  width: 100%;
  background: #000; /* fallback */
}

/* Wrapper for slides */
.slider-wrapper {
  position: relative;
  height: 100%;
}

/* Each slide */
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slide images */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption overlay */
.caption {
  position: absolute;
  bottom: 60px;
  left: 60px;
  background: rgba(31, 59, 91, 0.7); /* semi-transparent navy overlay */
  color: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.caption h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: #c89b3c; /* gold accent */
}
.caption p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Navigation dots */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}
.dot.active {
  opacity: 1;
  background: #c89b3c; /* gold highlight */
}

/* Navigation arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: .5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.arrow:hover {
  background: rgba(0,0,0,0.7);
}
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }