/* Base Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #1a365d;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-content {
    flex: 1;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: #f7fafc;
}

.section h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3182ce;
    display: inline-block;
}

.section h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-top: 25px;
    margin-bottom: 10px;
}

.section p {
    margin-bottom: 15px;
    max-width: 800px;
}

.section ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.section li {
    margin-bottom: 8px;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.service-card h3 {
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card ul {
    margin-top: 15px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-info {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-info h3 {
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info address {
    font-style: normal;
    line-height: 1.8;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Links */
a {
    color: #3182ce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    margin: 0;
    opacity: 0.9;
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.footer a {
    color: #90cdf4;
}

.footer a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 130px;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header-content {
        margin-bottom: 10px;
    }

    .nav {
        justify-content: center;
    }

    .nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        padding: 5px 8px;
        font-size: 0.85rem;
    }

    .section h2 {
        font-size: 1.35rem;
    }

    .section h3 {
        font-size: 1.1rem;
    }

    .service-card,
    .contact-info {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header {
        position: static;
        background: none;
        color: #000;
        box-shadow: none;
    }

    .nav {
        display: none;
    }

    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }

    .footer {
        background: none;
        color: #000;
    }
}
