@media screen and (max-width: 48rem) {

    body {
        padding: 0 0.625rem;
        font-size: 0.875rem;
    }

    /* Header */
    .site-header {
        padding: 1.5rem 0rem;
    }

    .container-header {
        padding: 1.5rem 1rem;
    }

    .site-logo {
        max-width: 15rem;
    }

    /* Main container */
    .container {
        padding: 1.5rem 1rem;
        margin-bottom: 1.25rem;
    }

    /* Profile — stack image above text */
    .profile {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .profile-img {
        margin: 0 auto;
        width: 10rem;
    }

    .about {
        text-align: center;
        padding-bottom: 0.75rem;
    }

    /* Services & Why columns — stack vertically */
    .section-container {
        flex-direction: column;
        padding: 1rem 0 !important;
        justify-content: center;
        gap: 0;
    }

    .column {
        flex: 1 1 100%;
        margin: 0.625rem 0;
    }

    .column h2 {
        font-size: 1rem;
    }

    .column ul {
        padding-left: 1rem;
    }

    .column.right h2 {
        margin-top: 0;
    }

    ul li {
        font-size: 0.75rem;
    }
    /* Certifications */
    .certifications {
        padding: 1.75rem 0.75rem 1.25rem;
    }

    .cert-blurb {
        font-size: 0.844rem;
    }

    .cert-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cert-card {
        width: 100%;
        max-width: 20rem;
        min-width: unset;
        padding: 0.875rem 1rem;
    }

    .cert-badge-img {
        width: 4.375rem;
        height: 4.375rem;
    }

    /* CTA */
    .cta {
        padding: 1.75rem 0.75rem;
    }

    .cta h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.25rem;
        box-sizing: border-box;
    }

    /* Footer */
    footer {
        padding: 1rem 0.625rem;
    }

    footer h2 {
        font-size: 1.375rem !important;
    }

    footer p {
        font-size: 0.813rem !important;
    }

    h2 {
        font-size: 1.2rem;
    }
}

html {
    font-size: 16px; /* anchors all rem values to exactly 16px everywhere */
    -webkit-text-size-adjust: 100%; /* prevents iOS font inflation */
    text-size-adjust: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
font-family: "Lora", serif;
background-color: #f4f4f4;
margin: auto;
padding: 0 1.25rem;
color: #333;
font-size: 0.9375rem;
max-width: 50rem;
}

.site-header {
    margin: 2rem auto;
    background-color: #f4f4f4;
    max-width: 50rem;
    
}

.container-header {
    padding: 2rem 2.5rem;
    max-width: 50rem;
    margin: auto;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.1);
}

    .site-logo {
    max-width: 21.25rem;
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}



.container {
max-width: 50rem;
background: white;
margin: auto;
margin-bottom: 2.5rem;
padding: 2.5rem;
border-radius: 0.5rem;
box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.1);
}

h1 {
text-align: center;
margin-bottom: 2.5rem;
}

.profile {
display: flex;
align-items: flex-start;
gap: 1.875rem;
flex-wrap: wrap;
}

.profile-img {
margin-top: 2.1875rem;
width: 12.5rem;
border-radius: 0.5rem;
}

.about {
flex: 1;
padding-bottom: 1.5rem;
}

.section {
margin-top: 2.5rem;
}

ul {
list-style-type: disc;
padding-left: 1.25rem;
}

a {
color: #007BFF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}

.section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.25rem;
    max-width: 62.5rem;
    margin: 0 auto;
    border-top: 0.0625rem solid #ddd;
    }

    /* Each Column */
    .column {
    flex: 1 1 45%;
    margin: 1.25rem 0;
    }

    h2 {
    font-size: 1.5rem;
    margin-bottom: 0.9375rem;
    color: #222;
    }

    ul {
    padding-left: 1.25rem;
    }

    ul li {
    margin-bottom: 0.75rem;
    }

    /* CTA Section */
    .cta {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-top: 0.0625rem solid #ddd;
    }

    .cta h2 {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
    }

    .cta p {
    margin: 0.625rem 0;
    }

    .contact-info p {
    margin: 0.5rem 0;
    }

    /* CTA Button */
    .cta-button {
    display: inline-block;
    background-color: #003366;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.3125rem;
    text-decoration: none;
    margin-top: 1.25rem;
    font-weight: 600;
    }

    .cta-button:hover {
    background-color: #002244;
    }

    /* Certifications Section */
    .certifications {
    text-align: center;
    padding: 2.5rem 1.25rem 1.875rem;
    border-top: 0.0625rem solid #ddd;
    }

    .certifications h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #222;
    }

    .cert-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    }

    .cert-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    background: #f9f9f9;
    border: 0.0625rem solid #e0e0e0;
    border-left: 0.25rem solid #003366;
    border-radius: 0.375rem;
    padding: 1rem 1.5rem;
    max-width: 17.5rem;
    }

    .cert-blurb {
    max-width: 38.75rem;
    margin: 0 auto 1.75rem;
    color: #555;
    font-size: 0.906rem;
    line-height: 1.7;
    }

    .cert-logo {
    flex-shrink: 0;
    }

    .cert-badge-img {
    width: 5.625rem;
    height: 5.625rem;
    object-fit: contain;
    }

    .cert-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    }

    .cert-platform {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
    }

    .cert-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-top: 0.125rem;
    }

    /* Footer */
    footer {
    text-align: center;
    padding: 0.625rem;
    background-color: #f5f5f5;
    border-top: 0.0625rem solid #ddd;
    border-radius: 0.5rem;
    font-family: "Cormorant Garamond", serif;
    }

    footer h2 {
    font-size: 2rem;
    font-weight: 700;
    }

    footer p {
    margin: 0.3125rem 0;
    font-size: 1.125rem;
    }
