/* Desktop view */
@media screen and (min-width: 769px) {
    .content-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .hero-section {
        text-align: center;
        padding: 0 0 0;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-section .section-header {
        font-size: 5rem;
        margin-top: 5rem;
        width: 100%;
        max-width: 1200px;
        padding: 0 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .section-subtitle {
        font-size: 2.6rem;
        width: 100%;
        max-width: 1200px;
        padding: 0 2rem;
        margin-top: 1rem;
    }

    .dev-section {
        padding: 2.5rem 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dev-section:first-of-type {
        padding-top: 1rem;
    }

    .section-header {
        font-size: 3.8rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 1200px; /* Changed from max-content */
        padding: 0 1rem;
        text-align: center; /* Added */
        margin-left: auto; /* Added */
        margin-right: auto; /* Added */
        position: relative; /* Added */
    }

    .section-header::after {
        bottom: -12px;
    }

    .solutions-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 1200px;
        padding: 0;
    }

    .solution-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
    }

    .card-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        position: relative; /* Added */
    }

    .card-title::after {  /* Fixed from card-titleo */
        bottom: -10px;
    }

    .solution-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        width: 100%;
    }

    .solution-item {
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }

    .solution-item i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .solution-item h4 {
        font-size: 1.5rem;
        margin: 1rem 0;
        width: 100%;
    }

    .solution-item p {
        font-size: 1.1rem;
        width: 100%;
        margin-top: auto;
    }

    .section-divider {
        width: 100%;
        height: 4px;
    }

    .section-divider::before {
        width: 50%;
    }

    .pre-footer-divider {
        width: 100%;
        height: 4px;
        margin: 2rem 0 0 0;
    }

    .pre-footer-divider::before {
        width: 50%;
    }

    /* Ensure vertical lines stay on top */
    .vertical-line-left,
    .vertical-line-right {
        opacity: 1;
    }

    /* Ensure footer positioning is consistent */
    footer#connect {
        margin-top: -4px;  /* Keep only this one */
    }

    /* Add this outside the media query to ensure it applies globally */
    .section-header::after,
    .card-title::after {
        left: 50%; /* Added */
        transform: translateX(-50%); /* Added */
    }
}



/* Modify the underline animations for section headers and card titles to have a softer glow */
.section-header::after,
.card-title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    transition: width 0.3s ease-in-out;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.4); /* Reduced glow intensity */
}

.section-header:hover::after,
.card-title:hover::after {
    width: 60%;
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5); /* Reduced glow intensity */
}


