/* ============================================
   DIGITAL EXPERTS - FORMS & MISC COMPONENTS
   ============================================ */

/* FORMS */
.form-group {
    position: relative;
    margin-bottom: var(--space-6);
}

.form-label {
    position: absolute;
    top: var(--space-4);
    left: var(--space-5);
    font-size: var(--text-base);
    color: var(--gray-500);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}

.form-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    color: var(--white);
    transition: all 0.3s var(--ease-out);
}

.form-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    top: -10px;
    left: var(--space-4);
    font-size: var(--text-sm);
    color: var(--primary-light);
    background: var(--black);
    padding: 0 var(--space-2);
}

.form-input option {
    background-color: var(--black);
    color: var(--white);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    display: none;
}

.form-group.error .form-input {
    border-color: #ef4444;
}

.form-group.error .form-error {
    display: block;
    animation: shake 0.5s;
}

.form-success {
    padding: var(--space-6);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    text-align: center;
    animation: scaleIn 0.5s var(--ease-out);
}

/* COUNTERS */
.counter-item {
    text-align: center;
}

.counter-number {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: var(--font-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.counter-label {
    font-size: var(--text-lg);
    color: var(--gray-400);
    font-weight: var(--font-medium);
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: var(--space-12);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: var(--gray-800);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-10);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -42px;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.timeline-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.timeline-content h4 {
    margin-bottom: var(--space-2);
}

.timeline-content p {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

/* TESTIMONIAL */
.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: var(--text-6xl);
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-size: var(--text-lg);
    color: var(--gray-200);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
}

.testimonial-info h5 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.testimonial-info p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    color: #fbbf24;
    margin-top: var(--space-2);
}

/* SLIDER */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s var(--ease-out);
}

.slider-slide {
    flex: 0 0 100%;
    padding: 0 var(--space-4);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all 0.3s;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--primary-light);
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-6);
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
}