 /* 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);
 }
 }

 /* Hero Section */
 .hero-section {
 display: flex;
 align-items: center;
 position: relative;
 z-index: 1;
 padding: 2rem 0;
 }

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

 .hero-title {
 font-size: 2.8rem;
 font-weight: 900;
 margin-bottom: 1.5rem;
 color: #000000 !important;
 animation: slideInUp 1s ease-out;
 line-height: 1.2;
 }

 .help-in-line {
 position: relative;
 display: inline-block;
 }

 .help-in-line::after {
 content: '';
 position: absolute;
 bottom: 0px;
 left: 0;
 width: 100%;
 height: 3px;
 background-color: #bf023f;
 }

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

 /* Hero Image Slider */
 .hero-slider {
 display: flex;
 justify-content: flex-end;
 align-items: center;
 height: 600px;
 }

 .slider-container {
 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: 100%;
 }

 .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%;
 background: #999;
 cursor: pointer;
 transition: all 0.3s ease;
 }

 .indicator.active {
 background: #bf023f;
 transform: scale(1.2);
 }

 /* Responsive Design */
 @media (max-width: 992px) {
 .hero-title {
 font-size: 2.5rem;
 }
 
 .hero-subtitle {
 font-size: 1.2rem;
 }

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

 .hero-slider {
 height: auto;
 justify-content: center;
 }
 }

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

 .slider-container {
 height: 360px;
 }

 .hero-section {
 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;
 }
 }

 /* HOW IT WORKS SECTION - Updated to match Real-Time Route Tracking styling */
 .how-it-works {
 padding: 30px 0; /* Match features-section padding */
 }

 .how-it-works-card {
 background: white; /* Match feature-card background */
 border-radius: 25px; /* Match feature-card border-radius */
 padding: 3rem; /* Match feature-card padding */
 margin-bottom: 3rem; /* Match feature-card margin */
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Match feature-card shadow */
 transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Match feature-card transition */
 border: 1px solid rgba(0, 0, 0, 0.05); /* Match feature-card border */
 position: relative;
 overflow: hidden;
 opacity: 0;
 transform: translateY(50px);
 animation: slideInUp 1s ease-out 0.2s forwards;
 }

 /* Add top border animation like feature-card */
 .how-it-works-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;
 }

 .how-it-works-card:hover {
 transform: translateY(-10px); /* Match feature-card hover effect */
 box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Match feature-card hover shadow */
 }

 .how-it-works-card:hover::before {
 left: 0; /* Show top border on hover */
 }

 .how-it-works-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 position: relative;
 z-index: 2;
 }

 .image-container {
 position: relative;
 width: 100%;
 overflow: hidden;
 opacity: 0;
 transform: translateX(-50px);
 animation: slideInLeft 1s ease-out 0.6s forwards;
 padding-right: 40px;
 }

 .crash-image {
 width: 100%;
 display: block;
 height: auto;
 object-fit: cover;
 border-radius: 16px;
 box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
 transition: all 0.3s ease;
 transform: scale(1);
 }

 /* RED HOVER EFFECT ON IMAGE */
 .crash-image:hover {
 transform: scale(1.02);
 }
 .content {
 opacity: 0;
 transform: translateX(50px);
 animation: slideInRight 1s ease-out 0.8s forwards;
 padding-left: 40px;
 }
 .how-it-works-title {
 font-size: 2rem; 
 font-weight: 700; 
 color: var(--primary-red); 
 margin: 0; 
 margin-bottom: 1.5rem; 
 }

 .description {
 font-size: 1.1rem; 
 line-height: 1.8; 
 color: #555; 
 font-weight: 400;
 position: relative;
 margin-bottom: 2rem;
 }

 .highlight {
 color: var(--primary-red);
 font-weight: 600;
 position: relative;
 }

 .highlight::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 100%;
 height: 2px;
 transform: scaleX(0);
 animation: highlightExpand 0.6s ease-out 1.4s forwards;
 }

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

 @keyframes slideInLeft {
 from {
 opacity: 0;
 transform: translateX(-50px);
 }
 to {
 opacity: 1;
 transform: translateX(0);
 }
 }

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

 @keyframes highlightExpand {
 from {
 transform: scaleX(0);
 }
 to {
 transform: scaleX(1);
 }
 }

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

 @media (max-width: 768px) {
 .how-it-works-card {
 margin: 20px;
 border-radius: 16px;
 padding: 1rem; /* Match feature-card mobile padding */
 }

 .how-it-works-container {
 grid-template-columns: 1fr;
 }

 .image-container {
 padding-right: 0;
 margin-bottom: 30px;
 order: -1;
 }

 .content {
 padding-left: 0;
 text-align: center;
 }

 .how-it-works-title {
 font-size: 2rem; /* Keep consistent with desktop */
 }

 .description {
 font-size: 1rem;
 }
  .crash-image {
    height: 250px;
  }
 }

 /* Features Section */
 .features-section {
 padding: 60px 0;
 }

 .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: 40px;
 height: 40px;
 filter: brightness(0) invert(1);
 }

 @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); }
 }

 .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;
 }

 /* 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-icon img {
 width: 30px;
 height: 30px;
 filter: brightness(0) invert(1);
 }

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

 /* Video Demo Section */
 .video-demo-section {
 padding: 1rem 0;
 }
 .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;
 display: block;
 }

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

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

 /* Mobile Responsive */
 @media (max-width: 768px) {
 .benefits-grid {
 grid-template-columns: 1fr !important;
 }
 
 .feature-card {
 padding: 2rem;
 }
 .gif-player-container {
 max-width: 100%;
 }

 .demo-gif {
 height: 250px;
 }

 .features-section {
 padding: 20px 0;
 }
 }
 /* Emergency Section Styles */
 .emergency-section {
 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;
 }

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

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

 .emergency-section:hover::before {
 left: 0;
 }

 /* Header with Icon and Title in one line */
 .emergency-header {
 display: flex;
 align-items: center;
 margin-bottom: 1.5rem;
 flex-wrap: nowrap;
 }

 /* Fixed icon styling to use outline instead of shadow */
 .emergency-icon {
 width: 50px;
 height: 50px;
 background: var(--primary-red);
 border: 4px solid var(--primary-red);
 outline: 4px solid var(--primary-red);
 outline-offset: 8px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-right: 1.5rem;
 flex-shrink: 0;
 }

 .emergency-icon svg {
 width: 38px;
 height: 38px;
 fill: white;
 }

 @keyframes pulse {
 0% { outline-color: rgba(191, 2, 63, 0.3); }
 70% { outline-color: rgba(191, 2, 63, 0.1); }
 100% { outline-color: rgba(191, 2, 63, 0.3); }
 }

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

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

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

 .emergency-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;
 }

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

 .emergency-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;
 }

 .emergency-benefit-icon svg {
 width: 30px;
 height: 30px;
 fill: white;
 }

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

 /* QR Section Specific Styles */
 .qr-section {
 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;
 }

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

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

 .qr-section:hover::before {
 left: 0;
 }

 /* Fixed QR container layout - text left, slider right */
 .qr-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 3rem;
 }

 .qr-content {
 order: 1;
 }

 .qr-slider-wrapper {
 order: 2;
 position: relative;
 }

 .qr-slider-container {
 width: 100%;
 height: 400px;
 position: relative;
 border-radius: 20px;
 overflow: hidden;
 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
 }

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

 .qr-slide.active {
 opacity: 1;
 }

 .qr-slide img {
 width: 100%;
 height: 100%;
 }

 .qr-nav-btn {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(191, 2, 63, 0.8);
 color: white;
 border: none;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 cursor: pointer;
 font-size: 1.5rem;
 transition: all 0.3s ease;
 z-index: 10;
 }

 .qr-nav-btn:hover {
 background: var(--primary-red);
 transform: translateY(-50%) scale(1.1);
 }

 .qr-prev {
 left: 15px;
 }

 .qr-next {
 right: 15px;
 }

 .qr-indicators {
 position: absolute;
 bottom: 20px;
 left: 50%;
 transform: translateX(-50%);
 display: flex;
 gap: 10px;
 z-index: 10;
 }

 /* Fixed inactive dots to be grey */
 .qr-indicator {
 width: 12px;
 height: 12px;
 border-radius: 50%;
 background: #6c757d;
 cursor: pointer;
 transition: all 0.3s ease;
 }

 .qr-indicator.active {
 background: var(--primary-red);
 transform: scale(1.2);
 }

 /* Notification Section Styles */
 .notification-section {
 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;
 }

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

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

 .notification-section:hover::before {
 left: 0;
 }

 /* Fixed notification container layout - image left, text right */
 .notification-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 3rem;
 }

 .notification-images {
 order: 1;
 display: flex;
 gap: 2rem;
 justify-content: center;
 }

 .notification-content {
 order: 2;
 }

 .notification-phone {
 width: 100%;
 height: auto;
 border-radius: 15px;
 box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
 transition: transform 0.3s ease;
 }

 .notification-phone:hover {
 transform: scale(1.05);
 }

 /* Added ambulance container for first section layout */
 .ambulance-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 3rem;
 }

 .ambulance-image {
 order: 1;
 }

 .ambulance-content {
 order: 2;
 }

 .ambulance-img {
 width: 100%;
 height: auto;
 object-fit: cover;
 border-radius: 20px;
 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
 }

 /* Mobile Responsive */
 @media (max-width: 992px) {
 .emergency-section,
 .qr-section,
 .notification-section {
 padding: 2rem;
 }

 .emergency-title {
 font-size: 1.8rem;
 }

 .qr-container,
 .notification-container,
 .ambulance-container {
 grid-template-columns: 1fr;
 gap: 2rem;
 }

 .qr-content {
 order: 1;
 }

 .qr-slider-wrapper {
 order: 2;
 }

 .ambulance-content {
 order: 1;
 }

 .ambulance-image {
 order: 2;
 }

 .notification-content {
 order: 1;
 }

 .notification-images {
 order: 2;
 }

 .qr-slider-container {
 height: 300px;
 }
 }

 @media (max-width: 768px) {
 .emergency-benefits-grid {
 grid-template-columns: 1fr;
 }

 .emergency-header {
 text-align: center;
 gap: 1rem;
 }

 .emergency-icon {
 margin-right: 0;
 margin-bottom: 1rem;
 }

 .emergency-title {
 white-space: normal;
 font-size: 1.6rem;
 }

 .notification-images {
 flex-direction: column;
 align-items: center;
 }

 .notification-phone {
 width: 250px;
 }
 }

 @media (max-width: 576px) {
 .emergency-section,
 .qr-section,
 .notification-section {
 margin: 1rem;
 padding: 1.5rem;
 }

 .emergency-title {
 font-size: 1.4rem;
 }

 .qr-slider-container {
 height: 250px;
 }
 }

 img.img-icon {
    width: 35px;
    height: 35px;
}
.description {
  list-style: none;        /* remove default bullets */
  padding-left: 0;         /* reset padding */
  text-align: justify;
}

.description li {
  position: relative;
  padding-left: 35px;      /* <-- space before text */
  margin-bottom: 12px;     /* gap between bullets */
}

.description li::before {
  content: "•";            /* or replace with "\2713" (✓) or any icon */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 25px;
  color: #bf023f;          /* bullet/icon color */
  line-height: 1.4;
}
