:root {
    --bs-danger: #c00303;
    --bs-danger-rgb: 192, 3, 3;
    --primary-color: #0d1e3a;       /* Logo Midnight Navy */
    --primary-light: #162a4d;       /* Logo Navy Accent */
    --accent-red: #c00303;          /* Rich Red matching top header */
    --accent-red-hover: #990202;    /* Dark Red Hover */
    --accent-gold: #d4af37;         /* Logo Finial Gold */
    --accent-blue: #002868;         /* Logo Texas Blue */
    --text-dark: #000000;           /* Pure Black */
    --text-muted: #000000;          /* Pure Black */
    --bg-light: #ffffff;            /* Pure White Background */
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -5px rgba(13, 30, 58, 0.08);
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove Border Radius across all images and boxes */
*,
*::before,
*::after,
img,
div,
section,
.card,
.btn,
.badge,
.rounded,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5,
.rounded-circle,
.rounded-pill,
.info-box-card,
.stat-item-box,
.ptde-card,
.warning-card,
.brain-card,
.hero-image-wrapper,
.hero-featured-image-box,
.hero-featured-image-box div,
.highlight-card-banner,
.contact-info-strip,
.navbar-collapse,
.feature-icon-badge,
.curriculum-number-sm {
    border-radius: 0 !important;
}

/* Pure White Site & Header Background (#ffffff) */
html,
body,
header,
header.fixed-top,
header.fixed-top.scrolled,
header.scrolled,
.main-header-wrapper,
.main-header-wrapper.scrolled,
.navbar-custom,
.navbar-custom.scrolled,
.navbar,
.navbar-collapse,
.hero-section,
.section-padding,
.bg-light,
.bg-light-subtle,
.bg-card {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000000 !important;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.text-dark,
.text-secondary,
.text-muted,
.list-group-item {
    color: #000000 !important;
}

.hero-subtitle,
.stat-item-box p,
.info-box-card p,
.ptde-card p,
.warning-card p {
    color: #000000 !important;
}

/* Red Accent Overrides (#c00303) */
.btn-danger {
    background-color: #c00303 !important;
    border-color: #c00303 !important;
    color: #ffffff !important;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #990202 !important;
    border-color: #990202 !important;
}

.text-danger {
    color: #c00303 !important;
}

.badge.bg-danger {
    background-color: #c00303 !important;
    color: #ffffff !important;
}

.border-danger {
    border-color: #c00303 !important;
}

/* Top Red Header Bar (#c00303) */
.top-header-bar {
    background-color: #c00303 !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 0 !important;
    display: flex;
    align-items: center;
    min-height: 42px;
}

.top-header-bar a {
    color: #ffffff !important;
    transition: opacity 0.2s ease;
}

.top-header-bar a:hover {
    opacity: 0.85;
    text-decoration: underline !important;
}

.top-header-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Header & Navbar Custom Styles */
header,
header.fixed-top,
.main-header-wrapper {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none !important;
}

.navbar-custom,
.navbar-custom.shadow-lg,
.navbar-custom.shadow-sm,
.navbar-custom.scrolled {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0;
}

.navbar-custom .container-fluid {
    display: flex;
    align-items: center !important;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center !important;
    max-width: 750px;
}

.navbar-custom .navbar-brand img,
.navbar-logo-img {
    width: 620px !important;
    max-width: 700px !important;
    height: auto !important;
    max-height: 95px !important;
    object-fit: contain !important;
    transition: var(--transition);
}

.navbar-custom .navbar-nav {
    display: flex;
    align-items: center !important;
}

.navbar-custom .nav-item {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

.navbar-custom .nav-link {
    color: #0d1e3a !important;
    font-weight: 600;
    font-size: 0.83rem;
    padding: 0.35rem 0.38rem !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    display: inline-block !important;
    transition: var(--transition);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ff0000 !important;
    transform: translateY(-1px);
}

/* Responsive Small Laptop & Mobile Breakpoints */
@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-custom .navbar-brand img,
    .navbar-logo-img {
        width: 480px !important;
        max-width: 520px !important;
        max-height: 75px !important;
    }
    
    .navbar-custom .nav-link {
        font-size: 0.73rem !important;
        padding: 0.35rem 0.22rem !important;
        letter-spacing: -0.015em;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .navbar-custom .navbar-brand img,
    .navbar-logo-img {
        width: 550px !important;
        max-width: 600px !important;
        max-height: 85px !important;
    }

    .navbar-custom .nav-link {
        font-size: 16px !important;
        padding: 0.38rem 0.35rem !important;
    }
}

@media (max-width: 991px) {
    .navbar-custom .navbar-brand img,
    .navbar-logo-img {
        width: 320px !important;
        max-width: 360px !important;
        max-height: 60px !important;
    }

    .navbar-custom .navbar-collapse {
        background: #ffffff;
        border-radius: 12px;
        margin-top: 0.5rem;
        padding: 1rem;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-custom .nav-link {
        color: #0d1e3a !important;
        font-size: 0.95rem !important;
        padding: 0.6rem 1rem !important;
        border-radius: 8px;
        white-space: normal !important;
    }

    .navbar-custom .nav-link:hover {
        background: #f1f5f9;
        color: #c8102e !important;
    }
}

.navbar-contact-btn {
    background-color: var(--accent-red);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.5rem 1.1rem !important;
    white-space: nowrap;
}

.navbar-contact-btn:hover {
    background-color: var(--accent-red-hover);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
}

/* Hero Section - Pure White Theme */
.hero-section {
    background: #ffffff;
    color: #1e293b;
    padding-top: 235px !important;
    padding-bottom: 75px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 30, 58, 0.06);
    border: 1px solid rgba(13, 30, 58, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #0d1e3a;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0d1e3a !important;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #334155;
    max-width: 650px;
    font-weight: 450;
    margin-bottom: 1.25rem;
}

.hero-notice-card {
    background: rgba(200, 16, 46, 0.08);
    border-left: 4px solid var(--accent-red);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 2rem;
    font-size: 0.975rem;
    color: #991b1b;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(13, 30, 58, 0.12);
    border: 1px solid #e2e8f0;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Contact Info Quick Strip */
.contact-info-strip {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
}

.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 30, 58, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Cards & Section Styling */
.section-padding {
    padding: 45px 0;
}

.section-header {
    margin-bottom: 3rem;
}

/* Enhanced Section Headers & Title UI */
.section-header {
    margin-bottom: 1.75rem !important;
}

h2,
.section-title,
.hero-title {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #0d1e3a !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 0.35rem !important;
    text-align: center;
}

.section-header h3,
.section-header h4 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.25 !important;
}

.section-header .badge {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

/* Premium Info Box Cards UI */
.info-box-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(13, 30, 58, 0.06);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(13, 30, 58, 0.12);
    border-color: #cbd5e1;
}

.feature-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* PTDE Section Modern Cards */
.ptde-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ptde-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.ptde-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 40, 104, 0.08);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ptde-number-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(13, 30, 58, 0.08);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ptde-partner-banner {
    background: linear-gradient(135deg, #0d1e3a 0%, #162a4d 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-red);
}

/* Instinct Driving & Stats Section */
.warning-card {
    background: #fff;
    border: 1px solid #fee2e2;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition);
}

.warning-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #fca5a5;
}

.stat-item-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.stat-item-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* Quote Card Banner UI */
.quote-card-banner {
    background: linear-gradient(135deg, #0d1e3a 0%, #162a4d 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2.25rem;
    box-shadow: 0 10px 30px rgba(13, 30, 58, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 850px;
    margin: 0 auto;
}

.quote-card-banner::before {
    content: '“';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(245, 158, 11, 0.15);
    line-height: 1;
    pointer-events: none;
}

.quote-card-text {
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.quote-card-author {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

/* Highlight Card Banner UI */
.highlight-card-banner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 2rem;
    box-shadow: 0 8px 25px rgba(13, 30, 58, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    transition: var(--transition);
}

.highlight-card-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 30, 58, 0.1);
}

.highlight-card-banner i {
    font-size: 1.4rem;
    color: var(--accent-red);
    flex-shrink: 0;
}

.highlight-card-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
}
.control-driving-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brain-card {
    background: linear-gradient(135deg, #0d1e3a 0%, #162a4d 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.matrix-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 10px 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.matrix-table td {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-table tr td:first-child {
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
    color: var(--accent-gold);
}

.matrix-table tr td:last-child {
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

/* Compact Horizontal Curriculum Cards */
.curriculum-horizontal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.curriculum-horizontal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.curriculum-img-thumb {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.curriculum-horizontal-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.curriculum-number-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 30, 58, 0.08);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.incident-box-sm {
    background: #fff5f5;
    border-left: 3px solid var(--accent-red);
    padding: 0.6rem 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #991b1b;
}

/* Quote & CTA Footer */
.quote-section {
    background: linear-gradient(135deg, #0d1e3a 0%, #162a4d 100%);
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
}

.quote-text {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 700;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
}

.quote-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.footer-main {
    background-color: #060e1d;
    color: #94a3b8;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-main a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-main a:hover {
    color: #ffffff;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-section::before,
    .curriculum-horizontal-card,
    .stat-item-box,
    .ptde-card,
    .navbar-custom {
        transition: none !important;
        transform: none !important;
    }
}
