.crx-levels-section {
  padding: 4rem 0;
}

.crx-levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .crx-levels-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.crx-level-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: none;
  transition: transform var(--transition);
}

.crx-contact-hero-image-section {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: var(--bg);
}

.crx-contact-hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .crx-contact-hero-image-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .crx-contact-hero-image-wrapper {
    height: 220px;
  }
}

.crx-contact-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.crx-contact-hero-image-wrapper:hover .crx-contact-hero-image {
  transform: scale(1.05);
}

.crx-contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.crx-enrollment-section {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.crx-section-subtitle {
  text-align: center;
  color: var(--mid);
  font-size: 1rem;
  margin-bottom: 3rem;
  font-weight: 400;
}

.crx-chart-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 400px;
}

@media (max-width: 768px) {
  .crx-chart-wrapper {
    height: 300px;
    padding: 1.5rem;
  }
}

.crx-chart-wrapper canvas {
  max-height: 100%;
}

.crx-info-section {
  padding: 5rem 0;
  background: var(--white);
  border-bottom: none;
}

.crx-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.crx-info-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.crx-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.crx-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.crx-info-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.5;
}


.crx-level-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem;
}

.crx-level-card p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.crx-level-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.crx-text-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: transform var(--transition);
  display: inline-block;
}

.crx-text-link:hover {
  transform: translateX(4px);
}

.crx-trending-courses-section {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
}

.crx-trending-carousel {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.crx-trending-carousel::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1200px) {
  .crx-trending-carousel {
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .crx-trending-carousel {
    gap: 1rem;
  }
}

.crx-trending-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 0 0 calc(25% - 1.2rem);
  min-width: 260px;
  cursor: pointer;
}

.crx-trending-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.crx-trending-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
}

.crx-trending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.crx-trending-card:hover .crx-trending-image img {
  transform: scale(1.05);
}

.crx-trending-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.crx-trending-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crx-trending-instructor {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crx-trending-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.crx-trending-badge {
  background: #e3f2fd;
  color: #1976d2;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.crx-trending-rating {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.crx-trending-rating i {
  color: var(--primary);
  font-size: 0.8rem;
}

.crx-trending-reviews {
  font-size: 0.8rem;
  color: var(--mid);
}

.crx-trending-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.crx-trending-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}

.crx-trending-original {
  font-size: 0.85rem;
  color: var(--mid);
  text-decoration: line-through;
}

.crx-trending-prev,
.crx-trending-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1rem;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.crx-trending-prev:hover,
.crx-trending-next:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.crx-trending-prev {
  left: -25px;
}

.crx-trending-next {
  right: -25px;
}

@media (max-width: 1024px) {
  .crx-trending-prev,
  .crx-trending-next {
    display: none;
  }
}

.crx-feedback-section {
  padding: 5rem 0;
  background: var(--bg);
  border-top: none;
  border-bottom: none;
}

.crx-feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.crx-feedback-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.crx-feedback-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.crx-feedback-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.crx-feedback-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.crx-feedback-card p {
  font-size: 0.87rem;
  color: var(--dark-2);
  line-height: 1.5;
  font-style: italic;
}

.crx-cta-strip {
  background: var(--primary);
  padding: 0.75rem 0;
}

.crx-cta-strip .crx-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.crx-cta-strip span {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.crx-cta-strip .crx-btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.crx-cta-strip .crx-btn-primary:hover {
  background: var(--bg);
  border-color: var(--bg);
}

.crx-footer {
  background: #f2f2f7;
  color: var(--mid);
  padding: 4.5rem 0 0;
}

.crx-footer-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.crx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.crx-footer-brand p {
  font-size: 0.86rem;
  line-height: 1.65;
  margin-top: 0.65rem;
  margin-bottom: 1rem;
  max-width: 260px;
}

.crx-social-links {
  display: flex;
  gap: 0.6rem;
}

.crx-social-links a {
  width: 34px;
  height: 34px;
  background: rgba(6, 148, 148, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 0.84rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.crx-social-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.crx-footer-col h2,
.crx-footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

.crx-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crx-footer-col ul li a {
  font-size: 0.84rem;
  color: var(--mid);
  transition: color var(--transition), padding-left var(--transition);
}

.crx-footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.crx-footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.crx-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(26, 26, 46, 0.60);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.crx-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.25);
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.crx-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--transition);
  padding: 4px;
}

.crx-modal-close:hover {
  color: var(--dark);
}

.crx-modal-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.crx-modal-logo i {
  color: var(--primary);
}

.crx-modal h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.crx-modal-subtitle {
  font-size: 0.88rem;
  color: var(--mid);
  margin-bottom: 1.25rem;
}

.crx-modal .crx-form-group {
  margin-bottom: 0.85rem;
}

.crx-modal-footer-text {
  text-align: center;
  font-size: 0.84rem;
  color: var(--mid);
  margin-top: 1rem;
}

.crx-info-section {
  padding: 5rem 0;
  background: var(--bg);
}

.crx-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}



.crx-faq-section {
  padding: 4.5rem 0;
  background: var(--white);
}

.crx-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.crx-faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0;
  background: #ffffff;
  margin-bottom: 0.1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.crx-faq-item summary {
  padding: 1rem 1.2rem;
  font-weight: 500;
  color: var(--dark-2);
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crx-faq-item summary::-webkit-details-marker {
  display: none;
}

.crx-faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--mid);
  transition: transform 0.3s ease;
}

.crx-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.crx-faq-item p {
  padding: 0 1.2rem 1.2rem 2.5rem;
  margin: 0;
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.crx-faq-item[open] p {
  border-top-color: var(--bg);
  padding-top: 1rem;
  animation: crxFaqOpen 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes crxFaqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


.crx-faq-item {
  interpolate-size: allow-keywords;
}

.crx-faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.35s allow-discrete;
}

.crx-faq-item[open]::details-content {
  block-size: auto;
}

@media (max-width: 1024px) {
  .crx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .crx-about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .crx-about-img-placeholder {
    height: 240px;
  }

  .crx-about-image img {
    height: 280px;
    transform: rotate(0.6deg);
  }

  .crx-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .crx-nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    transform: none; 
    background: var(--white);
    flex-direction: column;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .crx-nav-links.crx-open {
    display: flex;
  }

  .crx-nav-link {
    padding: 0.65rem 0.4rem;
    border-bottom: 1px solid var(--border);
  }

  .crx-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
  }

  .crx-nav-auth {
    display: none;
  }

  .crx-hamburger {
    display: flex;
  }

  .crx-hero {
    flex-direction: column;
    text-align: center;
    padding: 82px 1.25rem 2rem;
    gap: 1.5rem;
  }

  .crx-hero-banner-photo {
    height: 170px;
  }

  .crx-hero-content {
    max-width: 100%;
  }

  .crx-hero-buttons {
    justify-content: center;
  }

  .crx-hero-stats {
    justify-content: center;
  }

  .crx-hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .crx-hero-card:nth-child(1),
  .crx-hero-card:nth-child(2),
  .crx-hero-card:nth-child(3) {
    transform: none;
  }

  .crx-features-grid {
    grid-template-columns: 1fr;
  }

  .crx-contact-card {
    max-width: 100%;
  }

  .crx-form-row {
    grid-template-columns: 1fr;
  }

  .crx-form-group.crx-full-width {
    grid-column: span 1;
  }

  .crx-rules-list {
    grid-template-columns: 1fr;
  }

  .crx-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 480px) {
  .crx-hero-banner-photo {
    height: 120px;
  }

  .crx-hero-stats {
    gap: 0.85rem;
  }

  .crx-stat-divider {
    display: none;
  }

  .crx-courses-grid {
    grid-template-columns: 1fr;
  }

  .crx-filter-bar {
    gap: 0.4rem;
  }

  .crx-filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .crx-form-wrapper {
    padding: 1.25rem;
  }

  .crx-radio-group {
    flex-direction: column;
    gap: 0.65rem;
  }
}

.crx-lecturer-section {
  position: relative;
  padding: 140px 2rem 6rem;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.crx-lecturer-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.crx-lecturer-photo-col {
  display: flex;
  justify-content: center;
}

.crx-lecturer-photo {
  width: 300px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  display: block;
}

.crx-lecturer-details {
  display: flex;
  flex-direction: column;
}

.crx-lecturer-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.crx-lecturer-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.crx-lecturer-title {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.crx-lecturer-bio {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.crx-lecturer-link {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.crx-lecturer-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .crx-lecturer-section {
    padding: 100px 1.25rem 4rem;
  }

  .crx-lecturer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .crx-lecturer-photo {
    width: 220px;
    height: 280px;
    margin: 0 auto;
  }

  .crx-lecturer-name {
    font-size: 1.6rem;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



.crx-marquee-section {
  padding: 2rem 0;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.crx-marquee-content {
  display: flex;
  white-space: nowrap;
  animation: scroll-marquee 20s linear infinite;
  gap: 3rem;
  font-size: 2rem;
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.crx-marquee-item {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.crx-marquee-item i {
  color: var(--primary);
  font-size: 1.5rem;
}
@keyframes scroll-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.crx-trending-section {
  padding: 4rem 0;
  background: var(--bg);
}
.crx-trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.crx-trending-col {
  background: #edf2fc;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.crx-trending-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.crx-trending-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition);
}
.crx-trending-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}
.crx-trending-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ccc;
}
.crx-trending-info {
  flex: 1;
}
.crx-trending-uni {
  font-size: 0.75rem;
  color: var(--mid);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.crx-trending-uni img {
  width: 14px;
  height: 14px;
}
.crx-trending-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.crx-trending-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.crx-trending-meta strong {
  color: var(--dark);
}

.crx-team-section {
  padding: 4rem 0;
  background: var(--white);
  text-align: center;
  overflow: hidden;
}
.crx-team-carousel {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding: 1rem 0;
  animation: scroll-team 40s linear infinite;
  white-space: nowrap;
}
.crx-team-member {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.crx-team-img {
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  transition: filter var(--transition), transform var(--transition);
  box-shadow: var(--card-shadow);
}
.crx-team-member:hover .crx-team-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.crx-team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
@keyframes scroll-team {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

.crx-feedback-wrapper {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}
.crx-feedback-viewport {
  overflow: hidden;
}
.crx-feedback-scroll {
  display: flex;
  transition: transform 0.4s ease;
  width: max-content;
}
.crx-feedback-card {
  width: calc((100vw - 2rem) / 3 - 1rem);
  max-width: 480px;
  margin-right: 1.5rem;
  flex-shrink: 0;
}
.crx-feedback-next {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  color: var(--primary-dark);
  transition: all var(--transition);
}
.crx-feedback-next:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
@media (max-width: 1024px) {
  .crx-feedback-card {
    width: calc(50vw - 2rem);
  }
}
@media (max-width: 768px) {
  .crx-feedback-card {
    width: calc(100vw - 3rem);
  }
  .crx-trending-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes crxFabPulse {
  0% { box-shadow: 0 6px 20px rgba(6, 148, 148, 0.4), 0 0 0 0 rgba(6, 148, 148, 0.5); }
  70% { box-shadow: 0 6px 20px rgba(6, 148, 148, 0.4), 0 0 0 15px rgba(6, 148, 148, 0); }
  100% { box-shadow: 0 6px 20px rgba(6, 148, 148, 0.4), 0 0 0 0 rgba(6, 148, 148, 0); }
}

.crx-chatbot-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  height: 54px;
  display: none; 
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  background: var(--primary);
  border-radius: 30px;
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: crxFabPulse 2.5s infinite;
}

.crx-chatbot-btn::before {
  content: '';
  position: absolute;
  top: -1px;
  right: 2px;
  width: 9px;
  height: 9px;
  background: #10B981;
  border: 2px solid var(--white);
  border-radius: 50%;
  z-index: 2;
}

.crx-chatbot-btn i {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: normal !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.crx-chatbot-btn i::before {
  content: '' !important; 
}

.crx-chatbot-btn::after {
  content: 'Study Tutor';
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--white);
  white-space: nowrap;
}

.crx-chatbot-btn:hover {
  background: var(--accent);
  transform: translateY(-3px) scale(1.02);
  animation-play-state: paused;
  box-shadow: 0 10px 25px rgba(6, 148, 148, 0.5);
}

.crx-chatbot-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(6, 148, 148, 0.3);
}



@media (max-width: 576px) {
  .crx-chatbot-btn {
    width: 48px;
    padding: 0;
    justify-content: center;
  }
  .crx-chatbot-btn::after {
    display: none;
  }
  .crx-chatbot-btn::before {
    right: 2px;
  }
}

.crx-chat-window {
  position: fixed;
  bottom: 90px;
  right: 2rem;
  width: 350px;
  max-width: 90vw;
  height: 500px;
  max-height: 70vh;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border);
  overflow: hidden;
}

.crx-chat-window.crx-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.crx-chat-header {
  background: var(--dark);
  color: var(--white);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent);
}

.crx-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crx-chat-header-info i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.crx-chat-header-info h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.crx-chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crx-chat-close:hover {
  opacity: 1;
}

.crx-chat-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--white);
}

.crx-message {
  max-width: 85%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  word-wrap: break-word;
  font-family: var(--font);
}

.crx-message.bot {
  align-self: flex-start;
  background: #f5f5f8;
  color: var(--dark);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(26, 26, 46, 0.03);
}

.crx-message.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 6px rgba(6, 148, 148, 0.1);
}

.crx-chat-input-area {
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.crx-chat-input {
  flex: 1;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  background: var(--white);
  transition: all 0.25s ease;
  color: var(--dark);
}

.crx-chat-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.crx-chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 148, 148, 0.1);
}

.crx-chat-send {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 4px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.crx-chat-send:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.crx-chat-send:disabled {
  background: rgba(26, 26, 46, 0.1);
  color: rgba(26, 26, 46, 0.3);
  cursor: not-allowed;
  transform: none;
}

.crx-chat-mic {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.crx-chat-mic:hover {
  background: #f1f5f9;
  color: var(--dark);
}

.crx-chat-mic.crx-listening {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  animation: crxPulseRed 1.5s infinite;
}

.crx-chat-speaker {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  margin-right: 0.5rem;
}

.crx-chat-speaker:hover {
  opacity: 1;
}

.crx-chat-speaker.crx-muted {
  opacity: 0.5;
}

@keyframes crxPulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}


.crx-typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

.crx-typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: crxTyping 1.4s infinite ease-in-out both;
}

.crx-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.crx-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes crxTyping {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.crx-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: #25D366;
  color: var(--white);
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.crx-whatsapp-btn:hover {
  background: #128C7E;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.crx-language-selector {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.crx-language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--dark);
  transition: all var(--transition);
  white-space: nowrap;
  font-weight: 500;
}

.crx-language-toggle:hover {
  border-color: var(--primary);
  background: rgba(29, 78, 216, 0.05);
}

.crx-language-toggle.crx-active {
  border-color: var(--primary);
  color: var(--primary);
}

.crx-language-toggle i:first-child {
  font-size: 1rem;
  color: var(--primary);
}

.crx-language-toggle i:last-child {
  font-size: 0.75rem;
  color: var(--mid);
  transition: transform var(--transition);
}

.crx-language-toggle.crx-active i:last-child {
  transform: rotate(180deg);
}

.crx-language-text {
  display: inline-block;
}

.crx-language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  margin-top: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.crx-language-dropdown.crx-show {
  display: flex;
}

.crx-language-option {
  padding: 0.8rem 1rem;
  color: var(--dark);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.crx-language-option:last-child {
  border-bottom: none;
}

.crx-language-option:hover {
  background: var(--bg);
  color: var(--primary);
  padding-left: 1.5rem;
}

.crx-language-option.crx-language-active {
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.crx-language-option.crx-language-active::before {
  content: '\f05d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .crx-language-selector {
    display: none;
  }
}



.crx-dashboard-section {
  padding: 120px 0 6rem;
  background: #f8f6f2;
  min-height: 100vh;
}

.crx-dashboard-wrapper {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.crx-dashboard-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.crx-dashboard-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.crx-dashboard-banner-content {
  position: relative;
  z-index: 1;
}

.crx-dashboard-banner-content p {
  color: var(--mid);
}

.crx-dashboard-banner h1 {
  font-size: 2.2rem;
  margin: 1rem 0 0.5rem;
  font-family: var(--font-serif);
  color: var(--dark);
}

.crx-badge-glass {
  background: var(--bg) !important;
  color: var(--mid) !important;
  backdrop-filter: none;
  border: 1px solid var(--border);
}

.crx-dashboard-banner-photo {
  position: relative;
  z-index: 1;
}

.crx-profile-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition);
}

.crx-profile-circle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(29, 78, 216, 0.05);
}

.crx-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .crx-dashboard-layout {
    grid-template-columns: 1fr;
  }
}

.crx-dashboard-header h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.crx-dashboard-header p {
  color: var(--mid);
  margin-bottom: 2rem;
}

.crx-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.crx-class-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.crx-class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: var(--primary-light);
}

.crx-class-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.crx-class-card:hover .crx-class-card-icon {
  background: var(--primary);
  color: var(--white);
}

.crx-class-card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.crx-class-card-info p {
  font-size: 0.85rem;
  color: var(--mid);
  margin: 0;
}

.crx-class-card-arrow {
  margin-left: auto;
  color: var(--mid);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--transition), transform var(--transition);
}

.crx-class-card:hover .crx-class-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

.crx-sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.crx-sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}

.crx-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crx-sidebar-links a,
.crx-signout-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--mid);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.crx-sidebar-links a:hover,
.crx-signout-btn:hover {
  background: var(--bg);
  color: var(--primary);
  transform: translateX(6px);
}

.crx-sidebar-icon {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
}

.crx-signout-btn:hover {
  color: #dc2626;
  background: #fef2f2;
}

.crx-chatbot-options {
  position: fixed;
  bottom: 5.8rem;
  right: 2rem;
  width: 250px;
  background: linear-gradient(135deg, rgba(7, 24, 46, 0.98) 0%, rgba(29, 78, 216, 0.98) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 8px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crx-chatbot-options.crx-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.crx-chatbot-opt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.crx-chatbot-opt-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.crx-chatbot-opt-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.crx-chatbot-opt-item:hover .crx-chatbot-opt-icon {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.5);
}

.crx-chatbot-opt-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.crx-chatbot-opt-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.crx-chatbot-opt-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.crx-chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  height: 12px;
}

.crx-chat-typing span {
  width: 6px;
  height: 6px;
  background-color: var(--muted);
  border-radius: 50%;
  display: inline-block;
  animation: crxTypingPulse 1.4s infinite both;
}

.crx-chat-typing span:nth-child(2) {
  animation-delay: .2s;
}

.crx-chat-typing span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes crxTypingPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.crx-language-link {
  display: inline-block;
  transition: transform var(--transition), color var(--transition);
  cursor: pointer;
}

.crx-left-col .crx-language-link:hover,
.crx-left-col-bottom .crx-language-link:hover {
  color: var(--primary) !important;
  transform: translateX(-6px);
}

.crx-right-col .crx-language-link:hover {
  color: var(--primary) !important;
  transform: translateX(6px);
}



@media (max-width: 768px) {

  .crx-dashboard-section {
    padding: 90px 0 3rem !important;
  }

  .crx-dashboard-banner {
    padding: 1.5rem 1.2rem !important;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .crx-dashboard-banner h1 {
    font-size: 1.5rem !important;
  }

  .crx-dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .crx-class-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .crx-class-card {
    padding: 1.2rem !important;
  }

  .crx-profile-circle {
    width: 70px;
    height: 70px;
    font-size: 1.4rem;
  }

  .crx-chat-window {
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }

  .crx-chatbot-btn {
    bottom: 1rem !important;
    right: 1rem !important;
  }

  .crx-whatsapp-btn {
    bottom: 1rem !important;
    left: 1rem !important;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .crx-chatbot-options {
    right: 1rem !important;
    bottom: 4.5rem !important;
    width: calc(100vw - 2rem) !important;
  }
}
