/**
* Template Name: 
* Template URL: 
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #006fbe;
  text-decoration: none;
}

a:hover {
  color: #008df1;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #006fbe;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #0087e7;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  box-shadow: 0px 2px 15px rgba(36, 50, 93, 0.06);
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#header .logo a {
  color: #24325d;
}

#header .logo img {
  max-height: 100px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2b3c6f;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: #006fbe;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #006fbe;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #24325d;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(22, 30, 56, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #24325d;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #006fbe;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #006fbe;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 80vh;
  background-color: rgba(22, 30, 56, 0.8);
  overflow: hidden;
  position: relative;
}

#hero .carousel, #hero .carousel-inner, #hero .carousel-item, #hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 70px;
  left: 50px;
  right: 50px;
}

#hero .container {
  text-align: center;
}

#hero h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
}

#hero p {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover, #hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: .6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #006fbe;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  background: #006fbe;
}

#hero .btn-get-started:hover {
  background: #007ed8;
}

@media (max-width: 992px) {
  #hero {
    height: 100vh;
  }
  #hero .carousel-container {
    top: 8px;
  }
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  #hero .carousel-control-prev, #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #b4e0ff;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #006fbe;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# My & Family
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #006fbe;
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  color: #006fbe;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #006fbe;
}

.about .content .btn-learn-more:hover {
  background: #006fbe;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.features .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: 0.5s;
  overflow: hidden;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.features .icon i {
  line-height: 0;
  color: #006fbe;
  font-size: 34px;
}

.features .icon-box:hover .icon {
  box-shadow: 0px 0 25px rgba(0, 111, 190, 0.3);
}

.features .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.features .title a {
  color: #444444;
  transition: 0.3s;
}

.features .title a:hover {
  color: #006fbe;
}

.features .title::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #006fbe;
  bottom: 0;
  left: calc(50% - 25px);
}

.features .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Recent Photos
--------------------------------------------------------------*/
.recent-photos {
  overflow: hidden;
}

.recent-photos .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.recent-photos .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #006fbe;
}

.recent-photos .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #006fbe;
}

.recent-photos .owl-nav, .recent-photos .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.recent-photos .owl-item {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

.recent-photos .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #95d3ff !important;
}

.recent-photos .owl-dot.active {
  background-color: #006fbe !important;
}

.recent-photos .gallery-carousel .owl-stage-outer {
  overflow: visible;
}

.recent-photos .gallery-carousel .center {
  border: 6px solid #006fbe;
  margin: -10px;
  box-sizing: content-box;
  padding: 4px;
  background: #fff;
  z-index: 1;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f5f7fb;
  min-height: 40px;
  margin-top: 70px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 58px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  margin-bottom: 0;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #324682;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Story Intro
--------------------------------------------------------------*/
.story-intro .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.story-intro .content ul {
  list-style: none;
  padding: 0;
}

.story-intro .content ul li {
  padding-bottom: 10px;
}

.story-intro .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #006fbe;
}

.story-intro .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Featured Members
--------------------------------------------------------------*/
.featured-members .content + .content {
  margin-top: 100px;
}

.featured-members .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.featured-members .content ul {
  list-style: none;
  padding: 0;
}

.featured-members .content ul li {
  padding-bottom: 10px;
}

.featured-members .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #006fbe;
}

.featured-members .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Members
--------------------------------------------------------------*/
.members {
  background: #fff;
  padding: 60px 0;
}

.members .member {
  margin-bottom: 20px;
  overflow: hidden;
}

.members .member .member-img {
  position: relative;
  overflow: hidden;
}

.members .member .social {
  position: absolute;
  left: 0;
  bottom: -40px;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: bottom ease-in-out 0.4s;
  text-align: center;
  background: rgba(0, 111, 190, 0.8);
}

.members .member .social a {
  transition: color 0.3s;
  color: #fff;
  margin: 0 10px;
  padding-top: 8px;
  display: inline-block;
}

.members .member .social a:hover {
  color: #006fbe;
}

.members .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.members .member .member-info h4 {
  font-weight: 700;
  margin: 15px 0 5px 0;
  font-size: 18px;
}

.members .member .member-info span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
  color: #006fbe;
}

.members .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.members .member:hover .social {
  bottom: 0;
  opacity: 1;
  transition: bottom ease-in-out 0.4s;
}

/*--------------------------------------------------------------
# Event List
--------------------------------------------------------------*/
.event-list .card {
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.event-list .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.event-list .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.event-list .card-body {
  z-index: 10;
  background: #fff;
  border-top: 4px solid #fff;
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.event-list .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #24325d;
}

.event-list .card-title a {
  color: #24325d;
  transition: 0.3s;
}

.event-list .card-text {
  color: #5e5e5e;
}

.event-list .read-more a {
  color: #777777;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  transition: 0.3s;
}

.event-list .read-more a:hover {
  color: #006fbe;
}

.event-list .card:hover img {
  transform: scale(1.1);
}

.event-list .card:hover .card-body {
  border-color: #006fbe;
}

.event-list .card:hover .card-body .card-title a {
  color: #006fbe;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery .gallery-item {
  margin-bottom: 30px;
}

.gallery #gallery-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.gallery #gallery-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s;
}

.gallery #gallery-flters li:hover, .gallery #gallery-flters li.filter-active {
  color: #006fbe;
}

.gallery #gallery-flters li:last-child {
  margin-right: 0;
}

.gallery .gallery-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(36, 50, 93, 0.6);
}

.gallery .gallery-wrap::before {
  content: "";
  background: rgba(36, 50, 93, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.gallery .gallery-wrap .gallery-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery .gallery-wrap .gallery-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.gallery .gallery-wrap .gallery-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.gallery .gallery-wrap .gallery-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.gallery .gallery-wrap .gallery-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.gallery .gallery-wrap .gallery-links {
  text-align: center;
  z-index: 4;
}

.gallery .gallery-wrap .gallery-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.gallery .gallery-wrap .gallery-links a:hover {
  color: #25a4ff;
}

.gallery .gallery-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.gallery .gallery-wrap:hover .gallery-info {
  opacity: 1;
}

.gallery .gallery-wrap:hover .gallery-info::before {
  top: 15px;
  left: 15px;
}

.gallery .gallery-wrap:hover .gallery-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/
.contact-us .info {
  width: 100%;
  background: #fff;
}

.contact-us .info i {
  font-size: 20px;
  color: #006fbe;
  float: left;
  width: 44px;
  height: 44px;
  background: #e7f5ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact-us .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #24325d;
}

.contact-us .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #405aa7;
}

.contact-us .info .email, .contact-us .info .phone {
  margin-top: 40px;
}

.contact-us .info .email:hover i, .contact-us .info .address:hover i, .contact-us .info .phone:hover i {
  background: #006fbe;
  color: #fff;
}

.contact-us .php-email-form {
  width: 100%;
  background: #fff;
}

.contact-us .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact-us .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-us .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact-us .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact-us .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact-us .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact-us .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact-us .php-email-form input, .contact-us .php-email-form textarea {
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact-us .php-email-form input:focus, .contact-us .php-email-form textarea:focus {
  border-color: #006fbe;
}

.contact-us .php-email-form input {
  height: 44px;
}

.contact-us .php-email-form textarea {
  padding: 10px 12px;
}

.contact-us .php-email-form button[type="submit"] {
  background: #006fbe;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact-us .php-email-form button[type="submit"]:hover {
  background: #007ed8;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #1d284b;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #006fbe;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #007ed8;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}

#footer .credits a {
  color: #006fbe;
  transition: 0.3s;
}

#footer .credits a:hover {
  color: #008df1;
}


/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

.clients img:hover {
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# ✅ AA MEETINGS (Optimizado para Desktop + Móvil)
--------------------------------------------------------------*/

#aa-meetings {
  background: linear-gradient(to bottom, #ffe8e8 0%, #f9f9f9 15%, #f0f4f8 100%);
  box-shadow: inset 0 5px 10px rgba(0,0,0,0.05);
  padding: 3rem 1rem;
}

#aa-meetings h2 {
  color: #000;
  letter-spacing: 1px;
  font-weight: 700;
}

#aa-meetings hr {
  border-top: 3px solid #ab1414;
  width: 25%;
  margin: 0 auto 1.5rem;
}

#aa-meetings table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  border-collapse: collapse;
}

#aa-meetings table th {
  background-color: #ab1414 !important;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px;
}

#aa-meetings table td {
  vertical-align: middle;
  padding: 10px;
  color: #222;
  font-size: 0.95rem;
}

#aa-meetings tbody tr:hover {
  background-color: rgba(171, 20, 20, 0.08);
  transition: background-color 0.3s ease;
}

#aa-meetings .table-secondary {
  background-color: #f8d7da !important;
  color: #7b1e1e;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

/* 🔹 Contenedor responsivo */
#aa-meetings .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}

/*--------------------------------------------------------------
# 📱 Ajuste total para móviles
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* Muestra correctamente todo el contenido con scroll horizontal si es necesario */
  #aa-meetings .table-responsive {
    overflow-x: auto !important;
    display: block;
    width: 100%;
  }

  /* Quita el borde redondeado que corta el contenido */
  #aa-meetings table {
    min-width: 600px; /* activa scroll horizontal solo cuando hace falta */
    border-radius: 0;
  }

  /* Ajusta textos */
  #aa-meetings h2 {
    font-size: 1.6rem;
  }

  #aa-meetings p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  /* Ajusta tabla */
  #aa-meetings th,
  #aa-meetings td {
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    font-size: 0.9rem;
  }

  /* Scrollbar más visible */
  #aa-meetings .table-responsive::-webkit-scrollbar {
    height: 6px;
  }

  #aa-meetings .table-responsive::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 3px;
  }
}




/*--------------------------------------------------------------
# Recovery Hero Section
--------------------------------------------------------------*/
#recovery-hero {
  position: relative;
  height: 100vh;
  background: url("../img/recovery-hero.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* 🔹 Overlay con degradado dinámico */
#recovery-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
  z-index: 1;
}

/* 🔹 Contenedor del texto */
#recovery-hero .container {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 20px;
  animation: fadeInUp 1.5s ease;
}

/* 🔹 Encabezado principal y subtítulo */
#recovery-hero h1 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #fffdf9; /* blanco cálido */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

#recovery-hero h3 {
  font-weight: 400;
  color: #ffebd2; /* dorado suave */
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* 🔹 Texto descriptivo */
#recovery-hero p {
  font-size: 1.15rem;
  color: #f9f9f9;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* 🔹 Botones principales */
#recovery-hero .btn-light {
  background-color: #ffffff;
  color: #ab1414;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#recovery-hero .btn-light:hover {
  background-color: #ab1414;
  color: #fff;
  transform: translateY(-2px);
}

/* 🔹 Botón secundario (contorno claro) */
#recovery-hero .btn-outline-light {
  color: #fff;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

#recovery-hero .btn-outline-light:hover {
  background-color: #fff;
  color: #ab1414;
  transform: translateY(-2px);
}

/* ✨ Animación sutil de fondo (efecto breathing) */
@keyframes heroZoom {
  0% {
    background-size: 100%;
  }
  100% {
    background-size: 110%;
  }
}

/* ✨ Animación de entrada del contenido */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Responsivo para móviles */
@media (max-width: 768px) {
  #recovery-hero {
    height: 85vh;
    background-position: center;
  }

  #recovery-hero h1 {
    font-size: 1.8rem;
  }

  #recovery-hero h3 {
    font-size: 1.1rem;
  }

  #recovery-hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  #recovery-hero .btn {
    width: 90%;
    margin: 0 auto;
  }
}

/* ===== FIX: Mobile-safe viewport + espacio para header ===== */
:root { --headerH: 64px; }             /* alto aprox. del header fijo */
@media (min-width: 992px){ :root{ --headerH: 72px; } }

/* Usa alto seguro del viewport (svh/dvh) y, si no existe, cae a vh */
#recovery-hero{
  /* quita height fijo y usa min-height con fallback */
  height: auto;
  min-height: calc(100vh - var(--headerH));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--headerH); /* evita que el header tape el h1 */
}

/* Soporte moderno: usa svh/dvh cuando esté disponible */
@supports (height: 100svh){
  #recovery-hero{
    min-height: calc(100svh - var(--headerH));
  }
}
@supports (height: 100dvh){
  #recovery-hero{
    min-height: calc(100dvh - var(--headerH));
  }
}

/* Contenido más flexible y legible en móvil */
#recovery-hero .container{
  width: min(92vw, 850px);
}

/* Ajustes tipográficos y botones en móvil */
@media (max-width: 768px){
  #recovery-hero{
    background-position: center;
    /* la animación puede causar “saltos” en algunos móviles;
       si notas parpadeo, coméntala en móvil */
    animation: none;
  }
  #recovery-hero h1{ font-size: 1.85rem; line-height: 1.2; }
  #recovery-hero h3{ font-size: 1.05rem; }
  #recovery-hero p{
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 16px;
    padding: 0 10px;
    max-width: 620px;
  }
  #recovery-hero .btn{
    width: 92%;
    max-width: 520px;
    margin-left: auto; margin-right: auto;
  }
}

/* Suaviza el overlay en pantallas pequeñas para mejorar contraste */
@media (max-width: 576px){
  #recovery-hero .overlay{
    background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.2));
  }
}

/* (Opcional) si tu sección tiene un anchor #recovery-hero
   y usas header fijo, esto evita que el scroll lo tape */
#recovery-hero{ scroll-margin-top: var(--headerH); }


/* ===== END - FIX: Mobile-safe viewport + espacio para header ===== */


/*--------------------------------------------------------------
# Features Section (Final Uniform Red Version)
--------------------------------------------------------------*/
#features {
  background: linear-gradient(to bottom, #fff7f7 0%, #ffffff 100%);
  padding: 80px 0;
}

/* Section Title */
#features .section-title h2 {
  color: #ab1414;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#features .section-title p {
  color: #555;
}

/* Feature Cards */
#features .feature-box {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(171, 20, 20, 0.12);
  transition: all 0.35s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

#features .feature-box:hover {
  transform: translateY(-6px);
  background-color: #fff4f4;
  border: 1px solid rgba(171, 20, 20, 0.4);
  box-shadow: 0 8px 25px rgba(171, 20, 20, 0.15);
}

/* Icon Styles */
#features .icon {
  background: rgba(171, 20, 20, 0.1);
  color: #ab1414;
  font-size: 2rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#features .feature-box:hover .icon {
  background: #ab1414;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(171, 20, 20, 0.3);
}

/* Fix: ensure icons from Bootstrap use red by default */
#features .icon i {
  color: inherit !important;
  transition: all 0.3s ease;
}

/* Titles & Text */
#features h4 {
  color: #222;
  font-weight: 700;
}

#features p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Learn More Links */
#features .feature-link {
  color: #ab1414;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

#features .feature-link:hover {
  color: #6b0f0f;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  #features .feature-box {
    margin-bottom: 1.5rem;
  }
}


#clients {
  background-color: #b3d9f9;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  width: 100vw; /* 🔹 ocupa todo el ancho de la ventana */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw; /* elimina márgenes del contenedor */
}

#clients h2 {
  color: #ab1414;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.client-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 120px; /* mantiene la altura constante */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px; /* 🔹 logos más juntos */
  animation: scrollTrack 35s linear infinite; /* 🔹 más rápido y suave */
  will-change: transform;
}

.carousel-track li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track li a img {
  height: 90px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.carousel-track li a:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* 🔁 Loop infinito */
.carousel-track::after {
  content: "";
  display: inline-flex;
  width: 100%;
}

@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .client-carousel {
    height: 90px;
  }

  .carousel-track {
    gap: 20px;
    animation-duration: 25s;
  }

  .carousel-track li a img {
    height: 70px;
  }
}

/* pausa con hover */
.client-carousel:hover .carousel-track {
  animation-play-state: paused;
}



/* El Paso Recovery Homes */

.recovery-homes-premium{
  background:
    radial-gradient(circle at top left, rgba(171,20,20,0.05), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0,74,173,0.05), transparent 25%),
    linear-gradient(180deg, #fff8f8 0%, #f8fbff 55%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.homes-badge{
  display:inline-block;
  padding:8px 18px;
  border-radius:999px;
  background:rgba(171,20,20,0.08);
  color:#ab1414;
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.homes-title{
  margin-top:18px;
  font-size:2.4rem;
  font-weight:800;
  color:#101828;
  letter-spacing:-0.03em;
}

.homes-subtitle{
  max-width:780px;
  margin:14px auto 0;
  color:#667085;
  font-size:1.05rem;
  line-height:1.85;
}

.homes-divider{
  width:92px;
  height:4px;
  margin:22px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,#ab1414,#d93b3b);
}

.homes-group{
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(171,20,20,0.08);
  border-radius:28px;
  padding:32px;
  box-shadow:0 20px 55px rgba(16,24,40,0.07);
}

.group-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:26px;
}

.group-header h3{
  margin:0 0 8px;
  font-size:1.55rem;
  font-weight:800;
  color:#101828;
}

.group-header p{
  margin:0;
  color:#667085;
  font-size:1rem;
}

.estate-card{
  background:#fff;
  border:1px solid #eceff3;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(16,24,40,0.06);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  height:100%;
}

.estate-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 40px rgba(16,24,40,0.10);
  border-color:rgba(171,20,20,0.16);
}

.estate-media{
  position:relative;
  height:260px;
  overflow:hidden;
  cursor:pointer;
  background:#f2f4f7;
}

.featured-media{
  height:100%;
  min-height:420px;
}

.estate-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}

.estate-card:hover .estate-media img{
  transform:scale(1.08);
}

.estate-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(16,24,40,0.58), rgba(16,24,40,0.10) 45%, rgba(16,24,40,0.05));
  opacity:.9;
  transition:opacity .35s ease;
}

.estate-card:hover .estate-overlay{
  opacity:1;
}

.estate-pill{
  position:absolute;
  top:16px;
  left:16px;
  z-index:2;
  display:inline-block;
  background:linear-gradient(135deg,#b70d0d,#de2b2b);
  color:#fff;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:9px 13px;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
}

.women-pill{
  background:linear-gradient(135deg,#b02255,#d43c73);
}

.estate-view{
  position:absolute;
  right:16px;
  bottom:16px;
  z-index:2;
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.2);
}

.estate-body{
  padding:22px 20px 24px;
}

.estate-body h4,
.featured-copy h4{
  margin:0 0 12px;
  font-size:1.22rem;
  font-weight:800;
  color:#101828;
}

.estate-body p,
.featured-copy p{
  margin:0 0 18px;
  color:#667085;
  line-height:1.8;
  font-size:.97rem;
}

.estate-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:linear-gradient(135deg,#ab1414,#d33131);
  color:#fff;
  font-weight:700;
  padding:12px 18px;
  border-radius:12px;
  transition:all .25s ease;
  box-shadow:0 12px 22px rgba(171,20,20,0.18);
}

.estate-btn:hover{
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(171,20,20,0.25);
}

.featured-copy{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%);
  border:1px solid #eceff3;
  border-radius:24px;
  padding:34px 28px;
  box-shadow:0 12px 28px rgba(16,24,40,0.05);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.featured-label{
  display:inline-block;
  margin-bottom:14px;
  color:#ab1414;
  font-size:.82rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.home-lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(10,16,28,0.92);
  padding:40px 20px;
  text-align:center;
}

.home-lightbox-img{
  max-width:92%;
  max-height:88vh;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,0.45);
  animation:homeZoomIn .25s ease;
}

@keyframes homeZoomIn{
  from{transform:scale(.96);opacity:0;}
  to{transform:scale(1);opacity:1;}
}

.home-lightbox-close{
  position:absolute;
  top:20px;
  right:28px;
  color:#fff;
  font-size:42px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
}

.reveal-up{
  opacity:0;
  transform:translateY(30px);
  transition:all .8s ease;
}

.reveal-up.active{
  opacity:1;
  transform:translateY(0);
}

@media (max-width: 1199.98px){
  .estate-media{
    height:230px;
  }

  .featured-media{
    min-height:360px;
  }
}

@media (max-width: 991.98px){
  .homes-title{
    font-size:2rem;
  }

  .homes-group{
    padding:24px;
  }

  .estate-media{
    height:250px;
  }

  .featured-media{
    min-height:320px;
  }

  .featured-copy{
    padding:26px 22px;
  }
}

@media (max-width: 575.98px){
  .recovery-homes-premium{
    padding-top:3.5rem !important;
    padding-bottom:3.5rem !important;
  }

  .homes-title{
    font-size:1.7rem;
  }

  .homes-subtitle{
    font-size:.98rem;
    line-height:1.7;
  }

  .group-header h3{
    font-size:1.25rem;
  }

  .homes-group{
    padding:18px;
    border-radius:22px;
  }

  .estate-media{
    height:220px;
  }

  .featured-media{
    min-height:240px;
  }

  .estate-body{
    padding:18px 16px 20px;
  }

  .estate-btn{
    width:100%;
  }
}