.abs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.abs-section {
    display: flex; 
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.abs-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

.abs-section:nth-child(even) {
    flex-direction: row-reverse;
}

.abs-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.abs-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.abs-content {
    flex: 1;
    padding: 20px;
}

.abs-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.abs-content h2:hover {
    color: #555;
}

.abs-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
    transition: width 0.4s ease, background-color 0.3s ease;
}

.abs-content h2:hover::after,
.abs-content:hover h2::after {
    width: 270px;
    background-color: #ffed4e;
}

.abs-content h3 { 
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.abs-content h3:hover {
    color: #555;
}

.abs-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
}

.abs-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: default;
}

.abs-content p:hover {
    color: #444;
    transform: translateX(5px);
}

.services-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    max-width: 350px;
}

.services-list li {
    padding: 8px 12px;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    line-height: 1.2;
    cursor: pointer;
    border-radius: 6px;
    margin: 2px 0;
}

.services-list:hover li {
    color: #444;
    transform: translateX(5px);
    padding-left: 16px;
    background-color: #fffef7;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.1);
}

.services-list li::before {
    content: '✓';
    color: var(--accent-primary);
    margin-right: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.services-list li:hover::before {
    color: #ffed4e;
    transform: scale(1.2);
}

.reveal-section.reveal .services-list li {
    opacity: 1;
    transform: translateX(0);
}

.services-list li:nth-child(1) { transition-delay: 0.1s; }
.services-list li:nth-child(2) { transition-delay: 0.2s; }
.services-list li:nth-child(3) { transition-delay: 0.3s; }
.services-list li:nth-child(4) { transition-delay: 0.4s; }
.services-list li:nth-child(5) { transition-delay: 0.5s; }
.services-list li:nth-child(6) { transition-delay: 0.6s; }
.services-list li:nth-child(7) { transition-delay: 0.7s; }
.services-list li:nth-child(8) { transition-delay: 0.8s; }
.services-list li:nth-child(9) { transition-delay: 0.9s; }

@media (max-width: 991px) {
    .abs-section {
        flex-direction: column !important;
        text-align: center;
    }

    .abs-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .abs-content h2:hover::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .abs-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .abs-content h3:hover::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .services-list li {
        justify-content: center;
    }
    
    .abs-content p:hover {
        transform: translateY(-2px);
    }
    
    .services-list:hover li {
        transform: translateY(-2px);
        padding-left: 16px;
        background-color: #fffef7;
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.1);
    }

    .back-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero-header {
        gap: 15px;
    }

    .back-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .back-arrow {
        font-size: 1rem;
    }
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.back-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.back-button:hover .back-arrow {
    transform: translateX(-3px);
}