@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&display=swap");

html,
body {
  height: 100%;
  font-family: 'League Spartan', sans-serif;
}

body {
  background-color: #f7f9fb;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.navbar {
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333333;
  margin-left: 1rem;
}

.navbar-nav .nav-link {
  font-size: 1.15rem;
  margin-right: 1rem;
  margin-top: .25rem;
}

.navbar-nav .btn-signin {
  background-color: transparent;
  color: #007bff;
  padding: 4px 25px;
  border: 1px solid #007bff;
  border-radius: 0px;
  transition: background-color 0.3s, color 0.3s;
  margin-right: 2rem;
  margin-top: .50rem;
  padding-top: 0.3rem;
}

.navbar-nav .btn-signin:hover {
  background-color: #007bff;
  color: #ffffff;
}

.landing-section {
  padding: 3rem 0;
}

.title-container h1,
.title-container h2 {
  font-weight: 700;
  font-size: 2.7rem;
  color: #333333;
  margin-bottom: 0.25rem;
}

.main-button {
  display: block;
  align-self: end;
  margin-left: 0;
  margin: 1.5em 0 0.5em 0;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #007bff;
  padding: 0.7em 0.8em;
  max-width: 180px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.main-button:hover {
  background-color: #0056b3;
  color: #ffffff;
}

.main-graphic {
  max-width: 100%;
  height: auto;
}

.dashboard-graphic {
  max-width: 120%; /* Increase the size specifically for the dashboard graphic */
  height: auto;
}

.fa-3x {
  color: #007bff;
  font-size: 3.5rem;
}

p {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 300;
}

.mt-5 {
  margin-top: 6rem !important;
}

.features-section {
  padding: 3rem 0;
  background-color: #f7f9fb;
}

.features-section {
  padding-left: 60px; /* Align with the feature titles */
  padding-right: 60px; /* Ensure same padding on both sides */
}

.features-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #333333;
  margin-bottom: 2rem;
  padding-left: 0; /* Remove extra padding */
}

.feature-box {
  display: flex;
  align-items: flex-start; /* Align items to the start */
  margin-bottom: 2rem;
  padding-left: 0px; /* Adjusted for better alignment */
}

.feature-box .icon-container {
  width: 60px; /* Fixed width for better alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px; /* Move icons slightly to the left */
  flex-shrink: 0; /* Prevent shrinking */
  margin-top: auto;
  margin-bottom: auto;
}

.feature-box i {
  font-size: 2rem;
  color: #000; /* Make the icons black */
}

.feature-box div {
  flex-grow: 1; /* Ensure the text container grows to fill space */
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333333;
  margin-top: 0;
  margin-bottom: 0.5rem; /* Consistent spacing */
}

.feature-box p {
  font-size: 1rem;
  line-height: 1.5;
  color: #666666;
  margin-top: 0; /* Remove top margin for consistency */
}



@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }

  .navbar-nav .btn-signin {
    width: 100%;
    text-align: center;
  }

  .landing-section .row {
    flex-direction: column;
    text-align: center;
  }

  .landing-section .col-md-6 {
    margin-bottom: 2rem;
  }

  .landing-section img {
    max-width: 100%;
    height: auto;
  }

  .main-graphic {
    margin-left: 0;
    transform: translateX(-10px);
  }

  .features-section {
    text-align: center;
    padding-left: 0; /* Remove padding to center content */
    padding-right: 0; /* Remove padding to center content */
  }

  .feature-box {
    justify-content: center; /* Center feature boxes on small screens */
    padding-left: 0; /* Remove padding to ensure alignment */
  }

  .features-section .dashboard-graphic {
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
  }
}

@media screen and (max-width: 425px) {
  .navbar-brand .logo {
    font-size: 1.25rem;
  }

  .turnitin-logo {
    height: 1em;
    max-height: 1em;
  }

  .button-container {
    text-align: center;
  }

  .main-button {
    margin: 1.5em auto 0.5em auto;
  }

  .features-section {
    padding-left: 15px; /* Ensure some padding on small screens */
    padding-right: 15px; /* Ensure some padding on small screens */
  }

  .feature-box {
    padding-left: 0; /* Remove padding for small screens */
  }
}

.faq-section {
  padding: 3rem 0;
  font-family: 'League Spartan', sans-serif;
}

.faq-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #333333;
  margin-bottom: 3rem;
}

.card {
  border-radius: 5px !important; /* Remove rounded corners */
  border: 1px solid #ddd !important; /* Add border to each card */
  margin-bottom: 1rem !important; /* Add margin to separate cards */
}

.card-header {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #ddd !important; /* Add border at the bottom */
  border-radius: 0 !important; /* Remove rounded corners */
  padding: 0 !important; /* Remove default padding */
  position: relative; /* Positioning context for the arrow */
}

.card-header .btn {
  font-size: 1.35rem; /* Increase font size while maintaining ratio */
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  width: 100%;
  text-align: left;
  display: block; /* Ensure button covers entire header */
  padding: 1rem 1.5rem; /* Add padding for better click area */
  border: none; /* Remove default button border */
  background: none; /* Remove default button background */
  position: relative; /* Needed for proper z-index stacking */
  z-index: 1; /* Ensure the button is above the arrow */
}

.card-header .rotate-icon {
  position: absolute; /* Position absolutely within header */
  right: 1.5rem; /* Align with the padding of the button */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* Allow clicks to pass through */
  z-index: 2; /* Ensure the arrow is above the button */
}

.card-header .btn:hover {
  color: #0056b3;
}

.card-body {
  font-size: 1.1rem; /* Increase font size while maintaining ratio */
  color: #666666;
  border-top: none !important; /* Remove the top border to avoid double border */
  border-radius: 0 !important; /* Remove rounded corners */
  padding: 1rem 1.5rem; /* Add padding for better readability */
}

.card.mb-3.active {
  border: 2px solid #007bff !important; /* Ensure active card has blue border */
}

.rotate-icon {
  transition: transform 0.2s ease-in-out !important;
}

.rotate-icon.rotate {
  transform: rotate(180deg);
  top: auto;
}

.mt-4 {
  margin-top: 3.5rem !important; /* Increase the margin as needed */
}

.questions-text {
  font-size: 1.6rem; /* Significantly larger size */
  font-weight: 500; /* Same weight as the answer text */
  color: #444444;
}

.contact-link {
  font-size: 1.6rem; /* Same size as the questions text */
  font-weight: 675; /* Heavier weight */
  color: #007bff;
  text-decoration: none;
}

.contact-link:hover {
  color: #0056b3;
}

/* Mobile support */
@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 2rem;
  }

  .card-header .btn {
    font-size: 1.4rem; /* Adjust font size for mobile */
    padding: 0.75rem 1rem; /* Adjust padding for mobile */
  }

  .card-body {
    font-size: 1.15rem; /* Adjust font size for mobile */
  }

  .questions-text, .contact-link {
    font-size: 1.5rem; /* Adjust the size for smaller screens */
  }
}

@media (max-width: 576px) {
  .faq-section h2 {
    font-size: 1.75rem;
  }

  .card-header .btn {
    font-size: 1.25rem; /* Adjust font size for mobile */
    padding: 0.75rem 1rem; /* Adjust padding for mobile */
  }

  .card-body {
    font-size: 1rem; /* Adjust font size for mobile */
  }

  .questions-text, .contact-link {
    font-size: 1.25rem; /* Further adjust the size for very small screens */
  }
}