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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: #2b6cb0;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background: #0f2440;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    gap: 0.35rem;
}

.logo-pro {
    color: #fff;
}

.logo-books {
    color: #5b9bd5;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: #a0b4cc;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #a0b4cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.75rem;
    background: #2b6cb0;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
    border: 2px solid #2b6cb0;
    cursor: pointer;
}

.btn:hover {
    background: #1e5591;
    border-color: #1e5591;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #0f2440;
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.9rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    display: block;
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    text-align: center;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0f2440 0%, #1e3a5f 100%);
    color: #fff;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #a0b4cc;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Certification Badges ===== */
.badges-bar {
    background: #fff;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.badges-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.badge-item img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: #f0f4f8;
    padding: 1.5rem 0;
    border-bottom: 1px solid #dce3eb;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: #1e3a5f;
}

.trust-item span {
    font-size: 0.8rem;
    color: #667;
}

/* ===== Sections ===== */
.section {
    padding: 4.5rem 0;
}

.section-dark {
    background: #0f2440;
    color: #fff;
}

.section-dark .section-title {
    color: #fff;
}

.section-dark .feature p {
    color: #a0b4cc;
}

.section-alt {
    background: #f7f9fb;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #0f2440;
}

.section-subtitle {
    text-align: center;
    color: #667;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, #0f2440, #1e3a5f);
    color: #fff;
    text-align: center;
    padding: 3.5rem 2rem;
}

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #a0b4cc;
    font-size: 1.1rem;
}

/* ===== Grid ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ===== Cards ===== */
.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-dark .card {
    background: #162d4a;
    border-color: #1e3a5f;
}

.section-dark .card p {
    color: #a0b4cc;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1e3a5f;
}

.section-dark .card h3 {
    color: #fff;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* ===== Features ===== */
.feature {
    padding: 1.5rem;
}

.feature h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1e3a5f;
}

.section-dark .feature h3 {
    color: #5b9bd5;
}

.feature p {
    font-size: 0.95rem;
    color: #555;
}

/* ===== Service Blocks (services page) ===== */
.service-block {
    max-width: 750px;
    margin: 0 auto;
}

.service-block h2 {
    font-size: 1.75rem;
    color: #0f2440;
    margin-bottom: 1rem;
}

.service-block p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.25rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #444;
}

.service-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #2b6cb0;
    font-weight: 700;
}

/* ===== Testimonials ===== */
.testimonial {
    background: #f7f9fb;
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid #2b6cb0;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a5f;
}

/* ===== Content Narrow (about page) ===== */
.content-narrow {
    max-width: 750px;
    margin: 0 auto;
}

.content-narrow p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.25rem;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1e3a5f, #2b6cb0);
    color: #fff;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 1.1rem;
    color: #c5d5e8;
    margin-bottom: 2rem;
}

.cta .btn {
    background: #fff;
    color: #1e3a5f;
    border-color: #fff;
}

.cta .btn:hover {
    background: #e2e8f0;
    border-color: #e2e8f0;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap h2 {
    font-size: 1.5rem;
    color: #0f2440;
    margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
    color: #667;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #f7f9fb;
    border-radius: 8px;
    padding: 1.75rem;
}

.info-card h3 {
    font-size: 1.15rem;
    color: #0f2440;
    margin-bottom: 1rem;
}

.info-item {
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    color: #1e3a5f;
    margin-bottom: 0.15rem;
}

.info-item p {
    font-size: 0.9rem;
    color: #555;
}

.info-item a {
    color: #2b6cb0;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* ===== Form Success ===== */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #555;
    font-size: 1rem;
}

/* ===== Footer ===== */
footer {
    background: #0a1a2e;
    color: #a0b4cc;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.footer-col ul a {
    color: #a0b4cc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1a2d45;
    text-align: center;
    padding: 1.25rem 0;
    font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f2440;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0.75rem;
        border-top: 1px solid #1a2d45;
    }

    .nav-links.open {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-tagline {
        display: none;
    }
}
