/* ===========================
   VISUAL ENHANCEMENTS
   Quick-win improvements for immediate implementation
=========================== */

/* 1. Service Card Gradient Overlays */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.05) 0%, 
        rgba(10, 132, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

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

.service-card > * {
    position: relative;
    z-index: 1;
}

/* 2. Enhanced Service Icons */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 0.15) 0%, 
        transparent 70%);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 0.3) 0%, 
        rgba(10, 132, 255, 0.15) 50%,
        transparent 70%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* 3. Enhanced Button Hover States with Ripple */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    box-shadow: 
        0 0 40px rgba(212, 175, 55, 0.6),
        0 0 80px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* 4. Section Dividers */
.section-divider {
    height: 1px;
    width: 100%;
    max-width: 1400px;
    margin: 4rem auto;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--glass-border) 20%,
        var(--primary-gold) 50%,
        var(--glass-border) 80%,
        transparent 100%
    );
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* 5. Enhanced Stats Cards with Animated Border */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.stat-number {
    position: relative;
    z-index: 1;
}

/* 6. Enhanced Compliance Badges */
.compliance-badge {
    position: relative;
    padding-left: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.compliance-badge::before {
    content: '';
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 4px;
    opacity: 0.3;
}

.compliance-badge:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* 7. Enhanced Form Input Focus States */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 
        0 0 0 3px rgba(212, 175, 55, 0.1),
        0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: var(--success-green);
}

.form-group input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: var(--error-red);
}

/* 8. Animated Feature Lists */
.service-features li {
    /* Visible by default (so content never disappears if JS/observer fails) */
    opacity: 1;
    transform: none;
    transition: all 0.3s ease;
}

/* Only animate/hide when JS is enabled */
.js .service-features li {
    opacity: 0;
    transform: translateX(-10px);
}

.js .service-features li.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-features li::before {
    /* Default: show checkmark */
    transition: transform 0.3s ease 0.1s;
}

/* Only animate checkmark when JS is enabled */
.js .service-features li::before {
    transform: scale(0);
}

.js .service-features li.visible::before {
    transform: scale(1);
}

/* 9. Technology Item Tooltips */
.tech-item-compact {
    position: relative;
}

.tech-item-compact::after {
    content: attr(data-category);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--dark-card);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-gold);
    z-index: 100;
    margin-bottom: 5px;
}

.tech-item-compact:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* 10. Section Background Variations */
.services {
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 132, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services > * {
    position: relative;
    z-index: 1;
}

/* 11. Enhanced Testimonial Cards */
.testimonial-card {
    position: relative;
}

/* 12. Success Message Animation */
.success-message {
    animation: slideInSuccess 0.5s ease;
}

@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 13. Hero Badge Animation */
.hero-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 14. Process Step Pulse Animation */
.step-number {
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    opacity: 0;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 2.5rem;
    }
    
    
    .section-divider {
        margin: 3rem auto;
    }
}


