.hero {
  position: relative;
  height: 100vh;
  background: url('images/lawsmith.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-content button {
  padding: 12px 25px;
  background: white;
  border: none;
  cursor: pointer;
}

/* NAVBAR */
.navbar {
  position: fixed;
  background: rgba(0,0,0,0.7);
  top: 0;
  width: 100%;
  box-sizing: border-box; /* 🔥 IMPORTANT FIX */
  display: flex;
  justify-content: space-between;
  padding: 20px 40px; /* better spacing */
  color: white;
  z-index: 10;
  align-items: center;
}

.navbar nav {
  display: flex;
  gap: 20px;
}

.navbar h2 {
  font-size: 20px;
  letter-spacing: 1px;
}

.navbar nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

.navbar nav a:hover {
  border-bottom: 1px solid white;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);

  display: none; /* 🔥 hidden initially */

  justify-content: center;
  align-items: center;

  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-content {
  background: #111; /* deep black */
  color: #fff;
  padding: 30px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  border-radius: 12px;

  box-shadow: 0 10px 40px rgba(0,0,0,0.5);

  border: 1px solid rgba(255,255,255,0.1);
}

.popup-content h3 {
  margin-bottom: 15px;
  font-size: 20px;
  letter-spacing: 1px;
}

.popup-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc; /* soft grey = premium */
}

.popup button {
  margin-top: 15px;
  padding: 10px 25px;
  background: #c5a880; /* gold accent */
  color: black;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
}

.popup button:hover {
  background: white;
  color: black;
}

/* ABOUT SECTION */
.about {
  padding: 60px 20px;
  background: #f5f5f5;
}

.popup.show {
  display: flex;
  opacity: 1;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
}

.about-text {
  width: 50%;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
}

.about-image {
  width: 45%;
}

.about-image img {
  width: 100%;
  border-radius: 5px;
}

.logo {
  height: 60px;
  filter: brightness(0) invert(1);
}


/* SERVICES */
.services {
  padding: 80px 20px;
  background: #f5f5f5;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
}

/* EACH BLOCK */
.service-block {
  max-width: 1000px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
  text-align: center;
}

.service-block:hover {
  transform: translateY(-5px);
}

/* TITLE */
.service-block h3 {
  font-size: 22px;
  margin-bottom: 20px;
  border-left: 4px solid black;
  padding-left: 10px;
}

/* LIST */
.service-block ul {
  columns: 2;
  padding-left: 20px;
}

.service-block ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* TEAM SECTION */
.team {
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
}

.team h2 {
  margin-bottom: 40px;
}

/* container */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

/* card */
.team-card {
  width: 220px;
}

/* image */
.team-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top; /* 🔥 FIX */
  border-radius: 50%;
}

/* name */
.team-card h3 {
  margin-top: 15px;
  font-size: 18px;
}

/* role */
.team-card p {
  margin: 5px 0;
  font-weight: 500;
}

/* qualification */
.team-card span {
  display: block;
  font-size: 13px;
  color: gray;
  margin-top: 5px;
}

/* location */
.team-card small {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}

/* hover effect (premium feel) */
.team-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* CONTACT */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact-info {
  margin-bottom: 30px;
  line-height: 1.6;
}

/* form */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  width: 100%;
}

.contact-form textarea {
  height: 120px;
}

.contact-form button {
  padding: 10px;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

/* map */
.map {
  margin-top: 30px;
}

.contact-form button:hover {
  background: black;
}

.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  box-sizing: border-box;
}

.section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

/* ADD THIS ONLY */

.about-text h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.founder-message {
  max-width: 900px;
  margin: 50px auto;
  padding: 25px;
  background: black;
  color: white;
  border-radius: 10px;
  text-align: center;
}

.founder-message h3 {
  margin-bottom: 10px;
}

.founder-message p {
  font-style: italic;
}

/* FOOTER */
.footer {
  background: #111;
  color: white;
  padding: 50px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.footer-box {
  width: 300px;
  margin: 10px;
}

.footer-box h3 {
  margin-bottom: 15px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
}
.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #c5a880; /* premium gold */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  /* HERO */
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 14px;
  }

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .navbar nav {
    margin-top: 10px;
  }

  /* ABOUT */
  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  /* SERVICES */
  .service-block ul {
    columns: 1;
  }

  /* TEAM */
  .team-card {
    width: 100%;
    max-width: 280px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}

html {
  scroll-behavior: smooth;
}

.disclaimer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999; /* VERY IMPORTANT */
  display: flex;
  justify-content: center;
  align-items: center;
}

.disclaimer-box {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  text-align: center;
  border-radius: 10px;
}

body {
  overflow-x: hidden;
}

.contact {
  max-width: 1100px;
  margin: auto;
}

.popup-content {
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.popup.show .popup-content {
  transform: translateY(0);
}