
#home {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 500px;
  background: url( '/assets/img/hero.jpg' ) center/cover;
  text-align: center;
}

#home:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}

#home .container {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

#home h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 60px;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#home p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--white);
}



#graphe {
  padding: 200px 0 50px 0;
  background-color: var(--dark-bg100);
}

#graphe .countdown-container {
  position: absolute;
  top: -290px;
  left: 10px; right: 10px;
  margin: auto;
  max-width: 1000px;
  padding: 20px;
  background-color: var(--dark-bg);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 2;
}

#graphe .countdown-title {
  text-align: center;
  color: var(--dark-bg600);
  margin-bottom: 20px;
  font-size: 2.5em;
}

#graphe .countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

#graphe .countdown-item {
  background-color: var(--black);
  border-radius: 10px;
  padding: 15px;
  cursor: default;
  transition: transform 0.2s ease;
}

#graphe .countdown-item:hover {
  transform: scale(1.05);
}

#graphe .countdown-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
}

#graphe .countdown-label {
  text-transform: uppercase;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

#graphe #myChart {
  width: 100%;
  max-height: 600px;
}



#candidate {
  padding: 50px 0;
}

#candidate .candidates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

#candidate .candidate-card {
  position: relative;
  background-color: var(--dark-bg100);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

#candidate .candidate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#candidate .crown-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

#candidate .boximg {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--dark-bg200);
  overflow: hidden;
}

#candidate .boximg .candidate-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#candidate .candidate-info {
  padding: 1.5rem;
}

#candidate .candidate-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Bree Serif';
  color: var(--white);
}

#candidate .candidate-number {
  display: inline-block;
  background-color: var(--gold-dark);
  color: var(--dark-bg);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
}

#candidate .candidate-desc {
  color: var(--light-bg200);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

#candidate .vote-count {
  display: flex;
  align-items: center;
  margin: auto;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--gold-medium);
  background: var(--black);
  font-weight: 600;
}

#candidate button.btn-vote {
  cursor: pointer;
  border: none;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: 700;
  width: 100%;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark-bg);
  transition: 0.2s;
}

#candidate button.btn-vote:hover {
  color: var(--black);
  background: var(--gold);
}

#how-it-works {
  padding: 80px 0;
  background-color: var(--dark-bg100);
}

#how-it-works .steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
}

.view-more {
  margin: auto;
}

#how-it-works .steps .step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px;
  margin: 10px;
  background: rgba(26, 26, 26, 0.7);
  border-radius: 10px;
  border: 1px solid var(--gold-dark);
  transition: all 0.3s ease;
}

#how-it-works .steps .step:hover {
  transform: translateY(-5px);
}

#how-it-works .steps .step-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: var(--gold-medium);
  color: var(--dark-bg);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 32px;
  font-weight: 700;
}

#how-it-works .steps .step h3 {
  color: var(--gold-light);
  margin-bottom: 15px;
  font-size: 20px;
}

#how-it-works .steps .step p {
  color: var(--light-bg200);
  font-size: 15px;
  line-height: 1.6;
}

    
#packages {
  padding: 80px 0;
}

#packages .package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

#packages .package-card {
  background: linear-gradient(145deg, var(--dark-bg200), var(--dark-bg100));
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: 1px solid var(--gold-dark);
  transition: all 0.3s ease;
}

#packages .package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

#packages .package-card h3 {
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 15px;
}

#packages .package-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-medium);
  margin-bottom: 20px;
}

#packages .package-price span {
  font-size: 16px;
  color: var(--light-bg200);
}

#packages .package-features {
  margin-bottom: 25px;
}

#packages .package-features li {
  margin-bottom: 10px;
  color: var(--light-bg100);
  list-style: none;
}

#packages .package-card .btn {
  width: 100%;
}



@media all and (max-width: 800px) {
   #graphe .countdown-container {
    top: -230px;
    padding: 15px;
  }
  #graphe {
    padding-top: 180px;
  }
   #graphe .countdown-title {
    margin-bottom: 10px;
    font-size: 2em;
  }
   #graphe .countdown-grid {
    gap: 10px;
  }
   #graphe .countdown-item {
    padding: 10px 15px;
  }
   #graphe .countdown-number {
    font-size: 2rem;
    margin-bottom: 5px;
  }
   #graphe .countdown-label {
    font-size: 0.7rem;
    letter-spacing: 0px;
  }
  
}

@media all and (max-width: 550px) {
  #home h1 {
  font-size: 40px;
  margin-bottom: 15px;
  line-height: 55px;
  }
  #home p {
    font-size: 16px;
    margin-bottom: 30px;
  }
   #graphe .countdown-container {
    top: -160px;
    padding: 10px;
    border-radius: 7px;
  }
  #graphe {
    padding-top: 130px;
  }
   #graphe .countdown-title {
    margin-bottom: 7px;
    font-size: 1.6em;
  }
   #graphe .countdown-grid {
    gap: 5px;
  }
   #graphe .countdown-item {
    padding: 5px 10px;
  }
   #graphe .countdown-number {
    font-size: 1.6rem;
    margin-bottom: 0px;
  }
   #graphe .countdown-label {
    font-size: 0.5rem;
  }
  
}

