*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main{
    padding: 2rem;
    background: #f9fafb;
    font-family: Arial, sans-serif;
}

h1{
    text-align: center;
    text-transform: capitalize;
    padding: 1rem 0
}

.main-text{
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem 0;
}

.cta{
    text-align: center;
    padding: 1rem 0;
}

.cta button{
    padding: 1rem 2rem;
    background: #2563eb;
    border: none;
    border-radius: 1rem;
    color: white;
    font-weight: 700;
}

button.black{
    background: black;
    margin-left: 1rem;
}

img {
    width: 100%;
    border-radius: 2rem;
}

/* article{
    border: 2px solid black;
} */

@media only screen and (min-width: 500px) {
    

    header {
        display: flex;
        justify-content: space-between;
        max-width: 1000px;
        margin: 0 auto;
        align-items: center;
    }

    .image-sec {
    width: 40%;
    }

    .head-sec {
        width: 50%;
    }

}



.feat {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto;
    text-align: center;
}

article h3{
    font-size: 1.5rem;
    padding: .5rem 0;
}

.feat-text{
    padding: .5rem 0;
}

.body {
    font-family: Arial, sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.pricing-section {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.toggle {
    display: inline-block;
    margin: 1rem 0 2rem;
}

.toggle button {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle button:hover {
    background: #1e40af;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin: 0 0 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0 1rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    color: #4b5563;
}

.features li {
    margin-bottom: 0.5rem;
}

.card button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.75rem;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.card button:hover {
    background: #1e40af;
}

footer{
    color: white;
    background: black;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}

footer a{
    /* text-decoration: none; */
    color: white;
    cursor: pointer;
}