/* About Section Styles */
#about {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Desktop: three equal columns */
@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefits-grid .background {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#services {
    background-color: darkblue;
    padding: 1rem 0;
    margin-top: 3rem;
}

.service-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;

    #highlighted-service {
        border: 6px solid skyblue;
    }

    .service-item {
        border-radius: 0.5rem;
        padding: 2rem;
        color: darkblue;
        background-color: white;

        h3 {
            color: darkblue;
        }
    }

    .service-descriptions {
        margin-top: .5rem;
        margin-left: 3rem;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }
}

/* Portfolio section Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

.portfolio-item {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        display: block;
    }

    .portfolio-text {
        padding: 1.25rem;

        p {
            margin-bottom: 1rem;
        }
    }
}

/* Desktop: three equal columns */
@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

#performance {
    background-color: #f0f0f0;
    padding: 1rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    .performance-items {
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        gap: 3rem;
        flex-wrap: wrap;

        img {
            width: 100%;
            max-width: 500px;
            height: 400px;
            object-fit: cover;
            display: block;
            border-radius: 0.5rem;
        }
    }
}



/* Contact Section Styles */
#contact {
    margin-top: 4rem;
}

#contact form {
    max-width: 1300px;
    margin-top: 1rem;

    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: .5rem 2rem; /* row gap, column gap */
        width: 100%;
    }

    label {
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    p {
        margin-bottom: 1.25rem;
    }

    button {
        background-color: skyblue;
        color: white;
        padding: 1rem 1.75rem;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
    }

    textarea {
        resize: vertical;
        min-height: 150px;
        line-height: 1.5;
    }
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}


#thank-you {
    background: darkblue;
    color: white;
    padding: 4rem 2rem;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    a {
        margin-top: 1rem;

        button {
            background-color: skyblue;
            color: white;
            font-weight: bold;
            padding: 1rem 1.5rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 18px;
            transition: background 0.3s ease;
        }

        button:hover {
            background-color: white;
            color: skyblue;
        }
    }
}