/* Services Section Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-number {
    font-size: 1rem;
    color: #999;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    font-weight: 400;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    border-color: #f0f0f0;
}

.floating-accent {
    display: none;
}

/* Service Icon Styles */
.service-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.service-number {
    font-size: 0.8rem;
    color: #ff5a5f;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 10px 10px; /* Moved beyond left edge */
    padding-top: 5px; /* Add slight top padding for better vertical centering */
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    line-height: 1.2; /* Better line height for the number */
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 15px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.service-features {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.service-features li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-weight: 600;
}

.service-features li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #ff5555;
    font-size: 1.2rem;
    font-weight: bold;
    top: -2px;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 0 0;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 10px 5px;
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
}

.stat-value {
    font-size: 1.8rem;
    color: #000000 !important;
    font-weight: 700;
    display: block;
    margin: 0 0 5px 0;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.7rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin: 0;
    white-space: nowrap;
}

.cta-button {
    background: transparent;
    color: #2c2c2c;
    border: 1px solid #2c2c2c;
    padding: 15px 30px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    width: 100%;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ff5555;
    transition: left 0.4s ease;
    z-index: 0;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.cta-button:hover {
    border-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 85, 85, 0.2);
}

.cta-button:hover span {
    color: white;
}

.floating-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 85, 85, 0.05), rgba(255, 85, 85, 0.02));
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
    transition: all 0.6s ease;
}

.service-card:hover .floating-accent {
    transform: scale(1.5);
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
        min-height: auto;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .stat-value {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
