﻿:root {
    --primary-color: #001f79;
    --secondary-color: #1e40af;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --security-primary: #7c3aed;
    --security-secondary: #5b21b6;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
}

.navbar {
    border-top: 4px solid var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
section{
    padding-top:100px !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

.hero-section {
    background: linear-gradient(135deg, #001f79 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content,
.breadcrumb {
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}
.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

    .feature-list li:last-child {
        border-bottom: none;
    }

.icon-billing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-accounting {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-visitor {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-notices {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-documents {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-support {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.icon-contacts {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.icon-polls {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}
.icon-automation {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-interest {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-notification {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-frequency {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-tracking {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.icon-setup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-maintenance {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-vouchers {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-utilities {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-reports {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.icon-gst {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.icon-reconciliation {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}
.stats-section {
    background: var(--light-bg);
    padding: 40px 0 !important;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    }

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        transform: translateY(-2px);
    }

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: white;
    }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.feature-highlight {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 2rem;
        padding-top:80px;
    }

    .feature-card {
        margin-bottom: 2rem;
    }
    .feature-highlight {
        margin-top: -50px;
        padding: 2rem;
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-new {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}
.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    }

.testimonial-avatar {
    font-size: 1.2rem;
}

/*Features*/
.breadcrumb-item a:hover {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}
.module-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.module-card:hover::before {
    transform: translateX(0);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}
.accounting-demo {
    background: linear-gradient(135deg, var(--light-bg), #ffffff);
    border-radius: 16px;
    padding: 2rem;
    border: 2px dashed var(--border-color);
}

.ledger-preview {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.badge-comprehensive {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}
/* NEW CLASSES SPECIFIC TO VISITOR MANAGEMENT */
.visitor-flow-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .visitor-flow-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--security-primary), var(--primary-color));
    }

    .visitor-flow-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
        border-color: var(--security-primary);
    }

.security-step-indicator {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--security-primary), var(--security-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

    .security-step-indicator::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, var(--security-primary), transparent);
        right: -100px;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
    }

.security-step:last-child .security-step-indicator::after {
    display: none;
}

.notification-demo {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #bae6fd;
    position: relative;
    overflow: hidden;
}

    .notification-demo::before {
        content: '📱';
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: 3rem;
        opacity: 0.1;
    }

.mobile-mockup {
    background: #1f2937;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
}

.mobile-screen {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 300px;
    position: relative;
}

.mobile-notch {
    width: 60px;
    height: 20px;
    background: #1f2937;
    border-radius: 0 0 15px 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.visitor-status-approved {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.visitor-status-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.visitor-status-rejected {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.security-badge {
    background: linear-gradient(45deg, var(--security-primary), var(--security-secondary));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.visitor-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

    .visitor-card:hover {
        border-color: var(--security-primary);
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
        transform: translateY(-3px);
    }

.visitor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--security-primary), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.security-metrics-card {
    background: linear-gradient(135deg, #fafafa, #ffffff);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .security-metrics-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--security-primary), var(--primary-color));
    }

    .security-metrics-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(124, 58, 237, 0.1);
    }

.security-metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--security-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.real-time-indicator {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

    .real-time-indicator::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--success-color);
        margin-right: 6px;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.security-timeline {
    position: relative;
    padding-left: 2rem;
}

    .security-timeline::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, var(--security-primary), var(--primary-color));
    }

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -2.3rem;
        top: 1.5rem;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--security-primary);
        border: 3px solid white;
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
    }
.markdown-body p {
    margin: 0 0 4px 0; /* reduce paragraph bottom spacing */
}

.markdown-body a {
    color: #007bff; /* optional: style links */
    text-decoration: underline;
}