/* ========================================
   CUSTOM BOOTSTRAP REPLACEMENT CSS
   Replace Bootstrap 5 classes with custom CSS
   ======================================== */

/* Container System */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: "Roboto", sans-serif;
}

.body-content p{
    line-height: 1.5;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

/* Grid System - Row */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Grid System - Columns */
.col-md-4,
.col-md-6,
.col-lg-10 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

/* Margin Auto */
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Display Utilities */
.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.d-lg-none {
    display: none !important;
}

.d-lg-flex {
    display: flex !important;
}

/* Flex Utilities */
.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

/* Text Alignment */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-md-start {
    text-align: left !important;
}

.text-md-end {
    text-align: right !important;
}

/* Background Colors */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Text Colors */
.text-primary {
    color: #0d6efd !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Spacing Utilities - Margin */
.m-0 {
    margin: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2{
     margin-bottom: 0.75rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.275rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

/* Spacing Utilities - Padding */
.p-0 {
    padding: 0 !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* Border Radius */
.rounded-4 {
    border-radius: 0.5rem !important;
}

/* Position Utilities */
.position-fixed {
    position: fixed !important;
}

.top-50 {
    top: 50% !important;
}

.start-50 {
    left: 50% !important;
}

.translate-middle {
    transform: translate(-50%, -50%) !important;
}

.float-end {
    float: right !important;
}

/* Image Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Button Base Styles */
.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 50px 50px;
    transition: all 0.15s ease-in-out;
}

.btn:hover {
    opacity: 0.9;
}

/* Button Primary */
.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Button Outline Secondary */
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Button Large */
.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

/* Width Utility */
.w-100 {
    width: 100% !important;
}

/* Alert Component */
.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-heading {
    color: inherit;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Form Controls */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Table Styles */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: middle;
    border-color: transparent;
    background-color: transparent;
    border-spacing: 0;
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: transparent;
    border-bottom-width: 0;
    box-shadow: none;
}

.table > tbody {
    vertical-align: inherit;
}

.table > thead {
    vertical-align: bottom;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    color: #212529;
    background-color: transparent;
}

/* Spinner/Loading */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-animation 0.75s linear infinite;
}

@keyframes spinner-border-animation {
    to {
        transform: rotate(360deg);
    }
}

/* Visually Hidden */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* List Styled */
.list-styled {
    list-style: disc;
    padding-left: 1.5rem;
}

.list-styled li {
    margin-bottom: 0.5rem;
}

/* RESPONSIVE BREAKPOINTS */

/* Tablets and below */
@media (max-width: 991px) {
    .d-lg-none {
        display: block !important;
    }
    
    .d-lg-flex {
        display: none !important;
    }
    
    .col-lg-10 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
    }
    
    .col-md-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .text-md-start,
    .text-md-end {
        text-align: center !important;
    }
}

/* Medium devices and up */
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .container {
        max-width: 720px;
    }
}

/* Large devices and up */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .d-lg-none {
        display: none !important;
    }
    
    .d-lg-flex {
        display: flex !important;
    }
}

/* Extra large devices */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}