/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

body {
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Navigation */
nav {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav img.logo {
  height: 48px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  font-size: 17px;
  color: #1a1a1a;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #3d5afe;
}

/* Hero Slider */
.hero {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero img.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  bottom: 12%;
  left: 6%;
  color: white;
  font-size: 44px;
  max-width: 600px;
  text-shadow: 0px 3px 8px rgba(0,0,0,0.7);
}

/* Section */
section {
  padding: 70px 12%;
}

section h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

.text-block {
  font-size: 20px;
  max-width: 800px;
  margin-bottom: 25px;
}

/* Practice Areas 3-column */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.practice-box {
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: 0.3s;
}

.practice-box:hover {
  transform: translateY(-6px);
  box-shadow: 0px 6px 16px rgba(0,0,0,0.1);
}

.practice-box h3 {
  margin-bottom: 15px;
}

/* Contact Form */
form input,
form textarea,
form select {
  width: 100%;
  padding: 14px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background: #3d5afe;
  color: white;
  padding: 12px 26px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 17px;
  transition: 0.3s;
}

button:hover {
  background: #002ead;
}

/* Footer */
footer {
  background: #111;
  color: #eee;
  padding: 50px 10%;
  margin-top: 50px;
}
