/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: A child theme for Divi Theme
Author: Tarandeep
Author URI: https://divi.com
Template: Divi
Version: 1.0.0
*/

/* Import Divi parent styles */
@import url("../Divi/style.css");




/* Add your custom CSS below */
.ld-feedback-block {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 30px;
    margin: 38px auto 40px auto;
}
.ld-feedback-title {
    font-size: 1.22em;
    margin-bottom: 17px;
    color: #3171b2;
}
.ld-feedback-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}
.ld-feedback-list-item {
    border-bottom: 1px solid #efefef;
    padding-bottom: 13px;
    margin-bottom: 16px;
}
.ld-feedback-label {
    font-weight: 600;
    font-size: 1em;
    color: #3171b2;
    margin-right: 8px;
}
.ld-feedback-user-msg {
    background: #f1f6ff;
    border-radius: 4px;
    padding: 11px 17px;
    margin-bottom: 7px;
    font-size: 1.07em;
}
.ld-feedback-reply {
    background: #eafbf2;
    border-left: 3px solid #2ecc71;
    padding: 9px 17px;
    margin-left: 23px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-size: 1em;
}
.ld-feedback-empty {
    text-align: center;
    color: #888;
    padding: 14px 0 17px 0;
    font-style: italic;
}
.ld-feedback-form {
    background: #f7fafb;
    border: 1px solid #ededed;
    border-radius: 5px;
    padding: 20px 14px 18px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-top: 18px;
}
.ld-feedback-form-label {
    font-size: 1.10em;
    font-weight: 500;
    color: #222;
    display: block;
    margin: 0 0 8px 0;
}
.ld-feedback-form-textarea {
    width: 100%;
    font-size: 1.10em;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
    padding: 13px;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.ld-feedback-form-submit {
    background: #b71c1c;
    color: #fff;
    font-size: 1.07em;
    font-weight: bold;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 7px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: background 0.2s;
}

.ld-feedback-success {
    color: #2ecc71;
    font-weight: bold;
    margin-bottom: 17px;
    font-size: 1.07em;
}
.ld-feedback-error {
    color: #c0392b;
    font-weight: bold;
    margin-bottom: 17px;
    font-size: 1.07em;
}
/* Terms and condition Start */
.terms-container {
    margin: 0 auto;
    padding:20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
}

.terms-header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 3px solid #3498db;
    margin-bottom: 40px;
}

.terms-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-weight: 700;
}

.terms-header .company-info {
    color: #7f8c8d;
    font-size: 14px;
    margin: 10px 0 5px 0;
}

.terms-toc {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #3498db;
}

.terms-toc h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #2c3e50;
}

.terms-toc ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.terms-toc li {
    margin-bottom: 8px;
    padding-left: 0;
}

.terms-toc li:before {
    content: "• ";
    color: #3498db;
    font-weight: bold;
    margin-right: 8px;
}

.terms-toc a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.terms-toc a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.terms-section {
    margin-bottom: 40px;
    scroll-margin-top: 20px;
}

.terms-section h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
    font-weight: 600;
}

.terms-section h3 {
    font-size: 18px;
    color: #34495e;
    margin: 24px 0 12px 0;
    font-weight: 600;
}

.terms-section p {
    margin: 0 0 16px 0;
}

.terms-section ul {
    margin: 0 0 16px 0;
    padding-left: 30px;
}

.terms-section li {
    margin-bottom: 8px;
}

.highlight-box {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: #856404;
}

.contact-box {
    background: #e8f4f8;
    border: 1px solid #3498db;
    border-radius: 8px;
    padding: 24px;
    margin-top: 40px;
    text-align: center;
}

.contact-box h3 {
    margin: 0 0 12px 0;
    color: #2c3e50;
}

.contact-box p {
    margin: 8px 0;
    color: #34495e;
}

@media (max-width: 768px) {
    .terms-container {
        padding: 20px 15px;
    }
    
    .terms-header h1 {
        font-size: 28px;
    }
    
    .terms-section h2 {
        font-size: 20px;
    }
	.course-progress-item{
		width: 100%;
	}
}

/* Privacy Policy */
.privacy-container {
    margin: 0 auto;
    padding:20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
}

.privacy-header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 3px solid #3498db;
    margin-bottom: 40px;
}

.privacy-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-weight: 700;
}

.privacy-header .company-info {
    color: #7f8c8d;
    font-size: 14px;
    margin: 10px 0 5px 0;
}

.intro-box {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.privacy-toc {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #3498db;
}

.privacy-toc h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #2c3e50;
}

.privacy-toc ol {
    margin: 0;
    padding-left: 20px;
}

.privacy-toc li {
    margin-bottom: 8px;
}

.privacy-toc a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-toc a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.privacy-section {
    margin-bottom: 40px;
    scroll-margin-top: 20px;
}

.privacy-section h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
    font-weight: 600;
}

.privacy-section h3 {
    font-size: 18px;
    color: #34495e;
    margin: 24px 0 12px 0;
    font-weight: 600;
}

.privacy-section p {
    margin: 0 0 16px 0;
}

.privacy-section ul {
    margin: 0 0 16px 0;
    padding-left: 30px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.data-table th {
    background: #3498db;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.highlight-box {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: #856404;
}

.contact-box {
    background: #e8f4f8;
    border: 1px solid #3498db;
    border-radius: 8px;
    padding: 24px;
    margin-top: 40px;
    text-align: center;
}

.contact-box h3 {
    margin: 0 0 12px 0;
    color: #2c3e50;
}

.contact-box p {
    margin: 8px 0;
    color: #34495e;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 20px 15px;
    }
    
    .privacy-header h1 {
        font-size: 28px;
    }
    
    .privacy-section h2 {
        font-size: 20px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th, .data-table td {
        padding: 8px;
    }
}

/* Dashboard-style global layout */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: #f8f9fb;
}

/* Sidebar */
.dashboard-sidebar {
  width: 245px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px;
  z-index: 100;
}

.dashboard-sidebar .logo { text-align: center; margin-bottom: 30px; }
.dashboard-sidebar .logo img { max-width: 140px; height: auto; }

/* Menu */
.dashboard-menu ul { list-style: none; margin: 0; padding: 0; }
.dashboard-menu li { margin-bottom: 2px; }
.dashboard-menu a {
  display: block;
  color: #222;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.dashboard-menu a:hover,
.dashboard-menu .current-menu-item > a {
  background: #b71c1c;
  color: #fff;
}

/* Dashboard cards */

/* =================================
   RESULTS CARD
================================= */

.results-card {
    padding: 28px 34px;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.results-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    color: #222;
}

.results-summary {
    font-size: 12px;
    color: #777;
}


/* Results list */

.dashboard-results {
    display: flex;
    flex-direction: column;
}


/* Individual course */

.result-course {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #eeeeee;
}

.result-course:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* Course information */

.result-course-left {
    min-width: 0;
}

.result-course-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.result-course-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}


/* Status */

.result-status {
    font-size: 12px;
    font-weight: 600;
}

.result-status.completed {
    color: #b71c1c;
}

.result-status.in-progress {
    color: #b56a00;
}

.result-status.not-started {
    color: #888;
}

.result-progress-text {
    font-size: 12px;
    color: #888;
}

.result-progress-text::before {
    content: "•";
    margin-right: 8px;
    color: #ccc;
}


/* Result */

.result-course-right {
    flex-shrink: 0;
    min-width: 70px;
    text-align: right;
}

.result-label {
    font-weight: 999;
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #aaa;
}

.final-result {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #b71c1c;
}

.result-completed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #e8f7ee;
    color: #16834b;

    font-weight: 700;
}

.result-dash {
    color: #bbb;
    font-size: 18px;
}
/* Dashboard page css end */



/* Logout button bottom */
.sidebar-bottom { margin-left: 8px; }
.dashboard-logout {
    padding: 9px 15px;
    background: #b71c1c; /*#d47347;*/
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
}

/* Main content */
.dashboard-content {
    margin-left: 260px;
    padding: 40px;
    width: calc(100% - 260px);
    min-height: 100vh;
    background: none !important;
}

/* Responsive */
/* ---- MOBILE MENU TOGGLE BUTTON ---- */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 9999;
    background: #b71c1c;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
}

/* ---- SIDEBAR RESPONSIVE FIX ---- */
@media (max-width: 992px) {

    .mobile-menu-toggle {
        display: block;
    }

    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: -260px; /* hidden initially */
        width: 260px;
        height: 100vh;
        background: #fff;
        padding: 30px 20px;
        box-shadow: 3px 0 12px rgba(0,0,0,0.1);
        transition: left .3s ease-in-out;
        z-index: 9998;
    }

    /* When menu is opened */
    .dashboard-sidebar.active {
        left: 0;
    }
	.sidebar-top {
		margin-top: 30px;
	}

    /* Disable fixed horizontal layout */
    .dashboard-wrapper {
        flex-direction: column;
		margin:30px 0;
    }

    .dashboard-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 20px;
        margin-top: 30px;
    }

    /* Stop menu items from squashing */
    .dashboard-menu a {
        padding: 12px 15px;
        font-size: 16px;
    }
}
/*
@media (max-width: 992px) {
  .dashboard-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    padding: 15px;
  }
  .dashboard-content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }
}
*/