/* ==================== CUSTOM STYLES FOR UPDATED DESIGN ==================== */

/* Fix mobile overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Hero mobile fixes - prevent text overflow */
.hero__content {
    width: 100%;
    max-width: 100%;
    padding: var(--space-8) var(--space-4);
    box-sizing: border-box;
}

.hero__title,
.hero__subtitle,
.hero__description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Enhanced animations throughout the site */

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Glow animation for accent elements */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(201, 169, 97, 0.3), 0 0 10px rgba(201, 169, 97, 0.2); }
    50% { box-shadow: 0 0 20px rgba(201, 169, 97, 0.6), 0 0 30px rgba(201, 169, 97, 0.4); }
}

/* Shimmer effect for metallic look */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Rotate animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scale in animation */
@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Slide in from left */
@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Slide in from right */
@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Metallic shine animation */
@keyframes metalShine {
    0% { background-position: -100% 50%; }
    100% { background-position: 200% 50%; }
}

/* Apply animations to elements */

/* Logo glow effect */
.header__logo-img {
    animation: glow 3s ease-in-out infinite;
    border-radius: 50%;
}

/* Hero background subtle zoom */
.hero__bg-img {
    animation: pulse 20s ease-in-out infinite, subtleZoom 30s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

/* Achievement cards enhanced animation */
.achievement-card {
    animation: fadeInUp 0.6s ease-out forwards, float 4s ease-in-out infinite;
    animation-delay: 0s, 0.6s;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s, 0.7s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s, 0.9s; --float-delay: 0.5s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s, 1.1s; --float-delay: 1s; }

/* Service cards enhanced hover and entrance */
.service-card-v2 {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-v2:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(201, 169, 97, 0.2);
}

.service-card-v2:hover .service-card-v2__image-wrap {
    transform: scale(1.1);
}

/* Portfolio slider enhanced */
.portfolio-slider__slide {
    transition: all 0.5s ease;
}

.portfolio-slider__slide:hover {
    transform: scale(1.02);
}

.portfolio-slider__btn {
    animation: fadeInUp 0.5s ease-out forwards;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-slider__btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Client cards with staggered animation */
.client-card {
    animation: fadeInUp 0.5s ease-out forwards, float 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.5s);
}

.client-card:nth-child(1) { --delay: 0.1s; }
.client-card:nth-child(2) { --delay: 0.2s; }
.client-card:nth-child(3) { --delay: 0.3s; }
.client-card:nth-child(4) { --delay: 0.4s; }
.client-card:nth-child(5) { --delay: 0.5s; }
.client-card:nth-child(6) { --delay: 0.6s; }

/* Why us cards with metallic effect */
.why-card {
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.why-card:hover::before {
    left: 100%;
}

/* Process steps with enhanced animation */
.process__step {
    position: relative;
}

.process__step::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.5s ease;
}

.process__step:hover::after {
    width: 100%;
}

.process__step-number {
    animation: glow 2s ease-in-out infinite;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-primary);
}

/* Testimonial cards with float effect */
.testimonial-card-v2 {
    animation: fadeInUp 0.6s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card-v2:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(201, 169, 97, 0.15);
}

/* FAQ items with enhanced animation */
.faq__item {
    animation: slideInLeft 0.4s ease-out forwards;
    transition: all 0.3s ease;
}

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

.faq__question {
    transition: all 0.3s ease;
}

.faq__question:hover {
    background: rgba(201, 169, 97, 0.1);
    color: #c9a961;
}

.faq__icon {
    animation: bounce 2s ease-in-out infinite;
}

/* Contact buttons with glow */
.contacts__phone-link {
    animation: glow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.contacts__phone-link:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-messenger {
    animation: glow 3s ease-in-out infinite;
    animation-delay: 1s;
    transition: all 0.3s ease;
}

.btn-messenger:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Footer links with underline animation */
.footer__nav-link {
    position: relative;
    display: inline-block;
}

.footer__nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.footer__nav-link:hover::after {
    width: 100%;
}

.footer__social-link {
    animation: glow 4s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer__social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Section titles with metallic shine */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 3px;
}

/* Buttons with enhanced effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 169, 97, 0.3);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover) !important;
    color: #c9a961 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover span,
.btn--primary:hover {
    color: #1a1a1a !important;
}

/* Navigation links with underline sweep */
.header__nav-link {
    position: relative;
    overflow: hidden;
}

.header__nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header__nav-link:hover::before {
    width: 100%;
}

.header__nav-link:hover {
    color: #c9a961 !important;
}

/* About section image */
.about__img {
    transition: all 0.5s ease;
}

.about__image:hover .about__img {
    transform: scale(1.05);
}

/* Portfolio slider dots */
.portfolio-slider__dot {
    transition: all 0.3s ease;
}

.portfolio-slider__dot:hover {
    transform: scale(1.3);
}

.portfolio-slider__dot.active {
    animation: glow 2s ease-in-out infinite;
}

/* Testimonials dots */
.testimonials-slider__dot {
    transition: all 0.3s ease;
}

.testimonials-slider__dot:hover {
    transform: scale(1.3);
}

/* Editable text highlight in edit mode */
[data-edit-mode="true"] .editable-text {
    animation: glow 1.5s ease-in-out infinite;
}

/* Mobile hero fixes */
@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero__content {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 1.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .hero__subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .hero__description {
        font-size: 0.8rem !important;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero__achievements {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 32px;
    }
    
    .achievement-card {
        padding: 16px;
    }
    
    .achievement-card__number {
        font-size: 1.5rem;
    }
    
    /* Reduce animation intensity on mobile for performance */
    .achievement-card,
    .client-card,
    .service-card-v2 {
        animation: fadeInUp 0.5s ease-out forwards;
    }
}

/* Portfolio slider text center alignment */
.portfolio-slider__title,
.portfolio-slider__desc {
    text-align: center;
    word-break: normal !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
}

/* Service cards text center alignment */
.service-card-v2__title,
.service-card-v2__description,
.service-card-v2__price-value {
    text-align: center;
    word-break: normal !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
}

/* Testimonial cards text alignment */
.testimonial-card-v2__text {
    text-align: center;
    word-break: normal !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
}

/* FAQ question center alignment */
.faq__question {
    text-align: center !important;
    justify-content: center;
}

.faq__answer {
    text-align: center;
    word-break: normal !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
}

/* Mobile section titles smaller */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.1rem !important;
    }
    
    .section-subtitle {
        font-size: 0.85rem !important;
    }
    
    .portfolio-slider__title,
    .service-card-v2__title,
    .client-card__title,
    .why-card__title,
    .process__step-title,
    .testimonial-card__name {
        font-size: 0.95rem !important;
    }
    
    .portfolio-slider__desc,
    .service-card-v2__description,
    .client-card__desc,
    .why-card__desc,
    .process__step-desc,
    .testimonial-card__position,
    .testimonial-card-v2__text {
        font-size: 0.8rem !important;
    }
    
    .faq__question {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    .faq__answer {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 380px) {
    .hero__title {
        font-size: 0.95rem !important;
    }
    
    .section-title {
        font-size: 1rem !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Centered contacts layout */
.contacts__inner--centered {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.contacts__info--centered {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.contacts__title-center {
    text-align: center;
    margin-bottom: var(--space-12);
}

/* Phone numbers */
.contacts__phones {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.contacts__phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--fs-2xl);
    font-weight: 600;
    text-decoration: none;
    padding: var(--space-4) var(--space-6);
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.contacts__phone-link:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.contacts__phone-icon {
    color: var(--color-accent);
    font-size: var(--fs-lg);
}

.contacts__phone-number {
    color: var(--color-white);
}

/* Messenger buttons */
.contacts__messengers--centered {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-messenger {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    color: var(--color-white);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.messenger-icon {
    width: 20px;
    height: 20px;
}

.btn-messenger--tg {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}

.btn-messenger--tg:hover {
    background: linear-gradient(135deg, #0077b5 0%, #006699 100%);
    transform: translateY(-2px);
}

.btn-messenger--max {
    background: linear-gradient(135deg, #6b46c1 0%, #553c9a 100%);
}

.btn-messenger--max:hover {
    background: linear-gradient(135deg, #553c9a 0%, #4c3a7a 100%);
    transform: translateY(-2px);
}

/* Footer social links */
.footer__social-link--tg {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: var(--color-white);
}

.footer__social-link--max {
    background: linear-gradient(135deg, #6b46c1 0%, #553c9a 100%);
    color: var(--color-white);
}

.footer__city {
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

/* Mobile contacts */
@media (max-width: 640px) {
    .contacts__phone-link {
        font-size: var(--fs-lg);
        padding: var(--space-3) var(--space-4);
    }
    
    .contacts__messengers--centered {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-messenger {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .contacts__phones {
        flex-direction: row;
        justify-content: center;
    }
}

/* Hero achievements - 3 items */
.hero__achievements {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-4);
    max-width: 800px;
    margin: var(--space-8) auto 0;
}

@media (min-width: 640px) {
    .hero__achievements {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Messenger icon for MAX */
.messenger-icon-max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: white;
    color: #6b46c1;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    font-family: sans-serif;
}

/* Service Cards V2 with Photos */
.services__grid--8 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .services__grid--8 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.service-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.1);
}

.service-card-v2__image-wrap {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card-v2:hover .service-card-v2__image-wrap {
    transform: scale(1.05);
}

.service-card-v2__content {
    padding: 20px;
}

.service-card-v2__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-family: var(--font-primary);
}

.service-card-v2__description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-card-v2__price {
    margin-top: auto;
}

.service-card-v2__price-value {
    color: #c9a961;
    font-weight: 700;
    font-size: 1rem;
}

.edit-image-btn--center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Portfolio Slider */
.portfolio-slider {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.portfolio-slider__track {
    display: flex;
    transition: transform 0.5s ease;
}

.portfolio-slider__slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/9;
}

.portfolio-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.portfolio-slider__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    border-radius: 0 0 12px 12px;
}

.portfolio-slider__title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-slider__desc {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.portfolio-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #c9a961;
    color: #c9a961;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-slider__btn:hover {
    background: #c9a961;
    color: #1a1a1a;
}

.portfolio-slider__btn--prev { left: 16px; }
.portfolio-slider__btn--next { right: 16px; }

.portfolio-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.portfolio-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #c9a961;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-slider__dot.active {
    background: #c9a961;
    transform: scale(1.2);
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.testimonials-slider__track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonials-slider__slide {
    min-width: 100%;
    padding: 0 48px;
}

@media (min-width: 768px) {
    .testimonials-slider__slide {
        min-width: 50%;
        padding: 0 16px;
    }
}

@media (min-width: 1024px) {
    .testimonials-slider__slide {
        min-width: 33.333%;
        padding: 0 16px;
    }
}

.testimonial-card-v2 {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 97, 0.4);
}

.testimonial-card-v2__avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.testimonial-card-v2__avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c9a961;
}

.testimonial-card-v2__stars {
    color: #c9a961;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial-card-v2__text {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-card-v2__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-card-v2__name {
    color: white;
    font-weight: 600;
}

.testimonial-card-v2__position {
    color: #c9a961;
    font-size: 0.85rem;
}

.testimonials-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #c9a961;
    color: #c9a961;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonials-slider__btn:hover {
    background: #c9a961;
    color: #1a1a1a;
}

.testimonials-slider__btn--prev { left: 0; }
.testimonials-slider__btn--next { right: 0; }

.testimonials-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonials-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #c9a961;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-slider__dot.active {
    background: #c9a961;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

.hero__bg-img {
    animation: pulse 20s ease-in-out infinite;
}

.achievement-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.4s; }

/* Section entrance animations */
.services .service-card-v2 {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.services .service-card-v2:nth-child(1) { animation-delay: 0.1s; }
.services .service-card-v2:nth-child(2) { animation-delay: 0.15s; }
.services .service-card-v2:nth-child(3) { animation-delay: 0.2s; }
.services .service-card-v2:nth-child(4) { animation-delay: 0.25s; }
.services .service-card-v2:nth-child(5) { animation-delay: 0.3s; }
.services .service-card-v2:nth-child(6) { animation-delay: 0.35s; }
.services .service-card-v2:nth-child(7) { animation-delay: 0.4s; }
.services .service-card-v2:nth-child(8) { animation-delay: 0.45s; }

/* Process steps animation */
.process__step {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.process__step:nth-child(1) { animation-delay: 0.1s; }
.process__step:nth-child(2) { animation-delay: 0.2s; }
.process__step:nth-child(3) { animation-delay: 0.3s; }
.process__step:nth-child(4) { animation-delay: 0.4s; }
.process__step:nth-child(5) { animation-delay: 0.5s; }
.process__step:nth-child(6) { animation-delay: 0.6s; }

/* FAQ animation */
.faq__item {
    opacity: 0;
    animation: fadeInUp 0.4s ease-out forwards;
}

.faq__item:nth-child(1) { animation-delay: 0.1s; }
.faq__item:nth-child(2) { animation-delay: 0.15s; }
.faq__item:nth-child(3) { animation-delay: 0.2s; }
.faq__item:nth-child(4) { animation-delay: 0.25s; }
.faq__item:nth-child(5) { animation-delay: 0.3s; }
.faq__item:nth-child(6) { animation-delay: 0.35s; }

/* Portfolio v2 slider - reduced image scale */
.portfolio-v2__slider {
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-v2__track-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.portfolio-v2__track {
    display: flex;
    transition: transform 0.5s ease;
}

.portfolio-v2__slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.portfolio-v2__image-wrap {
    width: 100%;
    max-width: 900px;
    height: 525px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: transparent;
}

.portfolio-v2__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.portfolio-v2__content {
    margin-top: 20px;
    text-align: center;
}

.portfolio-v2__slide-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.portfolio-v2__slide-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.portfolio-v2__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #c9a961;
    color: #c9a961;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-v2__nav:hover {
    background: #c9a961;
    color: #1a1a1a;
}

.portfolio-v2__nav--prev {
    left: 10px;
}

.portfolio-v2__nav--next {
    right: 10px;
}

.portfolio-v2__nav svg {
    width: 24px;
    height: 24px;
}

.portfolio-v2__dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.portfolio-v2__counter {
    color: #c9a961;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.portfolio-v2__dots-scroll {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    padding: 8px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-v2__dots-scroll::-webkit-scrollbar {
    display: none;
}

.portfolio-v2__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #c9a961;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-v2__dot.active {
    background: #c9a961;
}

@media (max-width: 768px) {
    .portfolio-v2__image-wrap {
        max-width: 100%;
        height: 400px;
    }
    
    .portfolio-v2__slide {
        padding: 10px;
    }
    
    .portfolio-v2__nav {
        width: 36px;
        height: 36px;
    }
    
    .portfolio-v2__nav svg {
        width: 20px;
        height: 20px;
    }
    
    .portfolio-v2__nav--prev {
        left: 5px;
    }
    
    .portfolio-v2__nav--next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .portfolio-v2__image-wrap {
        height: 300px;
    }
}
