.hero-cont{
    .hero-row{
        height:100%;
        width: 100%;
        margin-top: 20px;
        max-height: 100vw;
        background-repeat: no-repeat;
        background-size: contain;
        h1{
            z-index: 8;
        }
    }

    .hero-image{
        display: flex;
        align-items: center;
    }

    img{
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

    .hero-text{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        padding: 0 25px;
        h1{
            margin-bottom: 15px;
        }
        p{
          font-size: 18px;

        }
    }
    .buttons{
        margin-top: 30px;
        align-self: flex-start;
        display: flex;
        flex-direction: row;
        row-gap: 15px;
        flex-wrap: wrap;
        .ccgg-btn{
            margin-right: 15px;
            width: 33%;  
            font-size: 16px;
        }
    }

    .hero-text-index{
      .row{
      flex-direction: row;

      }
      .ccgg-btn{
        width: 100%;
      }
    }
    /* .hero-col::after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(240, 240, 240, 0.4);
    } */
}

body{
    background-color: #eeeeee !important;
    color: #EEBA2B;
    .navbar-expand-lg .navbar-toggler{
    }

    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
        color: #EEBA2B;
    }

    h1{
        font-size: 4rem;
        align-self: flex-start;
    }

    p{
        font-size: 1rem;
        color: #4d4d4d;
    }

}

body .ccgg-btn{
    background-color: #EEBA2B;
    color: #FFFFFF;
    font-size: 24px;
    border-color: transparent;
    transition: all 0.3s;
    text-transform: uppercase;
    padding: 10px 20px;
    font-weight: 700;
}

body .ccgg-btn:hover{
    background-color: #FFFFFF;
    color: #EEBA2B;
    border-color: transparent;
    border-color: #EEBA2B;
}

body .ccgg-btn-reverse{
    background-color: #FFFFFF;
    color: #EEBA2B;
}
body .ccgg-btn-reverse:hover{
    background-color: #EEBA2B;
    color: #FFFFFF;
}
.question-container{
    margin-top: 150px;
}

.question-container .accordion-button:not(.collapsed){
    background-color: transparent;
    color: black;
    box-shadow: none;
}
.question-container .accordion-button:focus{
    box-shadow: none;
}

.question-col{
    padding-top: 50px;
    h2{
        color: #4d4d4d;
        text-align: center;
    }
    .candidates-div{
        display: flex;
        margin-top: 45px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        column-gap: 35px;
        row-gap: 15px;

        a{
          margin-top: 20px;
          display: flex;
          flex-direction: column;
          align-items: center;
          font-size: 24px;
          font-weight: 700;
          text-decoration: none;
          color: #4d4d4d;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          padding: 10px;
          border-radius: 10px;
          
          span{
            margin-top: 10px;
          }

          img{
            max-width: 242px;
            width: 100%;
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid transparent;
            transition: border-color 0.3s ease;
          }
          
          &:hover:not([style*="pointer-events: none"]) {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            
            img {
              border-color: #EEBA2B;
            }
          }
        }

    }
}

.candidate-hero{
    img{
        max-width: 800px;
        width: 100%;
        height: auto;
    }
    .hero-row{
        max-height: 90vw;
    }

    .candidate-hero-img{
        text-align: center; 

    }
}

.back-btn {
    margin-bottom: 15px;
    background-color: #EEBA2B;
    color: white;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.back-btn svg {
    margin-right: 8px;
}

.back-btn:hover {
    background-color: #d6a725;
    color: white;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-cont .hero-row {
    max-height: 60vw;
  }
  .candidate-hero .hero-row {
    max-height: 60vw;
  }
}

@media (max-width: 992px) {
  .hero-cont .hero-row {
    max-height: none;
  }
  .hero-cont img {
    height: auto;
    max-width: 100%;
  }
  .hero-cont .hero-text h1 {
    font-size: 2.5rem;
  }
  .question-container {
    margin-top: 80px;
  }
  .question-col {
    padding-top: 30px;
  }
}

@media (max-width: 768px) {

  .hero-cont img {
    height: auto;
    max-width: 100%;
    max-width: 400px;
  }

  .hero-cont .hero-text h1 {
    font-size: 32px;
    margin-top: 25px;
    font-weight: bolder;
  }
  .hero-cont {
    .buttons {
        .ccgg-btn {
            margin-right: 15px;
            width: 42%;
            font-size: 14px;
        }
    }
  }

  .hero-cont {
    .buttons {
      width: 100%;
    }
  }
  .hero-cont .hero-row {
    align-items: center;
    padding: 0 10px;
  }
  .hero-cont .hero-text {
    padding: 0 10px;
    align-items: center;
  }
  .hero-cont .hero-text h1 {
    font-size: 2rem;
    text-align: center;
    align-self: center;
  }
  .hero-cont .buttons {
    align-self: center;
    margin-top: 20px;
    flex-direction: row;
    gap: 10px;
  }
  .hero-cont .ccgg-btn {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    font-size: 18px;
  }
  .question-container {
    margin-top: 40px;
  }
  .question-col .candidates-div {
    column-gap: 15px;
    row-gap: 15px;
  }


}

@media (max-width: 576px) {
  .hero-cont .hero-row {
    padding: 0 5px;
    margin: auto;
  }
  .hero-cont .hero-text h1 {
    font-size: 1.5rem;
  }
  .question-col h2 {
    font-size: 1.2rem;
  }
  .question-col .candidates-div {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    a{
        text-align: center;
    }
  }
  body .ccgg-btn, body .ccgg-btn-reverse {
    font-size: 16px;
    padding: 8px 10px;
  }

  .hero-cont img {
    height: auto;
    max-width: 100%;
    max-width: 400px;
    margin-top: 20px;
  }
  

  .hero-cont .hero-text h1 {
    font-size: 32px;
    margin-top: 25px;
    font-weight: bolder;
  }

  .hero-cont {
    .buttons {
        .ccgg-btn {
            margin-right: 15px;
            width: 45%;
        }
    }
  }
}

@media (max-width: 425px) {
  
  .hero-cont {
    .buttons {
        .ccgg-btn {
            margin-right: 15px;
            width: 100%;
        }
    }
  }
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: #EEBA2B !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: #4d4d4d !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #EEBA2B !important;
}

.navbar-toggler {
    border: 2px solid #EEBA2B;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(238, 186, 43, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #FFFFFF;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }
    
    .navbar-nav {
        align-items: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
}

.candidate-available {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #EEBA2B;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
  white-space: nowrap;

  .badge{
    margin-top: 0 !important;
    padding: 0 !important;
  }
}

.question-col .candidates-div a {
  position: relative;
}