/* Show it is fixed to the top */

@font-face {
  font-family: "citi_sanstext_regular";
  src: url("https://www.techgig.com/files/techgig_resource/external_fonts_library/citi-sans-text-regular-webfont.woff2")
      format("woff2"),
    url("https://www.techgig.com/files/techgig_resource/external_fonts_library/citi-sans-text-regular-webfont.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "citi_sanstext_regular";
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-family: "citi_sanstext_regular";
  line-height: 1.2;
}
p {
  font-family: "citi_sanstext_regular";
}
.top_nav {
  height: 56px;
  background-color: #fff;
  padding-left: 30px;
  min-height: 44px;
  border-radius: 10px 10px 0px 0px;
  background: #fff;
  box-shadow: 0px 2px 8px 0px rgba(60, 64, 67, 0.25);
  top: 30px;
}
.top_nav img {
  padding-top: 18px;
  width: 160px;
}
.menu-bar {
  background-color: #0f1632;
  width: 100%;
  border-radius: 0px 0px 12px 12px;
  padding: 0;
  padding-left: 22px;
}

.menu-bar a {
  color: #fff !important;
  font-size: 16px;
  font-family: "citi_sanstext_regular";
}
.menu-bar a:hover {
  color: #fff;
}
.menu-bar .navbar-nav .nav-item {
  position: relative;
  padding: 0 18px;
  line-height: 30px;
}

.menu-bar .navbar-nav .nav-item::after {
  content: "";
  border-bottom: solid 3px #fff;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  display: none; /* Hidden by default */
}

.menu-bar .navbar-nav .nav-item:hover::after,
.menu-bar .navbar-nav .nav-item.active::after {
  display: block; 
}


.menu-bar .active {
  border-bottom: solid 3px;
  padding-bottom: 0px;
}

.menu-bar .navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0px;
}

.hero_sec {
  border-radius: 20px;
  background-image: url(https://www.techgig.com/files/contest_upload_files/hero_ct_banner.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding-left: 80px;
  padding-right: 23em;
  width: 98%;
  margin: 12px auto 0;
  padding-bottom: 55px;
}

.hero_sec h1 {
  font-size: 32px;
  padding-top: 7em;
  margin-bottom: 15px;
  font-weight: 400;
}

.hero_sec h3 {
  font-size: 21px;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero_sec p {
  font-size: 21px;
}

.tabs {
  padding-left: 80px;
  flex-wrap: wrap;
  border-radius: 5px;
}
.tab-button {
  flex: 1;
  padding: 10px;
  cursor: pointer;
  color: #bcc5c9;
  border-bottom: solid 2px #bcc5c9;
  background-color: #fff;
  border: none;
  text-align: center;
  transition: background 0.3s;
}

.tab-button {
  padding: 10px 20px;
  border-bottom: 3px solid #ccc; /* Default Inactive Border */
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  margin-right: 26px;
}

.tab-button.active {
  color: #255be3;
  border-bottom: #255be3 solid 2px;
}

.tab-content {
  display: none;
  padding: 15px;
  margin-top: 25px;
  padding-left: 80px;
  border-radius: 5px;
  background: white;
  margin-bottom: 4rem;
}

.tab-content p {
  font-size: 21px;
}

.tab-content.active {
  display: block;
}

.track {
  padding-top: 4rem;
}

.participate_btn {
  background-color: #255be3;
  padding: 10px 20px 10px 20px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  margin-top: 20px;
  display: inline-block;
}
.participate_btn:hover {
  background-color: #255be3;
  padding: 10px 20px 10px 20px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  border-radius: 24px;
  margin-top: 20px;
  display: inline-block;
}

.rewards {
  background-color: #f0f5f7;
  padding: 5rem 3rem 5rem 6rem;
}

.rewards h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 3.3px;
  text-transform: uppercase;
}

.first,
.runner_up,.participant {
  border-right: solid 1.5px #bcc5c9;
  margin-right: 27px;
  padding: 22px 0;
}

.participant {
  border-right:0;
}

.first h3 {
  color: #255be3;
  font-size: 46px;
  font-weight: 700;
  line-height: 42px;
}

.first p {
  color: #255be3;
  font-weight: 700;
  font-size: 22px;
  margin: 0;
}

.runner_up h3 {
  color: #388a42;
  font-weight: 700;
  font-size: 46px;
  line-height: 35px;
}

.runner_up p {
  color: #388a42;
  font-size: 22px;
  font-weight: 700;
}

.participant h3 {
  color: #460303;
  font-weight: 700;
  font-size: 46px;
  line-height: 42px;
}

.participant p {
  color: #460303;
  font-weight: 700;
  font-size: 22px;
}
.crds {
  padding-bottom: 3rem;
}
.citi_crds {
  background-color: #0f1632;
  border-radius: 20px;
  padding: 2rem;
  min-height: 715px;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.city_cards_container{
  display: flex;
  gap: 24px;
  justify-content: center;
}

.city_cards_container > div{
  width: 38%;
}

.citi_crds img {
  width: 100%;
  border-radius: 20px;
  padding-bottom: 2rem;
}

.citi_crds h3 {
  color: #fff;
  font-size: 32px;
}

.citi_crds p {
  text-align: justify;
  color: #fff;
}

.mg {
  display: flex;
  justify-content: center;
}

.citi_certificate {
  background-color: #f0f5f7;
  padding: 5.5rem 10rem;
}

.certificate-img{
  display: flex;
  justify-content: center;
  align-items: center;
}

.citi_certificate .certificate-content{
  padding-left: 82px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.cards {
  padding-top: 1rem;
  padding-bottom: 0rem;
  margin-bottom: 3rem;
}
.citi_certificate img {
  width: 100%;
}
.testimonials {
  padding-top: 3rem;
}
.citi_certificate h2 {
  font-size: 28px;
}
.citi_certificate p {
  font-size: 18px;
  margin: 0;
  text-align: justify;
  margin-top: 20px;
}

.event {
  padding: 2rem;
  background-color: #fff;
}

.event_block {
  background-color: #f0f5f7;
  border-radius: 20px;
  display: flex;
  margin: 0px auto;
  width: 65%;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
  padding: 20px 50px;
  height: 122px;
  align-items: center;
}

.event_block h3 {
  font-size: 28px;
  margin: 0px;
  padding: 0px;
  text-align: left;
}
.event_block span {
}
.event_block p {
  font-size: 28px;
  margin: 0px;
  padding: 0px;
  color: #255be3;
  text-align: left;
}

.time {
  font-size: 20px;
  display: block;
  text-align: left;
  margin: 0px;
  padding: 0px;
}
.round {
  font-size: 20px;
  text-align: left;
  display: block;
  margin: 0px;
  padding: 0px;
  color: #255be3;
}

.event h2 {
  padding-top: 1em;
  padding-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.menu-bar img {
  width: 45px;
}
.img-card {
  padding-bottom: 40px;
  margin-top: 3rem;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: inherit;
}
.testimonials_card {
  background-color: #f5f4f4;
  border-radius: 27px;
  padding: 40px 46px 0px 37px;
  min-height: 615px;
  max-height: 800px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.navbar-toggler {
  padding: 0px;
  float: right;
  margin-right: 17px;
}
#mainNav .navbar-nav .nav-item .nav-link.active {
  border-bottom: solid 3px;
  padding-bottom: 0px;
}
.testimonials_card p {
  font-size: 18px;
  text-align: justify;
}

.speekers-name {
  padding: 36px 0px;
}
.testimonials-speeker {
  width: 49px;
  height: 49px;
  margin-top: 0px;
}
.testimonials-image img {
  border-radius: 100%;
  border: 1px solid #d6d6d6;
  width: 70px;
  height: 70px;
}
.testimonials-name h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  margin-top: 6px;
  color: #000000;
}
.testimonials-name p {
  padding: 0px;
  color: #000000;
  line-height: 18px;
  font-weight: 400;
  font-size: 11px;
  height: auto;
  margin: 0;
}
.testimonials-name span {
  display: block;
  color: #636464;
}
.testimonials-name {
  padding: 0px 0px 0px 24px;
}

footer {
  padding: 10rem 0 6rem;
}
footer img {
  padding-right: 1.5rem;
  height: auto;
}
footer span {
  font-size: 18px;
  padding-bottom: 12px;
}

footer p {
  font-size: 15px;
  margin: 0;
  padding-bottom: 12px;
}

@media (max-width:998px){
  .hero_sec{
    padding: 20px 30px;
  }
  .tabs, .tab-content{
    padding-left: 30px;
  }

  .citi_certificate .container > div{
    gap: 25px;
  }

  .citi_certificate .certificate-content{
    padding:0 25px;
  }

  .event_block{
    width: 100%;
    flex-direction: column-reverse;
    height: auto;
    gap: 16px;
    justify-content: center;
  }

  .testimonials_card{
    margin-bottom: 16px;
    max-height: unset;
    min-height: unset;
  }

  .event_block p,.event_block h3, .event_block span{
    text-align: center;
  }

  .testimonials .container > div, .citi_certificate .container > div{
    flex-wrap: wrap;
    flex-direction: column;
  }

  .testimonials .container > div > div, .citi_certificate .container > div> div{
    width: 100%;
  }

  .round{
    display: inline;
  }
}

@media (max-width:800px){
  .city_cards_container {
    flex-direction: column;
    /* gap: 0; */
  }
  .citi_crds{
    margin: 0;
  }
  .city_cards_container > div{
    width: 100%;
  }
}

@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
  }
  .tab-button {
    width: 100%;
    margin-right: 0px;
    padding: 8px 7px;
    margin-right: 5px;
  }
  .citi_certificate img{
    width: 100%;
  }

  footer{
    padding: 2rem 0;
  }

  .testimonials{
    padding-top: 0;
  }

  .track{
    padding-top: 2rem;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .citi_certificate img {
    width: 100%;
  }
  .citi_certificate {
    background-color: #f0f5f7;
    padding: 3em 10px;
  }

  .event_block {
    background-color: #f0f5f7;
    border-radius: 20px;
    display: inline-block;
    margin: 0px auto;
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
  }

  .hero_sec {
    border-radius: 20px;
    background-image: url(https://www.techgig.com/files/contest_upload_files/hero_ct_banner.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-left: 10px;
    padding-right: 0px;
  }

  .hero_sec h1 {
    font-size: 24px;
    padding-top: 3em;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 1px;
  }
  .hero_sec h3 {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 700;
  }
  .hero_sec p {
    font-size: 16px;
  }
  .tabs {
    padding-left: 0px;
    flex-wrap: wrap;
    border-radius: 5px;
  }
  .tab-button {
    width: auto;
    font-size: 14px;
  }
  .tab-content {
    display: none;
    padding: 15px;
    margin-top: 10px;
    padding-left: 0px;
    border-radius: 5px;
    background: white;
    margin-bottom: 4rem;
  }
  .tab-content p {
    font-size: 16px;
  }
  participate_btn {
    background-color: #255be3;
    padding: 10px 20px 10px 20px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    margin-top: 20px;
    display: inline-block;
  }
  .rewards {
    background-color: #f0f5f7;
    padding: 2rem 2rem 2rem 2rem;
  }
  .first,
  .runner_up,
  .participant {
    margin-bottom: 4em;
  }
  .citi_crds {
    background-color: #0f1632;
    border-radius: 20px;
    padding: 2rem;
    min-height: auto;
  }
  .citi_certificate h2 {
    font-size: 20px;
  }
  .citi_certificate p {
    font-size: 18px;
  }
  .event_block h3 {
    font-size: 20px;
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
  }
  .event_block p {
    font-size: 16px;
    margin: 0px;
    padding: 0px;
    color: #255be3;
  }
  .time {
    font-size: 14px;
    display: block;
    margin-top: 5px;
    text-align: left;
    margin: 0px;
    padding: 0px;
  }
  .testimonials_card {
    background-color: #f5f4f4;
    border-radius: 27px;
    padding: 40px 46px 0px 37px;
    margin-bottom: 27px;
    height: auto;
  }
  footer img {
    padding-right: 0px;
    width: 80px;
  }
  footer span {
    font-size: 15px;
  }
  footer p {
    font-size: 13px;
  }
  footer {
    padding-top: 2rem;
  }

  .first h3 {
    color: #255be3;
    font-size: 30px;
    font-weight: 700;
    line-height: 20px;
  }

  .first,
  .runner_up {
    border-right: 0px;
    margin-right: 0px;
  }
  .runner_up h3 {
    color: #388a42;
    font-size: 30px;
    font-weight: 700;
    line-height: 20px;
  }
  .participant h3 {
    color: #460303;
    font-size: 30px;
    font-weight: 700;
    line-height: 20px;
  }
  .citi_crds h3 {
    color: #fff;
    font-size: 24px;
  }
  .citi_crds p {
    color: #fff;
    font-size: 14px;
  }
  .navbar {
    position: relative;
    display: table;
  }
  #mainNav .navbar-nav .nav-item .nav-link.active {
    border-bottom: 0px;
    padding-bottom: 0px;
  }
  .testimonials_card p {
    font-size: 16px;
    height: auto;
  }

  .testimonials-name p {
    font-size: 11px !important;
  }
}
