@import url('https://fonts.googleapis.com/css?family=poppings');

/* Home */
body{
    font-size: 16px;
    background-color: #D9D9D9;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

i {
	margin-right: 10px;
}


.nav-link {
    font-size: 15px;
    color: #2B35AF;
}

.nav-link:hover {
    color: black;
    text-decoration: underline;
    text-underline-offset: 0.5em;
}

.nav-link.active {
  color: black;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.c-item {
    height:400px;
}

.c-img {
    height: 100%;
    object-fit: cover;
    filter:brightness(0.4); 
}

.c-caption {
    text-align: left;
    margin-bottom: 5%;
}

.c-caption h1 {
    font-size: 2rem;
    font-weight: bold;
}

/*home opener*/
.open-nums {
  background-color: #2B35AF;
  color: white;
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
}

.open-points {
  vertical-align: middle;
  font-size: 1.1rem;
}

.open-group-item {
  background-color: transparent !important;
  border: none;
  padding-left: 0;
}

.home-opener {
    padding: 3%;
}

.home-opener h1 {
    color: #2B35AF;
}

.open-points {
  color: black;
  font-size: 1.5rem;
}

/* Carousel */
.btn-primary-custom {
  background-color: #2B35AF;
  color: white;
  border: 2px solid #2B35AF;
}

.btn-outline-custom {
  background-color: transparent;
  color: #2B35AF;
  border: 2px solid #2B35AF;
}

.btn-outline-custom:hover {
  background-color: #2B35AF;
  color: white;
}

.open-nums {
  font-size: 1rem;
}

  /* Let's Talk and Blogs */
  .btn-solid-blue {
    background-color: #2B35AF;
    color: white;
    border: 2px solid #2B35AF;
    transition: all 0.3s ease;
  }

  .btn-solid-blue:hover {
    background-color: white;
    color: #2B35AF;
    border: 2px solid white;
  }

  .btn-outline-blue {
    background-color: transparent;
    color: white;
    border: 2px solid #2B35AF;
    transition: all 0.3s ease;
  }

  .btn-outline-blue:hover {
    color: #2B35AF;
    border: 2px solid white;
  }

/*Services section*/

.home-services {
    background-color: #4682B4;
    color: white;
    border-radius:0px;
}

.services-card {
  background-color: #D9D9D9;
  color: black;
  padding: 1em 0;
  border: 2px solid #2B35AF;
  border-radius: 4em 0;
}

#OLC {
	text-decoration: none;
}

/*Home Team and careers*/
.image-card {
  overflow: hidden;
  border-radius: 10px;
  height: 350px;
}

.image-card img {
  transition: transform 0.3s ease;
  display: block;
  object-fit: cover;
  height: 100%;
}

.image-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  display: flex;
  align-items: flex-end;
  justify-content: left;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-card:hover .overlay {
  opacity: 1;
}

.overlay-text {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
}

.overlay-text:hover {
  text-decoration: underline;
}

/* Home Projects section */
/* Optional hover effect on the image */
img.rounded-4:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}


/*services.html*/
[id] {
    scroll-margin-top: 65px; 
}

#NLP {
    scroll-margin-top: 340px; 
}

/*Blogs.html*/
.card-img-container {
    position: relative;
  }

  .card-img-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(40%);
  }

  .card-img-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: bold;
  }

  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Optional for a subtle shadow lift */
  }
  


/* Project.html */
  .custom-outline-blue {
    border: 2px solid #2B35AF;
    color: #2B35AF;
    background-color: transparent;
  }
  .custom-outline-blue:hover {
    background-color: #2B35AF;
    color: #fff;
  }

  .projects-fixed-card {
    height: 420px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .projects-card-img-top {
    height: 200px;
    object-fit: cover;
    filter: brightness(50%);
  }

  .card-content-wrapper {
    overflow-y: auto;
    padding: 1rem;
    flex: 1;
  }

  .projects-card-title {
    font-weight: bold;
  }

  .projects-card-text {
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-wrap {
    text-align: right;
    margin-top: auto;
  }

/* Button */
.custom-outline-blue {
    border: 2px solid #2B35AF;
    background-color: transparent;
    color: black;
  }
  
  .custom-outline-blue:hover {
    background-color: #2B35AF;
    color: white;
  }

  /* Contact banner */
  .c-caption-contact{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
  }
  
  .c-caption-contact h1 {
    font-size: clamp(2rem, 5vw, 4rem); /* Responsive font size */
    font-weight: 800px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Footer */
  .footer {
    font-size: 14px;
    background-color: #4682B4;

  }

  .footer a {
    text-decoration: none;
  }


  
