/* Otis Pitts Jr Foundation Corporation - Stylesheet */
/* Color scheme matching Peninsula Developers theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #174357;
    --dark-blue: #0e2d3d;
    --accent-gold: #c9a227;
    --light-gold: #d4b84e;
    --text-light: #e8e8e8;
    --text-dark: #333333;
    --background-light: #f5f5f5;
    --border-color: #4a7a95;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Header */
header {
    background-color: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo-img {
    max-height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.hero .tagline {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-light);
    font-style: italic;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--dark-blue);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.link-button {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 18px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.link-button:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Sections */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 10px;
}

section .container h2 {
    display: block;
    text-align: center;
}

section .container h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 10px auto 0;
}

/* Mission Section */
.mission {
    background-color: white;
    text-align: center;
}

.mission p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Cards */
.what-we-do {
    background-color: var(--background-light);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--accent-gold);
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    font-size: 16px;
}

/* Eligibility Preview */
.eligibility-preview {
    background-color: white;
    text-align: center;
}

.eligibility-list {
    list-style: none;
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
}

.eligibility-list li {
    padding: 15px 20px 15px 50px;
    position: relative;
    font-size: 18px;
    border-bottom: 1px solid #eee;
}

.eligibility-list li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: var(--accent-gold);
}

.cta-section h2::after {
    background-color: white;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-light);
}

/* Content Sections */
.content-section {
    background-color: white;
    padding: 60px 20px;
}

.content-section.alt {
    background-color: var(--background-light);
}

.content-section h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 25px;
}

.content-section h3 {
    color: var(--primary-blue);
    font-size: 24px;
    margin: 30px 0 15px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-section ul {
    margin: 20px 0 20px 40px;
}

.content-section li {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Founder Section */
.founder-image {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    margin: 20px 0;
}

.founder-link {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.founder-link:hover {
    background-color: var(--accent-gold);
    color: var(--dark-blue);
}

/* Application Form */
.form-section {
    background-color: white;
    padding: 60px 20px;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
}

.required::after {
    content: ' *';
    color: #c00;
}

.form-note {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    display: inline;
}

.submit-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
    padding: 18px 40px;
    background-color: var(--accent-gold);
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Required Documents */
.documents-list {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.documents-list h3 {
    margin-top: 0;
}

.documents-list ul {
    list-style: none;
    margin-left: 0;
}

.documents-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.documents-list li::before {
    content: '📎';
    position: absolute;
    left: 0;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

footer h4 {
    color: var(--accent-gold);
    font-size: 20px;
    margin-bottom: 20px;
}

footer p {
    margin-bottom: 10px;
    font-size: 15px;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-legal {
    font-size: 14px;
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #4a7a95;
    font-size: 14px;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .tagline {
        font-size: 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 28px;
    }
}
