/* IT Solutions Section */
.IT-hero-section {
    text-align: center;
    padding: 2rem;
    background-color: #f5f5f5;
    height: 70vh;
    color: white;
    text-align: center; 
}

.IT-hero-section h1 {
    font-size: 3.5rem;
    font-family: italic;
    color: #2a2e4a;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 0px gray;
    margin-top: 10%;
}

.IT-hero-section p {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
}

.it-services {
    height: 120vh;
    background-color: white;
}

.it-services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    height: 100vh;
}

.it-service-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-top: 3%;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.it-service-card:hover {
    transform: translateY(-5px);
}

.it-service-card h2 {
    font-size: 1.5rem;
    color: #f45c00;
    margin-bottom: 1rem;
}

.it-service-card p {
    font-size: 1rem;
    color: #555;
}

/* Mobile devices (portrait) */
@media (max-width: 600px) {
    /* IT Services Section */
    .it-services-container {
        flex-direction: column; /* Stack the cards vertically */
        align-items: center;
    
        gap: 1.5rem; /* Space between cards */
    }

    .it-services{
        height: 300vh;
    }

    .it-service-card {
        width: 90%; /* Make cards take most of the screen width */
        margin: 0 auto;
        padding: 1rem;
    }

    .it-service-card h2 {
        font-size: 1.4rem; /* Adjust the heading size for mobile */
    }

    .it-service-card p {
        font-size: 0.9rem; /* Adjust paragraph size for mobile */
    }

    .IT-hero-section h1 {
        font-size: 2rem; /* Adjust font size for mobile */
        margin-top: 50%;
    }

    .IT-hero-section p {
        font-size: 0.9rem; /* Adjust paragraph font size for mobile */
    }

    .menu-icon i {
        font-size: 2rem;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #fff;
        width: 100%;
        text-align: center;
        display: none;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        padding: 1rem;
    }


    .it-services-container {
        display: flex;
        flex-direction: row; /* Stack the feature cards vertically */
        align-items: center; /* Center the feature cards */
    }

    .it-service-card {
        width: 80%; /* Make each card take up most of the width */
        margin-bottom: 20px; /* Add space between the cards */
    }

    /* Adjust the text and image size inside each feature card */
    .it-service-card img {
        height: auto;
        width: 50%; /* Reduce the size of the image */
    }

}

/* Tablets (portrait and landscape) */
@media (min-width: 601px) and (max-width: 1024px) {
    /* IT Services Section */

    .it-services{
        height: 420vh;
    }

    .it-services-container {
        flex-direction: row; /* Keep cards in row layout */
        justify-content: space-between;
        gap: 2rem; /* Space between cards */
    }

    .it-service-card {
        width: 40%; /* Adjust width for tablets */
    }

    .it-service-card h2 {
        font-size: 1.3rem; /* Adjust heading size for tablets */
    }

    .it-service-card p {
        font-size: 1rem; /* Adjust paragraph size for tablets */
    }

    .IT-hero-section h1 {
        font-size: 2.8rem; /* Adjust font size for tablets */
        margin-top: 40%;
    }

    .IT-hero-section p {
        font-size: 1.1rem; /* Adjust paragraph font size for tablets */
    }


    .it-services-container {
        display: flex;
        flex-direction: row; /* Stack the feature cards vertically */
        align-items: center; /* Center the feature cards */
    }

    .it-service-card {
        width: 90%; /* Make each card take up more space on smaller screens */
        margin-bottom: 15px; /* Less space between cards */
    }


    /* Adjust the text and image size inside each feature card */
    .it-service-card img {
        height: auto;
        width: 60%; /* Reduce the image size more on small devices */
    }
}

