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

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: #2D6A5C; }
h3 { font-size: 1.5rem; }

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

/* Navigation */
.navbar {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D97757;
}

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

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #D97757;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #2D6A5C;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #245448;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 106, 92, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F5F1E8 0%, #FDFBF7 100%);
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: #2D6A5C;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #D97757;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    display: block;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #D97757 0%, #E8A692 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    padding: 2rem;
}

.image-note {
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Books Section */
.books {
    padding: 6rem 0;
    background-color: #F5F1E8;
}

.books h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    color: #555;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.book-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.book-cover {
    margin-bottom: 1.5rem;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.book-cover .image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #2D6A5C 0%, #3D8A7A 100%);
    font-size: 1rem;
}

.book-cover img {
    width: 100%;
    max-width: 280px;
    height: 380px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.book-info h3 {
    color: #2D6A5C;
    margin-bottom: 1rem;
}

.book-info p {
    color: #555;
    line-height: 1.7;
}

.book-note {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-top: 2rem;
}

/* Literacy Initiative Section */
.literacy {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.literacy h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.literacy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.literacy-card {
    background-color: #F5F1E8;
    border-left: 5px solid #D97757;
    padding: 2.5rem;
    border-radius: 10px;
}

.literacy-card h3 {
    color: #2D6A5C;
    margin-bottom: 1rem;
}

.literacy-card p {
    margin-bottom: 1rem;
}

.support-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #D97757;
    font-weight: 600;
    color: #2D6A5C;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2D6A5C 0%, #3D8A7A 100%);
    color: #FFFFFF;
}

.contact h2 {
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.contact .section-intro {
    color: #FFFFFF;
    opacity: 0.95;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    background-color: #D97757;
    width: 100%;
}

.contact-form .btn-primary:hover {
    background-color: #C56647;
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Footer */
.footer {
    background-color: #1F4A3F;
    color: #FFFFFF;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-placeholder {
        max-width: 300px;
    }
    
    .about,
    .books,
    .literacy,
    .contact {
        padding: 4rem 0;
    }
    
    .books-grid,
    .literacy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
