:root {
  --color-green: #58cc02;
  --color-yellow: #ffd600;
  --color-white: #ffffff;
  --color-dark: #22223b;
  --color-gray: #f5f6fa;
  --max-width: 1200px;
}

/* ========================================
   SPLASH SCREEN
   ======================================== */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

#splash-screen.splash-fade-out {
  opacity: 0;
  pointer-events: none;
}

#splash-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 480px;
  max-height: 100vh;
}

@media (max-width: 480px) {
  #splash-video {
    max-width: 100%;
    object-fit: cover;
  }
}

/* ---- Shared navbar avatar ---- */
.nav-link {
  color: var(--color-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-link:hover { text-decoration: underline; }

.navbar-avatar-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-green);
}

 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    height: auto;
    font-family: 'Comic Relief', 'Comic Sans MS', 'cursive', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8fef8 100%);
    color: var(--color-green);
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
    margin: 0;
    padding: 0;
    display: block;
}

/* Dark Mode Styles */
body {
  transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
  background: #121212 !important;
  color: #ffffff !important;
}

.dark-mode .dashboard-navbar {
  background: #1e1e1e !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .navbar-left .app-logo {
  color: #4caf50 !important;
}

.dark-mode .theme-toggle {
  background: #333 !important;
  color: #ffffff !important;
}

.dark-mode .theme-toggle:hover {
  background: #4caf50 !important;
}

.dark-mode .user-avatar img {
  border-color: #4caf50 !important;
}

.dark-mode .welcome-section {
  background: linear-gradient(135deg, #2e7d32 0%, #ff9800 100%) !important;
}

.dark-mode .progress-section {
  background: #1e1e1e !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .progress-header h2 {
  color: #ffffff !important;
}

.dark-mode .progress-bar-container {
  background: #333 !important;
}

.dark-mode .dashboard-card {
  background: #1e1e1e !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .dashboard-card h3 {
  color: #ffffff !important;
}

.dark-mode .dashboard-card p {
  color: #b0b0b0 !important;
}

.dark-mode .card-action {
  color: #4caf50 !important;
}

.dark-mode .dashboard-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .dashboard-card:hover .card-action {
  color: #ff9800 !important;
}

/* Login Page Dark Mode */
.dark-mode #login-page {
  background: #121212 !important;
}

.dark-mode .login-container {
  background: #1e1e1e !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .login-container header h1 {
  color: #4caf50 !important;
}

.dark-mode .form-group label {
  color: #ffffff !important;
}

.dark-mode .form-group input {
  background: #333 !important;
  border-color: #555 !important;
  color: #ffffff !important;
}

.dark-mode .form-group input:focus {
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2) !important;
}

.dark-mode .login-container button[type="submit"] {
  background: #4caf50 !important;
}

.dark-mode .login-container button[type="submit"]:hover {
  background: #45a049 !important;
}

.dark-mode .login-links a {
  color: #4caf50 !important;
}

/* Signup Page Dark Mode */
.dark-mode #signup-page {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%) !important;
}

.dark-mode .profile-card {
  background: #1e1e1e !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .profile-header h1 {
  color: #4caf50 !important;
}

.dark-mode .profile-header p {
  color: #b0b0b0 !important;
}

.dark-mode .profile-avatar {
  border-color: #4caf50 !important;
}

.dark-mode .change-photo-btn {
  background: #ff9800 !important;
  color: #000000 !important;
}

.dark-mode .change-photo-btn:hover {
  background: #f57c00 !important;
}

.dark-mode .form-group input,
.dark-mode .form-group select {
  background: #333 !important;
  border-color: #555 !important;
  color: #ffffff !important;
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus {
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2) !important;
}

.dark-mode .theme-label {
  background: #333 !important;
  border-color: #555 !important;
  color: #b0b0b0 !important;
}

.dark-mode .theme-option input[type="radio"]:checked + .theme-label {
  border-color: #4caf50 !important;
  background: rgba(76, 175, 80, 0.1) !important;
  color: #4caf50 !important;
}

.dark-mode .save-btn {
  background: linear-gradient(135deg, #4caf50 0%, #ff9800 100%) !important;
}

.dark-mode .cancel-btn {
  background: #333 !important;
  color: #b0b0b0 !important;
  border-color: #555 !important;
}

.dark-mode .cancel-btn:hover {
  background: #444 !important;
  color: #ffffff !important;
}

/* Leaderboard Dark Mode */
.dark-mode #leaderboard {
  background: #121212 !important;
}

.dark-mode .profile-card {
  background: #1e1e1e !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .profile-header h1 {
  color: #4caf50 !important;
}

.dark-mode .profile-header p {
  color: #b0b0b0 !important;
}

.dark-mode table {
  background: #1e1e1e !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode th {
  background: #333 !important;
  color: #ffffff !important;
}

.dark-mode td {
  color: #ffffff !important;
  border-bottom-color: #333 !important;
}

.dark-mode tbody tr:hover {
  background: #2a2a2a !important;
}

/* Footer Dark Mode */
.dark-mode footer#footer {
  background: #1e1e1e !important;
  color: #ffffff !important;
  border-top-color: #333 !important;
}

.dark-mode footer#footer nav ul li a,
.dark-mode #footer #socials a {
  color: #ffffff !important;
}

.dark-mode .footer-quote {
  color: #b0b0b0 !important;
}

/* Sparkles Dark Mode */
.dark-mode .sparkle {
  opacity: 0.8 !important;
}

/* Navigation Bar */
.navbar {
 
    background: white;
    padding: 1rem 2rem;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transform: translateZ(0);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
    width: auto;
    max-width: 200px;
    animation: bounce 2s infinite;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #4a7c59;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.nav-links a:hover {
    background: rgba(102, 187, 106, 0.1);
    color: #66bb6a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 187, 106, 0.2);
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #4a7c59;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: #4a7c59;
    margin-bottom: 1rem;
    text-shadow:  3px 3px 6px rgba(0,0,0,.1);
    animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: transparent; 
    background-color: #66bb6a;
    margin-bottom: 3rem;
    animation: slideInUp 1s ease-out;
    /* text-shadow: inset 0px 0px 6px rgba(0,0,0,0.1); */
    /* text-shadow:  3px 3px 10px rgba(0, 0, 0, 25); Inner shadow */
     text-shadow:  3px 3px 6px rgba(0,0,0,.25);
     background-clip: text;
     -webkit-background-clip: text; /* For WebKit browsers */
    
}

/* 3D Animated Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    font-size: 5rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    /* filter: hue-rotate(10deg); */
    
}



.floating-element:nth-child(1) { top: 35%; left: 10%; animation-delay: 0s; } /* heart */
.floating-element:nth-child(2) { top: 40%; right: 15%; animation-delay: 1s; } /* star */
.floating-element:nth-child(3) { top: 70%; right: 25%; animation-delay: 2s; } /* baloon icon */
.floating-element:nth-child(4) { top: 60%; left: 30%; animation-delay: 3s; } /* butterfly */
.floating-element:nth-child(5) { top: 3%; left: 8%; animation-delay: 4s; } /* prayer hands2 */
.floating-element:nth-child(6) { top: 5%; left: 50%; animation-delay: 5s; } /* prayer hands1 */
.floating-element:nth-child(7) { top: 12%; right: 20%; animation-delay: 1s; } /* announcement */

/* Precise adjustment for 375px - drop love and butterfly icons down */
@media (max-width: 375px) {
  .floating-element:nth-child(3) { top: 75%; } /* Love icon - moved down */
  .floating-element:nth-child(4) { top: 90%; } /* Butterfly icon - moved down */
} 

/* Fix floating elements visibility for 540px */
@media (max-width: 540px) {
  .floating-element:nth-child(3) { top: 60%; left: 15%; } /* Love icon - better position */
  .floating-element:nth-child(4) { top: 80%; right: 20%; } /* Butterfly icon - better position */
}

/* Fix floating elements visibility for 768px */
@media (max-width: 768px) {
  .floating-element:nth-child(3) { top: 50%; left: 15%; } /* Love icon - better position */
  .floating-element:nth-child(4) { top: 40%; right: 20%; } /* Butterfly icon - better position */
}

/* Fix floating elements visibility for 820px */
@media (max-width: 820px) {
  .floating-element:nth-child(3) { top: 38%; left: 15%; } /* Love icon - better position */
  .floating-element:nth-child(4) { top: 40%; right: 20%; } /* Butterfly icon - better position */
}

/* Fix floating elements visibility for 1024px -820 px */
@media (min-width: 820px) and (max-width: 1024px) {
  .floating-element:nth-child(2) { top: 20%; left: 10%; } /* Star icon - better position */
  .floating-element:nth-child(3) { top: 30%; left: 15%; } /* Love icon - better position */
  .floating-element:nth-child(4) { top: 30%; right: 20%; } /* Butterfly icon - better position */
}

/* Responsiveness for max-width 344px */
@media (max-width: 344px) {
  /* Page-level centering and spacing */
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .main-content {
    padding: 0 0.5rem;
    margin: 0 auto;
    max-width: 100%;
  }
  
  /* Floating elements positioning */
  .floating-element:nth-child(1) { top: 15%; left: 5%; font-size: 4rem; } /* Balloon - smaller, higher */
  .floating-element:nth-child(2) { top: 25%; right: 10%; font-size: 4rem; } /* Star - smaller, higher */
  .floating-element:nth-child(3) { top: 40%; left: 10%; font-size: 4rem; } /* Love - much lower, smaller */
  .floating-element:nth-child(4) { top: 35%; right: 15%; font-size: 4rem; } /* Butterfly - much lower, smaller */
  .floating-element:nth-child(5) { top: 2%; left: 5%; font-size: 4rem; } /* Prayer - centered, smaller */
  
  /* Navbar adjustments */
  .navbar {
    padding: 0.4rem 0.5rem;
    width: 100%;
  }
  
  .nav-content {
    gap: 0.4rem;
    max-width: 100%;
    margin: 0;
    justify-content: space-between;
  }
  
  .logo {
    height: 35px;
    max-width: 90px;
    flex-shrink: 0;
  }
  
  .nav-links {
    display: none;
  }
  
  .btn-install {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    min-height: 28px;
    flex-shrink: 0;
  }
  
  .tooltip {
    font-size: 8px;
    padding: 2px 6px;
    max-width: 120px;
  }
  
  .tooltip::after {
    border-width: 2px;
    margin-left: -2px;
  }
  
  /* Hero section adjustments */
  .hero-section {
    padding: 1rem 0.5rem;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
  
  /* CTA buttons */
  .cta-buttons {
    gap: 0.8rem;
    margin: 1.5rem auto;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    min-height: 40px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  /* Features section */
  .features {
    gap: 1.2rem;
    margin: 2rem auto;
    padding: 0 0.5rem;
    max-width: 100%;
  }
  
  .feature-card {
    padding: 1rem;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }
  
  .feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    text-align: center;
  }
  
  .feature-description {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
  
  /* Footer */
  .footer {
    padding: 1.5rem 0.5rem;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .footer-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .footer-content p {
    font-size: 0.8rem;
    margin: 0.5rem 0;
    text-align: center;
  }
}


/* Buttons */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    transform: translateZ(0);
    box-shadow: 0 8px 25px rgba(119, 61, 61, 0.2);
    position: relative;
    overflow: hidden;
    
}

.btn-primary {
    background: linear-gradient(45deg, #66bb6a, #4caf50);
    color: white; 
    text-shadow:  3px 3px 6px rgba(0,0,0,.25);
    
     
}

.btn-secondary {
    background: linear-gradient(45deg, #66bb6a, #66bb6a);
    color: transparent;
    border: 3px solid #66bb6a;
    text-shadow:  3px 3px 6px rgba(0,0,0,.25);
    background-clip: text;
    -webkit-background-clip: text; /* For WebKit browsers */
    box-shadow: inset 1px 1px 1px rgba(102, 187, 106, .5);
}

     


.btn.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.btn.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}


.btn:active {
    transform: translateY(-2px) scale(1.02);
}
/* pwa button styles */

/* .btn-install { */
     /* background: linear-gradient(135deg, #FFD700 0%, #4CAF50 100%); */
     /* background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: white;
    
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); */
    /* display: none; Hidden by default */
    
/* } */

/* .btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-install:active {
    transform: translateY(0);
} */

 /* Tooltip Styles */
  /* .tooltip {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background:  linear-gradient(45deg, #96ceb4, #feca57, #ff9ff3);
    animation: 3s ease-in-out infinite;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    font-family: 'Segoe UI', sans-serif;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  
  } */

   /* .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 70%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color:  #feca57 transparent transparent transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  } */

  /* Show tooltip on container hover */
  /* .btn-install:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-80%) translateY(75%);
  } */

/* ========================================
   PWA INSTALL BUTTON STYLES
   ======================================== */

/* Install button - hidden by default */
#installBtn {
  display: none !important; /* Force hidden by default */
  position: relative;
}

/* Show button when .show class is added by JavaScript */
#installBtn.show {
  display: inline-block !important; /* Force show when ready */
}

.btn-install {
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  position: relative;
  white-space: nowrap;
}

.btn-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  background: linear-gradient(135deg, #FFC107 0%, #FFD700 100%);
}

.btn-install:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Dimmed state when prompt isn't ready yet (debug mode) */
.btn-install.not-ready {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-install.not-ready:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Tooltip Styles */
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: linear-gradient(45deg, #96ceb4, #feca57, #ff9ff3);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  font-family: 'Segoe UI', sans-serif;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #feca57 transparent transparent transparent;
}

/* Show tooltip on button hover */
.btn-install:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}








/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 187, 106, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    transform: translateZ(0);
    perspective: 1000px;
}

.feature-card:hover {
    transform: rotateY(5deg) rotateX(5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 187, 106, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.feature-title {
    font-size: 1.5rem;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #4a7c59, #66bb6a);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0.5rem 0;
}

.footer .footer-content .footer-heart {
    filter: hue-rotate(80deg);
}

/* Animations */



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




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

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

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

/* Rainbow Text Effect */
.rainbow-text {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* .btn {
        width: 250px;
    } */
    
    .nav-links {
        display: none;
    }
}

/* ========================================
   MOBILE NAVBAR (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-content {
    flex-wrap: wrap;
    gap: 0;
    max-width: 100%;
  }

  .logo {
    height: 45px;
    max-width: 150px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
    padding: 0.75rem 0 0.5rem;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    border-radius: 0.5rem;
    transform: none;
  }

  .nav-links a:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: none;
    box-shadow: none;
  }

  .btn-install {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }
}




/* Toast Notification Styles */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s ease-in-out;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
  transform: translateX(0);
}

.toast.hidden {
  transform: translateX(400px);
}

.toast.success {
  background-color: #4caf50;
}

.toast.error {
  background-color: #f44336;
}

.toast.info {
  background-color: #2196f3;
}

.toast.warning {
  background-color: #ff9800;
}

@media (max-width: 600px) {
  .toast {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
  
  .toast.hidden {
    transform: translateY(-100px);
  }
}
