/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.35);
}

.btn-secondary {
  background: #FFFFFF;
  border: 1.5px solid var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.btn-secondary:hover {
  background: var(--accent-orange-glow);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 107, 0, 0.08);
}

.btn-call {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.btn-call:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-enroll {
  background: var(--grad-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}

.btn-enroll:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
}

/* ==========================================
   GLASS CARD
   ========================================== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-border-glow);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-5px);
}

/* ==========================================
   SECTIONS & TITLES
   ========================================== */
.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--accent-orange-glow);
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  max-width: 700px;
}

/* ==========================================
   COURSES PREVIEW
   ========================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF !important;
  border: 1px solid rgba(255, 122, 0, 0.12) !important;
  border-top: 4px solid #FF7A00 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.course-card:hover {
  border-color: rgba(255, 122, 0, 0.3) !important;
  box-shadow: 0 20px 40px rgba(255, 122, 0, 0.08) !important;
  transform: translateY(-8px) !important;
}

.course-icon-container {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #FF9E47 0%, #FF7A00 100%) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 24px !important;
  font-size: 1.35rem !important;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.course-card:hover .course-icon-container {
  transform: scale(1.1) rotate(5deg) !important;
}

.course-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1A1A1A !important;
}

.course-desc {
  font-size: 0.95rem;
  color: #555555 !important;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.course-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.course-feature-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-feature-item::before {
  content: '✓' !important;
  color: #FF7A00 !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  display: inline-block !important;
  margin-right: 2px !important;
  transition: transform 0.3s ease !important;
}

.course-card:hover .course-feature-item::before {
  transform: scale(1.2) !important;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-enroll-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.course-enroll-link:hover {
  gap: 8px;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  background: var(--bg-secondary);
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 24px;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================
   TIMELINE (SUCCESS JOURNEY)
   ========================================== */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-border);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--grad-orange);
  transition: width var(--transition-slow);
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
}

.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.timeline-item.active .timeline-dot {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.25);
  transform: scale(1.1);
}

.timeline-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-item-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================
   STUDENT RESULTS (BEFORE/AFTER)
   ========================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.result-card {
  padding: 30px;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.result-avatar {
  display: none !important;
}

.result-meta h4 {
  font-size: 1.15rem;
}

.result-meta p {
  font-size: 0.85rem;
}

.result-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.compare-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compare-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.compare-col.after .compare-value {
  color: var(--accent-orange);
}

.result-impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--accent-success);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.result-story {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================
   TESTIMONIALS SLIDER
   ========================================== */
.testimonials-section {
  background: var(--bg-secondary);
  overflow: hidden;
  padding: 50px 0 !important;
}

.testimonials-slider-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 30px;
}

.testimonial-card {
  min-width: calc(50% - 15px);
  width: calc(50% - 15px);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  box-sizing: border-box;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  flex-grow: 1;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar, .review-g-avatar {
  display: none !important;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-course {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.testimonial-rating {
  color: #FBBF24; /* Gold stars */
  font-size: 0.9rem;
  margin-top: 2px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
}

/* ==========================================
   TRAINERS SECTION
   ========================================== */
.trainers-grid {
  display: flex;
  justify-content: center;
}

.trainer-card {
  max-width: 480px;
  width: 100%;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}

.trainer-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  background: var(--bg-secondary);
}

.trainer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.trainer-card:hover .trainer-photo {
  transform: scale(1.08);
}

.trainer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trainer-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trainer-exp {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trainer-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.skill-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 50px;
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
}

/* ==========================================
   MASONRY GALLERY
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.2) 100%);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

/* Masonry grid sizing variants */
.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* ==========================================
   ACCORDION (FAQ)
   ========================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 107, 0, 0.2);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
  flex-shrink: 0;
}

.faq-icon svg {
  transition: transform var(--transition-normal);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

/* Active accordion states */
.faq-item.active {
  border-color: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.03);
}

.faq-item.active .faq-icon {
  background: var(--accent-orange);
  color: #FFFFFF;
}

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

.faq-item.active .faq-content {
  padding: 0 24px 24px;
}

/* ==========================================
   MODAL ENROLL FORM
   ========================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
}

.modal.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #B3B3B3 !important; /* proper visible grey border */
  border-radius: var(--radius-sm);
  background: #FFFFFF !important;
  font-size: 0.95rem;
  color: #000000 !important; /* proper bright black text */
  font-weight: 500;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: #888888 !important; /* proper bright grey placeholder */
  opacity: 1;
}

.form-input:focus {
  border-color: #000000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

.form-input.error {
  border-color: #EF4444;
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.error-text {
  font-size: 0.75rem;
  color: #EF4444;
  margin-top: 4px;
  font-weight: 400;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* Stagger item delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ==========================================
   RESPONSIVE DESIGN (COMPONENTS)
   ========================================== */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .timeline-line {
    left: 20px;
    width: 4px;
    height: 100%;
    transform: none;
    top: 0;
  }
  .timeline-items {
    flex-direction: column;
    gap: 30px;
    padding-left: 50px;
    align-items: flex-start;
  }
  .timeline-item {
    flex-direction: row;
    text-align: left;
    width: 100%;
    gap: 20px;
  }
  .timeline-dot {
    margin-bottom: 0;
    position: absolute;
    left: 0;
  }
  .testimonial-card {
    min-width: 100%;
    width: 100%;
  }
  .trainer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .trainer-photo-wrap {
    height: 240px;
  }
  .trainer-skills {
    justify-content: center;
  }
  .modal-content {
    padding: 30px 20px;
  }
}

/* ==========================================
   HERO SAAS STUDENT DASHBOARD REDESIGN
   ========================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px 0;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible !important;
}


#dashboard-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Background gradient blobs and mesh effects */
.hero-visual-wrapper::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 107, 0, 0.04) 0%, transparent 55%),
              radial-gradient(circle at 70% 80%, rgba(255, 138, 42, 0.03) 0%, transparent 55%),
              radial-gradient(circle at 50% 50%, rgba(18, 18, 18, 0.01) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.dashboard-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.04;
  z-index: 1;
}

.dashboard-bg-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 107, 0, 0.12);
  z-index: 1;
  pointer-events: none;
  animation: bg-float-slow 25s infinite linear;
}

@keyframes bg-float-slow {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -20px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Wrapper and Main Dashboard Card */
.student-dashboard-wrapper {
  position: relative;
  width: 72%;
  max-width: 440px;
  z-index: 5;
  transition: transform 0.1s ease-out;
}

.student-dashboard {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.01);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-fast), box-shadow var(--transition-normal);
}

.student-dashboard-wrapper.active .student-dashboard {
  opacity: 1;
  transform: scale(1);
}

.student-dashboard-wrapper.active .student-dashboard:hover {
  border-color: rgba(255, 107, 0, 0.2);
  box-shadow: 0 25px 50px rgba(255, 107, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.01);
  transform: translateY(-6px);
}

.dash-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.dash-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dash-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Profile Section */
.dash-profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.dash-profile-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-orange);
}

.dash-profile-info {
  display: flex;
  flex-direction: column;
}

.dash-profile-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-profile-status {
  font-size: 0.7rem;
  color: var(--accent-orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-profile-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  animation: pulse-glow 1s infinite alternate;
}

/* Circular Progress Ring */
.dash-profile-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-ring-container {
  position: relative;
  width: 48px;
  height: 48px;
}

.progress-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
}

.progress-ring-label {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.progress-ring-label-num {
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-ring-label-text {
  font-size: 0.55rem;
  color: var(--text-secondary);
}

/* Progress Lists */
.dash-courses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.dash-course-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dash-course-name {
  color: var(--text-primary);
}

.dash-progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
  border: 0.5px solid var(--color-border);
}

.dash-progress-fill {
  height: 100%;
  width: 0%; /* Animated on load */
  background: var(--grad-orange);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bottom Metrics */
.dash-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.dash-metric-card {
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dash-metric-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-svg-icon {
  width: 16px;
  height: 16px;
  stroke: var(--accent-orange);
  stroke-width: 2px;
}

.dash-metric-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dash-metric-label {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* Floating widgets wrappers and cards */
.floating-widget-wrapper {
  position: absolute;
  width: 195px;
  z-index: 10;
  transition: transform 0.1s ease-out;
}

.floating-widget-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-widget-wrapper.active .floating-widget-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.floating-widget-wrapper.active .floating-widget-card:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.1);
  transform: translateY(-6px) scale(1.02);
}

.floating-widget-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-svg-icon {
  width: 16px;
  height: 16px;
  stroke: var(--accent-orange);
  stroke-width: 2.5px;
}

.floating-widget-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.floating-widget-tag {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.floating-widget-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-widget-status {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Custom indicator dots for floating widgets */
.floating-widget-status.success {
  color: var(--accent-success);
}
.floating-widget-status.success::before {
  content: '✔';
  font-weight: bold;
}
.floating-widget-status.pulse::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  animation: pulse-glow 1s infinite alternate;
}

/* Floating Positions */
#widget-cert-wrapper {
  top: 10%;
  right: -20px;
}

#widget-assign-wrapper {
  top: 42%;
  left: -30px;
}

#widget-session-wrapper {
  bottom: 12%;
  right: -10px;
}

/* ==========================================
   SECTION 1: STUDENT PROJECT SHOWCASE
   ========================================== */
.project-showcase-section {
  position: relative;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Background effects for section */
.project-showcase-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(255, 154, 61, 0.02) 0%, transparent 50%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.project-showcase-card {
  position: relative;
  border-radius: 32px;
  padding: 0;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}

.project-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.35) 60%, rgba(18, 18, 18, 0.1) 100%);
  transition: background 0.4s ease;
  z-index: 2;
}

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.project-card-badge {
  align-self: flex-start;
  background: var(--accent-orange);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.project-card-title {
  color: #FFFFFF;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  transition: transform 0.4s ease;
}

.project-card-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* Hover effects */
.project-showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.12);
}

.project-showcase-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-showcase-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.4) 60%, rgba(18, 18, 18, 0.2) 100%);
}

/* CTA Area style */
.showcase-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 60px;
  padding: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.015);
}

.showcase-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.showcase-cta-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.btn-explore-courses {
  background: var(--grad-orange);
  border: none;
  color: #FFFFFF !important;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-explore-courses:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 25px rgba(255, 107, 0, 0.35);
}

/* ==========================================
   SECTION 2: SKILLS THAT CREATE CAREERS
   ========================================== */
.skills-careers-section {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.skills-careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.skills-careers-left {
  display: flex;
  flex-direction: column;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.skills-list-item {
  display: flex;
  gap: 20px;
}

.skills-number-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.25);
}

.skills-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skills-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skills-item-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Right Dashboard Card */
.analytics-dashboard {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform var(--transition-normal);
}

.analytics-dashboard:hover {
  transform: translateY(-3px);
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analytics-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.analytics-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: var(--accent-orange-glow);
  border: 1px solid rgba(255, 107, 0, 0.15);
  padding: 4px 10px;
  border-radius: 50px;
}

.analytics-charts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

/* Left Chart: SEO impressions Bar chart */
.bar-chart-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-chart-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.bar-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 110px;
  border-bottom: 2px solid var(--color-border);
  padding: 0 8px 4px;
}

.bar-chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
  height: 100%;
  justify-content: flex-end;
}

.bar-chart-fill {
  width: 100%;
  height: 0%; /* Animated on viewport entry */
  background: var(--accent-orange-light);
  border-radius: 4px 4px 0 0;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-chart-fill.accent {
  background: var(--accent-orange);
}

.bar-chart-day {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Right Chart: circular donut CTR rate */
.radial-chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.radial-chart-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.radial-ring-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.radial-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.radial-ring-subtitle {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Bottom Stats Metrics in dashboard */
.analytics-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.analytics-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.analytics-metric-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.analytics-metric-cell:hover .analytics-metric-icon-wrap {
  border-color: rgba(255, 107, 0, 0.25);
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
}

.analytics-metric-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.analytics-metric-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Section transitions */
.divider-gradient {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent 0%, var(--color-border) 50%, transparent 100%);
}

/* ==========================================
   RESPONSIVE LAYOUT OVERRIDES (DASHBOARD & SECTIONS)
   ========================================== */
@media (max-width: 1024px) {
  .floating-widget-wrapper {
    width: 150px;
  }
  #widget-traffic-wrapper { right: -10px; }
  .floating-tag-card {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  /* Hero Section Stacking for Tablet/Laptop Range */
  .hero-section {
    padding-top: 120px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-title-words {
    font-size: 3.2rem;
    text-align: center;
  }
  .hero-desc-grey {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 700px;
  }
  .hero-cta-buttons {
    justify-content: center;
  }
  .hero-feature-row {
    justify-content: center;
    gap: 20px;
  }
  .hero-visual-wrapper {
    height: auto;
    min-height: 480px;
    padding: 24px 0;
    justify-content: center;
  }
  .student-dashboard-wrapper {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    position: relative !important;
    transform: none !important;
  }
  .student-dashboard {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .floating-pill-navbar {
    width: 95%;
  }
  .floating-pill-navbar .navbar-container {
    padding: 0 16px;
  }
  .hero-section {
    padding-top: 100px;
  }
  .hero-title-words {
    font-size: 2.4rem;
  }
  .student-dashboard-wrapper {
    max-width: 500px;
  }
  .student-dashboard {
    height: auto;
    flex-direction: column;
    border-radius: 24px;
  }
  .db-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    padding: 16px;
    gap: 12px;
  }
  .db-logo {
    text-align: center;
  }
  .db-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .db-menu-item {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .db-main-panel {
    padding: 16px;
    height: 250px;
  }
  .floating-tag-wrapper {
    display: none !important; /* Hide small tags on mobile to avoid screen clutter */
  }
  #widget-traffic-wrapper {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 500px;
    margin: 16px auto 0 auto;
    opacity: 1 !important;
  }
  .floating-widget-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================
   INTERACTIVE FLOATING PILL NAVBAR
   ========================================== */
.floating-pill-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1440px;
  z-index: 1000;
  transition: all 0.3s ease;
}
.floating-pill-navbar .navbar-container {
  height: 70px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #FFE4CC;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.05);
  border-radius: 35px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.header.scrolled.floating-pill-navbar {
  top: 10px;
}
.header.scrolled.floating-pill-navbar .navbar-container {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 35px rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.25);
  height: 64px;
}
.nav-dropdown {
  position: relative;
}
.dropdown-caret {
  font-size: 0.65rem;
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}
.dropdown-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #FFE4CC;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.1);
  padding: 12px 0;
  min-width: 260px;
  list-style: none;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dropdown-submenu li {
  width: 100%;
}
.dropdown-submenu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.dropdown-submenu li a:hover {
  color: #FF7A00;
  background: rgba(255, 122, 0, 0.05);
  padding-left: 24px;
}
.nav-dropdown:hover .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================
   HERO LEFT CONTENT STYLES
   ========================================== */
.hero-academy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 122, 0, 0.06);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FF7A00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.badge-star {
  color: #FF7A00;
  animation: star-spin 3s infinite linear;
}
@keyframes star-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-title-words {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #111111;
  letter-spacing: -0.02em;
  text-align: left;
}
.reveal-word {
  display: inline-block;
  margin-right: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: word-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-word:nth-child(1) {
  animation-delay: 0.15s;
}
.reveal-word:nth-child(2) {
  animation-delay: 0.35s;
}
.reveal-word:nth-child(3) {
  animation-delay: 0.55s;
}
@keyframes word-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text-gradient {
  background: linear-gradient(135deg, #FF7A00 0%, #FFC247 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc-grey {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 30px;
  max-width: 100%;
  text-align: left;
}
.hero-cta-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 36px;
}
.btn-start-learning {
  background: linear-gradient(135deg, #FF7A00 0%, #FF9E00 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-start-learning:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.35);
}
.btn-view-courses {
  border: 2px solid #FF7A00;
  color: #FF7A00 !important;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-view-courses:hover {
  background: rgba(255, 122, 0, 0.05);
  transform: translateY(-2px);
}
.hero-feature-row {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.feature-row-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
}
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.1);
  color: #FF7A00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================
   HERO RIGHT DASHBOARD STYLES
   ========================================== */
.student-dashboard-wrapper {
  position: relative;
  width: 650px;
  max-width: 100%;
  z-index: 5;
  transition: transform 0.1s ease-out;
}
.student-dashboard {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06), 0 2px 10px rgba(255, 122, 0, 0.02);
  padding: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  overflow: hidden;
  height: 380px;
}
.db-sidebar {
  width: 180px;
  background: rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 122, 0, 0.1);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}
.db-logo {
  font-size: 0.9rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.01em;
  padding-left: 8px;
  text-transform: uppercase;
}
.db-logo .orange-text {
  color: #FF7A00;
}
.db-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.db-menu-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666666;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.db-menu-item:hover {
  color: #FF7A00;
  background: rgba(255, 122, 0, 0.05);
}
.db-menu-item.active {
  color: #FFFFFF;
  background: #FF7A00;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}
.menu-icon {
  font-size: 0.95rem;
}
.db-main-panel {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
}
.db-panel-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.db-divider {
  height: 1px;
  background: rgba(255, 122, 0, 0.1);
  margin-bottom: 16px;
  width: 100%;
}
.db-tab-content {
  display: none;
  flex-direction: column;
  height: 100%;
}
.db-tab-content.active {
  display: flex;
  animation: tab-slide-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes tab-slide-fade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.db-progress-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.db-progress-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}
.db-progress-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}
.db-progress-name {
  color: #333333;
}
.db-progress-percentage {
  color: #FF7A00;
}
.db-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 3px;
  overflow: hidden;
}
.db-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF7A00, #FFC247);
  border-radius: 3px;
  transition: width 1s ease-in-out;
}
.db-list-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-list-item-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 122, 0, 0.06);
  border-radius: 12px;
  transition: all 0.25s ease;
}
.db-list-item-compact:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 122, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.04);
}
.item-bullet {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 122, 0, 0.06);
  border-radius: 8px;
}
.item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111111;
}
.item-sub {
  font-size: 0.7rem;
  color: #777777;
  font-weight: 500;
}
.text-success {
  color: #2e7d32 !important;
}
.text-warning {
  color: #ed6c02 !important;
}

/* ==========================================
   FLOATING WIDGETS & TAGS STYLES
   ========================================== */
#widget-traffic-wrapper {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 175px;
  z-index: 10;
  transition: transform 0.1s ease-out;
}
.floating-widget-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 15px 30px rgba(255, 122, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.floating-widget-card:hover {
  transform: translateY(-5px);
  border-color: #FF7A00;
  box-shadow: 0 20px 40px rgba(255, 122, 0, 0.12);
}
.floating-widget-tag {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #888888;
  text-transform: uppercase;
}
.floating-tag-wrapper {
  position: absolute;
  z-index: 6;
  transition: transform 0.1s ease-out;
}
.floating-tag-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.12);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.floating-tag-card:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #FF7A00;
  color: #FF7A00;
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.08);
}
#tag-seo-wrapper { top: 10%; right: calc(100% + 6px); left: auto; }
#tag-ads-wrapper { bottom: 20%; right: calc(100% + 6px); left: auto; }
#tag-wp-wrapper { bottom: -10px; left: 30%; }
#tag-design-wrapper { top: 20%; right: -50px; }
#tag-ai-wrapper { bottom: 15%; right: -40px; }

/* ==========================================
   DYNAMIC DASHBOARD TAB COMPONENTS
   ========================================== */
.db-panel-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Sliding & fading animations */
@keyframes slide-from-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.slide-from-right {
  animation: slide-from-right 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-upward {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-upward {
  animation: fade-upward 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Underline/Indicator Animation */
.db-menu {
  position: relative;
}
.db-menu-underline {
  position: absolute;
  background: #FF7A00;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
  border-radius: 2px;
}
@media (min-width: 769px) {
  .db-menu-underline {
    left: 2px;
    width: 3px;
    height: 0;
  }
}
@media (max-width: 768px) {
  .db-menu-underline {
    bottom: 2px;
    height: 3px;
    width: 0;
  }
}

/* Courses Tab Grid */
.db-courses-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding-bottom: 10px;
}
.db-course-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 122, 0, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  transition: all 0.25s ease;
  gap: 12px;
}
.db-course-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 122, 0, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.05);
}
.db-course-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-course-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111111;
}
.db-course-desc {
  font-size: 0.72rem;
  color: #666666;
  line-height: 1.35;
}
.db-course-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-course-progress-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 55px;
}
.db-course-progress-percentage {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FF7A00;
}
.db-course-progress-bar-wrap {
  width: 50px;
  height: 4px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 2px;
  overflow: hidden;
}
.db-course-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF7A00, #FFC247);
  width: 0%;
  transition: width 0.8s ease;
}
.db-btn-view-course {
  background: #FF7A00;
  color: #FFFFFF !important;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.db-btn-view-course:hover {
  background: #E06C00;
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.25);
}

/* Projects Tab Grid */
.db-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding-bottom: 10px;
}
.db-project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 122, 0, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  gap: 12px;
}
.db-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.3);
  background: rgba(255, 255, 255, 0.95);
}
.db-project-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-project-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.08) 0%, rgba(255, 194, 71, 0.04) 100%);
  border: 1px solid rgba(255, 122, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.db-project-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-project-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111111;
}
.db-project-preview {
  font-size: 0.72rem;
  color: #666666;
}
.db-project-status {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.status-badge-approved {
  background: rgba(22, 163, 74, 0.08);
  color: #16A34A;
}
.status-badge-live {
  background: rgba(255, 122, 0, 0.08);
  color: #FF7A00;
}
.status-badge-featured {
  background: rgba(59, 130, 246, 0.08);
  color: #3B82F6;
}
.status-badge-completed {
  background: rgba(22, 163, 74, 0.08);
  color: #16A34A;
}

/* Certificates Tab Grid */
.db-certificates-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.db-certificate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 122, 0, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-upward 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
}
.db-certificate-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 122, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 122, 0, 0.04);
}
.db-certificate-card:nth-child(1) { animation-delay: 0.05s; }
.db-certificate-card:nth-child(2) { animation-delay: 0.12s; }
.db-certificate-card:nth-child(3) { animation-delay: 0.19s; }

.db-certificate-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-certificate-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.06) 0%, rgba(255, 194, 71, 0.02) 100%);
  border: 1.5px dashed rgba(255, 122, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.db-certificate-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-certificate-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111111;
}
.db-certificate-date {
  font-size: 0.7rem;
  color: #777777;
}
.db-btn-download-cert {
  background: transparent;
  border: 1px solid rgba(255, 122, 0, 0.25);
  color: #FF7A00;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.db-btn-download-cert:hover {
  background: rgba(255, 122, 0, 0.05);
  border-color: #FF7A00;
}

/* Career Tab & Progress Tracker */
.db-career-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.db-career-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.db-career-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 122, 0, 0.06);
  border-radius: 12px;
  padding: 10px;
  transition: all 0.25s ease;
}
.db-career-pillar:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 122, 0, 0.15);
}
.pillar-icon {
  font-size: 1.15rem;
  background: rgba(255, 122, 0, 0.06);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pillar-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #111111;
}
.pillar-desc {
  font-size: 0.65rem;
  color: #666666;
  line-height: 1.25;
}
.db-career-tracker {
  background: rgba(255, 122, 0, 0.03);
  border: 1px solid rgba(255, 122, 0, 0.08);
  border-radius: 16px;
  padding: 14px;
}
.tracker-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #888888;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tracker-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
}
.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  position: relative;
}
.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(255, 122, 0, 0.25);
  color: #777777;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tracker-step.completed .step-dot {
  background: #FF7A00;
  border-color: #FF7A00;
  color: #FFFFFF;
}
.tracker-step.active .step-dot {
  border-color: #FF7A00;
  color: #FF7A00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}
.step-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #777777;
  margin-top: 4px;
}
.tracker-step.completed .step-label,
.tracker-step.active .step-label {
  color: #FF7A00;
  font-weight: 700;
}
.tracker-progress-line {
  position: absolute;
  top: 11px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: rgba(0, 0, 0, 0.04);
  z-index: 1;
}
.tracker-progress-fill {
  height: 100%;
  background: #FF7A00;
  transition: width 0.8s ease;
  width: 0%;
}

/* Mobile responsive menu overrides */
@media (max-width: 768px) {
  .student-dashboard {
    flex-direction: column !important;
    height: auto !important;
    border-radius: 24px !important;
  }
  .db-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1) !important;
    padding: 12px 16px !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .db-logo {
    display: none !important;
  }
  .db-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    scrollbar-width: none !important;
    position: relative !important;
    width: 100% !important;
  }
  .db-menu::-webkit-scrollbar {
    display: none !important;
  }
  .db-menu-item {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    gap: 6px !important;
  }
  .db-menu-item.active {
    background: transparent !important;
    color: #FF7A00 !important;
    box-shadow: none !important;
  }
  .db-main-panel {
    width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
    padding: 16px !important;
  }
  .db-career-pillars {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PERFORMANCE & GPU ACCELERATION OPTIMIZATIONS
   ========================================== */

/* 1. Defer offscreen rendering calculations */
.stats-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 150px;
}
#courses {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}
.project-showcase-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}
.skills-careers-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}
.testimonials-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
#faq {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 350px;
}

/* 2. Promote layered components to GPU compositor */
.student-dashboard-wrapper,
.floating-widget-wrapper,
.floating-tag-wrapper,
.db-menu-underline,
.nav-menu {
  will-change: transform, opacity;
}

/* ==========================================
   MOBILE & TABLET GENERAL LAYOUT FIXES
   ========================================== */
@media (max-width: 768px) {
  /* Prevent horizontal overflow from absolute decorations */
  .hero-visual-wrapper {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Stacking the Skills and Careers Grid */
  .skills-careers-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .skills-careers-left {
    text-align: center !important;
    align-items: center !important;
  }
  .skills-list {
    text-align: left !important;
  }
  
  /* Stacking the Performance Matrix charts dashboard */
  .analytics-dashboard {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }
  .analytics-charts-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    justify-items: center !important;
    text-align: center !important;
  }
  .radial-ring-wrap {
    margin: 0 auto !important;
  }
  .bar-chart-bars {
    justify-content: center !important;
    gap: 16px !important;
  }
  
  /* Stacking the Student Project Showcase Grid */
  .project-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .project-showcase-card {
    height: 320px !important;
  }
  
  /* General section paddings */
  .section-padding {
    padding: 60px 0 !important;
  }
}

@media (max-width: 480px) {
  /* Stacking the Campus Life gallery grid to a single column */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 220px !important;
  }
  .gallery-item.wide, 
  .gallery-item.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  /* Stats grid alignment */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  /* Compact metrics inside matrix dashboard */
  .analytics-metrics-row {
    gap: 10px !important;
  }
  .analytics-metric-num {
    font-size: 1rem !important;
  }
  .analytics-metric-label {
    font-size: 0.6rem !important;
  }
  .radial-ring-wrap {
    transform: scale(0.9) !important;
  }
  
  /* Compact headers and buttons */
  .hero-academy-badge {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-block !important;
  }
  .hero-cta-buttons {
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;
  }
  .hero-cta-buttons .btn,
  .hero-cta-buttons a {
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
  }
  .hero-feature-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
}

/* Make scroll reveal elements always visible in Elementor Editor and Elementor Preview modes */
.elementor-editor-active .reveal,
.elementor-editor-active .reveal-left,
.elementor-editor-active .reveal-right,
.elementor-preview-active .reveal,
.elementor-preview-active .reveal-left,
.elementor-preview-active .reveal-right {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Contact page premium card styles */
.contact-card {
  border-top: 4px solid var(--accent-orange) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  background: #FFFFFF !important;
  border-radius: var(--radius-lg) !important;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal) !important;
}

.contact-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.08) !important;
  border-color: var(--accent-orange) !important;
}

/* Contact page premium labels, values, and text classes */
.contact-label {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: block;
}

.contact-link {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  text-decoration: none !important;
  border-bottom: 2px solid #E2E8F0 !important;
  padding-bottom: 2px !important;
  transition: all var(--transition-fast) !important;
  display: inline-block;
}

.contact-link:hover {
  color: var(--accent-orange) !important;
  border-bottom-color: var(--accent-orange) !important;
}

.contact-address {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #4A5568 !important;
  font-weight: 500 !important;
}

.hours-day {
  font-weight: 600 !important;
  color: #000000 !important;
}

.hours-time {
  color: #4A5568 !important;
  font-weight: 500 !important;
}

.hours-time.closed {
  color: #718096 !important;
  font-weight: 700 !important;
}

.form-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 8px !important;
}

.form-desc {
  font-size: 0.9rem !important;
  color: #4A5568 !important;
  font-weight: 500 !important;
  margin-bottom: 24px !important;
}

/* Course Detail Page Grid Layouts & Responsiveness */
.course-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.course-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.course-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.course-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.course-cert-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* Contact page grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 992px) {
  .course-tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .course-hero-grid,
  .course-overview-grid,
  .course-projects-grid,
  .course-cert-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  /* Course detail hero right image height constraint on mobile */
  .course-hero-grid .reveal-right {
    height: 220px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .course-tools-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Blog Listing Page Styles */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card-p {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.blog-card-p:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 107, 0, 0.2);
}

.blog-img-wrap {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card-p:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-cat-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-orange);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-meta-p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-title-p {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.blog-desc-p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

.blog-link-p {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  text-decoration: none;
}

.blog-link-p:hover {
  gap: 8px;
}

.filter-tab {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  border-radius: 50px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.filter-tab.active, .filter-tab:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
}

@media (max-width: 1024px) {
  .blog-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Reviews Page Styles */
.filter-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: all 0.4s ease;
}

.review-card-g {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}
.review-card-g:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 107, 0, 0.2);
}

.review-g-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-g-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-g-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.review-g-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.review-g-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.google-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4285F4; /* Google Blue */
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-rating-stars {
  color: #FBBF24;
  font-size: 0.85rem;
}
.review-text-g {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}
.review-category-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page premium labels, values, and text classes */
.contact-label {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: block;
}

.contact-link {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  text-decoration: none !important;
  border-bottom: 2px solid #E2E8F0 !important;
  padding-bottom: 2px !important;
  transition: all var(--transition-fast) !important;
  display: inline-block;
}

.contact-link:hover {
  color: var(--accent-orange) !important;
  border-bottom-color: var(--accent-orange) !important;
}

.contact-address {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #4A5568 !important;
  font-weight: 500 !important;
}

.hours-day {
  font-weight: 600 !important;
  color: #000000 !important;
}

.hours-time {
  color: #4A5568 !important;
  font-weight: 500 !important;
}

.hours-time.closed {
  color: #718096 !important;
  font-weight: 700 !important;
}

.form-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 8px !important;
}

.form-desc {
  font-size: 0.9rem !important;
  color: #4A5568 !important;
  font-weight: 500 !important;
  margin-bottom: 24px !important;
}

/* Course page hero buttons and mobile image gap */
.course-hero-grid .btn {
  padding: 10px 20px !important;
  font-size: 0.9rem !important;
  height: auto !important;
  line-height: 1.2 !important;
}

@media (max-width: 768px) {
  .course-hero-grid {
    gap: 7px !important;
  }
}




