@font-face {
    font-family: acid;
    src: url(/assets/AeonikTRIAL-Regular.otf);
}

.Notes-page {
    min-height: 150vh;
    position: relative;
    margin: 0 auto;
}

.title {
    padding-top: 50px;
    font-family: acid;
    text-align: center;
    font-size: 80px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    font-weight: 500;
    background: #FCFCFC;
    background: linear-gradient(white, #f2f2f3, #78A2D2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.title svg {
    width: 50px;
    height: 60px;
    vertical-align: middle;
}
 .star-effect {
    width: 60px;
    height: 60px;
    animation: twinkle 1.5s infinite ease-in-out;
    transform-origin: center;
  }

  @keyframes twinkle {
    0%, 100% {
      transform: scale(1) rotate(0deg);
      opacity: 1;
    }
    50% {
      transform: scale(1.2) rotate(15deg);
      opacity: 0.6;
    }
  }
.notes-para {
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.notes-para .n-right{
    padding-top: 20px;
    width: 50%;
    color: rgba(255, 255, 255, 0.728);
     font-size: 1rem;
     align-self: flex-end;
    text-align: right;
    margin-right: 20px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.subject-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.subject-card:hover {
    transform: scale(1.02);
}

.subject-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
}

.note-list {
    display: none;
    background: #000000;
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.06);
    animation: fadeIn 0.3s ease;
}

.note {
    margin-bottom: 15px;
}

.note h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.note button {
    padding: 6px 12px;
    margin-right: 8px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.note button:hover {
    background: #138496;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cause{
    margin-top: 10vh;
}
.cause-cta p {
    text-align: center;
    margin: 0 auto;
    font-size: 14px;
    width: max-content;
    background: rgba(255, 255, 255, 0.125);
    padding: 8px 16px;
    border-radius: 20px;
}

.cause-cta p i {
    color: aquamarine;
}

.cause-cta p a {
    font-weight: 500;
    color: var(--color-brand-bg);
}

@media(max-width: 800px) {
    .pricing-page .hero-copy p {
        width: 100%;
    }

    .pricing {
        flex-direction: column;
    }

    .cause-cta p {
        padding: 20px 20px;
        width: 100%;
    }
}