:root {
    /* Brand Colors */
    --primary-color: #46bcd6;
    --primary-dark: #46bcd6;
    --primary-light: #46bcd6;
    --secondary-color: #46bcd6;
    --accent-color: #46bcd6;

    /* Grays */
    --dark: #787878;
    --gray-dark: #787878;
    --gray: #787878;
    --gray-light: #e2e2e2;
    --light: #e2e2e2;

    /* Fonts */
    --font-primary: 'Poppins', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Override Bootstrap Primary Color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-carbon {
    color: var(--dark) !important;
}

.bg-carbon {
    background-color: var(--dark) !important;
    color: white;
}

.bg-steel {
    background-color: var(--dark) !important;
    color: white;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
}

.navbar {
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transition: transform var(--transition-normal);
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Area Selector Component */
.area-selector {
    background: white;
}

.house-diagram {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.house-3d-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.house-3d-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.house-area-hotspot {
    position: absolute;
    background: rgba(0, 102, 204, 0.3);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.house-area-hotspot:hover {
    background: rgba(0, 102, 204, 0.6);
    border-color: #00cc66;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
    transform: scale(1.05);
}

.house-area-hotspot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.house-area-hotspot:hover::before {
    opacity: 0.8;
}

.house-area-hotspot::after {
    content: attr(data-title);
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.house-area-hotspot:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.house-area-hotspot.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(0, 102, 204, 0);
    }
}

/* Info panel que aparece al hacer click */
.area-info-panel {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: none;
}

.area-info-panel.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.area-info-panel h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.area-info-panel p {
    color: var(--sani-text-main);
    line-height: 1.8;
    margin-bottom: 20px;
}

.area-info-panel ul {
    color: var(--sani-text-main);
    line-height: 1.8;
}

.area-info-panel .btn {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .house-area-hotspot::after {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Legacy SVG support - keep for backward compatibility */
.house-area {
    cursor: pointer;
    transition: all var(--transition-normal);
    fill: #e0e0e0;
}

.house-area:hover {
    fill: var(--primary-light);
    filter: drop-shadow(0 0 10px rgba(0, 102, 204, 0.5));
}

.house-area.active {
    fill: var(--primary-color);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    transition: all var(--transition-normal);
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

/* AI Chat Widget */
#ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.chat-bubble:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.chat-bubble i {
    color: white;
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utilities */
.text-light-50 {
    opacity: 0.7;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Placeholder Image */
.placeholder-image {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Education Section Styles */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.education-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(80, 200, 236, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    background-color: rgba(80, 200, 236, 0.1);
    color: var(--sani-primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(80, 200, 236, 0.25);
    border-color: rgba(80, 200, 236, 0.5);
}

/* Gallery Section Styles */
.project-item {
    cursor: pointer;
}

.project-item img {
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

/* =========================================
   IMPORTED FROM HEADER.PHP
   ========================================= */

/* ESTILOS DEL HEADER Y MENÃš (Tomados de tu contact.html) */

/* Brand Colors */
:root {
    --sani-primary: #46bcd6;
    --sani-primary-dark: #46bcd6;
    --sani-primary-light: #46bcd6;
}

.bg-primary {
    background-color: var(--sani-primary) !important;
}

.btn-primary {
    background-color: var(--sani-primary);
    border-color: var(--sani-primary);
}

.btn-primary:hover {
    background-color: var(--sani-primary-dark);
    border-color: var(--sani-primary-dark);
}

.text-primary {
    color: var(--sani-primary) !important;
}

/* Force correct header contact block colors and dropdown arrow */
.contact-block,
.contact-block * {
    color: #46bcd6 !important;
}
.contact-block.dropdown-toggle::after {
    color: #46bcd6 !important;
    border-top-color: #46bcd6 !important;
}

.header-main {
    position: relative;
    z-index: 1030;
}

/* --- CORRECCIÃ“N DEFINITIVA DE MENÃš (NUCLEAR FIX V5) --- */

/* 1. Limpieza General */
.navbar-nav .nav-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background: none !important;
    padding-bottom: 5px !important;
}

/* Eliminar lÃ­neas fantasmas */
.navbar-nav .nav-link::before,
.navbar-nav .nav-item::before {
    content: none !important;
    display: none !important;
}

/* 2. Flecha del Dropdown */
.navbar-nav .nav-item.dropdown>.nav-link::after {
    content: '\25B2' !important;
    /* TriÃ¡ngulo hacia arriba */
    font-family: Arial, sans-serif !important;
    border: none !important;
    height: auto !important;
    width: auto !important;
    background: none !important;
    position: static !important;
    margin-left: 3px !important;
    transform: none !important;
    transition: transform 0.3s ease !important;
    color: var(--sani-primary) !important;
}

.navbar-nav .nav-item.dropdown:hover>.nav-link::after {
    transform: rotate(180deg) !important;
}

/* 3. La LÃ­nea de Subrayado Celeste */
.navbar-nav .nav-link span {
    position: relative !important;
    display: inline-block !important;
    z-index: 10;
}

.navbar-nav .nav-link span::before {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background-color: var(--sani-primary) !important;
    transition: width 0.3s ease !important;
    display: block !important;
    z-index: 11 !important;
}

/* AnimaciÃ³n Hover y Active */
.navbar-nav .nav-item .nav-link:hover span::before,
.navbar-nav .nav-item .nav-link.active span::before {
    width: 100% !important;
}

/* Mostrar menÃº al pasar el mouse */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* --- MEGA MENU DEFINITIVE FIX (NUCLEAR V6) --- */

/* Align bottom-nav absolute positioning context & sticky header */
.bottom-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
}

/* Base Dropdown Panel */
.dropdown-panel {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    background-color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    z-index: 999 !important;
    border-top: 1px solid #e2e2e2 !important;
    border-bottom: 4px solid var(--sani-cyan) !important;
    padding: 2.5rem 5% !important;
    box-sizing: border-box !important;
}

/* Desktop Hover State */
@media (min-width: 992px) {
    .nav-item.has-dropdown:hover .dropdown-panel {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        gap: 3rem !important;
    }
}

/* Links Column Grid */
.fw-links-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    flex: 2 !important;
    padding-right: 2rem !important;
}

/* Mega Heading */
.mega-heading {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #787878 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid var(--sani-cyan) !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
}

/* List Style */
.fw-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.fw-list li {
    padding: 0 !important;
    margin: 0 !important;
}

/* Links inside Mega Menu */
.fw-list a {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    text-decoration: none !important;
    padding: 0.75rem !important;
    border-radius: 6px !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    color: #787878 !important;
    background: none !important;
}

.fw-list a:hover {
    background-color: #f8f9fa !important;
    transform: translateX(5px) !important;
}

/* Icon Container */
.fw-list a .fw-link-icon {
    color: var(--sani-cyan) !important;
    background-color: rgba(70, 188, 214, 0.1) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Link Text */
.fw-list a .fw-link-text {
    display: flex !important;
    flex-direction: column !important;
}

.fw-list a .fw-link-text strong {
    color: #787878 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.fw-list a:hover .fw-link-text strong {
    color: var(--sani-cyan) !important;
}

.fw-list a .fw-link-text em {
    color: #a0a0a0 !important;
    font-size: 0.8rem !important;
    font-style: normal !important;
    margin-top: 0.2rem !important;
}

/* Image Column on Right */
.fw-image-col {
    flex: 1 !important;
    max-width: 320px !important;
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.fw-image-col img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15)) !important;
}

/* Image Badge inside Image Column */
.fw-image-badge {
    position: absolute !important;
    bottom: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    background-color: rgba(120, 120, 120, 0.9) !important; /* Semi-transparent #787878 */
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    pointer-events: none !important;
}

.fw-image-badge strong {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--sani-cyan) !important;
}

.fw-image-badge span {
    font-size: 0.75rem !important;
    color: #ffffff !important;
    margin-top: 0.1rem !important;
    opacity: 0.9 !important;
}

/* Responsive Menu for Tablets and Mobile */
@media (max-width: 991px) {
    .dropdown-panel {
        display: none !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 1.5rem 1rem !important;
        border-top: none !important;
        border-bottom: 2px solid var(--sani-cyan) !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        background-color: #f8f9fa !important; /* Light background for mobile menu items */
    }

    .fw-links-col {
        grid-template-columns: 1fr !important;
        padding-right: 0 !important;
        gap: 1rem !important;
    }

    .fw-image-col {
        display: none !important; /* Hide image column on mobile */
    }

    /* Standard toggle for mobile using bootstrap show class */
    .nav-item.has-dropdown.show .dropdown-panel {
        display: flex !important;
    }
}

/* Floating Inspection Button Styles */
.floating-inspection-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--sani-primary) 0%, var(--sani-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(80, 200, 236, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulse-float 2s ease-in-out infinite;
}

.floating-inspection-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(80, 200, 236, 0.5);
    background: linear-gradient(135deg, var(--sani-primary-dark) 0%, var(--sani-primary) 100%);
}

.floating-inspection-btn i {
    font-size: 1.3rem;
}

@keyframes pulse-float {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 25px rgba(80, 200, 236, 0.4);
    }

    50% {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(80, 200, 236, 0.5);
    }
}

/* Mobile adjustments for floating button */
@media (max-width: 768px) {
    .floating-inspection-btn {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 14px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }

    .floating-inspection-btn span {
        display: none;
    }

    .floating-inspection-btn i {
        font-size: 1.5rem;
    }
}

/* AI Chat Widget Position */
#ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* =========================================
   IMPORTED FROM INDEX.PHP
   ========================================= */

/* Sani-Effect Brand Colors & Page Specific Overrides */
:root {
    --sani-bg-1: #e2e2e2;
    --sani-bg-2: #787878;
    --sani-bg-3: #787878;
    --sani-dark: #787878;
    --sani-light: #e2e2e2;
    --sani-text: #787878;
}

/* Warning/Accent color */
.btn-warning {
    background-color: var(--sani-primary) !important;
    border-color: var(--sani-primary) !important;
    color: white !important;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: var(--sani-primary-dark) !important;
    border-color: var(--sani-primary-dark) !important;
}

.text-warning {
    color: var(--sani-primary) !important;
}

/* Certifications carousel colors */
.cert-icon {
    color: var(--sani-primary) !important;
}

.carousel-btn {
    background: var(--sani-primary) !important;
}

.carousel-dot.active {
    background: var(--sani-primary) !important;
}

.cert-card:hover .cert-card-inner {
    border-color: var(--sani-primary) !important;
    box-shadow: 0 15px 60px rgba(80, 200, 236, 0.2) !important;
}

/* Vector particles */
.vector-particle {
    background: rgba(80, 200, 236, 0.4) !important;
    box-shadow: 0 0 10px rgba(80, 200, 236, 0.3) !important;
}

.vector-particle::before,
.vector-particle::after {
    background: linear-gradient(90deg, rgba(80, 200, 236, 0.4), transparent) !important;
}

/* Stats numbers & Process steps */
.stat-number {
    color: var(--sani-primary) !important;
}

.step-number.bg-primary {
    background-color: var(--sani-primary) !important;
}

a:hover {
    color: var(--sani-primary-dark) !important;
}

.section-title::after {
    background: var(--sani-primary);
}

/* Backgrounds & Cards */
.bg-light {
    background-color: var(--sani-bg-1) !important;
}

.service-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Interactive House Hotspots - Shield Icons SVG */
.house-3d-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.house-3d-container img {
    width: 100%;
    height: auto;
    display: block;
}

.house-area-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    filter: drop-shadow(0 4px 8px rgba(80, 200, 236, 0.5));
    animation: pulse-shield 2.5s infinite ease-in-out;
}

.house-area-hotspot svg {
    width: 40px;
    height: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.house-area-hotspot .shield-icon {
    fill: var(--sani-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.house-area-hotspot .shield-cross {
    fill: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse-shield {

    0%,
    100% {
        filter: drop-shadow(0 4px 8px rgba(80, 200, 236, 0.5));
    }

    50% {
        filter: drop-shadow(0 6px 16px rgba(80, 200, 236, 0.7));
    }
}

.house-area-hotspot:hover {
    transform: translate(-50%, -50%) scale(1.25);
    filter: drop-shadow(0 8px 20px rgba(80, 200, 236, 0.9));
    animation: zoom-pulse-shield 0.6s ease-in-out infinite alternate;
}

.house-area-hotspot:hover svg {
    transform: scale(1.1);
}

.house-area-hotspot:hover .shield-icon {
    fill: var(--sani-primary-dark);
}

.house-area-hotspot:hover .shield-cross {
    transform: rotate(90deg);
    transform-origin: center;
}

@keyframes zoom-pulse-shield {
    0% {
        transform: translate(-50%, -50%) scale(1.25);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.35);
    }
}

.hotspot-label {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--sani-primary);
    z-index: 100;
}

.hotspot-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--sani-primary);
}

.house-area-hotspot:hover .hotspot-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.house-area-hotspot:active {
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
    .house-area-hotspot svg {
        width: 36px;
        height: 36px;
    }

    .house-area-hotspot:hover {
        transform: translate(-50%, -50%) scale(1.2);
    }

    .hotspot-label {
        font-size: 12px;
        padding: 8px 14px;
        bottom: 140%;
    }
}

/* Vector Background Animation Styles */
.vector-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.vector-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(13, 110, 253, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.vector-particle::before,
.vector-particle::after {
    content: '';
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.4), transparent);
    transform-origin: left center;
}

.vector-particle::before {
    width: 120px;
    top: 50%;
    left: 100%;
}

.vector-particle::after {
    width: 80px;
    top: 50%;
    left: 100%;
    transform: rotate(45deg);
}

/* Animations for particles */
.vector-particle:nth-child(1) {
    top: 15%;
    left: 8%;
    animation: float1 25s infinite ease-in-out;
}

.vector-particle:nth-child(2) {
    top: 65%;
    left: 85%;
    animation: float2 30s infinite ease-in-out;
}

.vector-particle:nth-child(3) {
    top: 85%;
    left: 15%;
    animation: float3 22s infinite ease-in-out;
}

.vector-particle:nth-child(4) {
    top: 35%;
    left: 75%;
    animation: float1 28s infinite ease-in-out reverse;
}

.vector-particle:nth-child(5) {
    top: 50%;
    left: 45%;
    animation: float2 24s infinite ease-in-out;
}

.vector-particle:nth-child(6) {
    top: 20%;
    left: 50%;
    animation: float3 26s infinite ease-in-out reverse;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }

    25% {
        transform: translate(30px, -20px);
        opacity: 1;
    }

    50% {
        transform: translate(60px, 10px);
        opacity: 0.4;
    }

    75% {
        transform: translate(30px, 30px);
        opacity: 0.8;
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    25% {
        transform: translate(-40px, 25px);
        opacity: 0.9;
    }

    50% {
        transform: translate(-20px, -30px);
        opacity: 0.6;
    }

    75% {
        transform: translate(20px, -15px);
        opacity: 1;
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    33% {
        transform: translate(25px, -25px) scale(1.3);
        opacity: 1;
    }

    66% {
        transform: translate(-25px, 25px) scale(0.7);
        opacity: 0.4;
    }
}

/* 3D Rotating Carousel */
.certifications-carousel-wrapper {
    perspective: 1500px;
    margin-top: 3rem;
}

.certifications-carousel {
    position: relative;
    width: 100%;
    height: 380px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-card {
    position: absolute;
    width: 220px;
    height: 260px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.cert-card-inner {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cert-card:hover .cert-card-inner {
    border-color: var(--bs-primary);
    box-shadow: 0 15px 60px rgba(13, 110, 253, 0.2);
    transform: translateY(-5px);
}

.cert-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-card h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.carousel-btn {
    background: var(--bs-primary);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.carousel-btn:hover {
    background: var(--bs-dark);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--bs-primary);
    transform: scale(1.3);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--sani-primary);
    transform: translateX(-50%);
    opacity: 0.2;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline .border-start {
        border-left: 2px solid var(--sani-primary) !important;
        padding-left: 20px !important;
        margin-left: 0;
    }

    .timeline .text-md-end {
        text-align: left !important;
        padding-left: 20px;
        margin-bottom: 20px;
        border-left: 2px solid var(--sani-primary);
    }

    .timeline .position-absolute {
        left: -10px !important;
        right: auto !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .certifications-carousel {
        height: 320px;
    }

    .cert-card {
        width: 200px;
        height: 240px;
    }

    .cert-icon {
        font-size: 2.5rem;
    }
}

/* =========================================
   Sani-Assistant Chatbot Widget Styles
   ========================================= */
#sani-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

/* Toggle Button (FAB) */
#chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sani-primary) 0%, var(--sani-primary-dark) 100%);
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 169, 212, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

#chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 169, 212, 0.6);
}

/* Chat Window */
/* Initially hidden with opacity/transform for animation */
#chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#chat-window.active {
    transform: scale(1);
    opacity: 1;
}

/* Header */
.chat-header {
    background: linear-gradient(135deg, var(--sani-primary) 0%, var(--sani-primary-dark) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-header p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

#chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#chat-close-btn:hover {
    opacity: 1;
}

/* Messages Area */
#chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Message Bubbles */
.chat-message {
    display: flex;
    align-items: flex-end;
    max-width: 85%;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message.bot {
    align-self: flex-start;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-message.user .message-content {
    background-color: var(--sani-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-content {
    background-color: white;
    color: var(--sani-text-main);
    border-bottom-left-radius: 4px;
    margin-left: 10px;
}

.bot-avatar {
    width: 30px;
    height: 30px;
    background-color: var(--sani-text-main);
    color: var(--sani-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Typing Indicator Animation */
.typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #b0b0b0;
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Input Area */
.chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

#chat-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

#chat-input:focus {
    border-color: var(--sani-primary);
}

#chat-send-btn {
    background: none;
    border: none;
    color: var(--sani-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.2s;
}

#chat-send-btn:hover {
    transform: translateX(3px);
}

/* Scrollbar styling for chat */
#chat-messages::-webkit-scrollbar {
    width: 5px;
}

#chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* ==========================================================================
   Sani-Effect V3 Premium Accordion / FAQ Style
   ========================================================================== */
.sani-accordion .accordion-item {
    border: none !important;
    margin-bottom: 1rem !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.sani-accordion .accordion-item:hover {
    border-color: rgba(70, 189, 215, 0.3) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.sani-accordion .accordion-button {
    font-weight: 600 !important;
    color: #787878 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    padding: 1.25rem 1.5rem !important;
    border: none !important;
}

.sani-accordion .accordion-button:not(.collapsed) {
    color: #46bcd6 !important;
    background-color: rgba(70, 188, 214, 0.05) !important;
}

.sani-accordion .accordion-button::after {
    filter: grayscale(100%) !important;
    transition: filter 0.3s ease !important;
}

.sani-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(56%) sepia(82%) saturate(405%) hue-rotate(159deg) brightness(94%) contrast(92%) !important; /* Cyan-ish */
}

.sani-accordion .accordion-body {
    color: #787878 !important;
    padding: 1.5rem !important;
    line-height: 1.8 !important;
    background-color: #ffffff !important;
}

/* ========================================= */
   MAGAZINE STYLE PDF PRINT (BROCHURE EXPORT)
   (Optimized for 4-Page Layout)
   ========================================= */
@media print {

    /* 1. Hide unwanted UI elements (Web only) */
    header,
    footer,
    nav,
    .top-bar,
    .breadcrumb,
    #ai-chat-widget,
    .btn,
    .social-links,
    .navbar-brand,
    .navbar-toggler,
    .modal,
    .form-control,
    .floating-inspection-btn,
    .d-print-none,
    #print-faq,
    #print-related {
        display: none !important;
    }

    /* 2. Configure Print Page Settings */
    @page {
        size: letter portrait;
        margin: 0.5in;
    }

    /* 3. Base styles and force background graphics */
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        font-family: 'Poppins', Arial, sans-serif !important;
        color: #2c3e50 !important;
        background: #fff !important;
        font-size: 10pt !important;
        line-height: 1.4 !important;
    }

    /* 4. Global Typography & Spacing */
    .section-padding {
        padding: 15pt 0 !important;
    }

    .section-title {
        font-size: 20pt !important;
        margin-bottom: 10pt !important;
        color: #0066cc !important;
    }

    .section-subtitle {
        font-size: 12pt !important;
        margin-bottom: 15pt !important;
        color: var(--sani-text-main) !important;
    }

    h1,
    h2,
    h3 {
        color: #004d99 !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    p,
    li {
        font-size: 10pt !important;
        margin-bottom: 8pt !important;
    }

    .print-h4 {
        font-size: 14pt !important;
        color: #0066cc !important;
        margin-bottom: 5pt !important;
    }

    .print-h5 {
        font-size: 12pt !important;
        color: var(--sani-text-main) !important;
        font-weight: bold !important;
        margin-bottom: 3pt !important;
    }

    .print-text {
        font-size: 9.5pt !important;
        color: var(--sani-text-main) !important;
        line-height: 1.3 !important;
    }

    .print-text-small {
        font-size: 8.5pt !important;
        line-height: 1.2 !important;
        color: var(--sani-text-main) !important;
    }

    /* 5. Force Flex Grid Layouts */
    .print-row {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .print-row>div {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .col-print-4 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    .col-print-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .print-col-8 {
        flex: 0 0 66.666% !important;
        max-width: 66.666% !important;
    }

    .print-col-4 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    .print-col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* 6. Card & Box Styling */
    .print-card-flat {
        border: 1px solid #eee !important;
        box-shadow: none !important;
        background: #fdfdfd !important;
        border-radius: 8px !important;
        margin-bottom: 10pt !important;
        height: 100% !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-p-2 {
        padding: 10pt !important;
    }

    .print-mb-1 {
        margin-bottom: 5pt !important;
    }

    .print-mb-2 {
        margin-bottom: 10pt !important;
    }

    .print-mb-3 {
        margin-bottom: 15pt !important;
    }

    .print-icon {
        font-size: 24pt !important;
        color: #0066cc !important;
        margin-bottom: 8pt !important;
    }

    .print-hero-icon {
        font-size: 50pt !important;
        color: #0066cc !important;
    }

    /* Tables & Lists */
    .print-table {
        width: 100% !important;
        font-size: 9pt !important;
        margin-bottom: 0 !important;
    }

    .print-table td {
        padding: 4pt !important;
        border-bottom: 1px solid #eee !important;
    }

    .print-list {
        padding-left: 0 !important;
        list-style: none !important;
    }

    .print-list li {
        display: flex !important;
        align-items: flex-start !important;
        margin-bottom: 6pt !important;
        font-size: 9pt !important;
    }

    .print-list li i {
        margin-right: 8pt !important;
        margin-top: 2pt !important;
    }

    /* Alerts & Badges */
    .print-alert {
        padding: 8pt !important;
        font-size: 9.5pt !important;
        border: 1px solid #bce8f1 !important;
        background-color: #d9edf7 !important;
        border-radius: 6px !important;
    }

    .print-alert-warning {
        background-color: #fcf8e3 !important;
        border: 1px solid #faebcc !important;
        padding: 10pt !important;
        border-radius: 6px !important;
    }

    .print-alert-small {
        padding: 6pt !important;
        font-size: 8pt !important;
    }

    .print-badge {
        font-size: 10pt !important;
        padding: 6pt 10pt !important;
    }

    /* Highlights */
    .print-border-highlight {
        border: 2px solid #0066cc !important;
    }

    .print-bg-primary {
        background-color: #0066cc !important;
        color: white !important;
        padding: 4pt !important;
    }

    .print-badge-light {
        background-color: white !important;
        color: #0066cc !important;
        font-weight: bold !important;
        padding: 4pt 8pt !important;
        border-radius: 12px !important;
    }

    .print-text-primary {
        color: #0066cc !important;
    }

    /* ----------------------------------------------------
       PAGINATION LOGIC (4 Pages exactly)
       ---------------------------------------------------- */

    /* PAGE 1: COVER (Hero Section) */
    .hero-section {
        height: 100vh !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        background: url('../images/abstract-bg-print.jpg') center/cover no-repeat !important;
        /* Optional if available */
        background-color: #004d99 !important;
        padding: 40pt !important;
        break-after: page !important;
        page-break-after: always !important;
    }

    .hero-bg {
        opacity: 0.1 !important;
    }

    /* In print, lower opacity to save ink if background is busy, or just rely on color */
    .hero-content {
        background: rgba(255, 255, 255, 0.95) !important;
        padding: 40pt !important;
        border-radius: 12px !important;
        border: 3px solid #0066cc !important;
        max-width: 80% !important;
    }

    .hero-title {
        font-size: 38pt !important;
        color: #004d99 !important;
        margin-bottom: 15pt !important;
        font-weight: 800 !important;
    }

    .hero-subtitle {
        font-size: 16pt !important;
        color: var(--sani-text-main) !important;
        margin-bottom: 20pt !important;
    }

    .d-flex.gap-3 {
        display: none !important;
    }

    /* Hide buttons in hero */
    .hero-section p.lead {
        font-size: 14pt !important;
        color: var(--sani-text-main) !important;
    }

    /* PAGE 2: Key Benefits & How It Works */
    #print-benefits {
        padding-top: 0 !important;
    }

    #print-how-it-works {
        break-after: page !important;
        page-break-after: always !important;
        background-color: #fff !important;
        padding-bottom: 0 !important;
    }

    .print-step {
        margin-bottom: 8pt !important;
    }

    /* PAGE 3: Features & Applications */
    #print-features {
        padding-top: 0 !important;
    }

    #print-applications {
        break-after: page !important;
        page-break-after: always !important;
        background-color: #fff !important;
        padding-bottom: 0 !important;
    }

    /* PAGE 4: Safety & CTA */
    #print-safety {
        padding-top: 0 !important;
    }

    .print-cta-card {
        margin-top: 15pt !important;
        border-radius: 15px !important;
        background: #004d99 !important;
        padding: 20pt !important;
        text-align: center !important;
    }

    .print-cta-card h3 {
        color: white !important;
        font-size: 22pt !important;
        margin-bottom: 10pt !important;
    }

    .print-cta-card p {
        color: #eef !important;
        font-size: 12pt !important;
        margin-bottom: 15pt !important;
    }

    .print-hero-number {
        font-size: 32pt !important;
        color: #ffeb3b !important;
        font-weight: 900 !important;
        margin-bottom: 15pt !important;
    }

    .print-cta-card .print-list li {
        color: white !important;
        font-size: 11pt !important;
        display: inline-block !important;
        margin-right: 15pt !important;
    }

    .print-cta-card .print-list li i {
        color: #ffeb3b !important;
    }
}

/* ==========================================================================
   NUCLEAR FUSION V3 & RESPONSIVE MOBILE OVERRIDES (2026 AUDIT)
   ========================================================================== */

/* 1. Prevent Horizontal Overflow on Mobile Screens */
img, video, iframe, canvas, table {
    max-width: 100% !important;
    height: auto;
}

@media (max-width: 767.98px) {
    /* Override inline fixed widths on small mobile screens */
    [style*="width:"] {
        max-width: 100% !important;
    }
    
    /* Ensure minimum touch target size (44px x 44px) for mobile buttons */
    .btn, .nav-link, a.btn-lg, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent cramped padding on small screens */
    .container, .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* 2. Nuclear Fusion V3 Aesthetic Utilities */
.bg-v3-light {
    background-color: #f2f4f7 !important;
}

.bg-v3-dark {
    background-color: #1a1f24 !important;
    color: #ffffff !important;
}

.bg-v3-card-dark {
    background-color: #2c353e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1rem !important;
    color: #ffffff !important;
}

.v3-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.v3-hover-lift:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
}