/*
===========================================
CHILDHOOD ADVOCATE WEBSITE
Vine Abundance Color Palette
===========================================
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&family=Cormorant:ital,wght@1,400;1,500;1,600&display=swap');

/* 
===========================================
CSS Variables - Vine Abundance Palette
===========================================
Deep Wine Purple: #5A2A68 - Headlines, buttons
Crimson Berry: #A14563 - CTAs
Golden Green: #A6B848 - Accents
Leaf Green: #6E8B3D - Text accents
Soft Lilac Mist: #CBA6C3 - Background tints
Pale Sunlight: #F5EEDC - Section backgrounds
===========================================
*/

:root {
    --wine-purple: #5A2A68;
    --crimson-berry: #A14563;
    --golden-green: #A6B848;
    --leaf-green: #6E8B3D;
    --lilac-mist: #CBA6C3;
    --pale-sunlight: #F5EEDC;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-scripture: 'Cormorant', serif;
}

/*
===========================================
GLOBAL STYLES
===========================================
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--wine-purple);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

a {
    color: var(--crimson-berry);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--wine-purple);
}

img {
    max-width: 100%;
    height: auto;
}

/* Scripture Text Styling */
.scripture-text,
.quote-text {
    font-family: var(--font-scripture);
    font-style: italic;
    color: var(--crimson-berry);
    font-size: 1.2rem;
    line-height: 1.6;
}

/*
===========================================
BUTTONS
===========================================
*/

.btn-primary {
    background-color: var(--wine-purple);
    border-color: var(--white);
    color: var(--white);
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--crimson-berry);
    border-color: var(--crimson-berry);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 42, 104, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--wine-purple);
    color: var(--wine-purple);
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 5px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--wine-purple);
    color: var(--white);
}

/*
===========================================
SECTIONS
===========================================
*/

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--pale-sunlight);
}

.section-mist {
    background-color: var(--lilac-mist);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--wine-purple);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--leaf-green);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/*
===========================================
HEADER & NAVIGATION
===========================================
*/

.site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(90, 42, 104, 0.15);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--wine-purple) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--crimson-berry);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--crimson-berry);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/*
===========================================
HERO SECTION WITH BACKGROUND IMAGE
===========================================
*/

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wine-purple) 0%, var(--crimson-berry) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Darker overlay for better text readability over image */
.hero-section .hero-overlay {
    background: rgba(90, 42, 104, 0.85);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 42, 104, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.7rem;
    color: var(--pale-sunlight);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
    font-family: var(--font-scripture);
    font-style: italic;
}

.hero-cta {
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
===========================================
VISION SECTION
===========================================
*/

.vision-section {
    background: var(--pale-sunlight);
    padding: 60px 0;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 2;
}

.vision-statement {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 30px 0;
}

.vision-statement h3 {
    color: var(--wine-purple);
    margin-bottom: 1.5rem;
}

.vision-quote {
    font-family: var(--font-scripture);
    font-style: italic;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--crimson-berry);
    padding: 20px;
    border-left: 4px solid var(--golden-green);
    background: rgba(166, 184, 72, 0.05);
}

/*
===========================================
ENTERPRISES SECTION
===========================================
*/

.enterprises-section {
    padding: 80px 0;
    background: var(--white);
}

.enterprise-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--golden-green);
    height: 100%;
}

.enterprise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(90, 42, 104, 0.15);
    border-top-color: var(--crimson-berry);
}

.enterprise-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--wine-purple);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.enterprise-card h4 {
    color: var(--wine-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.enterprise-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.enterprise-link {
    display: inline-block;
    color: var(--crimson-berry);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.enterprise-link:hover {
    color: var(--wine-purple);
    padding-left: 5px;
}

.enterprise-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.enterprise-link:hover i {
    margin-left: 10px;
}

.cofounded-badge {
    display: inline-block;
    background: var(--lilac-mist);
    color: var(--wine-purple);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

/*
===========================================
ENTERPRISE CARDS WITH IMAGES (NEW)
===========================================
*/

.enterprise-card-img {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--golden-green);
    height: 100%;
}

.enterprise-card-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(90, 42, 104, 0.15);
    border-top-color: var(--crimson-berry);
}

.enterprise-image {
    width: 100%;
    height: 130px;
    overflow: hidden;
    position: relative;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.enterprise-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    margin: auto;
}

.enterprise-card-img:hover .enterprise-image img {
    transform: scale(1.05);
    /* Reduced from 1.1 */
}

.enterprise-content {
    padding: 30px;
    /* Reduced from 35px */
}

.enterprise-content .enterprise-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--wine-purple);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.enterprise-content h4 {
    color: var(--wine-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.enterprise-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/*
===========================================
CO-FOUNDED SECTION (DISTINCT STYLING - NEW)
===========================================
*/

.cofounded-section {
    background: var(--pale-sunlight);
    padding: 80px 0;
    border-top: 3px solid var(--lilac-mist);
}

.cofounded-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    /* Reduced from 40px */
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 5px solid var(--leaf-green);
    position: relative;
    height: 100%;
}

.cofounded-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(110, 139, 61, 0.2);
    border-left-color: var(--golden-green);
}

.cofounded-badge-top {
    display: inline-block;
    background: linear-gradient(135deg, var(--leaf-green), var(--golden-green));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    /* Reduced from 20px */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cofounded-card h4 {
    color: var(--leaf-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cofounded-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Add image styling for co-founded cards */
.cofounded-card .enterprise-image {
    width: 100%;
    height: 130px;
    overflow: hidden;
    position: relative;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.cofounded-card .enterprise-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    margin: auto;
}

.cofounded-card:hover .enterprise-image img {
    transform: scale(1.05);
}

/* Make enterprise link work in co-founded cards */
.cofounded-card .enterprise-link {
    color: var(--leaf-green);
}

.cofounded-card .enterprise-link:hover {
    color: var(--golden-green);
}

/*
===========================================
ABOUT PAGE - 40/60 SPLIT LAYOUT
===========================================
*/

.about-hero {
    background: linear-gradient(135deg, var(--pale-sunlight) 0%, var(--lilac-mist) 100%);
    padding: 80px 0;
    text-align: center;
}

.about-intro-full {
    background: var(--white);
    padding: 0;
    overflow: hidden;
}

/* Portrait Section - 40% Left Edge */
/* Portrait Section - 40% Left Edge */
.about-portrait-left {
    position: relative;
    min-height: 100%;
    width: 40%;
    align-self: flex-start;
}

.portrait-container {
    position: sticky;
    top: 80px;
    height: calc(100vh - 160px);
    max-height: 100%;
    overflow: hidden;
}

.portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portrait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(90, 42, 104, 0.05) 100%);
}

/* Story Content - 60% Right */
.story-content-right {
    padding: 80px 60px 80px 80px;
    background: var(--white);
}

.story-content-right h2 {
    color: var(--wine-purple);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.story-item-inline {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--pale-sunlight);
    border-radius: 12px;
    border-left: 4px solid var(--wine-purple);
    transition: all 0.3s ease;
}

.story-item-inline:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(90, 42, 104, 0.1);
    border-left-color: var(--crimson-berry);
}

.story-icon-inline {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--wine-purple), var(--crimson-berry));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: 3px;
}

.story-item-inline p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.scripture-divider {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--pale-sunlight) 0%, var(--lilac-mist) 100%);
    border-radius: 15px;
    margin-top: 50px;
}

.scripture-divider .scripture-text {
    font-size: 1.6rem;
    color: var(--crimson-berry);
    margin: 0;
}

/* Old styles kept for other sections */
.about-intro {
    background: var(--white);
    padding: 60px 0;
}

.about-portrait {
    text-align: center;
    margin-bottom: 30px;
}

.about-portrait img {
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(90, 42, 104, 0.2);
}

.creed-section {
    padding: 40px;
    background: var(--pale-sunlight);
    border-radius: 10px;
    border-left: 5px solid var(--wine-purple);
}

.creed-section p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.2rem;
}

.vista-section {
    background: var(--white);
    padding: 80px 0;
}

.vista-element {
    background: var(--pale-sunlight);
    padding: 35px;
    margin-bottom: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--golden-green);
    transition: all 0.3s ease;
}

.vista-element:hover {
    border-left-color: var(--crimson-berry);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.vista-element h4 {
    color: var(--wine-purple);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.vista-element h4 span {
    color: var(--crimson-berry);
    font-size: 1.1rem;
    display: block;
    font-weight: 400;
}

.vista-element p {
    color: var(--text-dark);
    font-size: 1.05rem;
}



/*
===========================================
MEDIA SECTION
===========================================
*/

.media-section {
    background: var(--pale-sunlight);
    padding: 80px 0;
}

.video-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90, 42, 104, 0.15);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 25px;
}

.video-info h5 {
    color: var(--wine-purple);
    margin-bottom: 0.8rem;
}

.video-info p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/*
===========================================
CONNECT PAGE
===========================================
*/

.connect-hero {
    background: linear-gradient(135deg, var(--wine-purple) 0%, var(--crimson-berry) 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.connect-hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.movement-section {
    background: var(--white);
    padding: 80px 0;
}

.belief-list {
    list-style: none;
    padding: 0;
}

.belief-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--lilac-mist);
    font-size: 1.1rem;
    line-height: 1.8;
}

.belief-list li:before {
    content: "✓";
    color: var(--golden-green);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.3rem;
}

.builders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.builder-badge {
    background: var(--pale-sunlight);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.builder-badge:hover {
    background: var(--lilac-mist);
    border-color: var(--crimson-berry);
    transform: scale(1.05);
}

.builder-icon {
    font-size: 2.5rem;
    color: var(--wine-purple);
    margin-bottom: 10px;
}

.builder-badge h5 {
    color: var(--wine-purple);
    font-size: 1.1rem;
}

/*
===========================================
CONTACT FORM
===========================================
*/

.contact-section {
    background: var(--pale-sunlight);
    padding: 80px 0;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    color: var(--wine-purple);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid var(--lilac-mist);
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--crimson-berry);
    box-shadow: 0 0 0 0.2rem rgba(161, 69, 99, 0.15);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
}

.contact-info {
    background: var(--wine-purple);
    color: var(--white);
    padding: 50px;
    border-radius: 15px;
    height: 100%;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.contact-detail i {
    color: var(--golden-green);
    margin-right: 15px;
    font-size: 1.3rem;
    margin-top: 5px;
}

.contact-detail a {
    color: var(--pale-sunlight);
}

.contact-detail a:hover {
    color: var(--golden-green);
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--golden-green);
    transform: translateY(-3px);
}

/*
===========================================
FOOTER
===========================================
*/

.site-footer {
    background: var(--wine-purple);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-scripture {
    font-family: var(--font-scripture);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--pale-sunlight);
    margin: 30px 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.footer-links li {
    display: inline-block;
    margin: 0 15px;
}

.footer-links a {
    color: var(--pale-sunlight);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--golden-green);
}

.footer-social {
    margin: 20px 0;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--golden-green);
    transform: translateY(-3px);
}

.footer-email {
    margin: 20px 0;
}

.footer-email a {
    color: var(--pale-sunlight);
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--lilac-mist);
}

/*
===========================================
SCROLL ANIMATIONS
===========================================
*/

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/*
===========================================
RESPONSIVE DESIGN
===========================================
*/

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .enterprise-card,
    .enterprise-card-img,
    .cofounded-card {
        margin-bottom: 20px;
    }

    .enterprise-image {
        height: 120px;
        padding: 15px;
    }

    .cofounded-card .enterprise-image {
        height: 100px;
        padding: 15px;
    }

    .enterprise-content,
    .cofounded-card {
        padding: 25px;
    }

    .contact-form,
    .contact-info {
        padding: 30px;
    }

    .builders-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
     .about-portrait-left {
        width: 100%;
        min-height: 60vh;
    }
    
    .portrait-container {
        position: relative;
        top: 0;
        height: 60vh;
    }
    
    .story-content-right {
        padding: 60px 30px;
    }
    
    .story-content-right h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .enterprise-image {
        height: 100px;
        padding: 10px;
    }

    .cofounded-card .enterprise-image {
        height: 80px;
        padding: 10px;
    }

    .contact-form,
    .contact-info {
        padding: 25px;
    }

      .portrait-container {
        height: 50vh;
    }
    
    .story-content-right {
        padding: 40px 20px;
    }
    
    .story-content-right h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .story-item-inline {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .story-icon-inline {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .story-item-inline p {
        font-size: 1rem;
    }
    
    .scripture-divider .scripture-text {
        font-size: 1.3rem;
    }

}