
/* Toggle Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #00aaff;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

/* DARK MODE STYLES */
body.dark {
  background-color: #121212;
  color: #e0e0e0;
}
body.dark .section {
  background-color: #1c1c1c;
}
body.dark .section-title {
  color: #00aaff;
}
body.dark .cta-section {
  background: linear-gradient(135deg, #004466, #002233);
}
body.dark .cta-button.pulse {
  background: #00aaff;
  color: white;
}
body.dark .cta-button.secondary {
  border-color: #00aaff;
  color: #00aaff;
}
body.dark .footer-content {
  background-color: #1a1a1a;
}
body.dark .achievement-card {
  background-color: #222;
  color: #eee;
}
body.dark .benefit-item {
  background: rgba(0, 170, 255, 0.1);
  color: #eee;
}

.hamburgerhome {
  font-size: 24px;
  color: #00aaff;
  cursor: pointer;
  user-select: none;
}

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

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* ✅ Navbar */
.navbar {
  background: #00aaff;
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 170, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand {
  font-size: 22px;
  font-weight: bold;
}

/* ✅ Logo Circle */
.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: #00aaff;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo-circle:hover {
  box-shadow: 0 0 15px rgba(0,170,255,0.7), 0 0 10px rgba(0,170,255,0.4);
  transform: scale(1.05);
}

/* ✅ Hamburger */
.hamburger {
  font-size: 26px;
  cursor: pointer;
}

/* ✅ Nav Menu (Mobile Dropdown) */
.nav-menu {
  display: none;
  flex-direction: column;
  background: #00aaff;
  animation: slideDown 0.3s ease;
}

.nav-menu.active {
  display: flex;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ✅ Register Container */
.register-container {
  max-width: 500px;
  margin: 60px auto;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 170, 255, 0.15);
  text-align: center;
  animation: fadeSlide 0.4s ease-in-out;
}

.register-container h1 {
  color: #00aaff;
  margin-bottom: 5px;
  font-size: 24px;
}

.register-container h2 {
  font-size: 18px;
  color: #00aaff;
  margin-bottom: 20px;
}

/* ✅ Form Inputs */
input,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  font-size: 15px;
}

input:focus,
select:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 6px rgba(0, 170, 255, 0.4);
  background: #f0fbff;
}

/* ✅ Submit Button */
button {
  width: 100%;
  padding: 12px;
  background: #00aaff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #008ecc;
  transform: scale(1.02);
}

/* ✅ Login Link */
.login-link {
  margin-top: 15px;
  font-size: 17px;
}

.login-link a {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}

.login-link a:hover {
  text-decoration: underline;
}

/* ✅ Footer */
footer {
  margin-top: 60px;
  background: #00aaff;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 17px;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Responsive */
@media (max-width: 480px) {
  .register-container {
    margin: 30px 16px;
    padding: 20px;
  }

  .nav-menu a {
    padding: 12px;
  }
}


.form-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.form-logo .logo-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #00aaff;
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.4);
  transition: 0.3s;
}

.form-logo .logo-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.6);
}



.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #888;
  user-select: none;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 40px;
}

.eye-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #555;
}




.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}