@import 'default-style.css';

@import 'dashboard-style.css';





/* ---------------- */

* {
    scroll-behavior: smooth;
}


.tab-active span {
    display: block !important;
}

#hero-sec {
    --hero-primary: #9d2933;
    --hero-secondary: #b29757;
    --hero-ink: #0a2b4e;
    --hero-paper: #fffaf0;
    padding-top: 115px;
    /* background:
        linear-gradient(135deg, rgb(0 23 66) 0%, rgb(192 160 96 / 69%) 100%),
        url('img/h-n.png') center / cover no-repeat; */
    isolation: isolate;
}

@media (max-width:967px) {

    #hero-sec {
        /* background-image: url('img/hero-mob2.png'); */
        background-repeat: no-repeat;
        margin-top: -100px;
        background-size: cover;
        padding-bottom: 60px;
        background-position: -950px 10px !important;
    }
}

#hero-cert {
    background-image: url('img/hero-cert.png');
    background-repeat: no-repeat;
    margin-top: -110px;
    background-size: cover;
    padding-bottom: 50px;
    background-position: right;
}

.reserve-form {
    background-image: url('img/form-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#hero-sec-about {
    background-image: url('img/hero-about.png');
    background-repeat: no-repeat;
    margin-top: -110px;
    background-size: cover;
    padding-bottom: 50px;
}

#hero-sec-contact {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#hero-sec-blog-single {
    background-image: url('img/blog-single-hero.png');
    background-repeat: no-repeat;
    margin-top: -110px;
    background-size: cover;
    padding-bottom: 50px;
}

#hero-sec-course-archive,
#hero-sec-country-archive {
    background-image: url('img/hero-sec-country-archive.png');
    background-repeat: no-repeat;
    margin-top: -110px;
    background-size: cover;
    padding-bottom: 50px;
}

#hero-sec-blog {
    background-image: url('img/blog-hero.png');
    background-repeat: no-repeat;
    margin-top: -110px;
    background-size: cover;
    padding-bottom: 50px;
}

#hero-sec-top-imgway-single,
#hero-sec-top-imgway-cat,
#hero-sec-top-single-course {
    background-image: url('img/hero-sec-top-single-course.png');
    background-repeat: no-repeat;
    margin-top: -110px;
    background-size: cover;
}

#startup-way,
#work-way,
#tahsil {
    background-image: url('img/tahsil-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#country-banners {
    background-image: url('img/country-banners.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#invest-way,
#study-way,
#courses {
    background-image: url('img/course-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#about-us {
    background-image: url('img/about-sec.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#comments {
    background-image: url('img/glass-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#banner-1 {
    background-image: url('img/banner-1.png');
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width:1000px) {
    #banner-1 {
        background-image: url('img/banner-1.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: -260px 0px;
    }
}

#header-desk {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 0px;
    width: 100%;
}

#menu-hdr nav>ul>li>a {
    position: relative;
}

#menu-hdr nav>ul>li>a::before {
    content: "";
    position: absolute;
    top: -34px;
    right: 50%;
    transform: translateX(50%);
    background-image: url('img/menu-before.svg');
    width: 16px;
    height: 11px;
    transition: all 0.2s ease-in;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
}

#menu-hdr nav>ul>li>a::after {
    content: "";
    position: absolute;
    top: -50px;
    right: 50%;
    transform: translateX(50%);
    background-image: url('img/menu-after.svg');
    width: 16px;
    height: 11px;
    transition: all 0.3s ease-in;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
}

#menu-hdr nav>ul>li:hover>a::before {
    filter: invert(1);
    opacity: 0.2;
    width: 22px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: cover;
}

#menu-hdr nav ul>li:hover>a::after {
    top: -34px;
    opacity: 1;
}

.tabs .tab-active {
    background-color: #C0A060;
}

.tabs .tab-active::after {
    content: "";
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 0;
    background-image: url('img/tab-active.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 10px;
}

.animated-gradient {
    background-size: 300% 100%;
    animation: textGradient 4s ease-in-out infinite alternate;
}

@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}


@property --hero-opportunity-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes heroOpportunityBorderLight {
    to {
        --hero-opportunity-border-angle: 360deg;
    }
}

#btm-hero>.opportunity {
    isolation: isolate;
}

#btm-hero>.opportunity::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 2px;
    background:
        conic-gradient(from var(--hero-opportunity-border-angle),
            transparent 0deg,
            transparent 55deg,
            rgba(255, 255, 255, 0.95) 78deg,
            rgba(192, 160, 96, 1) 92deg,
            rgba(255, 255, 255, 0.95) 106deg,
            transparent 130deg,
            transparent 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: heroOpportunityBorderLight 6s linear infinite;
}

#btm-hero>.opportunity>* {
    position: relative;
    z-index: 1;
}




@property --country-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes countryBorderLight {
    to {
        --country-border-angle: 360deg;
    }
}

#country-cards a#country-card {
    isolation: isolate;
}

#country-cards a#country-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: 14px;
    padding: 1px;
    background:
        conic-gradient(from var(--country-border-angle),
            transparent 0deg,
            transparent 55deg,
            rgba(255, 255, 255, 0.95) 78deg,
            rgba(192, 160, 96, 1) 92deg,
            rgba(255, 255, 255, 0.95) 106deg,
            transparent 130deg,
            transparent 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: countryBorderLight 6s linear infinite;
}



<style>@property --course-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes courseBorderLight {
    to {
        --course-border-angle: 360deg;
    }
}

.course-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.course-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 3px;
    border-radius: 15px;
    background:
        conic-gradient(from var(--course-border-angle),
            transparent 0deg,
            transparent 55deg,
            rgba(255, 255, 255, 0.95) 78deg,
            rgba(192, 160, 96, 1) 92deg,
            rgba(255, 255, 255, 0.95) 106deg,
            transparent 130deg,
            transparent 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: courseBorderLight 5s linear infinite;
}

.course-card>* {
    position: relative;
    z-index: 1;
}






@property --comment-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes commentBorderLight {
    to {
        --comment-border-angle: 360deg;
    }
}

.comments .cm-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.comments .cm-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    padding: 2px;
    background:
        conic-gradient(from var(--comment-border-angle),
            transparent 0deg,
            transparent 55deg,
            rgba(255, 255, 255, 0.95) 78deg,
            rgba(192, 160, 96, 1) 92deg,
            rgba(255, 255, 255, 0.95) 106deg,
            transparent 130deg,
            transparent 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: commentBorderLight 6s linear infinite;
}

.comments .pagination-dots .comments-pagination-bullet {
    width: 22px;
    height: 24px;
    display: flex;
    color: #919394;
    cursor: pointer;
}

.comments .pagination-dots .comments-pagination-bullet-active {
    color: #0A2B4E;
}

.course-teachers-wrapper .pagination-dots .teacher-pagination-bullet {
    width: 22px;
    height: 24px;
    display: flex;
    color: #919394;
    cursor: pointer;
}

.course-teachers-wrapper .pagination-dots .teacher-pagination-bullet-active {
    color: #0A2B4E;
}

/* Comment Card Styles */
.comment-card {
    position: relative;
}

.comment-card .bg-gradient-to-l {
    background: linear-gradient(to left, #0A2B4E, #1a4a7a);
}

.comment-card:hover {
    box-shadow: 0 4px 15px rgba(10, 43, 78, 0.1);
}

.comment-card .star-rating .star-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-card .star-rating .star-btn:hover {
    transform: scale(1.1);
}

/* Comment Pagination */
.comments-list .page-numbers,
#comments-blog .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    color: #0A2B4E;
    border: 1px solid rgba(192, 160, 96, 0.3);
    transition: all 0.2s ease;
}

.comments-list .page-numbers:hover,
#comments-blog .page-numbers:hover {
    background-color: #0A2B4E;
    color: #fff;
    border-color: #0A2B4E;
}

.comments-list .page-numbers.current,
#comments-blog .page-numbers.current {
    background-color: #0A2B4E;
    color: #fff;
    border-color: #0A2B4E;
}

.comments-list .page-numbers.dots,
#comments-blog .page-numbers.dots {
    border: none;
    color: #999;
}

/* Comment Form */
.comment-form input,
.comment-form textarea {
    font-family: 'YekanBakh', sans-serif;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #C0A060;
}

.comment-form .comment-notes {
    display: none;
}

.comment-form .form-submit {
    margin: 0;
}

/* Nested comments */
.comments-list .parent>.children {
    padding-right: 60px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 768px) {
    .comments-list .parent>.children {
        padding-right: 20px;
    }
}

/* Comment reply target */
#respond {
    scroll-margin-top: 100px;
}

/* Cancel reply */
#cancel-comment-reply-link {
    color: #C0A060;
    font-size: 13px;
}

#cancel-comment-reply-link:hover {
    color: #0A2B4E;
}

/* Star rating in form */
.star-rating .star-btn {
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.star-rating .star-btn:hover {
    transform: scale(1.1);
}

/* ========== Responsive: country-archive.php ========== */

.country-archive-tags .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.country-archive-tags .swiper-slide {
    width: auto !important;
}


section#work-way .top-half-logo img,
section#startup-way .top-half-logo img {
    height: 63px;
}

section#work-way .desc-way,
section#startup-way .desc-way {
    color: #0A2B4E;
}

@media (max-width: 767px) {

    /* Hero Section */
    .country-archive-tags {
        padding: 0 !important;
    }

    .country-archive-tags .swiper-wrapper {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .country-archive-tags .swiper-slide {
        font-size: 12px;
        padding: 6px 12px;
        white-space: nowrap;
    }

    #hero-sec-country-archive .w-full.mt-\[300px\] {
        margin-top: 180px !important;
    }

    #hero-sec-country-archive .text-white.text-5xl {
        font-size: 1.75rem;
        text-align: center;
    }

    #hero-sec-country-archive .w-full.flex.justify-start.gap-14 {
        gap: 1rem;
    }

    #hero-sec-country-archive .mt-5.justify-center.items-center[class*="flex"] {
        width: 100% !important;
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    #hero-sec-country-archive .mt-5.justify-center.items-center[class*="flex"] input {
        border-radius: 8px;
        height: 48px;
    }

    #hero-sec-country-archive .mt-5.justify-center.items-center[class*="flex"] button {
        border-radius: 8px;
        height: 48px;
        width: 100%;
        justify-content: center;
    }

    #hero-sec-country-archive .justify-start.items-center.gap-3.px-5,
    #hero-sec-country-archive .country-archive-tags {
        width: 100% !important;
    }

    /* Country Cards Section */
    #country-cards-archive {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .country-archive-prev-button,
    .country-archive-next-button {
        display: none !important;
    }

    .country-card-archive {
        padding: 10px !important;
        gap: 10px !important;
    }

    .country-card-archive .rounded-lg.w-full.h-\[125px\] {
        height: 100px;
    }

    .country-card-archive .title {
        font-size: 14px;
    }

    .country-card-archive .imigrate-ways {
        padding: 10px 12px !important;
        gap: 6px !important;
    }

    .country-card-archive .imigrate-ways span {
        font-size: 13px;
    }

    /* Banners Section */
    #country-banners {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #country-banners h2 {
        font-size: 1.25rem;
    }

    #country-banners .banners {
        flex-direction: column;
        gap: 1rem !important;
    }

    #country-banners .banners>div {
        width: 100% !important;
        height: 220px !important;
    }

    #country-banners .banners>div.w-5\/12 {
        flex-direction: row;
        height: auto !important;
        gap: 1rem;
    }

    #country-banners .banners>div.w-5\/12>div {
        height: 220px !important;
    }

    /* Country Swiper Section */
    #country {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #country h2 {
        font-size: 1.25rem;
    }

    .country-prev-button,
    .country-next-button {
        display: none !important;
    }

    /* FAQ Section */
    #faq h2 {
        font-size: 1.25rem;
    }

    #faq .accardion-header {
        padding: 14px !important;
    }

    #faq .accardion-header p {
        font-size: 13px !important;
        line-height: 24px !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    /* Hero Section */
    #hero-sec-country-archive .w-full.mt-\[300px\] {
        margin-top: 220px !important;
    }

    #hero-sec-country-archive .md\:w-7\/12 {
        width: 90% !important;
    }

    /* Banners */
    #country-banners .banners>div {
        height: 280px !important;
    }

    #country-banners .banners>div.w-5\/12>div {
        height: 130px !important;
    }

    /* Country Swiper */
    #country .swiper-slide {
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    #hero-sec-country-archive .w-full.mt-\[300px\] {
        margin-top: 140px !important;
    }

    #hero-sec-country-archive .text-white.text-5xl {
        font-size: 1.35rem;
    }
}


.side-mega .sub-menu li[class~="france" i]::before {
    background-image: url('img/france.png');
}

.side-mega .sub-menu li[class~="austria" i]::before {
    background-image: url('img/Austria.png');
}

.side-mega .sub-menu li[class~="denmark" i]::before {
    background-image: url('img/denmark.png');
}

.side-mega .sub-menu li[class~="england" i]::before {
    background-image: url('img/england.png');
}

.side-mega .sub-menu li[class~="finland" i]::before {
    background-image: url('img/finland.png');
}

.side-mega .sub-menu li[class~="germany" i]::before {
    background-image: url('img/germany.png');
}

.side-mega .sub-menu li[class~="greece" i]::before {
    background-image: url('img/greece.png');
}

.side-mega .sub-menu li[class~="italy" i]::before {
    background-image: url('img/italy.png');
}

.side-mega .sub-menu li[class~="norway" i]::before {
    background-image: url('img/norway.png');
}

.side-mega .sub-menu li[class~="portugal" i]::before {
    background-image: url('img/portugal.png');
}

.side-mega .sub-menu li[class~="spain" i]::before {
    background-image: url('img/spain.png');
}

.side-mega .sub-menu li[class~="sweden" i]::before {
    background-image: url('img/sweden.png');
}

.side-mega .sub-menu li[class~="switzerland" i]::before {
    background-image: url('img/switzerland.png');
}

.side-mega .sub-menu li[class~="turkey" i]::before {
    background-image: url('img/turkey.png');
}

.side-mega .sub-menu li[class~="emirates" i]::before {
    background-image: url('img/emirates.png');
}

.side-mega .sub-menu li[class~="oman" i]::before {
    background-image: url('img/oman.png');
}

.side-mega .sub-menu li[class~="canada" i]::before {
    background-image: url('img/canada.png');
}

.side-mega .sub-menu li[class~="dominica" i]::before {
    background-image: url('img/dominica.png');
}

.side-mega .sub-menu li[class~="usa" i]::before {
    background-image: url('img/usa.png');
}

.side-mega .sub-menu li[class~="australia" i]::before {
    background-image: url('img/Australia.png');
}

.side-mega .sub-menu li[class~="turkey" i]::before {
    background-image: url('img/turkey.png');
}

.side-mega .sub-menu li[class~="serbia" i]::before {
    background-image: url('img/serbia.png');
}

.side-mega .sub-menu li[class~="croatia" i]::before {
    background-image: url('img/croatia.png');
}

.side-mega .sub-menu li[class~="newzealand" i]::before {
    background-image: url('img/newzealand.png');
}

.side-mega .sub-menu li[class~="hungary" i]::before {
    background-image: url('img/hungary.png');
}

.side-mega .sub-menu li::after {
    background-image: url('img/arrw.png');
}

.side-mega>a::before {
    background-image: url('img/logo-blue-rot.png');
}

.megaa .intersect::after {
    background-image: url('img/Intersect.png');
}

.megaa2>.sub-menu li.icon-person a::before {
    position: absolute;
    content: "";
    right: 50%;
    transform: translateX(50%);
    top: 20px;
    background-image: url('img/fi-sr-user.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.megaa2>.sub-menu li.icon-person a::after {
    position: absolute;
    content: "ارائه طرح کسب و کار";
    color: #0A2B4E;
    font-size: 11px;
    right: 50%;
    transform: translateX(50%);
    bottom: 20px;
    white-space: nowrap;
}

#menu-hdr nav ul.sub-menu>li:hover>a::after {
    top: unset;
}

.megaa2>.sub-menu li:first-child {
    position: relative;
}

.megaa2>.sub-menu li:first-child::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 11px;
    top: -30px;
    right: 140px;
    background-image: url('img/Intersect.png');
}


#logo-hdr {
    position: relative;
    overflow: hidden;
}

#menu-hdr::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, #00000000, rgb(255 255 255 / 8%) 50%, transparent);
    transform: skewX(-20deg);
    animation: logoShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoShine {
    0% {
        transform: translateX(150%) skewX(-20deg);
    }

    100% {
        transform: translateX(320%) skewX(-20deg);
    }
}

.paradise-404 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(192, 160, 96, 0.16), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f7f3ea 100%);
}

.paradise-404__hero {
    position: relative;
    min-height: 760px;
    padding: 180px 0 95px;
}

.paradise-404__pattern {
    position: absolute;
    inset: 70px auto auto 50%;
    width: min(680px, 92vw);
    opacity: 0.14;
    transform: translateX(-50%);
    pointer-events: none;
}

.paradise-404__pattern img {
    width: 100%;
    height: auto;
}

.paradise-404__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 44px;
}

.paradise-404__content {
    max-width: 620px;
}

.paradise-404__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 18px;
    border: 1px solid rgba(192, 160, 96, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #0A2B4E;
    font-size: 15px;
    font-weight: 700;
}

.paradise-404__title {
    margin: 28px 0 18px;
    color: #0A2B4E;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.35;
}

.paradise-404__text {
    max-width: 560px;
    color: rgba(10, 43, 78, 0.72);
    font-size: 18px;
    line-height: 2;
}

.paradise-404__search {
    display: flex;
    align-items: stretch;
    width: min(100%, 560px);
    margin-top: 34px;
    padding: 8px;
    border: 1px solid rgba(10, 43, 78, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 65px rgba(10, 43, 78, 0.09);
}

.paradise-404__search input {
    min-width: 0;
    flex: 1;
    height: 54px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0A2B4E;
}

.paradise-404__search button {
    flex: 0 0 auto;
    min-width: 116px;
    height: 54px;
    border: 0;
    border-radius: 13px;
    background: #0A2B4E;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.paradise-404__search button:hover {
    background: #C0A060;
    transform: translateY(-1px);
}

.paradise-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.paradise-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.paradise-404__btn:hover {
    transform: translateY(-2px);
}

.paradise-404__btn--primary {
    background: #C0A060;
    color: #fff;
    box-shadow: 0 16px 34px rgba(192, 160, 96, 0.28);
}

.paradise-404__btn--ghost {
    border: 1px solid rgba(10, 43, 78, 0.15);
    background: rgba(255, 255, 255, 0.66);
    color: #0A2B4E;
}

.paradise-404__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
}

.paradise-404__visual::before {
    content: "";
    position: absolute;
    width: min(430px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, #0A2B4E, #0f5684);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 38px 95px rgba(10, 43, 78, 0.26);
}

.paradise-404__number {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(92px, 13vw, 176px);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.paradise-404__earth {
    position: absolute;
    z-index: 3;
    right: 8%;
    bottom: 14%;
    width: 112px;
    animation: paradise404Float 5s ease-in-out infinite;
}

.paradise-404__wing {
    position: absolute;
    z-index: 1;
    width: 128px;
    opacity: 0.9;
}

.paradise-404__wing--right {
    top: 12%;
    right: 7%;
}

.paradise-404__wing--left {
    left: 4%;
    bottom: 17%;
    transform: rotate(-10deg);
}

.paradise-404__links {
    position: relative;
    z-index: 2;
    padding: 0 0 95px;
}

.paradise-404__link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.paradise-404__link-grid a {
    display: flex;
    min-height: 128px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(10, 43, 78, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(10, 43, 78, 0.07);
    color: #0A2B4E;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.paradise-404__link-grid a:hover {
    border-color: rgba(192, 160, 96, 0.45);
    transform: translateY(-3px);
}

.paradise-404__link-grid span {
    font-size: 19px;
    font-weight: 800;
}

.paradise-404__link-grid small {
    color: rgba(10, 43, 78, 0.64);
    font-size: 14px;
    line-height: 1.8;
}

@keyframes paradise404Float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@media (max-width: 991px) {
    .paradise-404__hero {
        min-height: auto;
        padding: 135px 0 64px;
    }

    .paradise-404__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .paradise-404__content {
        max-width: none;
        text-align: center;
    }

    .paradise-404__text,
    .paradise-404__search {
        margin-right: auto;
        margin-left: auto;
    }

    .paradise-404__actions {
        justify-content: center;
    }

    .paradise-404__visual {
        min-height: 360px;
    }

    .paradise-404__link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .paradise-404__hero {
        padding-top: 118px;
    }

    .paradise-404__title {
        font-size: 30px;
    }

    .paradise-404__text {
        font-size: 15px;
    }

    .paradise-404__search {
        flex-direction: column;
        gap: 8px;
        border-radius: 16px;
    }

    .paradise-404__search input,
    .paradise-404__search button {
        width: 100%;
    }

    .paradise-404__actions {
        flex-direction: column;
    }

    .paradise-404__btn {
        width: 100%;
    }

    .paradise-404__visual {
        min-height: 285px;
    }

    .paradise-404__earth {
        width: 82px;
    }

    .paradise-404__wing {
        width: 92px;
    }
}

/* Prevent Safari from resolving the teacher slide's percentage-height children against an auto height. */
.course-teachers-wrapper .course-teacher {
    height: 110px !important;
    min-height: 0;
    overflow: hidden;
}

.course-teachers-wrapper .course-teacher .card-img {
    min-height: 0;
}

/* Keep links inside dynamic FAQ answers visible, accessible, and aligned with the theme palette. */
#faq .accordion-body a {
    color: #9d2933;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration-line: underline;
    text-decoration-color: #b29757;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 200ms ease, text-decoration-color 200ms ease;
}

/* Provide a clear interaction state without shifting the surrounding FAQ content. */
#faq .accordion-body a:hover {
    color: #761f27;
    text-decoration-color: currentcolor;
}

/* Preserve a visible keyboard focus indicator for FAQ links. */
#faq .accordion-body a:focus-visible {
    border-radius: 3px;
    outline: 2px solid #027e82;
    outline-offset: 3px;
}
