/* ========================================
   GOOGLE FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&family=Nunito:wght@400;700&display=swap');

/* ========================================
   BASE STYLES
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #e0e8f0;
    color: #333;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0052a3;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: #0052a3; /* Reverted */
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.logo-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 4em;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    display: inline-block;
    letter-spacing: -1px;
}

.logo-tech {
    background-color: #0052a3;
    color: #fff;
    padding: 0 0.1em;
    border-radius: 5px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
main {
    padding: 1rem;
    max-width: 800px;
    margin: 20px auto;
}

section {
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

h2 {
    color: #0052a3;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    background: #e6f0f7;
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}

.service-card h3 {
    color: #0052a3;
    font-size: 1.2em;
    margin-top: 0;
}

/* ========================================
   REVIEW CARDS
   ======================================== */
.review-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.review-card {
    background: #e6f0f7;
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.review-card p {
    flex-grow: 1;
}

.reviewer {
    font-style: italic;
    text-align: right;
}

.stars {
    color: #ffc107;
    text-align: right;
}

.reviews-link {
    margin-top: 20px;
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */
.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #0052a3;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #003d7a;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

a:hover {
    text-decoration: underline;
}

a:focus-visible,
.cta-button:focus-visible {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #0052a3;
    color: #fff;
    margin-top: 2rem;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

footer a {
    color: #fff;
}

footer a:hover {
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 600px) {
    header, footer {
        border-radius: 0;
    }

    .logo-text {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .review-card {
        flex: 1 1 100%;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    header, footer {
        background: white;
        color: black;
        border-radius: 0;
    }

    .cta-button {
        display: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}