/********** Template CSS **********/
:root {
    --primary: #03080e;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
    --navy-deep: #0A192F;
    --navy-dark: #0F2A3F;
    --navy-mid: #1E3A5F;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F3D97C;
    --accent-soft: #E8B86B;
    --gray-light: #F8FAFC;
    --text-light: #E2E8F0;
    --text-muted: #94A3B8;
}


/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.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;
    border-radius: 50px;
}

/* logo and img width start*/

.width-logo {
    width: 80px;
}

.width-img {
    width: 520px;
}

/* mobile */
@media (max-width: 767px) {
    .width-logo {
        width: 120px;
    }

    .width-img {
        width: 420px;
    }
}

/*tablet */
@media (max-width: 991px) {
    .width-logo {
        width: 130px;
    }
}

/* logo width end*/



/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 95px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bg-ark.png) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/* img section */
.img-section {
    background: url(../img/cover-img.png) center center no-repeat;
    background-size: cover;
    height: 850px;
}

/*** Section Title ***/
/* .section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
} */


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}

.case-item:hover img {
    transform: scale(1.2);
}

.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    /* background: linear-gradient(rgba(20, 24, 62, 0), var(--dark)); */
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {

    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

/*** Mrning Show ***/
.morning-show {
    background: url(../img/bg-hero-2.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Target your specific container */
.upside-down-container {
    transform: scaleY(-1);
    /* Flips container vertically */
    width: 100%;
    /* Ensures full width */
    overflow: visible;
    /* Prevents content clipping */
}

/* Flip back the contents to appear normal */
.upside-down-container>* {
    transform: scaleY(-1);
    /* Re-flips content to normal */
}




/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}



.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid #0d2942;
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}



/* youtube section */
.case-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* youtube section */



/* New Bootstrap CSS */

.contact-navy-card {
    background: linear-gradient(135deg, #0A192F, #0F2E48);
    border-radius: 30px;
    padding: 3rem;
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.gnr-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50rem;
    padding: 1rem 0.5rem;
    /* py-3 px-2 */
}


/* Buttons Modern */
.btn-gold {
    background: linear-gradient(105deg, var(--accent-gold), #C9A22D);
    color: var(--navy-deep);
    font-weight: 700;
    border: none;
    border-radius: 40px;
    padding: 12px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px);
    background: linear-gradient(105deg, #E6C44D, var(--accent-gold));
    color: #0A192F;
    box-shadow: 0 12px 20px -8px rgba(212, 175, 55, 0.4);
}

/* Mobile adjustment - smaller font to keep in one row */
@media (max-width: 768px) {
    .btn-gold {
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .m-text {
        font-size: 16px;
    }
}

/* For very small screens (optional) */
@media (max-width: 480px) {
    .btn-gold {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }
}

.btn-outline-gold {
    border: 2px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold);
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--navy-deep);
    transform: translateY(-2px);
}


.card-modern {
    background: white;
    border: none;
    border-radius: 28px;
    padding: 1.8rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    height: 100%;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 40px -16px rgba(10, 25, 47, 0.2);
    border-bottom: 2px solid var(--accent-gold);
}

.icon-gold {
    font-size: 2.6rem;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
}

.mission-vision-navy {
    background: linear-gradient(115deg, #0F2A3F 0%, #0A192F 100%);
    border-radius: 48px;
    padding: 2.8rem;
    color: white;
}

.sensitivity-modern {
    background: rgba(212, 175, 55, 0.08);
    border-left: 6px solid var(--accent-gold);
    border-radius: 24px;
    padding: 2rem;
}





/* Modern goals section with navy blue overlay + background image */
.goals-hero-section {
    position: relative;
    background: linear-gradient(135deg, #0b1c33 0%, #0b1c33 100%);
    /* fallback solid navy */
    padding: 5rem 0 6rem;
    overflow: hidden;
}

/* background image with navy overlay (multi-layer: image + strong overlay) */
.goals-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg-hero-1.png');
    /* majestic mountain & ministry context */
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0.28;
    z-index: 0;
}

/* deep navy overlay (semi-transparent, rich tone) */
.goals-hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, #0b1c33 0%, #0b1c33 100%);
    opacity: 0.88;
    z-index: 1;
}

/* ensure content sits above overlays */
.goals-hero-section .container {
    position: relative;
    z-index: 3;
}

/* modern glass-card effect for stat cards */
.stat-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 2rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.stat-glass-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 200, 120, 0.5);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFE6B0 0%, #FFC97A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 245, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 240, 0.75);
    margin-top: 0.65rem;
    font-weight: 400;
}

/* section title styling (light modern) */
.section-badge-light {
    display: inline-block;
    background: rgba(255, 215, 140, 0.18);
    backdrop-filter: blur(4px);
    color: #FFE2A4;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 0.5px solid rgba(255, 215, 140, 0.3);
}

.main-title {
    font-weight: 800;
    font-size: 2.7rem;
    background: linear-gradient(115deg, #FFFFFF 0%, #FDE5B4 90%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: rgba(255, 250, 235, 0.85);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Resource center card - elevated glass + golden accent */
.resource-center-card {
    background: rgba(10, 30, 45, 0.65);
    backdrop-filter: blur(16px);
    border-radius: 2rem;
    padding: 1.8rem 2rem;
    border: 1px solid rgba(255, 200, 100, 0.35);
    transition: all 0.3s;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.35);
}

.resource-center-card:hover {
    border-color: rgba(255, 190, 80, 0.7);
    background: rgba(12, 35, 52, 0.75);
    transform: scale(1.01);
}

.gold-icon {
    font-size: 2.6rem;
    background: linear-gradient(145deg, #FFD966, #F5B042);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.resource-title {
    font-weight: 700;
    font-size: 1.7rem;
    color: #FFF5E6;
    letter-spacing: -0.3px;
}

.resource-text {
    color: rgba(255, 245, 225, 0.85);
    font-size: 1rem;
}

.btn-outline-gold {
    border: 1.5px solid rgba(255, 200, 100, 0.8);
    background: transparent;
    color: #FFE0A3;
    border-radius: 60px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-gold:hover {
    background: rgba(255, 200, 100, 0.2);
    color: #FFF2DF;
    border-color: #FFD966;
    transform: translateY(-2px);
}

/* responsive */
@media (max-width: 768px) {
    .goals-hero-section {
        padding: 3rem 0 4rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .resource-title {
        font-size: 1.4rem;
    }

    .stat-glass-card {
        padding: 1.5rem 0.8rem;
    }
}

/* Custom small divider */
.accent-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #FFD58C, #E6A426);
    margin: 0.75rem auto 0;
    border-radius: 3px;
}

/* subtle animation on scroll (simple fade) */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load {
    animation: fadeUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}


.donate-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 48px;
    border-radius: 800px;
    background: linear-gradient(135deg, #f8e17d, #ebb54c);
    color: #2c2416;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.donate-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(235, 181, 76, 0.4);
}

/* Hide on tablet and mobile */
@media (max-width: 768px) {
    .donate-btn {
        display: none;
    }
}