/* Component Styles - Cards, Buttons, Forms, etc. */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    color: #0066FF;
    border: 2px solid #0066FF;
}

.btn-outline:hover {
    background: #0066FF;
    color: white;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #00D4FF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    color: white;
    font-size: 2rem;
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: rotateY(360deg) scale(1.1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.card-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-link {
    color: #0066FF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #00D4FF;
}

/* Service Card Link */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Service Card */
.service-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 102, 255, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    transform: none !important;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card-link:hover .service-card::after,
.service-card:hover::after {
    opacity: 1;
}

.service-card-link:hover .service-card,
.service-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.3);
}

/* Reset 3D transform on service cards when not hovering */
.service-card:not(:hover) {
    transform: none !important;
    rotationX: 0 !important;
    rotationY: 0 !important;
}

.service-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.service-card-link:hover .service-card .service-icon,
.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.15);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.service-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.service-description {
    color: #888;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card .card-link {
    margin-top: auto;
    align-self: center;
    pointer-events: none;
    cursor: inherit;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: #1a1a2e;
}

.form-control:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    color: white;
}

.badge-secondary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 48px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: #0066FF;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: white;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: transform 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.feature-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Stat Item */
.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: white !important;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
}

.stat-label {
    font-size: 1.1rem;
    color: white !important;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
}

/* Process Step */
.process-step {
    position: relative;
    text-align: center;
    padding: 30px;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.process-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.process-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: rgba(0, 102, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.testimonial-role {
    color: #999;
    font-size: 0.9rem;
    margin-top: 4px;
}
