.services-section {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: background 0.3s ease;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.services-title {
    font-size: 2.8rem;
    color: #1E1E1E;
    margin-bottom: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.services-title span {
    color: #AB2138;
    transition: color 0.3s ease;
}

.read-more:focus {
    outline: none;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    height: 2px;
    background: #AB2138;
    transition: background 0.3s ease;
}

.services-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(171, 33, 56, 0.15);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    color: #AB2138;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card h3 {
    color: #1E1E1E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #AB2138;
    font-weight: bold;
    transition: color 0.3s ease;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    color: #AB2138;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    color: #8a1a2c;
    transform: translateX(5px);
}

.learn-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

.technology-section {
    padding: 6rem 1rem;
    background: white;
    transition: background 0.3s ease;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #AB2138;
    transform: translateY(-5px);
}

.tech-item:hover .tech-icon,
.tech-item:hover .tech-name,
.tech-item:hover .tech-desc {
    color: white;
}

.tech-icon {
    font-size: 3rem;
    color: #AB2138;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.tech-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.tech-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.testimonials-section {
    padding: 6rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('/assets/images/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    transition: background 0.3s ease;
}

.testimonials-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: white;
    transition: color 0.3s ease;
}

.testimonials-title span {
    color: #AB2138;
    transition: color 0.3s ease;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    color: #AB2138;
    font-size: 2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #AB2138;
    transition: border-color 0.3s ease;
}

.author-info h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.stats-counter {
    padding: 5rem 1rem;
    background: white;
    transition: background 0.3s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: #AB2138;
    transform: translateY(-5px);
}

.stat-box:hover .stat-number,
.stat-box:hover .stat-label,
.stat-box:hover .stat-icon {
    color: white;
}

.stat-icon {
    font-size: 2.5rem;
    color: #AB2138;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #AB2138;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-section {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: background 0.3s ease;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(171, 33, 56, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #AB2138;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.news-title {
    font-size: 1.3rem;
    color: #1E1E1E;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.read-more {
    color: #AB2138;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #8a1a2c;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.cta-section {
    padding: 6rem 1rem;
    background: linear-gradient(rgba(171, 33, 56, 0.9), rgba(171, 33, 56, 0.9)), url('/assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: white;
    color: #AB2138;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: #AB2138;
    transform: translateY(-3px);
}

/* Dark Mode Styles */
.dark-mode .services-section,
.dark-mode .news-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.dark-mode .services-title,
.dark-mode .service-card h3,
.dark-mode .news-title {
    color: #e0e0e0;
}

.dark-mode .services-title span,
.dark-mode .services-title::after,
.dark-mode .service-icon,
.dark-mode .testimonials-title span,
.dark-mode .testimonial-text::before,
.dark-mode .testimonial-text::after,
.dark-mode .author-avatar,
.dark-mode .news-date,
.dark-mode .read-more,
.dark-mode .learn-more-btn,
.dark-mode .service-features li::before,
.dark-mode .stat-icon,
.dark-mode .stat-number,
.dark-mode .tech-icon {
    color: #e63946;
}

.dark-mode .services-subtitle,
.dark-mode .service-description,
.dark-mode .service-features li,
.dark-mode .tech-desc,
.dark-mode .stat-label,
.dark-mode .news-excerpt {
    color: #a0a0a0;
}

.dark-mode .service-card {
    background: #2d3748;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .service-card:hover {
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2);
}

.dark-mode .technology-section,
.dark-mode .stats-counter {
    background: #1a202c;
}

.dark-mode .tech-item,
.dark-mode .stat-box {
    background: #2d3748;
}

.dark-mode .tech-name {
    color: #d0d0d0;
}

.dark-mode .tech-item:hover {
    background: #e63946;
}

.dark-mode .stat-box:hover {
    background: #e63946;
}

.dark-mode .news-card {
    background: #2d3748;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .news-card:hover {
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.2);
}

.dark-mode .read-more:hover,
.dark-mode .learn-more-btn:hover {
    color: #ff6b7a;
}

@media (max-width: 768px) {
    .services-title,
    .testimonials-title,
    .cta-title {
        font-size: 2.2rem;
    }
    
    .services-title::after {
        width: 300px;
    }
    
    .services-grid,
    .technology-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide {
        padding: 2rem 1rem;
    }
    
    .services-title::after {
        width: 200px;
    }
}