/********** Template CSS **********/
/*
   Theme Name  : Harshini Pharma
   Designed By : Scorpio Technologies
   Developer   : Mr. Rajiv Gandhi
*/

:root {
    --primary: #28ac94;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: #28ac94;
    color: #fff;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {color: #FFFFFF;}

.btn-pharma {
   background-color: #28ac94;
   color: #fff;
}

.btn-pharma:hover{
   background-color: #1a0a62;
   color: #fff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    margin-right: 4px;
}

/* Top menu icons */

ul {padding-left: 0rem;}

.top-contact li {
    font-size: 15px;
    display: inline-block;
    line-height: 42px;
    color: #111;
    padding: 0px 15px;
}

.ticon-f {color: #3b5998;}

.ticon-f:hover {
    background-color: #3b5998;
    border: 1px solid #3b5998;
    color: #fff; 
}

.ticon-t {color: #1DA1F2;}

.ticon-t:hover {
    background-color: #1DA1F2;
    border: 1px solid #1DA1F2;
    color: #fff; 
}

.ticon-i {color: #8a3ab9;}

.ticon-i:hover {
    background-color: #8a3ab9;
    border: 1px solid #8a3ab9;
    color: #fff; 
}

.ticon-l {color: #0A66C2;}

.ticon-l:hover {
    background-color: #0A66C2;
    border: 1px solid #0A66C2;
    color: #fff; 
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid #F1F1F1 !important;
    border-radius: 6px;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #111;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {color: #28ac94;}

.navbar.sticky-top {top: -100px;transition: .5s;}

.dropdown-menu {
    padding: 0px;
    border: none;
    margin-top: 13px;
    border-radius: 0px;
    border-top: 4px solid #28ac94;
}
.dropdown-item:hover {background-color: #28ac94;}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #1a0a62;
}

.dropdown-item {padding: 10px 15px;}

.ml-auto {margin-left: auto!important;}

.text-main {color: #28ac94 !important;}

.text-title {color: #1a0a62 !important;}

/* Footer social media icons */
.btn-social {
    background-color: #fff;
    width: 38px;
    height: 38px;
}

.icon-f {
    background-color: #3b5998;
    color: #fff; 
}

.icon-f:hover {
    background-color: transparent;
    border: 1px solid #3b5998;
    color: #3b5998; 
}

.icon-t {
    background-color: #1DA1F2;
    color: #fff; 
}

.icon-t:hover {
    background-color: transparent;
    border: 1px solid #1DA1F2;
    color: #1DA1F2; 
}

.icon-i {
    background-color: #8a3ab9;
    color: #fff; 
}

.icon-i:hover {
    background-color: transparent;
    border: 1px solid #8a3ab9;
    color: #8a3ab9; 
}

.icon-l {
    background-color: #0A66C2;
    color: #fff; 
}

.icon-l:hover {
    background-color: transparent;
    border: 1px solid #0A66C2;
    color: #0A66C2; 
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {width: 10%;}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {width: 3rem;height: 3rem;}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/banner-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {color: var(--secondary);}

.page-header .breadcrumb-item+.breadcrumb-item::before {color: var(--light);}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Facts ***/
.fact-item {transition: .5s;}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}

/*** Team ***/
.book {width: 700px;margin: 0 auto;}

.contact {
    width: 70%;
    margin: 0 auto;
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {color: var(--light);}

.footer .copyright a:hover {color: var(--primary);}