* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #1A2B42;
    background-color: #FEFEFE;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: calc(1.5rem + 4vw); }
h2 { font-size: calc(1.325rem + .9vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #2A4A72;
    transition: all .3s ease;
}

a:hover {
    opacity: .8;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input, button, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

:root {
    --primary-color: #2A4A72;
    --secondary-color: #E8F1F8;
    --accent-color: #FF6B35;
    --text-color: #1A2B42;
    --bg-color: #FEFEFE;
    --bg-secondary: #F4F8FC;
}

.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-muted { color: #6c757d !important; }
.text-white { color: #fff !important; }
.text-dark { color: var(--text-color) !important; }
.text-light { color: #f8f9fa !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-light { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-light { background-color: var(--bg-secondary) !important; }
.bg-white { background-color: #fff !important; }
.bg-dark { background-color: #212529 !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-success { background-color: #198754 !important; }

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
}

.bg-accent.bg-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e55a2b 100%);
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 { flex: 0 0 auto; width: 100%; }

.mx-auto{
    margin: 0 auto;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

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

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--text-color);
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(42, 74, 114, 0.25);
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.75rem 2.25rem 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
}

.form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(42, 74, 114, 0.25);
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-left: -1.5em;
    vertical-align: top;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    appearance: none;
    border-radius: 0.25em;
}

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

.form-check-label {
    color: #6c757d;
}

.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease-in-out;
}

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

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

.btn-accent {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    color: #fff;
    background-color: #e55a2b;
    border-color: #e55a2b;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
}

.display-3 { font-size: calc(1.575rem + 3.9vw); font-weight: 900; line-height: 1.2; }
.display-4 { font-size: calc(1.475rem + 2.7vw); font-weight: 700; line-height: 1.2; }
.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 700; line-height: 1.2; }
.display-6 { font-size: calc(1.375rem + 1.5vw); font-weight: 700; line-height: 1.2; }

.fs-1 { font-size: 1.25rem !important; }
.fs-2 { font-size: 1.125rem !important; }
.fs-3 { font-size: 1rem !important; }
.fs-4 { font-size: 0.875rem !important; }

.fw-bold { font-weight: 700 !important; }
.fw-light { font-weight: 300 !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-lg-start { text-align: left !important; }
.text-lg-end { text-align: right !important; }

.text-decoration-none { text-decoration: none !important; }

.overflow-hidden { overflow: hidden !important; }

.w-100 { width: 100% !important; }
.w-40 { width: 40% !important; }
.h-100 { height: 100% !important; }

.z-index-2 { z-index: 2 !important; }

.top-0 { top: 0 !important; }
.end-0 { right: 0 !important; }
.start-0 { left: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-50 { left: 50% !important; }

.translate-middle-x { transform: translateX(-50%) !important; }

.m-4 { margin: 1.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.5rem !important; }
.mb-10 { margin-bottom: 3rem !important; }
.mb-12 { margin-bottom: 3.5rem !important; }
.mb-15 { margin-bottom: 4rem !important; }
.mt-8 { margin-top: 2.5rem !important; }
.mt-15 { margin-top: 4rem !important; }
.mt-lg-0 { margin-top: 0 !important; }
.mt-lg-8 { margin-top: 2.5rem !important; }
.mt-lg-12 { margin-top: 3.5rem !important; }
.mb-lg-0 { margin-bottom: 0 !important; }
.me-4 { margin-right: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }

.p-6 { padding: 2rem !important; }
.p-8 { padding: 2.5rem !important; }
.p-10 { padding: 3rem !important; }
.p-15 { padding: 4rem !important; }
.px-8 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
.px-10 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.py-15 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-md-25 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-lg-25 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-lg-24 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
.p-lg-15 { padding: 4rem !important; }
.ps-lg-8 { padding-left: 2.5rem !important; }
.pt-8 { padding-top: 2.5rem !important; }

.border-top { border-top: 1px solid #dee2e6 !important; }

.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }
.rounded-pill { border-radius: 50rem !important; }
.rounded-circle { border-radius: 50% !important; }

.shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }

.opacity-90 { opacity: 0.9 !important; }
.bg-opacity-10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-opacity-90 { background-color: rgba(255, 255, 255, 0.9) !important; }

.g-4 > * { padding: 1.5rem; }
.g-6 > * { padding: 2rem; }
.g-8 > * { padding: 2.5rem; }

.hero-decoration {
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.feature-accent {
    width: 100%;
    height: 6px;
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.floating-card {
    transform: translateX(-50%) translateY(50%);
}

.min-height-400 {
    min-height: 400px;
}

.object-fit-cover {
    object-fit: cover;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.collapse:not(.show) {
    display: none;
}

.order-1 { order: 1 !important; }
.order-2 { order: 2 !important; }
.order-lg-1 { order: 1 !important; }
.order-lg-2 { order: 2 !important; }
.order-md-1 { order: 1 !important; }
.order-md-2 { order: 2 !important; }

.offset-lg-1 { margin-left: 8.33333333%; }

.small { font-size: 0.875em; }

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
    .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
    .navbar-expand-lg .navbar-nav { flex-direction: row; }
    .navbar-expand-lg .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; }
    .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
    .navbar-expand-lg .navbar-toggler { display: none; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
    .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
    .col-xl-6 { flex: 0 0 auto; width: 50%; }
    .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
    .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
    .display-3 { font-size: 4.5rem; }
    .display-4 { font-size: 3.5rem; }
    .display-5 { font-size: 3rem; }
    .display-6 { font-size: 2.5rem; }
}

@media (max-width: 991.98px) {
    .py-md-25 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .py-lg-25 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .py-lg-24 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .p-lg-15 { padding: 2rem !important; }
    .ps-lg-8 { padding-left: 0 !important; }
    .mt-lg-0 { margin-top: 2rem !important; }
    .mt-lg-8 { margin-top: 0 !important; }
    .text-lg-start { text-align: center !important; }
    .text-lg-end { text-align: center !important; }
}

@media (max-width: 767.98px) {
    .col-md-6 { flex: 0 0 auto; width: 100%; }
    .order-md-1 { order: 1 !important; }
    .order-md-2 { order: 2 !important; }
}