/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #b8956a;
  --navy: #003d5c;
  --dark-navy: #002a3f;
  --red: #a51c30;
  --light-gray: #f5f5f5;
  --gray: #666;
  --white: #ffffff;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: var(--white);
}

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

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

/* ==================== HEADER ==================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 100px;
  width: auto;
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav a {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 61, 92, 0.85) 0%, rgba(0, 61, 92, 0.3) 100%);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: var(--white);
  max-width: 650px;
}

.slide-subtitle {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.slide-title {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 30px;
}

.slide-btn {
  display: inline-block;
  padding: 12px 35px;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}

.slide-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 5px;
}

/* ==================== SECTION STYLING ==================== */
.section {
  padding: 80px 40px;
}

.section-light {
  background: var(--light-gray);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 50px;
  text-align: center;
  color: var(--navy);
}

/* ==================== ACHIEVEMENTS ==================== */
.achievement-box {
  background: var(--white);
  padding: 60px;
  text-align: center;
  margin: 40px 0;
}

.achievement-text {
  font-size: 24px;
  font-style: italic;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.achievement-source {
  font-size: 16px;
  color: var(--gray);
}

/* ==================== TEAM SECTION ==================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-info {
  padding: 25px;
}

.team-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}

.team-title {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 15px;
}

.team-location {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.team-email {
  font-size: 14px;
  color: var(--red);
  margin-bottom: 3px;
}

.team-phone {
  font-size: 14px;
  color: #333;
}

/* ==================== INSIGHTS/CARDS ==================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.insight-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s;
}

.insight-card:hover {
  transform: translateY(-5px);
}

.insight-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.insight-content {
  padding: 30px;
}

.insight-meta {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insight-title {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.insight-excerpt {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/* ==================== PROFILE PAGE ==================== */
.profile-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.profile-header {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  margin-bottom: 60px;
}

.profile-photo-large {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.profile-details {
  padding-top: 20px;
}

.profile-name {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 10px;
}

.profile-position {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
}

.profile-contact {
  margin-bottom: 20px;
}

.profile-contact p {
  font-size: 15px;
  margin-bottom: 8px;
}

.profile-contact a {
  color: var(--red);
}

.profile-practices {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
}

.profile-tabs {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 40px;
  position: sticky;
  top: 85px;
  background: var(--white);
  z-index: 100;
  padding: 20px 0;
}

.tab {
  padding: 15px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.tab.active,
.tab:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.vertical-label {
  position: relative;
  padding-left: 120px;
  min-height: 400px;
}

.vertical-label::before {
  content: attr(data-label);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}

.content-section {
  max-width: 900px;
  line-height: 1.8;
  font-size: 16px;
}

.content-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-section ul {
  list-style: disc;
  margin-left: 25px;
  margin-top: 15px;
}

.content-section li {
  margin-bottom: 15px;
}

/* ==================== CAPABILITIES PAGE ==================== */
.capabilities-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
  padding: 100px 40px;
  text-align: center;
  color: var(--white);
}

.capabilities-hero h1 {
  font-size: 52px;
  font-weight: 300;
}

.capabilities-filter {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #ddd;
}

.filter-btn {
  padding: 10px 25px;
  background: transparent;
  border: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--red);
}

.capabilities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.capability-item {
  font-size: 18px;
  color: var(--red);
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.3s;
  cursor: pointer;
}

.capability-item:hover {
  color: var(--gold);
}

/* ==================== CONTACT & MAP ==================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 40px;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

#map {
  width: 100%;
  height: 500px;
  border: none;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--light-gray);
  padding: 60px 40px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-nav a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-icon:hover {
  background: var(--gold);
}

.footer-offices {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
}

.footer-logo {
  height: 50px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .capabilities-list {
    grid-template-columns: 1fr;
  }
  
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-slider {
    height: 400px;
  }
  
  .slide-title {
    font-size: 32px;
  }
  
  .profile-header {
    grid-template-columns: 1fr;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .profile-tabs {
    overflow-x: auto;
    gap: 20px;
  }
  
  .vertical-label {
    padding-left: 0;
  }
  
  .vertical-label::before {
    display: none;
  }
}
