/* ==========================================================================
   Growth Section Module
   Prefix: rc-growth-
   ========================================================================== */

/* --------------------------------------------------------------------------
   Main Container with Parallax Background
   -------------------------------------------------------------------------- */
#rc-growth,
.rc-growth {
  position: relative;
  background-color: #003366;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.rc-growth__container {
  max-width: 1200px;
  margin: 0 auto;
}

.rc-growth__row {
  display: flex;
}

/* --------------------------------------------------------------------------
   Left Column - Content
   -------------------------------------------------------------------------- */
.rc-growth__col-content {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 40px 0 8px;
}

/* --------------------------------------------------------------------------
   Heading
   -------------------------------------------------------------------------- */
.rc-growth__heading {
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 15px 10px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Description Paragraphs
   -------------------------------------------------------------------------- */
.rc-growth__description p {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #ffffff;
  line-height: 32px !important;
  margin: 0 15px 25px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rc-growth__description{
  padding: 0;
}

.rc-growth__description:last-child {
  margin-bottom: 0;
}

.rc-growth__description p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Right Column - CTAs
   -------------------------------------------------------------------------- */
.rc-growth__col-cta {
  flex: 0 0 auto;
  max-width: 33.333333%;
  padding: 45px 15px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.rc-growth__cta-item {
  margin-bottom: 50px;
  flex: 0 0 auto; 
  width: fit-content;
  min-height: 64px; 
  display: flex;
  align-items: center;
}

.rc-growth__cta-item:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA Buttons (White Outline)
   -------------------------------------------------------------------------- */
.rc-growth__btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 20px 30px;      
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #ffffff;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.rc-growth__btn:hover,
.rc-growth__btn:focus {
  color: #ffffff;
  /* Scale down on hover for pressed-in effect */
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   Responsive - Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .rc-growth {
    padding: 60px 0;
  }
  
  .rc-growth__row {
    margin-right: 50px;
  }
  
  .rc-growth__heading {
    font-size: 38px;
  }
  
  .rc-growth__description {
    font-size: 16px;
  }
  
  .rc-growth__btn {
    padding: 16px 35px;
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   Responsive - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rc-growth {
    background-attachment: scroll;
    padding: 50px 0;
  }
  
  .rc-growth__row {
    flex-direction: column;
    margin-right: 0 !important;
    margin: 0 !important;
  }
  
  .rc-growth__col-content {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
    margin-bottom: 28px;
    margin-left: 0; 
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;    
  }
  
  .rc-growth__col-cta {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    margin-left: 0;            
    display: flex;
    flex-direction: column;
    align-items: center; 
  }
  
  .rc-growth__cta-item {
    width: 100%;
    max-width: 360px;           
    margin-bottom: 24px;    
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
    display: flex;
    justify-content: center;
  }
  
  .rc-growth__cta-item:last-child {
    margin-bottom: 0;
  }

  .rc-growth__heading {
    font-size: 32px;
  }
  
  .rc-growth__description {
    font-size: 16px;
  }
  
  .rc-growth__btn {
    display: block;
    width: 100%;
    padding: 18px 20px;
    font-size: 14px;
    letter-spacing: 1.2px;
    text-align: center;
    line-height: 1.1;
  }
}

/* --------------------------------------------------------------------------
   iOS Safari Fix for Fixed Background
   -------------------------------------------------------------------------- */
@supports (-webkit-touch-callout: none) {
  .rc-growth {
    background-attachment: scroll;
  }
}