/* Custom Styles for HelpfulPapers */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #0dcaf0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-section h1 {
  font-weight: 800;
  color: #1a1a1a;
}

.hero-section h2 {
  color: #666;
}

/* Expert Images */
.expert-images img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Rating Stars */
.rating {
  font-size: 1.1rem;
}

.rating .text-warning {
  font-size: 1.2rem;
}

/* Features */
.feature-item {
  display: flex;
  align-items: start;
  line-height: 1.6;
}

.feature-item i {
  font-size: 1.2rem;
  margin-top: 3px;
}

/* Price Calculator Card */
.card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.price-display {
  border: 2px solid #e9ecef;
}

.discount-badge {
  font-weight: 600;
}

/* Buttons */
.btn {
  border-radius: 5px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-lg {
  padding: 12px 30px;
  font-size: 1.1rem;
}

/* Step Numbers */
.step-number {
  font-weight: 700;
  font-size: 1.5rem;
}

/* Review Cards */
.card h5 {
  color: #1a1a1a;
  font-weight: 600;
}

.card-text {
  line-height: 1.8;
  color: #555;
}

/* Statistics Section */
.display-4 {
  font-weight: 700;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.input-group-text {
  background-color: #f8f9fa;
  border-color: #ddd;
}

/* Alerts */
.alert {
  border-radius: 8px;
  border: none;
  padding: 15px 20px;
}

/* Footer */
footer {
  background-color: #1a1a1a;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

/* Table */
.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

.table tbody tr {
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Badges */
.badge {
  padding: 6px 12px;
  font-weight: 600;
  border-radius: 5px;
}

/* List Group */
.list-group-item {
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.list-group-item:hover:not(.active) {
  background-color: #f8f9fa;
  cursor: pointer;
}

.list-group-item.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section h2 {
    font-size: 1.2rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Loading Spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.show {
  opacity: 1;
}

.scroll-top:hover {
  background-color: #0b5ed7;
  transform: translateY(-5px);
}
