/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}



h1, h2 {
    color: #2c3e50;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 1.2em;
    margin-bottom: 15px;
}



/* Main Content Styles */
.main {
    width: 100%;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Data Entry Section */
.dataentry {
    margin-bottom: 30px;
    text-align: center;
}

.dataentry p {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Data Entry Cards */
.dataentrycard {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
    margin-bottom: 40px;
}

.datacarditems {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: justify;
    transition: all 0.3s ease;
}

.datacarditems:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.datacarditems h2 {
    font-size: 1.6em;
    color: #2980b9;
    margin-bottom: 15px;
    text-align: center;
}

.datacarditems h3 {
    margin-bottom: 15px;
    text-align: center;
}

.datacarditems p {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;

}

.list {
    flex-direction: column; /* Stacks items vertically */
    justify-content: flex-start;
    align-items: center;
}





/* getintouch for "Why Choose Us?" Section */
.getintouch {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.getintouch h1 {
    font-size: 1em;
    margin-bottom: 10px;
}

.getintouch p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.getintouch button {
    padding: 15px 25px;
    background-color: #2980b9;
    color: #fff;
    border: white;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    margin-bottom: 1%;
    transition: background-color 0.3s ease;
}

.getintouch button a {
    color: #fff;
}

.getintouch button:hover {
    background-color: #3498db;
}

/* Default Flex Layout for Larger Screens */
@media (min-width: 1200px) {
    .dataentrycard {
        grid-template-columns: repeat(3, 1fr);
    }

    .getintouch {
        padding: 50px;
    }

    .getintouch h1 {
        font-size: 2.5em;
    }

    .getintouch p {
        font-size: 1.2em;
    }
}

/* Tablet Layout (Min Width: 768px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .dataentrycard {
        grid-template-columns: repeat(2, 1fr);
    }

    .getintouch {
        padding: 40px;
    }

    .getintouch h1 {
        font-size: 2.2em;
    }

    .getintouch p {
        font-size: 1.1em;
    }
}

/* Mobile Layout (Max Width: 767px) */
@media (max-width: 767px) {
    body {
        padding: 0 15px;
    }

    .main {
        padding: 20px;
    }

    .dataentrycard {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .datacarditems {
        padding: 15px;
    }

    .getintouch {
        padding: 20px;
    }

    .getintouch h1 {
        font-size: 2em;
    }

    .getintouch p {
        font-size: 1em;
    }

    .getintouch button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* Extra Small Devices (Portrait Mobile) */
@media (max-width: 480px) {
    .dataentry p {
        font-size: 1em;
    }

    .datacarditems h2 {
        font-size: 1.4em;
    }

    .datacarditems p {
        font-size: 0.9em;
    }

    .getintouch h1 {
        font-size: 1.8em;
    }

    .getintouch p {
        font-size: 0.95em;
    }

    .getintouch button {
        width: 100%;
        padding: 12px;
        font-size: 1em;
    }
}
