/* Performance Services Section - Premium Design */
.performance-services {
    background-color: #ffffff;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Particle Background Animation - More Subtle */
.performance-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(188, 22, 34, 0.02) 0%, transparent 25%),
                radial-gradient(circle at 80% 70%, rgba(188, 22, 34, 0.02) 0%, transparent 25%);
    z-index: -1;
    animation: particleMove 25s linear infinite alternate;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-3px, -3px); }
    50% { transform: translate(3px, 3px); }
    75% { transform: translate(3px, -3px); }
    100% { transform: translate(0, 0); }
}

/* Floating Circles Decoration - More Refined */
.performance-services::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(188, 22, 34, 0.03) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, 15px) rotate(3deg); }
    50% { transform: translate(-15px, 10px) rotate(-3deg); }
    75% { transform: translate(10px, -15px) rotate(2deg); }
}

/* Container for better content control */
.performance-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Section Title - Premium Design */
.performance-services .sec-title {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 100px;
}

.performance-services .sec-title h2 {
    font-size: 3.75rem;
    font-weight: 800;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.performance-services .sec-title h2::before,
.performance-services .sec-title h2::after {
    content: '';
    position: absolute;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #bc1622, #e63946);
    bottom: -20px;
    animation: lineExpand 1.2s 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.performance-services .sec-title h2::before {
    left: 0;
    width: 35%;
    transform-origin: left;
}

.performance-services .sec-title h2::after {
    right: 0;
    width: 35%;
    transform-origin: right;
}

.performance-services .sec-title p {
    font-size: 1.25rem;
    color: #666;
    max-width: 750px;
    margin: 40px auto 0;
    line-height: 1.8;
    animation: fadeInUp 1s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    position: relative;
}

/* Services Cards - Premium Grid Layout */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    padding: 0;
    margin: 60px 0;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(188, 22, 34, 0.1);
    animation: cardEntrance 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(188, 22, 34, 0.15);
    border-color: rgba(188, 22, 34, 0.3);
}

/* Card Image with Aspect Ratio and Perfect Sizing */
.service-card .card-image {
    width: 100%;
    height: 0;
    padding-bottom: 65%; /* 16:10 aspect ratio */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(188, 22, 34, 0.1);
}

.service-card .card-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

/* Card Content with Better Spacing */
.service-card .card-content {
    padding: 32px;
    position: relative;
}

.service-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.service-card h4::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #bc1622;
    transition: all 0.4s ease;
}

.service-card:hover h4 {
    color: #bc1622;
}

.service-card:hover h4::after {
    width: 80px;
    background: #e63946;
}

.service-card p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
    margin: 25px 0;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #333;
}

/* List Items with Premium Design */
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.service-card ul li {
    margin: 16px 0;
    padding-left: 40px;
    position: relative;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #bc1622;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.service-card ul li:hover {
    color: #222;
    transform: translateX(5px);
}

.service-card ul li:hover::before {
    background-color: #e63946;
    transform: translateY(-50%) scale(1.1);
}

/* Why Choose Us Section - Premium Design */
.why-choose-us {
    padding: 80px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    margin: 100px auto;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #bc1622, #e63946);
}

.why-choose-us .section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    line-height: 1.3;
}

.why-choose-us .section-title .highlight {
    color: #bc1622;
    position: relative;
}

.why-choose-us .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(188, 22, 34, 0.15);
    z-index: -1;
    border-radius: 5px;
    transition: all 0.4s ease;
}

.why-choose-us:hover .section-title .highlight::after {
    height: 12px;
    bottom: 6px;
}

.why-choose-us p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Features Grid Layout */
.why-choose-us .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.why-choose-us .feature-item {
    padding: 30px;
    border-radius: 16px;
    background: rgba(249, 249, 249, 0.6);
    transition: all 0.4s ease;
    border: 1px solid rgba(188, 22, 34, 0.1);
}

.why-choose-us .feature-item:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(188, 22, 34, 0.1);
    border-color: rgba(188, 22, 34, 0.2);
}

.why-choose-us .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #bc1622, #e63946);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.why-choose-us .feature-item:hover .feature-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(188, 22, 34, 0.2);
}

.why-choose-us .feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.why-choose-us .feature-item:hover .feature-title {
    color: #bc1622;
}

.why-choose-us .feature-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Image Box with Premium Effects */
.why-choose-us .image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    margin: 60px auto;
    max-width: 900px;
}

.why-choose-us .image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.why-choose-us .image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(188, 22, 34, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.why-choose-us .image-box::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.why-choose-us .image-box:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(-10px);
    box-shadow: 0 35px 70px rgba(188, 22, 34, 0.15);
}

.why-choose-us .image-box:hover img {
    transform: scale(1.08);
}

.why-choose-us .image-box:hover::before {
    opacity: 1;
}

.why-choose-us .image-box:hover::after {
    opacity: 1;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

/* Premium Call to Action Button */
.text-center {
    margin-top: 100px;
    position: relative;
}

.text-center .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bc1622, #e63946);
    color: white;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 60px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(188, 22, 34, 0.25);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
}

.text-center .btn span {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    transition: transform 0.4s ease;
}

.text-center .btn span::after {
    content: '→';
    margin-left: 12px;
    transition: all 0.4s ease;
}

.text-center .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e63946, #bc1622);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.text-center .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg) translate(-20%, 100%);
    z-index: 2;
    transition: transform 0.8s ease;
}

.text-center .btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(188, 22, 34, 0.35);
}

.text-center .btn:hover::before {
    opacity: 1;
}

.text-center .btn:hover::after {
    transform: rotate(45deg) translate(20%, -100%);
}

.text-center .btn:hover span {
    transform: translateX(5px);
}

.text-center .btn:hover span::after {
    transform: translateX(8px);
}

/* Responsive Adjustments - Comprehensive */
@media (max-width: 1200px) {
    .performance-services {
        padding: 120px 0 80px;
    }
    
    .performance-services .sec-title h2 {
        font-size: 3.25rem;
    }
    
    .services-cards {
        gap: 30px;
    }
    
    .why-choose-us {
        padding: 60px;
        margin: 80px auto;
    }
}

@media (max-width: 992px) {
    .performance-services {
        padding: 100px 0 60px;
    }
    
    .performance-services .sec-title h2 {
        font-size: 2.75rem;
    }
    
    .services-cards {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .why-choose-us {
        padding: 50px 40px;
        margin: 60px auto;
    }
    
    .why-choose-us .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .performance-services {
        padding: 80px 0 40px;
    }
    
    .performance-services .container {
        padding: 0 20px;
    }
    
    .performance-services .sec-title {
        margin-bottom: 60px;
    }
    
    .performance-services .sec-title h2 {
        font-size: 2.25rem;
        letter-spacing: 1px;
    }
    
    .performance-services .sec-title p {
        font-size: 1.15rem;
        margin-top: 30px;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }
    
    .service-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-choose-us {
        padding: 40px 30px;
        margin: 50px 20px;
        border-radius: 20px;
    }
    
    .why-choose-us .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .why-choose-us p {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }
    
    .why-choose-us .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .text-center .btn {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .performance-services {
        padding: 60px 0 30px;
    }
    
    .performance-services .sec-title h2 {
        font-size: 1.8rem;
    }
    
    .performance-services .sec-title p {
        font-size: 1rem;
    }
    
    .service-card .card-content {
        padding: 25px;
    }
    
    .service-card h4 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .why-choose-us {
        padding: 30px 20px;
        margin: 40px 15px;
    }
    
    .why-choose-us .section-title {
        font-size: 1.6rem;
    }
    
    .text-center .btn {
        padding: 16px 35px;
        font-size: 1rem;
    }
}