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

 
 :root {
            --primary: #1B5C98;
            --gold: #CDA574;
            --light: #f7f9fc;
            --dark: #0f2e4a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--light);
            color: #333;
        }

        /* NAVBAR */
        nav {
            position: fixed;
            width: 100%;
            background: white;
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            z-index: 1000;
        }

        nav h1 {
            color: var(--primary);
            font-size: 22px;
        }

        nav a {
            margin-left: 20px;
            text-decoration: none;
            color: var(--primary);
            font-weight: 500;
        }

        nav a:hover {
            color: var(--gold);
        }

        /* HERO */
        header {
            height: 100vh;
            background: url("../images/back _image.jpg") center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding: 20px;
        }

        header h2 {
            font-size: 48px;
            margin-bottom: 20px;
        }

        header p {
            font-size: 18px;
            max-width: 700px;
            margin: auto;
        }

        .btn {
            display: inline-block;
            margin-top: 30px;
            padding: 14px 30px;
            background: var(--gold);
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            border-radius: 30px;
        }

        .btn:hover {
            opacity: 0.85;
        }

        /* SECTIONS */
        section {
            padding: 50px 80px;
        }

        /*.container {
            max-width: 1100px;
            margin: auto;
        }*/

        section h3 {
            text-align: center;
            color: var(--primary);
            font-size: 32px;
            margin-bottom: 40px;
        }

        /* ABOUT */
        .about p {
           
            max-width: 900px;
            margin: auto;
            font-size: 17px;
        }

        .about__us
        {
            background-color: #0a95cc;   
            padding: 10px 10px;        
             border-radius: 15px;
             color: #fdfdfd;             
        }

        .about__us h3
        {
            color: #fdfcfc;
            padding: -9px 0px!important;
            
        }

         #boldd {
            color: #0650f0;
            font-weight: bold;
        }
       
        
        /* SERVICES */
        
        .services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .services__us
        {
            background-color: #0a95cc;
            padding: 20px 20px;
             border-radius: 15px;
             color: #fdfdfd;
             
        }
        .services__us h3
        {
            color: #fdfdfd;
            font-weight: bold;
        }
        .card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card h4 {
            color: var(--gold);
            margin-bottom: 15px;
        }

        /* VALUES */
        .values {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .value {
            background: var(--primary);
            color: white;
            padding: 15px 30px;
            border-radius: 25px;
            font-size: 15px;
        }

        /* CONTACT */
        .contact form {
            max-width: 600px;
            margin: auto;
            display: grid;
            gap: 15px;
        }

        .contact input, .contact textarea {
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #ccc;
            font-family: inherit;
        }

        .contact button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 30px;
            font-size: 16px;
            cursor: pointer;
        }

        .contact button:hover {
            background: var(--dark);
        }

        /* FOOTER */
        footer {
            background: var(--dark);
            color: white;
            text-align: center;
            padding: 20px;
        }

        @media (max-width: 768px) {
            header h2 {
                font-size: 36px;
            }
        }

      /* ==== FORCE HERO SIZE (DESKTOP FIX) ==== */
header {
    height: 70vh !important;           /* 60% of viewport height */
    min-height: 400px;                 /* ensures not too small on smaller screens */
    margin-bottom: 1px;               /* added units */
    display: block !important;
}

header .carousel,
header .carousel-inner,
header .carousel-item {
    height: 100%;                       /* fill header height */
}

header .carousel-item img {
    height: 100%;                        /* fill slide container */
    width: 100%;
     object-fit: cover !important;        /*maintain aspect ratio */
}

@media (max-width: 768px) {
    header {
        height: 90vh;     /* slightly taller for mobile */
        min-height: 420px;
    }

    .carousel-caption h2 {
        font-size: 26px;
    }

    .carousel-caption p {
        font-size: 15px;
    }
}
.about h3 {
    font-size: 32px;
    font-weight: 600;
}

.about p {
    font-size: 18px;
    line-height: 1.5;
}

.about .btn-primary {
    background-color: #1B5C98; /* match your brand color */
    border: none;
}

.about img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Spinner container styling */
.inline-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
     gap: 20px;
    margin: 20px 0;      
    opacity: 0;           /* start hidden */
    transition: opacity 0.5s ease-in-out; /* fade-in/out */
}

/* Fade-in class */
.inline-spinner.show {
    opacity: 1;
}



.inline-spinner i {
    display: inline-block; /* prevents flex issues with spinning icons */
    font-size: 2rem;
}

/* Optional: spacing between spinner icons */
.inline-spinner .spinner-grow {
    margin-right: 0.5rem;
}
 /*.spinners {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
            gap: 1px;
            margin-left: 60px;
        }*/


.card-group
{
    margin-bottom: 20px;
}
      
.legal_card
{
    margin-bottom: 10px;
    
}
       


/* Card general styling */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Hover effect for card */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Icon container */
.card i {
    font-size: 3rem;
    color: #fff;
    padding: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B5C98, #CDA574);
    transition: transform 0.3s ease;

}

/* Icon hover effect */
.card:hover i {
    transform: scale(1.2);
    background: linear-gradient(135deg, #CDA574, #1B5C98);
}

/* Card title */
.card-title {
    font-weight: 600;
    margin-top: 15px;
    color: #1B5C98;
}

/* Card text */
.card-text {
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Scripture text */
.card .small {
    font-size: 0.85rem;
    color: #555;
}


.value-card {
    border: none;
    border-radius: 15px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.value-card i {
    color: #1B5C98;
    padding: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B5C98, #CDA574);
    color: #fff;
    transition: transform 0.3s ease;

}

.value-card:hover i {
    transform: scale(1.2);
    background: linear-gradient(135deg, #CDA574, #1B5C98);
}

.card-title {
    font-weight: 600;
    margin-top: 10px;
}

.card-text {
    font-size: 0.95rem;
    margin-top: 10px;
    color: #555;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1B5C98;
    box-shadow: 0 0 10px rgba(27,92,152,0.3);
}

.contact-form button {
    background-color: #1B5C98;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #CDA574;
    color: #fff;
    transform: translateY(-3px);
}

/* Social Icons */
.social-icons a {
    font-size: 1.2rem;
    color: #1B5C98;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #CDA574;
}

/* Footer */
.footer {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 576px) {
    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
    }

    .contact-form button {
        width: 100%;
        padding: 12px;
    }

    .social-icons a {
        font-size: 1.5rem;
        margin-right: 15px;
    }
}


.about-bank img {
    border-radius: 15px;
    object-fit: cover;
}

.value-badge {
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #1B5C98;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #CDA574;
    transform: translateY(-3px);
}

.section p {
    color: #555;
    line-height: 1.6;
}


.about img {
    border-radius: 15px;
    object-fit: cover;
    width: 100%;
}

.about h3 {
    font-size: 2rem;
}

.about p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about strong {
    color: #1B5C98;
}

  
/* Optional custom card styles */
.legal_card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal_card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.legal_card img {
    height: 180px; /* uniform image height */
    object-fit: cover;
}


/* Navbar */
.navbar {
    width: 100%;
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    margin-left: 20px;
    text-decoration: none;
    color: #1B5C98;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #CDA574;
}

/* Hamburger */
.hamburger {
    font-size: 1.5rem;
    color: #1B5C98;
    cursor: pointer;
}

/* Mobile menu (hidden by default) */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px;
}

.mobile-menu a {
    margin: 10px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}


/* Carousel caption overlay */
.carousel-item {
    position: relative;
    height: 80vh;
}

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

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Animated captions */
.animated-caption {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

/* Buttons */
.carousel-caption .btn {
    background-color: #1B5C98;
    border: none;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    background-color: #CDA574;
    transform: translateY(-3px);
}

/* Carousel indicators */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #CDA574;
    opacity: 0.7;
}

.carousel-indicators .active {
    background-color: #1B5C98;
    opacity: 1;
}

/* Fade in animation */
@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(20px);}
    100% {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-item {
        height: 60vh;
    }
}
/* LETTER TO THE BODY OF CHRIST SECTION */
#letter {
    background-color: #f8f9fa; /* light background */
    color: #0f2e4a; /* dark blue text for readability */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#letter h2 {
    font-weight: 700;
    color: #1B5C98;
}

#letter h5 {
    color: #CDA574;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

#letter p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

#letter ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#letter ul li {
    margin-bottom: 0.5rem;
}

#letter .fst-italic {
    font-size: 1.1rem;
    color: #0f2e4a;
}

#letter .btn-primary {
    background-color: #1B5C98;
    border-color: #1B5C98;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#letter .btn-primary:hover {
    background-color: #0f2e4a;
    transform: translateY(-3px);
}

.letter-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.letter-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.donation-info {
    background-color: #fefefe;
    border-left: 4px solid #1B5C98;
}
