/* ==========================================================================
   IMMANUEL USA WEBSITE
   Modern Responsive CSS
   Consolidated Production Build (cleaned + color pass)
   ========================================================================== */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary: #123C73;
    --primary-dark: #0D2D56;
    --primary-light: #1E4E8F;
    --secondary: #FFD166;
    --secondary-dark: #F2B705;
    --accent: #2A9D8F;

    --white: #ffffff;
    --light: #F8FAFC;
    --gray: #6B7280;
    --text: #333333;
    --text-on-dark: #EDF1F7;
    --text-on-dark-muted: #C4CEDD;

    --shadow: 0 10px 30px rgba(0, 0, 0, .10);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, .18);

    --radius: 12px;
    --transition: .35s ease;
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.8;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 100px 0;
}

section:nth-child(even) {
    background: var(--white);
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h2 {
    color: var(--primary);
    font-size: 42px;
    text-align: center;
    margin-bottom: 25px;
}

h3 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 15px;
}

p {
    font-size: 17px;
    color: var(--gray);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 60, 115, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 209, 102, 0.4);
    border-radius: 10px;
    transition: var(--transition);
}

.logo img:hover {
    transform: rotate(10deg) scale(1.1);
}

.logo h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 12px;
}

nav ul li a {
    color: var(--white);
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--secondary);
    color: #111;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 34px;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background-image: url('./images/hero.jpg');
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Single, consistent dark overlay for legibility — applies at every breakpoint */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 45, 86, .55) 0%, rgba(13, 45, 86, .75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 62px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    color: var(--text-on-dark);
    font-size: 20px;
    margin-bottom: 40px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    border-radius: 50px;
    background: var(--secondary);
    color: #111;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-5px);
    background: var(--secondary-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Welcome Section & Main Components
   ========================================================================== */
.welcome {
    background: var(--white);
}

.welcome h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.welcome p {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray);
    font-size: 18px;
}

.content {
    max-width: 1000px;
    margin: auto;
}

.content p {
    margin-bottom: 25px;
    text-align: center;
}

/* --- Cards Feature --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--secondary);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 28px;
}

.card p {
    color: var(--gray);
}

.card i {
    font-size: 55px;
    color: var(--accent);
    margin-bottom: 20px;
}

/* --- Page Inner Banner --- */
.page-banner {
    background: linear-gradient(rgba(18, 60, 115, .85), rgba(18, 60, 115, .85)), url("images/banner.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
}

.page-banner h1 {
    color: var(--white);
    font-size: 55px;
    margin-bottom: 15px;
}

.page-banner p {
    color: black;
    font-size: 20px;
}

/* --- Verse Callout Box --- */
.verse-box {
    margin-top: 50px;
    background: var(--white);
    border-left: 6px solid var(--secondary);
    border-radius: 10px;
    padding: 35px;
    box-shadow: var(--shadow);
    text-align: center;
}

.verse-box h3 {
    margin-bottom: 15px;
}

.verse-box p {
    font-style: italic;
}

/* --- Media Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform .4s ease;
    box-shadow: var(--shadow);
}

.gallery img:hover {
    transform: scale(1.05);
}

/* --- Events --- */
.event {
    background: var(--white);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: .3s;
}

.event:hover {
    transform: translateY(-8px);
}

.event h3 {
    color: var(--primary);
}

.event span {
    display: block;
    margin: 10px 0;
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================
   Forms & Interaction Elements
   ========================================== */
.form-box {
    max-width: 750px;
    margin: 50px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    transition: .3s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(255, 209, 102, .3);
}

textarea {
    min-height: 180px;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.checkbox input {
    width: auto;
}

.prayer-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 40px;
    text-align: center;
}

.donation-box {
    background: var(--white);
    padding: 50px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

.donation-box h2 {
    margin-bottom: 20px;
}

.donation-box p {
    margin-bottom: 25px;
}

.note {
    margin-top: 20px;
    color: #777;
    font-size: 15px;
}

/* --- Contact Page Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info strong {
    color: var(--primary);
}

.map-box {
    margin-top: 60px;
}

iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.footer-container .logo img {
    width: 90px;
}

/* ==========================================
   Footer Structure & Social elements
   ========================================== */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-container > * {
    min-width: 0;
}

.footer-container .logo {
    flex-wrap: wrap;
}

.footer-box h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-box p {
    color: var(--text-on-dark-muted);
    line-height: 1.8;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    color: var(--text-on-dark-muted);
    transition: .3s;
}

.footer-box ul li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    border-radius: 50%;
    transition: .3s;
}

.social-links a:hover {
    background: var(--secondary);
    color: #111;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.copyright p {
    color: var(--text-on-dark-muted);
    font-size: 15px;
}

/* ==========================================
   Utility Classes & Structural Modifiers
   ========================================== */
.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: .3s;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--secondary-dark);
}

.text-center { text-align: center; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* ==========================================
   Team Section
   ========================================== */
.team-section {
    text-align: center;
    padding: 40px 20px;
}

.team-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.team-card {
    min-width: 250px;
    width: 250px;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    flex-shrink: 0;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card h3 {
    margin: 10px 0 5px;
}

.team-card p {
    margin-bottom: 15px;
    color: var(--gray);
}

/* Optional scrollbar styling */
.team-gallery::-webkit-scrollbar {
    height: 8px;
}

.team-gallery::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

/* ==========================================
   Animations
   ========================================== */
.fade-up {
    animation: fadeUp .8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom {
    overflow: hidden;
    border-radius: 15px;
}

.zoom img {
    transition: .5s;
}

.zoom:hover img {
    transform: scale(1.1);
}

/* ==========================================
   Responsive Design / Media Queries
   ========================================== */

/* --- Mobile Devices --- */
@media(max-width: 768px) {
    header .container {
        height: 75px;
    }

    .logo h2 {
        font-size: 22px;
    }

    .logo img {
        width: 50px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--primary);
        display: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    }

    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    h2 {
        font-size: 32px;
    }

    .page-banner {
        padding: 80px 20px;
    }

    .page-banner h1 {
        font-size: 36px;
    }

    .cards,
    .contact-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .gallery img {
        width: 100%;
        height: 260px;
    }
}

/* --- Tablets --- */
@media(min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Large Screens --- */
@media(min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 72px;
    }

    .hero p {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* THANK YOU PAGE */

.thank-you {

    min-height:60vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:50px 20px;

}



.thank-you h1 {

    font-size:45px;

    margin-bottom:20px;

}



.thank-you p {

    font-size:18px;

    margin-bottom:15px;

}



.thank-you .btn {

    display:inline-block;

    margin-top:25px;

    padding:12px 30px;

    background:#b8860b;

    color:white;

    text-decoration:none;

    border-radius:5px;

}



.thank-you .btn:hover {

    background:#8b6508;

}