        /* Design System & Warm Color Palette */
        :root {
            --bg-warm: #fcf9f5;         /* Soft, inviting cream background */
            --text-dark: #233142;       /* Soft charcoal for excellent readability */
            --primary-blue: #1a365d;    /* Your solid anchoring deep trust blue */
            --accent-gold: #c59b4e;     /* Rich warm gold for headings and lines */
            --accent-light: #f4eee1;    /* Warm sand background accent */
            --card-bg: #ffffff;
            --border-color: #e8e2d5;
            --text-secondary: #5a6b7c;
        }

        html {
            scroll-behavior: smooth;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-warm);
            color: var(--text-dark);
            line-height: 1.6;
padding: 0 16px;
        }

        /* STICKY HEADER WITH INTEGRATED NAVIGATION */
        header {
            background-color: #ffffff;
            position: -webkit-sticky;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
            padding: 12px 20px;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .brand-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-img {
            display: block;
            height: 45px; /* Perfect size for a crisp header icon */
            width: auto;
            border-radius: 4px;
        }

        .brand-text {
            font-family: "Georgia", serif;
            font-size: 1.6rem;
            color: var(--primary-blue);
            font-weight: normal;
            letter-spacing: -0.5px;
        }

        /* The Custom 7 Tail Drop Effect */
        .seven-tail {
            font-family: "Georgia", "Times New Roman", serif;
            color: var(--accent-gold);
            display: inline-block;
            font-size: 1.8rem;
            line-height: 0;
            position: relative;
            top: 0.08em; /* Elegantly drops the tail below the font baseline */
            font-weight: bold;
        }

        /* NAVIGATION LINKS (Integrated Into Header Right Side) */
        .mini-box-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            overflow-x: auto;
            white-space: nowrap;
            -ms-overflow-style: none;
            scrollbar-width: none;
            padding: 4px 0;
        }

        .mini-box-wrapper::-webkit-scrollbar {
            display: none;
        }

        .nav-link-box {
            display: inline-block;
            background-color: #fafbfc;
            border: 1px solid #cbd5e0;
            border-radius: 4px;
            padding: 8px 14px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #4a5568;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
        }

        .nav-link-box:hover {
            background-color: var(--primary-blue);
            color: #ffffff;
            border-color: var(--primary-blue);
            transform: translateY(-1px);
        }

        /* HERO VISUAL BANNER (Thinner, balanced with your new tagline text) */
        .hero-section {
            position: relative;
            background-color: var(--primary-blue);
            background-image: linear-gradient(rgba(26, 54, 93, 0.88), rgba(35, 49, 66, 0.75)), url('clouds-bible.jpg');
            background-size: cover;
            background-position: center;
            color: #ffffff;
            text-align: center;
            padding: 45px 20px;
            border-bottom: 4px solid var(--accent-gold);
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-content h2 {
            font-family: "Georgia", serif;
            font-size: 2.2rem;
            font-weight: normal;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
        }

        .hero-content p {
            font-size: 1.2rem;
            color: #ffffff;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
            font-style: italic;
            font-weight: 500;
            letter-spacing: 0.3px;
        }

        .hero-divider {
            width: 60px;
            height: 2px;
            background-color: var(--accent-gold);
            margin: 0 auto 15px auto;
        }

      /* WELCOME & OVERVIEW SECTION */
.welcome-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 24px;  
    text-align: center;
}


        .welcome-title {
            font-family: "Georgia", serif;
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
            font-weight: normal;
        }

        .welcome-text {
            font-size: 1.1rem;
            color: var(--text-dark);
            max-width: 750px;
            margin: 0 auto 50px auto;
            line-height: 1.8;
        }

         /* FOOTER */
        footer {
            background-color: #ffffff;
            border-top: 1px solid var(--border-color);
            padding: 40px 20px;
            text-align: center;
            margin-top: 80px;
        }

        .footer-logo {
            font-family: "Georgia", serif;
            font-size: 1.2rem;
            color: var(--primary-blue);
            margin-bottom: 10px;
        }

        footer p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            letter-spacing: 0.3px;
        }

        /* Mobile Layout Optimizations */
        @media (max-width: 820px) {
            .header-container {
                flex-direction: column;
                gap: 12px;
                align-items: center;
            }
            .mini-box-wrapper {
                width: 100%;
                justify-content: flex-start;
                padding-bottom: 5px;
            }
        }
/* Fix for the Main Body Content Edges */
main.container {
    max-width: 800px;    /* Keeps paragraphs from stretching too wide and ugly */
    margin: 40px auto;   /* Centers the text layout on large screens */
    padding: 0 24px;     /* Forces a clean 24px safety buffer away from screen edges */
}

/* Fix for the Header Contents */
.header-content {
    max-width: 1200px;   /* Matches your design system layout width */
    margin: 0 auto;      /* Centers the header content */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;     /* Allows navigation to drop down cleanly on small phone screens */
    gap: 15px;
}

/* Fix spacing for the Paragraphs and Lists */
main.container p, 
main.container ul {
    margin-bottom: 20px; /* Gives healthy spacing between blocks of text */
}

main.container h2 {
    margin-top: 40px;    /* Gives breathing room above headings */
    margin-bottom: 15px; /* Spacing below headings */
}

.values-list {
    padding-left: 20px;  /* Pushes bullet points inward slightly */
}

/* 1. Header Wrapper Polish */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color, #e8e2d5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    padding: 16px 24px; /* Generous breathing room inside the header bar */
}

/* 2. Logo Alignment */
.header-content h1 {
    font-family: "Georgia", serif;
    font-size: 1.4rem;
    color: var(--primary-blue, #1a365d);
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the logo image and text */
    font-weight: normal;
}

.header-content img {
    border-radius: 4px; /* Smooths sharp image corners */
    object-fit: cover;
}

/* 3. Modern Button Navigation */
.header-content nav {
    display: flex;
    align-items: center;
    gap: 8px; /* Sets even spacing between buttons */
    color: transparent; /* Invisibly hides the old plain "|" text dividers */
}

.header-content nav a {
    display: inline-block;
    background-color: #fafbfc;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease-in-out; /* Smooth transition effect */
}

/* 4. Interactive Hover States */
.header-content nav a:hover {
    background-color: var(--primary-blue, #1a365d);
    color: #ffffff;
    border-color: var(--primary-blue, #1a365d);
    transform: translateY(-1px); /* Subtle lift effect */
    box-shadow: 0 4px 6px rgba(26, 54, 93, 0.1);
}

/* 5. Mobile Layout Cleanup */
@media (max-width: 650px) {
    .header-content {
        flex-direction: column; /* Stacks logo above links on small screens */
        text-align: center;
    }
    
    .header-content nav {
        justify-content: center;
        flex-wrap: wrap; /* Prevents buttons from clipping off the screen */
    }
}
/* ==========================================
   CORE VALUES GRID STYLING
   ========================================== */

/* The outer grid container */
.values-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    margin: 30px 0 50px 0;
}

/* Individual value boxes */
.value-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #e8e2d5);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: transform 0.2s ease;
}

/* Subtle motion on hover */
.value-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold, #c59b4e);
}

/* Visual Anchor Emoji Styling */
.value-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

/* Align the icon and text horizontally */
.value-item h3 {
    font-family: "Georgia", serif;
    color: var(--primary-blue, #1a365d);
    font-size: 1.25rem;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    
    display: flex;
    align-items: center; /* Vertically centers the emoji with the letters */
    gap: 10px;           /* Gives a clean space between the emoji and the text */
}

/* Optional: Slight size adjustment for the embedded icon */
.value-item h3 span {
    font-size: 1.4rem;  /* Keeps the emoji crisp and slightly prominent */
    flex-shrink: 0;     /* Prevents the emoji from squishing on tight phone screens */
}


/* Paragraph adjustment inside the items */
.value-item p {
    font-size: 0.95rem;
    color: var(--text-dark, #233142);
    margin-bottom: 0 !important; /* Removes default paragraph gaps */
    line-height: 1.5;
}

/* Responsive Desktop Switch */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr 1fr 1fr; /* Splts into 3 perfectly equal columns */
    }
}
/* Folder Title Headers Layout */
.folder-header {
    border-bottom: 1px solid var(--border-color, #e8e2d5);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

/* Parks the emoji and text tightly together on the exact same line */
.folder-header h3 {
    font-family: "Georgia", serif;
    color: var(--primary-blue, #1a365d);
    font-size: 1.3rem;
    margin: 0 !important;
    
    display: flex;
    align-items: center; /* Centers the icon perfectly with the capital letters */
    gap: 8px;            /* Tight spacing between the icon and title text */
}

/* Fine-tune the nested emoji */
.folder-header h3 span {
    font-size: 1.4rem;  /* Keeps the emoji clean and visually balanced */
    flex-shrink: 0;     /* Ensures the emoji never squishes down on small screens */
}

