/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  :root {
    /* Color palette - white and blue theme */
    --primary-color: #2980b9;
    --primary-light: #3498db;
    --primary-lighter: #a6d0f5;
    --primary-dark: #1a5889;
    --secondary-color: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --background-light: #ffffff;
    --background-off-white: #f1f7fc;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --warning-color: #e74c3c;
  }
  
  body {
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
  }
  
  /* Accessibility Bar */
  .accessibility-bar {
    background-color: var(--background-off-white);
    display: flex;
    justify-content: flex-end;
    padding: 5px 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .accessibility-btn {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    margin-left: 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .accessibility-btn:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
  }
  
  /* Navbar */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .logo-icon {
    margin-right: 10px;
  }
  
  .logo-icon path {
    fill: var(--primary-color) !important;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--primary-color);
  }
  
  .auth-buttons {
    display: flex;
    gap: 15px;
  }
  
  .auth-btn {
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .sign-up {
    background-color: var(--primary-color);
    color: var(--text-light);
  }
  
  .sign-up:hover {
    background-color: var(--primary-dark);
  }
  
  /* Profile Section */
  .profile-section {
    display: none; /* Hidden by default, shown after login */
    position: relative;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: background-color 0.3s;
}

.profile-icon:hover {
    background-color: #e0e0e0;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 180px;
    display: none;
    z-index: 100;
    overflow: hidden;
}

.profile-dropdown.active {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.profile-dropdown a:hover {
    background-color: #f5f5f5;
}

.profile-dropdown a i {
    margin-right: 8px;
    opacity: 0.7;
}

  /* Login Notification */
  .login-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    animation: slideIn 0.5s ease forwards, fadeOut 0.5s ease 3.5s forwards;
  }
  
  @keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  /* Hero Section */
  .hero {
    background-color: var(--background-off-white);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
  }
  
  .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
  }
  
  .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
  }
  
  .hero-text {
    flex: 1;
    max-width: 600px;
  }
  
  .main-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
  }
  
  .animated-text {
    position: relative;
    height: 60px;
    overflow: hidden;
  }
  
  .highlight {
    position: absolute;
    opacity: 0;
    color: var(--primary-color);
    font-weight: 800;
    transition: opacity 0.5s ease;
  }
  
  .highlight.current {
    opacity: 1;
  }
  
  .hero-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-muted);
  }
  
  .cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }
  
  .cta-btn.primary {
    background-color: var(--primary-color);
    color: var(--text-light);
  }
  
  .cta-btn.primary:hover {
    background-color: var(--primary-dark);
  }
  
  .cta-btn.primary svg {
    stroke: var(--text-light) !important;
  }
  
  .cta-btn.secondary {
    background-color: var(--background-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
  }
  
  .cta-btn.secondary:hover {
    background-color: var(--background-off-white);
  }
  
  .trust-badges {
    display: flex;
    gap: 20px;
  }
  
  .trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .badge-icon {
    font-size: 1.5rem;
  }
  
  .badge-number {
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .badge-text {
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  .hero-visuals {
    flex: 1;
    max-width: 500px;
    position: relative;
  }
  
  .main-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  
  .main-image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(41, 128, 185, 0.1), rgba(41, 128, 185, 0.3));
  }
  
  .notification-cards {
    position: absolute;
    bottom: -30px;
    left: -30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
  }
  
  .notification-card {
    background-color: var(--background-light);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 260px;
  }
  
  .notification-icon {
    font-size: 1.5rem;
  }
  
  .notification-title {
    font-weight: 600;
    margin-bottom: 2px;
  }
  
  .notification-text {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  /* Features Section */
  .features {
    padding: 80px 20px;
    background-color: var(--background-light);
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .feature-card {
    background-color: var(--background-off-white);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .feature-card svg {
    margin-bottom: 20px;
    stroke: var(--primary-color);
  }
  
  .feature-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .feature-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  
  .feature-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
  }
  
  .feature-link:hover {
    color: var(--primary-dark);
  }
  
  /* Voice Assistant Button */
  .voice-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .voice-assistant:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
  }
  
  /* SOS Button */
  .sos-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--warning-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .sos-button:hover {
    background-color: #c0392b;
    transform: scale(1.05);
  }
  
  /* About Section */
  .about-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
  }
  
  .about-image {
    flex: 1;
    max-width: 500px;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .about-content {
    flex: 1;
    max-width: 500px;
  }
  
  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
  }
  
  .about-content p {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
  }
  
  .stats-grid {
    display: flex;
    gap: 40px;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
  }
  
  /* Services Section */
  .services {
    padding: 80px 20px;
    background-color: var(--background-off-white);
  }
  
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .service-card {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 350px;
    transition: all 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .service-header {
    position: relative;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)) !important;
  }
  
  .service-header svg {
    stroke: var(--text-light);
    position: absolute;
    opacity: 0.2;
    width: 100px;
    height: 100px;
  }
  
  .service-image {
    max-height: 140px;
    position: relative;
    z-index: 1;
  }
  
  .service-content {
    padding: 30px;
  }
  
  .service-content h3 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
  }
  
  .service-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
  }
  
  .service-features {
    list-style-type: none;
    margin-bottom: 25px;
  }
  
  .service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
  }
  
  .service-features li svg {
    stroke: var(--primary-color);
  }
  
  .service-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .service-btn:hover {
    background-color: var(--primary-dark);
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 80px 20px;
  }
  
  .testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .testimonial-card {
    background-color: var(--background-off-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    width: 350px;
    transition: all 0.3s ease;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .testimonial-meta h4 {
    margin-bottom: 5px;
    font-weight: 600;
  }
  
  .testimonial-role {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  .testimonial-text {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-style: italic;
  }
  
  .testimonial-rating {
    display: flex;
    gap: 5px;
  }
  
  .testimonial-rating svg {
    stroke: #f1c40f;
    fill: #f1c40f;
  }
  
  /* Contact Section */
  .contact-section {
    padding: 80px 20px;
    background-color: var(--background-off-white);
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
  }
  
  .submit-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: var(--primary-dark);
  }
  
  /* Footer */
  footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 20px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  footer h3 {
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  footer p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
  }
  
  footer ul {
    list-style-type: none;
  }
  
  footer ul li {
    margin-bottom: 10px;
  }
  
  footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
  }
  
  footer a:hover {
    color: var(--text-light);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-text {
      margin-bottom: 60px;
    }
  
    .cta-group {
      justify-content: center;
    }
  
    .trust-badges {
      justify-content: center;
    }
  
    .about-section {
      flex-direction: column;
      gap: 40px;
    }
  
    .about-image, .about-content {
      max-width: 100%;
    }
  
    .stats-grid {
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    .nav-content {
      flex-direction: column;
      gap: 20px;
      padding: 15px;
    }
  
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .auth-buttons {
      margin-top: 10px;
    }
  
    .main-title {
      font-size: 2.2rem;
    }
  
    .animated-text {
      height: 40px;
    }
  
    .notification-cards {
      position: static;
      margin-top: 30px;
    }
  
    .notification-card {
      max-width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .cta-group {
      flex-direction: column;
    }
  
    .trust-badges {
      flex-direction: column;
      align-items: center;
    }
  
    .service-card, .testimonial-card {
      width: 100%;
    }
  }

  .sos-button {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    background: #ff0033;
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 51, 0.4);
    border: 3px solid white;
    animation: pulse 2s infinite;
    z-index: 1000;
}