    :root {
      --primary-dark: #2c3e50;
      --primary-light: #3498db;
      --accent-teal: #1abc9c;
      --accent-green: #27ae60;
      --accent-orange: #e67e22;
      --accent-purple: #9b59b6;
      --accent-red: #e74c3c;
      --accent-yellow: #f1c40f;
      --card-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
      --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
      --gradient-success: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
      --gradient-warning: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
      --gradient-teal: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
      --gradient-purple: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
      --gradient-red: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
      --gradient-yellow: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    }

    * {
      font-family: 'Inter', sans-serif;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
    }

    body {
      background: #f8f9fa;
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
    }

    /* Main Action Buttons Container - Moved to Top */
    .main-action-container {
      background: white;
      padding: 25px;
      margin-bottom: 30px;
      border-radius: 15px;
      box-shadow: var(--card-shadow);
      max-width: 1200px;
      margin: 30px auto;
      border: 2px solid #e9ecef;
    }

    .action-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .action-header h2 {
      color: var(--primary-dark);
      font-size: 1.8rem;
      margin-bottom: 10px;
    }

    .action-header p {
      color: #666;
      font-size: 1rem;
    }

    .main-buttons-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-bottom: 20px;
    }

    /* New Card Structure with Internal Button */
.main-btn-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  text-decoration: none;
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
}

    /* Card Hover Effects */
    .main-btn-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      border-color: transparent;
    }

    /* Card Content Area */
    .card-content {
      padding: 25px 20px 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 15px;
      position: relative;
    }

    /* Click Indicator */
    .click-indicator {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 10px;
      height: 10px;
      background: var(--accent-green);
      border-radius: 50%;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .main-btn-card:hover .click-indicator {
      opacity: 1;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.3); }
    }

    /* Card Icon */
    .main-btn-card i {
      font-size: 2.8rem;
      transition: transform 0.3s ease;
      display: block;
      margin-bottom: 10px;
    }

    .main-btn-card:hover i {
      transform: scale(1.15);
    }

    /* Card Content */
    .btn-content {
      text-align: center;
      width: 100%;
    }

    .btn-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 8px;
      display: block;
      color: var(--primary-dark);
      line-height: 1.3;
    }

    .btn-subtitle {
      font-size: 0.95rem;
      color: #666;
      display: block;
      line-height: 1.5;
      opacity: 0.9;
    }

    /* Small Action Button Inside Card */
.card-action-btn {
  background: var(--primary-light);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 12px;
  align-self: center;
  box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

.card-action-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.card-action-btn:active {
  transform: translateY(0);
}

    /* Specific card colors */
    .main-btn-degree { 
      border-top: 8px solid var(--primary-light);
      border-bottom: 3px solid var(--primary-light);
    }
    .main-btn-degree:hover { 
      background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
      box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
    }
    .main-btn-degree i { color: var(--primary-light); }
    .main-btn-degree .card-action-btn { 
      background: var(--primary-light);
      color: white;
    }
    .main-btn-degree .card-action-btn:hover { 
      background: #2980b9;
    }

    .main-btn-diploma { 
      border-top: 8px solid var(--accent-green);
      border-bottom: 3px solid var(--accent-green);
    }
    .main-btn-diploma:hover { 
      background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
      box-shadow: 0 15px 30px rgba(39, 174, 96, 0.2);
    }
    .main-btn-diploma i { color: var(--accent-green); }
    .main-btn-diploma .card-action-btn { 
      background: var(--accent-green);
      color: white;
    }
    .main-btn-diploma .card-action-btn:hover { 
      background: #219653;
    }

    .main-btn-certificate { 
      border-top: 8px solid var(--accent-orange);
      border-bottom: 3px solid var(--accent-orange);
    }
    .main-btn-certificate:hover { 
      background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
      box-shadow: 0 15px 30px rgba(230, 126, 34, 0.2);
    }
    .main-btn-certificate i { color: var(--accent-orange); }
    .main-btn-certificate .card-action-btn { 
      background: var(--accent-orange);
      color: white;
    }
    .main-btn-certificate .card-action-btn:hover { 
      background: #d35400;
    }

    .main-btn-kmtc { 
      border-top: 8px solid var(--accent-teal);
      border-bottom: 3px solid var(--accent-teal);
    }
    .main-btn-kmtc:hover { 
      background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
      box-shadow: 0 15px 30px rgba(26, 188, 156, 0.2);
    }
    .main-btn-kmtc i { color: var(--accent-teal); }
    .main-btn-kmtc .card-action-btn { 
      background: var(--accent-teal);
      color: white;
    }
    .main-btn-kmtc .card-action-btn:hover { 
      background: #16a085;
    }
    

   :root {
  --accent-blue: #2196F3;
}

.main-btn-artisan { 
  border-top: 8px solid var(--accent-blue);
  border-bottom: 3px solid var(--accent-blue);
}

.main-btn-artisan:hover { 
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  box-shadow: 0 15px 30px rgba(33, 150, 243, 0.2);
}

.main-btn-artisan i { 
  color: var(--accent-blue); 
}

.main-btn-artisan .card-action-btn { 
  background: var(--accent-blue);
  color: white;
}

.main-btn-artisan .card-action-btn:hover { 
  background: #1976d2;
}

    .main-btn-short { 
      border-top: 8px solid var(--accent-yellow);
      border-bottom: 3px solid var(--accent-yellow);
    }
    .main-btn-short:hover { 
      background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
      box-shadow: 0 15px 30px rgba(241, 196, 15, 0.2);
    }
    .main-btn-short i { color: var(--accent-yellow); }
    .main-btn-short .card-action-btn { 
      background: var(--accent-yellow);
      color: #2c3e50;
    }
    .main-btn-short .card-action-btn:hover { 
      background: #f39c12;
      color: white;
    }

    .main-btn-portal { 
      border-top: 8px solid var(--accent-purple);
      border-bottom: 3px solid var(--accent-purple);
    }
    .main-btn-portal:hover { 
      background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
      box-shadow: 0 15px 30px rgba(155, 89, 182, 0.2);
    }
    .main-btn-portal i { color: var(--accent-purple); }
    .main-btn-portal .card-action-btn { 
      background: var(--accent-purple);
      color: white;
    }
    .main-btn-portal .card-action-btn:hover { 
      background: #8e44ad;
    }

    .main-btn-helb { 
      border-top: 8px solid #f39c12;
      border-bottom: 3px solid #f39c12;
    }
    .main-btn-helb:hover { 
      background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
      box-shadow: 0 15px 30px rgba(243, 156, 18, 0.2);
    }
    .main-btn-helb i { color: #f39c12; }
    .main-btn-helb .card-action-btn { 
      background: #f39c12;
      color: white;
    }
    .main-btn-helb .card-action-btn:hover { 
      background: #e67e22;
    }

    /* Already Paid Button - Made More Visible */
    .payment-section {
      background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
      padding: 25px;
      border-radius: 12px;
      margin-top: 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 15px;
      border: 2px solid #27ae60;
      box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
    }

    .payment-content {
      flex: 1;
      min-width: 250px;
    }

    .payment-title {
      color: white;
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 8px;
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    .payment-description {
      color: rgba(255, 255, 255, 0.95);
      font-size: 1rem;
      line-height: 1.5;
    }

    .payment-btn {
      background: white;
      color: var(--accent-green);
      border: none;
      padding: 15px 30px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1.1rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      transition: all 0.3s ease;
      white-space: nowrap;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      border: 2px solid transparent;
    }

    .payment-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      color: var(--accent-green);
      border-color: var(--accent-green);
    }

    .payment-btn:active {
      transform: translateY(-1px);
    }

    /* Hero Section Simplified */
    .hero-section {
      background: var(--gradient-primary);
      color: white;
      padding: 40px 20px;
      text-align: center;
      border-radius: 0 0 30px 30px;
      margin-bottom: 20px;
      border-bottom: 5px solid var(--primary-light);
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .logo-container {
      margin-bottom: 25px;
    }

    .logo-main {
      width: 80px;
      height: 80px;
      background: white;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      border: 3px solid var(--primary-light);
    }

    .logo-main i {
      font-size: 2.5rem;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .app-name {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 15px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .app-tagline {
      font-size: 1.1rem;
      opacity: 0.95;
      line-height: 1.6;
      max-width: 600px;
      margin: 0 auto;
    }

    /* Stats Section */
    .stats-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 15px;
      margin: 40px auto;
      max-width: 1000px;
    }

    .stat-card {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .stat-number {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 5px;
    }

    .stat-label {
      font-size: 0.9rem;
      opacity: 0.95;
    }

    /* Features Section */
    .features-section {
      padding: 40px 20px;
      background: white;
      border-radius: 20px;
      margin: 30px auto;
      max-width: 1200px;
      box-shadow: var(--card-shadow);
      border: 2px solid #e9ecef;
    }

    .section-title {
      text-align: center;
      font-size: 1.8rem;
      color: var(--primary-dark);
      margin-bottom: 40px;
      position: relative;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--accent-teal);
      margin: 10px auto;
      border-radius: 2px;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
    }

    .feature-card {
      padding: 25px;
      border-radius: 12px;
      border-left: 5px solid var(--primary-light);
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      transition: all 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .feature-icon {
      font-size: 2rem;
      color: var(--primary-light);
      margin-bottom: 20px;
    }

    .feature-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 12px;
    }

    .feature-desc {
      color: #666;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    /* Fixed Modal Positioning */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .modal-content {
      background: white;
      padding: 35px;
      border-radius: 15px;
      max-width: 500px;
      width: 100%;
      text-align: center;
      position: relative;
      animation: modalSlideUp 0.3s ease;
      border: 3px solid var(--primary-light);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

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

    .modal-icon {
      font-size: 3.5rem;
      color: #e74c3c;
      margin-bottom: 25px;
    }

    .modal-title {
      color: var(--primary-dark);
      font-size: 1.6rem;
      margin-bottom: 20px;
      font-weight: 700;
    }

    .modal-message {
      color: #666;
      line-height: 1.6;
      margin-bottom: 30px;
      font-size: 1.05rem;
    }

    .modal-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
    }

    .modal-btn {
      padding: 14px 28px;
      border-radius: 10px;
      border: 2px solid transparent;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
      font-size: 1rem;
    }

    .modal-btn-primary {
      background: var(--gradient-primary);
      color: white;
      box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    }

    .modal-btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    }

    .modal-btn-secondary {
      background: #f8f9fa;
      color: #666;
      border: 2px solid #dee2e6;
    }

    .modal-btn-secondary:hover {
      background: #e9ecef;
      transform: translateY(-3px);
    }

    /* Fixed PWA Install Modal */
    .pwa-install-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
      z-index: 2000;
      animation: fadeIn 0.3s ease-out;
    }
    
    .pwa-install-content {
      background: white;
      padding: 35px;
      border-radius: 16px;
      text-align: center;
      max-width: 400px;
      width: 90%;
      margin: 20px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
      animation: slideUp 0.3s ease-out;
      border: 3px solid var(--primary-light);
    }

   
    .btn-payment { 
      background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    }

    /* Footer */
    .footer {
      background: linear-gradient(135deg, var(--primary-dark) 0%, #1a252f 100%);
      color: white;
      padding: 40px 20px;
      text-align: center;
      margin-top: 60px;
      border-top: 5px solid var(--primary-light);
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 25px;
      flex-wrap: wrap;
      margin: 25px 0;
    }

    .footer-link {
      color: rgba(255, 255, 255, 0.9);
      text-decoration: none;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 15px;
      border-radius: 8px;
      transition: all 0.3s ease;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .footer-link:hover {
      color: white;
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-3px);
    }

    .copyright {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.7);
      margin-top: 25px;
      line-height: 1.6;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .main-action-container {
        margin: 20px;
        padding: 20px;
      }

      .main-buttons-grid {
        grid-template-columns: 1fr;
      }

      .app-name {
        font-size: 1.8rem;
      }

      .app-tagline {
        font-size: 1rem;
      }

      .floating-action-container {
        top: 85px;
        right: 15px;
      }

      .floating-action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
      }

      .floating-action-btn span {
        right: 60px;
        font-size: 0.85rem;
      }

      .payment-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
      }

      .payment-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
      }

      .modal-content {
        padding: 25px;
      }

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

      .card-content {
        padding: 20px 15px 15px;
      }

      .card-action-btn {
        padding: 14px;
        font-size: 0.95rem;
      }
    }

    @media (max-width: 480px) {
      .hero-section {
        padding: 30px 15px;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .modal-buttons {
        flex-direction: column;
      }

      .modal-btn {
        width: 100%;
        justify-content: center;
      }

      .footer-links {
        flex-direction: column;
        gap: 15px;
      }

      .footer-link {
        justify-content: center;
      }

      .floating-action-container {
        top: 80px;
        right: 10px;
      }

      .btn-title {
        font-size: 1.15rem;
      }

      .btn-subtitle {
        font-size: 0.9rem;
      }
    }

    /* Chat Widget Styles */
.chat-support-widget {
  position: fixed;
  bottom: 80px; /* Higher to avoid mobile nav */
  right: 20px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* Main chat icon */
.chat-icon-circle {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10001;
}

.chat-icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.chat-notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  background: #ff4757;
  border-radius: 50%;
  border: 2px solid white;
  display: none;
}

/* Help popup */
.chat-help-popup {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 180px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  padding: 12px;
  z-index: 10000;
  animation: slideInUp 0.5s ease;
  display: none;
}

.chat-help-popup .popup-content {
  position: relative;
  padding-right: 20px;
}

.chat-help-popup p {
  margin: 0;
  font-size: 0.85rem;
  color: #2c3e50;
}

.chat-help-popup p.small {
  font-size: 0.75rem;
  color: #7f8c8d;
}

.btn-close-popup {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #ff4757;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.popup-arrow {
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

/* Chat container */
.chat-container {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  animation: slideInUp 0.3s ease;
  border: 1px solid #dee2e6;
}

.chat-header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-small {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.btn-close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-close-chat:hover {
  background: rgba(255,255,255,0.1);
}

/* Chat body */
.chat-body {
  padding: 15px;
  max-height: 500px;
  overflow-y: auto;
}

.chat-step {
  animation: fadeIn 0.3s ease;
}

.chat-welcome {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.chat-welcome h6 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.chat-welcome ul {
  padding-left: 20px;
  margin: 10px 0;
}

.chat-welcome ul li {
  font-size: 0.85rem;
  margin-bottom: 3px;
  color: #495057;
}

.chat-buttons .btn {
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Chat iframe */
.chat-frame-header {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}

.chat-iframe-wrapper {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.chat-frame-footer {
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.75rem;
  text-align: center;
}

.chat-frame-footer a {
  color: #3498db;
  text-decoration: none;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .chat-support-widget {
    bottom: 100px; /* Higher to avoid mobile browsers' bottom nav */
    right: 15px;
  }
  
  .chat-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .chat-container {
    width: 280px;
    max-height: 80vh;
  }
  
  .chat-iframe-wrapper iframe {
    height: 350px;
  }
  
  /* Prevent hiding navbar items */
  @media (max-height: 600px) {
    .chat-support-widget {
      bottom: 120px;
    }
  }
}

@media (max-width: 480px) {
  .chat-container {
    width: calc(100vw - 40px);
    right: 10px;
  }
  
  .chat-help-popup {
    width: 160px;
    right: -10px;
  }
}

/* Compact Stats Section */
.stats-section.compact {
  padding: 10px 15px;
  margin: 15px auto;
  max-width: 600px;
}

.stats-section.compact .stat-card {
  padding: 12px 8px;
  min-width: 90px;
  margin: 0 6px;
}

.stats-section.compact .stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.stats-section.compact .stat-label {
  font-size: 0.75rem;
  opacity: 0.9;
  line-height: 1.2;
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .stats-section.compact {
    padding: 8px 10px;
    margin: 10px auto;
  }
  
  .stats-section.compact .stat-card {
    padding: 8px 5px;
    min-width: 70px;
    margin: 0 4px;
  }
  
  .stats-section.compact .stat-number {
    font-size: 1.1rem;
  }
  
  .stats-section.compact .stat-label {
    font-size: 0.7rem;
  }
}
/* Make stats show as 2x2 grid on mobile */
@media (max-width: 768px) {
  .stats-section {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 15px !important;
    max-width: 400px !important;
    margin: 20px auto !important;
  }
  
  .stats-section .stat-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
  }
}

/* Adjust for very small phones */
@media (max-width: 480px) {
  .stats-section {
    gap: 10px !important;
    max-width: 320px !important;
  }
  
  .stats-section .stat-card {
    padding: 12px !important;
  }
}

/* Collapsible Contact Details */
.contact-details-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  font-family: 'Inter', sans-serif;
}

/* Main Contact Button */
.contact-main-btn {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 120px;
  justify-content: center;
}

.contact-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.contact-main-btn .contact-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.contact-main-btn.collapsed .contact-arrow {
  transform: rotate(180deg);
}

/* Contact Options (Hidden by Default) */
.contact-options {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
  animation: slideInUp 0.3s ease;
  border: 1px solid #e0e0e0;
}

.contact-options.show {
  display: flex;
}

.contact-options::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

/* Individual Contact Buttons */
.contact-option-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.contact-option-btn:hover {
  transform: translateX(-3px);
  background: #f8f9fa;
  border-color: #e0e0e0;
}

.contact-option-btn i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Color for each contact type */
.btn-whatsapp {
  color: #25D366;
}

.btn-call {
  color: #3498db;
}

.btn-email {
  color: #e74c3c;
}

/* Click Outside Overlay */
.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 9997;
  display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .contact-details-container {
    bottom: 80px; /* Above mobile nav */
    right: 15px;
  }
  
  .contact-main-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    min-width: 110px;
  }
  
  .contact-btn-text {
    display: inline; /* Always show text on mobile */
  }
  
  .contact-options {
    bottom: 55px;
  }
}

/* Desktop - Show full text */
@media (min-width: 769px) {
  .contact-btn-text {
    display: inline;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fix chat widget positioning to account for support button */
@media (max-width: 768px) {
  .chat-support-widget {
    bottom: 140px; /* Move chat widget higher to avoid support button */
    right: 15px;
  }
  
  .contact-details-container {
    bottom: 80px; /* Keep support button where it is */
    right: 15px;
  }
  
  .chat-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .contact-main-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    min-width: 110px;
  }
}

/* For very small screens, adjust further */
@media (max-width: 480px) and (max-height: 600px) {
  .chat-support-widget {
    bottom: 120px;
  }
  
  .contact-details-container {
    bottom: 70px;
  }
}

/* Make sure contact options appear above chat widget */
.contact-details-container {
  z-index: 9999; /* Higher than chat widget (9998) */
}

.chat-support-widget {
  z-index: 9998; /* Lower than contact container */
}
/* Enhanced Support Dropdown Styles */
.support-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #2c3e50;
}

/* Chat Option Styling */
.btn-chat {
  color: #3498db !important;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.contact-option-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.contact-option-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-option-sub {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-top: 2px;
}

.contact-option-status {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.contact-option-status.online {
  background: #d4edda;
  color: #155724;
}

.contact-option-status.offline {
  background: #f8d7da;
  color: #721c24;
}

.contact-divider {
  text-align: center;
  margin: 8px 0;
  position: relative;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.contact-divider span {
  background: white;
  padding: 0 10px;
  font-size: 0.8rem;
  color: #7f8c8d;
  position: relative;
  z-index: 1;
}

/* Adjust chat widget position when support is open */
.contact-details-container.active + .chat-support-widget {
  bottom: 160px; /* Move chat widget higher when support is open */
}
/* Support Tooltip Popup */
.support-tooltip-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #3498db;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  display: none;
  animation: bounce 2s infinite;
  z-index: 10000;
  min-width: 160px;
  text-align: center;
}

.support-tooltip-popup .tooltip-content {
  position: relative;
}

.support-tooltip-popup .tooltip-arrow {
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #3498db;
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .support-tooltip-popup {
    bottom: 60px;
    right: -10px;
    font-size: 0.8rem;
    min-width: 140px;
  }
  
  .support-tooltip-popup .tooltip-arrow {
    right: 25px;
  }
}
/* Option 1: Referral Banner Styles */
.referral-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  margin: 20px 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  animation: slideInUp 0.5s ease;
}

.referral-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.referral-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-icon i {
  font-size: 24px;
  color: white;
  animation: bounce 2s infinite;
}

.referral-text {
  flex: 1;
  min-width: 200px;
}

.referral-text h3 {
  color: white;
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.referral-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.9rem;
}

.referral-button {
  background: white;
  color: #667eea;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.referral-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #764ba2;
}

/* Option 2: Referral Card Styles */
.main-btn-card.main-btn-referral {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.main-btn-card.main-btn-referral i {
  color: white;
}

.main-btn-card.main-btn-referral .btn-title {
  color: white;
}

.main-btn-card.main-btn-referral .btn-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Option 3: Floating Action Button */
.referral-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  z-index: 9999;
  animation: slideInRight 0.5s ease;
}

.fab-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fab-content i {
  font-size: 20px;
}

.fab-text {
  font-weight: 600;
}

.fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  background: inherit;
  animation: pulse 2s infinite;
  z-index: -1;
}

/* Animations */
@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .referral-content {
    flex-direction: column;
    text-align: center;
  }
  
  .referral-button {
    width: 100%;
    justify-content: center;
  }
  
  .referral-fab {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
  }
  
  .fab-text {
    display: none; /* Hide text on mobile, show only icon */
  }
  
  .referral-fab i {
    font-size: 24px;
    margin: 0;
  }
}

/* Follow Us Modal Styles */
.follow-us-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 15000; /* Higher than PWA modal (10000) */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.follow-us-content {
  background: white;
  border-radius: 24px;
  max-width: 450px;
  width: 100%;
  padding: 30px 25px 25px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.follow-us-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f8f9fa;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.follow-us-close:hover {
  background: #e9ecef;
  color: #dc3545;
  transform: rotate(90deg);
}

.follow-us-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.follow-us-icon i {
  font-size: 30px;
  color: white;
  animation: heartbeat 1.5s ease infinite;
}

.follow-us-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.follow-us-message {
  text-align: center;
  color: #6c757d;
  margin-bottom: 25px;
  font-size: 15px;
}

.follow-us-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.follow-btn {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: white;
}

.follow-btn i {
  font-size: 28px;
  margin-right: 15px;
}

.follow-btn-content {
  flex: 1;
}

.follow-btn-title {
  display: block;
  font-weight: 600;
  font-size: 16px;
}

.follow-btn-subtitle {
  display: block;
  font-size: 13px;
  opacity: 0.9;
}

.follow-btn-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.follow-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.follow-btn-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0e5a9c 100%);
}

.follow-btn-twitter {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.follow-us-footer {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.follow-reminder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 13px;
  cursor: pointer;
}

.follow-reminder input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Updated Follow Us Floating Button - Now on LEFT side */
.follow-us-floating-btn {
  position: fixed;
  bottom: 100px;
  left: 20px; /* Changed from right: 20px to left: 20px */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 14000;
  animation: float 3s ease infinite;
}

.follow-us-floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
  padding-left: 30px; /* Changed from padding-right to padding-left */
}

.follow-us-floating-btn i {
  font-size: 18px;
  transition: transform 0.3s;
}

.follow-us-floating-btn:hover i {
  transform: rotate(90deg);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .follow-us-floating-btn {
    bottom: 80px;
    left: 15px; /* Keep on left side */
    padding: 10px 18px;
    font-size: 14px;
  }
  
  /* Make it more compact on very small screens */
  @media (max-width: 480px) {
    .follow-us-floating-btn {
      bottom: 70px;
      left: 10px;
      padding: 8px 16px;
    }
    
    .follow-us-floating-btn span {
      display: inline-block; /* Keep text visible */
    }
    
    /* Optional: If screen is too small, you can hide text and show only icon */
    @media (max-width: 360px) {
      .follow-us-floating-btn span {
        display: none; /* Hide text on very small screens */
      }
      
      .follow-us-floating-btn {
        padding: 12px;
        border-radius: 50px;
      }
      
      .follow-us-floating-btn i {
        font-size: 20px;
        margin: 0;
      }
    }
  }
}

/* Adjust for devices with notches/safe areas */
@supports (padding: max(0px)) {
  .follow-us-floating-btn {
    left: max(20px, env(safe-area-inset-left));
    bottom: max(100px, env(safe-area-inset-bottom));
  }
  
  @media (max-width: 768px) {
    .follow-us-floating-btn {
      left: max(15px, env(safe-area-inset-left));
      bottom: max(80px, env(safe-area-inset-bottom));
    }
  }
}

/* Keep the support button on the right as is */
.contact-details-container {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Support button stays on right */
  z-index: 10000;
}

/* Ensure buttons don't overlap on medium screens */
@media (max-width: 768px) {
  .contact-details-container {
    bottom: 15px;
    right: 15px;
  }
}

/* For very small screens, adjust both buttons to be higher */
@media (max-width: 480px) {
  .follow-us-floating-btn {
    bottom: 90px; /* Move higher to avoid bottom navigation */
  }
  
  .contact-details-container {
    bottom: 90px; /* Match height for consistency */
  }
}

/* Animations */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .follow-us-content {
    padding: 20px 15px;
  }
  
  .follow-btn {
    padding: 10px 15px;
  }
  
  .follow-btn i {
    font-size: 24px;
    margin-right: 12px;
  }
  
  .follow-btn-title {
    font-size: 14px;
  }
  
  .follow-btn-subtitle {
    font-size: 11px;
  }
  
  .follow-us-floating-btn {
    bottom: 80px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .follow-us-content {
    background: #1a1a1a;
  }
  
  .follow-us-title {
    color: #fff;
  }
  
  .follow-us-message {
    color: #b0b0b0;
  }
  
  .follow-us-close {
    background: #2d2d2d;
    color: #b0b0b0;
  }
  
  .follow-us-close:hover {
    background: #3d3d3d;
  }
  
  .follow-us-footer {
    border-top-color: #2d2d2d;
  }
  
  .follow-reminder {
    color: #b0b0b0;
  }
}