:root {
            --primary-color: #c8102e;
            --secondary-color: #2c3e50;
            --accent-color: #f1c40f;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --gray-color: #6c757d;
            --rmi-blue: #0066cc;
            --rmi-light-blue: #e6f2ff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            color: var(--dark-color);
            line-height: 1.6;
            padding-top: 120px; /* For fixed navbar */
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
        }

        /* IMPROVED NAVIGATION - Visible before scrolling */
        .navbar {
            background-color: rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            transition: all 0.3s ease;
            height: 80px;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1030;
        }

        .navbar.scrolled {
            background-color: white !important;
            padding: 10px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--primary-color) !important;
            display: flex;
            align-items: center;
        }

        .navbar-brand span {
            color: var(--secondary-color);
        }

        .navbar-nav .nav-link {
            font-weight: 500;
            color: var(--secondary-color) !important;
            margin: 0 10px;
            padding: 8px 15px !important;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: white !important;
            background-color: var(--primary-color);
        }

        /* Header Top Bar with RMI Badge */
        .header-top-bar {
            background: linear-gradient(135deg, var(--rmi-blue) 0%, #004d99 100%);
            color: white;
            padding: 10px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1040;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            height: 40px;
        }

        .header-top-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-contact-info {
            display: flex;
            align-items: center;
            gap: 20px;
            font-size: 0.9rem;
        }

        .header-contact-info i {
            margin-right: 5px;
            color: var(--accent-color);
        }

        /* IMPROVED RMI BADGE in Header */
        .rmi-header-badge {
            background-color: white;
            border-radius: 20px;
            padding: 5px 15px;
            display: flex;
            align-items: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
            animation: pulse 2s infinite;
        }

        .rmi-header-badge .rmi-icon {
            font-size: 1.2rem;
            color: var(--rmi-blue);
            margin-right: 8px;
        }

        .rmi-header-badge .rmi-text {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--rmi-blue);
            white-space: nowrap;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
            }
            50% {
                box-shadow: 0 3px 15px rgba(0, 102, 204, 0.5);
            }
            100% {
                box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
            }
        }

        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2148&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0 80px;
            text-align: center;
            margin-top: -40px; /* Compensate for header top bar */
        }

        .hero-section h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .hero-section p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
        }

        /* RMI Badge in Hero Section */
        .rmi-hero-badge {
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 10px;
            padding: 20px;
            display: inline-flex;
            align-items: center;
            margin-bottom: 40px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            border-left: 5px solid var(--rmi-blue);
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
            100% {
                transform: translateY(0px);
            }
        }

        .rmi-hero-badge .rmi-icon {
            font-size: 2.5rem;
            color: var(--rmi-blue);
            margin-right: 15px;
        }

        .rmi-hero-badge .rmi-text {
            text-align: left;
        }

        .rmi-hero-badge .rmi-text strong {
            display: block;
            font-size: 1.2rem;
            color: var(--rmi-blue);
            margin-bottom: 5px;
        }

        .rmi-hero-badge .rmi-text span {
            font-size: 0.9rem;
            color: var(--dark-color);
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #a00d26;
            border-color: #a00d26;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(200, 16, 46, 0.4);
        }

        .section-title {
            position: relative;
            margin-bottom: 50px;
            text-align: center;
        }

        .section-title h2 {
            display: inline-block;
            padding-bottom: 15px;
            color: var(--secondary-color);
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background: var(--primary-color);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .service-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            position: relative;
            border-top: 4px solid var(--primary-color);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .service-icon {
            background-color: var(--primary-color);
            color: white;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: -40px auto 20px;
            font-size: 2rem;
            box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
        }

        /* RMI Certification Section */
        .rmi-certification-section {
            background: linear-gradient(135deg, var(--rmi-light-blue) 0%, #d1e7ff 100%);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .rmi-certification-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--rmi-blue) 0%, #004d99 100%);
        }

        .rmi-certification-card {
            background: white;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            height: 100%;
            border: 2px solid var(--rmi-light-blue);
            transition: transform 0.3s ease;
        }

        .rmi-certification-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        .rmi-certification-badge {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, var(--rmi-blue) 0%, #004d99 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            color: white;
            font-size: 3rem;
            box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
        }

        .rmi-certification-list {
            list-style: none;
            padding-left: 0;
            text-align: left;
            margin-top: 25px;
        }

        .rmi-certification-list li {
            margin-bottom: 10px;
            padding-left: 30px;
            position: relative;
        }

        .rmi-certification-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--rmi-blue);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* Brands Carousel */
        .brands-section {
            background-color: var(--light-color);
            padding: 60px 0;
            overflow: hidden;
        }
        
        .brands-carousel {
            display: flex;
            animation: scroll 30s linear infinite;
            width: max-content;
        }
        
        .brands-carousel:hover {
            animation-play-state: paused;
        }
        
        .brand-item {
            flex: 0 0 auto;
            width: 180px;
            margin: 0 20px;
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .brand-item:hover {
            transform: translateY(-5px);
        }
        
        .brand-logo {
            height: 80px;
            width: auto;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        
        .brand-logo:hover {
            filter: grayscale(0);
            opacity: 1;
        }
        
        .brand-name {
            margin-top: 10px;
            font-weight: 500;
            color: var(--secondary-color);
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-180px * 10 - 20px * 10));
            }
        }

        .testimonial-card {
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            position: relative;
            border-top: 3px solid var(--primary-color);
        }

        .testimonial-card:before {
            content: "\201C";
            font-size: 4rem;
            color: var(--primary-color);
            position: absolute;
            top: -20px;
            left: 20px;
            font-family: Georgia, serif;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            margin-top: 20px;
        }

        .testimonial-author img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            object-fit: cover;
        }

        /* Contact Section */
        .contact-section {
            padding: 80px 0;
            background-color: #f9f9f9;
            overflow: hidden;
        }
        
        .contact-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .contact-form-wrapper {
            flex: 1;
            min-width: 300px;
        }
        
        .contact-info-wrapper {
            flex: 1;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .contact-form-card {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            height: auto;
            border-top: 4px solid var(--primary-color);
        }
        
        .contact-form-card h3 {
            color: var(--secondary-color);
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .form-label {
            font-weight: 500;
            color: var(--secondary-color);
            margin-bottom: 8px;
        }
        
        .form-control, .form-select {
            padding: 12px 15px;
            border-radius: 6px;
            border: 1px solid #ddd;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            font-size: 15px;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.15);
            outline: none;
        }
        
        .contact-info-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            height: auto;
            border-top: 4px solid var(--rmi-blue);
        }
        
        .contact-info-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .contact-icon {
            width: 60px;
            height: 60px;
            background-color: rgba(200, 16, 46, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }
        
        .contact-icon i {
            font-size: 1.5rem;
            color: var(--primary-color);
        }
        
        .contact-info-header h4 {
            margin: 0;
            color: var(--secondary-color);
        }
        
        .contact-details {
            padding-left: 10px;
        }
        
        .contact-details p {
            margin-bottom: 8px;
            color: var(--dark-color);
        }
        
        .contact-details strong {
            color: var(--secondary-color);
            display: inline-block;
            min-width: 120px;
        }
        
        .whatsapp-btn {
            background-color: #25D366;
            color: white;
            padding: 12px 25px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-top: 15px;
            border: none;
            width: 100%;
            text-align: center;
        }
        
        .whatsapp-btn:hover {
            background-color: #128C7E;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
        }
        
        .whatsapp-btn i {
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        .business-hours {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .business-hours p {
            margin-bottom: 5px;
        }

        /* RMI Footer Badge */
        .rmi-footer-badge {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 25px;
            margin-top: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border-left: 5px solid var(--rmi-blue);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .rmi-footer-badge .rmi-footer-icon {
            font-size: 2.5rem;
            color: var(--rmi-blue);
            margin-right: 20px;
        }

        .rmi-footer-badge .rmi-footer-text {
            color: white;
        }

        .rmi-footer-badge .rmi-footer-text strong {
            display: block;
            font-size: 1.3rem;
            color: var(--accent-color);
            margin-bottom: 5px;
        }

        footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 70px 0 30px;
            clear: both;
            position: relative;
        }

        footer h5 {
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        footer ul {
            list-style: none;
            padding-left: 0;
        }

        footer ul li {
            margin-bottom: 10px;
        }

        footer ul li a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        footer ul li a:hover {
            color: var(--accent-color);
        }

        .copyright {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 20px 0;
            margin-top: 50px;
            text-align: center;
        }
        
        /* Chatbox Styles */
        .chatbox-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .chatbox-btn {
            width: 60px;
            height: 60px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        
        .chatbox-btn:hover {
            background-color: #a00d26;
            transform: scale(1.1);
        }
        
        .chatbox {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 350px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
            display: none;
            overflow: hidden;
        }
        
        .chatbox-header {
            background-color: var(--secondary-color);
            color: white;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .chatbox-body {
            padding: 20px;
            height: 300px;
            overflow-y: auto;
        }
        
        .chat-message {
            margin-bottom: 15px;
            max-width: 80%;
        }
        
        .chat-message.bot {
            align-self: flex-start;
        }
        
        .chat-message.user {
            align-self: flex-end;
            margin-left: auto;
        }
        
        .chat-message-content {
            padding: 10px 15px;
            border-radius: 18px;
        }
        
        .chat-message.bot .chat-message-content {
            background-color: #f0f0f0;
            color: var(--dark-color);
        }
        
        .chat-message.user .chat-message-content {
            background-color: var(--primary-color);
            color: white;
        }
        
        .chatbox-input {
            padding: 15px;
            border-top: 1px solid #eee;
            display: flex;
        }
        
        .chatbox-input input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 50px;
            margin-right: 10px;
        }
        
        .chatbox-input button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        /* Responsive Adjustments */
        @media (max-width: 1200px) {
            .header-contact-info {
                font-size: 0.8rem;
            }
            
            .rmi-header-badge .rmi-text {
                font-size: 0.8rem;
            }
        }
        
        @media (max-width: 992px) {
            .header-top-bar {
                display: none;
            }
            
            .navbar {
                top: 0;
            }
            
            body {
                padding-top: 80px;
            }
            
            .hero-section {
                margin-top: 0;
                padding: 100px 0 60px;
            }
            
            .contact-wrapper {
                flex-direction: column;
            }
            
            .contact-form-wrapper, .contact-info-wrapper {
                width: 100%;
            }
            
            .contact-info-wrapper {
                flex-direction: row;
                flex-wrap: wrap;
            }
            
            .contact-info-card {
                flex: 1;
                min-width: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.5rem;
            }
            
            .hero-section {
                padding: 80px 0 50px;
            }
            
            .rmi-hero-badge {
                flex-direction: column;
                text-align: center;
                padding: 15px;
            }
            
            .rmi-hero-badge .rmi-icon {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .brand-item {
                width: 140px;
            }
            
            @keyframes scroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-140px * 10 - 20px * 10));
                }
            }
            
            .contact-form-card, .contact-info-card {
                padding: 25px;
            }
            
            .chatbox {
                width: 300px;
            }
            
            .contact-info-wrapper {
                flex-direction: column;
            }
            
            .rmi-certification-card {
                padding: 30px 20px;
            }
        }
        
        @media (max-width: 576px) {
            .contact-form-card, .contact-info-card {
                padding: 20px;
            }
            
            .chatbox {
                width: 280px;
                right: -20px;
            }
            
            .contact-details strong {
                min-width: 100px;
            }
            
            .rmi-footer-badge {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }
            
            .rmi-footer-badge .rmi-footer-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .navbar-brand {
                font-size: 1.5rem;
            }
        }

        /* Brands Section */
.brands-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.brands-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.brands-carousel {
    display: flex;
    animation: scrollBrands 40s linear infinite;
    gap: 25px;
    padding: 15px 0;
}

.brands-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

.brand-item {
    flex: 0 0 auto;
    width: 220px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.brand-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.brand-logo {
    height: 60px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.brand-item:hover .brand-logo {
    transform: scale(1.1);
}

.brand-name {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.brand-services {
    color: #666;
    font-size: 0.85rem;
}

/* Brand Badges */
.brand-badge {
    display: inline-block;
    background: white;
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 25px;
    margin: 5px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.brand-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.2);
}

/* Responsive Brands */
@media (max-width: 768px) {
    .brands-carousel {
        animation: scrollBrands 30s linear infinite;
        gap: 20px;
    }
    
    .brand-item {
        width: 180px;
        padding: 20px;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .brand-badge {
        padding: 6px 15px;
        font-size: 0.9rem;
        margin: 3px;
    }
    
    @keyframes scrollBrands {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-200px * 6)); }
    }
}

@media (max-width: 576px) {
    .brands-carousel {
        gap: 15px;
    }
    
    .brand-item {
        width: 150px;
        padding: 15px;
    }
    
    .brand-logo {
        height: 40px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-badge {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}