:root {
  --primary: #4e54c8;
  --secondary: #8f94fb;
  --accent: #ff6b6b;
  --light: #f8f9fa;
  --dark: #343a40;
  --success: #20c997;
  --warning: #ffc107; /* Added for .result-type.note */
}

/* --- Reusable Utility and Base Styles --- */

.min-vh-50 {
  min-height: 50vh;
}

/* Consolidated Button/Gradient Utilities */
.bg-gradient-primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #3f45b5;
  border-color: #3f45b5;
}

.text-accent {
  color: var(--accent);
}

/* Consolidated Section Title Style */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem; /* Using 3rem from article/blog sections */
  text-align: center;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* Consolidated Card/Box Shadow Style */
/* Used by .blog-card, .pricing-card, .comment, .author-bio, .sidebar-widget, .exam-card, .result-card */
.card-base-shadow {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background: white;
}

/* Consolidated Tag Style */
/* Merged .article-tag and .tag */
.tag-base {
  padding: 0.35rem 0.75rem;
  background: #e9ecef; /* Used the lighter color for base */
  color: #495057;
  border-radius: 50px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block; /* Added for consistency */
}

.tag-base:hover {
  background: var(--primary);
  color: white;
}

/* Consolidated Blog/Article Card Styles (Kept .blog-card as the base) */
.blog-card,
.exam-card {
  /* .exam-card uses a subset of these styles */
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: white;
  height: 100%;
}

.blog-card:hover,
.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-text {
  color: #666;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  color: #777;
  font-size: 0.875rem;
}

.blog-card-meta i {
  margin-right: 0.4rem;
  color: var(--primary);
}

.blog-card-meta div {
  margin-right: 1rem;
}

/* --- Article Section Styles (Specific) --- */

.article-section {
  padding: 100px 0 50px;
  background-color: #f8fafc;
}

.article-header {
  margin-bottom: 3rem;
}

.article-category {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-decoration: none;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
  line-height: 1.3;
}

.article-meta {
  display: flex;
  align-items: center;
  color: #6c757d;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-meta div {
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-meta i {
  margin-right: 0.4rem;
  color: var(--primary);
}

.article-hero-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  color: var(--dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--dark);
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  margin: 2rem 0;
  font-style: italic;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.article-tag {
  /* Inherits from .tag-base */
  /* Replaced with: @extend .tag-base */
}

.article-share {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.share-text {
  margin-right: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-button:hover {
  background: var(--primary);
  color: white;
}

/* --- Author Bio (Consolidated) --- */
.author-bio {
  /* Used .card-base-shadow and added flex styles */
  @extend .card-base-shadow;
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.5rem;
}

.author-content h4 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.author-content p {
  color: #666;
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 0.75rem;
}

.author-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background: var(--primary);
  color: white;
}

/* --- Related/Blog Article Styles --- */
/* .related-articles and .blog-section use section-title and blog-card, which are already defined */
.related-articles {
  padding: 50px 0;
  background: white;
}

.blog-section {
  padding: 100px 0;
  background-color: #f8fafc;
}

.blog-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(78, 84, 200, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.blog-category:hover {
  background: rgba(78, 84, 200, 0.2);
}

/* --- Sidebar Styles --- */
.sidebar-widget {
  @extend .card-base-shadow;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f3f5;
  color: var(--dark);
}

.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 0.75rem;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
}

.categories-list a:hover {
  color: var(--primary);
}

.categories-list span {
  background: #f1f3f5;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

.recent-post {
  display: flex;
  margin-bottom: 1rem;
}

.recent-post-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
}

.recent-post-content h6 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.recent-post-content h6 a {
  color: var(--dark);
  text-decoration: none;
}

.recent-post-content h6 a:hover {
  color: var(--primary);
}

.recent-post-content span {
  font-size: 0.75rem;
  color: #777;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  /* Inherits from .tag-base */
  /* Replaced with: @extend .tag-base */
  /* Overrides base background/color: */
  background: #f8fafc;
  color: #555;
}

/* --- Featured Post --- */
.featured-post {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.featured-post-img {
  height: 450px;
  object-fit: cover;
  width: 100%;
}

.featured-post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: white;
}

.featured-post-category {
  background: var(--accent);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
}

.featured-post-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.featured-post-title a {
  color: white;
  text-decoration: none;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.featured-post-meta div {
  margin-right: 1.5rem;
}

.featured-post-meta i {
  margin-right: 0.4rem;
}

/* --- Comments Section (Specific) --- */
.comments-section {
  padding: 50px 0;
  background: #f8fafc;
}

.comment {
  @extend .card-base-shadow;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.comment-author {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.comment-date {
  color: #6c757d;
  font-size: 0.875rem;
}

.comment-content {
  color: #444;
  line-height: 1.6;
}

.comment-reply {
  margin-top: 1rem;
  padding-left: 2rem;
  border-left: 3px solid #e9ecef;
}

.comment-form {
  @extend .card-base-shadow;
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.form-control {
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(78, 84, 200, 0.25);
}

/* --- Newsletter Section (Consolidated) --- */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  height: 55px;
  border-radius: 50px;
  border: none;
  padding: 0 1.5rem;
}

.newsletter-form .btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: white;
  color: var(--primary);
  border: none;
}

.newsletter-form .btn:hover {
  background: #f8f9fa;
}

/* --- Pagination --- */
.blog-pagination .page-link {
  color: var(--primary);
  border-radius: 8px;
  margin: 0 0.25rem;
  border: none;
  padding: 0.5rem 1rem;
}

.blog-pagination .page-item.active .page-link {
  background: var(--primary);
  color: white;
}

/* --- Pricing Section Styles (Specific) --- */
.pricing-section {
  padding: 100px 0;
  background-color: #f8fafc;
}
/* .section-title defined above */

.pricing-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: white;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.pricing-header {
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.pricing-popular {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pricing-popular .pricing-header {
  background: linear-gradient(135deg, var(--accent), #ff8e53);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -34px;
  background: var(--dark);
  color: white;
  padding: 0.25rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  width: 150px;
  text-align: center;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  opacity: 0.9;
}

.pricing-features {
  padding: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 84, 200, 0.1);
  color: var(--primary);
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-text {
  color: #555;
}

.pricing-cta {
  padding: 0 2rem 2rem;
  text-align: center;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-solid {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: white;
  box-shadow: 0 5px 15px rgba(78, 84, 200, 0.25);
}

.btn-primary-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(78, 84, 200, 0.35);
}

.btn-primary-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-primary-outline:hover {
  background: var(--primary);
  color: white;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 80px 0;
  background: white;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(78, 84, 200, 0.05);
  color: var(--primary);
  font-weight: 600;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(78, 84, 200, 0.2);
}

.accordion-item {
  border: 1px solid rgba(78, 84, 200, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* --- Testimonial Card (Consolidated) --- */
.testimonial-card {
  background: white; /* Overridden by later instance, using later one for consolidation */
  background-color: var(--light); /* Using the later, explicit color */
  border-radius: 12px; /* Using 12px from first instance */
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.author-details h6 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.author-details p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid #dee2e6;
}

.comparison-table th {
  background-color: #f8fafc;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.comparison-table .feature-cell {
  text-align: left;
  font-weight: 500;
}

.check-icon {
  color: var(--success);
  font-size: 1.25rem;
}

.cross-icon {
  color: var(--accent);
  font-size: 1.25rem;
}

/* --- Feature Card and Exam Card (Specific) --- */
.feature-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 15px;
  overflow: hidden;
  border: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
}

.exam-card {
  /* Inherits base styles from .blog-card */
  /* Added specific box-shadow to override a previous one */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
}

/* --- Hero Section Design (Specific) --- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(78, 84, 200, 0.15);
  max-width: 100%;
  height: auto;
  transform: perspective(800px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: perspective(800px) rotateY(0);
}

.hero-shape {
  position: absolute;
  z-index: 0;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.1) 0%,
    rgba(143, 148, 251, 0.1) 100%
  );
  top: -150px;
  right: -150px;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.1) 0%,
    rgba(255, 142, 83, 0.1) 100%
  );
  bottom: -100px;
  left: -100px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(78, 84, 200, 0.25);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(78, 84, 200, 0.35);
  color: white;
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(78, 84, 200, 0.2);
}

.hero-feature {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.hero-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.25rem;
  margin-right: 1rem;
}

.hero-feature-text {
  font-weight: 600;
  color: var(--dark);
}

/* --- New feature card design (Specific) --- */
.new-feature-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.new-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.new-feature-card .card-body {
  padding: 2rem;
}

.new-feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.8rem;
}

.new-feature-card h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.new-feature-card p {
  color: #666;
  line-height: 1.6;
}

/* --- New design for popular exams section (Specific) --- */
.exam-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  margin-bottom: 1rem;
}

.exam-card .card-body {
  padding: 1.5rem;
}

.exam-card h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.exam-card p {
  color: #666;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.exam-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: auto;
}

.exam-stat {
  display: flex;
  align-items: center;
  color: #777;
  font-size: 0.9rem;
}

.exam-stat i {
  margin-right: 0.4rem;
  color: var(--primary);
}

.exam-price {
  font-weight: 700;
  color: var(--primary);
}

.exam-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Results Grid (Specific) --- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.result-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.result-content {
  padding: 1.5rem;
}

.result-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.result-type.course {
  background: rgba(78, 84, 200, 0.1);
  color: var(--primary);
}

.result-type.topic {
  background: rgba(32, 201, 151, 0.1);
  color: var(--success);
}

.result-type.practice {
  background: rgba(255, 107, 107, 0.1);
  color: var(--accent);
}

.result-type.note {
  background: rgba(255, 193, 7, 0.1);
  color: var(--warning);
}

.result-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.1rem;
}

.result-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #6c757d;
}

.result-stats {
  display: flex;
  gap: 1rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- Text Utility Classes (Specific) --- */
.text-justify {
  text-align: justify !important;
}

.text-truncate-2 {
  -webkit-line-clamp: 2;
}

.text-truncate-3 {
  -webkit-line-clamp: 3;
}

.text-truncate-2,
.text-truncate-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* --- Media Queries (Consolidated) --- */
@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }

  .featured-post-title {
    font-size: 1.5rem;
  }

  .featured-post-img {
    height: 350px;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-img {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .author-social {
    justify-content: center;
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-text {
    margin-bottom: 1rem;
  }

  .pricing-card {
    margin-bottom: 2rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-feature {
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .hero-feature-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* About Page Styles */
.about-hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.03) 0%,
    rgba(143, 148, 251, 0.03) 100%
  );
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.1) 0%,
    rgba(143, 148, 251, 0.1) 100%
  );
}

.about-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.1) 0%,
    rgba(255, 142, 83, 0.1) 100%
  );
}

.about-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.about-subtitle {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-content {
  padding: 80px 0;
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title.text-start:after {
  left: 0;
  transform: none;
}

.mission-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.8rem;
}

.mission-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.mission-card p {
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.story-section {
  padding: 80px 0;
  background: #f8fafc;
}

.story-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 80px;
}

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--primary);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.timeline-content {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content .date {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.team-section {
  padding: 80px 0;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary);
  color: white;
}

.values-section {
  padding: 80px 0;
  background: #f8fafc;
}

.value-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.8rem;
}

.value-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
  }

  .story-timeline::before {
    left: 25px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Contact Hero */
.contact-hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.03) 0%,
    rgba(143, 148, 251, 0.03) 100%
  );
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.1) 0%,
    rgba(143, 148, 251, 0.1) 100%
  );
}

.contact-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.1) 0%,
    rgba(255, 142, 83, 0.1) 100%
  );
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.contact-subtitle {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title.text-start:after {
  left: 0;
  transform: none;
}

/* Contact Methods */
.contact-methods {
  padding: 80px 0;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 2rem;
}

.contact-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: #f8fafc;
}

.form-card {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-control {
  border-radius: 10px;
  border: 1px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(78, 84, 200, 0.25);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  background: #f8f9fa;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
  display: none;
  line-height: 1.6;
  color: #495057;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  color: var(--primary);
  background: rgba(78, 84, 200, 0.05);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

/* Response Time */
.response-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.response-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.response-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 2.5rem;
}

.response-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.response-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Locations Section */
.locations-section {
  padding: 80px 0;
  background: #f8fafc;
}

.location-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
}

.location-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.location-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 84, 200, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
  margin-right: 1rem;
}

.location-title {
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

.location-info {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.location-hours {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.hours-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .form-card {
    padding: 2rem;
  }
}
