/* Header */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 151px;
  height: 98px;
  object-fit: contain;
  display: block;
}

.logo .tagline {
  margin-left: 8px;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Navigation */

.nav-desktop ul {
  display: flex;
  gap: 12px;
  list-style: none;
}

.nav-desktop a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-desktop a:hover {
  background: #a61e3d;
  color: #fff;
}

/* Burger */
.burger {
  display: none;
  cursor: pointer;
}

.burger img {
  width: 28px;
  height: 28px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #1a1a1a;
  z-index: 1001;
  transition: right .4s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.mobile-logo {
  height: 50px;
}

.close-btn {
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
}

.mobile-nav {
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 18px 30px;
  color: #eee;
  font-size: 18px;
  text-decoration: none;
}

.mobile-nav a:hover {
  background: #a61e3d;
  padding-left: 40px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('../images/burger.png');
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  width: 1000px;
  margin: 0 auto;
  /* padding-right: 40px; */

}

/* ========================================
   REUSABLE IMAGE-TEXT SECTION
   ======================================== */

.image-text-section p {
  letter-spacing: 1px;
  text-align: justify;
}


/* Base Section */
.image-text-section {
  padding: 80px 0;
}

/* Alternate background */
.image-text-section.bg-light {
  background: #f9f9f9;
}

.image-text-section.bg-white {
  background: #fff;
}

/* Content Wrapper */
.image-text-content {
  display: flex;
  align-items: initial;
  gap: 150px;
  flex-wrap: wrap;
}

/* Image (60%) */
.image-text-image {
  flex: 0 0 40%;
  max-width: 60%;
}

.image-text-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Text (40%) */
.image-text-text {
  flex: 1;
  min-width: 300px;
}

/* Reverse Order (Text First) */
.image-text-content.reverse {
  flex-direction: row-reverse;
}


/* About - US Page  */

.about-content p {
  margin: 20px 0;
  text-align: justify;
}

.about-content .quote {
  font-style: italic;
}


.about-content h2 {
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  letter-spacing: .2em;
  margin-top: 20px;
}

/* About - US Page ends  */


/* practice areas start */

.practice-card p {
  text-align: justify;

}

.practice-card p {
  font-size: 15px;
}


.practice-areas {
  padding: 60px 0;
  background: #f9f9f9;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.practice-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-5px);
}

.practice-card h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
  color: #1a1a1a;
}

.practice-card p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #444;
}

.practice-card p:last-child {
  margin-bottom: 0;
}

/*  practice areas end */

/* ====== OUR TEAM SECTION ====== */
.our-team {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #1a5fbb;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Row Containers */
.team-row {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  justify-content: center;
}

.team-row.full-width .team-card {
  justify-content: center;
  max-width: 100%;
}

.team-row.two-per-row {
  justify-content: center;
}

.team-row.three-per-row {
  justify-content: center;
}

/* Card Styling */
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 250px;
  /* max-width: 380px; */
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.team-photo {
  width: 40%;
  flex-shrink: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.team-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #e9ecef;
  flex: 1;
}

.team-info h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.role {
  font-size: 0.95rem;
  color: #1a5fbb;
  font-weight: 500;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.email {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.email a {
  color: #1a5fbb;
  text-decoration: none;
  font-weight: 500;
}

.email a:hover {
  text-decoration: underline;
}

/* Silhouette Placeholder */
.placeholder .team-photo {
  background-color: #ced4da;
  display: flex;
  align-items: center;
  justify-content: center;
}

.silhouette {
  width: 70px;
  height: 70px;
  background-color: #adb5bd;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10c-11 0-20 9-20 20 0 8 5 15 12 18-10 5-17 15-17 27v5h50v-5c0-12-7-22-17-27 7-3 12-10 12-18 0-11-9-20-20-20z' fill='%2395a5a6'/%3E%3C/svg%3E");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

/* RESPONSIVE CONTROL */
@media (min-width: 992px) {

  /* .team-row.full-width .team-card {
    max-width: 500px;
  } */
  .team-row.two-per-row .team-card {
    /* max-width: 40%; */
    height: auto;
  }

  .team-row.three-per-row .team-card {
    max-width: 320px;
  }
}

@media (max-width: 991px) {
  .team-row {
    flex-direction: column;
    align-items: center;
    /* flex-wrap: wrap; */
  }

  .team-card {
    max-width: 420px;
  }
}

@media (max-width: 700px) {
  .our-team {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .team-card {
    flex-direction: column;
    text-align: center;
  }

  /* .team-photo { width: 100%; height: 180px; } */
  .team-info {
    padding: 18px;
  }
}


/* Responsive */
@media (max-width: 500) {
  .image-text-content {
    flex-direction: column;
    gap: 30px;
  }

  .image-text-image,
  .image-text-text {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .image-text-content.reverse {
    flex-direction: column;
  }

  .image-text-image {
    order: -1;
  }
}

/* Clients Section – Swiper */
.clients-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.myClientsSwiper {
  padding: 20px 0;
  overflow: hidden;
}

.myClientsSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-img {
  width: 70%;
  max-height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: contrast(1.1);
}

.testimonial-review {
  margin: 18px 0;
  flex-grow: 1;
}

/* Swiper Pagination */
.myClientsSwiper .swiper-pagination {
  bottom: 0;
}

.myClientsSwiper .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 10px;
  height: 10px;
}

.myClientsSwiper .swiper-pagination-bullet-active {
  background: #a61e3d;
}

/* Call to Action */
.cta-section {
  padding: 80px 0;
  background: #fff;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 300px;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {

  .hero-content {
    max-width: 1000px;
  }

  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero {
    height: 300px;
  }

  .hero-content {
    text-align: left;
    padding: 0 20px;
  }

  .about-content,
  .support-content,
  .winning-content,
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image,
  .support-image,
  .winning-image {
    order: -1;
    flex: 0 0 250px;
  }

  .about-text p {
    text-align: center;
  }


}

@media (max-width: 800px) {
  .myClientsSwiper {
    padding: 10px 0;
  }

  .testimonial-img {
    width: 60%;
    max-height: 70px;
  }
}

@media (max-width: 500px) {



  .about-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .image-text-content {
    align-items: center;
    gap: 0px;
  }

  .support-image,
  .winning-content .image-text-image {
    display: none;
  }

  .hero-home img {
    display: block;
    background-position: top;
    object-fit: contain;
  }

  .header .container {
    flex-direction: row;
    gap: 15px;
  }


  .cta-content {
    gap: 0;
  }

  .cta-button .btn {
    padding: 5px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(166, 30, 61, 0.3);
  }

  .burger {
    display: block;
    cursor: pointer;
  }


  .logo img {
    width: 100px;
    height: auto;
  }

  .nav-desktop {
    display: none;
  }

  video {
    display: none;
  }

  .hero {
    height: 200px;
  }


  .hero-content {
    width: 100%;
    font-size: 10px;
  }

  .about-image,
  .support-image,
  .winning-image {
    flex: 0 0 200px;

  }

  .image-text-section,
  .clients-section {
    padding: 30px 0;
  }

  .image-text-content img {
    width: 200px;
    margin: 0 auto;
  }

  .image-text-section {
    padding: 40x 0;
  }

  .testimonial-card {
    padding: 25px 15px;
  }

  .testimonial-img {
    width: 50%;
  }


  .team-card {
    flex-direction: row;
    text-align: center;
  }

  .team-card {
    background: white;
    overflow: hidden;
    display: flex;
    width: 100%;
    height: auto;
    max-width: 380px;
  }

}