html {
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.about img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide .content-box {
  color: #fff;
  max-width: 900px;
  padding: 20px;
}

.hero-slide .content-box h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-slide .content-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.btn.primary {
  background-color: #0b0b41;
  color: #fff;
  padding: 12px 24px;
  border: none;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.btn:hover {
  opacity: 0.85;
}

.sub-tagline {
  font-size: 1rem;
  color: #ccc;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slide .content-box h1 {
    font-size: 2rem;
  }

  .hero-slide .content-box p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .about img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .slick-slide img{
    height: auto;
    width: 100%;
    object-fit: cover;
  }
}

.slick-slide {
  margin: 0 10px;
}

.slick-slide img {
  width: 100%;
  border-radius: 10px;
}

.main-header {
  /* background-color: #1b1b68; */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/law2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 200px 20px;
  text-align: center;
}

/* .our_company .company-card a h4 {
  color: #1b1b68 !important;
}
.our_company img {
  width: 100%;
  height: 100%;
}
.main-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.company-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  background-color: #f8f9fa;
} */

.section-title {
  color: #1b1b68;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.company-card img {
  position: sticky;
  top: 5%;
}

.company-card p {
  text-align: justify;
}

.company-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.company-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1b1b68;
}

.company-tagline {
  font-size: 1.1rem;
  color: #555;
}

.company-img {
  transition: transform 0.3s ease;
}

.company-img:hover {
  transform: scale(1.05);
}

.difference-section {
  border-radius: 10px;
}

.navbar-toggler:focus,
.navbar-toggler:hover,
.navbar-toggler {
  box-shadow: none;
  border: none;
  outline: none;
}

.vision-section,
.difference-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url("../images/fok.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 60px 20px;
}

.vision-section h2,
.difference-section h2 {
  color: #fff;
  text-align: center;
}

.vision-section p,
.difference-section p {
  color: #e2dfdf;
}

.gallery img {
  object-fit: cover;
}

.cta {
  background-color: #0b0b41;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.footer_wrapper {
  border-top: 1px solid #bdbdbd;
  background-color: #0b0b41;
}

.footer_links li a {
  color: #ddd;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: 0.3s ease;
}

.footer_links li a:hover {
  color: #fff;
  padding-left: 5px;
}

.slick-slide img {
  height: 20rem;
}

.slick-dots {
  bottom: -30px;
}

/* Each dot */
.slick-dots li {
  margin: 0 4px;
}

/* Dot size and base color */
.slick-dots li button:before {
  font-size: 10px;
  color: #ccc;
  opacity: 1;
}

/* Active dot color */
.slick-dots li.slick-active button:before {
  color: #0b0b41;
  font-size: 10px;
}

.contact-section {
  background-color: #f8f9fa;
}

.contact-section h2 {
  color: #1b1b68;
  font-weight: 600;
}

.contact-section .form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
}

.contact-section .btn-primary {
  background-color: #1b1b68;
  border-color: #1b1b68;
  border-radius: 6px;
  padding: 10px 20px;
}

@media (max-width: 576px) {
  .main-header h1 {
    font-size: 2rem;
  }

  .slick-slide img {
    height: 25rem !important;
    width: 100%;
    object-fit: contain;
  }

  
  .hero-slide{
    height: auto;
    width: 100%;
  }

  .vision-section,
  .difference-section {
    background-position: top right;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .about img {
    position: sticky;
    top: 3%;
    height: 350px;
  }
 

  /* .slick-slide img {
    height: 20rem;
  } */
}

.form_poppup {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
}

.form_poppup.form_poppup__active {
  display: block;
}

.form_poppup__modal {
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
}

.modal_form {
  position: relative;
  background: #002856 !important;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  max-width: 850px;
  width: 90%;
}

.logo_section img {
  width: 170px;
}

.left_side_content {
  border-left: 1px solid #ccc;
  padding-left: 29px;
}

.cancel_form {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  background: #eee;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cancel_form:hover {
  background: #000;
  color: white;
}

.left_side_content h3 {
  color: white;
}

.left_side_content p {
  color: white;
  font-size: 14px;
  margin: 0;
  padding-bottom: 0.5rem;
}

.left_side_content ul {
  margin: 0;
  padding: 0;
}

.left_side_content ul li {
  color: white;
  font-size: 13px;
  margin-bottom: 0.8rem;
}

.btn2 a {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  color: white;
}

@media (max-width: 576px) {
  .left_side_content {
    border-left: none;
    padding-left: 0px;
  }

  .modal_form {
    position: relative;
    background: #002856 !important;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    max-width: 850px;
    width: 100%;
  }

  .res_1 {
    display: none;
  }
}

.get_btn {
  padding: 5px 14px;
  border-radius: 30px;
  font-weight: 600;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
