* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

a {
    text-decoration: none;
    display: inline-block;
    transition: color .15s ease-in-out, opacity .15s ease-in-out;
    color: var(--primary-color);
}

a:hover { opacity: .8; }

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

button { cursor: pointer; }

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

.display-3 {
    font-size: calc(1.575rem + 3.9vw);
    font-weight: 700;
    line-height: 1.1;
}

.display-4 {
    font-size: calc(1.475rem + 2.7vw);
    font-weight: 700;
    line-height: 1.1;
}

.display-5 {
    font-size: calc(1.425rem + 2.1vw);
    font-weight: 700;
    line-height: 1.1;
}

.container {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

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

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }

.form-label {
    margin-bottom: .5rem;
    display: inline-block;
    font-weight: 600;
}

.form-control, .form-select {
    display: block;
    width: 100%;
    padding: .825rem 1.1875rem;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.2;
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: .625rem;
    transition: border-color .15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(185, 28, 28, 0.15);
}

.form-select {
    padding-right: 3.5625rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

.btn {
    display: inline-block;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    padding: .825rem 1.1875rem;
    font-size: 1.125rem;
    border-radius: .625rem;
    transition: all .15s ease-in-out;
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

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

.navbar > .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.5rem;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
}

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

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.125rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .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%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #6c757d;
    text-decoration: none;
    transition: color .15s ease-in-out;
}

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

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.w-100 { width: 100% !important; }
.w-25 { width: 25% !important; }
.w-40 { width: 40% !important; }
.w-50 { width: 50% !important; }
.h-100 { height: 100% !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-decoration-none { text-decoration: none !important; }
.text-white { color: white !important; }
.text-light { color: #f8f9fa !important; }
.text-muted { color: #6c757d !important; }
.text-dark { color: #212529 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-light { font-weight: 300 !important; }
.list-unstyled { padding-left: 0; list-style: none; }
.rounded { border-radius: .375rem !important; }
.rounded-3 { border-radius: .5rem !important; }
.rounded-4 { border-radius: .75rem !important; }
.rounded-5 { border-radius: 1rem !important; }
.rounded-circle { border-radius: 50% !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important; }
.overflow-hidden { overflow: hidden !important; }

.mt-2 { margin-top: .5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-15 { margin-top: 3.75rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: .75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-15 { margin-bottom: 3.75rem !important; }
.mb-20 { margin-bottom: 5rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: .75rem !important; }
.me-4 { margin-right: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.p-2 { padding: .5rem !important; }
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }
.py-3 { padding-top: .75rem !important; padding-bottom: .75rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-15 { padding-top: 3.75rem !important; padding-bottom: 3.75rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.ps-lg-8 { padding-left: 2rem !important; }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }

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

:root {
    --primary-color: #b91c1c;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
}

.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-light-custom { background-color: var(--light-bg) !important; }
.bg-dark-custom { background-color: var(--dark-bg) !important; }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary-color) 0%, #dc2626 100%) !important; }
.bg-gradient { background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0)) !important; }
.bg-opacity-10 { --bs-bg-opacity: 0.1; }
.bg-opacity-15 { --bs-bg-opacity: 0.15; }
.bg-opacity-20 { --bs-bg-opacity: 0.2; }

.text-primary-custom { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

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

.btn-primary-custom:hover {
    background-color: #991b1b;
    border-color: #991b1b;
    color: white;
}

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

.btn-accent:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: white;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.clip-diagonal {
    clip-path: polygon(60% 0%, 100% 0%, 100% 100%, 40% 100%);
}

.clip-diagonal-reverse {
    clip-path: polygon(0% 0%, 40% 0%, 60% 100%, 0% 100%);
}

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

.opacity-90 { opacity: 0.9; }

.border-top { border-top: 1px solid #dee2e6 !important; }
.border-secondary { border-color: #6c757d !important; }

.img-fluid { max-width: 100%; height: auto; }

@media (min-width: 576px) {
    .container { max-width: 540px; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
    .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
    .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: .5rem;
        padding-left: .5rem;
    }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    .py-lg-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
    .py-lg-25 { padding-top: 6.25rem !important; padding-bottom: 6.25rem !important; }
    .py-lg-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
    .order-lg-1 { order: 1 !important; }
    .order-lg-2 { order: 2 !important; }
}

@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; }
}

@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

@media (max-width: 767px) {
    .hero-section { min-height: 70vh; }
    .py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .py-15 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .py-12 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .order-1 { order: 1 !important; }
    .order-2 { order: 2 !important; }
}