/* ==========================================================================
   3Cipercash - Pages Specific Styles
   ========================================================================== */

/* ==================== Page Header ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: calc(140px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    text-align: center;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,160L48,149.3C96,139,192,117,288,128C384,139,480,181,576,181.3C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

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

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--bg-white);
}

/* ==================== About Section ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.image-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(74, 158, 255, 0.1) 100%);
    color: var(--primary-color);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* ==================== Values Section ==================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    font-size: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.value-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==================== Timeline Section ==================== */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
    text-align: right;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    font-size: 1.75rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.timeline-content {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* ==================== Team Section ==================== */
.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.team-feature {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.team-feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(74, 158, 255, 0.1) 100%);
    color: var(--primary-color);
    font-size: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.team-feature:hover .team-feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    transform: scale(1.1);
}

.team-feature h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.team-feature p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==================== Contact Form ==================== */
.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
}

.contact-info-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.8;
}

.contact-info-content a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

/* Form Styles */
.contact-form {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group label .required {
    color: #FF4757;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark-color);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-control.error {
    border-color: #FF4757;
}

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

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.6;
    cursor: pointer;
}

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

.form-submit {
    margin-top: var(--spacing-lg);
}

.form-submit .btn {
    width: 100%;
}

/* ==================== Responsive Pages ==================== */
@media screen and (max-width: 1024px) {
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        grid-template-columns: 80px 1fr;
        direction: ltr !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        direction: ltr;
        text-align: left;
    }
    
    .timeline-content {
        grid-column: 2;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: calc(110px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .value-card {
        padding: var(--spacing-lg);
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .timeline-content {
        padding: var(--spacing-md);
    }
    
    .team-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        gap: var(--spacing-md);
    }
    
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: calc(100px + var(--spacing-md)) 0 var(--spacing-md);
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .team-feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .contact-info-icon {
        margin: 0 auto;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
}
