*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*
* {
  outline: 1px solid red;
}
*/

p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100ch;
    font-family: Arial, Helvetica, sans-serif;
}
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: underline var(--color-3);
    text-align: center;
}
h2 {
    font-size: 1.75rem;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;

}

:root {
    --color-1: #E8D7A6  ;
    --color-2:#E9F2FA ;
    --color-3:blue ;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-16: 4rem;
}


html, body{ 
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    min-height: 100vh;
    min-width: 100vw;
    background-color: var(--color-1);
}


.section {
    text-align: center;
    border: 0.063rem solid black;
    border-radius: 1rem;
    margin: var(--space-8) ;
    padding: var(--space-6) 0;
    background-color: var(--color-2);
}
.section p {
    margin: 0 auto;
}

.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* optional */
    text-align: center;
}

.card-template {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
}
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 30rem;
    margin: auto;
    text-align: center;
    padding: 0 0 1em 0;
    border: 0.063rem solid black;
    border-radius: 1rem 1rem 0 0;
}
.card img {
    width: 30rem;
    border-radius: 1rem 1rem 0 0;
}
.card-desc {
    padding: 0 1rem;
}


.pri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}
.pri-item {
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
}
.pri-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.pri-amount {
    font-size: 1.8rem;
    color: blue;
    font-weight: bold;
}


.lest-contact p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0.4rem;
}

.lest-contact a {
    color: blue;
    text-decoration: none;
    font-weight: 500;
}

.lest-contact a:hover {
    text-decoration: underline;
}

.lest-social-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.lest-social-btn {
    padding: 0.5rem 1.4rem;
    border: 1px solid #1a1a1a;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.lest-social-btn:hover {
    border-color: blue;
    color: blue;
}

footer {
    text-align: center;
    padding: 1em 0;
    background-color: var(--color-2);
    border-top: 1px solid black;
}

@media screen and (max-width:992px) {
    .card-template {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card {
        max-width: 20rem;
        margin-top: 1rem;
    }

    .card img{
        width: 20rem;
    }
    
}
footer p {
    margin: 0 auto;
}
