/*------------------------------------------------------------------------------------------------------------------------
 
 @package: Sadaka
 @author: Ouarmedia/Farouk BLALOU
 @version: 1.0
 
 --------------------------------------------------------------------------------------------------------------------- */

/* =============================================================================
  Base
========================================================================== */
body {
  font-family: "Open sans", sans-serif;
  color: #af0009;
}

h1,
h2,
h3,
h4 {
  font-family: "Dosis", sans-serif;
}

a {
  color: inherit;
}

a:hover,
a:focus,
a:active {
  color: inherit;
}

/* =============================================================================
  Layout
========================================================================== */
/* Header 
================================= */
.navbar-static-top {
  margin: 0;
  border: 0;
  color: #fff;
}

.navbar-top {
  background: #af0009;
  font-size: 12px;
  padding: 3px 0;
}

.navbar-top .list-inline {
  margin-bottom: 0;
}

.navbar-top .header-contact li {
  margin-right: 15px;
}

.navbar-top .header-contact li .fa {
  margin-right: 5px;
}

.navbar-main {
  margin-bottom: 0;
  color: #fff;
  background: #6a0005;
}

.navbar-main .navbar-brand {
  border-bottom: none !important;
}

.navbar-main a:hover,
.navbar-main a:active,
.navbar-main a:focus,
.navbar-main a.is-active {
  background: none !important;
  color: inherit;
  border-bottom: 2px solid #fff;
}

.navbar-main .submenu {
  position: absolute;
  list-style: none;
  background: #6a0005;
  padding: 0;
  width: 150px;
  left: -35px;
  visibility: hidden;
  top: 85px;
  -moz-transition: all, 0.05s;
  -o-transition: all, 0.05s;
  -webkit-transition: all, 0.05s;
  transition: all, 0.05s;
}

.navbar-main .submenu li {
  border-top: 1px solid #185b91;
}

.navbar-main .submenu li:hover {
  background: #185b91;
  -moz-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  -webkit-transition: all, 0.3s;
  transition: all, 0.3s;
}

.navbar-main .submenu li a {
  width: 100%;
  border-bottom: none;
  text-decoration: none;
  padding: 5px 25px;
  display: block;
  font-size: 16px;
}

.navbar-main li a {
  font-family: "Dosis", sans-serif;
  font-size: 14px;
  padding: 20px 15px;
  border-bottom: 2px solid transparent;
}

.navbar-main li:hover .submenu {
  top: 62px;
  visibility: visible;
  -moz-transition: all, 0.25s;
  -o-transition: all, 0.25s;
  -webkit-transition: all, 0.25s;
  transition: all, 0.25s;
}

.navbar-main .icon-bar {
  background: #fff;
}

/* Home Slider 
================================= */
.carousel-home img {
  width: 100%;
}

.carousel-home .carousel-control {
  background: #6a0005;
  height: 80px;
  width: 40px;
  top: 50%;
  margin-top: -40px;
  -moz-transition: width, 0.3s;
  -o-transition: width, 0.3s;
  -webkit-transition: width, 0.3s;
  transition: width, 0.3s;
}

.carousel-home .carousel-control .fa {
  font-size: 2.5em;
  padding-top: 12px;
}

.carousel-home .carousel-control:hover {
  width: 50px;
}

.carousel-home .carousel-caption {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.carousel-home .carousel-title {
  color: #fff;
  font-family: "Dosis", sans-serif;
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
}

.carousel-home .carousel-subtitle {
  font-size: 25px;
  text-transform: uppercase;
}

.carousel-home .btn {
  margin-top: 30px;
}

.section-home {
  margin: 30px 0;
}

/* home/ about-us 
================================= */
.about-us {
  margin: 30px 0;
}

.about-us-col {
  height: 330px;
  padding: 25px;
  text-align: center;
  background-color: #0076a3;
  /* background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMjgwODE0IiB5MT0iLTAuMTAyMjA4IiB4Mj0iMC43MTkxODYiIHkyPSIxLjEwMjIwOCI+PHN0b3Agb2Zmc2V0PSItMjUlIiBzdG9wLWNvbG9yPSIjMTE1YjliIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiMxMjkwZjgiLz48c3RvcCBvZmZzZXQ9IjEyNSUiIHN0b3AtY29sb3I9IiMxMTViOWIiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA='); */
  background-size: 100%;
  background-image: -moz-linear-gradient(290deg, #115b9b -25%, #ef1c1c 50%, #115b9b 125%);
  background-image: -webkit-linear-gradient(290deg, #115b9b -25%, #ef1c1c 50%, #115b9b 125%);
  background-image: linear-gradient(160deg, #115b9b -25%, #ef1c1c 50%, #115b9b 125%);
  color: #fff;
  border-radius: 0.8rem;
}

.about-us-col .col-icon-wrapper {
  min-height: 80px;
}

.about-us-col .col-title {
  text-transform: uppercase;
}

.about-us-col .col-details {
  text-align: center;
  margin-bottom: 25px;
  min-height: 80px;
}

.about-us i {
  font-size: 50px;
  color: #fff;
  /* margin-bottom: 15px; */
}

/* home/reasons 
================================= */
.home-reasons {
  margin: 25px 0;
}

.reasons-col {
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
}

.reasons-col img {
  width: 100%;
  -moz-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  -webkit-transition: all, 0.5s;
  transition: all, 0.5s;
}

.reasons-col .reasons-titles {
  position: absolute;
  bottom: 0;
  text-align: center;
  background: #6a0005;
  width: 100%;
  color: #fff;
  text-transform: uppercase;
  height: 125px;
  padding: 25px 0;
}

.reasons-col .reasons-title {
  font-weight: bold;
}

.reasons-col .on-hover {
  position: absolute;
  top: 0;
  bottom: 125px;
  width: 100%;
  padding: 25px;
  color: #fff;
  text-align: justify;
  background: #af0009;
  border-bottom: 1px solid #fff;
  visibility: hidden;
  opacity: 0;
  -moz-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  -webkit-transition: all, 0.5s;
  transition: all, 0.5s;
}

.reasons-col:hover .on-hover {
  visibility: visible;
  opacity: 1;
  padding: 10px;
  -moz-transition: all, 1s;
  -o-transition: all, 1s;
  -webkit-transition: all, 1s;
  transition: all, 1s;
}

.reasons-col:hover img {
  -moz-transform: perspective(1.1) scale3d(1.1, 1.1, 1.1);
  -webkit-transform: perspective(1.1) scale3d(1.1, 1.1, 1.1);
  transform: perspective(1.1) scale3d(1.1, 1.1, 1.1);
}

/* home/causes
================================= */
.cause {
  padding-bottom: 15px;
  margin-bottom: 30px;
  /* border: 1px solid #6a0005; */
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  -moz-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  -webkit-transition: all, 0.3s;
  transition: all, 0.3s;
  border-radius: 0.8rem;
}

.cause .cause-progress {
  margin: 0 10px 15px;
  border: 1px solid #6a0005;
  border-radius: 3px;
}

.cause .cause-progress .progress-bar {
  background: #6a0005;
  box-shadow: none;
}

.cause .cause-img {
  margin-bottom: 15px;
  width: 100%;
  border-radius: 0.8rem 0.8rem 0rem 0rem;
}

.cause .cause-title {
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.cause .cause-details {
  text-align: justify;
  padding: 0 15px;
  font-size: 13px;
  margin-bottom: 15px;
  min-height: 115px;
}

.cause:hover {
  background: #f0f0f0;
  color: #ef1c1c;
  border-color: #ef1c1c;
}

/* Team 
================================= */
.team-member {
  background: #6a0005;
  color: #fff;
  text-align: center;
  padding-bottom: 15px;
  border: 1px solid #6a0005;
}

.team-member .thumnail img {
  width: 100%;
}

.team-member .member-name {
  font-weight: bold;
}

.team-member .member-position {
  padding: 0 15px 5px;
}

/* footer 
================================= */
.footer-top {
  background: #af0009;
  height: 40px;
}

.main-footer {
  background: #6a0005;
  color: #fff;
}

.main-footer .footer-main {
  padding: 30px 0;
}

.main-footer .footer-title {
  text-transform: uppercase;
  margin-bottom: 10px;
}

.main-footer .footer-title .title-under {
  background: #fff;
  margin: 15px 0;
  text-align: left;
}

.main-footer .footer-title .title-under:after {
  margin: 0;
  background: #fff;
}

.main-footer .footer-content {
  text-align: justify;
  font-size: 13px;
}

.main-footer .tweet {
  font-size: 13px;
}

.main-footer .tweet:after {
  content: "";
  height: 1px;
  display: block;
  background: #af0009;
  width: 150px;
  margin: 15px auto;
}

.main-footer .tweet:last-child:after {
  display: none;
}

.footer-bottom {
  background: #af0009;
  padding: 3px;
}

.footer-form .form-group {
  margin-bottom: 5px;
}

.footer-form .form-control {
  background: #af0009;
  color: #fff;
  border: 0;
  border-radius: 0;
  margin-bottom: 5px;
  border: 1px solid #fff;
  resize: none;
}

.footer-form .btn-submit {
  border-radius: 0;
  background: #af0009;
  text-transform: uppercase;
  border: 1px solid #fff;
  -moz-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  -webkit-transition: all, 0.5s;
  transition: all, 0.5s;
}

.footer-form .btn-submit:hover {
  background: #fff;
}

.footer-form input:-moz-placeholder,
.footer-form textarea:-moz-placeholder {
  color: #fff;
}

.footer-form input::-moz-placeholder,
.footer-form textarea::-moz-placeholder {
  color: #fff;
}

.footer-form input:-ms-input-placeholder,
.footer-form textarea:-ms-input-placeholder {
  color: #fff;
}

.footer-form input::-webkit-input-placeholder,
.footer-form textarea::-webkit-input-placeholder {
  color: #fff;
}

/* Pages 
================================= */
.page-heading {
  /* background: url('../images/heading-bg.jpg?1428795369') no-repeat center; */
  background-size: cover;
  min-height: 190px;
  color: #fff;
  padding: 25px 15px;
  margin-bottom: 50px;
  background-color: #000;
}

.page-heading .title-under {
  background: #fff;
}

.page-description {
  font-size: 18px;
}

.main-container {
  margin-bottom: 50px;
}

/* Pages/Gallery 
================================= */
.gallery-item {
  padding: 0;
  display: block;
  margin: 0;
}

.gallery-item img {
  width: 100%;
}

.contact-items {
  margin-top: 30px;
}

.contact-items .contact-item {
  margin-bottom: 10px;
  vertical-align: middle;
  font-size: 16px;
}

.contact-items .contact-icon {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: #6a0005;
  vertical-align: middle;
  margin-right: 5px;
  color: #fff;
  text-align: center;
}

.contact-items .contact-icon .fa {
  vertical-align: sub;
  font-size: 20px;
  margin-top: 7px;
}

/* contact 
================================= */
.contact-map {
  height: 350px;
  background: #ccc;
}

form .alert {
  display: none;
}

/* Causes 
================================= */
.cause-carousel {
  margin-top: 15px;
  margin-bottom: 30px;
}

/* =============================================================================
	Module
========================================================================== */
.btn-primary {
  background: #ef1c1c;
  border: none;
  border-radius: 0;
  padding: 10px 25px;
  border: 1px solid transparent;
  -moz-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  -webkit-transition: all, 0.3s;
  transition: all, 0.3s;
}

.btn-primary:hover {
  background: #fff;
  color: #ef1c1c !important;
  border: 1px solid #ef1c1c !important;
}

.btn-secondary {
  background: #fff;
  color: #ef1c1c;
  border-radius: 0;
}

.btn-secondary:hover {
  background: #ef1c1c;
  color: #fff;
}

.title-style-1 {
  text-align: center;
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: 50px;
}

.title-style-2 {
  text-align: left;
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: 25px;
}

.title-style-2 .title-under {
  display: block;
  margin: 5px 0;
}

.title-style-2 .title-under:after {
  margin: 0;
  margin-top: 10px;
}

.title-under {
  display: block;
  margin: 5px auto;
  background: #6a0005;
  height: 1px;
  width: 280px;
}

.title-under:after {
  content: '';
  display: block;
  width: 100px;
  background: inherit;
  height: 2px;
  margin: 0 auto;
  margin-top: 10px;
}

/* Modal
================================= */
.form-control {
  border-radius: 0;
  box-shadow: none;
}

/* Tabeles
================================= */
.table-style-1 thead {
  background: #6a0005;
  border-bottom: 1px solid #144d7b;
  color: #fff;
}

.table-style-1 td,
.table-style-1 th {
  border-bottom: 1px solid #6a0005;
}

.table-style-2 thead {
  background: #af0009;
  border-bottom: 1px solid #144d7b;
  color: #fff;
}

.table-style-2 tbody tr:nth-child(even) {
  background: #6a0005;
  color: #fff;
}

.table-style-2 td,
.table-style-2 th {
  border-bottom: 1px solid #6a0005;
}

/* Tabs
================================= */
.nav-tabs {
  border-bottom-color: #6a0005;
  margin-bottom: 15px;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
  background: #6a0005;
  color: #fff;
}

.nav-tabs>li>a {
  border-radius: 0;
}

.nav-tabs>li>a:hover {
  border-color: #6a0005 #6a0005 #6a0005 #af0009;
}

.nav>li>a:hover,
.nav>li>a:focus {
  background: #af0009;
  color: #fff;
}

/* Accordion
================================= */
.panel-default {
  border-color: #6a0005;
  border-radius: 0;
}

.panel-default>.panel-heading {
  background: #6a0005;
  color: #fff;
}

.panel-default>.panel-heading:hover {
  background: #af0009;
}

/* Modal
================================= */
.modal .modal-content {
  border-radius: 0;
}

.modal .modal-header {
  background: #6a0005;
  color: #fff;
}

.modal .modal-header .close {
  font-style: 26px;
}

.lightbox {
  position: relative;
  display: block;
  overflow: hidden;
}

.lightbox img {
  -moz-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  -webkit-transition: all, 0.5s;
  transition: all, 0.5s;
}

.lightbox .on-hover {
  position: absolute;
  visibility: hidden;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  color: #fff;
  background: rgba(31, 118, 189, 0.75);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transition: all, 0.6s;
  -o-transition: all, 0.6s;
  -webkit-transition: all, 0.6s;
  transition: all, 0.6s;
}

.lightbox .on-hover .hover-caption {
  text-align: center;
  position: absolute;
  bottom: 25px;
  left: 5px;
  right: 5px;
  font-style: 18px;
  display: block;
  font-family: "Dosis", sans-serif;
  bottom: -50px;
  -moz-transition: all, 0.6s;
  -o-transition: all, 0.6s;
  -webkit-transition: all, 0.6s;
  transition: all, 0.6s;
}

.lightbox .on-hover:before {
  content: "";
  display: block;
  width: 46px;
  height: 48px;
  position: absolute;
  background: url('../images/icons/zoom-icon.png?1428101315');
  top: 50%;
  left: 50%;
  margin-top: -23px;
  margin-left: -24px;
}

.lightbox:hover .on-hover {
  visibility: visible;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
}

.lightbox:hover .on-hover .hover-caption {
  bottom: 25px;
}

.lightbox:hover img {
  -moz-transform: perspective(1.15) scale3d(1.15, 1.15, 1.15);
  -webkit-transform: perspective(1.15) scale3d(1.15, 1.15, 1.15);
  transform: perspective(1.15) scale3d(1.15, 1.15, 1.15);
}

/* Ow carousel
================================= */
.owl-next,
.owl-prev {
  width: 32px;
  height: 32px;
  padding-top: 5px;
  border: 2px solid;
  text-align: center;
  border-radius: 50%;
  left: 0;
  position: absolute;
  top: 50%;
  margin-top: -16px;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
  opacity: 0.75;
  -moz-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  -webkit-transition: all, 0.5s;
  transition: all, 0.5s;
}

.owl-next:hover,
.owl-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
}

.owl-next {
  left: auto;
  right: 0;
}

/* =============================================================================
	Responsive
========================================================================== */
/* Large devices (large desktops, 1200px and Down) */
@media (max-width: 1200px) {
  .about-us-col {
    padding: 15px;
  }

  .reasons-col:hover .on-hover {
    padding: 15px;
  }

  .reasons-col:hover .on-hover {
    padding: 25px;
  }
}

/* Medium devices (desktops, 992px and Donw) */
@media (max-width: 992px) {
  .carousel-home .carousel-title {
    font-size: 36px;
  }

  .carousel-home .carousel-subtitle {
    font-size: 18px;
  }

  .carousel-home .btn {
    margin-top: 15px;
  }

  .about-us-col {
    margin-bottom: 25px;
  }

  .team-member {
    margin-bottom: 25px;
  }

  .reasons-col {
    margin-bottom: 25px;
  }

  .footer-col {
    margin-bottom: 50px;
  }
}

/* Small devices (tablets, 768px and Down) */
@media (max-width: 768px) {
  .header-contact {
    text-align: center;
  }

  .header-contact li {
    margin: 0 !important;
  }

  .header-social {
    text-align: center;
  }

  .navbar-main #navbar {
    float: none !important;
  }

  .navbar-main #navbar a {
    border-bottom: none;
  }

  .navbar-main .navbar-brand {
    padding: 6px 15px;
  }

  .navbar-main .submenu {
    position: initial;
    display: none;
    width: 100%;
  }

  .navbar-main li:hover .submenu,
  .navbar-main li:active .submenu,
  .navbar-main li:focus .submenu {
    display: block;
  }

  .navbar-main li:hover .submenu li,
  .navbar-main li:active .submenu li,
  .navbar-main li:focus .submenu li {
    background: #af0009;
    border-top-color: #6a0005;
  }

  .carousel-home .carousel-title {
    font-size: 32px;
  }

  .carousel-home .carousel-subtitle {
    font-size: 16px;
  }

  .carousel-home .carousel-control {
    background: #6a0005;
    height: 40px;
    width: 20px;
    top: 50%;
    margin-top: -20px;
  }

  .carousel-home .carousel-control .fa {
    font-size: 1.5em;
    padding-top: 4px;
  }

  .col-form {
    margin-bottom: 25px;
  }
}

/* Extra Small devices (tablets, 480px and Down) */
@media (max-width: 480px) {
  .carousel-home .carousel-title {
    font-size: 16px;
    margin: 0;
  }

  .carousel-home .carousel-subtitle {
    font-size: 14px;
    margin: 0;
  }

  .carousel-home .carousel-indicators {
    bottom: 0;
  }
}

/* =============================================================================
	Animations
========================================================================== */
.animate-onscroll {
  visibility: hidden;
}

.animated {
  visibility: visible;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.slow {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
}

.animated.fadeIn {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes bounceInUp {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInUp {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}

@-webkit-keyframes bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}


.about-us-details {
  font-size: 15px;
  text-align: justify;
}

.hidden-xs ol {
  margin: 0;
  gap: 1rem;
  padding: 0;
  display: flex;
  list-style: none;
  place-items: center;
  flex-direction: column;
}

.hidden-xs ol li {
  width: 30rem;
  text-align: center;
  color: #fff;
  border-radius: 3rem;
  background: rgba(234, 87, 83, 0.7);
  padding: 6px;
}


/* ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TEST
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: 'Barlow Semi Condensed', sans-serif; */
}

a:link,
a:active,
a:visited,
a:hover {
  /* color:#3f51b5; */
}

.outerdiv {
  width: 100%;
  /* min-height: 100vh; */
  /* background: #EDF2F8; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.innerdiv {
  transform: scale(0.9);
  margin: 1rem;
  display: grid;
  grid-gap: 1.5rem;
  /* grid-template-rows: repeat(2,22rem); */
  grid-template-columns: repeat(4, 31rem);
}

.eachdiv {
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  box-shadow: 5px 5px 20px #6d6b6b6b;
  color: white;
}

.div1 {
  background: #733FC8;
  grid-column: 1/3;
  grid-row: 1/2;
  background-image: url(https://raw.githubusercontent.com/RahulSahOfficial/testimonials_grid_section/5532c958b7d3c9b910a216b198fdd21c73112d84/images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position-x: 25rem;
}

.div2 {
  background: #49556B;
  grid-column: 3/4;
  grid-row: 1/2;
}

.div3 {
  background: white;
  grid-column: 4/5;
  grid-row: 1/3;
  color: black;
}

.div4 {
  background: white;
  grid-column: 1/2;
  grid-row: 2/3;
  color: black;
}

.div5 {
  background: #18202D;
  grid-column: 2/4;
  grid-row: 2/3;
}

.userdetails {
  display: flex;
}

.imgbox {
  margin-right: 1rem;
}

.imgbox img {
  border-radius: 50%;
  width: 2rem;
  border: 2px solid #cec5c5;
}

.detbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detbox p {
  margin: 0;
}

.detbox .name {
  color: hsl(0, 0%, 81%);
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.detbox .name.dark {
  color: #49505A;
}

.detbox .designation {
  color: hsl(0, 0%, 81%);
  opacity: 50%;
  font-size: 0.8rem;
}

.detbox .designation.dark {
  color: #49505A;
}

.review h4 {
  font-size: 1.4rem;
  color: #F3DEFF;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.review.dark h4 {
  color: #4B5258;
}

.review p {
  font-size: 0.95rem;
  color: #F3DEFF;
  font-weight: 500;
  opacity: 50%;
  line-height: 1.5;
}

.review.dark p {
  color: #0e0e0e;
}

.attribution {
  font-size: 1rem;
  line-height: 1.5;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  text-align: right;
}

.attribution a {
  text-decoration: none;
}

@media only screen and (max-width: 1000px) {
  .innerdiv {
    transform: scale(0.7);
  }
}

@media only screen and (max-width: 800px) {
  .innerdiv {
    transform: scale(0.6);
  }
}

@media only screen and (max-width: 600px) {
  .div1 {
    background-position-x: 10rem;
  }

  .innerdiv {
    display: flex;
    flex-direction: column;
    transform: scale(1);
    margin: 2rem;
    margin-bottom: 5rem;
  }

  .attribution {
    position: relative;
  }
}


.btn {
  border-radius: 0.8rem;
}

.animated-bg {
  background: #af0009
}

.container_neutral {
  height: 25vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.container_neutral .card {
  /* width: 400px;
  min-height: 250px; */
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem;
  z-index: 10;
  color: whitesmoke;
}

.title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.container_neutral .btn {
  background: none;
  border: none;
  text-align: center;
  font-size: 1rem;
  color: #ef1c1c;
  background-color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  cursor: pointer;
}

.container_neutral .blob {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(180deg,
      rgba(47, 184, 255, 0.42) 31.77%,
      #5c9df1 100%);
  mix-blend-mode: color-dodge;
  -webkit-animation: move 25s infinite alternate;
  animation: move 25s infinite alternate;
  transition: 1s cubic-bezier(0.07, 0.8, 0.16, 1);
}

.container_neutral .blob:hover {
  width: 520px;
  height: 520px;
  -webkit-filter: blur(30px);
  filter: blur(30px);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.6),
    inset 100px 100px 0 0px #fa709a,
    inset 200px 200px 0 0px #784ba8,
    inset 300px 300px 0 0px #2b86c5;
}

@-webkit-keyframes move {
  from {
    transform: translate(-100px, -50px) rotate(-90deg);
    border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
  }

  to {
    transform: translate(500px, 100px) rotate(-10deg);
    border-radius: 76% 24% 33% 67% / 68% 55% 45% 32%;
  }
}

@keyframes move {
  from {
    transform: translate(-100px, -50px) rotate(-90deg);
    border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
  }

  to {
    transform: translate(500px, 100px) rotate(-10deg);
    border-radius: 76% 24% 33% 67% / 68% 55% 45% 32%;
  }
}


.card_custom {
  /* box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px; */
  /* margin: 0.8rem; */
  /* border-radius: 0.8rem; */
  /* padding: 0.8rem; */
  /* background-color: #ffffff; */
  margin-top: 1rem;
}

.card_custom h2 {
  margin-top: 0px !important;
}

.grey_bg {
  background-color: #f4f4f4 !important;
  padding: 0.8rem;
}


@media (max-width: 480px) {

  iframe,
  .video-item {
    width: 90%;
  }

  .scrollable-video-container {
    display: flex;
  }
}


.scrollable-video-container {
  display: flex;
  gap: 20px;
  /* Adds spacing between videos */
  overflow-x: auto;
  /* Enables horizontal scrolling */
  padding: 8px;
  /* Adds padding around the container */
  scroll-behavior: smooth;
  /* Smooth scrolling */
}

.scrollable-video-container::-webkit-scrollbar {
  height: 8px;
  /* Set the height of the scrollbar */
}

.video-item {
  flex: 0 0 auto;
  /* Prevents videos from shrinking or growing */
  width: 100%;
  /* Default width of the iframe */
  max-width: 350px;
  /* Optional: restrict to a maximum width */
}

.scroll-container {
  position: relative;
}

iframe {
  width: 100%;
  height: 100%;
  border-radius: 0.8rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}



.blog_container {
  display: flex;
  /* width: 1040px; */
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.blog_container .card {
  margin: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 300px;
}

.blog_container .card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog_container .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  min-height: 250px;
}

.tag {
  background: #cccccc;
  border-radius: 50px;
  font-size: 12px;
  margin: 0;
  color: #fff;
  padding: 2px 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.tag-teal {
  background-color: #6a0005;
}

.tag-purple {
  background-color: #5e76bf;
}

.tag-pink {
  background-color: #cd5b9f;
}

.blog_container .card-body p {
  font-size: 13px;
  margin: 0 0 40px;
}

.user {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.user img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.user-info h5 {
  margin: 0;
}

.user-info small {
  color: #545d7a;
}


.owl-carousel .owl-item li {
  margin: 1rem;
}

.card-texture {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 1rem;
  position: relative;
  background-color: #fff;
  /* min-height: 55rem; */
}

.card-texture li,
.content {
  /* text-align: justify; */
}

.card-texture::before {
  content: '';
  display: block;
  width: 100%;
  height: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  background: #6a0005;
}

.grey_background {
  background-color: #f9f9f9;
}


.grey_background ul {
  width: min(100%, 60rem);
  overflow: hidden;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
  list-style: none;
  perspective: 1000px;
  display: grid;
  row-gap: 0.5rem;
}

.grey_background ul li.card {
  position: relative;
  padding-block: 1.5rem;
  padding-inline: 0.5rem;
  background-color: #fefefe;
  background-image: linear-gradient(to right, rgb(0 0 0 / .15), transparent);
  transform-style: preserve-3d;
  color: #af0009;

  display: grid;
  grid-template: 'icon' 'title' 'content';
  /* row-gap: 0.5rem;
  column-gap: 2rem; */
}

.grey_background ul li.card:hover {

  background-color: #6a0005;
  /* background-image: linear-gradient(160deg, #115b9b -25%, #ef1c1c 50%, #115b9b 125%); */
  color: #fff;
}

.grey_background ul li.card::before,
.grey_background ul li.card::after {
  --side-rotate: 60deg;
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 20%;
  transform-origin: calc(50% - (50% * var(--ry))) 50%;
  transform: rotateY(calc(var(--side-rotate) * var(--ry)));
  background-color: inherit;
  background-image: linear-gradient(calc(90deg * var(--ry)), rgb(0 0 0 / .25), rgb(0 0 0 / .5));
}

.grey_background ul li.card::before {
  --ry: -1;
  right: 100%
}

.grey_background ul li.card::after {
  --ry: 1;
  left: 100%
}

.grey_background ul li.card .icon {
  grid-area: icon;
  display: grid;
  place-items: center;
}

.grey_background ul li.card .icon i {
  font-size: 2rem;
}

.grey_background ul li.card .title {
  grid-area: title;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center !important;
}

.grey_background ul li.card .content {
  grid-area: content;
}

@media (min-width: 30rem) {
  .grey_background ul li.card {
    grid-template: 'icon title' 'icon content';
    text-align: left;
  }

  .grey_background ul li.card .title {
    text-align: left
  }
}

.section-testmonials {
  background: #f9f9f9;
  padding: 2rem 0;
}

p {
  line-height: 2.5rem;
}


.center {
  text-align: center;
}

.container {
  width: 95%;
  max-width: 1220px;
  margin: 0 auto;
}

.episode {
  display: grid;
  grid-template-columns: 1fr 3fr;
  position: relative;
}

.episode__number {
  font-size: 2.5rem;
  /* font-size: 10vw; */
  font-weight: 600;
  padding: 10px 0;
  position: sticky;
  top: 0;
  text-align: center;
  height: calc(10vw + 20px);
  transition: all 0.2s ease-in;
  margin-right: 1rem;
}

.episode__content {
  border-top: 2px solid #fff;
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-gap: 10px;
  padding: 15px 0;
}

.episode__content .title {
  font-weight: 600;
  /* text-align: justify !important; */
  /* font-size: 14px; */
}

.episode__content .story {
  line-height: 1.5rem;
  text-align: justify;
}

@media (max-width: 600px) {
  .episode__content {
    grid-template-columns: 1fr;
  }

  .episode {
    display: block;
  }

  .episode__number {
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 1rem;
    text-decoration: underline;
  }

  .episode__content .title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .episode__content .story {
    /* font-size: 15px; */
  }
}

.episode__content {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  /* margin: 0.8rem; */
  border-radius: 0.5rem;
  padding: 2.5rem;
  background-color: #ffffff;
}

.episode {
  margin-bottom: 5rem
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.box {
  /* background-color: #ffffff; */
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  margin: 1rem 0rem;
}

.grey_bg .box {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

.centered-box {
  /* Centering the box within its parent container */
  display: flex;
  justify-content: center;
  /* centers horizontally */
  align-items: center;
  /* centers vertically */
  text-align: center;
  /* ensures multiline text is centered */
  height: 100%;
  /* optional: gives the box a fixed height */
  /* padding: 1.5rem; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
  /* transition: transform 0.2s ease; */
}

.padded-align-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.large-section {
  padding-top: 5rem;
  padding-bottom: 10rem;
}

.centered-element {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  height: 22rem;
}

.centered-element .col-icon-wrapper {
  min-height: auto !important;
  height: auto !important;
}

.main-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sub-grid-container {
  display: grid;
  grid-template-columns: repeat(1, 3fr);
  gap: 1.5rem;
}

.box {
  /* background-color: #ffffff; */
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  margin: 1rem 0rem;
}

.sub-grid-container p {
  text-align: center;
}

.our-services .about-us-details {
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  background: #6a0005;
  color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
}

.our-services .box {
  border: 1px solid;
}


.our-founder li::marker {
  content: ">> ";
  font-size: 1.2rem;
}

.gallery img {
  height: 210px;
}

@media only screen and (max-width: 767px) {
  .gallery img {
    height: 100%;
  }

  .navbar-brand img{
    height: 50px !important;
  }
}