@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap");

/* common section */

* {
  padding: 0;
  margin: 0;
}

body {
  background-color: white;
  color: black;
}

.carousel-inner h1 {
  font-size: 64px;
  font-weight: 900;
  max-width: 650px;
}

@media (max-width: 768px) {
  .carousel-inner h1 {
    padding-top: 150px;
    font-size: 48px;
    font-weight: 800;
  }
}

.pattern-sub {
  width: 550px;
  position: relative;
  position: absolute;
  bottom: 0;
  right: 0;
}
.pattern-left {
  width: 450px;
  position: relative;
  position: absolute;
  bottom: 0;
  left: 0;
}
@media (max-width: 768px) {
  .pattern-sub {
    width: 250px;
    position: relative;
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .pattern-left {
    width: 250px;
    position: relative;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@keyframes rotate {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.banner {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.text-gradient {
  /* background: linear-gradient(45deg, #93001f, #0d3a70); */
  background: #1ab9e0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  font-weight: bold;
}

/* Hero Section Styles */
.hero-section {
  color: #ffffff;
  background-color: #4db8d6;
  background-image: url("https://webandcrafts.com/_next/image?url=https%3A%2F%2Fadmin.wac.co%2Fuploads%2FSeo_f8aca77e6a.png&w=4500&q=90");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* for pseudo-element */
  overflow: hidden;
}
.who-we-are-hero {
  background-image: url("https://cdn.pixabay.com/photo/2015/11/19/08/52/banner-1050629_1280.jpg");
}
.blog-hero {
  background-image: url("https://img.freepik.com/premium-photo/abstract-blue-background-with-smooth-shining-lines_327072-27757.jpg");
}
.connect-us-hero {
  background-image: url("https://img.freepik.com/premium-vector/abstract-geometric-wavy-line-background_889452-60351.jpg");
  background-size: cover;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.text-content {
  max-width: 50%;
  padding-right: 20px;
}

.text-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.text-content .lead {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.image-content {
  max-width: 40%;
  padding-left: 20px;
  text-align: center;
}

.image-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.im-modal .im-content-1,
.im-modal .im-content-2,
.im-modal .im-content-3,
.im-modal .im-content-4,
.im-modal .im-content-5,
.im-modal .im-content-6,
.im-modal .im-content-7 {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem; /* spacing between sections */
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0; /* light separator line */
}
.im-modal .im-content-7 {
  border-bottom: none; /* remove line after last section */
}
.im-modal .im-content-7 h1 {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }

  .text-content {
    max-width: 100%;
    padding-right: 0;
  }

  .image-content {
    max-width: 100%;
    padding-left: 0;
  }
}

/* Navbar section */

.navbar-custom {
  padding-left: 150px;
  padding-right: 150px;
  background-color: #3f80d6;
  /* background-color: #2a47a9; */
  /* background: linear-gradient(to right, #000000, #1ab9e0); */
  color: #4db8d6;
  font-family: "Roboto", sans-serif;
}

.navbar-logo {
  width: 200px;
  height: auto;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-color: transparent;
  width: 30px;
  height: 30px;
}

.navbar-toggler-icon::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #1ab9e0;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.navbar-toggler-icon {
  background-image: none;
}

.navbar-custom .dropdown-menu .dropdown-item {
  color: rgb(255, 255, 255);
}

.navbar-custom .nav-link:hover {
  color: #4db8d6;
}

.navbar-nav .nav-link {
  color: #ffffff;
}

.navbar-nav .nav-link:hover {
  color: #00ffff; /* bright cyan */
}
.dropdown-menu {
  background: linear-gradient(45deg, #1ab9e0, #1589a7);
}

.dropdown-item {
  color: #000000 !important;
}

.dropdown-item:hover {
  background: linear-gradient(45deg, #ffffff, #fffefa);
  color: #ffffff;
}

.btn-custom {
  margin-left: 15px;
  padding-left: 15px !important;
  padding-right: 15px !important;
  /* background: linear-gradient(45deg, #DAA520, #FFD700); */
  background: linear-gradient(135deg, #1ab9e0, #3f80d6);
  /* background-color: #1ab9e0 !important; */
  color: #ffffff;
  border: 1px solid #1ab9e0;
}

.btn-custom:hover {
  /* color: #000000 !important; */
  color: white !important;
  border-color: #ffffff;
  background-color: #fff !important;
}

@media (max-width: 768px) {
  .navbar-custom {
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-logo {
    width: 150px;
    height: auto;
  }

  .btn-custom {
    margin-left: 15px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    background-color: #4db8d6 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff;
  }
}

.bg-gradient-custom {
  position: relative;
  background: url("https://chat.google.com/u/0/api/get_attachment_url?url_type=FIFE_URL&content_type=image%2Fpng&attachment_token=AOo0EEVagxIW8%2BhpQ2p%2FNIkAXZ%2BKsDP7L7IA2qM%2BycOVSYpypeQJcVW77%2Bm9ht9Qxjn0bJliK%2FtdFeDrqIW6iRapny5JtT0raLi5C1eeEtmcH1p5Yk4i6726%2FwG5qHefndiUibCWPIkxfhgZgx9Qp8RA2C5sD8rJWEPiS%2BTzeHiFyWvPBRmqprCrrshQvhP9U32SgPzfuyBMAHeaoSrH8%2FgrX9LSKRLrXR%2F1Lf7HgDVm5iejb9HZizfBSoC9MUTNURjA9wNW4RPcL6L29vD7mZxKYg7i87VvNuo%2BqZxRcifGQe3Bb4VU1UlyO9l%2BGjTNqEF%2FPZvAv1gfik2K8%2FkY4ZRUl%2BwjWRKVi%2Bzbv706xwtG0Po6GMWEesphyQe9qkQHkEt%2B6UgHVBvxcAI901EIUT7Cxp6ZWcyFnfZG53Cqv3QQbbOqbpcnSLgSO40%2BcGjry7ijSUko2atlcbJyyRvyxgPWzlXNHjCsv%2BDnVChhWRviY%2FuLNfIrIpoTHtnh3OU5H64GXs3cEKbUTtFLgWpNhJGUWXSDvLj4baBT2NFegyu6aN4wamUFUiqCMbKRnduVzSj7lpqO1io%3D&allow_caching=true&sz=w1366-h599-rw")
    center/cover no-repeat;
}

@keyframes moveBackground {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.immigration-section {
  /* background-color: #4db8d6; */
  background-image: url(assets/image-267.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 800px;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  animation: moveBackground 10s linear infinite;
}

@media (max-width: 1024px) {
  .immigration-section {
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
}
.welcome-section {
  background-color: #4db8d6;
  background-image: url(assets/image-267.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 800px;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  animation: moveBackground 10s linear infinite;
}

.welcome-section p {
  font-size: 24px;
}

.solution-sub-section {
  background: linear-gradient(to right, #e0dfdf, #f4f4f4);
  /* background-image: url(assets/image-267.png); */
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.solution-sub-section .immigration-img {
  max-width: 100%;
  height: auto;
}

.solution-sub-section .title-box {
  max-width: 575px;
  height: 50px;
  padding-left: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 36px;
  background-color: #ffffff;
}

.title-box span {
  font-weight: 600;
  font-size: 20px;
  color: #bf0a30;
}

.solution-sub-section .title-box .arrow-log {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #f8e5e9;
  border: 1px solid white;
}

/* @keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
} */

.solution-sub-section h4 {
  color: #6e6e6e;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.solution-sub-section h5 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.card {
  height: auto;
  border-radius: 7.5px;
  background-color: #4db8d6;
  color: white;
}

@media (max-width: 992px) {
  .solution-sub-section {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .solution-sub-section {
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
  }

  .solution-sub-section .title-box {
    margin-top: 45px;
  }

  #contract-drafting {
    display: flex;
    flex-direction: column-reverse;
  }

  .title-box span {
    font-size: 18px;
  }

  .immigration-img {
    max-width: 100%;
    height: auto;
  }

  .card {
    padding: 15px;
    margin-bottom: 45px;
  }
}

@media (max-width: 576px) {
  .title-box span {
    font-size: 16px;
  }

  .solution-sub-section {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
  }

  #contract-drafting {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* who we are page section */

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-section .lead {
  font-size: 1.25rem;
  color: #fff;
}

.bg-light {
  background-color: #f8f9fa;
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
  .mb-md-0 {
    margin-bottom: 0;
  }
}

#who-we-are {
  background-image: url("/Assets/cta.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #f9f9f9;
  min-height: 100vh;
  padding: 60px 0;
  color: #808285;
  position: relative;
  overflow: hidden;
}

#who-we-are::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(249, 249, 249, 0.8),
    rgba(249, 249, 249, 0.8)
  );
  z-index: 1;
}

#who-we-are .container {
  position: relative;
  z-index: 2;
}

#who-we-are h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000000;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
}

#who-we-are h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
/* Make sure the h3 can hold an ::after */
#who-we-are h3 {
  position: relative;
  display: inline-block; /* so underline fits text width */
}

/* Initial state */
#who-we-are h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* distance below the text */
  width: 0;
  height: 2px; /* line thickness */
  background-color: red;
  transition: width 0.4s ease; /* smooth animation */
}

/* On hover expand underline */
#who-we-are h3:hover::after {
  width: 100%;
}

#who-we-are p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: black;
  text-align: justify;
}

.who-we-are .row.align-items-center {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  align-items: flex-start !important;
}

.who-we-are .img-fluid {
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.who-we-are .img-fluid:hover {
  transform: scale(1.02);
}

.who-we-are .col-md-6 {
  padding: 0 30px;
}

@media (max-width: 767px) {
  .who-we-are .col-md-6 {
    padding: 0 15px;
  }
}
/* Team Section Styling */
.team-section {
  padding: 60px 0;
}

.team-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #4db8d6;
}

.team-section p {
  /* font-size: 24px; */
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
}

.core-values {
  background-color: #f5f5f5;
  padding: 40px 0;
}

.value {
  background-color: #3f80d6;

  border-radius: 8px;
  border: 2px solid #fff;

  padding: 40px;
  transition: all 0.3s ease-in-out;
  margin-bottom: 20px;
  color: #4db8d6;
}

.value:hover {
  background-color: #f9fafb;
  border: 2px solid #fff;
  color: #4db8d6;
}

.value:active {
  background-color: #fff;
  border: 2px solid #fff;
  color: #4db8d6;
}

.value-icon {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.value:hover .value-icon {
  color: #4db8d6;
}

.value-title {
  /* font-size: 28px; */
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.value:hover .value-title {
  color: #4db8d6;
}

.value-description {
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s ease-in-out;
}

.value:hover .value-description {
  color: #4db8d6;
}

.value:active .value-description {
  color: #4db8d6;
}

/* footer section */

.footer {
  /* background-color: #2a47a9; */
  background-color: #3f80d6;
  color: #ffffff;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer address {
  line-height: 1.6;
}

.disclaimer-text {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 15px;
  color: #f8f9fa;
  margin-bottom: 1rem;
  font-size: 12px;
}

.disclaimer-text strong {
  color: #ffd700;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: none;
  /* color: #4db8d6 !important; */
  color: #00ffff;
}

.social-media-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 24px;
  height: auto;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer h5 {
    font-size: 1.25rem;
  }
}

/* immigration documentation page update */

.immigration-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 35px; /* consistent spacing between cards */
  margin-bottom: 30px;
}

.immigration-card {
  background: #f9f9f9;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  cursor: pointer;
  max-height: auto;
}
.immigration-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: scale 0.3s ease-in-out;
}
.immigration-card:hover img {
  scale: 1.1;
}
.immigration-card_content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.3s ease-in-out;
  padding: 29px 30px;
  background: #f9f9f9;
}
.immigration-card_content h3 {
  color: #3f80d6;
  font-size: 24px;
}
.immigration-card_content p {
  font-size: 1rem;
}
.immigration-card:hover .immigration-card_content {
  transform: translateY(-55px);
}
.immigration-learn_more {
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  color: #1ab9e0;
}
.immigration-learn_more:hover {
  color: rgb(0, 47, 255);
}
.immigration-learn_more .immigration-learn_more_icon {
  fill: currentColor;
  margin-left: 5px;
}
.immigration-card:hover .immigration-learn_more {
  opacity: 1;
  transform: translateY(0);
}
.im-odal_backdrop {
  opacity: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease-in-out;
}
.im-odal_backdrop_active {
  opacity: 1;
  z-index: 1050;
  pointer-events: auto;
}

.im-modal {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 43rem;
  bottom: 0;
  background-color: white;
  transform: translateX(100%);
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
}
.active-im_modal {
  transform: translateX(0);
  padding: 2.7rem 3.2222222222rem;
  transition: transform 0.5s cubic-bezier(0.59, -0.01, 0.42, 0.98);
}
@media (min-width: 768px) and (max-width: 1200px) {
  .col-md-3 {
    width: 50%;
  }
}
.im-modal h1 {
  font-weight: 300;
  margin: 1.5rem 0 0.5rem 0;
  color: #3f80d6;
  /* color: #111; */
  font-size: 2rem;
}

.im-modal p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #444;
}

.im-content-1,
.im-content-2,
.im-content-3,
.im-content-4,
.im-content-5,
.im-content-6 {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.im-content-3 {
  border-bottom: none; /* last one no border */
}
.im-close_btn {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 1100;

  background: #f5f5f5;
  border: none;
  font-size: 1.6rem; /* slightly smaller for better centering */
  font-weight: bold;
  cursor: pointer;

  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;

  display: flex; /* ensures centering */
  align-items: center;
  justify-content: center;

  color: #333;
  line-height: 1; /* prevents extra vertical spacing */

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}
.im-close_btn:hover {
  background: #e0e0e0;
  color: #000;
  transform: scale(1.1);
}

.petition {
  margin-bottom: 100px;
}
.petition-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0px;
}
/* Section Background */
.law-imm-section {
  /* background: linear-gradient(135deg, #f8f9fc, #ffffff); */
}

/* Tag / Label */
.law-imm-tag {
  background: #e7f0ff;
  /* color: #0a3d62; */
  color: #3f80d6;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Title */
.law-imm-title {
  font-size: 2rem;
  font-weight: 700;
  /* background: linear-gradient(90deg, #002d72, #004aad); */
  background-color: #3f80d6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* Subtitle */
.law-imm-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  /* color: #4a4a4a; */
  font-weight: 400;
}

/* Cards */
.law-imm-card {
  background: #fff;
  transition: all 0.3s ease-in-out;
}

.law-imm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.law-imm-feature-title {
  font-weight: 700;
  font-size: 1.1rem;
  /* color: #002d72; */
  color: #3f80d6;
  margin-bottom: 0.5rem;
}

.law-imm-feature-text {
  font-size: 0.95rem;
  /* color: #555; */
}

/* Image */
.law-imm-illustration {
  max-width: 90%;
  border: 4px solid #f1f5f9;
}
/* Section wrapper */
.law-pet-section {
  background: #f8fafc;
}

/* Section title */
.law-pet-title {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #002d72, #004aad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Service block */
.law-pet-service {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.law-pet-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Image side */
.law-pet-img {
  flex-shrink: 0;
  width: 220px;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
}

.law-pet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.4s ease;
}

.law-pet-service:hover img {
  scale: 1.05;
}

/* Content side */
.law-pet-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #002d72;
  margin-bottom: 0.75rem;
}

.law-pet-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
}

/* Responsive design */
@media (max-width: 768px) {
  .law-pet-service {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .law-pet-img {
    width: 100%;
    height: 200px;
  }

  .law-pet-content h3 {
    margin-top: 1rem;
  }
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .law-imm-title {
    font-size: 1.6rem;
  }

  .law-imm-subtitle {
    font-size: 1rem;
  }

  .law-imm-card {
    padding: 1.2rem;
  }
}
/* Section wrapper */
.law-petition-section {
  background: linear-gradient(135deg, #f8f9fc, #ffffff);
}

.law-petition-title {
  font-size: 2.5em;
  font-weight: 700;
  /* background: linear-gradient(90deg, #002d72, #004aad); */
  background: #3f80d6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Flex blocks */
.law-petition-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.law-petition-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.law-petition-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Reverse layout for alternating */
.law-petition-block.reverse {
  flex-direction: row-reverse;
}

/* Image */
.law-petition-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* Content */
.law-petition-content {
  flex: 1;
}

.law-petition-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3f80d6;
  margin-bottom: 1rem;
  position: relative; /* Needed for pseudo-element positioning */
  display: inline-block; /* So width fits the text */
}

/* Create the animated underline */
.law-petition-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* distance below the text */
  width: 0;
  height: 2px; /* thickness of the line */
  background-color: red; /* line color */
  transition: width 0.4s ease; /* smooth animation */
}

.law-petition-block:hover .law-petition-heading::after {
  width: 100%;
}
.law-petition-desc {
  font-size: 1rem;
  line-height: 1.7;
  /* color: #444; */
}

/* Responsive */
@media (max-width: 768px) {
  .law-petition-block,
  .law-petition-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .law-petition-img img {
    max-width: 100%;
  }

  .law-petition-content {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .immigration-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .immigration-card {
    max-height: 500px;
  }
  .immigration-card_content {
    transform: translateY(-55px);
    padding: 29px 30px;
  }
  .immigration-learn_more {
    opacity: 1;
    transform: translateY(0);
  }
  .immigration-card:hover .immigration-learn_more {
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .immigration-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.no-scroll {
  overflow: hidden;
}
.text-bold {
  font-weight: 500;
}
