/* ================= HEADING ================= */
.counselor-heading {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    padding-bottom: 9px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e2e2;
    position: relative;
}

.counselor-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 3px;
    background: #17225e;
}

/* ================= SECTION + CARD ================= */
.counselor-section {
    background: #fff;
    padding-top: 9px;
}

.counselor-card {
    background: #fff;
    border: 1px solid #e6e9ee;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 22px 20px 6px;
    text-align: center;
    position: relative;
}

/* navy strip above the card */
.counselor-card::before {
    content: "";
    position: absolute;
    top: -9px;
    left: -1px;
    right: -1px;
    height: 5px;
    background: #17225e;
}

/* ================= VERIFIED PILL ================= */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #198754;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(240, 31, 44, .3);
    margin-bottom: 16px;
}

.verified-badge i { font-size: 10px; }

/* ================= AVATAR ================= */
.counselor-avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto 12px;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .13);
}

.counselor-avatar img {
    width: 100%;
    height: 100%;
    max-width: 100%;      /* defensive: never blows out a narrow sidebar */
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* ================= NAME / ROLE ================= */
.counselor-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    letter-spacing: .6px;
    margin-bottom: 4px;
}

.counselor-role {
    font-size: 14px;
    font-weight: 600;
    color: #e2231a;
    margin-bottom: 12px;
}

/* ================= EXPERIENCE PILL ================= */
.exp-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eaf4fb;
    color: #0b4b82;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.exp-pill i { color: #17225e; font-size: 11px; }

/* ================= EDUCATION ================= */
.counselor-edu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    color: #555;
    margin-bottom: 14px;
}

.counselor-edu i { color: #17225e; font-size: 12px; }

/* ================= DASHED NOTE ================= */
.counselor-note {
    background: #fff;
    border: 1px dashed #b6d4ea;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: #4a5f75;
    text-align: center;
    margin-bottom: 0;
}

/* ================= CALL BACK LINK ================= */
.callback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: none;
    color: #17225e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 12px 16px;
    margin-top: 16px;
    border-top: 1px solid #eef1f4;
    transition: color .25s ease;
}

.callback-btn:hover { color: #0b82d0; }

.callback-btn i { font-size: 14px; }

/* ================= CAROUSEL ================= */
/* height lock stops the sidebar jumping between slides */
.counselor-carousel .carousel-item { min-height: 440px; }

.counselor-dots {
    position: static;
    margin: 14px 0 0;
}

.counselor-dots button {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #c9d2db !important;
    border: none !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    transition: all .3s ease;
}

.counselor-dots button.active {
    background: #17225e !important;
    width: 24px !important;
    border-radius: 50px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- Mobile ---------- */
@media (max-width: 576px) {
    .counselor-card   { padding: 20px 16px 4px; }
    .counselor-avatar { width: 96px; height: 96px; }
    .counselor-name   { font-size: 15px; }
    .counselor-role   { font-size: 13.5px; }
    .verified-badge   { font-size: 11.5px; padding: 6px 16px; }
    .counselor-note   { font-size: 12.5px; padding: 12px 13px; }
    .callback-btn     { font-size: 14.5px; padding: 14px 10px 15px; }

    .counselor-carousel .carousel-item { min-height: 420px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .callback-btn,
    .counselor-dots button { transition: none; }
}

/* =========================================================
   SIDEBAR ENQUIRY FORM  —  partials/enquiry-form.blade.php
   public/assets/css/enquiry-form.css

   Self-contained: works on any page that includes the partial.
   Extracted from course-details.css — delete those rules there.
   ========================================================= */

/* ================= BLOCK WRAPPER ================= */
.side-block {
    margin-bottom: 30px;
}

.side-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    padding-bottom: 9px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e2e2;
    position: relative;
}

.side-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 3px;
    background: #17225e;
}

/* ================= FORM FIELDS ================= */
.side-form .form-control {
    border: 1px solid #dde3e9;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 14px;
    margin-bottom: 12px;
}

.side-form .form-control:focus {
    border-color: #0b82d0;
    box-shadow: 0 0 0 3px rgba(11, 130, 208, .12);
}

/* stops the browser default drag-handle widening the sidebar */
.side-form textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* validation feedback from Laravel's @error blocks */
.side-form .form-control.is-invalid {
    border-color: #e2231a;
}

.side-form .invalid-feedback {
    display: block;
    font-size: 12.5px;
    margin: -8px 0 12px;
}

/* ================= SUBMIT ================= */
.side-submit {
    width: 100%;
    background: #17356b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
}

.side-submit:hover {
    background: #0b4b82;
    transform: translateY(-2px);
}

.side-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.side-submit:focus-visible {
    outline: 3px solid #0b82d0;
    outline-offset: 2px;
}

/* ================= SUCCESS MESSAGE ================= */
.side-form-success {
    background: #eaf7ee;
    border: 1px solid #bfe3ca;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 13.5px;
    color: #1a6b32;
    margin-bottom: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 576px) {
    .side-block { margin-bottom: 24px; }
    .side-title { font-size: 16px; }

    .side-form .form-control { font-size: 15px; }   /* 15px+ stops iOS zooming on focus */
    .side-submit { font-size: 14.5px; padding: 13px; }
    .side-submit:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .side-submit { transition: none; }
    .side-submit:hover { transform: none; }
}