.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-profile {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tech-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tech-avatar img {
    transition: transform 0.3s ease;
}

.tech-profile:hover .tech-avatar img {
    transform: scale(1.05);
}

.about-intro {
    position: relative;
    padding-bottom: 1.5rem;
}

.about-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.about-section:hover .about-intro::after {
    width: 120px;
}

.feature-icon {
    transition: transform 0.2s ease;
}

.feature-list li:hover .feature-icon {
    transform: scale(1.2);
}

.map-image-container {
    overflow: hidden;
}

.map-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.map-text {
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.map-image-container:hover .map-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.4);
}

.map-image-container:hover .map-text {
    transform: translateY(0);
}

.map-image-container:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.map-image-container:focus .map-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.contact-info h3,
.contact-form h3 {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-form .form-group {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.contact-form .form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-form .form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-form .form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-form .form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-form .form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.contact-form button {
    opacity: 0;
    animation: fadeInUp 0.6s 0.6s ease forwards;
}

.feature-list li {
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

.repair-section:nth-child(1) .feature-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.repair-section:nth-child(1) .feature-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.repair-section:nth-child(1) .feature-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.repair-section:nth-child(1) .feature-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.repair-section:nth-child(1) .feature-list li:nth-child(5) {
    animation-delay: 0.5s;
}

.repair-section:nth-child(2) .feature-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.repair-section:nth-child(2) .feature-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.repair-section:nth-child(2) .feature-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.repair-section:nth-child(2) .feature-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.repair-section:nth-child(2) .feature-list li:nth-child(5) {
    animation-delay: 0.5s;
}

.repair-section:nth-child(3) .feature-list li {
    animation-delay: 0.3s;
}

.why-choose-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

.why-choose-item:nth-child(1) {
    animation-delay: 0.1s;
}

.why-choose-item:nth-child(2) {
    animation-delay: 0.2s;
}

.why-choose-item:nth-child(3) {
    animation-delay: 0.3s;
}

.why-choose-item:nth-child(4) {
    animation-delay: 0.4s;
}

.social-links a {
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links a:hover::before {
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    
    .feature-list li,
    .contact-form .form-group,
    .contact-form button,
    .why-choose-item {
        opacity: 1;
        animation: none;
    }
    
    .tech-profile:hover,
    .tech-profile:hover .tech-avatar img,
    .about-section:hover .about-intro::after,
    .feature-list li:hover .feature-icon {
        transform: none;
    }
}