@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import "tailwindcss";

@theme {
  --color-primary: #b88933;
  --color-content-light: #3a3a3a;
  --color-content-dark: #2a2a2a;
}

@layer base {
  body {
    font-family: "DM Sans", sans-serif;
    background-color: #fcf9ff;
  }

  h1 {
    font-size: 58px;
    line-height: 72px;
    letter-spacing: -1.16px;
  }
  h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: 52px;
    letter-spacing: -0.4px;
  }
  h3 {
    font-size: 36px;
    font-weight: 300;
    line-height: 52px;
  }
  h4 {
    font-size: 32px;
    line-height: 42px;
    font-weight: 300;
    letter-spacing: -0.96px;
  }

  p {
    font-weight: 300;
  }

  a.active {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #fff;
    padding-bottom: 4px;
  }

  .btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    padding: 13.5px 34.5px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
    width: fit-content;
  }
  .btn-light {
    background-color: #fff;
    color: var(--color-primary);
    padding: 13.5px 34.5px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
    width: fit-content;
  }
  .btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    padding: 13.5px 34.5px;
    border: 1px solid var(--color-primary);
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
    width: fit-content;
  }
  .btn-light-outline {
    background-color: transparent;
    color: white;
    padding: 13.5px 34.5px;
    border: 1px solid white;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
    width: fit-content;
  }

  .container-contain {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
  }

  .eligibility-criteria {
    background-image: url("./images/home/eligibility-bg.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .violet-gradient {
    background: linear-gradient(180deg, #3b2f58 0%, #0f0c16 100%);
  }

  .bg-pattern-bg {
    background-image: url("../../images/finalist/2025/pattern-bg.svg");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
  }

  .faq-hero {
    background-image: url("./images/faq-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* FAQ Animations */
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .faq-answer.open {
    max-height: 300px;
    padding-top: 12px;
    opacity: 1;
  }

  .faq-icon {
    transition: transform 0.3s ease-in-out;
  }

  .faq-question {
    transition: background-color 0.2s ease-in-out;
    border-radius: 4px;
  }

  .blog-background {
    background-image: url("./images/blog-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .apply_button {
    display: none;
  }

  .dark-overlay {
    background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0) -2.84%,
      rgba(20, 20, 20, 0.5) 74.49%
    );
  }

  @media (max-width: 1023px) {
    .container-contain {
      max-width: 100%;
      padding: 0 20px;
    }
  }

  @media (max-width: 768px) {
    .container-contain {
      max-width: 100%;
      padding: 0 20px;
    }
    h1 {
      font-size: 40px;
      line-height: 52px;
      letter-spacing: -0.8px;
    }
    h2 {
      font-size: 32px;
      line-height: 42px;
      letter-spacing: -0.64px;
    }
    h3 {
      font-size: 28px;
      line-height: 42px;
    }
    h4 {
      font-size: 24px;
      line-height: 32px;
      letter-spacing: -0.72px;
    }

    .bg-pattern-bg {
      background-position: center bottom;
      background-size: cover;
      height: 400px;
      width: 100%;
    }

    .eligibility-criteria {
      background-image: none;
    }
  }
}
