/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

body {
  background-color: #f1f1f1;
}

.disclaimer-section {
  padding: 10px; 
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #051356; */
  /* display: none; */
  margin-right: 50px;
}

.disclaimer {
  max-width: 80%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 2rem;
  margin-left: 3rem;
  margin-top: 0.5rem;
  border: 5px solid #051356;
  margin-right: 4rem;
}

.disclaimer div {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.disclaimer div h1 {
  font-weight: 700;
  letter-spacing: 2.5px;
}

.disclaimer div p {
  margin-top: 10px;
  text-align: center;
  font-weight: 300;
  font-style: normal;
}
.disclaimer div button {
  min-width: 200px;
  padding: 10px 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: #051356;
  color: white;
}
.disclaimer div button:hover{
  border:#051356;
  border: 1px solid #051356;
}

#body_section {
  display: none;
}

nav {
  max-height: 200px;
  /* min-height: 100px; */
  /* overflow: hidden; */
  min-width: 100vw;
  margin-bottom: 0px !important;
  padding: 0.5px 1rem ;
  /* box-shadow: 0 4px 8px -2px #cad3ee; */
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: 100%;

}

.navConatiner {
  display: flex;
  justify-content: space-between;
  /* min-height: 100%; */
}

#navbar_Nav {
  color: #03045e;
  /* width: 80%; */
  margin-top: 10px;
  width: auto !important;
  min-height: 100%;
}

#navbar_Nav ul {
  display: flex;
  width: 100%;
  min-height: 80%;
  justify-content: flex-end;
  /* gap: 3px; */
  border-radius: 20px;
}

#navbar_Nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  text-decoration: none;
  min-height: 80%;
  padding: 2px;
  font-size: 18px;
  margin: 10px 1px; /* Added equal margins */
  height: 40px;
  
}
#navbar_Nav ul li:hover {
  border-bottom: 3px solid #cad3ee;
  background-color: #051356;
  border-radius: 20px;
  padding: 0 7px; /* Ensures equal padding */
  width: auto; /* Allows dynamic width based on content */
  
}

/* #navbar_Nav ul li a {
  text-decoration: none;
  border-right: 1px solid #cad3ee;
  padding-right: 0.7rem;
  color: #03045e;
} */
#navbar_Nav ul li a {
  text-decoration: none;
  color: #03045e;
  padding: 5px 10px; /* Added equal padding for hover symmetry */
}
#navbar_Nav ul li:hover a{
  color: #fff;
}

#navbar_Nav ul li:last-child a {
  border: none;
}

nav .logo {
  display: flex;
  gap: 3px;
  padding: 4px;
  justify-content: center;
  align-items: center;
}
nav .navbar-brand_name {
  list-style: none;
  color: #03045e;
  font-size: 1.5em;
  letter-spacing: 1.2px;
  font-weight: 500;
  text-decoration: none;
}
nav .logo .brand_image {
  width: 5rem;
  height: 5em;
  padding: 5px;
  overflow: hidden;
}

nav .logo .brand_image img {
  width: 100%;
  height: 100%;
  /* border-radius: 100%; */
}

#vertical {
  display: none; /* Ensure it is hidden initially */
  position: fixed;
  right: 0;
  top: 0;
  width: 200px;
  min-height: 100vh;
  background-color: #162365;
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#vertical ul {
  padding: 29px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 25px;
  width: 100%;
}

#vertical ul li {
  list-style: none;
  width: 100%;
  text-align: center;
}

#vertical ul li a {
  color: white;
  text-align: center;
  text-decoration: none;
}

#close {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  color: "white";
  font-size: 30px;
  z-index: 999;
  display: inline-block;
  transition: transform 0.2s ease-out;
}
#close:hover {
  transform: rotate(180deg);
}


#open {
  position: absolute;
  right: 20px;
  display: inline-block;
  transition: transform 0.2s ease-out;
  padding: 20px;
  font-size: 30px;
  display: none;
  z-index: 999;
  cursor: pointer;
}
#open:hover {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  #navbar_Nav ul {
    flex-direction: column;
    align-items: center;
  }

  #navbar_Nav ul li {
    margin: 5px 0;
  }

  .disclaimer {
    max-width: 90%;
    padding: 1rem;
  }
}
.disclaimer div button:hover {
  background-color: white;
  color: #051356;
  border: 2px solid #051356;
  transition: 0.3s;
}

@media (max-width: 931px) {
  #navbar_Nav {
      display: none;
  }
  #open {
    display: block; /* Ensure bars icon is visible on all pages */
}
.overCover{
  max-height: 80%;
}
}

@media (max-width: 1017px) {
  .hedding {
    margin-top: 10vh;
  }
}

@media (max-width: 400px) {
  .navbar-brand_name {
    display: none;
  }
}

.mainContainer {
  width: 100vw;
  min-height: 140vh;
  max-height: 2100px;
  background-color: #072f4c;
  background-image: url("./DServe-Legal-Team-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 5.4rem;
 }

.overCover {
  width: 100%;
  min-height: 100%;
  position: absolute;
  /* background-image: url("./main_background.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  background-color: rgba(13, 46, 74, 0.7);

}

.overCover span {
  text-align: center;
  /* padding: 2px; */
  font-size: 2.3em;
  color: rgb(255, 255, 255);
  /* font-weight: 500; */
}

.hedding {
  max-width: 80%;
  font-weight: 300;
  font-size: 38px !important;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0rem 6rem 13rem 6rem;
}
.card-container {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  align-items: center; 
}

/* .card {
  width: 400px;
  height: 300px;
  display: flex;
  flex-direction: column; 
  align-items: center; 
  background-color: rgb(132, 124, 164); 
  padding: 20px; 
  margin: 20px;
  max-width: 350px; 
  justify-content: space-between;
} */
/* .card-container .professional {
  background-color: #072f4c !important;
  color: white;
}
.card-container .professional button {
  background-color: white;
  color: #072f4c;
}

.card-container .experts {
  background-color: white !important;
  color: #072f4c;
}
.card-container .experts button {
  background-color: #072f4c;
  color: white;
}
.card-container .experts span {
  color: #072f4c;
}

.card-container .experience {
  background-color: #072f4c !important;
  color: white;
}
.card-container .experience button {
  background-color: white;
  color: #072f4c;
} */

.card span {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.4em; /* Larger font size for the title */
  font-weight: 600; /* Bold font for the title */
  margin-bottom: 10px; /* Space below the title */
}

.card p {
  font-size: 1em; /* Regular font size for the paragraph */
  margin-bottom: 20px; /* Space below the paragraph */
  text-align: center; /* Center text in the paragraph */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.card button {
  background-color: rgb(
    52,
    59,
    97
  ); /* Primary blue background for the button */
  color: white; /* White text color */
  border: none; /* Remove default border */
  border-radius: 25px; /* Slightly rounded corners */
  padding: 10px 20px; /* Padding inside the button */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

.card button:hover {
  background-color: rgb(52, 59, 97, 0.3); /* Darker blue on hover */
}

@media (max-width: 1002px) {
  .mainContainer {
    /* background-image: url("./phoneShape.jpg"); */
    min-height: 1300px;
  }
}
.footer {
  background: #f0f0f1;
  padding: 20px 0;
  text-align: center;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-icon i {
  font-size: 20px;
  margin: 0 10px;
  color: #072f4c;
}

.line {
  width: 50px;
  height: 1px;
  background-color: #072f4c;
  border: none;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #1b4879;
  font-weight: 500;
}

.copyright {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

/* About Us Page */

.about_us {
  width: 100%;
  height: auto; /* Allow height to adjust dynamically */
  background-color: #f0f0f1;
  display: flex;
  flex-direction: column; /* Change to column for smaller screens */
  align-items: center;
  overflow-x: hidden;
  margin-top: 7rem;
}

/* .about_us .image_conatiner div {
    background-color: #f0f0f1;
} */

.about_us_conatiner {
  max-width: 80%;
  padding: 2rem;
  margin: 0 auto;
  height: auto;
}
.about_us_greybox {
  padding: 20px;
  margin: 20px 0;
  border: 5px solid #051356;
  border-radius: 8px;
  background-color: white;
  width: 100%; /* Adjust width for responsiveness */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.about_us_conatiner h1 {
  font-size: 24px;
  text-align: center;
}

.about_us_conatiner p {
  font-size: 18px;
  line-height: 1.6;
}
/* Large screens (desktops) */
@media screen and (min-width: 1800px) {
  .about_us {
    flex-direction: row;
  }

  .about_us_conatiner {
    max-width: 60%;
    margin-left: 20%;
  }
}

/* Tablets */
@media screen and (max-width: 1024px) {
  .about_us {
    height: auto;
  }

  .about_us_greybox {
    width: 90%;
  
  }

  .about_us_conatiner p {
    font-size: 16px;
  }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
  .about_us {
    flex-direction: column;
    padding: 1rem;
  }

  .about_us_greybox {
    width: 100%;
  
  }

  .about_us_conatiner h1 {
    font-size: 22px;
  }

  .about_us_conatiner p {
    font-size: 14px;
  }
}

/* Small mobile devices */
@media screen and (max-width: 700px) {
  .about_us {
    padding: 0.5rem;
  }

  .about_us_greybox {
    padding: 10px;
    width: 100%;
  }

  .about_us_conatiner h1 {
    font-size: 20px;
  }

  .about_us_conatiner p {
    font-size: 12px;
  }
}

/* Practices Section */

.practices_main_section {
  display: flex;
  min-height: 80vh;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  background-color: #f0f0f1;
  margin-top: 6rem;
}

.practices_main_section .infoContainer {
  width: 90%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 80px;
}

.practices_main_section .infoContainer h1 {
  color: #051356;
  margin-top: 20px;
  padding: 10px;
  font-weight: 700;
  text-align: center;
}
.row.g-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.card_info {
  background-color: white;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  padding: 15px;
  border-radius: 8px;
  text-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 20px 10px 20px 58px;
  border:3px solid #051356;
}
.practices_section .card_info:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo_title {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30%;
  margin-bottom: 10px;
}

.logo_title h3 {
  font-weight: 400;
  color: black;
}

.logo_title img {
  width: 50px;
  height: 50px;
}

 .conatinet {
  font-size: 16px;
  word-spacing: 2%;
  font-weight: 400;
  color: black;
  text-align: justify;
  padding: 2px 2px 2px 2px;
}
@media (min-width: 600px) and (max-width: 1200px) {
  .practices_main_section .infoContainer {
    width: 70%;
  }

  .card_info {
    max-width: 100%; /* Adjusted for better content display */
    margin: 0 auto; /* Center cards if necessary */
  }
  #fema {
    margin-left: 13.4rem !important; /* Remove extra left margin */
    margin-right: 0 !important; /* Ensure it's centered */
  }
  
}

/* Responsive Styling */
@media (max-width: 768px) {
  .practices_main_section .infoContainer {
    width: 100%; /* Allow full-width container */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center cards */
  }

  .card_info {
    width: 90%; /* Ensure cards don't touch the edges */
    max-width: 400px; /* Optional: Limit max width */
    margin: 10px auto; /* Center cards and add spacing */
  }

  #fema {
    margin-left: 1.2rem !important; /* Remove extra left margin */
    margin-right: 0 !important; /* Ensure it's centered */
  }
}

/* Contact Us */

.map {
  /* padding: 5px; */
  display: flex;
  width: 100%;
  height: 600px;
  gap: 20px;
}

.map .imageContainer {
  flex: 1;
  min-height: 100%;
  overflow: hidden;
  animation: scaleUp 0.5s ease-out forwards;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map .imageContainer img {
  width: 100%; /* Ensure the image spans the entire width of the container */
  height: 100%; /* Maintain the aspect ratio */
  object-fit: contain; /* Make sure the entire image is visible */
}
.map .mapConatiner {
  animation: scaleUp 0.5s ease-out forwards;
    display: flex;
  flex-direction: column;
  align-items: center;
}
.map .mapConatiner div iframe {
  min-width: 600px;
  height: 250px;
  max-width: 100%;
}

.address-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #072f4c;

}
.address-info i {
  margin-right: 10px;
}

.address-info a {
  text-decoration: none;
  color: #072f4c;
}

/* Animation on page load */
@keyframes scaleUp {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@media screen and (max-width: 1155px) {
  .map {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    gap: 20px;
  }
  .map .imageContainer {
    width: 100%;
    max-height: 800px;
    overflow: hidden;
  }

  .map .mapConatiner {
    min-width: 100%;
  }
}

/*  */

.prcepective_container {
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.two_card_container {
  width: 100%;
  min-height: 200px;
  background-color: #cad3ee;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.two_card_container .percpectivecard {
  background-color: #162365;
  flex: 1;
  min-height: 200px;
}

.two_card_container .percpectivecard span {
  display: block;
  padding: 10px;
}

.main-content {
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-6 {
  padding: 15px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.perspectiveContent {
  border: 1px solid #ddd;
  padding: 15px;
  background: white;
  border-radius: 10px;
}

.pers-latest-content h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.postDateWrapper {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.authors a {
  color: #007bff;
  text-decoration: none;
}

.authors a:hover {
  text-decoration: underline;
}

.readMore a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

.readMore a:hover {
  text-decoration: underline;
}

.blogContainer,
.newsArticleWrapper,
.InsightsPostWrapper,
.eventsPostWrapper {
  border: 1px solid #ddd;
  padding: 15px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
}

.blogContainer h3,
.newsArticleWrapper h3,
.InsightsPostWrapper h3,
.eventsPostWrapper h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.category-name ul,
.news-post-recent ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-name li,
.news-post-recent li {
  margin-bottom: 15px;
}

.blocksubtitle {
  color: #132062;
  text-decoration: none;
  font-weight: bold;
}

.blocksubtitle:hover {
  text-decoration: underline;
}

.shortDetail {
  font-size: 0.9em;
  color: #666;
}

.viewAllLink a {
  color: #051356;
  text-decoration: none;
  font-weight: bold;
}

.viewAllLink a:hover {
  text-decoration: underline;
}

.perspectiveContent {
  height: 200px;
  /* flex-wrap: wrap; */
}
.blogContainer,
.newsArticleWrapper {
  height: 350px;
  background-color: #849cdc;
  color: white;
}
.blogContainer,
.newsArticleWrapper,
.postDateWrapper,
.blocksubtitle,
.blocksubtitle {
  color: white;
}
.pers-latest-content {
  min-width: 50%;
}
.percpectivecard {
  width: 30%;
}
.percpectivecard img {
  min-width: 50px;
  height: 50px;
  overflow: hidden;
}
.eventsPostWrapper,
.InsightsPostWrapper {
  height: 350px;
}

@media (max-width: 1195px) {
  .row {
    flex-direction: column;
  }
  .my-row {
    justify-content: center;
    align-items: center;
  }
  .perspectiveContent,
  .newsArticleWrapper,
  .blogContainer,
  .InsightsPostWrapper,
  .eventsPostWrapper {
    width: 90vw !important;
    /* background-color: white; */
    height: auto;
  }
}
