/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #001f3f;
  }
  
  /* Header */
  header {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: #003366;
  }
  nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #003366;
    font-weight: 500;
  }
  nav a:hover {
    color: #0077b6;
  }
  
  /* Sections */
  .section {
    padding: 4rem 2rem;
  }
  
  /* Hero Section */

  .hero {
    display: flex;
    min-height: 60vh;
    color: white;
    text-align: justify;
    background-color: #333; /* Fallback background color */
    padding-left: 50px;
    padding-right: 50px;
    padding: 40px;
  }
  
  .left-column {
    flex: 1; /* Takes up half the width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  .right-column {
    flex: 1; /* Takes up half the width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('images/law-firm.png') center/cover no-repeat; /* Image at actual size */
    padding: 20px;
  }
  
  /* Optional styling for text */
  .left-column h1 {
    font-size: 2.5rem;
    margin: 0;
  }
  
  .left-column p {
    font-size: 1.2rem;
    margin: 10px 0 0;
  }
  
  .right-column h2 {
    font-size: 2rem;
    margin: 0;
  }


  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
    }
    .left-column,
    .right-column {
      flex: none;
      width: 100%;
    }
  }

  /* Hero Section Styling */
.section.hero {
    position: relative;
    height: 200px; /* Adjust height as needed */
    background-image: url('images/abujaoffice.png'); /* Use the downloaded image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
  }
  
  /* Semi-transparent overlay */
  .section.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 50, 0.7); /* Dark blue overlay with opacity */
    z-index: 1;
  }
  
  /* Hero content styling */
  .hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
  }
  
  /* Heading 1 styling */
  .hero-content h1 {
    font-size: 3rem; /* Adjust size as needed */
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
  }
  
  /* Heading 2 styling */
  .hero-content h2 {
    font-size: 1.5rem; /* Adjust size as needed */
    font-weight: normal;
    margin: 10px 0;
    text-transform: uppercase;
  }
  
  /* Paragraph styling */
  .hero-content p {
    font-size: 1.2rem; /* Adjust size as needed */
    margin: 10px 0 0;
    text-transform: uppercase;
  }
  
  /* Practice Areas */
  .practice-areas {
    display: flex;
    flex-wrap: wrap;
    background: url('images/abujaoffice.png') center/cover no-repeat;
    background-attachment: fixed;
    color: #001f3f;
  }
  .left-panel {
    flex: 1 1 30%;
    background-color: rgba(0, 153, 204, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  .left-panel h2 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
  }
  .right-panel {
    flex: 1 1 70%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
  }
  .practice-box {
    margin-bottom: 2rem;
  }
  .practice-box h3 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
  }
  .dot {
    width: 10px;
    height: 10px;
    background-color: #00bcd4;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  /* Contact Section */
  .contact-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  .contact-section h2 {
    margin-bottom: 1.5rem;
  }
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  input, textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  textarea {
    min-height: 120px;
  }
  button {
    padding: 0.75rem;
    background-color: #003366;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  button:hover {
    background-color: #005fa3;
  }

  /* Supreme Court Cases Section */
.supreme-court-cases {
  background-color: #4f4f4f;
  /*padding: 4rem 2rem;*/
  color: #002f5c;
}

.cases-header {
  background-color: #002f5c;
  padding: 2rem 1rem;
  text-align: center;
  color: white;
}

.cases-header h2 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  text-transform: uppercase;
}

.cases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.case-card {
  background-color: white;
  color: #002f5c;
  padding: 2rem;
  text-align: center;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.case-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.case-card p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.case-card span {
  font-weight: bold;
}

footer {
  background-color: #333; /* Dark background */
  color: #fff; /* White text */
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}
/* Default header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  background-color: #fff;
}

nav {
  display: flex;
  gap: 15px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: black;
  border: none;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    padding: 10px;
    border-top: 1px solid #370588;
  }

  nav.active {
    display: flex;
  }
}
/*

  /* CSS for the lawicon image */
.header-image {
  text-align: center; /* Center the image */
  /* Add some margin for spacing */
}

.lawicon-image {
  width: 50vw; /* Adjust the size of the image */
  height: 150px;
}

/* Team Section Styles */
.team-section {
  padding: 50px 20px;
  background-color: #f0f6fa; /* Light blue background similar to the image */
  text-align: center;
}

.team-section h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1a3555; /* Dark blue color for the heading */
  font-weight: bold;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* Ensure responsiveness on smaller screens */
}

.team-member {
  max-width: 300px;
  text-align: center;
}

.team-member img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover; /* Ensure images scale properly */
  border-radius: 10px; /* Optional: slight rounding of image corners */
}

.team-member h3 {
  font-size: 1.2rem;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #1a3555; /* Dark blue for names */
  font-weight: bold;
}

.team-member p {
  font-size: 1rem;
  color: #1a3555; /* Dark blue for titles and contact details */
  margin: 5px 0; /* Add spacing between role and contact details */
  line-height: 1.4;
}

.team-member p a {
  color: #1a3555; /* Ensure links match the text color */
  text-decoration: none; /* Remove underline from links */
}

.team-member p a:hover {
  text-decoration: underline; /* Add underline on hover for better UX */
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Initially hidden) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown when hovering over the container */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Style for the "Attorneys" link */
.dropdown > a {
  padding: 14px 16px;
  cursor: pointer;
}
