
:root {
    --primary-red: #E21F26;
    --primary-red-dark: #b8181e;
    --primary-red-glow: rgba(226, 31, 38, 0.25);
    --secondary-white: #FFFFFF;
    --text-dark: #1a1a2e;
    --text-muted: #64748b;
    --light-gray: #f8fafc;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.05);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --gradient-red: linear-gradient(135deg, #E21F26 0%, #c4181f 50%, #9e1218 100%);
    --gradient-dark: linear-gradient(160deg, #0f0f14 0%, #1a1a2e 50%, #16213e 100%);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-height: 72px;
}

h1,
h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--secondary-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: auto;
}

.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    display: inline-block;
    flex-shrink: 0;
}

.icon.fs-1 { width: 2.5rem; height: 2.5rem; }
.icon.fs-2 { width: 2rem; height: 2rem; }
.icon.fs-4 { width: 1.5rem; height: 1.5rem; }
.icon.d-block { display: block; }
.contact-detail-icon { width: 1.5rem; height: 1.5rem; }

.feature-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
}

.container {
    max-width: 1140px;
}

::selection {
    background: var(--primary-red);
    color: white;
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--gradient-red);
    border: none;
    color: white;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.35s var(--transition-smooth);
    box-shadow: 0 4px 14px var(--primary-red-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-primary-custom:hover {
    color: white;
    background: var(--primary-red-dark);
}

.btn-primary-custom::before {
    display: none;
}

.btn-outline-custom {
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    background: transparent;
    padding: 10px 26px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.35s var(--transition-smooth);
}

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

.btn-ghost-light {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* Navbar */
.navbar-premium {
    padding: 0;
    min-height: var(--navbar-height);
    background: #fff !important;
    border-bottom: 1px solid transparent;
}

.navbar-premium.scrolled {
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.navbar {
    box-shadow: none;
    padding: 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-red) !important;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-left: 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
    background: rgba(226, 31, 38, 0.06);
}

.nav-link.active {
    color: var(--primary-red);
    background: rgba(226, 31, 38, 0.08);
    font-weight: 600;
}

.navbar-toggler {
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    color: var(--text-dark);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 45%, rgba(255,255,255,0.75) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 31, 38, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(226, 31, 38, 0.08);
    border: 1px solid rgba(226, 31, 38, 0.15);
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title .text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, white, transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-visual {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 550 / 835;
}

.hero-visual-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Features Section */
.feature-card {
    border: 1px solid var(--border-subtle);
    height: 100%;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
}

.feature-card:hover {
    border-color: rgba(226, 31, 38, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 31, 38, 0.08);
    border-radius: var(--radius-sm);
    color: var(--primary-red);
    margin-bottom: 1.25rem;
}

.feature-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
}

.shadow-custom {
    box-shadow: var(--shadow-md) !important;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 31, 38, 0.5), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(226, 31, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer h6 {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hover-danger:hover {
    color: var(--primary-red) !important;
}

/* Vertical Timeline Styles */
.timeline-section {
    position: relative;
    padding: 0;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    /* Adjust based on icon size */
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    /* Center the marker on the line (40px line - 30px half marker center is not right.. wait. Line is at 40px. Marker width 60px. Center of marker is 30px. So Left 10px puts center at 40px.) */
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--primary-red);
    z-index: 1;
    box-shadow: 0 0 0 10px white;
}

.timeline-marker.active {
    background: var(--primary-red);
    color: white;
}

.timeline-content {
    background: white;
    padding: 0;
}

@media (max-width: 576px) {
    .timeline-section::before {
        left: 30px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 10px;
        box-shadow: 0 0 0 5px white;
    }

    .timeline-item {
        padding-left: 70px;
    }
}


/* Card Hover Effect */
.card-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

/* WhatsApp Widget */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.wa-float-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.wa-float-btn .icon {
    width: 1.75rem;
    height: 1.75rem;
}

.wa-float-btn.active {
    background-color: var(--primary-red);
}

.wa-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: none;
    z-index: 1001;
}

.wa-chat-box.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.wa-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, #b0141a 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.wa-body {
    padding: 20px;
    background-color: #f8f9fa;
}

.wa-input-group {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.wa-form-control {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 10px 0;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.3s;
    background: transparent;
}

.wa-form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-red);
}

.wa-welcome-msg {
    background: white;
    padding: 15px;
    border-radius: 15px;
    border-bottom-left-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: var(--gradient-red);
    border-radius: 2px;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header .section-title {
    display: block;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Page Hero (inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, #fafbfc 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(226, 31, 38, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.page-breadcrumb {
    margin-bottom: 1.5rem;
}

.page-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-size: 0.8125rem;
}

.page-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.page-breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: #cbd5e1;
    font-weight: 400;
}

.page-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--primary-red);
}

.page-breadcrumb li[aria-current="page"] {
    color: var(--text-dark);
    font-weight: 600;
}

.page-hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.page-hero-extra {
    margin-top: 1rem;
}

.page-hero .section-header .blog-meta-bar {
    justify-content: center;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(226, 31, 38, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Partner Logos */
.partner-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.partner-card img {
    filter: grayscale(100%) opacity(0.6);
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.partner-card:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Blog Content Premium */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.blog-content a {
    color: var(--primary-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Contact Page Styles */
.contact-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.contact-info-side {
    background: var(--gradient-red);
    color: white;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info-side::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-form-side {
    padding: 3rem;
}

.form-floating>.form-control {
    border: none;
    border-bottom: 2px solid #eee;
    background-color: transparent;
    border-radius: 0;
    padding-left: 0;
    box-shadow: none;
}

.form-floating>.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.form-floating>label {
    padding-left: 0;
    color: var(--text-muted);
}

.contact-detail-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: white;
    color: var(--primary-red);
}



/* Social Share Buttons */
.btn-share {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    background: white;
}

.btn-share:hover {
    background-color: var(--primary-red);
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #212529;
    color: white;
    padding: 1rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

/* Button Arrow Animation */
.cookie-banner.show {
    transform: translateY(0);
}

/* Offcanvas Premium */
.offcanvas-premium.offcanvas-end {
    width: min(360px, 92vw);
    border-left: none;
    box-shadow: -16px 0 48px rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.offcanvas-premium .offcanvas-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
    gap: 0.75rem;
}

.offcanvas-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.offcanvas-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.offcanvas-brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.offcanvas-brand-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.offcanvas-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: #fff;
    color: var(--text-dark);
    padding: 0;
    margin-left: auto;
}

.offcanvas-close .icon {
    width: 1rem;
    height: 1rem;
}

.offcanvas-premium .offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.offcanvas-nav-label,
.offcanvas-footer-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
    padding: 0 1.25rem;
}

.offcanvas-nav-label {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
}

.offcanvas-nav {
    list-style: none;
    padding: 0 0.75rem;
    margin: 0;
}

.offcanvas-nav-item {
    margin-bottom: 0.35rem;
}

.offcanvas-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.offcanvas-nav-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 31, 38, 0.07);
    border-radius: 10px;
    flex-shrink: 0;
}

.offcanvas-nav-icon .icon {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--primary-red);
}

.offcanvas-nav-text {
    flex: 1;
    min-width: 0;
}

.offcanvas-nav-arrow {
    width: 0.9rem;
    height: 0.9rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

.offcanvas-nav-link:hover {
    background: rgba(226, 31, 38, 0.05);
    border-color: rgba(226, 31, 38, 0.08);
    color: var(--primary-red);
}

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

.offcanvas-nav-link.active {
    background: var(--gradient-red);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

.offcanvas-nav-link.active .offcanvas-nav-icon {
    background: rgba(255, 255, 255, 0.18);
}

.offcanvas-nav-link.active .offcanvas-nav-icon .icon,
.offcanvas-nav-link.active .offcanvas-nav-arrow {
    color: #fff;
}

.offcanvas-cta {
    padding: 1.25rem 1.25rem 0.5rem;
}

.offcanvas-footer {
    padding: 1.25rem;
    margin-top: auto;
}

.offcanvas-footer-label {
    padding: 0 0 0.75rem;
}

.offcanvas-contact-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.35rem;
    margin-bottom: 1rem;
}

.offcanvas-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
}

.offcanvas-contact-row:hover {
    background: rgba(226, 31, 38, 0.05);
    color: var(--primary-red);
}

.offcanvas-contact-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 31, 38, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

.offcanvas-contact-icon .icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary-red);
}

.offcanvas-social {
    display: flex;
    gap: 0.65rem;
}

.offcanvas-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-subtle);
    color: var(--text-dark);
    border-radius: 50%;
    text-decoration: none;
}

.offcanvas-social-link .icon {
    width: 1.1rem;
    height: 1.1rem;
}

.offcanvas-social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

.offcanvas-social-link:hover .icon {
    color: #fff;
}

/* 404 Page */
.error-404 {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    min-height: 60vh;
}

.error-404-card {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.error-404-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.error-404-code {
    font-size: clamp(5rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(226, 31, 38, 0.1);
    user-select: none;
}

.error-404-icon {
    position: absolute;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 12px 28px var(--primary-red-glow);
}

.error-404-icon .icon {
    width: 2rem;
    height: 2rem;
}

.error-404-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.error-404-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 52ch;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.error-404-links {
    margin-top: 2.5rem;
}

.error-404-links-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.error-404-link-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    height: 100%;
}

.error-404-link-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 31, 38, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.error-404-link-icon .icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--primary-red);
}

.error-404-link-text {
    flex: 1;
    min-width: 0;
}

.error-404-link-arrow {
    width: 0.9rem;
    height: 0.9rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

.error-404-link-card:hover {
    border-color: rgba(226, 31, 38, 0.15);
    background: rgba(226, 31, 38, 0.03);
    color: var(--primary-red);
}

.error-404-link-card:hover .error-404-link-arrow {
    color: var(--primary-red);
}

@media (max-width: 767.98px) {
    .error-404 {
        padding: 2.5rem 0 3.5rem;
    }

    .error-404-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .error-404-visual {
        min-height: 140px;
    }

    .error-404-text {
        margin-left: auto;
        margin-right: auto;
    }

    .error-404-actions {
        justify-content: center;
    }
}

/* Legacy offcanvas fallback */
.offcanvas.offcanvas-end:not(.offcanvas-premium) {
    width: 320px;
    border-left: none;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

/* Theme Utilities */
.bg-dark-rich {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.bg-dark-rich::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 31, 38, 0.3), transparent);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Section Title for Dark Backgrounds */
.bg-dark-rich .section-title {
    color: white !important;
}

.bg-dark-rich .section-title::after {
    background-color: var(--primary-red);
}

/* Enhanced Card Shadows */
.card.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.hover-lift:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Dark Section Cards */
.card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

.card-dark:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(226, 31, 38, 0.25);
}

.card-dark h5,
.card-dark h4 {
    color: white;
}

.card-dark .text-muted {
    color: #999 !important;
}

/* Gradient Transitions (Subtle) */
.section-fade-top {
    mask-image: linear-gradient(to bottom, transparent, black 150px);
}

/* Blog Card Specifics */
.blog-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.blog-card-img-wrapper {
    position: relative;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card:hover {
    box-shadow: var(--shadow-md) !important;
    border-color: rgba(226, 31, 38, 0.1);
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.15rem;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-card-link {
    font-weight: 500;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* --- Mobile Responsiveness Adjustments --- */

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero-visual {
        max-width: 300px;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0 2.5rem;
        min-height: auto;
    }

    .hero-stats {
        gap: 1.25rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    /* Global Spacing */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    /* Cards & Components */
    .feature-card {
        padding: 1.5rem;
    }

    .blog-card-body {
        padding: 1.25rem;
    }

    .blog-card-title {
        font-size: 1.1rem;
    }

    /* Contact Section */
    .contact-info-side, 
    .contact-form-side {
        padding: 2rem 1.5rem;
    }

    .contact-info-side h1 {
        font-size: 1.75rem;
    }

    /* Typography Utilities */
    .lead {
        font-size: 1.1rem;
    }

    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }

    /* Offcanvas */
    .offcanvas-footer {
        padding: 1.5rem;
    }

    /* Section Spacing Refinement */
    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    /* Reducing general padding further */
    .py-5, section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .card.p-4 {
        padding: 1rem !important;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .feature-card h5 {
        font-size: 1rem;
    }

    footer img {
        width: 100px !important;
    }

    .contact-wrapper {
        border-radius: 0; /* Full width feel on very small screens */
    }
}