* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('images/hero.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10%;
  color: #c8a96a;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 30, 61, 0.8);
}

.hero .logo {
  position: absolute;
  top: 40px;
  left: 50px;
  width: 160px;
  z-index: 3;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-text p {
  color: #ffffff;
  font-size: 1.1rem;
  max-width: 50%;
}

/* About Section (Updated Layout) */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  background: #f8f7f5;
  gap: 60px;
}

.about-text {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  color: #1a1a1a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text p{
  padding-bottom: 40px;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  color: #0f1635;
  font-size: 2.5rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.about-image {
  flex: 1;
  text-align: right;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  max-width: 500px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Practices Section */
.practices {
  position: relative;
  background: url('images/team.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 10%;
}

.practices .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28,31,54,0.8);
}

.practices .content {
  position: relative;
  z-index: 2;
}

.practices h2 {
  font-family: 'Playfair Display', serif;
  color: #c8a96a;
  font-size: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: rgba(255,255,255,0.1);
  border: 1px solid #e2c280;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 320px;
}

.card h3{
  color: #c8a96a;
}

/* Contact Section */
.contact {
  padding: 60px 10%;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  color: #c8a96a;
}

.contact address {
  font-style: normal;
  line-height: 1.8;
}

.email-img {
  height: 1em; 
  vertical-align: middle;
}


/* Risk Section */
.risk {
  background: #f0f0f0;
  padding: 60px 10%;
}

.risk h2 {
  font-family: 'Playfair Display', serif;
  color: #c8a96a;
}

/* Footer */
footer {
  text-align: center;
  background: #0f0f10;
  color: #aaa;
  padding: 20px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .about {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .about-image img {
    max-width: 100%;
  }
  .about-text h2 {
    font-size: 2rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}
