/* =====================
   css child home page
   ====================== */

/* ─── Certificate Verification ─────────────────────────────────────────────── */
.sdc-cv-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: 'Urbanist', sans-serif;
}

/* Header */
.sdc-cv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5ee;
    color: #1a6e3c;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.sdc-cv-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f1a2e;
    margin: 0 0 12px;
    line-height: 1.2;
}
.sdc-cv-title span {
    color: #1a7a4a;
}
.sdc-cv-subtitle {
    color: #555;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 32px;
    text-align: center;
}
.sdc-cv-header {
    text-align: center;
    margin-bottom: 32px;
}

/* Form row */
.sdc-cv-form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 28px;
}
.sdc-cv-form-main {
    flex: 1;
}
.sdc-cv-label {
    display: block;
    font-weight: 700;
    font-size: 20px;
    color: #0f1a2e;
    margin-bottom: 10px;
}
.sdc-cv-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.sdc-cv-input-icon {
    padding: 0 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
}
.sdc-cv-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 13px 10px 13px 0;
    color: #374151;
    background: transparent;
}
.sdc-cv-input::placeholder {
    color: #b0b7c3;
}
.sdc-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a7a4a;
    color: #fff;
    font-size: 14px;
    border: none;
    padding: 14px 24px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    font-size: 16px;
}
.sdc-cv-btn:hover {
    background: #145e38;
}
.sdc-cv-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Tip box */
.sdc-cv-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0faf4;
    border: 1px solid #c3e6d0;
    border-radius: 10px;
    padding: 16px 18px;
    min-width: 220px;
    max-width: 340px;
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
}
.sdc-cv-tip strong {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f1a2e;
}
.sdc-cv-tip p {
    margin: 0;
}
.sdc-cv-tip-icon {
    font-size: 24px;
    color: #1a7a4a;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Result area */
.sdc-cv-result {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* Banner (dark navy) */
.sdc-cv-result-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.sdc-cv-found {
    background: #0f1e36;
    color: #fff;
}
.sdc-cv-notfound {
    background: #3b1a1a;
    color: #fff;
}
.sdc-cv-result-status-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.sdc-cv-check,
.sdc-cv-cross {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
}
.sdc-cv-check {
    background: #1a7a4a;
    color: #fff;
}
.sdc-cv-cross {
    background: #c0392b;
    color: #fff;
}
.sdc-cv-result-status-row strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}
.sdc-cv-result-status-row p {
    margin: 0;
    font-size: 13px;
    opacity: .8;
}
.sdc-cv-result-date {
    font-size: 13px;
    opacity: .75;
}

/* Result card (white body) */
.sdc-cv-result-card {
    background: #fff;
    padding: 28px;
}
.sdc-cv-result-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px 32px;
}
.sdc-cv-result-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sdc-cv-field-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.sdc-cv-field-value {
    font-size: 15px;
    font-weight: 600;
    color: #0f1a2e;
}
.sdc-cv-green {
    color: #1a7a4a !important;
}
.sdc-cv-bold {
    font-weight: 700 !important;
}
.sdc-cv-badge-passed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a7a4a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
}

/* Responsive */
@media (max-width: 640px) {
    .sdc-cv-form-row {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    .sdc-cv-tip {
        max-width: 100%;
        min-width: unset;
        order: -1;
    }
    .sdc-cv-title {
        font-size: 26px;
    }
    .sdc-cv-result-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Tabs */
.sdc-cv-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0;
}
.sdc-cv-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
    font-family: inherit;
}
.sdc-cv-tab:hover {
    color: #1a7a4a;
}
.sdc-cv-tab.active {
    color: #1a7a4a;
    border-bottom-color: #1a7a4a;
}

/* Student meta strip above table */
.sdc-cv-student-meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

/* Courses table */
.sdc-cv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.sdc-cv-table thead tr {
    background: #f3f4f6;
}
.sdc-cv-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.sdc-cv-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #374151;
    vertical-align: middle;
}
.sdc-cv-table tbody tr:last-child td {
    border-bottom: none;
}
.sdc-cv-table tbody tr:hover td {
    background: #fafafa;
}
/* ─── End Certificate Verification ─────────────────────────────────────────── */

.swiper-wrapper .swiper-slide aside.pbmit-widget-ads {
    min-height: 330px;
    margin-bottom: 0;
}

.form-sec form.wpcf7-form.init {
    display: block;
    padding: 40px;
}

.form-sec form .form-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    color: #fff;
    font-size: 15px;
    margin-bottom: 20px;
}

.form-sec form .form-row .form-col {
    width: 50%;
}

.form-sec .form-col-12 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}


.req {
    color: red;
    font-weight: 600;
}


.ss-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ss-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.ss-header {
    background: linear-gradient(135deg, #ef991f, #ef991f);
    padding: 20px 15px 130px;
}

.ss-header h3 {
    color: #000;
    font-size: 22px;
    margin: 0;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box; /* Required for WebKit/Blink browsers */
    -webkit-box-orient: vertical; /* Stacks the lines vertically */
    -webkit-line-clamp: 1; /* Limits the content to 3 lines */
    line-clamp: 3; /* Standard property (limited support in some older browsers) */
    text-overflow: ellipsis; /* Adds ellipsis for standard property support */
}

.ss-image {
    margin-top: -110px;
    padding: 0 20px;
}

.ss-image img {
    width: 100%;
    border-radius: 15px;
    height: 220px;
    object-fit: cover;
}

.ss-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.ss-item {
    display: flex;
    gap: 10px;
    text-align: left;
    align-items: center;
}

.ss-item img {
    width: 32px;
    height: 32px;
}

.ss-item span {
    display: block;
    font-size: 12px;
    color: #777;
    line-height: 1;
}

.ss-item strong {
    font-size: 14px;
    color: #000;
}

.ss-btn {
    padding-bottom: 20px;
}

.ss-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2da066, #2da066);
    color: #fff;
    text-decoration: none;
}

.ss-btn a:hover {
    background: linear-gradient(135deg, #ef991f, #ef991f);
    color: #000;
}

/* Responsive */
@media (max-width: 991px) {
    .ss-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ss-grid {
        grid-template-columns: 1fr;
    }
    .sdc-cv-table{
        overflow:auto;
    }
}


.kd-course-details-sidebar a.kd-pr-btn-1 {
    color: #fff;
    margin: 0px auto;
    display: block;
    max-width: 200px;
    text-align: center;
}


.tutor-btn.tutor-btn-primary {
    color: #fff !important;
}

.kd-hero-1-bg-img img {
    object-position: bottom;
    object-fit: cover;
}

.kd-hero-1-area .kd-hero-1-bottom {
    display: none !important;
}

.rating-sec .kd-t-child-1-wrap {
    background: #fff;
    box-shadow: 0px 3px 60px 0px rgba(32, 42, 181, 0.11);
}

.kd-hero-1-slider-btn .slider-btn.kd_hero_1_prev {
    margin-right: 20px !important;
}


.rating-sec .kd-t-child-1-wrap .kd-t-child-1-reating-item {
    background: #f6f6f6;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
}

.mobile-menu-search-bar {
    display: none !important;
}

.single-courses .kd-course-details-area {
    padding-top: 0 !important;
}


.terms-list h5 {
    margin: 20px 0;
}

.terms-list li {
    font-size: 16px;
}


.cstm-course .kd-course-4-card::after {
    display: none;
}

.cstm-course .kd-course-4-card::before {
    display: none;
}

.cstm-course .kd-course-4-card .item-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cstm-course .kd-course-4-card .item-title a,
.cstm-course .kd-course-4-card {
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background-image: none;
}

.cstm-course .kd-course-4-card {
    border: 1px solid #ccc;
    height: 100%;
    box-shadow: 0px 0px 10px #0000001f;
}

.cstm-course .kd-course-4-card-feature li {
    color: #000;
}

.cstm-course .kd-course-4-card .card-line {
    background: #ddd;
    margin-bottom: 30px;
}

.cstm-course .kd-course-4-card:hover {
    background: none;
    box-shadow: none;
    border-color: #444;
}

.cstm-course .kd-course-4-card-btn {
    background: var(--kd-clr-pr-4);
    transition: 0.3s var(--cube-1);
}

.cstm-course .row {
    row-gap: 24px;
}

.cstm-course .kd-course-4-card-btn::after {
    display: none;
}

.cstm-course .kd-course-4-card-btn:hover {
    background: #2da066;
}

.cstm-course .kd-course-4-card .item-title a:hover {
    color: #2da066;
}


.certificate-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 15px 33px 15px 48px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    border: 2px solid #2da066;
    line-height: 1.5;
    margin: 10px 0;
}

.certificate-btn span {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 0px;
}

.certificate-btn small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.9;
}

/* Add arrow icon */
.certificate-btn::after {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    content: "\f054";
    font-family: "Font Awesome 6 Pro";
}
.certificate-btn::before
{
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    font-family: "Font Awesome 6 Pro";
    content: "\f2f7";
    color: #2da066;
}

.certificate-btn:hover{
    border: 2px solid #fff;
    color:#fff
}

.contact-info ul.kd-footer-1-contact li {
    display: flex;
    align-items: center;
    font-family: var(--kd-font-pr-1);
    font-weight: 400;
}

.contact-info ul.kd-footer-1-contact li .icon {
    background: #2da066;
    border: 0;
}

.secure-title .icon {
    border: 0 !important;
    width: 65px !important;
    height: 65px !important;
}

.secure-title li {
    display: flex;
    align-items:center;
    font-weight: 400 !important;
}
