/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

header {
  width: 100%;
  background: #000;
  padding: 20px 50px;
  border-bottom: 1px solid #333;
   
     
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  color:white;
  
}

.logo span {
  color: #00ff00;
 
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #00ff00;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #666666;
  top: 100%;
  left: 0;
  min-width: 150px;
  border: 1px solid #333;
  min-width: 320px; /* Increased width */
  z-index: 1000; 
}

.dropdown-content li {
  padding: 10px;
}

.dropdown-content li a {
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Social Icons */
.social-icons a {
  color: #444;
  margin-left: 15px;
  font-size: 16px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00ff00;
}
	
	
	.course-card:nth-child(1) {
   background-color: #f3f3f3; /* Soft Red */
}
.course-card:nth-child(2) {
  background-color: #b3e5fc; /* Light Blue */
}
.course-card:nth-child(3) {
  background-color: #ffe0b2; /* Light Orange */
}
.course-card:nth-child(4) {
  background-color: #c8e6c9; /* Light Green */
}
.course-card:nth-child(5) {
  background-color: #f8bbd0; /* Light Pink */
}
.course-card:nth-child(6) {
  background-color: #d1c4e9; /* Light Purple */
}
.course-card:nth-child(7) {
 background-color: #ffecb3; /* Light Yellow */
}
.course-card:nth-child(8) {
  background-color: #b2dfdb; /* Aqua */
}




.courses-section {
  padding: 40px 5%;
  background-color: #fff;
}

.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.courses-header h2 {
  font-size: 24px;
  color: #000;
}

.courses-header .view-all {
  color: #3f51b5;
  text-decoration: none;
  font-weight: 500;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.course-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.course-card h3 {
  font-size: 16px;
  margin: 10px 0;
  color: #333;
}

.course-card .rating {
  color: #673ab7;
  font-size: 14px;
}

.course-card .author {
  font-size: 14px;
  color: #555;
}

.course-card .price {
  font-size: 16px;
  margin: 10px 0;
  color: #000;
}

.course-card .price .old {
  text-decoration: line-through;
  color: #999;
  margin-right: 5px;
}

.course-card button {
  background-color: #000;
  color:white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  float: right;
  font-size: 12px;
}

.training-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 0;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.training-buttons .btn {
  padding: 12px 18px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Colorful variations */
.admin-btn {
  background-color: #3f51b5;
}
.admin-btn:hover {
  background-color: #2c3e91;
}

.dev-btn {
  background-color: #913C78;
}
.dev-btn:hover {
  background-color: #616161;
}

.prog-btn {
  background-color: #828282;
}
.prog-btn:hover {
  background-color: #616161;
}

.project-btn {
  background-color: #828282;
}
.project-btn:hover {
  background-color: #616161;
}
 body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #f5f5f5;
	  user-select: none; /* Disable text selection for the entire page */
    }

    .container {
      display: flex;
      height: 100vh;
    }
	
	

    /* Left Column - Questions */
	
	#searchInput {
      width: 100%;
      padding: 8px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 16px;
    }
	
	
	.questions {
  width: 18%;
  background-color: #FAFAFA;
  border-right: 1px solid #ccc;
  padding: 20px;
  overflow-y: auto;
  top: 0;
  height: 100vh;
  border-top: 1px solid #ccc;
}

.questions h2 {
  margin-bottom: 10px;
  color: #333;
  
}

.questions a {
  display: block;
  margin-bottom: 10px;
  color: #3f51b5;
  text-decoration: none;
  font-weight: 500;
  padding: 5px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  border-top: 1px solid #ccc;
}

.questions a:hover {
  background-color: #EAEAEA;
  
}

/* Active link style - ensure it's not overridden by hover */
.questions a.active {
  background-color: #ff7043; /* Bright orange */
  color: #fff;
  font-weight: bold;
  
}


    /* Right Column - Answers */
    .answers {
	background-color: #FAFAFA;
      width: 82%;
      padding: 20px;
      overflow-y: auto;
      height: 100vh;
      scroll-behavior: smooth;
    }

    .answer {
      margin-bottom: 10px;
      padding-bottom: 20px;
      border-bottom: 1px solid #ccc;
	  
    }

    .answer h4 {
      color: #000;
      margin-bottom: 10px;
    }

    .answer p {
      color: black;
      line-height: 1.6;
    }

    .answer a {
      color: #3f51b5;
      text-decoration: underline;
    }
	
	.answers, .answers p, .answers li {
  color: #000; /* or any dark color like #333 */
  font-size: 14px;
}
	
	 table {
      border-collapse: collapse;
      width: 100%;
      background-color: #eeeeee;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	  color: black;
    }

    th, td {
      text-align: left;
      padding: 12px 15px;
      border-bottom: 1px solid #ddd;
    }

    th {
      background-color:#dddddd;
      color: black;
    }

    tr:hover {
      background-color: #fefefe;
    }

    caption {
      caption-side: top;
      text-align: left;
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
    }
	
	
	.section-header {
  top: 0;
  z-index: 1000;
  background-color: #FAFAFA; /* Same as answers background */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 2px solid #ddd;
}



.section-header h2 {
  font-size: 22px;
  color: #333;
  margin: 0;
  flex: 1;
  
}



    .mock-test-btn {
    background-color: #1EA120;
    color: white;      
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    border: 3px solid ; /* Thick white border */
}


    .mock-test-btn:hover {
      background-color: #136614;
    }
.mock-interview-btn {
      background-color: #D64AB9;
      color: white;      
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
      border: 3px solid ; /* Thick white border */
    }

    .mock-interview-btn:hover {
      background-color: green;
    }
	.site-footer {
  background-color: #000;
  color: #ffffff;
  padding: 30px 5%;
  text-align: center;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ff00;
}

.footer-copy {
  font-size: 16px;
  color: #ffffff;
}






















 body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #f5f5f5;
      user-select: none; /* Disable text selection for the entire page */
    }

    .container {
      display: flex;
      height: 100vh;
    }

    /* Left Column - Questions */
    #searchInput {
      width: 100%;
      padding: 8px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 16px;
    }

    .questions {
      width: 18%;
      background-color: #FAFAFA;
      border-right: 1px solid #ccc;
      padding: 20px;
      overflow-y: auto;
      
      top: 0;
      height: 100vh;
    }

    .questions h2 {
      margin-bottom: 10px;
      color: #333;
    }

    .questions a {
      display: block;
      margin-bottom: 10px;
      color: #3f51b5;
      text-decoration: none;
      font-weight: 500;
      padding: 5px;
      border-radius: 5px;
      transition: background-color 0.3s, color 0.3s;
    }

    .questions a:hover {
      background-color: #EAEAEA;
    }

    /* Active link style - ensure it's not overridden by hover */
    .questions a.active {
      background-color: #ff7043; /* Bright orange */
      color: #fff;
      font-weight: bold;
    }

    /* Right Column - Answers */
    .answers {
      background-color: #FAFAFA;
      width: 82%;
      padding: 20px;
      overflow-y: auto;
      height: 100vh;
      scroll-behavior: smooth;
    }

    .answer {
      margin-bottom: 10px;
      padding-bottom: 20px;
      border-bottom: 1px solid #ccc;
    }

    .answer h4 {
      color: #000;
      margin-bottom: 10px;
    }

    .answer p {
      color: #444;
      line-height: 1.6;
    }

    .answer a {
      color: #3f51b5;
      text-decoration: underline;
    }

    table {
      border-collapse: collapse;
      width: 100%;
      background-color: #eeeeee;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      color: black;
    }

    th, td {
      text-align: left;
      padding: 12px 15px;
      border-bottom: 1px solid #ddd;
    }

    th {
      background-color:#dddddd;
      color: black;
    }

    tr:hover {
      background-color: #fefefe;
    }

    caption {
      caption-side: top;
      text-align: left;
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .section-header {
      top: 0;
      z-index: 1000;
      background-color: #FAFAFA; /* Same as answers background */
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 10px 0;
      border-bottom: 2px solid #ddd;
    }

    .section-header h2 {
      font-size: 22px;
      color: #333;
      margin: 0;
      flex: 1;
    }

    .mock-test-btn {
      background-color: #F27D2F;
      color: white;      
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
      border: 3px solid red; /* Thick white border */
    }

    .mock-test-btn:hover {
      background-color: #179E1D;
}

.mock-interview-btn {
      background-color: #D64AB9;
      color: white;      
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
      border: 3px solid ; /* Thick white border */
    }

    .mock-interview-btn:hover {
      background-color: green;
    }


    

    .question-block {
      margin-bottom: 30px;
      color:black;
      font-size: 14px;
    }

    .option {
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      cursor: pointer;
      display: block;
    }

    .correct {
      background-color: #c8e6c9; /* green */
      border-color: #2e7d32;
      font-size: 14px;
    }

    .wrong {
      background-color: #ffcdd2; /* red */
      border-color: #c62828;
      font-size: 14px;
    }

    button {
      background-color: #1976d2;
      color: white;
      padding: 12px 24px;
      font-size: 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }


.summary {
      font-weight: bold;
      margin-bottom: 20px;
      background: #F5F5F5; /* black background */
      padding: 10px;
      border-radius: 8px;
    }
	
	
    button:hover {
      background-color: #1565c0;
    }

    .quiz-summary-header {
      font-weight: 700;
      font-size: 26px;
      color: #FF1C8A; /* Dark Blue-gray */
      margin-bottom: 10px;
      font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .quiz-summary-details {
      font-weight: 600;
      font-size: 18px;
      color: black; /* Slightly lighter dark blue */
      font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .quiz-summary-details #total {
      color: #2980b9; /* Bright Blue */
      font-weight: 700;
    }

    .quiz-summary-details #correct {
      color: #27ae60; /* Professional Green */
      font-weight: 700;
    }

    .quiz-summary-details #wrong {
      color: #c0392b; /* Professional Red */
      font-weight: 700;
    }
	
	
	html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1; /* Fills the space between header and footer */
}

footer {
  background: #333;
  color: white;
  padding: 10px;
  text-align: center;
}
