/* =================================================================
   ECOLOGICAL AMBASSADOR PAGE CSS — Dasom Saessak Initiative
   ================================================================= */

/* --- Hero Section --- */
.ambassador-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #0f2c1b 0%, #1e4a2e 50%, #081a0e 100%);
    overflow: hidden;
}

.ambassador-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 15% 80%, rgba(226, 206, 128, 0.15) 0%, transparent 50%);
}

.ambassador-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.ambassador-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.ambassador-hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e2ce80;
    margin-bottom: 24px;
}

.ambassador-hero-subtitle i {
    width: 16px;
    height: 16px;
}

.ambassador-hero-title {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 24px;
    max-width: 800px;
}

.text-gold {
    color: #e2ce80;
}

.ambassador-hero-desc {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 680px;
}

.ambassador-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 32px;
    max-width: 1000px;
}

.ambassador-stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ambassador-stat-val {
    font-size: 36px;
    font-weight: 800;
    color: #e2ce80;
    letter-spacing: -1px;
    line-height: 1;
}

.ambassador-stat-lbl {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive stats */
@media (max-width: 768px) {
    .ambassador-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px;
    }
}

/* --- Section Formatting --- */
.section-padding {
    padding: 100px 0;
}

.bg-dark-green {
    background-color: #0b1a11;
    color: #fff;
}

.section-header-centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-subtitle-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #10b981;
    margin-bottom: 16px;
}

.section-title-large {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc-light {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.section-desc-dark {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* --- Pillars Grid --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(16, 185, 129, 0.3);
}

.pillar-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-wrapper {
    background-color: #10b981;
    color: #fff;
    transform: scale(1.05);
}

.pillar-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.pillar-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

.pillar-desc {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* --- Timeline section --- */
.timeline-grid {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-number-node {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #1e4a2e;
    border: 2px solid #10b981;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.timeline-content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    flex-grow: 1;
    backdrop-filter: blur(8px);
}

.timeline-content-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #e2ce80;
}

.timeline-content-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-number-node {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .timeline-step {
        gap: 20px;
    }
    .timeline-content-card {
        padding: 24px;
    }
}

/* --- Ambassador Form --- */
.form-section-bg {
    background-color: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.form-outer-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.form-header-bar {
    background: linear-gradient(135deg, #1e4a2e 0%, #10b981 100%);
    padding: 40px;
    color: #fff;
    text-align: center;
}

.form-header-bar h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.form-header-bar p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.form-body-wrapper {
    padding: 48px;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group-full {
    grid-column: span 2;
}

.form-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input-icon-container {
    position: relative;
}

.input-icon-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}

.input-icon-container input,
.input-icon-container select,
.input-icon-container textarea {
    width: 100%;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    color: #111827;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-icon-container textarea {
    padding-top: 16px;
    resize: vertical;
}

.input-icon-container input:focus,
.input-icon-container select:focus,
.input-icon-container textarea:focus {
    outline: none;
    border-color: #10b981;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

@media (max-width: 640px) {
    .form-grid-layout {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
    .form-body-wrapper {
        padding: 24px;
    }
}
