@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {

  /**
     * colors
     */

  --bg-color: #F5F5F5;
  --button-color: #1B3764;
  --button-text-color: #FFFFFF;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #1B3764;
  --input-field: #E0E0E0;
  --input-field-text: #000000;
  --header-background: #1b3764;
  --card-background: #E0E0E0;

  --gradient: linear-gradient(90deg, hsl(38, 100%, 98%) 21.32%, hsl(144, 45%, 98%) 130%);

  /**
     * typography
     */

  --ff-poppins: 'Poppins', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;
  --dm-sans: 'DM Sans', sans-serif;

  --fs-1: 30px;
  --fs-2: 28px;
  --fs-3: 24px;
  --fs-4: 20px;
  --fs-5: 18px;

  --fw-500: 500;
  --fw-700: 700;

  /**
     * transition
     */

  --transition: 0.2s ease-in-out;

  /**
     * spacing
     */

  --section-padding: 80px;

}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  background: var(--bg-color);
}


.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  padding: 5px;
  background: var(--header-background);
  display: flex;
  align-items: center;
  z-index: 200;
}

.header img {
  width: 19rem;
  height: auto;
}

.header .event-name {
  flex: 6;
  text-align: center;
  font-size: 24px;
  font-family: "Playwrite NL", cursive;
  font-optical-sizing: none;
  font-weight: bolder;
  font-style: normal;
  color: whitesmoke;
}

.header .sticky {
  border-bottom: 1rem solid rgba(0, 0, 0, .2);
}



.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: none;
  height: 40px;
  background-color: #fff;
  border-radius: 4px;
  padding: 10px 10px;
  transition: .3s;
  text-decoration: none;
  cursor: pointer;
}

.navbar.pc {
  display: none;
}


.navbar p {
  font-size: 12px;
  text-wrap: nowrap;
  font-weight: bold;
  color: var(--button-color);

}

.navbar i {
  color: var(--button-color);
  font-size: 17px;
}

.navbar:hover,
.navbar:active {
  opacity: 0.7;
  color: var(--second-bg-color);
}

#menu-icon,
#search-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  right: 0;
}

.header-search {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


.header-search input::placeholder {
  color: #fff;
}

.header-search input:focus {
  outline: none;
}

.header-search i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  font-size: 17px;
  color: #fff;
  cursor: pointer;
}

.header-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.event-info-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.event-info-card {
  flex: 1 1 calc(50% - 10px); /* Two cards per row with gap */
  max-width: 300px;
  background: transparent;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  color: white;
  border: 1px solid lightgray;
  color: #1B3764;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  transition: .3s ease;
}

.event-info-card:hover {
  border: 1px solid var(--button-color);
}

.event-info-card svg {
  width: 32px;
  height: 32px;
}
.event-info-card:first-of-type svg{
  color: green !important;
}
.event-info-card:nth-of-type(2) svg{
  color: gold !important;
}
.event-info-card:nth-of-type(3) svg{
  color: red !important;
}

.event-info-card .number {
  font-size: 32px;
  font-weight: 600;
}

.event-info-card .label {
  font-size: 14px;
}

/* Countdown timer styles */
.countdown-time {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 30px;
}

.time-number {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.time-label {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

.expired {
  color: #dc3545;
  font-size: 14px;
  font-weight: 600;
}

.no-date {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}





/*-----------------------------------*\
   * #RESET
  \*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a,
img,
span,
button,
ion-icon {
  display: block;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-color);
}





/*-----------------------------------*\
   * #REUSED STYLE
  \*-----------------------------------*/




.categories-container {
  background-color: var(--bg-color);
  width: 80%;
}

.categories-title {
  font-size: 50px;
  background: linear-gradient(135deg, rgb(26, 102, 255), rgb(204, 102, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.btn {
  color: var(--white);
  font-family: var(--ff-poppins);
  padding: 20px 30px;
  border-radius: 15px;
  transition: var(--transition);
}

.btn-secondary {
  background: var(--rich-black-fogra-29);
  box-shadow: inset 0 -10px 20px hsl(240, 8%, 37%);
}

.btn-secondary:is(:hover, :focus) {
  background: blue;
  box-shadow: 5px 10px 30px hsla(39, 100%, 50%, 0.3);
}

.btn-primary {
  background: var(--orange-web);
  box-shadow: 5px 10px 30px hsla(39, 100%, 50%, 0.3);
}

.btn-primary:is(:hover, :focus) {
  background: blue;
  transform: translateY(-3px);
}


.section-text,
.card-text,
.card-subtitle {
  font-family: var(--ff-rubik);
  color: var(--sonic-silver);
  font-size: var(--fs-5);
  line-height: 1.8;
}

.vector-line {
  display: none;
}





/*-----------------------------------*\
   * #HEADER
  \*-----------------------------------*/




.overlay {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.7);
  pointer-events: none;
  opacity: 0;
  transition: 0.15s ease-out;
  z-index: 3;
}

.overlay.active {
  pointer-events: all;
  opacity: 1;
}

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1.0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 450px;
  border-radius: 10px;
  overflow: hidden;
  animation: myAnim 1s ease 0s 1 normal forwards;
}

.loading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}


.popup img {
  max-width: 100%;
  height: auto;
}

.countdown {
  font-size: 18px;
  font-weight: bold;
  color: #555;
  text-align: center;
  margin-top: 10px;
}

.loader {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-top: 10px;
  margin-left: 7px;
  display: inline-block;
  border-top: 4px solid var(--button-color);
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.categories-wrapper {
  display: flex;
  justify-content: center;
  align-items: start;
  width: 100%;
}

@keyframes myAnim {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/*-----------------------------------*\
   * #HERO
  \*-----------------------------------*/

.hero {
  background: var(--gradient);
  padding: 150px 0 var(--section-padding);
}

.hero-banner {
  margin-bottom: 30px;
}

.hero-banner img {
  width: 100%;
}

.hero-title {
  margin-bottom: 20px;
}

.hero .section-text {
  margin-bottom: 45px;
}





/*-----------------------------------*\
   * #ABOUT
  \*-----------------------------------*/

.about {
  padding-block: var(--section-padding);
}

.about-banner {
  position: relative;
  margin-bottom: 40px;
}

.about-img {
  width: 100%;
}

.play-btn {
  position: absolute;
  bottom: 24%;
  right: 8%;
  background: var(--white);
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  font-size: 25px;
  border-radius: 50%;
}

.play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--black);
  animation: pulseAnim 2s forwards infinite;
}

@keyframes pulseAnim {

  0% {
    transform: scale(1);
    border-color: var(--black);
  }

  100% {
    transform: scale(1.5);
    border-color: transparent;
  }

}

.about-title {
  margin-bottom: 30px;
}

.about .section-text {
  margin-bottom: 50px;
}

/*-----------------------------------*\
     * #CATEGORIES
    \*-----------------------------------*/
.categories-image {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.categories-cover {
  height: 100%;
  width: 100%;
}

.categories-logo {
  width: 40%;
  position: absolute;
  z-index: 100;
  overflow: hidden;
}


/*-----------------------------------*\
   * #DEPARTMENTS
  \*-----------------------------------*/

.departments {
  margin: 0;
  padding: 0;
  background: var(--bg-color);
}

.departments-header {
  width: 100%;
  padding: 30px 0;
}

.departments-title {
  text-align: left;
  color: var(--button-color);
  font-size: 5.5rem;
  width: 100%;
}

.departments-subtitle {
  color: var(--button-color);
  font-size: 2rem;
  margin-bottom: 15px;
}

F .departments-list {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.departments-card {
  background: var(--card-background);
  box-shadow: 5px 30px 50px hsla(0, 1%, 15%, 0.05);
  max-width: 400px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 25px;
  transition: .5s ease;
  cursor: pointer;
  border: .2rem solid var(--bg-color);
}

.departments-card:hover {
  /* border: solid 3px; */
  border-color: var(--button-color);
  transform: scale(1.02);
  transform: translateY(-20px);
}

.departments-card:active {
  opacity: 0.4;
}

.departments-card .card-banner {
  margin-bottom: 20px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.departments-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.departments-card:hover img {
  transform: scale(1.05);
}

.departments-card .card-title {
  margin-bottom: 15px;
  color: var(--input-field-text);
}

.departments-card .card-text {
  line-height: 1.5;
  margin-bottom: 20px;
}

.departments-descrip {
  color: var(--button-color);
  font-weight: bold;
}

.departments-card .card-link {
  color: #fff;
  font-family: var(--ff-rubik);
  font-weight: var(--fw-500);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.departments-card .card-link:is(:hover, :focus) {
  gap: 15px;
}

.student-info{
  width: 100%;
  height: 20%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 30px;
  margin-bottom: 50px;
}

.box .student {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: 5px 10px 30px rgba(27, 55, 100, 0.3);
  transition: .5s ease;
  cursor: pointer;
  overflow: hidden;
}
.box .box-image {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
  height: 80%;
}
.box .box-image img{
  transition: .3s ease;
}

.box .student:hover .box-image img{
  transform: scale(1.1);
}


.box a {
  width: 100%;
}

.box .nominee-name {
  font-size: 22px;
  font-weight: bold;
  color: var(--button-color);
}



@-webkit-keyframes come-in {
  0% {
    -webkit-transform: translatey(100px);
    transform: translatey(100px);
    opacity: 0;
  }

  30% {
    -webkit-transform: translateX(-50px) scale(0.4);
    transform: translateX(-50px) scale(0.4);
  }

  70% {
    -webkit-transform: translateX(0px) scale(1.2);
    transform: translateX(0px) scale(1.2);
  }

  100% {
    -webkit-transform: translatey(0px) scale(1);
    transform: translatey(0px) scale(1);
    opacity: 1;
  }
}

@keyframes come-in {
  0% {
    -webkit-transform: translatey(100px);
    transform: translatey(100px);
    opacity: 0;
  }

  30% {
    -webkit-transform: translateX(-50px) scale(0.4);
    transform: translateX(-50px) scale(0.4);
  }

  70% {
    -webkit-transform: translateX(0px) scale(1.2);
    transform: translateX(0px) scale(1.2);
  }

  100% {
    -webkit-transform: translatey(0px) scale(1);
    transform: translatey(0px) scale(1);
    opacity: 1;
  }
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  background: #eaedf2;
  font-family: 'Roboto', sans-serif;
}

.floating-container {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 45px 25px;
}

.btn-jittery {
  -webkit-animation: jittery 6s infinite;
  animation: jittery 6s infinite;
}

@-webkit-keyframes jittery {

  5%,
  50% {
    transform: scale(1);
  }

  10% {
    transform: scale(0.9);
  }

  15% {
    transform: scale(1.15);
  }

  20% {
    transform: scale(1.15) rotate(-5deg);
  }

  25% {
    transform: scale(1.15) rotate(5deg);
  }

  30% {
    transform: scale(1.15) rotate(-3deg);
  }

  35% {
    transform: scale(1.15) rotate(2deg);
  }

  40% {
    transform: scale(1.15) rotate(0);
  }
}

@keyframes jittery {

  5%,
  50% {
    transform: scale(1);
  }

  10% {
    transform: scale(0.9);
  }

  15% {
    transform: scale(1.15);
  }

  20% {
    transform: scale(1.15) rotate(-5deg);
  }

  25% {
    transform: scale(1.15) rotate(5deg);
  }

  30% {
    transform: scale(1.15) rotate(-3deg);
  }

  35% {
    transform: scale(1.15) rotate(2deg);
  }

  40% {
    transform: scale(1.15) rotate(0);
  }
}


.floating-container .floating-button {
  height: 35px;
  background: var(--button-color);
  padding: 6px 10px;
  border-radius: 7px;
  margin: auto;
  color: white;
  text-align: center;
  font-size: 17px;
  z-index: 100;
  box-shadow: 0 10px 25px -5px var(--button-color);
  cursor: pointer;
  transition: opacity 0.15s;
}

.floating-container .floating-button:hover {
  opacity: 0.7;
}

.floating-container .floating-button:active {
  opacity: 0.4;
}


/*-----------------------------------*\
   * #CTA
  \*-----------------------------------*/

.cta {
  background: var(--raisin-black);
  padding-block: 50px;
}

.cta-title {
  color: var(--white);
  margin-bottom: 30px;
}

.cta-banner {
  display: none;
}

/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--rich-black-fogra-29);
}

.footer-top {
  padding-block: var(--section-padding);
}

.footer-brand {
  margin-bottom: 50px;
}

.footer-brand .logo {
  width: 160px;
  margin-bottom: 20px;
}

.footer-text {
  color: var(--silver-chalice);
  font-family: var(--ff-rubik);
  line-height: 1.8;
  margin-bottom: 30px;
}

.footer .social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.footer .social-link {
  background: var(--raisin-black);
  color: var(--silver-chalice);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 50%;
  border: 1px solid var(--raisin-black);
  transition: var(--transition);
}

.footer .social-link:is(:hover, :focus) {
  background: var(--rich-black-fogra-29);
  color: var(--cultured);
}

.footer-link-box {
  display: grid;
  gap: 30px;
}

.footer-list {
  max-width: 230px;
}

.footer-list li:first-child {
  margin-bottom: 10px;
}

.footer-link-title {
  color: var(--cultured);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
}

.footer-link {
  color: var(--silver-chalice);
  font-family: var(--ff-rubik);
  padding-block: 10px;
  transition: var(--transition);
}

.footer-link:is(:hover, :focus) {
  color: var(--cultured);
  transform: translateX(3px);
}

.footer .contact-item {
  padding-block: 10px;
}

.footer .contact-item span {
  display: inline-block;
  color: var(--cultured);
  font-family: var(--ff-rubik);
  font-weight: var(--fw-500);
}

.footer .contact-link {
  display: inline-block;
  color: var(--silver-chalice);
  font-family: var(--ff-rubik);
  font-weight: var(--fw-500);
}

.footer .contact-link address {
  font-style: normal;
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid var(--onyx);
}

.copyright {
  color: var(--silver-chalice);
  font-family: var(--ff-rubik);
  line-height: 1.7;
  text-align: center;
}

.copyright a {
  display: inline-block;
  color: inherit;
  transition: var(--transition);
}

.copyright a:is(:hover, :focus) {
  color: var(--cultured);
}





/*-----------------------------------*\
 * #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--onyx);
  box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 2;
}

.go-top.active {
  opacity: 1;
  visibility: visible;
}

.go-top:is(:hover, :focus) {
  color: var(--orange-web);
}





/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 550px screen
 */

@media (max-width: 500px) {
  .categories-logo {
    width: 60%;
  }
}

@media (min-width: 550px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 45px;

  }



  /**
   * REUSED STYLE
   */





  /**
   * HEADER
   */

  .header .logo {
    min-width: 160px;
  }



  /**
   * DEPARTMENTS
   */

  .departments-card {
    padding: 30px;
  }



  /**
   * INSTRUCTOR, FOOTER
   */

  .instructor-list,
  .footer-link-box {
    grid-template-columns: 1fr 1fr;
  }



}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 55px;

  }



  /**
   * REUSED STYLE
   */



  /**
   * HERO, ABOUT
   */

  .hero-banner,
  .about-banner {
    max-width: 600px;
    margin-inline: auto;
  }

  .about-content {
    max-width: 600px;
  }



  /**
   * DEPARTMENTS
   */


  .departments-list {
    grid-template-columns: 1fr 1fr;
  }



  /**
   * INSTRUCTOR
   */

  .instructor-title {
    max-width: 600px;
  }



  /**
   * CTA
   */
  .cta {
    position: relative;
    z-index: 1;
  }

  .cta .title-wrapper {
    max-width: 60%;
  }

  .cta-banner {
    display: block;
    background: url("../images/cta-banner.png") no-repeat;
    background-size: contain;
    background-position: center;
    width: 350px;
    height: 350px;
    position: absolute;
    bottom: -26px;
    left: 51%;
  }



  /**
   * FOOTER
   */

  .footer-text {
    max-width: 400px;
  }



}

@media (max-width: 768px) {
  .departments-title {
    font-size: 3rem;
  }
}





/**
 * responsive for larger than 1024px screen
 */

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 65px;

  }



  /**
   * REUSED STYLE
   */



  .vector-line {
    display: block;
    position: absolute;
  }



  /**
   * HEADER
   */

  .header .logo {
    margin-right: 25px;
  }

  .menu-open-btn,
  .menu-close-btn,




  /**
   * HERO
   */

  .hero .categories-container {
    display: grid;
    grid-template-columns: 4fr 6fr;
    align-items: center;
    gap: 50px;
  }

  .hero-banner {
    margin-bottom: 0;
    order: 1;
  }



  /**
   * ABOUT
   */

  .about .categories-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }

  .about-banner {
    position: relative;
    margin-bottom: 0;
  }

  .about-banner .vector-line {
    width: 400px;
    bottom: 50px;
    left: -50px;
  }

  .play-btn {
    width: 100px;
    height: 100px;
  }

  .about-content {
    max-width: unset;
  }



  /**
   * DEPARTMETNS
   */

  .departments {
    position: relative;
    z-index: 1;
  }

  .departments .vector-line {
    top: 100px;
    right: 0;
    z-index: -1;
  }


  .departments-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .departments-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }



  /**
   * INSTRUCTOR
   */

  .instructor {
    position: relative;
    z-index: 1;
  }

  .instructor .vector-line:first-child {
    top: 50px;
    left: 0;
    z-index: -1;
  }

  .instructor .title-categories-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .instructor-title {
    max-width: 500px;
    margin-bottom: 0;
  }

  .instructor-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .instructor .vector-line:last-child {
    bottom: -100px;
    left: 0;
    z-index: -1;
  }



  /**
   * CTA
   */

  .cta .title-categories-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .cta-title {
    position: relative;
    margin-bottom: 0;
    width: calc(100% - 200px);
  }

  .cta-title .vector-line {
    right: -20px;
    bottom: 0;
  }

  .cta-banner {
    left: 60%;
    width: 320px;
    bottom: -39px;
  }



  /**
   * FOOTER
   */

  .footer-link-box {
    grid-template-columns: repeat(4, 1fr);
  }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */


  /**
   * DEPARTMENTS
   */




  /**
   * INSTRUCTOR
   */
  .instructor {
    padding-bottom: 150px;
  }



  /**
   * CTA 
   */

  .cta .title-categories-wrapper {
    max-width: 64%;
  }

  .cta-banner {
    left: 68%;
  }

}

@media only screen and (max-width:414px) {
  .text {
    visibility: collapse;
  }

  .phonetext {
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: var(--header-background);
    position: absolute;
    top: 60px;
    right: 0;
    width: 180px;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
  }

  .header .event-name {
    font-size: 14px;
    overflow: visible;
  }



  .navbar p {
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    color: var(--text-color);
    margin-left: 0;
  }

  .header img {
    max-width: 150px;
  }

  .navbar a:hover {
    color: var(--main-color);
  }

  #menu-icon,
  #search-icon {
    display: block;
    font-size: 30px;
    color: #fff;
    display: flex;
    justify-content: right;
    padding-right: 5px;
  }

  #search-icon {
    font-size: 25px !important;
  }

  .navbar {
    height: auto;
  }

  .navbar.show {
    display: flex;
  }

  .slide-down {
    display: flex;
    animation: slideDown 0.5s forwards;
  }

  .slide-up {
    animation: slideUp 0.5s forwards;
  }

  @keyframes slideDown {
    from {
      max-height: 0;
      opacity: 0;
    }

    to {
      max-height: 200px;
      opacity: 1;
    }
  }

  @keyframes slideUp {
    from {
      max-height: 200px;
      opacity: 1;
    }

    to {
      max-height: 0;
      opacity: 0;
    }
  }

  .heading {
    font-size: 15px;
  }

  .nomination-code-outside {
    display: block;
  }

  .popup {
    width: 290px;
  }


  .header-search.visible {
    display: flex;
  }

  .header-search input {
    background: var(--button-color);
    border: 1px solid var(--button-color);
    color: #fff;
  }

  .header-search input::placeholder {
    color: #fff;
  }

  .header-search i {
    color: #fff;
  }

  .header-search {
    display: none;
  }

  .event-info-card {
    padding: 8px;
    gap: 0;
  }
  .event-info-card .icon svg{
    width: 25px;
    height: 25px;
  }
  .event-info-card .number{
    font-size: 25px;
  }
  .event-info-card .label{
    font-size: 12px;
  }
  .categories-title{
    font-size: 30px;
  }

  .box .student{
    max-height: 200px;
  }
  .box .nominee-name{
    font-size: 18px;
  }

}

/* Medium screens (tablets) — 3 items per row */
@media (max-width: 1024px) {
  .box {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small tablets / large phones — 2 items per row */
@media (max-width: 768px) {
  .box {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile screens — 1 item per row */
@media (max-width: 480px) {
  .box {
    grid-template-columns: 1fr;
  }
}