/* Base styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Times New Roman', Times, serif;
  background: #f8f9fb;
  color: #1A2746;
  font-size: 18px;
  line-height: 1.7;
}

nav.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #1A2746;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(26, 39, 70, 0.05);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  position: relative;
}
.nav-logo {
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
  margin-right: 2rem;
  letter-spacing: 1px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #b0c4de;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  background: #fff;
  height: 3px;
  width: 28px;
  border-radius: 0;
  position: relative;
  transition: all 0.3s;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-icon::before {
  top: -8px;
}
.nav-toggle-icon::after {
  top: 8px;
}

/* Hero Section */
.hero-section {
  background: #fff;
  padding: 4rem 1.5rem 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #e3e6ee;
}
.legal-icon {
  margin-bottom: 1.2rem;
}
.firm-name {
  font-size: 2.5rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: #1A2746;
  margin: 0 0 0.5rem 0;
}
.tagline {
  font-size: 1.3rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: #1A2746;
  margin-bottom: 0;
}

/* About Section */
.about-section {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  padding: 0 1.5rem;
  min-height: 140px;
}
.about-section h2 {
  font-size: 2rem;
  font-family: 'Times New Roman', Times, serif;
  color: #1A2746;
  margin-bottom: 1rem;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 120px;
}
.about-profile-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 2px 8px rgba(26, 39, 70, 0.08);
  flex-shrink: 0;
}
.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
}
@media (max-width: 700px) {
  .about-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    min-height: unset;
  }
  .about-profile-img {
    width: 180px;
    height: 180px;
  }
  .about-text {
    min-height: unset;
  }
}

/* Practice Areas */
.practice-areas-section {
  max-width: 1100px;
  margin: 3rem auto 0 auto;
  padding: 0 1.5rem;
}
.practice-areas-section h2 {
  font-size: 2rem;
  font-family: 'Times New Roman', Times, serif;
  color: #1A2746;
  margin-bottom: 2rem;
  text-align: left;
}
.practice-areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.5rem;
}
.practice-area {
  position: relative;
  background: #191970;
  color: #fff;
  box-shadow: 0 2px 12px rgba(25, 25, 112, 0.15);
  border-radius: 0;
  overflow: hidden;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
}
.practice-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(25,25,112,0.5), rgba(25,25,112,0.5));
  z-index: 0;
}
.practice-area > * {
  position: relative;
  z-index: 1;
}
.practice-icon {
  margin-bottom: 1.2rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.practice-icon svg {
  width: 56px;
  height: 56px;
  display: block;
}
.rect-title {
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.practice-area p {
  color: #f5f6fa;
  margin: 1rem 0 2rem 0;
}
.explore-btn {
  display: inline-block;
  background: #fff;
  color: #191970;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.7em 2.2em;
  border: none;
  border-radius: 0;
  letter-spacing: 0.1em;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
  margin-bottom: 0.5rem;
}
.explore-btn:hover {
  background: #b0c4de;
  color: #191970;
}

/* Divider */
.divider {
  text-align: center;
  color: #b0c4de;
  font-size: 2rem;
  margin: 3rem 0 2rem 0;
  letter-spacing: 0.5em;
}

/* Contact Section */
.contact-section {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
}
.contact-section h2 {
  font-size: 2rem;
  font-family: 'Times New Roman', Times, serif;
  color: #1A2746;
  margin-bottom: 1.5rem;
  text-align: left;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
}
.contact-list li {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.contact-list .icon {
  font-size: 1.2em;
}

/* Select box styles (if used) */
select {
  border-radius: 0;
  border: 1px solid #1A2746;
  padding: 0.5em 1em;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1rem;
  background: #fff;
  color: #1A2746;
  outline: none;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .practice-areas-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #1A2746;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 16px rgba(26, 39, 70, 0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .nav-container {
    justify-content: space-between;
  }
  .practice-areas-section h2,
  .contact-section h2 {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .hero-section {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
  }
  .about-section,
  .practice-areas-section,
  .contact-section {
    padding: 0 0.5rem;
  }
  .firm-name {
    font-size: 1.5rem;
  }
  .tagline {
    font-size: 1rem;
  }
}

.practice-civil {
  background-image: url('assets/civil-commercial-litigation.jpg');
}
.practice-debt {
  background-image: url('assets/debt-recovery.jpg');
}
.practice-criminal {
  background-image: url('assets/criminal-defence.jpg');
}
.practice-family {
  background-image: url('assets/family-law.jpg');
}
.practice-probate {
  background-image: url('assets/probate-estate-matters.jpg');
}
.practice-contractual {
  background-image: url('assets/contractual-business-advisory.jpg');
}
.practice-public {
  background-image: url('assets/public-interest-human-rights.jpg');
}
.practice-constitutional {
  background-image: url('assets/constitutional-law-judicial-review.jpg');
}

.site-footer {
  background: #1A2746;
  color: #fff;
  padding: 2rem 1rem 1.2rem 1rem;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
  position: relative;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer-title {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.footer-copyright {
  font-size: 1rem;
  color: #b0c4de;
}
.footer-socials {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.footer-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: opacity 0.2s;
}
.footer-icon:hover svg {
  opacity: 0.7;
}
.footer-version {
  position: absolute;
  right: 1.5rem;
  bottom: 0.7rem;
  font-size: 0.85rem;
  color: #b0c4de;
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 600px) {
  .site-footer {
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
  }
  .footer-content {
    gap: 0.5rem;
  }
  .footer-socials {
    gap: 0.7rem;
  }
} 