/* Basic styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Non-prefixed version, currently supported by Chrome, Opera, and Edge */
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #f5f5f5; */
}



/* ----------------------------------------Disclaimer---------------------------------------- */
/* Modal Body Styling */
.modal-body {
  overflow-y: auto; /* Enable vertical scrolling */
  max-height: 60vh; /* Max height for scrollable area */
  padding: 1.5rem 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Hide Horizontal Scrollbar while keeping scrolling enabled */
.modal-body {
  overflow-x: hidden;
}

.modal-body::-webkit-scrollbar {
  display: none; /* Hide scrollbar for WebKit browsers */
}

.modal-body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Header Styling */
.modal-header {
  background-color: #343a40;
  color: #ffffff;
  border-bottom: none;
  padding: 1rem 1.5rem;
}

/* Modal Title */
.modal-title {
  font-weight: bold;
  font-size: 1.25rem;
}

/* Modal Section Titles */
.modal-section-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #495057;
  text-align: center;
  margin-bottom: 1rem;
}

/* Modal Footer */
.modal-footer {
  border-top: none;
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem;
}

/* Inner List Styling */
.modal-body ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-bottom: 1rem;
}

.modal-body ul ul {
  list-style-type: circle;
  padding-left: 1rem;
}

/* Button Styles */
.btn-primary {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
}

.btn-secondary {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  color: #6c757d;
  border-color: #6c757d;
}

/* Responsiveness */
@media (max-width: 768px) {
  .modal-dialog {
      max-width: 95vw; /* Full width on small screens */
  }
  .modal-body {
      padding: 1rem;
  }
  .modal-title {
      font-size: 1.1rem;
  }
}












/* -------------------------------- carousel---------------------------------------------*/

#carousel .carousel-item {
    height: 50vh; /* 30% of the viewport height */
}

#carousel .carousel-item img {
    height: 100%;
    object-fit: cover; /* Ensures the image covers the carousel area */
    width: 100%;
}

/* Position the text box inside the carousel */
.carousel .text-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    position: absolute;
    /* bottom: 10%; */
    left: 10%;
    width: 80%;
    color: #fff;
}


.carousel .text-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    position: absolute;
    bottom: 30%;
    left: 10%;
    width: 80%;
    color: #fff;
}

#about img {
    border-radius: 10px;
}

.card {
    border: none;
    text-align: center;
}

.text-justified{
  text-align: justify;
}
/* 
footer {
    background-color: #343a40;
    color: #fff;
} */




/*------------------------------- Team Section Styling ----------------------*/
/* Card Styling with Background Color */
.card.member {
  background-color: #ffffff; /* Background color for the card */
  border-radius: 8px;        /* Rounded corners */
  border: 1px solid #ddd;    /* Light border */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
}

.card.member:hover {
  transform: translateY(-5px); /* Hover effect: raise the card slightly */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Image Styling for Full Visibility and Zoom-Out Effect */
.card.member img {
  width: 100%;                   /* Full width of the card */
  height: 300px;                 /* Set a specific height to control size */
  object-fit: contain;           /* Ensure the image is fully visible (zoomed out) */
  border-top-left-radius: 8px;   /* Rounded corners for the top of the image */
  border-top-right-radius: 8px;
  display: block;
}

.card-body {
  padding: 15px;
  text-align: center;
  background-color: #f4f4f4; /* Background color for card content */
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

.card-text {
  font-size: 1rem;
  color: #666;
}

.arrow {
  display: inline-block;
  background-color: #000000;
  color: white;
  padding: 8px 12px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.arrow:hover {
  background-color: #0056b3;
}

  











/* -------------------------Practice Area -----------------------------------*/ 
.text-center {
  text-align: center; /* Center the heading */
  font-weight: bold; /* Make the heading bold */
  margin-bottom: 0; /* No gap below the heading */
}

.areas-of-practice-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Ensure both columns are of equal height */
  background-color: #f4f4f4;
  padding: 50px 0;
  height: 500px; /* Set a fixed height for the container */
}

.image-container {
  width: 50%;
  margin-left: 10%; /* Left margin for the image */
}

.image-container img {
  width: 100%;
  height: 100%; /* Make the image fill the height */
  object-fit: cover;
}

.practice-list {
  margin-right: 10%;
  width: 40%;
  display: flex; /* Use flexbox to arrange the two columns */
  justify-content: space-between; /* Space between the columns */
  margin-left: 0; /* Remove margin for seamless transition */
}

.list-column {
  width: 50%; /* Each column takes up 50% of the list */
  background-color: #333;
  color: white;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.list-column ul {
  list-style: none;
  padding: 0;
  margin: 0; /* Remove margin to eliminate spacing */
}

.list-column li {
  font-size: 1.1rem;
  line-height: 2;
  border-bottom: 1px solid #555;
  padding: 10px 0;
}

/* Optional: Remove the last border for better aesthetics */
.list-column li:last-child {
  border-bottom: none; /* Remove border for the last item */
}

.list-column li a {
  color: #fff;
  text-decoration: none;
}

.list-column li a:hover {
  color: #ffd700; /* Add a hover effect on links */
}


/* For screens smaller than 768px (tablets and mobile) */
@media (max-width: 768px) {
  .areas-of-practice-section {
    display: block;
    padding: 20px 10px; /* Add padding on smaller screens */
    height: auto; /* Remove fixed height */
  }

  .image-container {
    display: none; /* Hide image on smaller screens */
  }

  .practice-list {
    width: 100%;
    margin: 0;
  }

  .list-column {
    width: 100%; /* Make columns stack vertically */
    margin-bottom: 20px;
    padding: 20px 10px; /* Add padding inside the columns */
  }
}

/* For screens smaller than 576px (mobile phones) */
@media (max-width: 576px) {
  .text-center {
    font-size: 1.5rem; /* Make heading smaller for mobile screens */
  }

  .list-column li {
    font-size: 1rem;
    padding: 8px 0;
  }

  .container {
    padding-left: 2%;
    padding-right: 2%; /* Reduce padding for very small screens */
  }
}































/* Go to Top */

/* Go to Top Button Styling */
.go-to-top {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 24px;
  background-color: #333; /* Dark background */
  color: white; /* White text */
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.go-to-top:hover {
  background-color: #555; /* Lighter background on hover */
}
