/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties */
:root {
    --primary-blue: #004aae;
    --primary-green: #009b02;
    --light-gray: #dfe7e8;
    --brown: #a96319;
    --dark-green: #2d8026;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --dark-text: #333333;
    --light-text: #666666;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Typography and Layout */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    position: relative;
    scroll-margin-top: 80px;
}

/* Alternating section backgrounds */
.story-section,
.insights-section {
    background-color: var(--off-white);
}

.intro-section,
.ventures-section,
.support-section,
.contact-section {
    background-color: var(--white);
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: bold;
    gap: 0.75rem;
}

.logo-img {
    width: 130px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section Styles */
.hero {
    padding: 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%; /* 5x width to accommodate 5 slides */
    height: 100%;
    z-index: 1;
    display: flex;
    transition: transform 1.5s ease-in-out;
}

.hero-bg-slide {
    width: 20%; /* Each slide takes 1/5 of the slider width */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Hero background images */
.hero-bg-slide:nth-child(1) {
    background-image: url('The Foundation Builder.png');
}

.hero-bg-slide:nth-child(2) {
    background-image: url('Seeds of Innovation.png');
}

.hero-bg-slide:nth-child(3) {
    background-image: url('Urban Energy Flow.png');
}

.hero-bg-slide:nth-child(4) {
    background-image: url('Minimalist Precision.png');
}

.hero-bg-slide:nth-child(5) {
    background-image: url('Infinite Horizon.png');
}

/* Introduction Section */
.intro-section {
    padding: 6rem 0;
}

.intro-layout {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.intro-description {
    font-size: 1.2rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.intro-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Story Section Styles */
.story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-content {
    text-align: left;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-quote {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.story-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin: 0;
}

.story-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.founder-image {
    border-radius: 16px;
    overflow: hidden;
}

.founder-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
    text-align: left;
    max-width: 600px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 0.5rem;
}

/* Ventures Section Styles */
.ventures-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.venture-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.venture-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.venture-card.featured {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-green) 100%);
    color: white;
    border-color: transparent;
}

.venture-card.featured h3,
.venture-card.featured .venture-category {
    color: white;
}

.venture-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.venture-image {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.venture-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.venture-meta h3 {
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
}

.venture-category {
    font-size: 0.85rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.venture-brand-image {
    margin: 1rem 0;
    text-align: center;
}

.brand-showcase {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.venture-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.venture-card:not(.featured) .venture-tagline {
    color: var(--primary-green);
}

.venture-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.venture-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.venture-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.venture-status.active {
    background: var(--primary-green);
    color: white;
}

.venture-status.launching {
    background: var(--brown);
    color: white;
}

.venture-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.venture-link:hover {
    color: var(--dark-green);
}

.venture-card.featured .venture-link {
    color: white;
}

/* Insights Section Styles */
.insights-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.insights-header {
    text-align: left;
    margin-bottom: 3rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.insight-entry {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.insight-entry:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-blue);
}

.insight-entry.featured {
    border-left: 4px solid var(--primary-green);
    background: linear-gradient(135deg, rgba(0, 155, 2, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.entry-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.entry-date,
.entry-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.entry-date {
    background: var(--light-gray);
    color: var(--dark-text);
}

.entry-category {
    background: var(--primary-blue);
    color: white;
}

.insight-entry h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.entry-excerpt {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.entry-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.entry-link:hover {
    color: var(--dark-green);
}

/* Support Section Styles */
.support-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.support-content {
    text-align: left;
}

.support-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.support-methods {
    display: grid;
    gap: 2rem;
}

.support-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.support-item p {
    color: var(--light-text);
    line-height: 1.6;
}

.support-cta {
    display: flex;
    align-items: center;
}

.cta-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    width: 100%;
}

.cta-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.cta-card p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

/* Contact Section Styles */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Footer Styles */
.site-footer {
    background: var(--dark-text);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 120px;
    height: px;
    border-radius: 6px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.footer-tagline {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    color: #9ca3af;
    font-size: 0.9rem;
    text-align: center;
}

/* Venture Details Page Styles */
.venture-detail-page {
    padding: 8rem 0 4rem;
}

.venture-detail-header {
    text-align: center;
    margin-bottom: 4rem;
}

.venture-detail-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin: 0 auto 2rem;
    display: block;
    object-fit: contain;
    box-shadow: var(--shadow);
}

.venture-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.venture-detail-content h2 {
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
}

.venture-detail-content h3 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.venture-detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.venture-detail-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.venture-detail-content ul li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.venture-detail-meta {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.venture-detail-meta .meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.meta-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--dark-green);
}

/* Blog Image Styles */
.blog-image {
    margin: 3rem 0;
    text-align: center;
}

.blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.blog-image-caption {
    font-style: italic;
    color: var(--light-text);
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Books Section Styles */
.books-section {
    margin: 3rem 0;
}

.books-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.published-books {
    grid-template-columns: 1fr;
}

.upcoming-books {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.book-showcase {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.book-showcase h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.book-showcase p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.book-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.book-cover {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 200px;
}

.book-cover-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.book-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.book-status {
    display: inline-block;
    background: var(--brown);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.book-info p:not(.book-status) {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ventures-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .venture-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .support-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .upcoming-books {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .book-cover {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .intro-content h1 {
        font-size: 2.5rem;
    }
    
    .intro-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ventures-grid {
        grid-template-columns: 1fr;
    }
    
    .venture-card.featured {
        grid-column: span 1;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .upcoming-books {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .book-item {
        padding: 1.5rem;
    }
    
    .book-cover {
        max-width: 100px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}