/* ============================================
   GUEST PAGES (About, Contact, Static Page)
   Professional inner-page styles
   ============================================ */

/* Solid header variant for inner pages */
.header.header-solid {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header.header-solid .nav-link-dark { color: #1f2937; }
.header.header-solid .nav-link.active { color: var(--primary); font-weight: 800; }
.header.header-solid .nav-link.active::after {
    content: '';
    display: block;
    height: 3px;
    width: 28px;
    background: var(--primary);
    margin: 6px auto 0;
    border-radius: 99px;
}

/* ============================================
   PAGE HERO (shared across about/contact/page)
   ============================================ */
.page-hero {
    position: relative;
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #43A047 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}
@media (min-width: 1024px) {
    .page-hero { padding: 9rem 1.5rem 4.5rem; }
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(139, 195, 74, 0.15) 0, transparent 40%);
    pointer-events: none;
}
.page-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-hero .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}
.page-hero .section-badge svg { width: 16px; height: 16px; }
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 0.85rem;
    color: #fff;
    text-wrap: balance;
}
.page-hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin: 0 auto;
    text-wrap: pretty;
}

/* Breadcrumb */
.page-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
}
.page-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}
.page-breadcrumb a { color: var(--primary); font-weight: 600; }
.page-breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.page-breadcrumb .current { color: var(--foreground); font-weight: 700; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
    background: var(--background);
}
.about-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Mission */
.about-mission {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}
.about-mission .mission-content h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--foreground);
    margin: 0 0 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.about-mission .mission-content h2::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 99px;
}
.about-mission .mission-content > p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #374151;
    margin: 0 0 2rem;
}
.mission-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.mission-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.25s;
}
.mission-stat:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(46,125,50,0.18);
}
.mission-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.mission-stat .stat-label {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    font-weight: 600;
}
.mission-visual {
    display: flex;
    justify-content: center;
}
.visual-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(46,125,50,0.4);
    max-width: 320px;
}
.visual-card svg { width: 56px; height: 56px; margin-bottom: 1rem; }
.visual-card h3 { font-size: 1.5rem; font-weight: 900; margin: 0 0 0.5rem; color: #fff; }
.visual-card p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.92); margin: 0; }

/* Section heading shared */
.about-values h2,
.about-how-it-works h2,
.about-team h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--foreground);
    text-align: center;
    margin: 0 0 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.about-values h2::after,
.about-how-it-works h2::after,
.about-team h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 99px;
}

/* Values */
.about-values { padding: 4rem 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.25s;
}
.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -8px rgba(0,0,0,0.1);
}
.value-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(139,195,74,0.15));
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.value-icon svg { width: 30px; height: 30px; }
.value-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--foreground); margin: 0 0 0.5rem; }
.value-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* How it works */
.about-how-it-works {
    padding: 4rem 0;
    background: #fff;
    margin: 0 -1.5rem;
    padding-left: 1.5rem; padding-right: 1.5rem;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}
.step-number {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 900;
    box-shadow: 0 8px 20px -4px rgba(46,125,50,0.4);
}
.step-card h4 { font-size: 1.1rem; font-weight: 800; color: var(--foreground); margin: 0 0 0.5rem; }
.step-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* Team */
.about-team { padding: 4rem 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.team-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.25s;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -8px rgba(0,0,0,0.1);
}
.team-avatar {
    width: 90px; height: 90px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900;
}
.team-card h4 { font-size: 1.2rem; font-weight: 800; color: var(--foreground); margin: 0 0 0.25rem; }
.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }

/* CTA */
.about-cta {
    margin: 3rem 0 5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 28px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-cta::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 0, transparent 50%);
}
.about-cta > * { position: relative; z-index: 1; }
.about-cta h2 { font-size: 2rem; font-weight: 900; color: #fff; margin: 0 0 0.75rem; }
.about-cta p { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto 2rem; }
.about-cta .cta-buttons {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.about-cta .btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
}
.about-cta .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.about-cta .btn-primary {
    background: #fff;
    color: var(--primary);
}
.about-cta .btn-primary:hover { background: rgba(255,255,255,0.92); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page { background: var(--background); padding-bottom: 4rem; }
.contact-page .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}
.contact-info,
.contact-form-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px -12px rgba(0,0,0,0.12);
    padding: 2rem;
}
.contact-info h3,
.contact-form-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--foreground);
    margin: 0 0 1.5rem;
}
.info-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.2s;
}
.info-card:hover { border-color: var(--primary); background: rgba(46,125,50,0.03); }
.info-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(139,195,74,0.15));
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; }
.info-details h4 { font-size: 0.85rem; color: var(--muted-foreground); font-weight: 600; margin: 0 0 0.25rem; }
.info-details a,
.info-details span { color: var(--foreground); font-weight: 700; font-size: 0.95rem; }
.info-details a:hover { color: var(--primary); }

.social-section { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.social-section h4 { font-size: 0.95rem; font-weight: 700; color: var(--foreground); margin: 0 0 0.85rem; }
.social-links { display: flex; gap: 0.65rem; }
.social-link {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--muted);
    color: var(--muted-foreground);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.social-link:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; }

/* Contact form */
.contact-form-card > p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin: -1rem 0 1.5rem;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .form-group { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.contact-form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}
.input-wrapper { position: relative; }
.input-wrapper .input-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    width: 18px; height: 18px;
    pointer-events: none;
}
.textarea-wrapper .input-icon { top: 0.85rem; transform: none; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--foreground);
    transition: all 0.2s;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46,125,50,0.08);
}
.contact-form .btn-block { width: 100%; justify-content: center; }
.error-message { color: #dc2626; font-size: 0.82rem; margin-top: 0.35rem; }

.alert {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   STATIC PAGE (page.blade.php)
   ============================================ */
.static-page {
    background: var(--background);
    padding-bottom: 4rem;
}
.static-page .container { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.static-page-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 20px 50px -12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}
.static-page-card .article-content {
    color: #374151;
    font-size: 1.02rem;
    line-height: 1.95;
}
.static-page-card .article-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--foreground);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-light);
}
.static-page-card .article-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--foreground);
    margin: 1.5rem 0 0.75rem;
}
.static-page-card .article-content h2:first-child,
.static-page-card .article-content h3:first-child { margin-top: 0; }
.static-page-card .article-content p { margin: 0 0 1rem; }
.static-page-card .article-content ul,
.static-page-card .article-content ol { padding-right: 1.5rem; margin: 0 0 1rem; }
.static-page-card .article-content li { margin-bottom: 0.5rem; }
.static-page-card .article-content a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.static-page-card .article-content blockquote {
    border-right: 4px solid var(--primary);
    background: rgba(46,125,50,0.05);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border-radius: 0 12px 12px 0;
    color: #374151;
    font-style: italic;
}
.static-page-card .article-content strong { color: var(--foreground); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .about-mission { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
    .about-mission .mission-content h2,
    .about-mission .mission-content h2::after { text-align: center; }
    .about-mission .mission-content h2::after { left: 50%; right: auto; transform: translateX(-50%); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-content { grid-template-columns: 1fr; }
    .static-page-card { padding: 2rem 1.5rem; }
}

@media (max-width: 640px) {
    .page-hero { padding: 7rem 1.25rem 2.5rem; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero p { font-size: 0.95rem; }
    .mission-stats { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .contact-info, .contact-form-card { padding: 1.5rem; }
    .about-cta { padding: 2.5rem 1.5rem; margin: 2rem 0 3rem; }
    .about-cta h2 { font-size: 1.5rem; }
    .static-page-card { padding: 1.75rem 1.25rem; margin-top: 1.5rem; }
}
