/* Enhanced Styles - Part 2 */

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.stat-item {
    position: relative;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Practice Cards Modern */
.practice-areas-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.practice-card-modern {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.practice-card-inner {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.practice-card-modern:hover .practice-card-inner {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.practice-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.practice-card-modern:hover .icon-bg {
    transform: rotate(45deg) scale(1.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.practice-icon-wrapper i {
    position: relative;
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.practice-card-modern:hover .practice-icon-wrapper i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.practice-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.practice-card-modern:hover .practice-title {
    color: var(--secondary-color);
}

.practice-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.practice-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.practice-link i {
    transition: transform 0.3s ease;
}

.practice-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

.practice-link:hover i {
    transform: translateX(5px);
}

/* News Section Modern */
.news-section {
    padding: 6rem 0;
    background: var(--white);
}

.news-card-modern {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.news-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-modern:hover .news-image {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.8) 0%, rgba(26, 54, 93, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-card-modern:hover .news-overlay {
    opacity: 1;
}

.news-content-wrapper {
    padding: 2rem;
}

.news-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.date-day {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.date-month {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.news-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-title-modern a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title-modern a:hover {
    color: var(--secondary-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--secondary-color);
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.25rem;
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--text-light);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        text-align: center;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
