/* ============================================
   VALUEDENT CUSTOM STYLES
   ============================================ */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Service cards animation */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Remove transition from certain elements */
img, video, canvas {
    transition: none !important;
}

/* Button hover effects */
button, .button, .btn, [role="button"] {
    position: relative;
    overflow: hidden;
}

button::before, .button::before, .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

button:hover::before, .button:hover::before, .btn:hover::before {
    left: 100%;
}

/* Form focus effects */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Link hover effects */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Service card image effects */
.service-card-image {
    position: relative;
    overflow: hidden;
}

.service-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(26, 26, 46, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card-image img {
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

/* Pricing table styling */
.pricing-table {
    border-spacing: 0;
}

.pricing-table th {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-table td {
    vertical-align: middle;
}

.pricing-table tbody tr {
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
    background-color: rgba(0, 212, 255, 0.08);
}

/* Testimonial cards */
.testimonial-card {
    border-left-width: 4px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Accreditation items */
.accreditation-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.accreditation-item:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Hero section effects */
.hero-section {
    position: relative;
}

.hero-title {
    animation: slideInLeft 0.8s ease-out;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        animation: none;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .testimonial-card:hover {
        transform: translateX(3px);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .site-header, .site-footer, .hero-cta, .consultation-form {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f0f0f0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --border-color: #333;
    }

    body {
        background-color: #0f0f0f;
        color: var(--text-dark);
    }

    .service-card, .consultation-form, .pricing-table {
        background-color: #1a1a1a;
    }

    .accreditation-item {
        background-color: #1a1a1a;
    }
}
