/**
 * Next Way Campus - Custom Stylesheet
 * Eliminates all inline styles across the website and provides unified component styles.
 */

/* ==========================================================================
   Anti-Spam & Security Styles
   ========================================================================== */
.nwc-trap-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nwc-captcha-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #f4f8fb;
    border: 1.5px solid #b8d4e4;
    border-radius: 8px;
    padding: 14px 20px;
    margin-top: 10px;
    margin-bottom: 25px;
    gap: 15px;
    text-align: left;
}

.nwc-captcha-question {
    font-size: 15px;
    font-weight: 600;
    color: #125875;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nwc-captcha-question i {
    color: #ff7350;
    font-size: 20px;
}

.nwc-captcha-question strong {
    color: #141b22;
    background: #e1edf5;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 700;
}

.nwc-captcha-input-wrap {
    flex: 1 1 240px;
    max-width: 300px;
    width: 100%;
}

.nwc-captcha-input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 300px !important;
    height: 48px !important;
    padding: 10px 18px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border: 1.5px solid #125875 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #141b22 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease-in-out !important;
}

.nwc-captcha-input:focus {
    border-color: #ff7350 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 115, 80, 0.25) !important;
}

@media (max-width: 767px) {
    .nwc-captcha-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .nwc-captcha-input-wrap,
    .nwc-captcha-input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Sidebar Form (Programs Page) Human Verification
   ========================================================================== */
.sidebar-captcha-box {
    text-align: left;
    margin-bottom: 20px;
}

.sidebar-captcha-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.sidebar-captcha-label i {
    color: #ff7350;
    margin-right: 6px;
    font-size: 16px;
}

.sidebar-math-badge {
    background: #ff7350;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.sidebar-captcha-input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 50px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    background-color: #ffffff !important;
    border: 1.5px solid #d0dbe2 !important;
    border-radius: 8px !important;
    color: #141b22 !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease-in-out !important;
}

.sidebar-captcha-input:focus {
    border-color: #ff7350 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 115, 80, 0.35) !important;
}

/* Adjust sidebar container padding on desktop and tablets for optimal layout */
@media (min-width: 992px) and (max-width: 1200px) {
    .contact-bg02 {
        padding: 30px 25px !important;
    }
}

/* ==========================================================================
   Header & Footer
   ========================================================================== */
.site-footer-bg {
    background-color: #125875 !important;
    background-image: url('../img/bg/footer-bg.png') !important;
}

/* ==========================================================================
   Breadcrumb Area (Used on all inner pages)
   ========================================================================== */
.page-breadcrumb-bg {
    background-image: url('../img/bg/bdrc-bg.png') !important;
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */
.slider-active-bg {
    background: #141b22 !important;
}

.home-slider-bg1 {
    background-image: url('../img/slider/banner1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

.home-slider-bg2 {
    background-image: url('../img/slider/banner2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

.home-slider-bg3 {
    background-image: url('../img/slider/banner-law.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

.home-about-bg {
    background: #eff7ff !important;
}

.home-steps-bg {
    background-color: #032e3f !important;
}

.home-admission-bg {
    background-image: url('../img/bg/admission_bg.png') !important;
    background-repeat: no-repeat !important;
    background-position: top !important;
}

.home-search-bg {
    background-image: url('../img/bg/search_bg.png') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.about-services-bg {
    background: #f7fafd !important;
}

.admission-process-bg {
    background: #ffffff !important;
}

.section-subtitle-text {
    max-width: 650px;
    margin: 10px auto 0;
    color: #666666;
}

.process-badge {
    color: #ff7350 !important;
}

.admission-process-area h2 {
    color: #141b22 !important;
}

.process-desc {
    max-width: 700px;
    margin: 15px auto 0;
    color: #666666;
}

.disclaimer-text {
    font-size: 13px !important;
}

.btn-enquire-lg {
    padding: 18px 32px !important;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.map-wrapper {
    background: #f5f5f5 !important;
}

.contact-map-iframe {
    border: 0 !important;
}

.contact-section-bg {
    background: #e7f0f8 !important;
}

/* ==========================================================================
   Program & Course Detail Pages
   ========================================================================== */
.course-detail-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #125875;
    margin-bottom: 10px;
}

.course-detail-card p {
    font-size: 14px;
    line-height: 24px;
    color: #555555;
    margin-bottom: 10px;
}

.course-detail-card p.mb-0 {
    margin-bottom: 0 !important;
}

.course-detail-card h4 i {
    color: #ff7350;
    margin-right: 8px;
}

.course-detail-card h6 {
    font-size: 14px;
    font-weight: 600;
    color: #141b22;
}

.course-detail-card h6.mb-10 {
    margin-bottom: 10px;
}

.phd-spec-title {
    color: #141b22 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 3px !important;
}

/* ==========================================================================
   Form Fields Uniform Polish & Visible Borders
   ========================================================================== */
.contact-bg input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.contact-bg textarea,
.contact-bg select,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select,
.contact-field input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.contact-field textarea,
.admissionForm .contact-field input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.admissionForm .contact-field textarea {
    border: 1.5px solid #bdcdd7 !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    color: #141b22 !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.contact-bg input:not([type="submit"]):not([type="hidden"]):focus,
.contact-bg textarea:focus,
.contact-bg select:focus,
.contact-form input:not([type="submit"]):not([type="hidden"]):focus,
.contact-form textarea:focus,
.contact-form select:focus,
.contact-field input:not([type="submit"]):not([type="hidden"]):focus,
.contact-field textarea:focus,
.admissionForm .contact-field input:not([type="submit"]):not([type="hidden"]):focus,
.admissionForm .contact-field textarea:focus {
    border-color: #125875 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(18, 88, 117, 0.18) !important;
}

.contact-bg input::placeholder,
.contact-bg textarea::placeholder,
.contact-field input::placeholder,
.contact-field textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8898aa !important;
    font-size: 14px !important;
}

.contact-field textarea,
.contact-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Admission Now Card Elevation & Border */
.admissionForm .contact-bg {
    border: 1px solid #d5e5f0 !important;
    box-shadow: 0 10px 30px rgba(18, 88, 117, 0.08) !important;
    border-radius: 12px !important;
}


/* ==========================================================================
   About Us Page Component Styles
   ========================================================================== */
.about-services-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #ff7350;
    transition: all 0.3s ease;
    height: 100%;
}
.about-services-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(18, 88, 117, 0.12);
}
.about-services-box .icon-wrap {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: #eff7ff;
    color: #ff7350;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.about-services-box:hover .icon-wrap {
    background: #ff7350;
    color: #ffffff;
}
.about-services-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #141b22;
    margin-bottom: 12px;
}
.about-services-box p {
    font-size: 14px;
    line-height: 24px;
    color: #666;
    margin-bottom: 0;
}

.step-process-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 32px 26px;
    box-shadow: 0 8px 25px rgba(18, 88, 117, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.step-process-card:hover {
    transform: translateY(-5px);
    border-color: #ff7350;
    box-shadow: 0 15px 35px rgba(18, 88, 117, 0.12);
}
.step-process-card .step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.step-process-card .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #125875;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Fira', sans-serif;
    transition: all 0.3s ease;
}
.step-process-card:hover .step-num {
    background: #ff7350;
}
.step-process-card .step-icon {
    font-size: 26px;
    color: #c0cdd6;
    transition: all 0.3s ease;
}
.step-process-card:hover .step-icon {
    color: #ff7350;
}
.step-process-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #141b22;
    margin-bottom: 12px;
    font-family: 'Fira', sans-serif;
}
.step-process-card p {
    font-size: 14px;
    line-height: 24px;
    color: #666666;
    margin-bottom: 0;
}

.contact-who-card {
    background: #eff7ff;
    border: 1px solid #d0e4f7;
    border-radius: 12px;
    padding: 40px;
}
.contact-who-card h3 {
    font-size: 24px;
    color: #125875;
    margin-bottom: 20px;
    font-weight: 600;
}
.contact-who-card ul {
    padding-left: 0;
    list-style: none;
}
.contact-who-card ul li {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}
.contact-who-card ul li i {
    color: #ff7350;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
}


/* ==========================================================================
   Course Detail Card Components (Shared across all 6 program pages)
   ========================================================================== */
.course-detail-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(18, 88, 117, 0.04);
    transition: all 0.3s ease;
}
.course-detail-card:hover {
    box-shadow: 0 8px 25px rgba(18, 88, 117, 0.08);
}
.course-detail-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #125875;
    margin-bottom: 10px;
}
.course-detail-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #141b22;
    margin-bottom: 6px;
    font-family: 'Fira', sans-serif;
}
.course-detail-card h4 i {
    color: #ff7350;
    margin-right: 8px;
}
.course-detail-card h6 {
    font-size: 14px;
    font-weight: 600;
    color: #141b22;
}
.course-detail-card h6.sub-title {
    color: #ff7350;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}
.course-detail-card h6.mb-10 {
    margin-bottom: 10px;
}
.course-detail-card p {
    color: #555555;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
}
.course-detail-card p.mb-0 {
    margin-bottom: 0 !important;
}
.course-detail-card ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.course-detail-card ul li {
    font-size: 14px;
    color: #555555;
    margin-bottom: 6px;
    list-style: disc;
}
.course-badge-info {
    background: #eff7ff;
    border-left: 4px solid #ff7350;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    color: #125875;
    margin-top: 15px;
}
.course-badge-info strong {
    color: #141b22;
}
.course-intro-img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.phd-step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px;
    height: 100%;
}
.phd-step-box h6 {
    color: #125875;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
}
