
/* =========================================================
   RAVET EDUCATION PAGE
   Designed to match Mundhwa Education Page screenshots
   ========================================================= */

.ravet-education-page,
.ravet-education-page * {
    box-sizing: border-box;
}

.ravet-education-page {
    width: 100%;
    background: #f8fafc;
    font-family: "Poppins","Poppins Fallback", Arial, sans-serif;
    color: #1e293b;
    padding: 40px 16px 45px;
}

.ravet-education-page h1,
.ravet-education-page h2,
.ravet-education-page h3,
.ravet-education-page p {
    padding: 0;
}

.ravet-education-page a {
    text-decoration: none;
}

.ravet-main-container {
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   1. HERO SECTION
   ========================================================= */

.ravet-edu-hero {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 30px;
    min-height: 198px;

    background: linear-gradient(
        105deg,
        #eff6ff 0%,
        #e9f4ff 48%,
        #e1f2fe 100%
    );

    border: 1px solid #dbe5ef;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 45px 20px;
}

.ravet-edu-hero-inner {
    width: 100%;
}

.ravet-edu-hero h1 {
    margin: 0 0 13px !important;

    color: #102a4c !important;

    font-size: 34px !important;
    line-height: 1.3 !important;

    font-weight: 700 !important;

    letter-spacing: -0.7px;
}


/* BREADCRUMB */

.ravet-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    min-height: 38px;

    padding: 7px 16px;

    border-radius: 50px;

    gap: 8px;

    font-size: 14px;
    line-height: 1.4;
}

.ravet-breadcrumb a {
    color: #2563eb !important;
    font-size: 14px;
    font-weight: 400;
}

.ravet-breadcrumb-current {
    color: #64748b;
}

.ravet-breadcrumb-arrow {
    width: 15px;
    height: 15px;

    color: #64748b;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ravet-breadcrumb-arrow svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   2. INTRO / TRUSTED EDUCATION SECTION
   ========================================================= */

.ravet-education-overview {
    width: 100%;
    max-width: 1160px;

    margin: 0 auto 35px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    padding: 33px 36px 46px;

    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}


/* SECTION HEADING */

.ravet-overview-heading {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 11px;
}

.ravet-overview-heading-icon {
    width: 22px;
    height: 22px;

    min-width: 22px;

    color: #1d4ed8;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ravet-overview-heading-icon svg {
    width: 22px;
    height: 22px;
}

.ravet-overview-heading h2 {
    margin: 0 !important;

    color: #1d4ed8 !important;

    font-size: 22px !important;
    line-height: 1.4 !important;

    font-weight: 600 !important;

    letter-spacing: -0.2px;
}


/* PARAGRAPHS */

.ravet-overview-text {
    margin: 0 0 18px !important;

    color: #64748b !important;

    font-size: 15.5px !important;
    line-height: 1.8 !important;

    font-weight: 400 !important;
}

.ravet-overview-text.last {
    margin-bottom: 25px !important;
}


/* SECOND HEADING */

.ravet-second-heading {
    margin-top: 22px;
}


/* =========================================================
   FEATURE BOXES
   ========================================================= */

.ravet-feature-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 19px;

    margin-top: 29px;
}

.ravet-feature-card {
    min-height: 134px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    border-radius: 10px;

    padding: 23px 19px;

    display: flex;
    align-items: flex-start;

    gap: 15px;
}


/* FEATURE ICON */

.ravet-feature-icon {
    width: 25px;
    height: 25px;

    min-width: 25px;

    color: #2563eb;

    margin-top: 1px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ravet-feature-icon svg {
    width: 25px;
    height: 25px;
}


/* FEATURE TEXT */

.ravet-feature-content h3 {
    margin: 1px 0 3px !important;

    color: #0f2748 !important;

    font-size: 15px !important;
    line-height: 1.4 !important;

    font-weight: 700 !important;
}

.ravet-feature-content p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 13.5px !important;
    line-height: 1.55 !important;

    font-weight: 400 !important;
}


/* =========================================================
   3. EDUCATIONAL CATEGORIES
   ========================================================= */

.ravet-category-section {
    width: 100%;
    max-width: 1160px;

    margin: 0 auto 40px;
}


/* CATEGORY HEADER */

.ravet-category-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}

.ravet-category-title-wrap {
    display: flex;

    align-items: center;

    gap: 10px;
}

.ravet-category-main-icon {
    width: 26px;
    height: 26px;

    min-width: 26px;

    color: #2563eb;
}

.ravet-category-main-icon svg {
    width: 26px;
    height: 26px;
}

.ravet-category-title {
    margin: 0 !important;

    color: #172b49 !important;

    font-size: 25px !important;
    line-height: 1.35 !important;

    font-weight: 700 !important;

    letter-spacing: -0.5px;
}


/* =========================================================
   SEARCH FIELD
   ========================================================= */

.ravet-category-search {
    position: relative;

    width: 360px;

    max-width: 100%;

    flex-shrink: 0;
}

.ravet-search-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    width: 17px;
    height: 17px;

    color: #64748b;

    pointer-events: none;
}

.ravet-category-search input {
    display: block;

    width: 100% !important;
    height: 43px !important;

    margin: 0 !important;

    padding: 0 15px 0 40px !important;

    background: #ffffff !important;

    border: 1px solid #d8e1eb !important;

    border-radius: 8px !important;

    color: #475569 !important;

    font-family: "Poppins","Poppins Fallback", Arial, sans-serif !important;

    font-size: 13.5px !important;
    font-weight: 400 !important;

    outline: none !important;

    box-shadow: none !important;
}

.ravet-category-search input::placeholder {
    color: #64748b;
    opacity: 1;
}

.ravet-category-search input:focus {
    border-color: #93b4ff !important;
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.ravet-category-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   CATEGORY CARD
   ========================================================= */

.ravet-category-card {
    min-height: 277px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 24px 24px 0;

    display: flex;

    flex-direction: column;

    overflow: hidden;
}


/* TOP AREA */

.ravet-card-top {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 26px;
}


/* ICON BOX */

.ravet-card-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;

    background: #eff6ff;

    border-radius: 10px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.ravet-card-icon svg {
    width: 23px;
    height: 23px;

    color: #2563eb;
}


/* CARD TITLE */

.ravet-card-title {
    margin: 7px 0 0 !important;

    color: #102747 !important;

    font-size: 16.5px !important;
    line-height: 1.4 !important;

    font-weight: 700 !important;

    letter-spacing: -0.2px;
}


/* CARD DESCRIPTION */

.ravet-card-description {
    margin: 0 0 20px !important;

    color: #64748b !important;

    font-size: 13.8px !important;
    line-height: 1.68 !important;

    font-weight: 400 !important;

    display: -webkit-box;

    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* CARD FOOTER */

.ravet-card-footer {
    min-height: 61px;

    margin-top: auto;

    border-top: 1px dashed #d9e2ec;

    display: flex;

    align-items: center;
}


/* EXPLORE LINK */

.ravet-explore-link {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    color: #175cff !important;

    font-size: 13.5px;
    line-height: 1.4;

    font-weight: 600;

    text-decoration: none !important;
}

.ravet-explore-link:hover {
    color: #174cc7 !important;
}

.ravet-explore-arrow {
    width: 18px;
    height: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #175cff;

    transition: transform 0.2s ease;
}

.ravet-explore-link:hover .ravet-explore-arrow {
    transform: translateX(3px);
}

.ravet-explore-arrow svg {
    width: 18px;
    height: 18px;
}


/* SEARCH NO RESULT */

.ravet-category-no-results {
    display: none;

    grid-column: 1 / -1;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 28px;

    text-align: center;

    color: #64748b;

    font-size: 14px;
}


/* =========================================================
   4. FAQ SECTION
   ========================================================= */

.ravet-faq-section {
    width: 100%;
    max-width: 1160px;

    margin: 0 auto;

    padding: 47px 40px 40px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}


/* FAQ TITLE */

.ravet-faq-heading {
    display: flex;

    align-items: center;

    gap: 11px;
}

.ravet-faq-heading-icon {
    width: 24px;
    height: 24px;

    min-width: 24px;

    border-radius: 50%;

    background: #2563eb;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 15px;

    font-weight: 700;
}

.ravet-faq-heading h2 {
    margin: 0 !important;

    color: #102747 !important;

    font-size: 25px !important;
    line-height: 1.35 !important;

    font-weight: 700 !important;

    letter-spacing: -0.4px;
}


/* FAQ DIVIDER */

.ravet-faq-divider {
    width: 100%;

    height: 1px;

    background: #dbeafe;

    margin: 24px 0 25px;
}


/* FAQ ITEM */

.ravet-faq-item {
    margin: 0 0 16px;

    background: #f8fafc;

    border: 1px solid #dde5ee;

    border-radius: 7px;

    overflow: hidden;
}

.ravet-faq-item:last-child {
    margin-bottom: 0;
}

.ravet-faq-item summary {
    position: relative;

    min-height: 61px;

    padding: 18px 48px 18px 19px;

    list-style: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    color: #102747;

    font-family: "Poppins","Poppins Fallback", Arial, sans-serif;

    font-size: 14.5px;
    line-height: 1.6;

    font-weight: 600;
}

.ravet-faq-item summary::-webkit-details-marker {
    display: none;
}

.ravet-faq-item summary::marker {
    display: none;
}


/* FAQ CHEVRON */

.ravet-faq-item summary::after {
    content: "";

    position: absolute;

    right: 22px;
    top: 50%;

    width: 9px;
    height: 9px;

    border-right: 2px solid #2563eb;
    border-bottom: 2px solid #2563eb;

    transform:
        translateY(-65%)
        rotate(45deg);

    transition: transform 0.2s ease;
}

.ravet-faq-item[open] summary::after {
    transform:
        translateY(-25%)
        rotate(225deg);
}


/* FAQ ANSWER */

.ravet-faq-answer {
    padding: 0 19px 19px;
}

.ravet-faq-answer p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;
    line-height: 1.75 !important;

    font-weight: 400 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 1024px) {

    .ravet-feature-grid {
        grid-template-columns: 1fr;
    }

    .ravet-feature-card {
        min-height: auto;
    }

    .ravet-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ravet-category-search {
        width: 310px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

    .ravet-education-page {
        padding: 20px 14px 30px;
    }

    .ravet-edu-hero {
        min-height: 170px;

        padding: 35px 18px;

        margin-bottom: 22px;
    }

    .ravet-edu-hero h1 {
        font-size: 26px !important;
    }

    .ravet-education-overview {
        padding: 26px 20px 28px;

        margin-bottom: 28px;
    }

    .ravet-overview-heading {
        align-items: flex-start;
    }

    .ravet-overview-heading h2 {
        font-size: 19px !important;
    }

    .ravet-overview-text {
        font-size: 14.5px !important;
    }

    .ravet-feature-grid {
        margin-top: 23px;

        gap: 14px;
    }

    .ravet-category-section {
        margin-bottom: 28px;
    }

    .ravet-category-header {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        margin-bottom: 21px;
    }

    .ravet-category-title-wrap {
        align-items: flex-start;
    }

    .ravet-category-title {
        font-size: 22px !important;
    }

    .ravet-category-search {
        width: 100%;
    }

    .ravet-category-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .ravet-category-card {
        min-height: 270px;

        padding: 22px 21px 0;
    }

    .ravet-faq-section {
        padding: 30px 20px 26px;
    }

    .ravet-faq-heading {
        align-items: flex-start;
    }

    .ravet-faq-heading h2 {
        font-size: 22px !important;
    }

    .ravet-faq-item summary {
        padding: 16px 44px 16px 16px;

        font-size: 14px;
    }

    .ravet-faq-answer {
        padding: 0 16px 17px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media only screen and (max-width: 420px) {

    .ravet-edu-hero h1 {
        font-size: 23px !important;
    }

    .ravet-breadcrumb {
        font-size: 13px;
    }

    .ravet-card-title {
        font-size: 16px !important;
    }

}
