    
        /* Background Animation */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
           
            z-index: -2;
        }

        .animated-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            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="%23bf023f" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23bf023f" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23bf023f" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="%23bf023f" opacity="0.03"/><circle cx="90" cy="40" r="0.5" fill="%23bf023f" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(191, 2, 63, 0.7); }
            70% { box-shadow: 0 0 0 20px rgba(191, 2, 63, 0); }
            100% { box-shadow: 0 0 0 0 rgba(191, 2, 63, 0); }
        }

        /* Hero Section */
        .hero-header {
            position: relative;
            display: inline-block;   /* keeps underline width to text content */
            }
            .hero-underline {
            height: 3px;
            width: 100px;             /* adjust underline length */
            background-color: #bf023f;
            position: absolute;
            left: 0;
            
            }
            @media (max-width: 768px) {
                .hero-underline {
            margin: 0 auto;
            left: 0;
            right: 0;
        }
                }
        .hero-section {
            display: flex;
            align-items: center;
            position: relative;
            z-index: 1;
        }

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

        .hero-title {
            font-size: 2.8rem;
            font-weight: 700;
            -webkit-background-clip: text;
            background-clip: text;
            animation: slideInUp 1s ease-out;
            /* added white-space nowrap to make heading single line */
            white-space: nowrap;
        }

        .hero-subtitle {
            font-size: 1.4rem;
            margin-bottom: 3rem;
            color: #666;
            animation: slideInUp 1s ease-out 0.3s both;
            text-align: justify;
        }

        /* Hero Image Slider */
        .hero-slider {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            /* increased height from 500px to 600px for bigger images */
            height: 600px;
        }

        .slider-container {
            /* increased width from 450px to 600px and height from 350px to 500px */
            width: 520px;
            height: 490px;
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            border: 4px solid white;
            background: white;
        }

        .slider-wrapper {
            position: relative;
            width: 100%;
            height: calc(100% - 60px);
            overflow: hidden;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .slide-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            padding: 20px 15px 10px;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .slider-indicators {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            /* changed inactive color from rgba(255, 255, 255, 0.5) to grey */
            background: #999;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            /* changed active color to #bf023f */
            background: #bf023f;
            transform: scale(1.2);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.5rem;
                /* allow wrapping on mobile */
                white-space: normal;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }

            .slider-container {
                width: 100%;
                max-width: 500px;
                height: 400px;
            }

            .hero-slider {
                height: auto;
                justify-content: center;
            }
            .benefits-grid{
                grid-template-columns:none !important;
            }
            .demo-content h3 {
                text-align: center;
            }
            .lead{
                text-align: center;
                color:#666 !important;
                text-align: justify;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }

            .slider-container {
                height: 360px;
            }

            .hero-section {
                /* reduced mobile padding */
                padding: 20px 0;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
                text-align: center;
            }
            
            .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 2rem;
                text-align: justify;
            }
        }
        /* Features Section */
        .section-header {
             position: relative;
             text-align: center;  
             margin-bottom: 40px; /* reduced from 80px */
        }

        .section-subtitle {
            font-size: 1.3rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        .feature-card {
            background: white;
            border-radius: 25px;
            padding: 3rem;
            margin-bottom: 3rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
            transition: left 0.5s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .feature-card:hover::before {
            left: 0;
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            animation: pulse 2s infinite;
            flex-shrink: 0;
        }
        .feature-icon-img {
            width: 100%;
            height: 100%;
        }
        .feature-icon i {
            font-size: 2rem;
            color: white;
        }

        .feature-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .feature-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-red);
            margin: 0;
        }

        .feature-description {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.8;
            margin-bottom: 2rem;
            text-align: justify;
        }

        /* Benefits Grid */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .benefit-item {
            background: rgba(168, 159, 162, 0.2);
            padding: 1.2rem;
            border-radius: 15px;
            border-left: 5px solid #000;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .benefit-item:hover {
            transform: translateX(10px);
            background: rgba(168, 159, 162, 0.5);
        }

        .benefit-icon {
            width: 50px;
            height: 50px;
            
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .benefit-text {
            font-weight: 600;
            color: #333;
            font-size: 1.1rem;
        }

        /* Video Demo Section */
        .video-demo-section {
            padding: 2rem 0;
        }

        .demo-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }

        .demo-description {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.8;
            margin-bottom: 2rem;
            text-align: justify;
        }

        .gif-player-container {
            position: relative;
            width: 100%;
            max-width: 500px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            background: #000;
        }

        .demo-gif {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }

        .demo-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .demo-content h3 {
            position: relative;
            display: inline-block;
           font-size: calc(1.325rem + .9vw);
        }
        .line {
            height: 3px;
            width: 100px;        
            background-color: #bf023f;
            position: absolute;
            left: 0;
        }
        @media (max-width: 768px) {
                .line {
            margin: 0 auto;
            left: 0;
            right: 0;
        }
        .feature-icon {
            width: 60px;
            height: 60px;
        }
        .feature-icon-img{
            width: 50px;
            height: 50px;
        }
        .feature-title {
            font-size: 1.5rem;
        }
    }

        .demo-features {
            list-style: none;
            padding: 0;
        }

        .demo-features li {
            padding: 1rem 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s ease;
            color: #333;
        }

        .demo-features li:hover {
            background: rgba(168, 159, 162, 0.2);
            padding-left: 1rem;
            border-radius: 10px;
        }

        .demo-features i {
            color: #28a745;
            font-size: 1.2rem;
            width: 25px;
        }

        .dashboard-mockup {
            background: white;
            border-radius: 25px;
            padding: 2rem;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
            position: relative;
        }

        .dashboard-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #fff;
        }

        .live-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #28a745;
            font-weight: 600;
        }

        .live-dot {
            width: 10px;
            height: 10px;
            background: #28a745;
            border-radius: 50%;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.3; }
        }

        /* CTA section */
        .cta-section {
            text-align: center;
        }

        .cta-content h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #333, #666);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-content p {
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 2rem;
        }

        .cta-image {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            margin-top: 2rem;
        }

        /* Scroll Animations */
        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .fade-in-up.active {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease;
        }

        .slide-in-left.active {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .slide-in-right.active {
            opacity: 1;
            transform: translateX(0);
        }
        .underline {
            height: 3px;
            width: 100px;          
            background-color: #bf023f;
            margin: 0 auto;        
            position: absolute;
            left: 0;
            right: 0;         
            }
        /* Mobile Responsive */
        @media (max-width: 768px) {
            
            .demo-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .feature-card {
                padding: 2rem;
            }

            .demo-title {
                font-size: 1.5rem;
            }

            .demo-description {
                font-size: 1rem;
            }

            .gif-player-container {
                max-width: 100%;
            }

            .demo-gif {
                height: 250px;
            }

            .features-section, .demo-section, .cta-section {
                padding: 20px 0;
            }
            .cta-content h2 {
                font-size: 1.8rem;
            }
        }
        /* Dashboard Header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Title */
.safety-title {
  color: #333;
  margin: 0;
}

/* Live Indicator */
.live-indicator {
  display: flex;
  align-items: center;
  color: #ffc107; /* text color */
  font-weight: 600;
  font-size: 0.95rem;
}

/* Dot inside the indicator */
.live-indicator .live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffc107;
  margin-right: 6px;
}