/*
==================================
Custom css for effects etc
==================================
*/

.SegoeUIfont {
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  }

  .SegoeUIheaderFont {
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      color: #adadad;
  }


/* check mark */

.checkmarkbox {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
  }
  
  .checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
  }




/* Fade-in effect */
#pageContent {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}





 /*horizontal scroll*/
 .horizontal-scrollable-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  gap: 10px;
}

.horizontal-scrollable-container::-webkit-scrollbar {
  display: none;
}
.horizontal-scrollable-container button {
  flex: 0 0 auto;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
   color: white;
  cursor: pointer;
  background-color: #c7ced6;
}

 /*CBT answer page subjects table*/
.subjectTableCard-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 600px;
  background-color: #f9f9f9;
  font-size: 14px;
  margin: 30px 0px 30px 0px;
}

.subjectTableCard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.subjectTableCard-table thead tr {
  background: #5b9aa2;
  color: white;
  height: 50px;
}

.subjectTableCard-table th:first-child,
.subjectTableCard-table td:first-child {
  text-align: left;
  padding-left: 15px;
}

.subjectTableCard-table td {
  padding: 12px;
}

.subjectTableCard-table tbody tr {
  background-color: #ffffff;
  border-bottom: 1px dashed #bbb;
}

.subjectTableCard-table tbody tr:last-child {
  border-bottom: none;
}

.subjectTableCard-btn {
  background: #f0f7ff;
  border: 1.5px solid #bfdfff; border-radius: 20px; padding: 6px 25px;
  font-size: 12px; font-weight: 700; color: #008fd4; cursor: pointer; transition: background 0.15s;
}



 /*CBT answer page question answer and explanation card*/
.quizCard-container {
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
}

.quizCard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.quizCard-footer-action { 
  display: flex;    
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #ccc;
  padding-top: 0px;            
  margin-top: 25px;           
  margin-bottom: -25px;           
}


.quizCard-footer-action button{
  width: 40%;
}

.quizCard-footer-share{
  text-align: center;
  border-top: 1px dashed #ccc;
  padding-top: 15px;             
}


.quizCard-number {
  font-size: 22px;
  font-weight: bold;
}

.quizCard-icon {
  font-size: 20px;
  color: red;
}

.quizCard-question p {
  font-size: 15px;
  margin-bottom: 10px;
}

.quizCard-options {
  list-style-type: none;
  padding-left: 0;
  font-size: 14px;
}

.quizCard-options li {
  margin: 6px 0;
}

.quizCard-correct {
  color: green;
  font-weight: 500;
  margin-top: 10px;
}

.quizCard-footer {
  margin-top: 15px;
  text-align: center;
}

.quizCard-explainBtn {
  margin-top: 20px;  
  padding: 12px 20px;
  color: gray;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 300;
  width: 100%;
}



.subjectCard-container {
  max-width: 500px;
  width: 95%;
  margin: 20px auto;
}

.subjectCard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid #F0F0F0;
  border-radius: 16px;
  padding: 16px 10px;
  margin-bottom: 26px;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  box-shadow: 1px 2px 6px 1px #a7a7a7;
}

.subjectCard-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.subjectCard-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 30px;
}

.subjectCard-text h4 {
  margin: 0;
  font-size: 16px;
}

.subjectCard-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: gray;
}

.subjectCard-arrow {
  background: #e7ddff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d8bb6;
  font-size: 16px;
}


.content-page-wrapper{
  display: flex;
  flex-direction: column;
  min-height: 70vh;
}

.questionNavigationButton{
  background: linear-gradient(135deg, #E3F1FA, #D8EBF7);
  /* position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 0px 20px 0px;
  z-index: 999; */
}



/*Custom Input*/



.subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 30px;
}

.test-form {
  padding: 15px 0px 50px 0px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.test-form input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.test-form input[type="text"]:focus {
  outline: none;
  border-color: #237e85;
}

.customer-help {
    position: absolute;
    bottom: -2px;
    right: 11px;
    color:red;
    font-size: 9px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* activation page */
                
    .activate-btn {
        background: linear-gradient(135deg, #25D366, #128c1c);
        color: white;
        font-weight: 500;
        padding: 12px 25px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
        border: none;
        width: 80%;
        margin: 0 auto;
        display: block;
    }

    .progress-bar {
         background: linear-gradient(135deg, #25D366, #128c1c);
        border-radius: 5px;
    }
            
    .max-discount-badge {
        background-color: #25D366;
        color: white;
        padding: 2px 10px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .refresh-btn {
        position: absolute;
        top: 5px;
        right: 15px;
        background: transparent;
        border: none;
        color: #25D366;
        font-size: 28px;
        cursor: pointer;
    }



 /*blog section*/
    
    
      .blog-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 18px;
    transition: 0.2s ease-in-out;
  }

  .blog-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #222;
  }
  .blog-excerpt {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
  }
  .blog-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
  }
  .read-more {
    font-size: 13px;
    font-weight: 500;
    color: #2196f3;
    text-decoration: none;
  }








        .resource-card {
            border-radius: 8px;
            padding: 20px;
            background: #ffffff;
            text-align: center;
            transition: 0.2s ease-in-out;
            border: 1px solid #d6d6d6;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            min-height: 180px;
            cursor: pointer;
        }

        .resource-icon {
            width: 60px;
            height: 60px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f0f9f4;
            color: #25A249;
            margin-bottom: 12px;
            font-size: clamp(23px, 4vw, 28px);
        }

        .resource-title {
            font-weight: 600;
            font-size: clamp(12px, 2.5vw, 16px);
            margin: 2px 0px 4px 0px;
            color: #333;
        }

        .resource-card button {
            padding: 6px 16px;
            border-radius: 6px;
            border: none;
            background: #25A249;
            color: white;
            font-size: clamp(12px, 2vw, 14px);
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s ease-in-out;
        }

        #searchInput {
            border: 1px solid #ccc;
            padding: 10px;
            border-radius: 8px;
            font-size: 14px;
            margin-bottom: 20px;
            width: 100%;
        }

        .syllabus-content {
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .syllabus-section {
            margin-bottom: 30px;
        }

        .syllabus-section h4 {
            color: #25A249;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 10px;
            margin-bottom: 15px;
        }

        .syllabus-topic {
            margin-bottom: 20px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 6px;
        }

        .syllabus-topic h5 {
            color: #333;
            margin-bottom: 10px;
        }

        .back-button {
            margin-bottom: 20px;
            background: #6c757d;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            color: white;
            cursor: pointer;
        }
                
        .subject-header {
            background-color: white;
            border-radius: 12px;
            padding: 20px;
            margin: 0px 0px 20px 0px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .ojective-header{
            padding: 0px 0px 5px 0px;
            font-size: 16px;
        }
        .ojective-text{
            font-size: 14px;
        }
        .subject-title {
            font-size: 24px;
            margin-bottom: 10px;
        }
        
        .subject-description {
            color: #666;
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .topics-container {
            background-color: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .topics-title {
            font-size: 18px;
            color: #333;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .topic-item {
            padding: 15px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .topic-item:last-child {
            border-bottom: none;
        }
        
        .topic-name {
            font-weight: 500;
            color: #333;
        }
        
        .view-topic {
            color: #1a5276;
            text-decoration: none;
            font-size: 14px;
            font-weight: 800;
        }
        
        .resources-section {
            margin-top: 25px;
            background-color: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            font-size: 14px;
        }
        
        .resources-title {
            font-size: 18px;
            color: #333;
            margin-bottom: 5px;
            margin-top: 20px;
        }
        
        .resource-button {
            display: inline-block;
            background-color: #eafce8;
            color: #1a5276;
            padding: 10px 15px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            margin-right: 10px;
            margin-bottom: 10px;
        }
        


        .topic-item {
            display: grid;
            grid-template-columns: auto 1fr auto; /* left: auto-width | middle: fills space | right: auto-width */
            align-items: center;
            padding: 12px 16px;
            box-sizing: border-box;
            gap: 8px;
        }

        .topic-section {
            font-size: 13px;
            text-align: left;
            font-weight: bold;
            white-space: nowrap;
        }

        .topic-heading {
            text-align: left;
            font-size: 14px;
            line-height: 1.3;
            padding-left: 4px;
        }

        .topic-arrow {
            justify-self: end;
        }

        .topic-arrow i {
            font-size: 18px;
            color:#6c6e6c;
            margin-right: -10px;
        }



        @media (max-width: 600px) {
            .container {
                padding: 15px;
            }
            
            .subject-header, .topics-container, .resources-section {
                padding: 15px;
            }
            
            .subject-title {
                font-size: 22px;
            }
        }


        .subject-not-found {
            border: 1px solid #e4767f; /* red border */
            border-radius: 8px;
            padding: 16px;
            margin: 12px 0;
            text-align: left;
            font-size: 14px;
            font-weight: 500;
            color: dimgray;
        }

        .subject-not-found i {
            font-size: 40px;
            color: #e4767f;
            padding-right: 6px;
        }

        .content-role {
            color: #7f8c8d;
            font-style: italic;
            margin-bottom: 12px;
            margin-top: -10px;
            padding-left: 0px;
        }
        .subjectList{
            list-style: none; 
            padding: 0; 
            margin: 0 0 12px;
        }
        /* .subjectList li{
            margin-bottom: 6px; 
            padding: 6px 10px; 
            border-radius: 6px; 
            font-size: 14px; 
            color: #333; 
            border: 1px solid #f4f4f4
        } */
        .subjectList li{
            margin-bottom: 4px; 
            padding: 6px 10px; 
            border-radius: 6px; 
            font-size: 14px; 
            color: #333; 
            border: 1px solid #f1f1f1
        }
        .faculty{
            margin: 4px 0 12px; 
            font-size: 13px; 
            color: #555; 
            font-style: italic; 
        }
        .text-content p {
            margin-bottom: 15px;
            text-align: justify;
        }

        .text-content em {
            font-weight: 600;
        }








                .quick-action {
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: var(--card-shadow);
            display: flex;
            align-items: center;
            gap: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .quick-action-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 22px;
            flex-shrink: 0;
        }

        .quick-action-text {
            flex: 1;
        }

        .quick-action-title {
            font-weight: 600;
            font-size: 15px;
            margin: 0 0 4px 0;
            color: var(--dark);
        }

        .quick-action-sub {
            font-size: 12px;
            color: #6c757d;
            margin: 0;
        }



        /* Ensure the form and main take up the full viewport height */
.fullForm, 
.fullForm main {
    height: 100vh; /* Use viewport height for mobile reliability */
    display: flex;
    flex-direction: column;
}

/* The wrapper row inside main */
.fullForm .row.h-100.flex-column {
    display: flex;
    flex-direction: column;
    flex: 1; /* Take up all available space */
}

/* 1. The Header section (stays at top) */
.fullForm .col-11.mx-auto:first-child {
    flex: 0 0 auto;
}

/* 2. The Form Fields section (centers itself and grows) */
.fullForm .flex-grow-1 {
    flex: 1 0 auto; /* Grow to fill the middle space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the inputs */
}

/* 3. The Button section (stays at bottom) */
.fullForm .col-11.mx-auto.py-4:last-child {
    flex: 0 0 auto;
    margin-top: auto; /* Safety push to bottom */
}

            .circle {
            border-radius: 50%;
            }

            .circle:before {
            margin-top: -18px;
            margin-left: -15px;
            position: absolute;
            content: '';
            height: 160px;
            width: 160px;
            border: 4px dashed #dbdbdb;
            top: -13px;
            left: -13px;
            border-radius: inherit;
            animation: spin 7s linear infinite;
            }

            @keyframes spin { 
            100% { 
                transform: rotateZ(360deg); 
            }
            }

.main-container{
  padding-top: 80px;
}            