/* ===== RuiCodex — Modern Minimalist Corporate ===== */

:root {
    --rc-dark-blue: #1B2A4A;
    --rc-anthracite: #2C2C2C;
    --rc-white: #FFFFFF;
    --rc-light-gray: #F5F6FA;
    --rc-accent: #3B82F6;
    --rc-accent-dark: #2563EB;
    --rc-accent-glow: rgba(59, 130, 246, 0.4);
    --rc-gradient: linear-gradient(135deg, #1B2A4A 0%, #0F172A 50%, #1e3a5f 100%);
    --rc-gradient-accent: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --rc-gradient-cta: linear-gradient(135deg, #1B2A4A 0%, #3B82F6 100%);
    --rc-primary: #1B2A4A;
    --rc-dark: #1B2A4A;
    --rc-text: #334155;
    --rc-text-light: #94A3B8;
    --rc-border: #E2E8F0;
    --rc-radius: 12px;
    --rc-radius-lg: 20px;
    --rc-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --rc-shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.15);
    --rc-shadow-hover: 0 25px 50px -12px rgba(0,0,0,0.2);
    --rc-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--rc-text);
    background: var(--rc-white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--rc-dark-blue);
    line-height: 1.2;
}

/* ===== Navbar ===== */
#mainNavbar {
    padding: 1rem 0;
    transition: var(--rc-transition);
    background: transparent;
    z-index: 1050;
}

#mainNavbar.scrolled {
    background: rgba(27, 42, 74, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.brand-rui {
    color: var(--rc-accent);
    font-weight: 800;
    font-size: 1.4rem;
}

.brand-codex {
    color: var(--rc-white);
    font-weight: 800;
    font-size: 1.4rem;
}

#mainNavbar .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--rc-transition);
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {
    color: var(--rc-white);
}

#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rc-accent);
    transition: var(--rc-transition);
    transform: translateX(-50%);
}

#mainNavbar .nav-link:hover::after {
    width: 60%;
}

.dropdown-menu-dark {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--rc-radius);
    padding: 0.5rem;
}

.dropdown-menu-dark .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: var(--rc-transition);
}

.dropdown-menu-dark .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.2);
}

/* ===== Buttons ===== */
.btn-accent {
    background: var(--rc-gradient-accent);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    transition: var(--rc-transition);
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--rc-accent-glow);
    color: white;
}

.btn-accent-lg {
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
}

.btn-outline-accent {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    transition: var(--rc-transition);
    background: transparent;
}

.btn-outline-accent:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--rc-gradient);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.8;
}

.typed-cursor {
    color: var(--rc-accent);
    font-weight: 100;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--rc-accent);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

/* ===== Section Styling ===== */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

.section-dark {
    background: var(--rc-gradient);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-gray {
    background: var(--rc-light-gray);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--rc-text-light);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ===== Value Proposition Cards ===== */
.value-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--rc-radius-lg);
    background: white;
    border: 1px solid var(--rc-border);
    transition: var(--rc-transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rc-shadow-hover);
    border-color: transparent;
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--rc-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    transition: var(--rc-transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h5 {
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.value-card p {
    color: var(--rc-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Service Cards ===== */
.service-card {
    border-radius: var(--rc-radius-lg);
    background: white;
    border: 1px solid var(--rc-border);
    padding: 2rem;
    transition: var(--rc-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rc-gradient-accent);
    transform: scaleX(0);
    transition: var(--rc-transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rc-shadow-hover);
    border-color: transparent;
    text-decoration: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--rc-accent);
    margin-bottom: 1.2rem;
    transition: var(--rc-transition);
}

.service-card:hover .service-icon {
    background: var(--rc-gradient-accent);
    color: white;
    transform: scale(1.1);
}

.service-card h3,
.service-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    color: var(--rc-dark-blue);
}

.service-card p {
    color: var(--rc-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-card .card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rc-accent);
    text-decoration: none;
    transition: var(--rc-transition);
}

.service-card:hover .card-link {
    letter-spacing: 0.5px;
}

/* ===== Tech Stack Marquee ===== */
.tech-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--rc-dark-blue), transparent);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--rc-dark-blue), transparent);
}

.tech-marquee {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.tech-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    white-space: nowrap;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--rc-transition);
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.tech-item i {
    color: var(--rc-accent);
}

/* ===== Statistics Counter ===== */
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--rc-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.stat-suffix {
    font-size: 0.6em;
    color: rgba(59, 130, 246, 0.7);
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== Case Study Cards ===== */
.case-card {
    border-radius: var(--rc-radius-lg);
    background: white;
    border: 1px solid var(--rc-border);
    padding: 2rem;
    transition: var(--rc-transition);
    height: 100%;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rc-shadow-hover);
}

.case-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    color: var(--rc-accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.case-card h3,
.case-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.case-card p {
    color: var(--rc-text-light);
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--rc-gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    filter: blur(80px);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    filter: blur(60px);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--rc-gradient);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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.03'%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");
}

.page-header h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    position: relative;
}

.page-header .breadcrumb {
    background: transparent;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

.page-header p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    position: relative;
    max-width: 600px;
    margin: 1rem auto 0;
}

.industry-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== Industry Cards ===== */
.industry-card {
    border-radius: var(--rc-radius-lg);
    background: white;
    border: 1px solid var(--rc-border);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--rc-transition);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rc-shadow-hover);
    border-color: transparent;
}

.industry-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--rc-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

/* ===== Case Study Detail ===== */
.case-detail-section {
    border-left: 4px solid var(--rc-accent);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.case-detail-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--rc-accent);
}

/* ===== About Pillars ===== */
.pillar-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rc-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: white;
}

/* ===== Contact Form ===== */
.contact-form-card {
    background: white;
    border-radius: var(--rc-radius-lg);
    padding: 3rem;
    box-shadow: var(--rc-shadow-lg);
    border: 1px solid var(--rc-border);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--rc-accent);
    box-shadow: 0 0 0 0.2rem var(--rc-accent-glow);
}

.form-control,
.form-select {
    border-radius: var(--rc-radius);
    border: 1px solid var(--rc-border);
    padding: 0.8rem 1rem;
    transition: var(--rc-transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--rc-accent);
    box-shadow: 0 0 0 0.2rem var(--rc-accent-glow);
}

/* ===== Footer ===== */
.footer-section {
    background: var(--rc-anthracite);
    color: rgba(255,255,255,0.7);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--rc-transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--rc-accent);
    padding-left: 5px;
}

.text-light-muted {
    color: rgba(255,255,255,0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--rc-transition);
    z-index: 999;
    box-shadow: var(--rc-shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===== Swiper ===== */
.swiper-pagination-bullet-active {
    background: var(--rc-accent) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--rc-accent) !important;
}

/* ===== Technology Page ===== */
.tech-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rc-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.tech-grid-item {
    background: white;
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    padding: 1.2rem;
    text-align: center;
    transition: var(--rc-transition);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rc-dark-blue);
}

.tech-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--rc-shadow);
    border-color: var(--rc-accent);
}

/* ===== Methodology Timeline ===== */
.methodology-step {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.methodology-step::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: var(--rc-border);
}

.methodology-step:last-child::before {
    display: none;
}

.methodology-step .step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rc-gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 2px;
}

/* ===== Solution Detail ===== */
.solution-detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--rc-text);
}

/* ===== Alert / Success ===== */
.alert-success-custom {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,130,246,0.1));
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: var(--rc-radius);
    color: #065F46;
    padding: 1rem 1.5rem;
}

/* ===== Admin Layout ===== */
.admin-sidebar {
    min-height: 100vh;
    background: var(--rc-dark-blue);
    color: white;
    padding-top: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    z-index: 100;
    overflow-y: auto;
}

.admin-sidebar + .flex-grow-1 {
    margin-left: 260px;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    transition: var(--rc-transition);
    border-radius: 8px;
    margin: 0.1rem 0.5rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(59, 130, 246, 0.2);
}

.admin-sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 0.5rem;
}

.admin-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background: var(--rc-light-gray);
}

.admin-stat-card {
    background: white;
    border-radius: var(--rc-radius);
    padding: 1.5rem;
    border: 1px solid var(--rc-border);
    transition: var(--rc-transition);
}

.admin-stat-card:hover {
    box-shadow: var(--rc-shadow);
}

/* ===== Navbar Brand Logo ===== */
.navbar-brand img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 32px;
        max-width: 150px;
    }
}

/* ===== Trust Stats ===== */
.trust-stat {
    padding: 1.5rem 1rem;
}

.trust-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rc-primary), var(--rc-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.trust-stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--rc-primary), var(--rc-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-stat-label {
    font-size: 0.85rem;
    color: var(--rc-text-light);
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* ===== Problem Cards ===== */
.problem-card {
    background: #fff;
    border-radius: var(--rc-radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

.problem-card .problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.problem-card h3,
.problem-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--rc-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.problem-card .card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rc-accent);
    text-decoration: none;
}

.problem-card .card-link:hover {
    text-decoration: underline;
}

/* ===== Process Steps ===== */
.process-step {
    padding: 1.5rem;
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rc-primary), var(--rc-accent));
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.process-step h3,
.process-step h4,
.process-step h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* ===== Sticky Mobile CTA ===== */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 767.98px) {
    .sticky-mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        padding: 0.75rem 1rem;
        border-top: 1px solid rgba(59, 130, 246, 0.2);
    }

    .sticky-mobile-cta .btn {
        width: 100%;
        font-weight: 600;
    }

    body {
        padding-bottom: 60px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    #mainNavbar .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--rc-radius);
        padding: 1rem;
        margin-top: 0.5rem;
    }

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

    .section-padding {
        padding: 60px 0;
    }

    .admin-sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
    }

    .admin-sidebar + .flex-grow-1 {
        margin-left: 0;
    }

    .admin-content {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 90vh;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .trust-stat-number {
        font-size: 1.8rem;
    }

    .problem-card {
        padding: 1.5rem;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Related Services Cards */
.related-services a.d-block {
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.related-services a.d-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--rc-accent);
}

/* Footer headings (non-semantic) */
.footer-heading {
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}
