@import url('https://fonts.cdnfonts.com/css/feeling-passionate');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

/********** Template CSS **********/
:root {
    --primary: #ffc107;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #000000;
    --burnt-orange: #cf7742;
}


html,
body {
    width: 100%;
    overflow-x: hidden;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.back-to-top:hover {
    background-color: #e4ad08 !important;
    border-color: #e4ad08 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.engage-items .btn-outline-primary{
    color: #e4ad08 !important;
    border-color: #e4ad08 !important;
}

.engage-items .btn-outline-primary:hover{
    background-color: #e4ad08 !important;
    color: #ffffff !important;
}
.engage-items .bg-primary{
    background-color: #e4ad08 !important;
}

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

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-warning{
    background-color: #efb63a !important;
    border-color: #efb63a !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    font-size: 20px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.collapse {
    visibility: visible !important;
}

.container-fluid.fixed-top {
    top: 0 !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .carousel h1{
        font-size: 90px !important;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

/* Custom Upper Left Caption Badge */
.carousel-caption-badge {
    position: absolute;
    top: 150px;
    left: 95px;
    right: auto;
    bottom: auto;
    background: rgba(0, 0, 0, 0.5);
    /* backdrop-filter: blur(10px); */
    padding: 2rem 3rem 2rem 2rem;
    margin: 2rem;
    border-radius: 2rem;
    /* max-width: 400px; */
    z-index: 2;
    transform: translateY(0);
    transition: all 0.3s ease;
    font-size: 45px;

}

/* .carousel-caption-badge:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
} */

.carousel-caption-badge .badge-title {
    color: #ea8445;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.carousel-caption-badge .badge-heading {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.carousel-caption-badge .badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption-badge {
        padding: 1.5rem 2rem 1.5rem 1.5rem;
        margin: 1rem;
        max-width: 300px;
    }

    .carousel-caption-badge .badge-heading {
        font-size: 1.4rem;
    }

    .carousel-caption-badge .badge-title {
        font-size: 0.8rem;
    }

    .carousel-caption-badge p {
        font-size: 1.5rem !important;
        letter-spacing: normal !important;
        margin-top: 0 !important;
        /* text-align: start !important; */
    }

    .section-label {
        writing-mode: horizontal-tb !important;
        transform: rotate(0deg) !important;
        font-size: 24px !important;
        min-width: auto !important;
        padding: 1rem !important;
    }

    .homepage-motto-section {
        min-height:auto !important;
    } 

    .homepage-hero-section h1 {
        font-size: 70px !important;
        letter-spacing: 7px !important; 
    }

    .homepage-hero-section :nth-child(2) {
        font-size:100px !important;
        letter-spacing:15px !important;
    }
}

@media (max-width: 576px) {
    .carousel-caption-badge {
        padding: 1rem 1.5rem 1rem 1rem;
        margin: 0.5rem;
        max-width: 250px;
    }

    .carousel-caption-badge .badge-heading {
        font-size: 1.2rem;
    }
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

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

.team-social a:hover {
    text-decoration-line: underline;
    text-decoration-color: #867b6a; 
    text-decoration-thickness: 1px;  
    text-underline-offset: 6px;  
}


#missionary-btn:hover{
    background-color: #ffffff !important;
    color: #000 !important;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimony-column {
    transition: all .25s ease;
}

.testimony-column:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
    transform: translateY(-4px);
}


@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--burnt-orange);
    transform: scale(1);
}

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

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--burnt-orange) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--burnt-orange);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Newsletter Section ***/
.footer .newsletter-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer .newsletter-container .position-relative {
    min-height: 60px;
    z-index: 1;
}

.footer {
    position: relative;
    z-index: 10;
}

.footer .copyright {
    position: relative;
    z-index: 11;
}

/* Fix for WOW.js animation z-index conflicts */
.footer.wow {
    z-index: 10 !important;
}

.footer .newsletter-container .btn {
    z-index: 2;
    position: relative;
}

/*** ENGAGE SECTION ON HOME PAGE ***/
.engage-items{
    background-color:#ffc107;
}

/* ABOUT US PAGE * Responsive Styling */
.about-left-col,
.about-right-col {
  flex: 0 0 60%;
  max-width: 60%;
}

.about-left-col {
  background: #fff;
  padding: 40px 0;
}

.font-gordita {
  font-family: Gordita, sans-serif;
}

.font-zuumerough {
  font-family: Zuumerough, sans-serif;
}

.about-page-title,
.about-mission-title {
  font-size: clamp(50px, 6vw, 75px);
}

.about-mission-subtitle {
  font-size: clamp(35px, 6vw, 50px);
}

.about-intro-text,
.about-mission-copy,
.about-overlay-copy {
  font-family: Gordita, sans-serif;
}

.about-intro-text,
.about-mission-copy {
  font-size: 23px;
  font-weight: 500;
}

.about-intro-text {
  max-width: 850px;
  padding: 0 40px;
}

.about-mission-title,
.about-mission-subtitle,
.about-overlay-heading {
  color: white;
}

.about-right-col {
  flex: 0 0 40%;
  max-width: 40%;
}

.about-hero-img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
}

.about-overlay-section {
  background: url('{{ asset('assets/img/img.1.jpg') }}') center center/cover no-repeat;
}

.about-overlay-card {
  background: rgba(20, 20, 20, 0.8);
  border-radius: 10px;
}

.about-overlay-heading {
  font-size: clamp(36px, 4vw, 58px);
}

.about-overlay-copy {
  font-size: 20px;
  font-weight: bold;
}

.about-motto-title {
  font-family: 'Gordita-light', sans-serif;
  font-weight: 200;
  letter-spacing: 8px;
  font-size: clamp(42px, 5vw, 70px);
}

.matthew-container {
  padding-bottom: 0 !important;
}

.matthew-row {
  margin-top: -10px;
}

@media (max-width: 1399.98px) {
  .about-page-title {
    font-size: 60px !important;
  }

  .about-intro-text {
    font-size: 24px !important;
  }
}

@media (max-width: 991.98px) {
  .col-lg-7,
  .about-left-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .col-lg-5,
  .about-right-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: -1;
  }

  .about-page-title {
    font-size: 42px !important;
  }

  .about-intro-text {
    font-size: 20px !important;
    padding: 1rem 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .about-page-title {
    font-size: 32px !important;
  }

  .about-intro-text {
    font-size: 18px !important;
    padding: 1rem !important;
  }
}

/* Resources Page * Awareness Page */
.feeling-font {
    font-family: 'Feeling Passionate', cursive;
    font-style: italic;
}

/* Numbers match visually using Allura */
.feeling-font .num {
    font-family: 'Allura', cursive;
    font-style: italic;
}

/* NEWSLETTER SECTION */
.newsletter-section-content {
    text-align: center;
}

/* Heading wrapper */
.newsletter-heading {
    max-width: 480px;
    width: 100%;
    margin-bottom: 1rem;
}

/* Headings */
.newsletter-heading h2 {
    font-family: 'Gordita', sans-serif;
    font-size: clamp(40px, 6.5vw, 48px);
    font-weight: normal;
    letter-spacing: 6px;
    line-height: 1.3;
    color: var(--dark);
    text-align: center;
    margin: 0;
}

.newsletter-heading h1 {
    font-size: clamp(88px, 6.5vw, 46px);
    font-weight: 700;
    letter-spacing: 6px;
    line-height: 1.2;
    text-align: center;
    margin-top: 0.25rem;
}

/* Link */
.newsletter-link {
    font-size: 22px;
    color: var(--dark);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.newsletter-link:hover {
    text-decoration: underline;
}

/* Newsletter text on prayer partner page */
.newsletter-text {
    font-family: Gordita-light;
    padding: 0 15px;
    max-width: 600px;
    line-height: 1.45;
    margin-bottom: 1.1rem;
    font-size: 1rem; /* mobile */
}

@media (min-width: 992px) {
    .newsletter-text {
        font-size: clamp(1.4rem, 2.5vw, 2rem); /* desktop - large */
    }
}

@media (min-width: 768px) {
    .newsletter-text {
        padding: 0 20px;
        font-size: clamp(1.4rem, 2.5vw, 2rem);
    }
}

/* IMAGE WRAPPER */
.engage-img-wrapper {
    position: relative;
}

.engage-img {
    display: block;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.engage-img-3 {
    transform: scale(1.2);
    transform-origin: center bottom;
}

.engage-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.engage-title {
    color: #ffffff;
    transition: color 0.3s ease;
}

.causes-overlay {
    z-index: 5;
    pointer-events: auto;
}

.engage-items:hover .engage-img {
    opacity: 0;
}

.engage-items:hover .engage-img-hover {
    opacity: 1;
}

.engage-items:hover .engage-title {
    color: #f7b500;
}
