* {
    box-sizing: border-box;
}

:root {
    --navy: #0b1f33;
    --green: #2e7d32;
    --text: #17212b;
    --muted: #4f5f6f;
    --light: #f5f7fa;
    --white: #ffffff;
    --border: #dce3ea;
    --max-width: 1200px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

p {
    color: inherit;
}

/* Header */

.site-header {
    background-color: var(--navy);
    color: var(--white);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Buttons */

.button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background-color: var(--green);
    color: var(--white);
}

.button.secondary {
    border: 1px solid var(--white);
    color: var(--white);
}

.button.secondary-dark {
    border: 1px solid var(--navy);
    color: var(--navy);
}

/* Home Hero */

.hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 80px 24px;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    max-width: 850px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Trust Bar */

.trust-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 16px 24px;
}

.trust-bar p {
    margin: 0;
    color: var(--navy);
    font-weight: bold;
}

/* Shared Page Hero */

.page-hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 64px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 14px;
}

.page-hero p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
}

/* Homepage Services */

.services-preview {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 24px;
}

.services-preview h2 {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card,
.service-detail-card,
.contact-card,
.about-card,
.trust-card,
.value-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.service-card,
.service-detail-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(11, 31, 51, 0.10);
}

.service-card {
    padding: 26px;
}

.service-card h3,
.service-detail-card h3,
.service-detail-card h2 {
    color: var(--navy);
    margin-top: 0;
}

.service-icon {
    font-size: 34px;
    margin-bottom: 14px;
}

/* Services Page */

.services-section,
.trust-section,
.contact-section,
.about-section,
.values-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 24px;
}

.business-section {
    border-top: 1px solid var(--border);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 8px;
}

.section-heading p {
    max-width: 850px;
    font-size: 18px;
    margin: 0;
}

.services-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-detail-card {
    padding: 28px;
}

.service-detail-card ul {
    padding-left: 20px;
}

/* Trust Section */

.trust-section {
    text-align: center;
    padding-bottom: 24px;
}

.trust-section h2 {
    color: var(--navy);
    font-size: 30px;
    margin-bottom: 24px;
}

.trust-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.trust-card,
.value-card {
    padding: 20px 14px;
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--navy);
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(11, 31, 51, 0.06);
}

/* Contact Page */

.contact-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    padding: 28px;
    text-align: center;
}

.contact-card h2 {
    color: var(--navy);
    margin-top: 0;
}

.contact-card a {
    color: #1f4e79;
    font-weight: bold;
}

/* About Page */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-card {
    padding: 32px;
}

.about-card h2 {
    color: var(--navy);
    margin-top: 0;
}

.founder-card {
    border-top: 5px solid var(--green);
}

.values-section {
    text-align: center;
    padding-top: 20px;
}

.values-section h2 {
    color: var(--navy);
    font-size: 30px;
    margin-bottom: 24px;
}

/* CTA Sections */

.cta-section {
    background-color: var(--white);
    text-align: center;
    padding: 64px 24px;
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    color: var(--navy);
    font-size: 30px;
}

.home-cta {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 70px 24px;
}

.home-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.home-cta h2 {
    color: var(--navy);
    font-size: 36px;
    margin-bottom: 20px;
}

.home-cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Footer */

.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 24px 20px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr;
    gap: 30px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
}

.site-footer a {
    color: var(--white);
    font-weight: bold;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

/* Mobile */

@media (max-width: 900px) {
    .service-grid,
    .services-detail,
    .contact-section,
    .about-section,
    .trust-grid,
    .values-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .trust-card,
    .value-card {
        min-height: auto;
    }
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 34px;
    }

    .page-hero h1 {
        font-size: 34px;
    }
}