/* styles.css */


:root {
  --light-gray: #f7f7f8;
  --btn-trial-bg: #F24B5C;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.content-container {
  /* Shadow */
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);

  /* Padding */
  padding: 0 3rem 3rem 3rem;

  /* Margin top */
  margin-top: .25rem;

  /* Margin bottom */
  margin-bottom: 3rem;

  /* Background color */
  background-color: white;

  /* Border radius */
  border-radius: .25rem;
}

.main-container {
    margin-top: 9em;
    flex: 1;
}

.saved_links {
    text-decoration: none;
    color: #000;
}

#submitSave {
    font-size: 2em; 
}

#submitSearch {
    font-size: 2em; 
}

#share_study_icon {
    font-size: 2em; 
}


.btn-trial {
    background-color: var(--btn-trial-bg);
    color: #fff;
}

.btn-trial:hover {
    background-color: white;
    color: black;
    border: 2px solid var(--btn-trial-bg);
}


.faqs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    width: 60%;
    margin: auto; /* Center horizontally */
    /*width: 80%; 
    max-width: 1000px; */
    border: 2px solid #edd23c; /* Add border color */
    border-radius: 5px;
    background-color: white;
  }
  
  .faq-box {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    width: 100%; /* Take full width */
    border: none; /* Remove border */
  }
  
  .faq-content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faqs-container .text-container {
    flex: 1; /* Fill remaining space */
    padding-left: 20px; /* Adjust padding as needed */
  }

.custom-accordion-button {
    height: 50px; /* Custom height */
}


.navbar {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    background-color: var(--light-gray); /* Light gray background */
  }

  .navbar-nav .nav-item {
    margin-right: 1rem;
  }

  .dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  }

  .dropdown-item {
    padding: 0.75rem 1.25rem;
  }

  .dropdown-item:hover {
    background-color: #f8f9fa;
  }

  @media (max-width: 991.98px) {
    .navbar-nav .nav-item {
      margin-right: 0;
      margin-bottom: 0.5rem;
      border-bottom: 1px solid #ddd; /* Border between menu items */
      padding-bottom: 0.5rem; /* Padding for better spacing */
    }

    .navbar-nav .nav-item:last-child {
      border-bottom: none; /* Remove border from the last item */
    }

    .navbar-nav .nav-item .nav-link,
    .navbar-nav .nav-item .btn-trial {
      width: 100%;
      text-align: center;
    }

    .dropdown-menu {
      width: 100%;
      padding: 0;
      border: none; /* Remove border in responsive mode */
      box-shadow: none; /* Remove shadow in responsive mode */
    }

    .dropdown-item {
      padding: 1rem;
      border-bottom: 1px solid #ddd; /* Add border between dropdown items */
      background-color: white; /* Match dropdown item background with navbar */
    }

    .dropdown-item:last-child {
      border-bottom: none; /* Remove border from the last dropdown item */
    }
  }

/* Footer */

#mdb-footer {
  background-color: var(--light-gray); /* Light gray background */
  padding: 1rem 0;
  font-family: 'Arial', sans-serif;
}
.footer p, .footer a {
  color: #343a40;
  margin: 0;
}
.footer a:hover {
  color: #0056b3;
  text-decoration: underline;
}
.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background-color: #007bb5; /* LinkedIn blue color */
  color: white !important;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}
.social-link:hover {
  background-color: #005582; /* Darker blue on hover */
  text-decoration: none;
}
.footer .divider {
  width: 100%;
  height: 1px;
  background-color: #007bff;
  margin: 1rem 0;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }
  .footer-container > div {
      margin: 0.5rem 0;
  }
}




.success-message {
  color: green;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: #fff;
  padding: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 300px;
  text-align: center;
}

.login-box h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.input-box {
  position: relative;
  margin-bottom: 20px;
  text-align: left;
  line-height: 2rem;
}

.input-box i {
  position: absolute;
  left: 10px;
  margin-top: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.input-box input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.login-button {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  border: none;
  border-radius: 5px;
  background: var(--btn-trial-bg);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
}

.links a {
  display: block;
  margin-bottom: 10px;
  color: #6a11cb;
  text-decoration: none;
  font-size: 14px;
}

.links a:hover {
  text-decoration: underline;
}

.error-message {
  color: #d9534f;
  font-size: 14px;
  margin-top: 5px;
}

.alert.alert-danger {
  color: #d9534f;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}


.profile-info p{
  text-align: left;
}

#searchForm .btn-trial{
  margin-left: 20px;
}


.custom-accordion {
  width: 100%;
  border-radius: 4px;
  margin: 10px 0;
}

.custom-accordion-button {
  width: 100%;
  padding: 13px;
  text-align: left;
  background: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.custom-accordion-button:hover {
  background: #ffffff;
}

.custom-accordion-button:after {
  float: right;
  transition: transform 0.3s ease;
}

.custom-accordion-button.collapsed {
  content: '\002B'; /* Plus sign */
}

.custom-accordion-button[aria-expanded="true"] {
  content: '\2212'; /* Minus sign */
}

.custom-accordion-collapse {
  display: none;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.custom-accordion-collapse.show {
  display: block;
}

.cti-heading {
  font-weight: bold;
  color: #343a40;
}
.cti-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}
.cti-card:hover {
  transform: translateY(-10px);
}
.cti-card-title {
  color: #007bff;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 30px;
}
.cti-card-text {
  color: #6c757d;
}
.cti-list-unstyled li {
  margin-bottom: 10px;
}
.cti-list-unstyled li i {
  margin-right: 10px;
}

.cti-learn-box {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  font-size: 1.25rem;
  color: #007bff;
  background-color: white;
  transition: transform 0.2s ease-in-out;
}
.cti-learn-box:hover {
  transform: translateY(-10px);
}

.cti-about-box {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-size: 1.25rem;
  background-color: white;
  transition: transform 0.2s ease-in-out;
}
.cti-about-box {
  transform: translateY(-10px);
}
.cti-core-values {
  color: #dc3545;
  font-weight: bold;
  text-align: center;
}

.cti-paragraph {
  position: relative;
  padding-left: 20px;
  margin-bottom: 30px;
}
.cti-paragraph:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #1B3374;
}

.cti-divider {
  width: 50%;
  height: 2px;
  background-color: #1B3374;
  margin: 30px auto;
}