@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
body
{
    font-family: "Josefin Sans", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
p
{
 text-align: justify;
}
::selection {
  background-color: white;
  color: blue;            
}
.footer
{
  background-color: black;
}
.logo
{
  height: 80px;
}
.fa-brands {
  padding: 9px;
  font-size: 40px;
  color: white;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa-brands:hover {
    opacity: 0.7;
}
/* Dropdown Button */
.nav-link a
{
  font-size: 18px;
}
.dropbtn {
    color: white;
    font-size: 18px;
    border: none;
  }
.bg-img
{
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
 
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: max-content !important;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 40px !important; 
  }

  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    text-decoration: none;
  }

.text-justify
{
    text-align: justify !important;
}
.foot li
{
  display: inline;
}
.foot li a
{
  text-decoration: none;
  color: black;
}
.foot-img
{
  margin-top: -120px;
}
@media only screen and (max-width: 768px) {
  .foot-img {
    margin-top: 20px;
  }
}
.hover-box {
  height: 400px;
  padding: 20px;
  text-align: center;
  color: #000;
  background: white;
  position: relative;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.4s ease;
}
.dropdown-item
{
    padding-left: 20px;
    text-align: justify;
}
.dropdown-item:hover
{
    background-color: #007BFF !important;
    color: white !important;
}
.dropdown-menu
{
 display: none;
}
.dropdown:hover .dropdown-menu
{
    display: block;
}

.hover-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, #000000, #007BFF);
  z-index: 0;
  transition: right 0.5s ease;
}

.hover-box:hover::before {
  right: 0;
}

.hover-box span,
.hover-box a,
.hover-box i {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.hover-box:hover span,
.hover-box:hover a,
.hover-box:hover i
{
  color: #fff;
}
.hover-box i
{
  background-color: black;
  color: white;
}
.hover-box:hover i
{
  background-color: white;
  color: black;
}


.animated-border-box {
  margin: 0 auto;
  padding: 20px;
  margin-top: 0;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  position: relative;
  transition: margin-top 0.4s ease;
  cursor: pointer;
}

/* Pseudo-element for animated border */
.animated-border-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 5px;
  background-color: #007BFF;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

/* Hover effect */
.animated-border-box:hover {
  margin-top: 30px;
}

.animated-border-box:hover::after {
  width: 100%;
}
.animated-border-box img
{
  margin-top: -40px;
}


.box {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.hovered-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 50px;
  border: 1px solid grey;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.hovered-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 0%;
  background: linear-gradient(to right, #007BFF, #000000);
  transition: width 0.4s ease;
}

.hovered-box:hover {
  top: -10px;
}

.hovered-box:hover::after {
  width: 100%;
}

.hovered-box h3,
.hovered-box p {
  margin: 0;
}

.expanding-box {
  border: 1px solid grey;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(0,0,0,0.2);
}

.expanding-box img {
  height: 200px;
  width: 100%;
  display: block;
}

.expanding-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.expanding-box:hover .expanding-text {
  max-height: 400px;
  padding: 20px;
}



 /* Hover dropdown on large screens */
 @media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu.mega-menu {
  width: 100%;
  max-width: 900px;
  padding: 1rem;
}

/* Align dropdown to left if near right edge */
.dropdown-menu.dropdown-menu-end.mega-menu {
  right: 0;
  left: auto;
}

.mega-menu .col h6 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.dropdown-menu.mega-menu {
  width: 650px;
  max-width: 90vw;
}

.service-card li a img
{
  height: 300px;
}
.service-card li .card {
  height: 450px;
}
.service-card li .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: 0.5s ease;
}
.experties ul li a img
{
  height: 300px;
}


.industries .hovered-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid grey;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.industries .hovered-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 0%;
  background: linear-gradient(to right, #007BFF, #000000);
  transition: width 0.4s ease;
}

.industries .hovered-box:hover {
  top: -10px;
}

.industries .hovered-box:hover::after {
  width: 100%;
}

.industries .hovered-box h3,
.industries .hovered-box p {
  margin: 0;
}

.industries .box {
  position: relative;
  height: 350px;
  overflow: hidden;
}