/* ===== COMPONENT STYLES ===== */

/* ===== PAGE HEADER ===== */
.page-header {
    padding: var(--space-20) 0 var(--space-16);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray) 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== CONTENT SECTIONS ===== */
.about-content,
.contact-section {
    padding: var(--space-20) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.content-text {
    max-width: 600px;
}

.text-large {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    color: var(--text-color);
}

.content-text p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
    color: var(--text-light);
}

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

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: var(--bg-gray);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-dark);
}

.placeholder-content {
    text-align: center;
    color: var(--text-light);
}

.placeholder-content svg {
    margin-bottom: var(--space-4);
}

/* ===== MISSION SECTION ===== */
.mission-section {
    padding: var(--space-20) 0;
    background: var(--bg-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.mission-card {
    background: var(--bg-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.mission-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.mission-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: var(--space-20) 0;
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.value-item {
    padding: var(--space-6);
    border-left: 4px solid var(--primary-color);
    background: var(--bg-gray);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: all var(--transition-normal);
}

.value-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.value-number {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--space-3);
}

.value-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: var(--space-20) 0;
    background: var(--bg-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.team-member {
    background: var(--bg-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-6);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.member-name {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.member-role {
    font-size: var(--text-base);
    color: var(--primary-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-4);
}

.member-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: var(--text-sm);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
}

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

.cta-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-6);
}

.cta-description {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
}

.contact-form-container {
    background: var(--bg-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: var(--space-8);
}

.form-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.form-description {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

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

.form-label {
    font-weight: var(--font-medium);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.form-input,
.form-select,
.form-textarea {
    padding: var(--space-3);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
}

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

.form-error {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-1);
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--text-white);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-light);
}

.btn-loading {
    display: none;
}

.form-success {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    background: var(--accent-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.form-success h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

.form-success p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.info-card {
    background: var(--bg-white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-bottom: var(--space-4);
}

.info-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

.info-text {
    color: var(--text-light);
    margin-bottom: var(--space-1);
    line-height: 1.5;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: var(--space-16) 0;
    background: var(--bg-gray);
}

.map-container {
    margin-top: var(--space-8);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-dark);
}

.map-content {
    text-align: center;
    color: var(--text-light);
}

.map-content svg {
    margin-bottom: var(--space-4);
}

.map-content p {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-2);
}

.map-content small {
    font-size: var(--text-sm);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--space-20) 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question svg {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-left: var(--space-4);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 var(--space-6);
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

