 :root {
            --primary: #e63946;
            --secondary: #1d3557;
            --light: #f1faee;
            --accent: #a8dadc;
            --dark: #457b9d;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.8rem;
        }
        
        .hero {
            background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.8)), url('https://images.unsplash.com/photo-1607860108855-64acf2078ed9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-light:hover {
            color: var(--primary);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        
        .product-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background-color: var(--primary);
            color: white;
            padding: 3px 10px;
            border-radius: 16px;
            font-size: 0.75rem;
        }
        
        .card-title {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }
        
        .card-text {
            font-size: 0.9rem;
            margin-bottom: 0.4rem;
        }
        
        .list-unstyled li {
            font-size: 0.85rem;
            margin-bottom: 2px;
        }
        
        .card-footer {
            padding: 0.5rem 0 0 0;
        }
        
        .fw-bold {
            font-size: 0.95rem;
        }
        
        .btn-sm {
            font-size: 0.85rem;
            padding: 3px 12px;
        }
        
        /* Navigation */
        nav.navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        /* css for the hero section start */
          .hero-section {
        padding: 100px 0;
        background-color: white;
        overflow: hidden;
        position: relative;
    }

    .hero-content {
        padding-right: 40px;
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.2;
        color: #1a1a1a;
        margin-bottom: 1.5rem;
    }

    .text-highlight {
        color: #e63946;
        position: relative;
    }

    .text-highlight:after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 8px;
        background-color: rgba(230, 57, 70, 0.2);
        z-index: -1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        color: #4a4a4a;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }

    .hero-cta {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .cta-btn {
        padding: 12px 28px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .cta-btn.primary {
        background-color: #e63946;
        color: white;
        border: 2px solid #e63946;
    }

    .cta-btn.primary:hover {
        background-color: #d62c3a;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    }

    .cta-btn.secondary {
        background-color: transparent;
        color: #1d3557;
        border: 2px solid #1d3557;
    }

    .cta-btn.secondary:hover {
        background-color: #1d3557;
        color: white;
        transform: translateY(-2px);
    }

    .trust-badges {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .badge-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #4a4a4a;
        font-weight: 500;
    }

    .badge-item i {
        color: #e63946;
        font-size: 1.2rem;
    }

    .hero-image-container {
        position: relative;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }

    .hero-image {
        max-height: 500px;
        animation: float 3s ease-in-out infinite;
        transform-origin: center bottom;
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    }

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

    @media (max-width: 992px) {
        .hero-section {
            text-align: center;
        }
        
        .hero-content {
            padding-right: 0;
            margin-bottom: 40px;
        }
        
        .hero-cta {
            justify-content: center;
        }
        
        .trust-badges {
            justify-content: center;
        }
        
        .hero-image-container {
            padding: 20px;
        }
    }

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

    @media (max-width: 576px) {
        .hero-section {
            padding: 60px 0;
        }
        
        .hero-title {
            font-size: 1.8rem;
        }
        
        .hero-cta {
            flex-direction: column;
            gap: 12px;
        }
        
        .cta-btn {
            width: 100%;
        }
        
        .hero-image {
            max-height: 250px;
        }
        
        .hero-image-container {
            padding: 15px;
        }
    }

        /* css hero section ends */
        
      
        
        /* Features Section */
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
       /* Footer */
        footer {
            background-color: var(--secondary);
            color: white;
        }
        
        .footer-link {
            color: var(--accent);
            text-decoration: none;
        }
        
        .footer-link:hover {
            color: white;
        }
        
        .emergency-btn {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
            }
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
          
            
            .feature-icon {
                font-size: 2.5rem;
            }
            
            .product-card {
                font-size: 0.9rem;
            }
            
            .card-title {
                font-size: 1rem;
            }
            
            .fw-bold {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 576px) {
            .product-card {
                padding: 0.5rem;
                font-size: 0.9rem;
            }
            .product-card .card-img-top {
                max-height: 150px;
            }
            .card-title {
                font-size: 1rem;
            }
            .fw-bold {
                font-size: 0.9rem;
            }
            .row.g-4 > [class^="col-"] {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }


     /* Profile Dropdown Styles - Revised */
.dropdown-toggle.rounded-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.dropdown-toggle.rounded-circle:hover {
    background-color: var(--primary);
    color: white;
}

.dropdown-menu-side {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 8px;
    transform-origin: right top;
    animation: slideIn 0.3s ease-out forwards;
    display: none; /* Hidden by default */
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown.show .dropdown-menu-side {
    display: block;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    margin: 0.3rem 0;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .dropdown-menu-side {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        margin-top: 0;
        border-radius: 0;
        animation: slideInRight 0.3s ease-out forwards;
        z-index: 1050;
    }
    
    @keyframes slideInRight {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .dropdown-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 1040;
    }
}

/* Mobile Side Menu Styles */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: white;
    z-index: 1100;
    transition: all 0.3s ease-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-side-menu.show {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    line-height: 1;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--primary);
}

.mobile-menu-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Hide desktop menu on mobile */
@media (max-width: 992px) {
    .navbar-collapse {
        display: none !important;
    }
}

/* Show desktop menu on larger screens */
@media (min-width: 993px) {
    .mobile-side-menu,
    .mobile-menu-backdrop,
    #mobileMenuToggle {
        display: none !important;
    }
}

/* Mobile Profile Section Styles */
.profile-section {
    position: relative;
}

.profile-section .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    margin-top: 5px;
    display: none;
}

.profile-section .dropdown-menu.show {
    display: block;
}

.profile-section .btn-outline-primary {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.profile-section .btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Profile dropdown items */
.profile-section .dropdown-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

.profile-section .dropdown-divider {
    margin: 5px 0;
}