:root {
    --primaryClr: hsla(359, 76%, 23%, 1);
    --secondaryClr: hsla(46, 98%, 59%, 1);
    --blackClr: hsla(0, 0%, 5%, 1);
}

#admission-process {
    .ap-card {
        display: flex;
        align-items: center;
        gap: 30px;
        padding: 25px;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
        border-radius: 15px;

        .circle-box {
            .outer-circle-div {
                border: 3px solid var(--blackClr);
                border-radius: 50%;
                width: 300px;
                height: 300px;
                display: flex;
                justify-content: center;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;

                .inner-circle-div {
                    width: 90%;
                    height: 90%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;
                    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
                    border-radius: 50%;
                    text-transform: uppercase;
                    background: var(--primaryClr);
                    color: #fff;
                    padding: 20px 20px 35px;

                    img {
                        filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(341deg) brightness(105%) contrast(101%);
                    }

                    p {
                        text-align: center;
                        font-size: 12px;

                        &.title {
                            font-size: 28px;
                            margin-bottom: 8px;
                        }
                    }

                    .content {
                        p:first-child {
                            font-size: 18px;
                        }
                    }
                }
            }
        }

        .steps {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 15px;

            .step-card {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;
                box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
                border-radius: 10px;
                padding: 15px;

                .step-number {
                    width: 75px;
                    height: 75px;
                    border-radius: 50%;
                    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-family: "Nunito-ExtraBold";
                    font-size: 50px;
                    color: white;
                    text-shadow:
                        -1px -1px 0 #999,
                        1px -1px 0 #999,
                        -1px 1px 0 #999,
                        1px 1px 0 #999,
                        3px 3px 3px #999;
                    -webkit-text-stroke: 1.5px var(--primaryClr);
                }

                .step-text {
                    width: calc(100% - 75px);
                    display: flex;
                    flex-direction: column;

                    p {
                        line-height: 1.2;
                    }

                    p:first-child {
                        font-size: 22px;
                        color: var(--primaryClr);
                        font-family: "Nunito-Bold";
                        margin-bottom: 5px;
                        line-height: 1;
                    }
                }
            }

        }

        &.finish {
            justify-content: center;
            flex-direction: column;
            gap: 0;
            background: var(--primaryClr);
            padding: 10px 10px 15px;

            img {
                filter: invert(87%) sepia(96%) saturate(3716%) hue-rotate(327deg) brightness(100%) contrast(99%);
            }

            .content {
                color: #fff;

                p {
                    text-align: center;
                    font-size: 17px;
                    text-transform: uppercase;
                    font-family: "Nunito-Regular";
                }

                p:first-child {
                    font-size: 30px;
                    line-height: 1;
                    font-family: "Nunito-SemiBold";
                }
            }
        }
    }
}

#documents-submission {
    .header-footer {
        text-transform: uppercase;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
        padding: 18px;
        border-radius: 15px;

        .box {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }

        .left {
            font-family: "Nunito-Bold";
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            font-size: 30px;
        }

        .right {
            padding-top: 12px;

            p {
                line-height: 1.1;
            }

            p:first-child {
                font-size: 30px;
                font-family: "Nunito-ExtraBold";
                margin-bottom: 5px;
                line-height: 1;
                color: var(--primaryClr);
            }

            p:nth-child(2) {
                font-size: 16px;
                font-family: "Nunito-Bold";
                margin-bottom: 4px;
            }
        }
    }

    .steps-box {
        display: flex;
        flex-wrap: wrap;
        column-gap: 15px;
        row-gap: 0;
        justify-content: center;

        .step-card {
            flex: 1 1 calc(33.3% - 15px);
            max-width: calc(33.3% - 15px);
            height: 270px;
            background-image: url("../images/admission-procedure/pinned-sticker.png");
            background-size: cover;

            display: flex;
            align-items: center;
            flex-direction: column;
            padding: 50px 20px 20px;

            p {
                text-align: center;
                line-height: 1.1;

                &.number {
                    width: 70px;
                    height: 70px;
                    border-radius: 30%;
                    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
                    display: grid;
                    place-items: center;
                    font-family: "Nunito-ExtraBold";
                    font-size: 42px;
                    color: white;
                    text-shadow:
                        -1px -1px 0 #999,
                        1px -1px 0 #999,
                        -1px 1px 0 #999,
                        1px 1px 0 #999,
                        3px 3px 3px #999;
                    -webkit-text-stroke: 1.5px var(--primaryClr);
                    margin-bottom: 15px;
                    padding-top: 10px;
                }

                &.title {
                    font-size: 22px;
                    color: var(--primaryClr);
                    font-family: "Nunito-Bold";
                    margin-bottom: 2px;
                }

                &.sub-title {
                    font-size: 16px;
                    padding: 0 20px;
                    line-height: 1.2;
                }
            }
        }
    }
}

#subjects-available {
    .sa-grid {
        display: grid;
        grid-template-columns: 270px 1fr;
        gap: 20px;

        .left,
        .right {
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
        }

        .left {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            text-transform: uppercase;
            font-family: "Nunito-ExtraBold";
            line-height: 1.2;
            text-align: center;
            color: var(--primaryClr);
            padding: 10px;

            .subject-name {
                padding: 10px;
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            &.pcm-bg {
                position: relative;
                background-image: url("../images/admission-procedure/pcm-bg.jpg");
                background-size: cover;
                background-position: center;

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.85);
                    z-index: 1;
                }

                &>* {
                    position: relative;
                    z-index: 2;
                }
            }

            &.pcb-bg {
                position: relative;
                background-image: url("../images/admission-procedure/pcb-bg.jpg");
                background-size: cover;
                background-position: top;

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.85);
                    z-index: 1;
                }

                &>* {
                    position: relative;
                    z-index: 2;
                }
            }

            &.commerce-bg {
                position: relative;
                background-image: url("../images/admission-procedure/commerce-bg.jpg");
                background-size: cover;
                background-position: center;

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.85);
                    z-index: 1;
                }

                &>* {
                    position: relative;
                    z-index: 2;
                }
            }

            &.humanities-bg {
                position: relative;
                background-image: url("../images/admission-procedure/humanities-bg.jpg");
                background-size: cover;
                background-position: center;

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.85);
                    z-index: 1;
                }

                &>* {
                    position: relative;
                    z-index: 2;
                }
            }
        }

        .right {
            padding: 10px;

            .right-card {
                padding: 15px;
                display: grid;
                grid-template-columns: 100px 2px 1fr;
                gap: 15px;
                box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;

                .rc-left {
                    text-align: center;
                    line-height: 1.2;
                    font-size: 15px;
                    font-family: "Nunito-Bold";
                    text-transform: uppercase;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding-top: 5px;
                }

                .vertical-line {
                    background: var(--primaryClr);
                }

                .rc-right {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 10px;

                    .subject-with-code {
                        box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
                        padding: 10px;
                        display: grid;
                        grid-template-columns: 1fr 30px;
                        text-transform: uppercase;
                        font-size: 14px;
                        font-family: "Nunito-SemiBold";
                        line-height: 1.1;
                    }
                }
            }
        }
    }
}

#age-criteria {
    background: var(--secondaryClr);
    padding: 20px;

    .ac-card {
        position: relative;
        display: grid;
        grid-template-columns: 250px 1fr 250px;
        gap: 15px;
        background: var(--secondaryClr);

        p {
            background: #fff;
            box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
            padding: 15px;
            text-align: center;
            text-transform: uppercase;
            font-family: "Nunito-Bold";
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;

            span {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
                display: flex;
                justify-content: center;
                align-items: center;
                font-family: "Nunito-ExtraBold";
                font-size: 35px;
                color: white;
                text-shadow:
                    -1px -1px 0 #999,
                    1px -1px 0 #999,
                    -1px 1px 0 #999,
                    1px 1px 0 #999,
                    3px 3px 3px #999;
                -webkit-text-stroke: 1.5px var(--primaryClr);
            }
        }
    }
}

/* FAQ List Container with distinct gaps between cards */
#faq-section .faq-list {
 display: flex !important;
 flex-direction: column !important;
 gap: 18px !important; /* Visible separation between cards as seen in screenshot */
 width: 100%;
}

/* Card Styling - Smooth Rounded Corners & Transitions */
#faq-section .faq-item {
 background-color: #ffffff;
 border: 1px solid #e2e8f0;
 border-radius: 20px !important; /* Smooth rounded corners as seen in screenshot */
 overflow: hidden;
 transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

#faq-section .faq-item:hover {
 border-color: rgba(245, 158, 11, 0.45);
 box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

/* Active Card State - Matches Screenshot Card 3 */
#faq-section .faq-item.is-active {
 border-color: rgba(245, 158, 11, 0.55) !important;
 box-shadow: 0 12px 28px -5px rgba(245, 158, 11, 0.12), 0 6px 12px -4px rgba(0, 0, 0, 0.04);
}

/* Button / Question Header */
#faq-section .faq-btn {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 text-align: left;
 padding: 22px 28px !important;
 background: transparent;
 border: none;
 outline: none;
 cursor: pointer;
}

/* Question Title Typography - Default text size */
#faq-section .faq-title {
 font-family: 'Nunito-Bold', sans-serif !important;
 font-size: 1.125rem !important; /* Default readable size */
 line-height: 1.45 !important;
 color: #670e10; /* SPS maroon */
 margin: 0;
 padding-right: 24px;
 transition: color 0.3s ease;
}

@media (min-width: 768px) {
 #faq-section .faq-title {
    font-size: 1.2rem !important;
 }
}

/* Active Question Title - warm amber matching screenshot */
#faq-section .faq-item.is-active .faq-title {
 color: #d97706 !important;
}

/* Circular Plus / Cross Icon Box */
#faq-section .faq-icon-box {
 flex-shrink: 0;
 width: 42px;
 height: 42px;
 min-width: 42px;
 border-radius: 50%;
 background-color: #f8fafc;
 border: 1px solid #e2e8f0;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#faq-section .faq-icon-box svg {
 width: 18px;
 height: 18px;
 color: #94a3b8;
 stroke: currentColor;
 stroke-width: 2.2;
 transition: color 0.3s ease;
}

/* Active Icon Box (+ rotates 45deg into ×, becomes amber badge) */
#faq-section .faq-item.is-active .faq-icon-box {
 background-color: #fffbeb !important; /* amber-50 */
 border-color: #fcd34d !important; /* amber-300 */
 transform: rotate(45deg);
}

#faq-section .faq-item.is-active .faq-icon-box svg {
 color: #d97706 !important; /* amber-600 */
}

/* Accordion Expand/Collapse using CSS Grid */
#faq-section .faq-content {
 display: grid;
 grid-template-rows: 0fr;
 transition: grid-template-rows 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

#faq-section .faq-content > div {
 overflow: hidden;
}

#faq-section .faq-item.is-active .faq-content {
 grid-template-rows: 1fr;
}

/* Answer Inner Body */
#faq-section .faq-answer-inner {
 padding: 0 28px 26px 28px !important;
 font-family: 'Nunito-Regular', sans-serif !important;
 font-size: 1rem !important; /* Default body text size */
 line-height: 1.65 !important;
 color: #475569 !important; /* slate-600 */
}

#faq-section .faq-answer-inner p {
 margin-bottom: 0.75rem;
}

#faq-section .faq-answer-inner p:last-child {
 margin-bottom: 0;
}

#faq-section .faq-answer-inner ol {
 list-style-type: decimal;
 padding-left: 1.5rem;
 margin-bottom: 0.75rem;
}

#faq-section .faq-answer-inner ol:last-child {
 margin-bottom: 0;
}

#faq-section .faq-answer-inner ul {
 list-style-type: disc;
 padding-left: 1.5rem;
 margin-bottom: 0.75rem;
}

#faq-section .faq-answer-inner ul:last-child {
 margin-bottom: 0;
}

#faq-section .faq-answer-inner li {
 margin-bottom: 0.35rem;
}

#faq-section .faq-answer-inner li::marker {
 color: #670e10;
 font-weight: bold;
}

#faq-section .faq-answer-inner a {
 color: #670e10;
 font-family: 'Nunito-Bold', sans-serif;
 text-decoration: underline;
}

#faq-section .faq-answer-inner a:hover {
 color: #d97706;
}

/* Table inside FAQ (Question 11) */
#faq-section .faq-table {
 width: 100%;
 border-collapse: collapse;
 margin-top: 0.75rem;
 margin-bottom: 0.5rem;
 border: 1px solid #cbd5e1;
 border-radius: 8px;
 background-color: #ffffff;
}
#faq-section .faq-table th {
 background-color: #f8fafc;
 color: #670e10;
 font-family: 'Nunito-Bold', sans-serif;
 padding: 10px 14px;
 border: 1px solid #cbd5e1;
 text-align: left;
 font-size: 0.95rem;
}
#faq-section .faq-table td {
 padding: 10px 14px;
 border: 1px solid #cbd5e1;
 color: #334155;
 font-size: 0.95rem;
}
#faq-section .faq-table tr:nth-child(even) td {
 background-color: #f8fafc;
}

@media (max-width: 767px) {
 #faq-section .faq-btn {
    padding: 18px 20px !important;
 }
 #faq-section .faq-answer-inner {
    padding: 0 20px 22px 20px !important;
 }
 #faq-section .faq-title {
    font-size: 1.05rem !important;
    padding-right: 16px;
 }
}

/* Ambient Book Floating / Swaying Animations */
@keyframes leftPageSway {
 0%, 100% { transform: rotate(0deg); }
 50% { transform: rotate(2deg); }
}
@keyframes rightPageSway {
 0%, 100% { transform: rotate(0deg); }
 50% { transform: rotate(-2deg); }
}
@keyframes bookBreathe {
 0%, 100% { transform: scale(1); }
 50% { transform: scale(1.03); }
}
.book-page.left-page {
 transform-origin: right bottom;
 animation: leftPageSway 7s ease-in-out infinite;
}
.book-page.right-page {
 transform-origin: left bottom;
 animation: rightPageSway 7s ease-in-out infinite;
}
#ambient-book {
 animation: bookBreathe 9s ease-in-out infinite;
}