* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
/* About */
.bg-blue {
  background-color: #304494 !important;
}


.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(255,255,255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
  color: white !important;
}

.large-logo {
  display: inline-block;
}

.small-logo {
  display: none;
}

/* @media only screen and (max-width: 767.98px) {
  .large-logo {
    display: none;
  }

  .small-logo {
    display: block;
  }
} */

/* INDEX */
.navbar {
  transition: background-color 0.3s; /* Add transition property */
}
.navbar-light .navbar-nav .nav-link {
  color: #ffff;
  font-size: 15px;
  transition: background-color 0.3s;
}

.navbar-nav .nav-item {
  margin-right: 20px; /* Adjust the margin to your preference */
}
.nav-link.active {
  color: #ff5f1f !important;
}

.nav-link:hover{
  text-decoration: underline;
  text-decoration-color: #ff5f1f !important;
}
.navbar-light .navbar-brand {
  color: #304494;
  font-size: 30px;
}


.title-index {
  text-align: center;
  padding-bottom: 20px;
  padding-top: 30px;
  color: #304494;
  font-weight: bold;
}

.title-index-project h1 {
  text-align: center;

  color: #304494;
  padding-top: 50px;
  padding-bottom: 50px;

}

.all-project{
  background-color: #f0f0f0; /* Change the color code to your desired background color */
}


.contact {
  background-color: #f0f0f0; /* Change the color code to your desired background color */
  padding: 20px; /* Adjust padding as needed */
}


.title-contact {
  text-align: center;
  margin-top: 50px;
  color: #304494;
}

@media (max-width: 990px) {
  .navbar {
    background-color: transparent;
    transition: background-color 0.3s;
  }

  .navbar-collapse {
    background-color: #304494;
    color: #000;
  }
  .navbar-collapse .navbar-nav .nav-link {
    color: #ffff; /* Set the color of the navigation links */
  }
  .index-title{
    font-size: 10px;
  }
}
.nav-link.index-title {
  font-size: 20px; /* Adjust the font size as needed */
}
@media screen and (max-width: 463px) {
  .nav-link.index-title {
    font-size: 12px; /* Adjust the font size as needed */
  }
}

.background-services {
  background-color: #f2f2f2; /* Set background color */
}

.container-services {
  max-width: 100%;
  margin: 0 auto;
  
}
.list-item img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Maintain aspect ratio */
  border-radius: 20px;
  align-items: center;
}

.list-item-title {
  text-align: center;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.list-item {
  display: inline-block;
  align-items: center;
  
  margin-bottom: 10px; /* Adjust margin as needed */
  
  margin:42px;
  position: relative;
}

.list-item p {
  background-color: #304494;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  opacity: 0.8;
  color: white;
  transform: translate(-50%, -50%);
  padding: 10px; /* Add padding to make text more readable */

  text-align: center; /* Center align text */
  margin: 0; /* Remove default margin */
  max-width: 250px;
  box-sizing: border-box;
}

/* Media query for small screens (vertical layout) */
@media screen and (max-width: 768px) {
  .list-item-title {
    
    text-align: center;
    padding-left:5px;
  }

  .list-item{
    margin-top:-22px;
  }
  .title-index{
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

.whatsapp_float {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 9999;
}


.container-card-services {
  position: relative;
}
.card-containers {
  display: flex;
  flex-wrap: wrap; /* Allow cards to wrap to new row */
justify-content: space-around;
  align-items: center;
  gap: 0px;
  margin-bottom: 100px;
}

.card {
  width: 26%;
  text-align: center;
  transition: transform 0.6s ease;
  border: none !important;
  

}

.card:hover {
  transform: translateY(-20px);
}

.card img {
  max-width: 100%; /* Set initial width to fill container */
  height: auto; /* Maintain aspect ratio */
  transition: all linear 0.7s;
  display: block; /* Change from flex to block to ensure proper sizing */
}

img.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.card:hover img {
  opacity: 0;
}

.card:hover img.hover-img {
  opacity: 1;
}

.btn-more-project {
 
  position: absolute;
  bottom: -80px; /* Adjust as needed */
  left: 50%; /* Position the button at the horizontal center of its container */
  transform: translateX(-50%); /* Move the button back by half of its own width to center it */
  background-color: #304494;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;

}

.btn-more-project:hover {
  background-color: #0056b3;
}



@media screen and (max-width: 768px) {
  .card-containers {
    flex-direction: column; 
  }
  .card {
    width: auto; /* Full width for cards on small screens */
   
    margin-bottom: 20px;/* Remove any bottom margin */
    margin-top:10px;
    margin-left:10px;
    margin-right:10px;
  }

  .btn-more-project {
  
    margin: 0 auto; /* Center horizontally */
    text-align: center;
    
  }
}

/* INDEX */

/* About */

.logo-text {
  font-size: 15px; /* Adjust font size as needed */
  margin-left: 0px; /* Adjust margin as needed */
}

.logo-text-service {
  font-size: 18px; /* Adjust font size as needed */
  margin-left: 0px; /* Adjust margin as needed */
  color: #000;
}

.partial-bg {
  position: relative;
  display: inline-block;
  font-size: 35px; /* adjust font size as needed */
  color: #304494;
  font-weight: bold;
}

.partial-bg p .partial-bg li {
  font-size: 20px;
}

.partial-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 2.1em); /* adjust padding */
  height: 100%;
  background-color: rgba(255, 0, 0, 0.5); /* semi-transparent red background */
}

.container-about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.section-about {
  flex: 1;
  text-align: center;
}

@media only screen and (max-width: 600px) {
  .container-about {
    flex-direction: column;
  }

  .section-about {
    width: 100%;
  }
}

.container-services {
  display: flex;
  flex-direction: column;
  max-width: auto;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}






.title-news {
  text-align: center;
  margin-bottom: 20px;
  color: #304494;
}

.container-news {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
}

.top-news,
.other-news {
  flex-basis: 45%; /* Adjust as needed */
  margin-right: 30px;
  margin-left: 30px;
}

.top-news .news-item,
.other-news .news-item {
  position: relative;
  overflow: hidden;
}

.top-news .news-item img,
.other-news .news-item img {
  display: block;
  width: 100%;
  height: auto;
}

.top-news .news-details,
.other-news .news-detail-side-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  text-align: center;
  padding-bottom: 20px;
}

.top-news .news-details h2,
.other-news .news-detail-side-image h2 {
  margin: 0;
}

.top-news .news-details button,
.other-news .news-detail-side-image button {
  margin-top: 10px;
  color: #fff;
  background-color: #007bff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.latest-news {
  margin-top: 0; /* Reset margin */
  text-align: center;
  color: #304494;
}

.btn-info a {
  color: white !important;
  text-decoration: none;
}

/* Additional CSS for side-by-side layout */
.other-news .news-item {
  display: flex;
}

.other-news .news-content {
  display: flex;
  flex-direction: column;
}

.other-news .news-item img {
  width: 100%; /* Adjust width as needed */
  height: 100%;
  margin-right: 10px; /* Adjust margin between image and text */
}

.other-news .news-detail-side-image {
  flex: 1;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .container-news {
    flex-direction: column;
  }

  .top-news,
  .other-news {
    flex-basis: 50%;
    margin-bottom: 20px; /* Adjust margin between news items */
  }

  .other-news .news-item {
    flex-direction: column;
  }

  .other-news .news-item img {
    width: 100%; /* Make image full width on smaller screens */
    margin-right: 0; /* Remove margin on smaller screens */
    margin-bottom: 10px; /* Add margin between image and text on smaller screens */
  }
}

/* article */
.article {
  display: flex;
  flex-direction: column;
  /* Stack children vertically */
  width: 325px;
  background-color: #ffff;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 5);
  overflow: hidden;
  transition: transform 0.6s ease;
  height: auto;
  position: relative;
}

.article img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
  text-align: center;
  /* Center text within the container */
}

.article-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 0;
  padding-bottom: 30px;
}

.article-content h1 {
  font-size: 20px;

  color: #000;
  text-align: center;
  margin: 0;
  padding-left: 10px;
  padding-right: -10px;
}

.article-content p {
  font-size: 12px;
  color: #666;
  margin: 0;
  text-align: center;
  padding-left: 10px;
  padding-right: -10px;
}

.article:hover {
  transform: translateY(-20px);
}

.article-button {
  display: inline-block;
  position: absolute;
  bottom: 0px;
  /* Or adjust as needed */
  right: 10px;
  /* Or adjust as needed */
  left: 0px;
  background-color: #ff1c24;
  width: 100%;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  padding: 0px 20px;
  text-align: center;
  font-size: 15px;
}

.container-service {
 
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 0px;
  color: #304494; /* Text color on top of the background */
  
}

.title-service {
  text-align: center; /* Center align the title */
}

.paragraph-service {
  text-align: center; /* Center align the paragraph */
  padding-right: 5px;
  padding-left: 5px;
  color: #000;
}

.slider-service {
  display: flex;
  justify-content: center; /* Center align the slider */
  margin-top: 20px; /* Add margin as needed */
}

.slider-service div {
  margin-right: 10px; /* Adjust spacing between slides */
}

.slider-service div:last-child {
  margin-right: 0; /* Remove margin for the last slide */
}

.slider-service div img {
  width: 100%;
  max-width: 500px; /* Adjust maximum width of images */
}

.slide-mep-1 img{
  height: 150px;
}

@media screen and (max-width: 768px) {
  .container-service {
      padding: 50px 20px; /* Adjust padding for smaller screens */
  }

  .title-clinic, .paragraph-service {
      margin-left: 10px; /* Add margin to center-align text on smaller screens */
      margin-right: 10px;
  }

  .slider-service {
      margin-top: 10px; /* Adjust margin for smaller screens */
      overflow-x: scroll; /* Allow horizontal scrolling */
      justify-content: center; /* Center align the slider */

  }
}


.container-project {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.container-project a {
  text-decoration: none;
  color: white;
}

.item-project {
  position: relative;
  width: calc(50% - 90px); /* Two images per row with gap */
  margin-bottom: 20px;
}

.image-project {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-project {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(0, 0, 0, 0.5);

  color: white;
  text-align: center;
  padding-top: 100px;
}

.progress-desc {

  background-color: #7CFC00;
 
}
.progress-desc-on-progress{
  background-color: yellow;
}

.progress-desc-on-progress,
.progress-desc{
  position: absolute;
  top: 10px; /* Adjust as needed */
  left: 10px; /* Adjust as needed */
 
  padding: 5px 10px;
  border-radius: 5px;
  color: #304494;
}
.title-detail-project {
  position: absolute;
  bottom: 8px;
  right: 16px;
  color: #ffff;
  font-size: 3px;
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 1; /* Ensure the title is above the image */
}

.title-detail-project h1 {
  font-size: 20px;
}

.text-project {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  font-weight: bold;
}

.slick-slider {
  width: 100%;
  margin: 0 auto;
}

.slick-slide {
  text-align: center;
}

.slick-slide img {
  display: inline-block;
  /* Ensure images are displayed inline */
  max-width: 100%;
  /* Ensure image covers the entire slide */
  height: auto;
  /* Set a fixed height for uniformity */
  object-fit: cover;
  /* Cover the entire slide while preserving aspect ratio */
  border-radius: 20px;
}
.slick-slide {
  margin-left: 10px; /* Adjust the value to your preferred gap size */
  margin-right: 10px;
}

.slick-slide:last-child {
  margin-right: 0; /* Remove margin from the last slide to avoid extra space */
  margin-left: 0;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .slick-slider {
    max-width: 100%;
    /* Adjust the width for smaller screens */
  }
}

.item-project:hover .overlay-project {
  opacity: 1;
}

.title-clinic {
  text-align: center;
  color: #304494;
  margin-top: 50px;
  margin-bottom: 40px;
}

.container-clinic {
  display: flex;
  flex-direction: row;
}

.image-clinic {
  flex: 1;
}

.image-clinic img {
  max-width: 100%;
  height: auto;
  padding-left: 80px; /* Add padding to create a gap */
  padding-right: 80px;
  padding-bottom: 30px;
}


.paragraph-clinic {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

.text-clinic {
  flex: 1;
  padding: 20px;
  color: #304494;
}

.text-clinic h2 {
  margin-top: 0;
  font-size: 20px;
}



@media (max-width: 768px) {
  .container-clinic {
    flex-direction: column;
  }
}

.container-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.contact {
  text-align: center;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact-form {
  flex-basis: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 80%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
}

.contact-form button {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
}

.contact-form button:hover {
  background-color: #0056b3;
}


.container-contact > * {
  margin-bottom: 10px;
}





/* Responsive styles */
@media screen and (max-width: 768px) {
 
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
  }
}

/* Responsive styles */
@media screen and (min-width: 768px) {
  .contact-form input,
  .contact-form button {
    width: 48%;
  }

  .contact-form input:nth-child(3) {
    margin-right: 4%;
  }
}

@media screen and (min-width: 1200px) {
  .contact-form input,
  .contact-form button {
    width: 30%;
  }

  .contact-form input:nth-child(3) {
    margin-right: 5%;
  }
}

.map-contact-info-container {
  display: flex;
  flex-direction: column;
  padding-top: 50px;

}

.map {
  flex: 1;
  margin-bottom: 20px;
  
}

.contact-info {
  flex: 1;
 
  padding: 20px; /* Add padding for spacing */
 
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0; /* Remove iframe border */
}
@media (max-width: 768px) {
  .map-contact-info-container {
    flex-direction: column;
  }
}

/* Media query for screens larger than 768px (desktop) */
@media (min-width: 769px) {
  .map-contact-info-container {
    flex-direction: row;
  }

  .map {
    margin-right: 20px;
  }
}

/* Responsive design */

footer {
  background-color: #304494;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line {
  display: flex;
  align-items: center;
}

.logo {
  width: 80px; /* Adjust according to your logo size */
  margin-right: 10px;
}
.footer-paragraph {
  margin: 10px;
  font-size: 20px;
  font-weight: bold;
}

.address p {
  margin: 0;
}

.address {
  font-size: 12px;
  margin: 3px;
  margin-bottom: 1px;
}

.footer-text {
  font-weight: bold;
  font-size: 20px;
}

li {
  list-style: none;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .line {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .item-project {
    width: 80%; /* Full width on small screens */
  }
}


