:root{--navy:#0b2e59;--navy2:#163f72;--yellow:#ffc928;--blue:#0d6efd;--text:#26364a;--muted:#6f7e8f;--light:#f5f8fc;--border:#e5ebf2;--white:#fff;--shadow:0 14px 35px rgba(14,45,82,.10)}
html{scroll-behavior:smooth}body{font-family:'Prompt',sans-serif;color:var(--text);background:#fff;font-size:15px;line-height:1.7;padding-top:104px}a{color:var(--navy);transition:.2s}a:hover{text-decoration:none;color:#e0a900}.top-strip{height:34px;background:var(--navy);color:#dbe6f2;font-size:12px;line-height:34px}.top-strip a{color:#dbe6f2}.navbar{min-height:70px}.navbar-brand{max-width:65%}.brand-mark{width:43px;height:43px;border-radius:12px;background:linear-gradient(145deg,var(--navy),#1b5b99);color:var(--yellow);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:24px;box-shadow:0 5px 12px rgba(11,46,89,.2);margin-right:11px}.brand-text,.footer-brand>div:last-child{display:flex;flex-direction:column;line-height:1.25}.brand-text strong{font-size:15px;color:var(--navy)}.brand-text small{font-size:11px;color:#738296}.navbar-light .navbar-nav .nav-link{font-weight:500;color:#3e4d60;padding:.65rem .72rem}.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .active>.nav-link{color:var(--navy)}.btn{border-radius:9px;font-weight:500}.btn-primary{background:var(--navy);border-color:var(--navy)}.btn-primary:hover{background:#14477f;border-color:#14477f}.btn-outline-primary{color:var(--navy);border-color:var(--navy)}.btn-outline-primary:hover{background:var(--navy);border-color:var(--navy)}.btn-warning{background:var(--yellow);border-color:var(--yellow);color:#192b3d}.hero-section{position:relative;overflow:hidden;background:linear-gradient(112deg,#0b2e59 0%,#124c83 66%,#1770a2 100%);color:#fff}.hero-section:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:7%;top:-230px;background:rgba(255,255,255,.07)}.hero-section:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;left:-120px;bottom:-140px;background:rgba(255,201,40,.10)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,33,67,.25),rgba(9,52,91,.03))}.min-vh-hero{min-height:545px}.hero-badge{display:inline-flex;align-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);border-radius:99px;padding:7px 14px;font-size:13px;margin-bottom:18px}.hero-section h1{font-size:50px;font-weight:700;line-height:1.18;margin-bottom:18px}.hero-section h1 span{color:var(--yellow)}.hero-lead{font-size:18px;max-width:680px;color:#e6edf6}.hero-actions .btn{min-width:175px}.hero-status{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;color:#dfeafa}.hero-status i{color:var(--yellow);margin-right:4px}.hero-students{max-height:500px;filter:drop-shadow(0 18px 20px rgba(0,0,0,.28))}.quick-menu-wrap{position:relative;margin-top:-48px;z-index:3}.quick-menu-card{background:#fff;border-radius:18px;overflow:hidden}.quick-menu-item{min-height:145px;padding:20px 12px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--text)}.quick-menu-item:hover{background:#f8fbff;transform:translateY(-2px)}.quick-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#eaf2fb;color:var(--navy);font-size:19px;margin-bottom:8px}.quick-menu-item strong{font-size:14px}.quick-menu-item small{font-size:11px;color:var(--muted)}.section-padding{padding:88px 0}.bg-light-soft{background:var(--light)}.bg-navy-soft{background:linear-gradient(135deg,var(--navy),#164d82)}.section-heading{margin-bottom:34px}.section-heading h2{font-weight:700;color:var(--navy);font-size:32px;margin:4px 0 8px}.section-heading p{color:var(--muted);margin-bottom:0}.section-heading.text-white h2,.section-heading.text-white p{color:#fff}.section-heading.text-white p{opacity:.78}.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.8px;font-size:12px;font-weight:600;color:#b38300}.eyebrow-light{color:var(--yellow)}.section-link{font-weight:500;white-space:nowrap}.course-search-box{background:#fff;padding:25px;border-radius:16px;border:1px solid var(--border)}label{font-size:13px;font-weight:500}.form-control,.input-group-text{height:46px;border-color:#dce4ec}.form-control{border-radius:8px}.input-group-text{background:#fff}.search-message{border-radius:8px;margin-top:10px;padding:9px 12px;background:#e9f5ff;color:#184b78}.round-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:17px;padding:25px;box-shadow:0 8px 26px rgba(11,46,89,.06);transition:.25s}.round-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.round-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.round-icon{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--navy);background:#edf4fb}.round-card h3{font-size:22px;color:var(--navy);font-weight:600}.round-meta{display:flex;gap:10px;color:var(--muted);font-size:13px;margin:6px 0}.round-meta i{width:18px;color:#b58700;margin-top:5px}.faculty-card{height:100%;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 25px rgba(0,0,0,.16);transition:.25s}.faculty-card:hover{transform:translateY(-6px)}.faculty-card img{width:100%;height:210px;object-fit:cover}.faculty-content{padding:23px}.faculty-content>span{font-size:12px;background:#fff3cd;color:#7a5d00;border-radius:99px;padding:5px 10px}.faculty-content h3{font-size:20px;font-weight:600;color:var(--navy);margin:13px 0 7px}.faculty-content p{color:var(--muted);font-size:13px}.faculty-content a{font-weight:500}.step-card{text-align:center;border:1px solid var(--border);border-radius:16px;padding:25px 16px;background:#fff;position:relative;transition:.2s}.step-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}.step-number{position:absolute;top:12px;right:14px;color:#c8d2dd;font-size:22px;font-weight:700}.step-icon{width:65px;height:65px;margin:8px auto 17px;border-radius:18px;background:#eaf2fb;color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:24px}.step-card h3{font-size:17px;color:var(--navy);font-weight:600}.step-card p{font-size:12px;color:var(--muted);margin-bottom:0}.highlight-section{padding:85px 0;background:linear-gradient(130deg,#0b2e59,#0f416f);color:#fff}.highlight-section h2{font-size:34px;font-weight:700}.highlight-section p{color:#d6e2ef}.highlight-stats{margin-top:28px}.highlight-stats>div{display:flex;flex-direction:column}.highlight-stats strong{font-size:28px;color:var(--yellow)}.highlight-stats span{font-size:12px;color:#d6e2ef}.highlight-image{position:relative}.highlight-image img{border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.35);width:100%;height:340px;object-fit:cover}.highlight-floating{position:absolute;left:-22px;bottom:25px;background:#fff;color:var(--navy);border-radius:14px;padding:13px 17px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow);font-size:12px}.highlight-floating i{color:#e4a900;font-size:28px}.news-card{display:flex;background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;gap:15px;transition:.2s}.news-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}.news-date{min-width:55px;height:65px;background:var(--navy);border-radius:12px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}.news-date strong{font-size:21px}.news-date span{font-size:11px;color:var(--yellow)}.news-category{font-size:11px;color:#a77b00;font-weight:500}.news-body h3{font-size:16px;line-height:1.5;margin:5px 0}.news-body h3 a{color:var(--navy)}.news-body p{font-size:12px;color:var(--muted)}.read-more{font-size:12px;font-weight:500}.calendar-list{border:1px solid var(--border);border-radius:17px;overflow:hidden;background:#fff}.calendar-item{display:grid;grid-template-columns:14px 105px 1fr;align-items:center;gap:13px;padding:19px 20px;border-bottom:1px solid var(--border)}.calendar-item:last-child{border-bottom:0}.calendar-dot{width:11px;height:11px;border-radius:50%}.calendar-date{font-weight:600;color:var(--navy)}.calendar-detail{display:flex;flex-direction:column}.calendar-detail strong{font-size:14px}.calendar-detail span{font-size:12px;color:var(--muted)}.faq-contact-box{display:flex;gap:14px;align-items:center;padding:17px;background:#eaf2fb;border-radius:14px;margin-top:25px}.faq-contact-box i{font-size:25px;color:var(--navy)}.faq-contact-box div{display:flex;flex-direction:column}.faq-contact-box span{font-size:12px;color:var(--muted)}.faq-accordion .card{border:1px solid var(--border);border-radius:12px!important;margin-bottom:10px;overflow:hidden}.faq-accordion .card-header{padding:0;background:#fff;border:0}.faq-accordion .btn-link{display:flex;justify-content:space-between;align-items:center;padding:17px 19px;color:var(--navy);font-weight:500;text-decoration:none}.faq-accordion .btn-link i{transition:.2s}.faq-accordion .btn-link:not(.collapsed) i{transform:rotate(180deg)}.faq-accordion .card-body{padding:0 19px 18px;color:var(--muted);font-size:13px}.contact-section{padding:70px 0;background:#f5f8fc}.contact-card{background:linear-gradient(125deg,var(--navy),#18598e);color:#fff;border-radius:22px;padding:45px;box-shadow:0 20px 40px rgba(11,46,89,.2)}.contact-card h2{font-size:31px;font-weight:700}.contact-card p{color:#d9e5f1}.contact-method{display:flex;align-items:center;gap:14px;margin:12px 0}.contact-method>i{width:43px;height:43px;border-radius:12px;background:rgba(255,255,255,.13);display:flex;align-items:center;justify-content:center;color:var(--yellow)}.contact-method div{display:flex;flex-direction:column}.contact-method span{font-size:11px;color:#c9d9e8}.contact-method strong{font-size:13px}.site-footer{background:#071f3b;color:#cbd7e3;padding:60px 0 20px}.footer-brand strong{color:#fff}.footer-brand small{font-size:11px}.site-footer p{font-size:13px;color:#9fb1c3}.site-footer h4{font-size:14px;color:#fff;margin-bottom:16px}.site-footer a{display:block;color:#aebdcc;font-size:12px;margin:7px 0}.site-footer a:hover{color:var(--yellow)}.social-links{display:flex;gap:9px}.social-links a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.09);display:flex;align-items:center;justify-content:center;font-size:16px}.site-footer hr{border-color:rgba(255,255,255,.09)}.footer-bottom{font-size:11px;color:#8195a9;gap:10px}.back-to-top{position:fixed;right:22px;bottom:22px;width:43px;height:43px;border:0;border-radius:12px;background:var(--yellow);color:var(--navy);box-shadow:0 8px 22px rgba(0,0,0,.2);z-index:10;display:none}.back-to-top.show{display:block}
@media(max-width:991.98px){body{padding-top:70px}.site-header .navbar{min-height:70px}.navbar-collapse{padding:12px 0}.hero-section h1{font-size:40px}.min-vh-hero{min-height:510px}.quick-menu-wrap{margin-top:-30px}.quick-menu-item{min-height:130px}.section-padding{padding:70px 0}.highlight-floating{left:18px}.contact-card{padding:32px}.application-steps .col-lg{flex:0 0 50%;max-width:50%}}
@media(max-width:767.98px){.navbar-brand{max-width:78%}.brand-mark{width:38px;height:38px;font-size:20px}.brand-text strong{font-size:12px}.brand-text small{font-size:9px}.hero-section h1{font-size:34px}.hero-lead{font-size:15px}.hero-actions .btn{width:100%;margin-right:0!important}.hero-status{display:none}.min-vh-hero{min-height:530px}.section-padding{padding:58px 0}.section-heading h2{font-size:27px}.quick-menu-item{padding:15px 8px;min-height:125px}.quick-menu-item small{display:none}.course-search-box{padding:18px}.highlight-section h2{font-size:29px}.highlight-image img{height:260px}.news-card{padding:18px}.calendar-item{grid-template-columns:12px 80px 1fr;padding:16px 13px;gap:9px}.calendar-date{font-size:12px}.calendar-detail strong{font-size:12px}.contact-card{padding:27px 20px}.contact-card h2{font-size:26px}.application-steps .col-lg{flex:0 0 100%;max-width:100%}}
@media(max-width:420px){.brand-text small{display:none}.hero-section h1{font-size:30px}.quick-menu-wrap{margin-top:-20px}.quick-menu-item strong{font-size:12px}.faculty-card img{height:185px}.contact-method strong{font-size:11px}.calendar-item{grid-template-columns:9px 1fr}.calendar-detail{grid-column:2}.calendar-date{grid-column:2}}


/* =========================================
   NEWS SECTION
========================================= */

.bg-light-soft {
    background: #f3f7fc;
}

.section-padding {
    padding: 72px 0;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading .eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #d69b00;
    font-size: 0.9rem;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0 0 8px;
    color: #082e63;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.section-heading p {
    margin: 0;
    color: #718096;
    font-size: 1rem;
}

.section-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    color: #082e63;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.section-link:hover {
    color: #d69b00;
    text-decoration: none;
}

/* การ์ดข่าว */

.news-card {
    display: flex;
    position: relative;
    min-height: 210px;
    padding: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(8, 46, 99, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 46, 99, 0.18);
    box-shadow: 0 14px 32px rgba(8, 46, 99, 0.11);
}

/* กล่องวันที่ */

.news-date {
    display: flex;
    flex: 0 0 56px;
    width: 56px;
    height: 68px;
    margin-right: 16px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a3569;
    border-radius: 12px;
    color: #ffffff;
    text-align: center;
}

.news-date strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
}

.news-date span {
    display: block;
    margin-top: 5px;
    color: #ffbf00;
    font-size: 0.72rem;
    font-weight: 600;
}

/* เนื้อหาข่าว */

.news-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.news-category {
    display: block;
    margin-bottom: 8px;
    color: #d69b00;
    font-size: 0.78rem;
    font-weight: 600;
}

.news-body h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.55;
}

.news-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #092f63;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-body h3 a:hover {
    color: #d69b00;
}

.news-body p {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    color: #758196;
    font-size: 0.88rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.read-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: #082e63;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.read-more i {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.read-more:hover {
    color: #d69b00;
    text-decoration: none;
}

.read-more:hover i {
    transform: translateX(4px);
}

.news-empty {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    color: #718096;
    text-align: center;
}

/* Tablet และมือถือ */

@media (max-width: 767.98px) {
    .section-padding {
        padding: 52px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: 1.65rem;
    }

    .section-link {
        margin-top: 14px;
    }

    .news-card {
        min-height: 190px;
        padding: 18px;
    }

    .news-date {
        flex-basis: 52px;
        width: 52px;
        height: 64px;
        margin-right: 14px;
    }

    .news-date strong {
        font-size: 1.25rem;
    }
}

@media (max-width: 420px) {
    .news-card {
        padding: 16px;
    }

    .news-date {
        flex-basis: 48px;
        width: 48px;
        height: 60px;
        margin-right: 12px;
    }

    .news-body h3 {
        font-size: 0.95rem;
    }

    .news-body p {
        font-size: 0.82rem;
    }
}
/* =========================================
   ADMISSION CALENDAR
========================================= */

.calendar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.calendar-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(8, 46, 99, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.calendar-item:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 46, 99, 0.2);
    box-shadow: 0 12px 28px rgba(8, 46, 99, 0.1);
}

.calendar-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4fb;
    color: #0a3569;
    font-size: 1.3rem;
}

.calendar-content {
    min-width: 0;
}

.calendar-content h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
}

.calendar-content h3 a {
    color: #092f63;
    text-decoration: none;
}

.calendar-content h3 a:hover {
    color: #d69b00;
}

.calendar-content p {
    margin: 0;
    color: #758196;
    font-size: 0.88rem;
}

.calendar-date {
    color: #0a3569;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.calendar-action .btn {
    min-width: 110px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .calendar-item {
        grid-template-columns: 52px minmax(0, 1fr) auto;
    }

    .calendar-date {
        grid-column: 2 / 4;
        justify-self: start;
    }

    .calendar-action {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 575.98px) {
    .calendar-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .calendar-icon {
        width: 46px;
        height: 46px;
    }

    .calendar-date,
    .calendar-action {
        grid-column: 2;
    }

    .calendar-action {
        grid-row: auto;
    }

    .calendar-action .btn {
        width: 100%;
    }
}
.calendar-status {
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.calendar-status-upcoming {
    background: #fff3cd;
    color: #8a6500;
}

.calendar-status-open {
    background: #dff7e8;
    color: #14783c;
}

.calendar-status-closed {
    background: #edf0f4;
    color: #727b88;
}
.calendar-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.calendar-title-row h3 {
    margin: 0;
}

.calendar-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* รอเปิดรับสมัคร */
.calendar-status-upcoming {
    background: #fff4d6;
    color: #9a6700;
}

/* กำลังรับสมัคร */
.calendar-status-open {
    background: #dff7e8;
    color: #14783c;
}

/* ปิดรับสมัคร */
.calendar-status-closed {
    background: #eef1f5;
    color: #707986;
}
.calendar-status::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
@media (max-width: 767.98px) {
    .calendar-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }
}
.round-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 28px;
}

.round-group {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    background: #eef4fb;
    color: #0a3569;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/*.round-card-title {
    display: -webkit-box;
    min-height: 58px;
    margin: 16px 0 7px;
    overflow: hidden;
    color: #092f63;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}*/
.round-card-title {
    margin: 16px 0 7px;
    overflow: hidden;
    color: #092f63;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.round-level {
    margin: 0 0 18px;
    color: #758196;
    font-size: 0.88rem;
}
/* =========================================
   COURSE SEARCH
========================================= */

.course-search-section {
    background: #ffffff;
}

.course-search-box {
    position: relative;
    overflow: hidden;
    padding: 48px;
    background:
        linear-gradient(
            135deg,
            #f4f8fd 0%,
            #ffffff 58%,
            #eef5fc 100%
        );
    border: 1px solid #dfe8f3;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(8, 46, 99, 0.08);
}

.course-search-box::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -90px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(255, 191, 0, 0.12);
    border-radius: 50%;
}

.course-search-box h2 {
    margin: 0 0 10px;
    color: #082e63;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
}

.course-search-description {
    margin-bottom: 24px;
    color: #718096;
    font-size: 1rem;
    line-height: 1.7;
}

.course-search-form {
    position: relative;
    z-index: 2;
}

.course-search-form .input-group {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d7e1ed;
    border-radius: 12px;
    box-shadow: 0 7px 20px rgba(8, 46, 99, 0.07);
}

.course-search-form .input-group-text {
    padding: 0 8px 0 18px;
    background: #ffffff;
    border: 0;
    color: #0a3569;
}

.course-search-form .form-control {
    height: 56px;
    padding-left: 10px;
    background: #ffffff;
    border: 0;
    color: #263a55;
    font-size: 0.95rem;
    box-shadow: none;
}

.course-search-form .form-control:focus {
    box-shadow: none;
}

.btn-course-search {
    min-width: 120px;
    padding: 0 24px;
    background: #0a3569;
    border: 0;
    color: #ffffff;
    font-weight: 700;
}

.btn-course-search:hover,
.btn-course-search:focus {
    background: #d9a000;
    color: #ffffff;
}

.course-category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.course-category-label {
    margin-right: 2px;
    color: #718096;
    font-size: 0.82rem;
    font-weight: 600;
}

.course-category-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    background: #ffffff;
    border: 1px solid #d9e4f1;
    border-radius: 20px;
    color: #0a3569;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.course-category-list a:hover {
    transform: translateY(-2px);
    background: #0a3569;
    border-color: #0a3569;
    color: #ffffff;
    text-decoration: none;
}

/* ภาพประกอบ */

.course-search-visual {
    position: relative;
    width: 245px;
    height: 245px;
    margin: 0 auto;
    z-index: 2;
}

.course-search-visual::before,
.course-search-visual::after {
    content: "";
    position: absolute;
    border: 1px dashed rgba(8, 46, 99, 0.22);
    border-radius: 50%;
}

.course-search-visual::before {
    inset: 20px;
}

.course-search-visual::after {
    inset: 48px;
}

.course-search-icon {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 104px;
    height: 104px;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: #0a3569;
    border: 10px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(8, 46, 99, 0.2);
    color: #ffffff;
    font-size: 2.6rem;
}

.course-search-orbit {
    display: flex;
    position: absolute;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #dbe5f1;
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(8, 46, 99, 0.11);
    font-size: 1.05rem;
}

.orbit-one {
    top: 7px;
    left: 99px;
    color: #e67e22;
}

.orbit-two {
    top: 92px;
    right: 0;
    color: #8e44ad;
}

.orbit-three {
    bottom: 5px;
    left: 99px;
    color: #1688c8;
}

.orbit-four {
    top: 92px;
    left: 0;
    color: #269c59;
}

@media (max-width: 991.98px) {
    .course-search-box {
        padding: 38px;
    }
}

@media (max-width: 575.98px) {
    .course-search-box {
        padding: 28px 20px;
        border-radius: 17px;
    }

    .course-search-box h2 {
        font-size: 1.55rem;
    }

    .course-search-form .input-group {
        display: flex;
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .course-search-form .input-group-prepend {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        height: 54px;
    }

    .course-search-form .input-group-text {
        height: 54px;
        border: 1px solid #d7e1ed;
        border-right: 0;
        border-radius: 10px 0 0 10px;
    }

    .course-search-form .form-control {
        width: 100%;
        height: 54px;
        padding-left: 48px;
        border: 1px solid #d7e1ed;
        border-radius: 10px;
    }

    .course-search-form .input-group-append {
        width: 100%;
        margin-top: 10px;
    }

    .btn-course-search {
        width: 100%;
        height: 48px;
        border-radius: 10px;
    }

    .course-category-list {
        align-items: flex-start;
    }

    .course-category-label {
        width: 100%;
    }

    .course-search-visual {
        width: 210px;
        height: 210px;
    }

    .course-search-icon {
        width: 90px;
        height: 90px;
        font-size: 2.1rem;
    }

    .course-search-orbit {
        width: 42px;
        height: 42px;
    }

    .orbit-one,
    .orbit-three {
        left: 84px;
    }

    .orbit-two,
    .orbit-four {
        top: 81px;
    }
}