
/* Fonts */
:root {
  --default-font: "Montserrat", serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #040677; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1acc8d; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #1acc8d; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1acc8d; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f5fe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #08005e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0c0091;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
.food-resource-link a{
color: #f4a40d;
}
.food-resource-link a:hover{
  color: #f4a40d;
text-decoration: underline;
}
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}
#photoCarousel .carousel-control-prev,
#photoCarousel .carousel-control-next {
  top: 40%;
  height: auto;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


h2{
  font-size: clamp(2.25rem, 1.9489rem + 1.5054vw, 3.125rem);
      font-weight: 800;
      color: #035f34;
}
p{
  line-height: 1.6;
  font-size: 16px;
  color: #444;
}
.biopageimg{
  border: 8px solid #035f34;
}
.jobtitle{
  color:#444;
  display:block;
  text-align:center;
  margin-bottom: 10px;
}
.person-name{
  margin-bottom: 0;
}
.credentials{
  background-color: #fff;
  padding: 20px 10px;
  min-height: 244px;
}
.carousel-caption-below {
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #333;
font-weight: bold;
}
#photoCarousel img{
  border-radius: 15px;
}

 .content-area .video-background, .project-management-section, .text-left-background, .acquisitions-section, .subcontractors-section, .benefits-preview, .wolf-section {
        background-attachment: scroll !important;
        padding: 48px 0;
    }
.doc-back{
  background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(../img/rchc/walk-doc.jpg) fixed center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.b-roll-back{
  background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(../img/rchc/rockingham-video-image.jpg) fixed center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
body .video-background h2{
  font-size: clamp(2rem, 3.2vw, 4rem);
  color: #fff; 
}
.video-background p{
  color: #fff;
}

.play-btn {
    width: 160px;
    height: 160px;
    background: radial-gradient(#71aeb7 50%, rgb(113 174 183 / 0.5) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}
.play-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid #fff0;
    border-bottom: 20px solid #fff0;
    border-left: 38px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.play-btn::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    animation-delay: 0s;
    animation: pulsate-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 6px solid rgb(113 174 183 / 1);
    left: 0%;
    background: #fff0;
}
.play-btn:hover::after {
    border-left: 15px solid #71aeb7;
    transform: scale(20);
}
.play-btn:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 20px solid #fff0;
    border-bottom: 20px solid #fff0;
    border-left: 38px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}
@keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

@media screen and (max-width: 580px) {  
    

  .video-background{
    height: 100%;
    min-height: 50vh;
    background-attachment: scroll !important;
  }
}


.about-overview{
      padding-top: 100px;
background-color: #3d673d; 
}
.about-overview .container{
display: flex;
    justify-content: center;
}
.about-overview p,
.about-overview h2, .about-overview ul {
  color: #fff !important;
}
#team {
 
             padding: 0;
              background: url('../img/rchc/background-pattern.jpg') no-repeat center;
           background-size: cover;
           padding: 160px 0;
}
#team .member, .small-bio .member {
    text-align: center;
    margin-bottom: 20px;
    position: relative;   
    border: 8px solid #035f34;
}
#team h3, .small-bio h3{
  color: #035f34;
  font-weight: 700;
}
#team .member .member-info, .small-bio .member .member-info{
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    transition: 0.2s;
}
#team .member .member-info-content, .small-bio .member .member-info-content {
    margin-top: -50px;
    transition: margin 0.2s;
}
#team .member:hover .member-info, .small-bio .member:hover .member-info {
  background-color: rgba(3, 95, 52, .5);
    opacity: 1;
    transition: 0.4s;
}
.member .pic img {
  filter: grayscale(0%);
  transition: filter 0.4s ease, transform 0.4s ease;
  border-radius: 0;
}

.member:hover .pic img {
  filter: grayscale(100%);
  transform: scale(1.08);
}


#team .member:hover .member-info-content {
    margin-top: 0;
    transition: margin 0.4s;
}
#team p {
    text-align: left;
}


#team .member .social {
    margin-top: 15px;
}
#team .member .social a {
    transition: none;
    color: #fff;
}
#team .member .social a:hover {
    color: #ddd;
}
#team .member .social i {
    font-size: 18px;
    margin: 0 2px;
}




.timeline-wrapper h2{
  color: #fff;
  text-align: center;
}
/*.internal-hero{
  height: 73vh !important;
}*/

.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-banner__content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  padding: 1rem;
}

.hero-banner__heading {
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-banner__heading span {
  color: #f2da76;
}

.hero-banner__cta {
  padding: 0.75rem 1.5rem;
}


.logo-animation{
  
    width: 400px;
    transition: 0.3s;
}
 .scrolled .logo-animation{
   width: 250px !important;
}
/*.pause-icon-wrapper {
  position: absolute;
    top: 110px;
    right: 70px;
    z-index: 10;
    width: 100px;
}
.pause-icon-wrapper img{
  width: 90px;
}*/
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}






/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: #fff;
 /* padding: 5px 0;*/
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  height: 80px;
  margin-right: 8px;
  transition: 0.3s;
}
.scrolled .header .logo img{
  height: 50px;
}
.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 8px rgba(0, 0, 0, 0.5);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
 background-color: #fff;
}

.who-we-are {
    position: relative;
    display: flex;
            align-items: center;
            justify-content: center;
            /*padding: 160px 0;*/
            overflow: hidden;
  z-index: 0;
    /*background: url("../img/rchc/logo-icon.jpg") no-repeat -30px -20px;  Placeholder image before scrolling 
    transition: background-image 0.5s ease-in-out;*/
}
/*.who-we-are.active {
     background: url('../img/rchc/RCHCLogo-Icon.gif') no-repeat -57px -60px;  
   background-size: 20%;
}*/


/*
.svg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.svg-container object {
  width: auto;
  height: auto;
  max-width: 410px;
  max-height: 100%;
  position: relative;
  top: -70px;
  left: -80px;

  
}*/

/* .who-we-are {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 160px 0;
            background: url('../img/rchc/logo-icon.jpg') no-repeat -30px -20px;
             background: url('../img/rchc/RCHC-Logo-Icon-Animated.gif') no-repeat -57px -60px;
             background-size: 20%;

        }*/


      /* .who-we-are .content{
        margin-top: 48px;
       } */
       
.fb-content iframe {
  width: 100% !important;
  max-width: 100%;
  height: 500px;
}

       
        .who-we-are p strong {
            font-weight: 700;
        }
        .who-we-are .btn-learn {
            border: 2px solid #035f34;
            color: #035f34;
        }
        .who-we-are .btn-learn:hover {
            background: #035f34;
            color: white;
        }
        .who-we-are img {
            max-width: 100%;
            border-radius: 15px;
            /*width: 560px;*/
           
        }
.whymatterimg{
  padding-left: 16px;
}
        .why-it-matters {
            display: flex;
            align-items: center;
            justify-content: center;
             padding: 0;
              background: url('../img/rchc/background-pattern.jpg') no-repeat center;
           background-size: cover;

        }
        .why-it-matters .content {
            padding: 0 48px 0 190px;
            
           height: 100%;
           display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px){
  .whymatterimg {
    padding-left: 0;
}
.who-img{
  display: flex;
    justify-content: center !important;
}
    .why-it-matters .content {
        padding: 0;
        display: flex;
    align-items: flex-start;
    }
}
      @media (min-width: 769px) {
    .container-md {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .container-md {
        display: block !important;
    }
  .logo-animation{
        width: 250px !important;
      } 
      
}

        .happening-now .content{
          background: none;
        }
       .happening-now{
       padding: 160px 0;
        background: none;
       } 
       .fb-content{
            display: flex;
    justify-content: center;
       }
        .why-it-matters .btn-info, .contact .form-container .btn-submit {
            border: 2px solid #035f34;
            color: #035f34;
        }
        .why-it-matters .btn-info:hover{
            background: #035f34;
            color: white;
        }
        .why-it-matters img {
            width: 100%;
            object-fit: cover;
            height: 100%;
        }
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #444;
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .scrolled .navmenu a,
  .scrolled .navmenu a:focus {
    font-size: 14px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #3c673c;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #3c673c;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

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

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

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

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: #3c673c;
  }

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

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

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


@media (min-width: 991px) and (max-width: 1199px) {
  .why-it-matters .content{
  padding: 0 48px;
}
}
/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    position: fixed;   
    right: 20px;
    font-size: 44px;
    color: #035f34;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
    width: 55px;
  }
  .navmenu button{
    background-color: transparent;
    border: none;
    color: white;
    width: 95px;
  }
.who-we-link{
        padding-left: 45px !important;
      }
 

  .navmenu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 100%;
    height: 100vh;
    background-color: #035f34;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
  }

  /* Slide-in effect when active */
  .navmenu.active {
    right: 0;
  }

  .navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
  }

  .navmenu ul li {
    margin: 15px 0;
  }

  .navmenu ul li a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    display: block;
    padding: 10px;
    transition: color 0.3s ease-in-out;
  }

  .navmenu ul li a:hover {
    color: #f4a40d;
  }

  /* Close icon animation */
  .mobile-nav-toggle.active {
    transform: rotate(90deg);
    width: 55px;
        right: 27px !important;
  }

  /* Dropdown */
  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  /* Close menu when clicking outside */
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: white;
    position: absolute;
    font-size: 64px;    
    right: 15px;
    z-index: 9999;
  }
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background: #3d673d url('../img/rchc/footer-logo-back.png') no-repeat center 248px;
    background
    color: #ffffff;
    padding: 48px 0 140px 0;
    position: relative;
}

/* Footer Titles */
.footer h4 {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Footer Text & Links */
.footer p, .footer a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Footer Sections */
.footer .footer-contact,
.footer .footer-links {
    padding-top: 10px;
}

/* Footer Links */
.footer .footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-links{
  display: flex;
    align-items: flex-end;
    flex-direction: column;
}
.footer .footer-links ul li {
    margin-bottom: 8px;
}
.footer-links-content{
  text-align: left;
}
.footer .footer-links ul a {
    display: block;
    color: #ffffff;
}
.footer .container{
      max-width: 1000px;
}
.footer .footer-links ul a:hover {
    text-decoration: underline;
}

/* Centering the Logo */
.footer .footer-logo {
    text-align: center;
}

.footer .footer-logo img {
    max-width: 160px;
    margin-bottom: 10px;
}

/* Footer Bottom (Yellow Section) */
.footer-bottom {
    background-color: #fdba19; /* Yellow Bottom Bar */
    padding: 8px 0;
    text-align: center;
    color: #222222;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer Bottom Links */
.footer-bottom a {
    color: #222222;
    font-weight: 400;
    margin-left: 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Social Media Icons */
.footer-bottom .social-icon {
    font-size: 28px;
    color: #222222;
    margin-left: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease-in-out;
}

.footer-bottom .social-icon:hover {
    color: #444444;
}

/* Footer Watermark */
.footer-logo-watermark {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.25; /* Make it more visible */
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer .footer-logo img {
        max-width: 100px;
    }
body .footer{
      background-size: 100%;
      background-position: center bottom;
    }
    .footer-logo-watermark {
        font-size: 20px;
        bottom: 20px;
    }
    .footer .footer-contact,
   .footer .footer-links, .footer-links-content {
        text-align: center !important;
    } 
    .footer .footer-links{
      justify-content: center;
          align-items: center;
    }
    .container > div {
      padding: 0 20px;
    }
    .footer .footer-logo img{
      margin: 20px 0;
    }
    .header .logo img{
      height: 60px;
    }
body .footer-bottom{
      flex-direction: column;
    }
body .hero .hero-waves{
      height: 50px;
    }
body .hero{
      height: 100%;
     padding: 0px;
     margin-top: 45px;
    }
     .who-we-are{
      padding: 60px 0;
     }
     .who-img{
      padding: 0 20px;
     }
}
.who-img{display: flex;
    justify-content: flex-end;
    padding-right: 20px;
  }
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-col
    or);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: #3d673d transparent #3d673d transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #928e33;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 40px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: #928e33;
  opacity: 0.5;
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/



.hero-content {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Ensures it takes full viewport height */
}

/* Wrapper to ensure text changes smoothly but stays in place */
.hero-text-wrapper {
    position: relative;
    width: 100%;
    height: 80px; /* Fixed height to prevent layout shifts */
    display: flex;
    justify-content: center;
    align-items: center;
}








.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  padding: 120px 0 120px 0;
  display: flex;
  align-items: center;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
 background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 100%, transparent);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 100%;
  padding: 0 !important;
}
@media (max-width: 768px) {
    .hero .container > div {
        padding: 0 !important;
    }
}

#heroCarousel {
  height: 100vh;
}

.carousel-inner, .carousel-item {
  height: 100%;
}
.carousel-caption{
  height: 90%;
  z-index: 3
}
.carousel-item img {
  object-fit: cover;
  height: 100%;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 1.5rem;
    height: 100%;
    background-size: 240%;
}
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* adjust opacity/color as needed */
  z-index: 1;
}

        #heroCarousel h1, .hero-banner__heading {
            font-size: clamp(1.5rem, 1.6559rem + 1.7204vw, 3.8rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: 0.13125rem;
            z-index: 3;

        }

         .hero-content span {
            color: #f4a40d; /* Gold/Orange highlight */
        }
    .gen-btn, .contact .form-container .btn-submit{
           text-transform: uppercase;
            font-weight: 500;
            display: inline-block;
            margin-top: 20px;
            padding: 12px 56px;
            text-decoration: none;
            font-size: clamp(1rem, 0.957rem + 0.2151vw, 1.125rem);
            border-radius: 30px;
            transition: 0.3s ease-in-out;
        }
        .btn-submit{
          max-width: 100% !important;
        }
        .contact .form-container .btn-submit,  .btn-submit{
          background: #fff;
          max-width: 50%;
          color: #000;
          border: 2px solid white;
        }
        .contact .form-container .btn-submit:hover, .btn-submit:hover{
          background: transparent;
          color: #fff;
          border: 2px solid white;
        }
        .cta-button {
            
            border: 2px solid white;
            color: white;
            
        }

        .cta-button:hover {
            background: white;
            color: black;
        }


.hero h1 span {
  color: #f4a40d;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
   /* font-size: 24px;*/
 /*   line-height: 30px;*/
  }
 #heroCarousel h1{
  line-height: 28px;
  font-size: 24px;
 }
 #heroCarousel {
  height: 60vh;
 }
  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

.hero .hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.hero .wave1 use {
  animation: move-forever1 12s linear infinite;
  animation-delay: -2s;
  fill: #fdba19;
  opacity: 0.6;
}

.hero .wave2 use {
  animation: move-forever2 10s linear infinite;
  animation-delay: -2s;
  fill: #b0bc36;
  opacity: 0.4;
}

.hero .wave3 use {
  animation: move-forever3 8s linear infinite;
  animation-delay: -2s;
  fill: #3d673d;
 
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 100px;
  background: #3d673d url('../img/rchc/OUR-MISSION.jpg') no-repeat bottom center;
  background-size: contain;
  height: 60vh;
}
.content-center{
  display: flex
;
    justify-content: center;
}
.about .content h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 7px;
  display: inline-block;
}

.about .content h2 {
  font-weight: 700;
}

.about .content p{
  color: #fff;
  text-align: center;
  font-size: clamp(1.25rem, 1.1425rem + 0.5376vw, 1.5625rem);
}


.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .icon-box {
  background-color: var(--surface-color);
  padding: 50px 40px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease-out 0s;
}

.about .icon-box i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition: all 0.4s ease-out 0s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.about .icon-box h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.about .icon-box p {
  margin-bottom: 0;
}

.about .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

@media (max-width: 768px) {

  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
  .why-it-matters .content{
    padding: 48px 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}
 
/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
  .stats {
            background-color: #fdf0d1; /* Light beige background */
            padding: 40px 0;
        }

        .stats .stats-item {
            background-color: #ffffff; /* White card background */
            padding: 30px;
            text-align: center;
            border-radius: 8px;
            box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease-in-out;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

       
        .stats .stats-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }

        .stats .stats-icon img {
            width: 40px; /* Adjust size as needed */
            height: auto;
        }

        .stats .stats-number {
            font-size: 36px;
            font-weight: 800;
            color: #035f34; /* Dark green text */
            display: block;
            margin-top: 5px;
        }

        .stats .stats-item p {
            margin: 0;
            font-size: 16px;
            color: #333;
        }



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact .contact-wrapper {
    grid-template-columns: 38% 62%;
    gap: 30px;
  }
}

.contact .contact-info-panel {
  background-color: #3d673d !important;
  color: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact .contact-info-panel .contact-info-header {
  margin-bottom: 30px;
}

.contact .contact-info-panel .contact-info-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .contact-info-panel .contact-info-header p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
  color: #fff;
}

.contact .contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .contact .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;

}

.contact .info-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact .info-card .icon-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .info-card .icon-container i {
  font-size: 20px;
  color: var(--contrast-color);
}

.contact .info-card .card-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--contrast-color);
}

.contact .info-card .card-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
   color: #fff !important;
}

.contact .social-links-panel {
  margin-top: 35px;
}

.contact .social-links-panel h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .social-links-panel .social-icons {
  display: flex;
  gap: 12px;
}

.contact .social-links-panel .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact .social-links-panel .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.contact .contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
    #hero, #heroBanner {
        height: 50vh !important;
        min-height: 50vh !important;
      }
      .happening-text img{
        width: 70px;
        height: auto;
      }
    }

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


.contact .map-container {
  width: 100%;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact .form-container {
  background-color: #3d673d;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact .form-container h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff !important;
}

.contact .form-container p {
  font-size: 15px;
  color: #fff;
  margin-bottom: 25px;
}

.contact .form-container .form-floating {
  margin-bottom: 20px;
}

.contact .form-container .form-floating .form-control {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 24px 20px 8px 20px;
  height: calc(3.5rem + 3px);
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .form-container .form-floating .form-control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  background-color: var(--surface-color);
}

.contact .form-container .form-floating .form-control::placeholder {
  color: transparent;
}

.contact .form-container .form-floating label {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 1rem 1.25rem 2.5rem 1.25rem;
}

.contact .form-container .form-floating label::after {
  background-color: transparent;
}

/*.contact .form-container .btn-submit {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 30%));
  color: var(--contrast-color);
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .form-container .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}
*/
.contact .form-container .btn-submit i {
  transition: transform 0.3s ease;
}

.contact .form-container .btn-submit:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .contact .contact-info-panel {
    padding: 30px 25px;
  }

  .contact .form-container {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .contact .social-links-panel .social-icons {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
/*.timeline-row{
  margin-bottom: 0 !important;
}*/
}

/* Kick in at 1388px and under */
@media (max-width:1388px){
  /* Make the hero full screen and remove extra spacing */
  #hero{
    min-height:100vh;
    padding:0;
  }
.hero-banner{
  height: 100vh;
}
  /* Ensure every wrapper inherits the height */
  #hero .container,
  #hero .row,
  #hero #heroCarousel,
  #hero .carousel-inner,
  #hero .carousel-item{
    height:100%;
  }

  /* Make the image fill the slide without distortion */
  #hero .carousel-item img{
    width:100%;
    height:100%;
    object-fit:cover;         /* crop instead of squish */
    object-position:center;   /* keep focal point centered */
    display:block;            /* avoid baseline gaps */
  }

  /* Keep caption centered vertically */
  #hero .carousel-caption{
    top:0; bottom:0; left:0; right:0;
    display:flex; align-items:center; justify-content:center;
    padding:1rem;
  }
}


/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}