/* styles.css */

.accordion-collapse {
  transition: none !important;
}



 body {
      background-color: #f0f0f0;
    }
    .certificate-container {
      background-color: white;
      border: 10px solid #1f2a57;
      padding: 30px;
      margin: 20px auto;
      max-width: 900px;
      text-align: center;
      position: relative;
    }
    .certificate-container::before,
    .certificate-container::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 15px;
/*      background: linear-gradient(to bottom, #f1c40f, #1f2a57, #f1c40f);*/
    }
    .certificate-container::before {
      left: 0;
    }
    .certificate-container::after {
      right: 0;
    }
    .certificate-header {
      text-align: center;
      margin-bottom: 30px;
    }
    .certificate-header img {
      max-width: 100px;
    }
    .certificate-title {
      font-size: 2em;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .certificate-subtitle {
      font-size: 1.2em;
      margin-bottom: 20px;
    }
    .certificate-body {
      font-size: 1.2em;
      margin-bottom: 40px;
    }
    .certificate-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 40px;
    }
    .signature {
      max-width: 200px;
    }
    .address {
      text-align: left;
      font-size: 0.9em;
    }
/* Main Container for the Book Cover */
.book-cover {
  width: 8.5in;
  height: 11in;
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top Banner Section */
.cover-banner {
  background: linear-gradient(45deg, #4a90e2, #d7263d);
  padding: 40px;
  color: white;
  text-align: center;
  position: relative;
  box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.2);
}

.banner-text h1 {
  font-size: 2.8rem;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.banner-text h2 {
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: 300;
  opacity: 0.8;
}

/* Middle Content Section */
.cover-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
}

.cover-info {
  text-align: left;
}

.course-name {
  font-size: 1.5rem;
  color: #4a90e2;
  font-weight: bold;
  margin: 0;
}

.author {
  font-size: 1rem;
  color: #666;
  margin-top: 5px;
  font-weight: 500;
}

.abstract {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  background: #f8f8f8;
  padding: 15px;
  border-left: 5px solid #4a90e2;
  border-radius: 4px;
}

/* Footer Decoration */
.cover-footer {
  background-color: #e0e0e0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-decor {
  display: flex;
  align-items: center;
  gap: 10px;
}

.decor-circle {
  width: 20px;
  height: 20px;
  background-color: #d7263d;
  border-radius: 50%;
}

.decor-bar {
  width: 100px;
  height: 6px;
  background-color: #4a90e2;
  border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 2.2rem;
  }
  
  .banner-text h2 {
    font-size: 1rem;
  }
  
  .course-name {
    font-size: 1.2rem;
  }

  .author, .abstract {
    font-size: 0.9rem;
  }
}
.exam-q-hover:hover {
  font-weight: bold;
/*  color: green;*/
}

.custom-backdrop {
  background-color: grey !important;
  opacity: .97 !important;
}
/* Override buttons */
.btn-primary {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #004999 !important;
  border-color: #004999 !important;
}

/* Override text colors */
a.text-primary {
  color: #0056b3 !important;
}

a.text-primary:hover,
a.text-primary:focus {
  color: #0d6efd !important;
  text-decoration: underline;
}

/* Override background colors */
.bg-primary {
  background-color: #0056b3 !important;
}

/* Outline Primary Button Overrides */
.btn-outline-primary {
  color: #0056b3 !important;
  border-color: #0056b3 !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #ffffff !important;
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}




input {
/*  width: 100%;*/
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  min-width:300px;
}

input[type="checkbox"] {
  margin: 0;
  padding: 0;
  width: auto; /* Remove width */
  min-width: initial; /* Remove min-width */
  vertical-align: middle; /* Align vertically with other inputs */
}

.custom-select {
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  min-width: 300px;
}

.card-shadow-account {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media print {
  .no-print {
    display: none;
  }
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.custom-input {
  height: 50px; /* Adjust this value as needed */
}

.custom-button {
  height: 50px; /* Adjust this value as needed */
  font-size: 18px; /* Adjust this value as needed for button text size */
}

input[readonly] {
  background-color: #f5f5f5; /* Light grey background */
  color: #6c757d;           /* Grey text color */
  cursor: not-allowed;      /* 'Not allowed' cursor icon */
}


/* styles.css */

body, html {
  height: 100%;
  margin: 0;
}

.navbar {
  padding: 1rem 2rem;
}

.video-container {
  position: relative;
  height: 65vh;
  width: 100%;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  background-size: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15); /* Darker overlay for better contrast */
  color: white;
  text-align: center;
  padding-top: 3rem; /* Add padding to move the content down a bit */

}

.overlay-content {
  max-width: 1000px; /* Restrict the width for better readability */
  padding: 0px 0px 0px 0px; /* Increase padding-top to move the content up */
}

.overlay-content h1 {
  font-family: 'Poppins', sans-serif; /* Apply the custom font */
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}
.overlay-content h2 {
  font-family: 'Poppins', sans-serif; /* Apply the custom font */
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

.overlay-content p {
  font-size: 1.65rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-custom {
  width: 350px; /* Set a specific width for the button */
}

.custom-card-height {
  height: 300px; /* Set your desired height here */
}

.home_course_code_text {
  font-size: 1rem;
}



/*Second Section*/ 

.section-title {
      font-size: 2rem;
      font-weight: bold;
      text-align: center;
      margin-top: 2rem;
      margin-bottom: 2rem;
    }
    .stats-section {
      background-color: #f8f9fa;
      padding: 2rem 0;
      text-align: center;
    }
    .stats-section h4 {
      font-weight: bold;
    }
    .testimonial {
      padding: 2rem;
      text-align: center;
/*      background-color: #f8f9fa;*/
    }
    .testimonial img {
      border-radius: 50%;
      width: 60px;
      height: 60px;
      object-fit: cover; /* Maintains aspect ratio and crops if needed */

    }
    .testimonial .quote {
      font-size: 1.5rem;
      font-style: italic;
    }
    .testimonial .author {
      font-weight: bold;
      margin-top: 1rem;
    }
    .image-container {
      position: relative;
      text-align: center;
      margin-bottom: 2rem;
    }
    .image-container img {
      width: 100%;
      height: auto;
    }
    .image-container .overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 1.5rem;
    }

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


