/* ============================================
   GREGGAR DETERVILLE — CUSTOM OVERRIDES
   Companion stylesheet for index.html
   Drop into /assets/css/custom.css

   DEFENSIVE VERSION: scoped tightly to avoid
   conflict with the parent style.css
   ============================================ */

/* --- Typed text whitespace handling --- */
.typed-whitespace {
    white-space: pre;
}

/* ============================================
   ECOSYSTEM SECTION
   Scoped strictly inside #ecosystem
   ============================================ */

#ecosystem .layer-heading {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: #2c3e50;
    border-left: 4px solid #e74c3c;
    padding: 8px 0 8px 18px;
    margin: 20px 0 30px 0;
    font-size: 14px;
}

#ecosystem .ecosystem-layer {
    margin-bottom: 40px;
}

#ecosystem .venture-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 25px;
    text-decoration: none;
    color: #2c3e50;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    min-height: 170px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

#ecosystem .venture-card:hover,
#ecosystem .venture-card:focus {
    border-color: #e74c3c;
    box-shadow: 0 12px 28px rgba(231, 76, 60, 0.18);
    transform: translateY(-5px);
    text-decoration: none;
    color: #2c3e50;
}

#ecosystem .venture-card h5 {
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 14px;
    color: #1a1a1a;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1.3;
}

#ecosystem .venture-card p {
    color: #6c757d;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

#ecosystem .ecosystem-cta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e8eaed;
}

#ecosystem .ecosystem-cta p {
    color: #6c757d;
    font-size: 15px;
    margin: 0;
}

#ecosystem .ecosystem-cta a {
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
}

#ecosystem .ecosystem-cta a:hover,
#ecosystem .ecosystem-cta a:focus {
    color: #c0392b;
    text-decoration: underline;
}

/* ============================================
   FAQ SECTION
   Scoped strictly inside #faq
   ============================================ */

#faq .faq-item {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-left: 4px solid #e74c3c;
    padding: 22px 28px;
    margin-bottom: 18px;
    border-radius: 0 8px 8px 0;
}

#faq .faq-item h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 17px;
}

#faq .faq-item p {
    margin: 0;
    line-height: 1.65;
    color: #6c757d;
    font-size: 14.5px;
}

/* ============================================
   ACCESSIBILITY HELPERS
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    #ecosystem .venture-card {
        min-height: 150px;
    }
}

@media (max-width: 767px) {
    #ecosystem .venture-card {
        min-height: 0;
        padding: 22px 20px;
    }

    #ecosystem .layer-heading {
        font-size: 13px;
        letter-spacing: 2px;
        margin: 15px 0 20px 0;
    }

    #ecosystem .ecosystem-layer {
        margin-bottom: 30px;
    }

    #faq .faq-item {
        padding: 18px 20px;
    }

    #faq .faq-item h4 {
        font-size: 16px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    #ecosystem .venture-card {
        transition: none;
    }

    #ecosystem .venture-card:hover,
    #ecosystem .venture-card:focus {
        transform: none;
    }
}

/* ============================================
   GREGGAR DETERVILLE — CUSTOM ADDITIONS
   Appended to style.css for ecosystem, FAQ, etc.
   ============================================ */

.typed-whitespace {
    white-space: pre;
}

/* Ecosystem Section */
#ecosystem .layer-heading {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: #2c3e50;
    border-left: 4px solid #e74c3c;
    padding: 8px 0 8px 18px;
    margin: 20px 0 30px 0;
    font-size: 14px;
}

#ecosystem .ecosystem-layer {
    margin-bottom: 40px;
}

#ecosystem .venture-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 25px;
    text-decoration: none;
    color: #2c3e50;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    min-height: 170px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#ecosystem .venture-card:hover,
#ecosystem .venture-card:focus {
    border-color: #e74c3c;
    box-shadow: 0 12px 28px rgba(231, 76, 60, 0.18);
    transform: translateY(-5px);
    text-decoration: none;
    color: #2c3e50;
}

#ecosystem .venture-card h5 {
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 14px;
    color: #1a1a1a;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1.3;
}

#ecosystem .venture-card p {
    color: #6c757d;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

#ecosystem .ecosystem-cta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e8eaed;
}

#ecosystem .ecosystem-cta p {
    color: #6c757d;
    font-size: 15px;
    margin: 0;
}

#ecosystem .ecosystem-cta a {
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
}

#ecosystem .ecosystem-cta a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* FAQ Section */
#faq .faq-item {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-left: 4px solid #e74c3c;
    padding: 22px 28px;
    margin-bottom: 18px;
    border-radius: 0 8px 8px 0;
}

#faq .faq-item h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 17px;
}

#faq .faq-item p {
    margin: 0;
    line-height: 1.65;
    color: #6c757d;
    font-size: 14.5px;
}

/* Accessibility helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 991px) {
    #ecosystem .venture-card {
        min-height: 150px;
    }
}

@media (max-width: 767px) {
    #ecosystem .venture-card {
        min-height: 0;
        padding: 22px 20px;
    }
    #ecosystem .layer-heading {
        font-size: 13px;
        letter-spacing: 2px;
        margin: 15px 0 20px 0;
    }
    #ecosystem .ecosystem-layer {
        margin-bottom: 30px;
    }
    #faq .faq-item {
        padding: 18px 20px;
    }
    #faq .faq-item h4 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ecosystem .venture-card {
        transition: none;
    }
    #ecosystem .venture-card:hover,
    #ecosystem .venture-card:focus {
        transform: none;
    }
}
/* Emergency logo size fix */
.navbar-brand img,
.img-logo,
footer .img-logo {
    max-width: 60px !important;
    max-height: 60px !important;
    height: auto !important;
    width: auto !important;
}

.img-sig {
    max-width: 300px !important;
    height: auto !important;
}

.img-me {
    max-width: 300px !important;
    height: auto !important;
}

/* Prevent any image from exceeding its container */
img {
    max-width: 100%;
    height: auto;
}