/*
Theme Name: AI Disruptor Awards Theme
Description: WordPress theme for AI Disruptor Awards
Version: 1.0
Author: Aaron Calilan (2025)
Text Domain: aida-theme
*/


/* ================================
Hero Section
================================= */

#hero {
  height: 100vh;
  max-height: 950px;
  padding: 50px 0 25px 0;
  background-image: url('https://st4g1ng.aidisruptorawards.com/wp-content/uploads/2025/11/bg-hero.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 !important;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

#hero .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  width: 85%;
}

#hero .logo {
  width: 320px;
  padding-bottom: 18px;
}

#hero h1, #hero h2, #hero h3 {
  color: var(--wht);
  text-shadow: 1px 2px 4px #666;
}

#hero h1 {font-size: 74px; line-height: 1em;}
#hero h2 {font-size: 2.7em; padding-top: 24px;}
#hero h3 {font-size: 1.7em;}

#hero h4 {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 12px 15px;
  font-size: 21px;
  color: var(--wht);
  font-weight: 700;
  text-shadow: 1px 2px 4px #000;
}

@media (max-width: 576px) {
  #hero {
    height:100dvh;
    margin-top: 0;
    padding: 0 0 25px 0;
    text-align: center;
  }

  #hero .container {
    padding: 0 20px;
  }

  #hero .logo {width: 85%;}
  #hero h1 {font-size: 36px; line-height: 1.1em; margin-top: 12px;}
  #hero h2 {font-size: 1.3em; padding-top: 16px;}
  #hero h3 {font-size: 1.2em; margin-top: 18px;}
}

/* ================================
Countdown
================================= */

.countdown-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 0 0 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 25px;
}

.countdown-wrapper {
  text-align: center;
  padding: 2rem;
  background: none;
  color: white;
  position: relative;
}

@media (max-width: 576px) {
  .countdown-container {
    padding: 0;
  }
  .countdown-wrapper {
    padding: 0;
  }
}

.countdown-title {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 2rem auto;
  color: white;
  position: relative;
  z-index: 2;
}

.countdown-cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

.countdown-cards.double-digit {
  gap: 0.4rem;
}

.countdown-card {
  background: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 2%, rgba(255, 255, 255, 1) 49%, rgba(232, 232, 232, 1) 50%, rgba(255, 255, 255, 1) 70%);
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  min-width: 120px;
  min-height: 140px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.countdown-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #f0f0f0 0%, #fff 100%);
}

.countdown-card::before {
  display: none;
}

.card-number {
  font-size: 19rem;
  font-weight: 700;
  line-height: 0.75;
  margin: 0;
  color: #333;
  text-shadow: none;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-label {
  display: none;
}

.countdown-card.flip {
  animation: flipCard 0.6s ease-in-out;
}

@keyframes flipCard {
  0% {transform: rotateY(0);}
  50% {transform: rotateY(90deg);}
  100% {transform: rotateY(0);}
}

.countdown-description {
  margin-top: 1.5rem;
  font-size: 1.6rem;
  color: var(--wht);
  background-color: rgba(255, 255, 255, 0.3);
  padding: 12px 20px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  border-top: solid 1px var(--wht);
  border-radius: 0 0 20px 20px; /* top-left top-right bottom-right bottom-left */
}
@media (min-width: 577px) and (max-width: 768px) {
    .countdown-description {border-radius:20px;
          border: solid 1px var(--wht);
    }
  }

.countdown-description a {
    font-size:1.6rem;
  color: var(--wht);
}
.countdown-description a span {
    font-size:1.8rem;
    font font-weight: 600;
  color: var(--wht);
}

.urgent-high .card-number {
  color: #333;
}

.urgent-medium .card-number {
  color: #333;
}

@media (min-width: 577px) and (max-width: 768px) {
  .countdown-cards {
    gap: 0.5rem;
  }

  .countdown-cards.double-digit {
    gap: 0.15rem;
  }

  .countdown-card {
    width: 130px;
    min-width: 115px;
    height: 160px;
    min-height: 130px;
    padding: 1.5rem 1rem;
  }

  .card-number {
    font-size: 8rem;
  }

  .countdown-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .countdown-cards {
    gap: 0.3rem;
  }

  .countdown-cards.double-digit {
    gap: 0.3rem;
  }

  .countdown-card {
    min-width: 80px;
    min-height: 100px;
  }

  .card-number {
    font-size: 8rem;
    line-height: 0.75;
  }
}

/* ================================
Recognition Section
================================= */

#recognition {
  background-color: var(--wht);
  height: auto;
  min-height: 450px;
  padding: 50px 0 0 0;
}

.icon {
  height: auto;
  width: 60%;
}

@media (max-width: 640px) {
  .icon {
    height: auto;
    width: 40%;
  }
}

@media (min-width: 577px) {
  .imgdia {
    width: 80%;
    height: auto;
    margin: 0 10% 0 10%;
  }
}

@media (max-width: 576px) {
  .imgdia {
    width: 100%;
    height: auto;
  }
}

/* ================================
Categories Section
================================= */

#categories {
  height: auto;
  min-height: 750px;
  padding: 100px 0;
  background-image: url('https://st4g1ng.aidisruptorawards.com/wp-content/uploads/2025/11/bg-cat.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 !important;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

#categories .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

#categories h2, #categories h3, #categories h4, #categories p {
  color: var(--wht);
}

h2.catttl {
  margin-bottom: 20px;
}

p.sub {
  font-size: 1.5em;
  margin-bottom: 36px;
}

#categories .tab-content {
  background-color: none;
  padding: 30px 0;
}

#categories .nav-tabs {
  border-bottom: none;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

#categories .nav-tabs .nav-link {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  border: 2px solid var(--wht);
  border-radius: 15px;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  #categories {
    background-image: url('https://st4g1ng.aidisruptorawards.com/wp-content/uploads/2025/11/bg-cat-mob.webp');
  }

  #categories .container {
    padding: 0 20px;
  }

  #categories .nav-tabs .nav-link {
    width: 100%;
    padding: 18px 25px;
  }
}

#categories .nav-tabs .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: var(--wht);
}

#categories .nav-tabs .nav-link.active {
  color: var(--wht);
  background-color: rgba(0, 0, 255, 0.3);
  border-color: #8dcaff;
}

#categories .content-section h3 {
  color: var(--wht);
  margin-bottom: 20px;
}

#categories .content-section p {
  color: var(--wht);
}

/* ================================
Panel Category Titles
================================= */

.pane-ttl {
  width: 98%;
  display: block;
  margin: 0 auto 38px auto;
}

.pane-ttl .ttl-wrap {
  text-align: start;
  background-color: rgba(0, 0, 255, 0.2);
  height: auto;
  max-height: 160px;
  width: 100%;
  padding: 30px 30px 20px 30px;
  border: solid #8dcaff 2px;
  border-radius: 15px;
}

.pane-ttl h2 {
  font-size: 40px;
  margin-bottom: 0;
background: #007adf;
  background: linear-gradient(80deg, #007adf 0%, #00ecbc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
}

.pane-ttl p {
  font-size: 26px;
}

@media (max-width: 576px) {
  .pane-ttl {
    width: 100%;
    margin: 0 0 38px 0;
  }
  .pane-ttl h2 {
    font-size: 27px;
  }
  .pane-ttl p {
    font-size: 18px;
  }
}

/* ================================
Grid Layouts - CORRECTED
================================= */

@media (min-width: 1201px) {
  .grid-container, .grid-container-3, .grid-container-5 {
    display: grid;
    width: 98%;
    margin: 0 1% 0 1%;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2%;
    row-gap: 3%;
    grid-auto-flow: row;
  }

  .grid-container-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  #process .grid-container-5 {
    width: 98%;
    margin: 0 1% 0 1%;
    grid-template-columns: repeat(5, 1fr);
  }

  .grid-container-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  #impact .grid-container {
    padding-bottom: 120px;
  }
}

@media (min-width: 576px) and (max-width: 1200px) {
  .grid-container, .grid-container-3, .grid-container-5 {
    width: 80%;
    margin: 0 10% 0 10%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .grid-container-5 {
    grid-template-columns: repeat(5, 1fr);
    margin: 0 5% 0 5%;
  }

  .grid-container-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .grid-container, .grid-container-3, .grid-container-5 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .grid-container-5 {
    width: 98%;
    margin: 0 1% 0 1%;
  }
}

.grid-container > .card {
  display: block;
}

.grid-container .card:first-child {
  grid-column-start: 1;
}

/* ================================
Accordion
================================= */

.accordion-item {
  background-color: transparent;
}

.accordion-item-transparent {
  background-color: rgba(255, 255, 255, 0.3);
}

.accordion-header-blue {
  background-color: rgba(0, 0, 255, 0.3);
}

.accordion {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.accordion-button .accordion-title {
  color: var(--wht);
  text-shadow: 1px 2px 4px var(--coal);
  margin-top: 5px;
  font-size: 34px;
  font-weight: 400;
  font-family: "Barlow Semi Condensed", sans-serif;
}

.accordion-button::after {
  background-image: none;
  background: none;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 255, 0.2);
  border: 2px solid var(--wht);
  color: var(--wht);
  font-size: 0.875rem;
  text-shadow: 1px 2px 4px var(--coal);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--wht);
  color: var(--wht);
  text-shadow: 1px 2px 4px var(--coal);
}

/* ================================
Cards
================================= */

.card, .card-a, .card-j {
  text-align: start;
  background-color: rgba(0, 0, 255, 0.2);
  min-height: 330px;
  padding: 10% 5%;
  border: solid #8dcaff 2px;
  border-radius: 15px;
}

.card-j {
  height: auto;
  min-height: 120px;
  padding: 10% 5%;
  border: solid transparent 0px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card h3, .card-a h3, .card p, .card-a p {
  color: var(--wht);
}

.card-a li span {
  color: var(--wht);
}

.card h3 {
  font-size: 22px;
  text-transform: capitalize;
  min-height: 3em;
}

.card p {
  font-size: 14px;
  padding-bottom: 20px;
}

.card .nom-link {
  font-size: 1.3em;
  color: #fff;
  font-weight: 500;
  border: 2px solid var(--wht);
  border-radius: 25px;
  padding: 12px 30px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.card .nom-link:hover {
  color: #083D91;
  background-color: rgba(255, 255, 255, 0.5);
  border-color: var(--wht);
}

.bx {
  bottom: 20px;
  margin-top: 36px;
}

@media (min-width: 576px) and (max-width: 1200px) {
  .card, .card-a, .card-j {
    background-color: rgba(255, 255, 255, 0.4);
    border: solid #8dcaff 2px;  /* Re-declared border */
    border-radius: 15px;
    padding-top: 45%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .accordion-button {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: var(--wht);
  }

  .card, .card-a, .card-j {
    min-height: 300px;
    background-color: transparent;
    border: none;
    border-top: solid 1px #8dcaff;
    border-radius: 0;
    padding: 24px 0 24px 0;
  }

  .cards-j {
    height: auto;
    max-height: 170px;
    padding: 18px 0 20px 0;
    margin: 0 5% 0 5%;
    border: solid transparent 0px;
  }

  .card h3 {
    font-size: 24px;
  }

  .card h4 {
    font-size: 18px;
  }

  .card p {
    color: var(--wht);
  }
}

span.type {
  font-size: 0.5em;
}

/* ================================
Judging Process
================================= */

#process {
  height: auto;
  min-height: 900px;
  padding-bottom: 75px;
}

#process h4 {
  padding-bottom: 38px;
}

.gradient-border {
  height: auto;
  width: 98%;
  border-radius: 15px;
  padding: 18px 2rem;
  display: inline-block;
  position: relative;
  background: transparent;
  border: none;
}

.ttl-box {
  width: 98%;
  padding: 20px 0;
  border: solid 2px var(--dblu);
  border-radius: 15px;
  margin: 0 auto;
}

@media (max-width: 575px) {
  .ttl-box {
    width: 100%;
  }
}

.ttl-box h3 {
  font-size: 50px;
  margin: 18px 0 18px 0;
}

@media (max-width: 576px) {
  .ttl-box h3 {
    font-size: 32px;
  }
}

.txt-box h4 {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.2em;
}

.txt-box p {
  font-size: 14px;
  padding-bottom: 0px;
  margin-top: 0px;
}

.gradient-border {
  height: auto;
  min-height: 120px;
  width: 98%;
  border-radius: 15px;
  padding: 18px 2rem;
  display: inline-block;
  position: relative;
  background: transparent;
  border: none;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 15px;
  background-image: linear-gradient(to right bottom, #024bb8, #0085f5, #00b6ef, #00dfa0, #00ff1b),
  linear-gradient(0deg, #FFFFFF, #FFFFFF);
  -webkit-mask:
  linear-gradient(#fff 0 0) content-box,
  linear-gradient(#fff 0 0);
  mask:
  linear-gradient(#fff 0 0) content-box,
  linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.txt-box {
  display: flex;
  flex-direction: column;
}

.txt-box h4 {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
}

.txt-box p {
  margin-top: 0px;
}

@media (max-width: 575px) {
  .gradient-border {
    height: auto;
    min-height: 100px;
    width: 97%;
  }

  .txt-box {
    text-align: left;
    background: none;
  }

  .txt-box h4 {
    min-height: 42px;
    margin-bottom: 6px;
  }
}

.txt-box h4 {
  padding-bottom: 0;
}

.txt-box p {
  padding-top: 0;
}

/* ================================
About Awards
================================= */
#about-awards {
background-image: url('https://st4g1ng.aidisruptorawards.com/wp-content/uploads/2025/12/bg-about.webp');
    background-size: cover;
  background-repeat: no-repeat;
  margin: 0 !important;
  width: 100vw;
  position: relative;
}

.section-heading {
  font-size: 38px;
  color: var(--wht);
}

#about-awards h2,
#about-awards h3, 
#about-awards h4, 
#about-awards p {
  color: var(--wht);
}

#about-awards h3 {
  font-size: 42px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.grad-txt {
  background: rgb(2, 75, 184);
  background: linear-gradient(81deg, rgba(2, 75, 184, 1) 0%, rgba(0, 182, 239, 1) 40%, rgba(0, 255, 27, 1) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
}

#about-awards h4 {
  margin-bottom: 28px;
}

/* FIXED: Added missing opening brace and corrected selector */
#about-awards .card-a li {
  color: var(--teal);
  line-height: 1.3em;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
}
  
#about-awards .card-a li span {
  color: var(--wht) !important;
  font-weight: 400;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  body #about-awards {
    padding: 60px 0 100px 0 !important;
    min-height: 800px;
  }
  
  #about-awards .text-column {
    padding-top: 190px;
    padding-bottom: 60px;
  }
  
  #about-awards .section-text:last-of-type {
    font-size: 1.8rem;
    padding-bottom: 80px;
  }
}

/* ================================
Form Grid
================================= */

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  margin: 0;
  gap: 20px;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-field input,
.form-field select,
.form-field .form-control,
.form-field .form-select {
  width: 100%;
  box-sizing: border-box;
}

.form-row-full {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

.form-row-full textarea {
  width: 100%;
  box-sizing: border-box;
}