/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #000;
  letter-spacing: 0.2px;
  scroll-behavior: smooth;
  transition: background 0.3s ease;
}
main, .about, .hero, .services-list {
  position: relative;
  z-index: 1;
}
a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  animation: fadeUp 1s ease both;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: none;
  color: black;
  font-weight: bold;
  border: 1px solid black;
  font-size: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: black;
  color: #fff;
  z-index: 1;
  transition: width 0.4s ease;
}
.btn:hover::after {
  width: 100%;
  color: white;

}
.btn:hover {
  color: white;
  border-color: transparent;
}
.btn span {
  position: relative;
  z-index: 2;
 
}

.btn.white {
  background: none;
  color: white;
  border: 1px solid white;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn.white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid white;
}

.btn.dark {
  background: none;
  color: white;
  border: solid 0.5px white;
}
.btn.dark:hover{
    background: #fff;
    color:#fff;
    border: none;
    transition: 0.5s;
}
.underline {
  border-top: solid 1px white;
  max-width: 80px;
  margin-bottom: 20px;
}
.icon img{
  max-width: 80px;
  max-height: 80px;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: black;
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* Typography */
h1, .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  margin-bottom: 16px;
  line-height: 1.2;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

h2, .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
p {
  font-family: 'Roboto', sans-serif;
  font-weight: lighter;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #ddd;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px;
  position: relative;
  z-index: 1000;
}
nav{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.nav a {
  margin: 0 15px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  transition: 0.3s ease;
  position: relative;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background: #000;
  transition: width 0.3s ease;
}
.nav a:not(.btn):hover::after {
  width: 100%;
}

.logo img {
  max-width: 80px;
  max-height: 88px;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../Images/Pictures/Law%20firm%20Picture%20in%20landscape.jpg') center/cover no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: grayscale(100%) contrast(75%) brightness(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}
.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 24px;
}

/* About Section */
.about {
  background: #000;
  color: #fff;
  padding: 40px 100px;
}
#about-us {
  text-align: left;
}
.section-desc {
  text-align: left;
  max-width: 400px;
  margin: 0;
  color: #ddd;
}
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.feature {
  flex: 1;
  min-width: 250px;
  margin: 20px;
  text-align: center;
  padding: 20px;
}
.feature h3 {
  font-size: 1.375rem;
}
.feature p {
  font-size: 1rem;
}

/* CTA Section */
.cta {
  background: #f5f5f5;
  text-align: center;
  padding: 60px 20px;
}
.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 16px;
  color: #000;
}

/* Testimonials */
.testimonials {
  background: #cccccc;
  padding: 60px 20px;
  text-align: center;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.testimonial {
  background: black;
  color: white;
  padding: 30px;
  margin: 10px;
  width: 300px;
  border-radius: 6px;
  font-size: 1rem;
  text-align: left;
}
.testimonial p:first-of-type {
  font-size: 1.25rem;
  color: gold;
}
.testimonial img{
  border-radius: 100%;
  background-color: #C0C0C0;
  width: 100px;
  height: 100px;
  filter: grayscale(100%);
}
.lient-image{
   width: 100px;
  height: 100px;
  
}

/* Services page */
.services-hero {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* space for overlay if needed */
}

.services-img-container {
  position: relative;
  padding: 40px 40px;
  max-width: 1077px;
  width: 100%;

}

.services-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.service-overlay {
  position: absolute;
  bottom: -85.5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: grayscale(100%) contrast(75%) brightness(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  z-index: 2;
  max-width: 90%;
  color: white;
}

/* Services Page */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 40px;
  background: linear-gradient(to right, #111, transparent);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
  z-index: 1;
  gap:20px
}
.service-text h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.service-text p {
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Image Container */
.service-item .image {
  flex-shrink: 0;
  width: 250px;
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 2px #fff1;
}
.service-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(85%) brightness(80%);
  transition: transform 0.4s ease;
}
.service-item:hover .image img {
  transform: scale(1.05);
}
/* Team Section */
.team-section {
  text-align: center;
  padding: 60px 15px;
  background: #000;
  color: white;
}

.section-subtitle {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* Force 4 columns on large screens */
section.team-section .team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* Team card */
section.team-section .team-card {
  background: #fff;
  color: #000;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

section.team-section .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

section.team-section .team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
  
  
}

section.team-section .team-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

section.team-section .team-card .title {
  font-size: 0.85rem;
  color: #666;
}

/* Hide unwanted field */
input#website {
  display: none;
}

/* Responsive: reduce columns on smaller screens */
@media (max-width: 992px) {
  section.team-section .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  section.team-section .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Stats */
section.team-section .team-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  font-size: 1.1rem;
}

section.team-section .team-stats div {
  text-align: center;
}

section.team-section .team-stats strong {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

/* Bio reveal effect */
section.team-section .bio {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  font-size: 0.85rem;
  color: #333;
}

section.team-section .team-card:hover .bio {
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
}


/***Contact page***/

.contact-section {
  padding: 80px 40px;
  background: #000;
  color: white;
  text-align: center;
}

.section-subtitle {
  color: #ccc;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #2a2a2a;
  background-color: #111; 
  color: #f2f2f2;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fff;
  background-color: #191919;
  color: #fff;
}



.locations-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.contact-location {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background:linear-gradient(to bottom, #111, transparent) ;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  text-align: left;
  color: #ccc;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
  color: #fff;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(255,255,255,0.1);
}




/* Footer */
.footer {
  background: white;
  color: black;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

.footer-wrapper{
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  position: relative;
}
.footer-logo img{
  max-width: 20%;
  justify-content: center;
  align-items: center;
}
.services{
  max-width: 20%;
  display: flex;
  flex-direction: column;
  justify-content:flex-end;
  align-items: start;
 
}
.services a{
  text-align: left;
  font-weight: lighter;
}
.quick-links{
  max-width: 20%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.quick-links a{
  text-align: left;
  font-weight: lighter;
}
.c-details{
   max-width: 20%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.c-details p{
  color: black;
  text-align: left;
  font-weight: lighter;
  font-size: smaller;
   font-family: 'Segoe UI', sans-serif;
}
.footer p{
  color: rgb(34, 33, 33);
  text-align: center;
  font-weight: lighter;
  font-size: small;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 10px;
}
/* 🔲 Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
}

/* 🧱 Modal Content */
.modal-content {
  background: #111;
  color: white;
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  position: relative;
  animation: fadeIn 0.4s ease;
  text-align: left;
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

/* ❌ Close Button */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* 📩 Form Styling */
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.consult-form input,
.consult-form textarea {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: #777;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-location {
    padding: 20px;
  }
  .contact-info {
    text-align: center;
  }
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
  .contact-info {
    text-align: center;
  }
   .features, .testimonial-list {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hero {
    height: 450px;
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .about, .cta {
    padding: 40px 20px;
  }

  .testimonial {
    width: 90%;
  }
  .service-item, .service-item.reverse {
  flex-direction: column !important;
  text-align: center;
}
.service-item .icon img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
/* Services Section */
  .service-item,
  .service-item.reverse {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

 .service-overlay {
    position: static;
    transform: none;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
    padding: 30px 16px;
    max-width: 100%;
    color :white;
  }

  .services-img {
    height: auto;
  }

  .services-hero {
    padding-bottom: 0;
  }
  .service-text h3 {
    font-size: 1.6rem;
  }

  .service-text p {
    font-size: 1rem;
  }

  /* Team Grid */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }

  .team-card {
    max-width: 90%;
    margin: 0 auto;
  }

  .team-stats {
    flex-direction: column;
    gap: 20px;
    font-size: 1rem;
  }

  .team-stats strong {
    font-size: 1.5rem;
  }
   .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
  top: 70px;
  right: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 15px;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.4); /* translucent */
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  }
  .nav a {
  color: #000;
  font-weight: bold;
}


  .nav.show {
    display: flex;
  }

  .cta-btn {
    margin-top: 10px;
  }
/* Footer */
.footer-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  text-align: center;
}

.footer-logo img {
  max-width: 150px;
}

.services,
.quick-links,
.c-details {
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.services a,
.quick-links a,
.c-details p {
  text-align: center;
  font-size: 0.95rem;
}

.footer {
  font-size: 0.85rem;
  padding: 30px 15px;
}

.footer p {
  font-size: 0.8rem;
  margin-top: 30px;
}
}

/**Animations***/
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }

}
