:root {
    --primary-color: #1a3a52;
    --accent-color: #7b9e8f;
    --light-bg: #f9fafb;
    --light-gray: #e5e7eb;
    --white: #ffffff;
    --text-dark: #1f2937;
    --border-color: #d1d5db;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--light-gray);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 0.05em;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 82, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 2rem;
    max-width: 50%;
}

.hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

main {
    padding: 0;
}

section {
    background-color: var(--white);
}

section.bg-light {
    background-color: var(--light-bg);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

img.img-fluid {
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

table {
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

table thead {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

table td, table th {
    border-color: var(--light-gray);
    padding: 0.75rem;
}

.list-group-item {
    background-color: transparent;
    border-color: var(--light-gray);
    color: var(--text-dark);
}

.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.form-control {
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    padding: 0.625rem 0.875rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
    color: var(--text-dark);
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-check-input {
    border: 1px solid var(--light-gray);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

footer {
    background-color: var(--light-bg);
    border-top: 1px solid var(--light-gray);
    margin-top: 4rem;
    padding: 2rem 0 !important;
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-dark);
}

footer a:hover {
    color: var(--primary-color);
}

footer ul li {
    margin-bottom: 0.5rem;
}

.alert {
    border-radius: 4px;
    padding: 1rem;
}

.alert-light {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--text-dark);
}

hr {
    border: 0;
    border-top: 1px solid var(--light-gray);
    margin: 1.5rem 0;
}

.text-muted {
    color: #6b7280;
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 300px;
    }

    .hero-content {
        max-width: 100%;
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

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

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0.75rem;
    }

    main section {
        padding: 2rem 1rem !important;
    }

    footer {
        padding: 1.5rem 0 !important;
    }

    footer .row {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 250px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    main section {
        padding: 1.5rem 1rem !important;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    table {
        font-size: 0.9rem;
    }

    table td, table th {
        padding: 0.5rem;
    }
}
