* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: #f4f4f4;
}

.attorney-header{
    background-image: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.856) 0%, 
        rgba(0, 0, 0, 0.726) 60%, 
        rgba(0, 0, 0, 0.904) 100%
    ), url(background/public-advocates.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    height: 40vh;
    color: white;
    text-align: left;
    padding: 0px 90px;
    box-sizing: border-box;
}

.attorney-header p{
    font-size: 18px;
    padding-right: 800px;
}

.attorney-header .text-head{
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 20px;
}

@media (max-width: 1500px){
  .attorney-header p{
    font-size: 18px;
    padding-right: 0px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px){
  .attorney-header p{
    font-size: 18px;
    padding-right: 0px;
    font-size: 1em;
  }

  .attorney-header{
    padding: 0px 40px;
    height: 50vh;
  }

  .attorney-header .text-head{
    font-size: 1.8em;
    padding-right: 50px;
  }
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 50px auto;
}

.main-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.victory-card {
  background-color: #fff;
  /* border: 1px solid #ddd; */
  /* border-left: 5px solid #0055aa; */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.victory-card h2 {
  margin-top: 0;
  color: #222;
}

.date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.summary {
  font-size: 1rem;
  color: #333;
}

.read-more-btn {
  background: none;
  color: #0055aa;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: bold;
  margin-top: 5px;
}

.more-text {
  display: none;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  gap: 0;
  width: 40px;
}

.tab-btn {
  flex: 1 1 0;
  border: none;
  outline: none;
  background: #ddd;
  color: #444;
  font-weight: 700;
  font-size: 1.3em;
  padding: 18px 0;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: none;
  margin: 0;
  min-width: 300px;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.tab-btn.active {
  background: #34373F;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(0,85,170,0.18);
  z-index: 1;
}

.tab-buttons .tab-btn:first-child {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

.tab-buttons .tab-btn:last-child {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  margin-left: -40px; /* overlap the buttons for a seamless pill look */
}

@media (max-width: 650px) {
  .tab-btn {
    font-size: 1em;
    padding: 15px 0;
    min-width: 200px;
  }

  .container{
    width: 95%;
  }

  .summary {
  font-size: 0.9rem;
  }

  .victory-card h2{
    font-size: 1.4rem;
  }

  .victory-card{
    padding: 15px;
  }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.active-status{
  border: 2px solid #6ec531;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 20px;
  align-items: center;
  justify-items: center;
  margin-bottom: 7px;
}

.active-status i{
  font-size: 5px;
}