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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Footer Modern Multi-Column */
.footer {
  background: radial-gradient(circle at center, #e9b4b6, #e5c5b3);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 4rem;
}

body.dark-mode .footer {
  background: #1e1e1e;
}

.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 2rem 2rem;
}

.footer-section h3.footer-title {
  color: #3e2723;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: #3e2723;
  border-radius: 2px;
}

body.dark-mode .footer-section h3.footer-title::after {
  background: #e0e0e0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3e2723;
}

.footer-logo-icon {
  font-size: 2rem;
}

.footer-description {
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.3rem 0;
  border-radius: 5px;
}

.footer-links a:hover {
  color: black;
  transform: translateX(5px);
  background: rgba(255, 107, 107, 0.1);
  padding-left: 0.8rem;
}

.footer-links i {
  font-size: 0.9rem;
  width: 16px;
  opacity: 0.7;
}

.login-btn {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px #402a26;
  border: 2px solid transparent;
  height: 43.6px;
}


.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #624844;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
}

body.dark-mode .login-btn {
  background: #e0e0e0 !important;
  color: #0d0d0d !important;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(224, 224, 224, 0.3);
  border: 2px solid transparent;
}

body.dark-mode .login-btn i {
  color: #0d0d0d !important;
}

body.dark-mode .login-btn span {
  color: #0d0d0d !important;
}

body.dark-mode .nav-actions .login-btn {
  color: #0d0d0d !important;
  background: #e0e0e0 !important;
}

body.dark-mode .nav-actions .login-btn * {
  color: #0d0d0d !important;
}

body.dark-mode .login-btn:hover {
  transform: translateY(-3px);
  background: #f0f0f0 !important;
  color: #0d0d0d !important;
  box-shadow: 0 8px 25px rgba(224, 224, 224, 0.4);
}

body.dark-mode .login-btn:hover i {
  color: #0d0d0d !important;
}

body.dark-mode .login-btn:hover span {
  color: #0d0d0d !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 0px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


.social-link.linkedin {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.social-link.github {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.social-link.portfolio {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.social-link.email {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}


.footer-bottom {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.copyright a {
  color: var(--candy-red);
  text-decoration: none;
  font-weight: 600;
}

.copyright a:hover {
  text-decoration: underline;
}

body.dark-mode .copyright .name {
  color: #ff8a80;
}

.footer-badges {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}



.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-green {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.badge-blue {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.badge-purple {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

body.dark-mode .badge-green {
  background: #e0e0e0;
  color: #0d0d0d;

}

body.dark-mode .badge-blue {
  background: #e0e0e0;
  color: #0d0d0d;
}

body.dark-mode .badge-purple {
  background: #e0e0e0;
  color: #0d0d0d;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

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

body.dark-mode .footer {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer-section h3.footer-title {
  color: #ff8a80;
}

body.dark-mode .footer-logo {
  color: #ff8a80;
}

body.dark-mode .footer-description {
  color: #ccc;
}

body.dark-mode .footer-links a {
  color: #ccc;
}

body.dark-mode .footer-links a:hover {
  color: #ff8a80;
  background: rgba(255, 138, 128, 0.1);
}

body.dark-mode .footer-bottom {
  background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .copyright {
  color: #ccc;
}

body.dark-mode .copyright a {
  color: #ff8a80;
}


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

:root {
  --candy-red: #ff4757;
  --sky-blue: #70a1ff;
  --sunny-yellow: #ffa502;
  --white: #ffffff;
  --light-pink: #ffe0e6;
  --light-blue: #e8f4ff;
  --light-yellow: #fff5e0;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #1a1a1a;
  --dark-card: #2d2d2d;
  --dark-text: #ffffff;
  --dark-border: #404040;
}

body {
  font-family: "Comic Neue", cursive;
  background: #f5f3f1;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  transition: all 0.3s ease;
}

body.dark-mode {
  background-color: #0d0d0d;
}

/* Advanced Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  animation: floatAdvanced 8s ease-in-out infinite;
  opacity: 0.7;
}

.floating-element:nth-child(1) {
  top: 10%;
  left: 5%;
  font-size: 3rem;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 20%;
  right: 10%;
  font-size: 2.5rem;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 15%;
  font-size: 2rem;
  animation-delay: 4s;
}

.floating-element:nth-child(4) {
  bottom: 20%;
  right: 20%;
  font-size: 2.8rem;
  animation-delay: 1s;
}

.floating-element:nth-child(5) {
  top: 50%;
  left: 80%;
  font-size: 2.2rem;
  animation-delay: 3s;
}

.floating-element:nth-child(6) {
  top: 70%;
  left: 10%;
  font-size: 1.8rem;
  animation-delay: 5s;
}

@keyframes floatAdvanced {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }

  25% {
    transform: translateY(-30px) translateX(20px) rotate(5deg) scale(1.1);
    opacity: 0.9;
  }

  50% {
    transform: translateY(-60px) translateX(-10px) rotate(-3deg) scale(0.9);
    opacity: 0.6;
  }

  75% {
    transform: translateY(-20px) translateX(15px) rotate(8deg) scale(1.05);
    opacity: 0.8;
  }
}



/* Sparkle Effect */
.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--sunny-yellow);
  border-radius: 50%;
  animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* ===== STANDARDIZED NAVIGATION BAR ===== */
.navbar {
  background: radial-gradient(circle at center, #e5c5b3, #e9b4b6);
  backdrop-filter: blur(15px);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

body.dark-mode .navbar {
  background: #1e1e1e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

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

.logo {
  font-size: 2rem;
  font-weight: 600;
  color: #3e2723;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Comic Neue", cursive;
  min-width: 150px;
  padding-right: 50px;
}

.logo-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.logo-text {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.logo:hover {
  transform: scale(1.05);
  color: #3e2723;
}

.logo:hover .logo-icon {
  transform: rotate(10deg);
}

body.dark-mode .logo {
  color: #e0e0e0;
}

body.dark-mode .logo:hover {
  color: #e0e0e0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #3e2723;
  font-weight: 600;
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.7rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
}

body.dark-mode .nav-links a {
  color: #e0e0e0 !important;
  background: rgba(111, 100, 91, 0.133) !important;
  border: 2px solid transparent !important;
}

.nav-links a:hover {
  background-color: #f3e0d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(228, 191, 180, 0.3);
  color: #3e2723;
}

body.dark-mode .nav-links a:hover {
  background-color: #0d0d0d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: #1e1e1e !important;
  color: #e0e0e0 !important;
}

/* Active navigation link styles */
.nav-links a.active {
  background: linear-gradient(90deg, #3e2723, #573730, #3e2723) !important;
  color: #ffffff !important;
  border-color: #1e1e1e !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .nav-links a.active {
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border-color: #1e1e1e !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dark-mode-btn {
  background: linear-gradient(135deg, #3e2723, #4d312b);
  border: none;
  color: white;
  padding: 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.dark-mode-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.dark-mode-btn:hover::before {
  width: 100%;
  height: 100%;
}

.dark-mode-btn:hover {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(62, 39, 35, 0.2);
  background: linear-gradient(135deg, #4d312b, #3e2723);
}

body.dark-mode .dark-mode-btn {
  background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
  color: #1e1e1e;
  box-shadow: 0 4px 15px rgba(224, 224, 224, 0.2);
}

body.dark-mode .dark-mode-btn:hover {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  box-shadow: 0 8px 25px rgba(224, 224, 224, 0.3), 0 4px 12px rgba(30, 30, 30, 0.2);
}

.login-btn {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px #402a26;
  border: 2px solid transparent;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #624844;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

body.dark-mode .hamburger span {
  background: #e0e0e0;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.logo {
  font-size: 2rem;
  font-weight: 600;
  color: #3e2723;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Comic Neue", cursive;
  min-width: 150px;
  padding-right: 50px;
  padding-left: 20px;
}

.logo-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.logo-text {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.logo:hover {
  transform: scale(1.05);
  color: #3e2723;
}

.logo:hover .logo-icon {
  transform: rotate(10deg);
}

body.dark-mode .logo {
  color: #e0e0e0;
}

body.dark-mode .logo:hover {
  color: #e0e0e0;
}

@keyframes logoGlow {
  from {
    text-shadow: 2px 2px 8px rgba(255, 71, 87, 0.3);
  }

  to {
    text-shadow: 2px 2px 20px rgba(255, 71, 87, 0.6);
  }
}


.nav-links li:nth-child(1) a.active {
  background-color: #f3e0d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(228, 191, 180, 0.3);
  color: #3e2723;
}

.nav-links li:nth-child(2) a.active {
  background-color: #f3e0d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(228, 191, 180, 0.3);
  color: #3e2723;
}

.nav-links li:nth-child(3) a.active {
  background-color: #f3e0d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(228, 191, 180, 0.3);
  color: #3e2723;
}

.nav-links li:nth-child(4) a.active {
  background-color: #f3e0d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(228, 191, 180, 0.3);
  color: #3e2723;
}

.nav-links li:nth-child(5) a.active {
  background-color: #f3e0d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(228, 191, 180, 0.3);
  color: #3e2723;
}

.dark-mode-btn {
  background-color: #3e2723;
  border: none;
  color: white;
  padding: 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode-btn:hover {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dark-mode-btn {
  background: linear-gradient(45deg, #dcd6cc 0%, #d3d0c1 100%);
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
  margin-top: 3rem;
}

.hero-title {
 
  font-size:clamp(2rem, 6vw, 3rem);
   font-weight:700;
    margin-bottom:1rem;  
    animation:bounce 2s ease-in-out infinite;
}



@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #6b6767;
  margin-bottom: 2rem;
 opacity:0.9;
}



/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

/* Section Cards */
.section-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.section-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
      transparent,
      rgba(255, 71, 87, 0.1),
      transparent);
  animation: rotate 20s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.section-card:hover::before {
  opacity: 1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.section-icon {
  font-size: 3rem;
  margin-right: 1rem;
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3e2723;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-content {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Contributors Section */
.contributors {
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
}

.img {
  font-size: xx-large;
}

.contributor-card h3 {
  text-decoration: underline;
}

.xyz {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
  background: #3e2723;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contributor-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contributor-card {
  background: #fafafa;
  border-radius: 15px;
  padding: 20px;
  width: 220px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contributor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contributor-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #3e2723;
}

.contributor-card h3 a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.contributor-card p {
  font-size: 14px;
  color: #666;
}

/* 📱 Responsive Breakpoints */
@media (max-width: 1200px) {
  .contributor-card {
    flex: 1 1 calc(33.33% - 20px);
    /* 3 cards per row */
  }
}

@media (max-width: 900px) {
  .contributor-card {
    flex: 1 1 calc(50% - 20px);
    /* 2 cards per row */
  }
}

@media (max-width: 600px) {
  .contributor-card {
    flex: 1 1 100%;
    /* 1 card per row */
    max-width: 100%;
  }
}

/* Problem List */
.problem-list {
  list-style: none;
  padding: 0;
}

.problem-item {
  background: rgba(255, 71, 87, 0.1);
  border-left: 4px solid var(--candy-red);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0 15px 15px 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-item::before {
  content: "⚠️";
  margin-right: 1rem;
  font-size: 1.2rem;
}

.problem-item:hover {
  background: rgba(255, 71, 87, 0.2);
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
}

/* How It Works Steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step-card {
  background: linear-gradient(135deg,
      rgba(112, 161, 255, 0.1),
      rgba(255, 165, 2, 0.1));
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(112, 161, 255, 0.2);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--sky-blue);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.step-description {
  color: #666;
  font-size: 1rem;
}

/* Creator Section */
.creator-section {
  background: linear-gradient(135deg,
      rgba(255, 71, 87, 0.1),
      rgba(112, 161, 255, 0.1));
  border-radius: 30px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.creator-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(90deg, #3e2723, #b08968);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  margin: 0 auto 2rem;
  animation: avatarFloat 3s ease-in-out infinite;
  position: relative;
}

.creator-avatar::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--sunny-yellow),
      var(--candy-red),
      var(--sky-blue));
  z-index: -1;
  animation: avatarGlow 4s ease-in-out infinite;
}

@keyframes avatarFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes avatarGlow {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.creator-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3e2723;
  margin-bottom: 1rem;
}

.creator-title {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 2rem;
}

/*.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg,#b08968,#3e2723);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(112, 161, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 0;
}

.social-link:hover::before {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(112, 161, 255, 0.4);
}

.social-link span {
  position: relative;
  z-index: 1;
} */

/* styles for search input for contributors section */
.search-contributer-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

#searchContributer {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #b08968, #3e2723);
  width: 350px;
  margin: 1rem 1rem;
  border-radius: 50px;
  color: #fff;
  outline: none;
  border: none;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
  /* smooth transition */
}

#searchContributer::placeholder {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

#searchContributer:focus {
  border-color: #9b5cf6;
  box-shadow: 0 4px 10px #9b5cf6;
}

/* Back to Top Button Styles */
#backToTop {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2000;
  background: linear-gradient(135deg,
      var(--candy-red),
      var(--sky-blue),
      var(--sunny-yellow));
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.2s;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-10px) scale(1.08);
}

#backToTop:hover {
  background: linear-gradient(135deg,
      var(--sunny-yellow),
      var(--candy-red),
      var(--sky-blue));
  transform: scale(1.15);
}

/* Back to Top to Bottom Button Styles */
#Toptoback {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2000;
  background: linear-gradient(135deg,
      var(--candy-red),
      var(--sky-blue),
      var(--sunny-yellow));
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.2s;
}

#Toptoback.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-10px) scale(1.08);
}

#Toptoback:hover {
  background: linear-gradient(135deg,
      var(--sunny-yellow),
      var(--candy-red),
      var(--sky-blue));
  transform: scale(1.15);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .creator-avatar {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }

  .creator-name {
    font-size: 2rem;
  }
}

@media (min-width: 1101px) {
  .menu-wrapper {
    display: flex !important;
  }
}


.contributors {
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 1100px;
  position: relative;
}

.team-leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  border: 2px solid #cad8fa;
  box-shadow: 0 8px 30px 0 rgba(85, 85, 255, .09);
  padding: 38px 33px 23px;
  max-width: 350px;
  margin: 0 auto 36px auto;
  transition: box-shadow 0.28s, border 0.24s;
  position: relative;
}

.team-leader-card:hover {
  box-shadow: 0 14px 48px 0 rgba(75, 105, 255, 0.15);
  border: 2.2px solid #5379fa;
}

.leader-img-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 3px solid #5b8def;
  background: #fff;
  box-shadow: 0 2px 16px rgba(52, 90, 219, .07);
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.leader-details {
  text-align: center;
}

.leader-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #231c2b;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.leader-role {
  color: #7c7c7c;
  font-size: 1.04rem;
  margin-bottom: 14px;
}

.leader-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 0;
}

.leader-social a.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ececec;
  font-size: 1.43rem;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(60, 100, 190, 0.03);
  background: 0.2s, box-shadow 0.2s, transform .18s;
  padding: 0;
}

.leader-social .social-link.github {
  background: #24292e;
}

.leader-social .social-link.linkedin {
  background: #0077b5;
}

.leader-social a.social-link:hover {
  filter: brightness(1.14);
  transform: scale(1.11);
  box-shadow: 0 5px 16px 0 rgba(44, 68, 186, 0.13);
}

.leader-social i {
  margin-right: 0;
  color: #fff;
}

.contributors-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.contributors-desc {
  font-size: 1.03rem;
  color: #666;
  margin-bottom: 18px;
}

.search-contributer-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

#searchContributer {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #b08968, #3e2723);
  width: 320px;
  border-radius: 50px;
  color: white;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.23);
  transition: box-shadow 0.3s;
  margin-bottom: 12px;
}

#searchContributer::placeholder {
  color: #fff;
}

#searchContributer:focus {
  box-shadow: 0 4px 14px #70a1ff;
}

.contributor-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 6px;
}

.contributor-card {
  background: #f5f6fa;
  border-radius: 15px;
  padding: 14px 14px;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(59, 71, 87, 0.09);
  border: 1.5px solid #e0e6ef;
  transition: transform 0.23s, box-shadow 0.23s;
  cursor: pointer;
  min-height: 140px;
  position: relative;
}

.contributor-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.11);
  background: #fffbe6;
}

.contributor-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2.5px solid #3e2723;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(33, 33, 33, 0.11);
}

.contributor-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contributor-username {
  font-size: 1rem;
  font-weight: 600;
  color: #3e2723;
  margin-bottom: 2px;
}

.contributor-handle {
  color: #888;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.contributor-badge {
  font-size: 0.87rem;
  font-weight: 700;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  color: #fff;
  border-radius: 13px;
  padding: 4px 13px;
  margin-top: 4px;
  box-shadow: 0 2px 9px rgba(59, 71, 87, 0.09);
}

@media (max-width: 900px) {
  .contributors {
    padding: 15px;
  }

  .team-leader-card {
    padding: 14px;
    max-width: 96vw;
  }

  .contributor-cards {
    gap: 14px;
  }

  .contributor-card {
    width: 130px;
    min-height: 110px;
    padding: 8px 7px;
  }
}

@media (max-width: 600px) {
  .contributors {
    margin: 22px auto;
    padding: 7px;
  }

  .team-leader-card {
    padding: 8px 4px 8px;
  }

  .xyz {
    font-size: 1.3rem;
  }

  .contributors-title {
    font-size: 1.1rem;
  }

  .search-contributer-box {
    margin-bottom: 8px;
  }

  .contributor-cards {
    gap: 0.5rem;
    margin-top: 1px;
  }

  .contributor-card {
    width: auto;
    min-height: 90px;
    padding: 3px 2px;
    overflow: scroll;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Dual Scroll Buttons */
.scroll-btn {
  position: fixed;
  right: 2.5rem;
  z-index: 2000;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.2s;
}

.scroll-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}

.scroll-btn:hover {
  transform: scale(1.15);
  background: linear-gradient(45deg, #5d4037, #a4766a);
}

/* Positioning individually */
#scrollTopBtn {
  bottom: 6.5rem;
}

#scrollBottomBtn {
  bottom: 2.5rem;
}

body.dark-mode .scroll-btn {
  background: linear-gradient(45deg, #3498db, #9b59b6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark-mode .scroll-btn:hover {
  background: linear-gradient(45deg, #9b59b6, #3498db);
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #0f172a;
  /* Dark background */
  color: #f8fafc;
  /* Primary text color */
  transition: background-color 0.3s, color 0.3s;
}

/* Hero Section */
body.dark-mode .hero {
  color: #f8fafc;
}

body.dark-mode .hero-title {
  color: #f8fafc;
}

body.dark-mode .hero-subtitle {
  color: #090a0a;
}



body.dark-mode .section-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
}

body.dark-mode .section-header .section-title {
  color: #f8fafc;
}

body.dark-mode .section-content p {
  color: #cbd5e1;
}

/* Scroll Buttons */
body.dark-mode .scroll-btn {
  background-color: #334155;
  color: #f8fafc;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .scroll-btn:hover {
  background-color: #475569;
}

/* Contributors Section */
body.dark-mode .contributors {
  background-color: #1e293b;
  color: #f8fafc;
  padding: 2rem 1rem;
}

body.dark-mode .contributors .xyz,
body.dark-mode .contributors-title,
body.dark-mode .contributors-desc {
  color: #f1f5f9;
}

body.dark-mode .contributors .xyz {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
  background: #e6e2e1;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .team-leader-card {
  background-color: #0f172a;
  border: 1px solid #334155;
}

body.dark-mode .leader-name {
  color: #f8fafc;
}

body.dark-mode .leader-role {
  color: #cbd5e1;
}

body.dark-mode .leader-social a {
  color: #f8fafc;
}

body.dark-mode .search-contributer-box input {
  background-color: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  padding: 0.5rem;
}

body.dark-mode .search-contributer-box input::placeholder {
  color: #94a3b8;
}

body.dark-mode .contributor-cards {
  background-color: transparent;
}

/* Sparkles (optional adjustment for visibility) */
body.dark-mode #sparkles {
  mix-blend-mode: screen;
}

html.dark-mode,
body.dark-mode {
  background-color: #0f172a;
  color: #ffffff;
}

body.about-page.dark-mode,
body.about-page.dark-mode main,
body.about-page.dark-mode section,
body.about-page.dark-mode .container,
body.about-page.dark-mode .section,
body.about-page.dark-mode .content,
body.about-page.dark-mode .main,
body.about-page.dark-mode .wrap,
body.about-page.dark-mode .animate-on-scroll,
body.about-page.dark-mode .animated,
body.about-page.dark-mode .section-card,
body.about-page.dark-mode .section-card .animate-on-scroll,
body.about-page.dark-mode .section-content ::before,
body.about-page.dark-mode .section-content ::after,
body.about-page.dark-mode .section-card .animated,
body.about-page.dark-mode .about-section,
body.about-page.dark-mode .about-wrapper,
body.about-page.dark-mode .contributor-card {
  background-color: #0d0d0d !important;
  color: #e0e0e0 !important;
  background-image: none !important;
}

body.about-page.dark-mode h1,
body.about-page.dark-mode h2,
body.about-page.dark-mode h3,
body.about-page.dark-mode p,
body.about-page.dark-mode a,
body.about-page.dark-mode span,
body.about-page.dark-mode li {
  color: #e0e0e0 !important;
}

body.dark-mode .navbar {
  background: #1e1e1e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .social-link {
  background-color: #e0e0e0;
  color: #0d0d0d;
}

body.dark-mode .social-link a:hover {
  filter: brightness(1.14);
  transform: scale(1.11);
  box-shadow: 0 5px 16px 0 rgba(44, 68, 186, 0.13);


}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dark-mode-btn {
  background: linear-gradient(135deg, #3e2723, #4d312b);
  border: none;
  color: white;
  padding: 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.dark-mode-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.dark-mode-btn:hover::before {
  width: 100%;
  height: 100%;
}

.dark-mode-btn:hover {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(62, 39, 35, 0.2);
  background: linear-gradient(135deg, #4d312b, #3e2723);
}

body.dark-mode .dark-mode-btn {
  background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
  color: #1e1e1e;
  box-shadow: 0 4px 15px rgba(224, 224, 224, 0.2);
}

body.dark-mode .dark-mode-btn:hover {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  box-shadow: 0 8px 25px rgba(224, 224, 224, 0.3), 0 4px 12px rgba(30, 30, 30, 0.2);
}

.login-btn {

  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px #402a26;
  border: 2px solid transparent;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #624844;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
}

.signup-btn {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px #402a26;
  border: 2px solid transparent;
}

.signup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #624844;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
  border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .signup-btn {
  background: #e0e0e0;
  box-shadow: 0 2px 2px #e0e0e0;
}

body.dark-mode .signup-btn:hover {
  background: #e0e0e0;
  box-shadow: 0 2px 2px #e0e0e0;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

body.dark-mode .hamburger span {
  background: #e0e0e0;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Back to Top Button Styles */
#backToTop {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2000;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.2s;
}

body.dark-mode #backToTop {
  background: #e0e0e0;
  color: #0d0d0d;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}

#backToTop:hover {
  background: linear-gradient(45deg, #a4766a, #5d4037);
  transform: scale(1.15);
}

/* Back to Top to Bottom Button Styles */
#Toptoback {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2000;
  background: linear-gradient(45deg, #a4766a, #5d4037);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.2s;
}

body.dark-mode #Toptoback {
  background: #e0e0e0;
  color: #0d0d0d;
}

#Toptoback.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-10px) scale(1.08);
}

#Toptoback:hover {
  background: linear-gradient(45deg, #a4766a, #5d4037);
  transform: scale(1.15);
}

body.dark-mode #Toptoback:hover {
  background: #e0e0e0;
  transform: scale(1.15);
}

/* ===== STANDARDIZED MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 6rem;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    gap: 0;
    z-index: 999;
  }

  body.dark-mode .nav-links {
    background: #1a1a1a !important;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 90%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    margin-bottom: 0;
    background: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: #3a3a3a !important;
    color: #ffffff !important;
  }

  /* Mobile navigation active state */
  .nav-links a.active {
    background: #0d0d0d !important;
    color: #ffffff !important;
  }

  .nav-actions {
    gap: 0.5rem;
    position: relative;
    z-index: 1001;
  }

  .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .dark-mode-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo-icon {
    font-size: 1.7rem;
  }
}

/* ===== STANDARDIZED SMALL MOBILE NAVIGATION ===== */
@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

  .nav-actions {
    gap: 0.3rem;
  }

  .login-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .dark-mode-btn {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* Add this new media query block */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    flex-grow: 1;
    /* Allows links to take up available space */
    justify-content: space-around;
    /* Distributes links evenly */
  }

  .nav-links a {
    padding: 0.5rem 0.8rem;
    /* Reduces padding for a tighter fit */
  }

  .nav-actions {
    gap: 0.8rem;
    /* Reduces space between buttons */
  }
}

/* Main Content */
.main-content {
  margin-top: 100px;
  transition: all 0.3s ease;
  padding: 2rem;
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.dark-mode .hero-section {
  background: #1e1e1e;
  box-shadow: 0 2px 2px #1e1e1e;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  animation: shimmer 3s linear infinite;
}

.hero-title {
  font-weight: 700;
  background: linear-gradient(90deg, #3e2723, #4d312b, #3e2723);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

body.dark-mode .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: #e0e0e0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
  transition: color 0.3s ease;
}

body.dark-mode .hero-subtitle {
  color: #e0e0e0;
}

.cta-button {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

body.dark-mode .cta-button {
  background: rgba(220, 121, 63, 0.893);
  color: #e0e0e0;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 2px rgba(220, 121, 63, 0.893);
  animation: pulse 2s ease-in-out infinite;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

/* Decorative Elements */
.baking-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.baking-icon {
  position: absolute;
  font-size: 3rem;
  color: var(--candy-red);
  opacity: 0.3;
  animation: wobble 4s ease-in-out infinite;
}

.icon-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.icon-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.icon-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

.icon-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}


/* Footer */
.footer {
  background: radial-gradient(circle at center, #e9b4b6, #e5c5b3);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 4rem;
}

body.dark-mode .footer {
  background: #1e1e1e;
}

.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 2rem 2rem;
}

.footer-section h3.footer-title {
  color: #3e2723;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

body.dark-mode .footer-section h3.footer-title {
  color: #e0e0e0;
}

.footer-section h3.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: #3e2723;
  border-radius: 2px;
}

body.dark-mode .footer-section h3.footer-title::after {
  background: #e0e0e0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3e2723;
}

body.dark-mode .footer-logo {
  color: #e0e0e0;
}

.footer-logo-icon {
  font-size: 2rem;
}

.footer-description {
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

body.dark-mode .footer-description {
  color: #a0a0a0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.3rem 0;
  border-radius: 5px;
}

body.dark-mode .footer-links a {
  color: #a0a0a0;
}

.footer-links a:hover {
  color: black;
  transform: translateX(4px);
  background: rgba(255, 107, 107, 0.1);
  padding-left: 0.8rem;
}

body.dark-mode .footer-links a:hover {
  color: #a0a0a0;
  background: rgba(255, 138, 128, 0.1);
}

.footer-links i {
  font-size: 0.9rem;
  width: 16px;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

body.dark-mode .footer-bottom {
  background: #1e1e1e;
}

.footer-bottom-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #333;
  font-size: 0.9rem;
  margin: 0;
}

body.dark-mode .copyright {
  color: #a0a0a0;
}

.copyright .name {
  color: #3e2723;
  font-weight: 600;
}

body.dark-mode .copyright .name {
  color: #ef6154 !important;
}

.footer-badges {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-green {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.badge-blue {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

.badge-purple {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
}

body.dark-mode .badge-green {
  background: #e0e0e0;
  color: #0d0d0d;
}

body.dark-mode .badge-blue {
  background: #e0e0e0;
  color: #0d0d0d;
}

body.dark-mode .badge-purple {
  background: #e0e0e0;
  color: #0d0d0d;
}

body.dark-mode .footer-badges .badge {
  background: #ffffff !important;
  /* white pill */
  color: #000000 !important;
  /* black text */
}

body.dark-mode .footer-badges .badge i {
  color: #000000 !important;
  /* black icons */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ===== STANDARDIZED MOBILE NAVIGATION ===== */
@media (max-width: 1242px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 6rem;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    gap: 0;
    z-index: 999;
  }

  body.dark-mode .nav-links {
    background: #1a1a1a !important;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 90%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    margin-bottom: 0;
    background: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: #3a3a3a !important;
    color: #ffffff !important;
  }

  /* Mobile navigation active state */
  .nav-links a.active {
    background: #0d0d0d !important;
    color: #ffffff !important;
  }

  .nav-actions {
    gap: 0.5rem;
    z-index: 1001;
    position: absolute;
    right: 5rem;
  }

  .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .dark-mode-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo-icon {
    font-size: 1.7rem;
  }
}

/* ===== STANDARDIZED SMALL MOBILE NAVIGATION ===== */
@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

  .nav-actions {
    gap: 0.3rem;
  }

  .login-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .dark-mode-btn {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 100px 15px 40px;
  }

  .faq-title {
    font-size: 2.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section h3.footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

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

  .social-links {
    justify-content: center;
  }


  @media (max-width: 480px) {
    .navbar {
      padding: 0.5rem;
    }

    .logo {
      font-size: 1.3rem;
    }

    .logo-icon {
      font-size: 1.5rem;
    }

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

    .faq-question {
      padding: 15px;
      font-size: 1.1rem;
    }

    .faq-answer p {
      padding: 12px 0;
      font-size: 0.95rem;
    }
  }

  /*dark mode*/

  body.dark-mode .footer-content {
    background-color: #1e1e1e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .footer-section h3.footer-title {
    color: #e0e0e0;
  }

  body.dark-mode .footer-logo {
    color: #e0e0e0;
  }

  body.dark-mode .footer-description {
    color: #a0a0a0;
  }

  body.dark-mode .footer-links a {
    color: #e0e0e0;
  }

  body.dark-mode .footer-links a:hover {
    color: #a0a0a0;
    background: rgba(255, 138, 128, 0.1);
  }

  body.dark-mode .footer-bottom {
    background: #1e1e1e;
  }

  body.dark-mode .copyright {
    color: #a0a0a0;
  }

  body.dark-mode .copyright .name {
    color: #ef6154;
  }
}

/* 📱 Mobile Responsive Tweaks */
@media (max-width: 768px) {
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns on tablet */
    gap: 20px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 500px) {
  .footer-content {
    grid-template-columns: 1fr;
    /* stack sections on mobile */
    text-align: center;
  }

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

  .social-links {
    justify-content: center;
  }

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

/* Login Modal */
#loginModal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 4, 4, 0.715);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 550px;
  width: 90%;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px #402a26;
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: rgba(255, 107, 107, 0.1);
  color: var(--candy-red);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  background: linear-gradient(90deg, #3e2723, #4d312b, #3e2723);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .form-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  background: #e0e0e0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-container {
  background: #c9c6c68a;
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid transparent;
}

.form-container:focus-within {
  box-shadow: 0 3px 0 0 rgba(90, 89, 89, 0.392);
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  position: relative;
  overflow: hidden;
}

.input-wrapper:focus-within {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(2, 162, 151, 0.1);
  transform: translateY(-1px);
}

.input-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(78, 205, 196, 0.05), rgba(255, 107, 107, 0.05));
  transition: width 0.3s ease;
  z-index: 1;
}

.input-wrapper:focus-within::before {
  width: 100%;
}

.input-icon {
  margin-right: 12px;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: color 0.3s ease;
  z-index: 2;
  position: relative;
}

.input-wrapper:focus-within .input-icon {
  color: var(--sky-blue);
}

.form-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  z-index: 2;
  position: relative;
}

.form-input::placeholder {
  color: #3f3f3f;

}

.form-input:focus::placeholder {
  opacity: 0.7;
  transform: translateY(-2px);
  transition: all 0.1s ease;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  letter-spacing: 1px;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
  transition: left 0.5s;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #402a26;
}

.submit-btn:hover::before {
  left: 100%;
}

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

.toggle-form {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
}

.toggle-link {
  color: #734e47;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.toggle-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #734e47;
  transition: width 0.3s ease;
}

.toggle-link:hover {
  color: #835951;
}

.toggle-link:hover::after {
  width: 100%;
  background: #835951;
}

/* Show/Hide Password */
.password-toggle {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  margin-left: 8px;
  transition: color 0.3s ease;
  z-index: 2;
  position: relative;
}

.password-toggle:hover {
  color: var(--sky-blue);
}

.signup-btn {
  background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
  text-align: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signup-btn:hover {
  background: linear-gradient(90deg, #543732, #3d2b28, #341d19);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.7rem;
  }
}