@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@200;300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*----------------------------------------------
Global Typography System
----------------------------------------------*/

:root {
    /* Font Families */
    --body-font: "Inter", sans-serif;
    --heading-font: "IBM Plex Sans", sans-serif;

    /* Base Font Sizes */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;

    /* Heading Font Sizes */
    --font-size-h1: 58px;
    --font-size-h1-mobile: 36px;
    --font-size-h2: 36px;
    --font-size-h2-mobile: 28px;
    --font-size-h3: 28px;
    --font-size-h3-mobile: 24px;
    --font-size-h4: 22px;
    --font-size-h4-mobile: 20px;
    --font-size-h5: 20px;
    --font-size-h6: 16px;

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.3;
    --line-height-relaxed: 1.4;
    --line-height-loose: 1.5;
    --line-height-extra-loose: 1.6;

    /* Letter Spacing */
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;

    /* Margins */
    --margin-heading-sm: 8px;
    --margin-heading-md: 15px;
    --margin-heading-lg: 20px;
    --margin-heading-xl: 25px;
    --margin-paragraph: 15px;
    --bs-heading-color: #002138;
    --heading-color: #002138;
}

/*----------------------------------------------
Base Body Styles
----------------------------------------------*/
body {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-loose);
    letter-spacing: var(--letter-spacing-normal);
}

/*----------------------------------------------
Heading Styles
----------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-tight);
    margin-top: 0;
    margin-bottom: var(--margin-heading-md);
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--margin-heading-xl);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--margin-heading-lg);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--margin-heading-md);
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--margin-heading-sm);
}

h5 {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--margin-heading-sm);
}

h6 {
    font-size: var(--font-size-h6);
    font-weight: var(--font-weight-regular);
    margin-bottom: var(--margin-heading-sm);
}

/*----------------------------------------------
Responsive Heading Styles
----------------------------------------------*/
@media (max-width: 991px) {
    h1 {
        font-size: var(--font-size-h1-mobile);
        line-height: var(--line-height-normal);
    }

    h2 {
        font-size: var(--font-size-h2-mobile);
    }

    h3 {
        font-size: var(--font-size-h3-mobile);
    }

    h4 {
        font-size: var(--font-size-h4-mobile);
    }
}

/*----------------------------------------------
Paragraph and Text Styles
----------------------------------------------*/
p {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    margin-top: 0;
    margin-bottom: var(--margin-paragraph);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
}

/*----------------------------------------------
Link Styles
----------------------------------------------*/
a {
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/*----------------------------------------------
List Styles
----------------------------------------------*/
ul, ol {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin: 0;
    padding: 0;
}

li {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 5px;
}

/*----------------------------------------------
Menu and Navigation Styles
----------------------------------------------*/
.nav, .navbar-nav, .dropdown-menu {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
}

.nav-link, .navbar-nav .nav-link {
    font-family: inherit;
    font-size: inherit;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

.dropdown-item {
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
}

/*----------------------------------------------
Button Typography
----------------------------------------------*/
.btn, button {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-wide);
}

.btn-sm {
    font-size: var(--font-size-sm);
}

.btn-lg {
    font-size: var(--font-size-lg);
}

/*----------------------------------------------
Form Element Typography
----------------------------------------------*/
.form-label {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    margin-bottom: 8px;
}

.form-control, .form-select {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
}

input::placeholder,
textarea::placeholder {
    font-family: inherit;
    font-size: inherit;
    font-weight: var(--font-weight-light);
}

/*----------------------------------------------
Table Typography
----------------------------------------------*/
table {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

th {
    font-weight: var(--font-weight-semibold);
}

td {
    font-weight: var(--font-weight-regular);
}

/*----------------------------------------------
Breadcrumb Typography
----------------------------------------------*/
.breadcrumb {
    font-family: var(--body-font);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
}

.breadcrumb-item.active {
    font-weight: var(--font-weight-medium);
}

/*----------------------------------------------
Card and Component Typography
----------------------------------------------*/
.card-title {
    font-family: var(--heading-font);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

.card-subtitle {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
}

.card-text {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/*----------------------------------------------
Utility Classes
----------------------------------------------*/
.font-heading {
    font-family: var(--heading-font) !important;
}

.font-body {
    font-family: var(--body-font) !important;
}

.font-weight-light {
    font-weight: var(--font-weight-light) !important;
}

.font-weight-regular {
    font-weight: var(--font-weight-regular) !important;
}

.font-weight-medium {
    font-weight: var(--font-weight-medium) !important;
}

.font-weight-semibold {
    font-weight: var(--font-weight-semibold) !important;
}

.font-weight-bold {
    font-weight: var(--font-weight-bold) !important;
}

.line-height-tight {
    line-height: var(--line-height-tight) !important;
}

.line-height-normal {
    line-height: var(--line-height-normal) !important;
}

.line-height-relaxed {
    line-height: var(--line-height-relaxed) !important;
}

.line-height-loose {
    line-height: var(--line-height-loose) !important;
}

.letter-spacing-tight {
    letter-spacing: var(--letter-spacing-tight) !important;
}

.letter-spacing-normal {
    letter-spacing: var(--letter-spacing-normal) !important;
}

.letter-spacing-wide {
    letter-spacing: var(--letter-spacing-wide) !important;
}
