@media (max-width: 700px) {
    .hero-photo {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    .hero-quote {
        margin-top: 1rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
}
/* Hero Quote Styles */
.hero-quote {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero-quote blockquote {
    background: #fff;
    color: #1a4a7a;
    border-left: 6px solid #7ec8e3;
    border-radius: 10px;
    padding: 1.2rem 2rem 1.2rem 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    font-style: italic;
    box-shadow: 0 2px 12px rgba(26, 74, 122, 0.07);
    max-width: 600px;
}

.hero-quote .quote-emphasis {
    display: block;
    margin-top: 0.7em;
    font-weight: bold;
    font-size: 1.25em;
    letter-spacing: 1px;
    color: #14508a;
}

/* Custom Footer Styles */
.custom-footer {
    background: #1a4a7a;
    color: #fff;
    padding: 2.5rem 0 0.5rem 0;
    font-size: 1rem;
    margin-top: 2rem;
}

/* Unified link style for all content and footer */
a,
a:visited {
    color: #0a3d62;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    word-break: break-all;
}

a:hover,
a:focus {
    color: #072b44;
    background: none;
    border-radius: 4px;
    text-decoration: none;
}

.dark-bg a,
.dark-bg :visited {
    color: #ffffff;
}

.dark-bg a:hover,
.dark-bg a:focus {
    color: #7ec8e3;
    text-decoration: underline;
}

/* Remove scale transform on all links */
.footer-social-link:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 220px;
    margin-bottom: 1.5rem;
}

.footer-col h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

.footer-col hr {
    border: none;
    border-top: 1px dotted #888;
    margin-bottom: 0.7rem;
}

.footer-social-link {
    display: inline-block;
    margin-right: 0;
    transition: none;
}

.footer-social-link:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background: none;
    transform: none;
}

.footer-bottom {
    text-align: center;
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #333;
}

@media (max-width: 900px) {
    .footer-columns {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-col {
        min-width: 0;
    }
}

/* Service Blocks Styles */
.service-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-block {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(26, 74, 122, 0.07);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.service-block:hover {
    box-shadow: 0 4px 20px rgba(26, 74, 122, 0.13);
}

.service-header {
    width: 100%;
    background: #1a4a7a;
    color: #fff;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    text-align: left;
    transition: background 0.2s;
    border-bottom: 1px solid #eaf2fb;
    box-sizing: border-box;
}

.service-content {
    padding: 1.1rem 1.2rem;
    color: #183153;
    font-size: 1rem;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #eaf2fb;
    display: block;
}

@media (max-width: 900px) {
    .service-blocks {
        grid-template-columns: 1fr;
    }
}

/* Anna Quality Assurance Consulting - Professional, Person-Focused */


body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #eaf2fb;
    color: #183153;
}


header {
    background: #1a4a7a;
    color: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0;
    padding: 0 1.5rem;
}

header h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}


nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #7ec8e3;
}

main .container {
    max-width: 900px;
    margin: 0 auto;
}

main {
    padding-bottom: 2rem;
}


#hero {
    background: linear-gradient(90deg, #7ec8e3 0%, #1a4a7a 100%);
    padding: 3rem 0 2rem 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    margin-top: 0;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 2;
    min-width: 220px;
}

.hero-photo {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 1.5rem;
}

.hero-photo img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 12px rgba(26, 74, 122, 0.12);
    cursor: default;
}

.hero-photo blockquote {
    min-width: 20rem;
}

#hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #1a4a7a;

    .service-header {
        width: 100%;
        background: #1a4a7a;
        color: #fff;
        border: none;
        outline: none;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 1.1rem 1.2rem;
        text-align: left;
        border-bottom: 1px solid #eaf2fb;
        cursor: default;
        transition: none;
    }
}

#hero p {
    font-size: 1.2rem;
    color: #183153;
    margin: 0 auto;
    max-width: 600px;
}

section {
    margin-top: 2.5rem;
}


h2 {
    color: #1a4a7a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.services-list {
    padding-left: 1.2rem;
    margin: 0;
}

.services-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}


label {
    font-weight: 500;
    color: #1a4a7a;
}

input,
textarea {
    padding: 0.6rem;
    border: 1px solid #b2bec3;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    resize: none;
}


button[type="submit"] {
    background: #1a4a7a;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: #14508a;
}


footer {
    background: #1a4a7a;
    color: #fff;
    text-align: center;
    padding: 1rem 1rem;
    margin-top: 2rem;
    font-size: 0.95rem;
}


@media (max-width: 700px) {

    header .container,
    main .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    #hero {
        padding: 2rem 0 1.5rem 0;
    }

    .hero-flex {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-photo img {
        width: 160px;
        height: 160px;
    }
}