/********** Template CSS **********/
:root {
    --primary: #152440 !important;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.navbar-logo {
    max-height: 70px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensures the image fits within the set height */
}

@media (max-width: 768px) {
    .navbar-logo {
        max-height: 40px; /* Smaller height for smaller screens */
    }
}


/* extra css */

.whatsapp_float {
    position: fixed;
    bottom: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
}

/* WhatsApp icon styling */
.whatsapp-icon {
    font-size: 30px;
}

/* Glowing effect applied to the button */
.glowing-whatsapp {
    animation: glowing-whatsapp 1.5s infinite alternate;
}

/* Keyframes for glowing effect */
@keyframes glowing-whatsapp {
    0% {
        box-shadow: 0 0 5px #25d366;
    }
    50% {
        box-shadow: 0 0 15px #25d366, 0 0 20px #25d366, 0 0 30px lightgreen;
    }
    100% {
        box-shadow: 0 0 5px #25d366;
    }
}


/* animation css */

    /* Fade-in Animation */
    .animate-topbar {
        animation: fadeIn 1s ease-in-out;
    }
    
    /* Fade-in Keyframes */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Slide-in Animation */
.animate-navbar {
    animation: slideIn 0.8s ease-in-out;
}

/* Hover Underline Effect */
.animated-link {
    position: relative;
    transition: color 0.3s ease-in-out;
}

.animated-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: goldenrod;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.animated-link:hover::after {
    transform: scaleX(1);
}

/* Navbar Toggler Animation */
.animated-toggler {
    transition: transform 0.3s ease-in-out;
}

.animated-toggler:focus {
    transform: rotate(90deg);
}

/* Keyframes for Slide-in */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

       /* Initially hide the footer */
       .footer-animation {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    /* Make footer visible when scrolling */
    .footer-animation.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* Initially hidden header */
.page-header {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Make header visible when scrolling */
.page-header.visible {
    opacity: 1;
    transform: translateY(0);
}



 /* affiliations and partner*/


 .affiliations {
    text-align: center;
    background-color: #ffffff;
    padding: 20px 0;
    overflow: hidden;
  }
  
  .affiliations h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  /* Marquee Effect */
  .marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }
  
  .marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
  }
  
  .partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    min-width: 150px;
  }

  /* Ensure all logos are the same size */
.partner img {
    width: 120px;  /* Set a uniform width */
    height: 120px; /* Set a uniform height */
    object-fit: contain; /* Ensures the image fits without distortion */
  }
  
  
  .partner span {
    font-size: 1rem;
    color: #555;
    text-transform: capitalize;
  }
  
  /* Keyframes for marquee */
  @keyframes marquee {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .affiliations h1 {
      font-size: 1.5rem;
    }
  
    .partner img {
      width: 60px;
    }
  
    .partner span {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .partner {
      margin: 0 10px;
    }
  
    .partner img {
      width: 50px;
    }
  
    .partner span {
      font-size: 0.8rem;
    }
  }
  
  