/* ===== Base Styles ===== */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Poppins", sans-serif;
      background-color: #d1dae2;
      color: #0d1b2a;
      line-height: 1.6;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    header {
      background-color: #0d1b2a;
      color: white;
      padding: 1.2rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: all 0.3s ease;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    header.shrink {
      padding: 0.7rem 2rem;
      background-color: #0a1623;
      box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
      font-size: 1.3rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: font-size 0.3s;
    }

    header.shrink .logo {
      font-size: 1.1rem;
    }

    .logo img {
      height: 70px;
      transition: height 0.3s;
    }

    header.shrink .logo img {
      height: 32px;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #f4b400;
    }

    /* ===== Dropdown ===== */
    .dropdown {
      position: relative;
    }

    .dropdown-btn {
      background: none;
      border: none;
      color: white;
      font-weight: 500;
      font-size: 1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .dropdown-btn::after {
      content: "▼";
      font-size: 0.7rem;
      transition: transform 0.3s;
    }

    .dropdown.open .dropdown-btn::after {
      transform: rotate(180deg);
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #1b263b;
      top: 100%;
      left: 0;
      min-width: 200px;
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

    .dropdown-content a {
      display: block;
      padding: 0.75rem 1rem;
      color: white;
      text-decoration: none;
      text-align: left;
      transition: background 0.3s;
    }

    .dropdown-content a:hover {
      background-color: #f4b400;
      color: #0d1b2a;
    }

    .dropdown.open .dropdown-content {
      display: block;
    }

    /* ===== CTA Button ===== */
    .cta {
      background-color: #f4b400;
      color: #0d1b2a;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .cta:hover {
      background-color: #ffcc33;
      transform: translateY(-1px);
      box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    }

    header.shrink .cta {
      padding: 0.5rem 1rem;
      font-size: 0.95rem;
    }

    /* ===== Mobile Menu Button ===== */
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .menu-toggle div {
      width: 25px;
      height: 3px;
      background-color: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .menu-toggle.open div:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open div:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.open div:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    @media (max-width: 768px) {
      nav {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #0d1b2a;
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
      }

      nav.active {
        display: flex;
      }

      .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #13233a;
      }

      .menu-toggle {
        display: flex;
      }

      .cta {
        margin: 1rem auto;
      }
    }

    /* ===== Modal Popup ===== */
    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(2px);
    }

    .modal-content {
      background-color: #fff;
      border-radius: 10px;
      padding: 2rem;
      max-width: 400px;
      width: 90%;
      color: #0d1b2a;
      position: relative;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { transform: translateY(-20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 1.3rem;
      cursor: pointer;
      color: #0d1b2a;
    }

    .modal-content h2 {
      text-align: center;
      margin-bottom: 1rem;
      color: #0d1b2a;
    }

    .modal-content form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .modal-content input,
    .modal-content textarea {
      width: 100%;
      padding: 0.6rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-family: inherit;
    }

    .modal-content button {
      background-color: #0d1b2a;
      color: white;
      border: none;
      padding: 0.7rem;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      transition: background 0.3s;
    }

    .modal-content button:hover {
      background-color: #1b263b;
    }

    /* ===== Success Message ===== */
    .success-message {
      display: none;
      position: fixed;
      top: 20%;
      left: 50%;
      transform: translateX(-50%);
      background-color: #0d1b2a;
      color: #fff;
      padding: 1rem 2rem;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      z-index: 3000;
      animation: fadeIn 0.3s ease;
    }

    /* ===== Hero Section (with animation) ===== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
  overflow: hidden;
  opacity: 0;
  animation: fadeInHero 1.5s ease forwards;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13, 27, 42, 0.75), rgba(13, 27, 42, 0.75)),
    url('images/logo.png') center/cover;
  filter: blur(5px); /* Adjust blur level (3px–6px looks best) */
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1;
}


@keyframes fadeInHero {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: white;
}

/* Text animation */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards;
}

.animate-text.delay-1 {
  animation-delay: 0.5s;
}

.animate-text.delay-2 {
  animation-delay: 1s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .btn {
  background-color: #f4b400;
  color: #0d1b2a;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s;
  cursor: pointer;
}

.hero .btn:hover {
  background-color: #ffcc33;
  transform: translateY(-2px);
}


    /* ===== About Section ===== */
    .about {
      padding: 5rem 2rem;
      text-align: center;
      background-color: #fff;
    }

    .about h2 {
      font-size: 2rem;
      color: #0d1b2a;
      margin-bottom: 1rem;
    }

    .about p {
      max-width: 800px;
      margin: 0 auto;
      color: #333;
      font-size: 1.1rem;
    }

    /* ===== Practice Areas ===== */
    .practice {
      padding: 5rem 2rem;
      background-color: #f1f3f6;
      text-align: center;
    }

    .practice h2 {
      font-size: 2rem;
      margin-bottom: 2rem;
    }

    .practice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1100px;
      margin: 0 auto;
    }

    .practice-card {
      background-color: #fff;
      border-radius: 8px;
      padding: 2rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .practice-card:hover {
      transform: translateY(-5px);
    }

    .practice-card h3 {
      color: #0d1b2a;
      margin-bottom: 0.5rem;
    }

    .practice-card p {
      color: #555;
      font-size: 0.95rem;
    }

    /* ===== Attorneys Section ===== */
   .team {
  text-align: center;
  padding: 4rem 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
}

.team-member {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  height: auto; /* Ensures the full image shows */
  object-fit: contain; /* Shows full image without cropping */
  border-radius: 10px;
}


/* View All Button */
.team-btn-wrapper {
  text-align: center;
}

.team-btn-wrapper .btn {
  background-color: #f4b400;
  color: #0d1b2a;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.team-btn-wrapper .btn:hover {
  background-color: #ffcc33;
  transform: translateY(-2px);
}

/* Optional: improve spacing on smaller screens */
@media (max-width: 600px) {
  .team {
    padding: 2rem 1rem;
  }
  .team-member img {
    max-height: 400px; /* Prevents the image from being too tall */
  }
}


    .team h2 {
      font-size: 2rem;
      margin-bottom: 2rem;
    }

    

   

    .team-member:hover {
      transform: translateY(-5px);
    }


    .team-member h3 {
      margin-top: 1rem;
      color: #0d1b2a;
    }

    .team-member p {
      color: #666;
      font-size: 0.9rem;
      padding-bottom: 1rem;
    }

    /* ===== Contact CTA Section ===== */
    .contact-cta {
      background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)),
        url('images/painted-relief-texture\ \(1\).jpg') center/cover;
      color: white;
      text-align: center;
      padding: 5rem 2rem;
    }

    .contact-cta h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .contact-cta p {
      margin-bottom: 2rem;
      font-size: 1.1rem;
      color: white;
    }

    .contact-cta .btn {
      background-color: #f4b400;
      color: #0d1b2a;
      padding: 0.8rem 1.5rem;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.3s;
    }

    .contact-cta .btn:hover {
      background-color: #ffcc33;
      transform: translateY(-2px);
    }

    

    @media (max-width: 600px) {
      .hero h1 {
        font-size: 2rem;
      }
    }

    /* ===== Scroll Reveal Effect ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section styling */
section {
  padding: 5rem 1rem;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0d1b2a;
}

section p {
  color: #333;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card, .team-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover, .team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}


/* ===== Testimonials Section ===== */
.testimonials {
  background-color: #f4f4f4;
  padding: 5rem 1rem;
}

.testimonials h2 {
  color: #0d1b2a;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: #f4b400;
  opacity: 0.3;
}

.testimonial-card p {
  font-style: italic;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.testimonial-card h4 {
  color: #0d1b2a;
  font-weight: 600;
  text-align: right;
}

.testimonial-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible .testimonial-card {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible .testimonial-card:nth-child(1) { transition-delay: 0.2s; }
.reveal.visible .testimonial-card:nth-child(2) { transition-delay: 0.4s; }
.reveal.visible .testimonial-card:nth-child(3) { transition-delay: 0.6s; }

/* ===== Contact Section ===== */
.contact {
  background-color: #0d1b2a;
  color: white;
  padding: 5rem 1rem;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: start;
}

.contact-info h3, .contact-form h3 {
  color: #f4b400;
  margin-bottom: 1rem;
}

.contact-info p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: white;
}

.map-container {
  margin-top: 1rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* ===== Contact Form ===== */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  background-color: #13233a;
  color: white;
  font-size: 1rem;
  transition: background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: #1b304f;
  outline: none;
}

.contact-form button {
  background-color: #f4b400;
  color: #0d1b2a;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffcc33;
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  background-color: #0a1623;
  color: #ccc;
  padding: 4rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #f4b400;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #f4b400;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 140px;
}

.footer-logo h3 {
  color: white;
  margin: 0;
  font-size: 1.3rem;
}

.footer p {
  line-height: 1.6;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: #f4b400;
  font-size: 1rem;
  background-color: #13233a;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background-color: #f4b400;
  color: #0a1623;
  transform: translateY(-2px);
}

/* Bottom footer line */
.footer-bottom {
  border-top: 1px solid #1e2f46;
  text-align: center;
  padding-top: 1.5rem;
  color: #999;
  font-size: 0.9rem;
}