/* ==========================================================================
   1. GLOBAL VARIABLES & ROOT
   ========================================================================== */
:root {
    --bg-dark: #050a18;
    --bg-card: #0c1529;
    --bg-navy-input: #0a1122;
    --teal: #4fd1ed;
    --text-slate: #cbd5e1;
    /* Brand Pillars */
    --media: #dc3545;
    --merch: #ffc107;
    --creative: #a855f7;
    --tech: #007bff;
    --systems: #28a745;
}

/* ==========================================================================
   2. BASE BODY & LAYOUT
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Accuracy Fix: Prevents Navbar from covering section titles */
section {
    scroll-margin-top: 100px; 
}

/* Background Grid Overlay */
.grid-bg {
    background-image: linear-gradient(rgba(79, 209, 237, 0.04) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(79, 209, 237, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
}

/* ==========================================================================
   3. TYPOGRAPHY & UTILITIES
   ========================================================================== */
.display-4.fw-bold {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px !important;
}

h6.text-teal {
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 800;
    margin-bottom: 15px !important;
}

.visible-body-text {
    color: var(--text-slate) !important;
    opacity: 1 !important;
    line-height: 1.7;
}

.text-teal { color: var(--teal) !important; }

.bg-founder {
    background: rgba(79, 209, 237, 0.1);
    border: 1px solid var(--teal);
    color: var(--teal);
    font-size: 0.9rem;
    padding: 8px 15px;
}

/* ==========================================================================
   4. NAVIGATION BAR
   ========================================================================== */
.navbar {
    background: rgba(5, 10, 24, 0.95);
    backdrop-filter: blur(1px);
    border-bottom: 1px solid rgba(79, 209, 237, 0.15);
}

.nav-logo-box {
    padding: 0px 0px;
    border-radius: 5px;
}

.nav-logo-box img { height: 100px; }

.nav-logo-box {
    /* Creates a sharp outline by layering 4 tiny shadows */
    filter: drop-shadow(1px 1px 0px #c6d7da) 
            drop-shadow(-1px -1px 0px #91bcc0) 
            drop-shadow(1px -1px 0px #d9f0f3) 
            drop-shadow(-1px 1px 0px #f7fafa);
}

.nav-link {
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--teal) !important;
    transform: translateY(-3px);
}

/* Ensure the underline is hidden by default */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

/* Only show the underline for the ONE current section OR when hovering */
.nav-link:hover::after, 
.nav-link.active::after {
    width: 100% !important;
}

/* Change text color only for the active one */
.nav-link.active {
    color: var(--teal) !important;
}

.btn-quote {
    background: var(--teal);
    color: #000 !important;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 25px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(79, 209, 237, 0.4);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section { padding: 120px 0 80px; }

.hero-tagline {
    color: var(--teal);
    border: 1px solid var(--teal);
    display: inline-block;
    padding: 8px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
}

.text-outline { -webkit-text-stroke: 1px var(--teal); color: transparent; }

.hero-subtext { color: var(--text-slate); font-size: 1.3rem; opacity: 0.8; }

/* ==========================================================================
   6. COMPONENTS (CARDS & PILLS)
   ========================================================================== */
.emp-card {
    background: var(--bg-card);
    border: 1px solid rgba(79, 209, 237, 0.15);
    border-radius: 15px;
    transition: 0.3s;
}

.emp-card:hover {
    border-color: var(--teal);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.svc-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
}

.pill-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 10px; }
.bg-media { background: var(--media); } .text-media { color: var(--media); }
.bg-merch { background: var(--merch); } .text-merch { color: var(--merch); }
.bg-creative { background-color: var(--creative); } .text-creative { color: var(--creative); }
.bg-tech { background: var(--tech); } .text-tech { color: var(--tech); }
.bg-systems { background: var(--systems); } .text-systems { color: var(--systems); }

.icon-box-small {
    width: 50px; height: 50px;
    border: 1px solid rgba(79, 209, 237, 0.3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   7. SECTIONS (GOALS & ABOUT)
   ========================================================================== */
#goals { padding-top: 100px !important; padding-bottom: 80px !important; }
.goal-number { color: var(--teal); font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; opacity: 0.8; }
.verse-box { border-left: 4px solid var(--teal); padding-left: 20px; margin: 20px 0; }

/* ==========================================================================
   8. BRAND DNA
   ========================================================================== */
.dna-emblem-box {
    border-radius: 12px;
    padding: 25px 45px;
    display: inline-block;
    box-shadow: 0 0 30px rgba(79, 209, 237, 0.25);
}

.dna-emblem-box img {
    height: auto; width: 100%; max-width: 1000px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

#dna-main-logo {
    max-width: 500px; width: 100%; height: auto;
    display: block; margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(79, 209, 237, 0.2);
}

/* --- BRAND DNA ANIMATION --- */

/* --- BRAND DNA LOGO GLOW --- */
#dna-main-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    /* Default state: subtle presence */
    filter: drop-shadow(0 0 10px rgba(79, 209, 237, 0.2));
    /* The secret for smooth movement */
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease-in-out;
    will-change: transform, filter;
    pointer-events: none; /* Prevents flickering when mouse moves over image */
}

/* This is the class the JS will trigger */
.dna-glow-active {
    /* TRIPLE LAYER GLOW for "Neon" effect */
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.8)) 
            drop-shadow(0 0 30px rgba(0, 229, 255, 0.4)) 
            drop-shadow(0 0 50px rgba(0, 229, 255, 0.2)) !important;
    transform: scale(1.1) translateY(-10px) !important;
}
/* ==========================================================================
   9. THE GLOWING FOOTER
   ========================================================================== */
/* ==========================================================================
   9. THE GLOWING FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-dark);
    padding: 80px 0 50px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-container {
    display: inline-block;
    margin-bottom: 40px;
    cursor: pointer;
}

.footer-logo-container img {
    height: 400px; /* Professional size */
    width: auto;
    opacity: 1;
    /* --- THE GLOW EFFECT --- */
    /* Layered shadows create the "Bloom" effect (Neon look) */
    filter: drop-shadow(0 0 8px rgba(238, 243, 243, 0.6)) 
            drop-shadow(0 0 15px rgba(248, 251, 252, 0.2));
    
    /* Smoothness settings */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter, transform;
}

/* --- THE HOVER EFFECT --- */
.footer-logo-container:hover img {
    /* 1. Scale it up slightly */
    transform: scale(1.1);
    
    /* 2. Intensify the Glow (Neon Bloom) */
    filter: drop-shadow(0 0 12px rgb(244, 248, 248)) 
            drop-shadow(0 0 25px rgb(244, 249, 250)) 
            drop-shadow(0 0 45px rgba(0, 229, 255, 0.3))
            brightness(1.1); /* Makes the logo itself a bit brighter */
}

.footer-bible-verse {
    color: #ffffff; font-weight: 900; text-transform: uppercase;
    letter-spacing: 2px; font-size: 1.4rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 0 5px var(--teal);
    margin-bottom: 40px;
}

.footer-divider {
    border: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    margin: 40px 0; opacity: 0.6;
}

/* ==========================================================================
   10. PROJECT CONSULTATION WIZARD (MODAL)
   ========================================================================== */
.modal-dialog { max-width: 760px; }

.modal-content {
    background-color: #0B2444 !important;
    border: 1px solid rgba(0,212,255,.2) !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(0,212,255,.08);
}

.modal-backdrop.show { opacity: .82; backdrop-filter: blur(8px); }

/* Wizard Header */
.wizard-icon-box {
    width: 55px; height: 55px;
    border: 1.5px solid #00e5ff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #00e5ff; font-size: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.2);
}

.wizard-tagline {
    color: #00d9ff; font-size: .82rem; font-weight: 800;
    letter-spacing: 1.2px; text-transform: uppercase;
}

.wizard-main-title { font-size: 2rem; font-weight: 900; color: white; margin-top: 2px; }

/* Wizard Inputs & Selects */
.wizard-input-label {
    font-size: .78rem; color: #C4D2E0; font-weight: 800;
    letter-spacing: .3px; text-transform: uppercase;
}

.wizard-input {
    background: #1A3553 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    color: white !important;
    height: 44px; border-radius: 8px;
}

.wizard-input:focus { border-color: #00e5ff !important; box-shadow: 0 0 10px rgba(0, 229, 255, 0.1) !important; }

/* --- WIZARD SUBMIT BUTTON DESIGN --- */

.btn-wizard-submit {
    background-color: #00e5ff !important;
    color: #000000 !important;
    font-weight: 800;
    font-size: 0.85rem; /* Slightly smaller font */
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px; /* Slightly sharper corners to match inputs */
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap; /* Keeps text on one line */
}

.btn-wizard-submit:hover {
    background-color: #26f2ff !important;
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
}

.btn-wizard-submit:active {
    transform: scale(0.98);                    /* Click "press" effect */
}

/* Wizard Pillars */
.pillar-flex-container { display: flex; flex-wrap: wrap; gap: 10px; }

.pillar-item {
    height: 46px; min-width: 170px; border-radius: 12px;
    background: #1B3655; border: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; color: #fff; font-size: .9rem; font-weight: 700; cursor: pointer;
}

.pillar-item.active {
    background: #135B86; border-color: #00D9FF;
    box-shadow: 0 0 15px rgba(0,212,255,.18);
}

.pillar-item i { display: none; color: #00e5ff; }
.pillar-item.active i { display: inline-block; }

/* Wizard Scrollbar */
.custom-wizard-scroll { max-height: 70vh; overflow-y: auto; }

/* --- AESTHETIC TEXTAREA CUSTOMIZATION --- */

/* 1. Hide the standard scrollbar arrows and make it thin/neon */
textarea.wizard-input::-webkit-scrollbar {
    width: 6px; /* Very thin for a sleek look */
}

textarea.wizard-input::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02); /* Almost invisible track */
    border-radius: 10px;
}

textarea.wizard-input::-webkit-scrollbar-thumb {
    background: var(--teal); /* Neon Cyan thumb */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5); /* Subtle glow */
}

/* 2. Style the Resize Handle (The bottom-right corner) */
/* This replaces the grey triangle with a custom teal icon */
textarea.wizard-input::-webkit-resizer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234fd1ed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' y1='21' x2='9' y2='9'%3E%3C/line%3E%3Cline x1='21' y1='15' x2='15' y2='21'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 10px;
}

/* 3. General Textarea Polish */
textarea.wizard-input {
    min-height: 120px;
    resize: vertical; /* Only allow up/down resizing to keep layout clean */
    padding: 15px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea.wizard-input:focus {
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1), 0 0 15px rgba(0, 212, 255, 0.1) !important;
}
/* Close Button */
.btn-close-custom {
    width: 42px; height: 42px; border-radius: 50%;
    background: #193A59; color: #8FA7BC; border: none;
}

.btn-close-custom:hover { color: white; background: #234A6D; }

.wizard-field-dark::placeholder {
    color: #475569 !important; /* Muted slate grey */
    font-size: 0.85rem;
    opacity: 0.8;
}

.wizard-field-dark {
    background-color: rgba(255, 255, 255, 0.04) !important; /* Deep dark tint */
    background-image: none !important;                     /* Removes default white background */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    height: 48px !important;
    transition: all 0.3s ease;
}

/* Fix for the focus state (The Teal Glow) */
.wizard-field-dark:focus {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: #00e5ff !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2) !important;
    outline: none !important;
}

/* Placeholder visibility */
.wizard-field-dark::placeholder {
    color: #475569 !important;
    font-size: 0.85rem;
}

/* Ensure consistent height for text inputs and selects */
input.wizard-field-dark, 
select.wizard-field-dark {
    height: 48px !important;
}


/* ==========================================================================
 --- PILLAR EXPLORER (MODAL) STYLING --- 
 ========================================================================== */

/* --- PILLAR EXPLORER: IMAGE 1 MASTER DESIGN --- */

.explorer-modal-frame {
    background-color: #020c1b !important; /* Exact Deep Navy */
    border: 1.5px solid #00e5ff !important; /* Cyan Glowing Border */
    border-radius: 20px !important;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.2) !important;
}

/* Header */
.explorer-brand-icon {
    width: 60px;
    height: 60px;
    border: 1.5px solid #00e5ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-size: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.2);
}

.explorer-pill-tag {
    color: #00e5ff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.explorer-main-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
    margin: 0;
}

.explorer-subtext {
    color: #94a3b8;
    font-size: 0.95rem;
}

.explorer-close-btn {
    background: #1a2a44;
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tabs Styling */
.explorer-nav-tabs {
    display: flex;
    gap: 12px;
}

.explorer-tab {
    background: #16243d;
    border: none;
    color: #94a3b8;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.explorer-tab.active {
    background-color: #00e5ff !important;
    color: #000 !important;
}

.explorer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
}

.explorer-desc-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    color: #cbd5e1; /* Visible slate grey */
    font-size: 1.05rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.02);
}

.explorer-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 15px 20px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    height: 100%; /* Ensures all boxes are same height */
}

.explorer-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 15px 20px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.explorer-feature-card i {
    color: #00e5ff;
    margin-right: 15px;
    font-size: 1.1rem;
}

/* THE CYAN SCROLLBAR */
.explorer-scroll-area {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 20px;
}

.explorer-scroll-area::-webkit-scrollbar { width: 10px; }
.explorer-scroll-area::-webkit-scrollbar-track { background: #010816; }
.explorer-scroll-area::-webkit-scrollbar-thumb {
    background: #00e5ff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Footer & Button */
.explorer-footer-note {
    color: #475569;
    font-size: 0.85rem;
}

.explorer-inquire-btn {
    background: #00e5ff !important;
    color: #000 !important;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 15px 35px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
    border: none;
}

/* ==========================================================================
   11. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-logo-box { width: 110px; padding: 5px 10px; }
    .hero-title { font-size: 3rem; }
    .display-4.fw-bold { font-size: 2.2rem !important; }
}


/* ==========================================================================
 --- VIDEO BACKGROUND STYLING --- 
 ==========================================================================*/
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the video fill the screen without stretching */
    z-index: -2;       /* Puts it behind everything */
    background-color: #050a18; /* Fallback color while video loads */
}

/* KEEP the Grid Overlay but make it subtle */
.grid-bg {
    background-image: linear-gradient(rgba(79, 209, 237, 0.04) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(79, 209, 237, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    background-color: transparent !important; /* Make this transparent to see the video */
    position: relative;
    z-index: 1;
}

/* Optional: Add a dark overlay so text is easier to read */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 8, 23, 0.4); /* Adjust 0.4 to make video darker or lighter */
    z-index: -1; 
}