/********** Template CSS **********/
:root {
    --primary: #2e3192;
    --secondary: #f6821f;
    --light: #F2F2F2; 
    --dark: #111111;
}

/* Header */
header {
    position: relative;
    background-color: black;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
  }
  
  header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  header .container {
    position: relative;
    z-index: 2;
  }
  
  header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
  }
  
  /* Media Query for devices withi coarse pointers and no hover functionality */
  
  /* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */
  
  @media (pointer: coarse) and (hover: none) {
    header {
      background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
    }
  
    header video {
      display: none;
    }
  }
/* End header section */
.fw-medium {
    font-weight: 600 !important;
}

/*** 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;
    text-transform: uppercase;
    transition: .5s;
}

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

.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;
    border-radius: 2px;
}


/*** 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-nav {
    margin-right: 1rem;
}

/* additional code */
.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #2e3192; /* Primary blue */
}

.navbar .dropdown-menu {
    animation: fadeIn 0.3s ease-in-out;
    border-radius: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .btn-primary {
    background-color: #2e3192;
    border: none;
    transition: background-color 0.3s ease;
}

.navbar .btn-primary:hover {
    background-color: #1e225d;
}
/* end of additional code */

.navbar-light .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 13px;
    text-transform: uppercase;
    outline: none;
}

.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  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

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

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

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

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

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


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/building.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/fundi.jpg) center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/footerconst.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    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 .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.card { transition: transform 0.2s ease-in-out; }
.card ul {
    list-style: none;
    padding-left: 1rem;
  }
  .card ul li::before {
    content: "✓";
    color: green;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
  }
  .card:hover {
    transform: scale(1.01);
    transition: 0.2s ease-in-out;
  }
.card:hover { transform: scale(1.02); }

/* -----ADVOCACY PAGE--------- */
.about__v4 .subtitle {
    background-color: rgba(var(--bs-secondary-rgb), 0.2);
    color: var(--bs-primary);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .about__v4 .features li .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background-color: var(--bs-primary);
    color: var(--bs-white);
  }
  .about__v4 .mission-statement {
    background-color: var(--bs-primary);
    position: relative;
    bottom: -20px;
    width: 100%;
  }
  .about__v4 .mission-statement h3 {
    font-size: 14px;
    color: var(--bs-secondary);
  }
  .about__v4 .mission-statement p {
    color: var(--bs-white);
  }
  .about__v4 .mission-icon {
    width: 50px;
    height: 50px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50px;
            flex: 0 0 50px;
    line-height: 50px;
    display: inline-block;
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
  }
  .about__v4 .mission-icon i {
    color: var(--bs-secondary);
  }
  
  /* Features AdVocacy */
  .features__v2 .icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--light);
  }
  
  .features__v2 .content {
    background-color: rgba(var(--secondary), 0.2);
  }
  
  .features__v2 .btn-play i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--primary);
  }

  section {
    padding: 70px 0;
    scroll-margin-top: 60px;
  }

  @media (max-width: 767.98px) {
    .section {
      padding: 40px 0;
    }
  }
  .section.first-section {
    padding-top: 100px;
  }
  @media (min-width: 992px) {
    .section.first-section {
      padding-top: 130px;
    }
  }

  /* Membership Cards */
  .card__content{
    position: relative;
    background-color: #fff;
    padding:2rem 1.5rem 2.5rem;
    border-radius: .5rem;
    box-shadow:0 12px 24px hsla(210,61%,16%,0.1);
    transition:.4s;
}
.card__content:hover{
    box-shadow:0 16px 24px hsla(210,61%,16%,0.4); 
}
.card__header{
    text-align:center;
}
.card__header-subtitle{
    display:block;
    font-size:.813rem;
    color:hsl(210,12%,65%);
    text-transform: uppercase;
    margin-bottom:.25rem;
}
.card__header-title{
    font-size:1.75rem;
    color:hsl(210,12%,15%);
    margin-bottom:1rem;
}
.card__pricing{
    position:absolute;
    width:60px;
    height:140px;
    left:-16px;
    top:26px;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.card__pricing::before{
    content:'';
    position:absolute;
    width:200px;
    height:119px;
    background: linear-gradient(90deg, #f6821f, #f6821f 20%);
    top:0;
    left:-69px;
    transform:rotateY(75deg);
    border-radius: 0 100px 100px 0 / 0 20px 20px 0;
    box-shadow:0 16px 24px hsla(210, 61%, 16%, 0.15);
}
.card__pricing1::before{
    background: linear-gradient(90deg, #2e3192, #2e3192 20%);
}
.card__pricing2::before{
    background: linear-gradient(90deg, #398de5, #50b7ff 20%);
}
.card__pricing::after{
    content:'';
    position:absolute;
    width:14px;
    height:164px;
    background-color: var(--secondary);
    top:-20px;
    left:2px;
    border-radius: 50px 0 0 50px / 80px 0 0 80px;
}
.card__pricing1::after{
    background-color: #2e3192;;
}
.card__pricing2::after{
    background-color: #1585b7;
}
.card__list{
    margin:auto;
    row-gap:.5rem;
    margin-bottom:2rem;
}
.card__list-item{
    display:flex;
    text-align: left;
}
.card__list-icon{
    font-size:1.5rem;
    color: hsl(238, 52%, 38%);;
    margin-right:.5rem;
}
.card__button{
    padding:1.25rem;
    border:none;
    font-size:.938rem;
    border-radius:.5rem;
    background: linear-gradient( 157deg, hsl(210,96%,54%) -12%, hsl(210,96%,54%) 109%);
    color:#fff;
    cursor: pointer;
    transition: .4s;
    width:95%;
    font-weight:bold;
}
.card__button:hover{
    box-shadow:0 16px 24px hsla(210, 61%, 16%, 0.15);
}

.accordion-button:not(.collapsed) {
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.1);
  }
  .accordion-button:hover {
    filter: brightness(95%);
  }
  .accordion-body {
    background-color: #f9f9f9;
    border-left: 4px solid var(--secondary);
  }


  /* public relations */
  .services__v3 .icon {
    display: inline-block;
    position: relative;
    color: var(--bs-primary) !important;
  }
  
  .services__v3 .icon:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 40px;
    height: 40px;
    right: -10px;
    bottom: 0px;
    border-radius: 50%;
    background-color: rgba(var(--bs-secondary-rgb), 1);
  }
  
  .services__v3 .icon svg {
    width: 50px;
  }
  .services__v3 .service-card {
    border: 1px solid rgba(var(--inverse-color-rgb), 0.2);
  }

  /* DIRECTORY */
  .search-box input {
    border-radius: 30px;
    padding-left: 20px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
  }
  .search-box select {
    border-radius: 30px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
  }
  .pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
  }
  