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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

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

/* Color Variables */
:root {
    --bw-teal-50: #f0fdfa;
    --bw-teal-100: #ccfbf1;
    --bw-teal-300: #5eead4;
    --bw-teal-500: #14b8a6;
    --bw-teal-600: #0d9488;
    --bw-teal-700: #0f766e;
    --bw-teal-800: #115e59;
    --bw-green-600: #16a34a;
    --bw-green-700: #15803d;
    --bw-navy-700: #1d4ed8;
    --bw-navy-800: #1e40af;
    --bw-navy-900: #1e3a8a;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1f2937;
}

.nav-logo-img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.nav-logo {
    width: 2rem;
    height: 2rem;
    color: var(--bw-teal-700);
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bw-teal-700);
    background-color: var(--bw-teal-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 0.125rem;
    background-color: #4b5563;
    transition: all 0.3s;
}

/* Page System */
.page {
    display: none;
    padding-top: 4rem;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--bw-navy-900) 0%, var(--bw-teal-800) 50%, var(--bw-green-700) 100%);
    color: white;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.1;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.1), transparent);
}

.hero-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: var(--bw-teal-300);
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.image-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(20, 184, 166, 0.2), rgba(22, 163, 74, 0.2));
    border-radius: 1rem;
    transform: rotate(3deg);
}

.hero-img {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--bw-teal-600);
    color: white;
}

.btn-primary:hover {
    background-color: var(--bw-teal-700);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--bw-navy-900);
}

.btn-white {
    background-color: white;
    color: var(--bw-green-700);
}

.btn-white:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}

/* Page Headers */
.page-hero {
    background: linear-gradient(135deg, var(--bw-navy-900), var(--bw-teal-800));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.page-hero-icon {
    width: 4rem;
    height: 4rem;
    color: var(--bw-teal-300);
    margin: 0 auto 1.5rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 4rem 0;
    background: white;
}

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

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: var(--bw-teal-700);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: var(--bw-teal-600);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6b7280;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bw-green-700), var(--bw-teal-700));
}

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

.cta-img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-text {
    color: white;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #dcfce7;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* About Mission */
.about-mission {
    padding: 4rem 0;
    background: white;
}

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

.mission-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--bw-teal-600);
}

.value-item span {
    font-weight: 600;
}

.mission-img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: #f9fafb;
}

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

.team-member {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.team-member:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.member-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 1rem;
    color: var(--bw-teal-600);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: var(--bw-teal-50);
    color: var(--bw-teal-700);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Company Stats */
.company-stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bw-navy-900), var(--bw-teal-800));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bw-teal-300);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #d1d5db;
}

/* Services Detailed */
.services-detailed {
    padding: 4rem 0;
    background: #f9fafb;
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.service-detailed-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.service-detailed-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.service-detailed-icon {
    width: 3rem;
    height: 3rem;
    color: var(--bw-teal-600);
}

.service-detailed-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.service-detailed-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-benefits {
    margin-bottom: 1.5rem;
}

.service-benefits h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-benefits ul {
    list-style: none;
    space-y: 0.5rem;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.service-benefits li::before {
    content: '✓';
    color: var(--bw-green-600);
    font-weight: 600;
    flex-shrink: 0;
}

.service-case-study {
    background: var(--bw-teal-50);
    padding: 1rem;
    border-radius: 0.5rem;
}

.service-case-study h4 {
    font-weight: 600;
    color: var(--bw-teal-800);
    margin-bottom: 0.5rem;
}

.service-case-study p {
    color: var(--bw-teal-700);
}

/* Projects */
.projects-grid-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.project-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.project-image {
    position: relative;
}

.project-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bw-teal-600);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-highlights h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.project-highlights ul {
    list-style: none;
    margin-bottom: 1rem;
}

.project-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.project-highlights li::before {
    content: '🏆';
    flex-shrink: 0;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.project-meta span::before {
    margin-right: 0.5rem;
}

.project-duration::before {
    content: '📅';
}

.project-team::before {
    content: '👥';
}

.project-impact {
    background: #dcfce7;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #166534;
}

/* Books */
.books-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.books-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: none;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--bw-teal-600);
    color: white;
}

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

.book-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.book-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.book-image {
    position: relative;
}

.book-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.book-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bw-teal-600);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.book-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.star-icon {
    width: 0.75rem;
    height: 0.75rem;
    color: #fbbf24;
}

.book-content {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.book-author {
    font-size: 0.875rem;
    color: var(--bw-teal-600);
    margin-bottom: 0.75rem;
}

.book-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.book-level {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.book-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.topic-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

/* Contact */
.contact-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bw-teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--bw-teal-600);
    margin-top: 0.25rem;
}

.contact-text h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-text small {
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-social h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    background: var(--bw-teal-50);
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--bw-teal-600);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--bw-teal-100);
}

.social-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
}

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

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

.footer-brand {
    max-width: 24rem;
}

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

.footer-logo svg {
    width: 2rem;
    height: 2rem;
    color: var(--bw-teal-500);
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: #9ca3af;
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: var(--bw-teal-500);
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bw-teal-500);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: #9ca3af;
}

.footer-contact-item span {
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .mission-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .books-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
  .footer-container {
    padding: 2rem 1rem !important;
  }
  .footer-content {
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: stretch !important;
  }
  .footer-brand,
  .footer-links,
  .footer-contact {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .footer-logo {
    margin-bottom: 1rem !important;
  }
  .footer-social {
    margin-top: 1rem !important;
  }
  .footer-links ul {
    padding-left: 0 !important;
  }
  .footer-links ul li {
    margin-bottom: 0.5rem !important;
  }
  .footer-bottom {
    text-align: center !important;
    font-size: 0.95rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #333 !important;
    margin-top: 1rem !important;
  }
}

/* Ensure footer uses flex for layout */
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 769px) {
  .footer-content {
    flex-direction: row;
  }
  .footer-brand,
  .footer-links,
  .footer-contact {
    width: 33%;
  }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active {
    animation: fadeInUp 0.5s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--bw-teal-500);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
    
    .page {
        display: block !important;
    }
    
    body {
        background: white;
        color: black;
    }
}