/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&family=Roboto:wght@400;500;700&display=swap');

/* Variables - Premium Red Theme */
:root {
    /* Primary (Premium Red / Crimson) */
    --primary-brand: #D32F2F;
    /* Deep Red */
    --primary-dark: #990000;
    /* Dark Crimson */

    /* Accents */
    --accent-brand: #F44336;
    /* Bright Red */
    --accent-tint: rgba(211, 47, 47, 0.08);
    /* Soft Red Background */

    /* Typography */
    --text-main: #1F2937;
    /* Dark Charcoal */
    --text-body: #374151;
    /* Gray 700 */

    /* Backgrounds */
    --bg-body: #FFFFFF;
    --bg-light: #F9FAFB;
    /* Gray 50 */
    --footer-bg: #FFFFFF;
    /* White */
    --white: #FFFFFF;

    /* Borders & Shadows */
    --border-color: #E5E7EB;
    /* Gray 200 */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Critical: Prevent horizontal scroll on all devices */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-body);
    background-color: var(--bg-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
    cursor: pointer;
    /* Ensure pointer everywhere */
}

/* Global Image & Media Responsiveness */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure inline images don't break layout */
p img,
span img {
    display: inline-block;
    vertical-align: middle;
}

/* --- Global Icon Styling (User Request: All Red) --- */
i.fa-solid,
i.fa-regular,
i.fa-brands {
    color: var(--primary-brand);
}

/* Exceptions for icons inside buttons/badges where they need to be white/inherit */
.btn i,
.btn-submit i,
.badge i,
.text-white i,
.dropdown-item.active i,
.nav-pills .nav-link.active i {
    color: inherit !important;
}

/* Exception for specific gray text containers if needed, but styling prefers red icons now */
.text-gray-400 i,
.text-muted i {
    color: var(--primary-brand) !important;
    /* Force red even in gray text */
}

/* Grid Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Helper Classes */
.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-brand);
    color: var(--white);
    border: none;
    border-radius: 4px;
    /* Soft rounding */
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Utilities */
.text-center {
    text-align: center;
}

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

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

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

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

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 16px;
}

.gap-4 {
    gap: 24px;
}

.m-0 {
    margin: 0 !important;
}

.mt-1 {
    margin-top: 4px !important;
}

.mt-2 {
    margin-top: 8px !important;
}

.mt-3 {
    margin-top: 16px !important;
}

.mt-4 {
    margin-top: 24px !important;
}

.mt-5 {
    margin-top: 48px !important;
}

.mb-1 {
    margin-bottom: 4px !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

.mb-3 {
    margin-bottom: 16px !important;
}

.mb-4 {
    margin-bottom: 24px !important;
}

.mb-5 {
    margin-bottom: 48px !important;
}

.my-3 {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

.my-4 {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.p-0 {
    padding: 0 !important;
}

.pt-3 {
    padding-top: 16px !important;
}

.pt-4 {
    padding-top: 24px !important;
}

.pt-5 {
    padding-top: 48px !important;
}

.pb-3 {
    padding-bottom: 16px !important;
}

.pb-4 {
    padding-bottom: 24px !important;
}

.pb-5 {
    padding-bottom: 48px !important;
}

.py-3 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.py-4 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

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

/* Text Colors */
.text-white {
    color: var(--white) !important;
}

.text-brand {
    color: var(--primary-brand) !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}