/* VOTEEASE DASHBOARD THEME — TEAL VERSION */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9fafb;
  color: #333;
  scroll-behavior: smooth;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 80px;
  background:linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-image {
  height: 60px; /* Adjust size as needed */
  width: auto;
}

.logo-text {
  font-size: 1.7rem;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  cursor: pointer;
  color: #0f766e;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover {
  color: #333;
}

/* Active link */
nav ul li a.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background-color: #28a745;
    color: white;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight:600 ;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: #228b3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: #3168e1;
    color: white;
}

.btn-secondary:hover {
    background-color: #2c5dc8;
}

/* USER DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

.nav-user {
  color: #ffffff;
  font-weight: 500;
}


.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1000;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f0fdfa; /* light teal hover */
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HERO SECTION */
.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.hero-section {
    text-align: center;
    border-radius: 20px;
    padding-bottom: 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #333;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* For responsive design */
@media (max-width: 768px) {
  .logo-image {
    height: 32px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
}
/* FEATURES */
.features-section {
    padding: 2rem 0;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

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

/* ABOUT SECTION */
.about {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05em;
  color: #333;
  line-height: 1.7;
}


/* SERVICES */
.services {
  background-color: #f9fafb;
  padding: 80px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease;
}

.service-card h3 {
  color: #333;
  margin-bottom: 10px;
}

.service-card p {
  color: #333;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* CONTACT */
.contact {
  background-color: #f9fafb;
  padding: 80px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info div {
  background: white;
  padding: 25px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 1em;
  color: #333;
}

/* FOOTER */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

/* MOBILE NAV */
/* MOBILE NAV - FIXED VERSION */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 12px 20px;
  }

  .menu-toggle {
    display: block;
    color: #fff; /* Changed from #333 to white */
  }

  .nav-right {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); /* Match navbar gradient */
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
    transition: all 0.3s ease;
  }

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

  nav ul {
    flex-direction: column;
    width: 100%;
    padding-left: 20px;
  }

  nav ul li {
    margin-bottom: 5px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff; /* Changed from #333 to white */
    font-weight: 500;
  }
  
  nav ul li a:hover {
    color: rgba(255, 255, 255, 0.8); /* Light hover effect */
  }
  
  .btn-login {
    margin-left: 20px;
    margin-top: 10px;
  }

  .user-info,
  .dropdown {
    margin-left: 20px;
  }

  .dropdown {
    margin-top: 10px;
  }
  
  /* Keep dropdown content white for contrast */
  .dropdown-content {
    background-color: white;
  }
  
  .dropdown-content a {
    color: #333;
  }
}

/* CONFIRMATION BOX */
.confirmation-box {
  max-width: 700px;
  margin: 60px auto;
  background-color: #ecfdf5;
  border: 1px solid #0f766e;
  border-radius: 10px;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
