/*
Theme Name:   HansenTech Academy
Theme URI:    https://hansentech.com
Description:  HansenTech Digital Academy — Child Theme built for Elementor + Tutor LMS + WooCommerce. Professional IT training platform with full SEO optimization.
Author:       HansenTech / Hassane
Author URI:   https://hansentech.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  hansentech
Tags:         e-learning, tutor-lms, woocommerce, elementor, education, it-training
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — HansenTech Design System
   ============================================================ */
:root {
  /* Brand Colors */
  --ht-blue:        #1a6fc4;
  --ht-blue-dark:   #0d4f96;
  --ht-blue-light:  #e8f1fb;
  --ht-navy:        #0d1b3e;
  --ht-navy-mid:    #1a3a6e;
  --ht-gold:        #e8a020;
  --ht-gold-light:  #fdf3e3;
  --ht-dark:        #2c2c2a;
  --ht-gray:        #6b6b68;
  --ht-gray-light:  #f5f5f3;
  --ht-white:       #ffffff;
  --ht-success:     #2e7d32;
  --ht-success-bg:  #e8f5e9;

  /* Typography */
  --ht-font-heading: 'Sora', 'Segoe UI', sans-serif;
  --ht-font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ht-font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --ht-radius:    8px;
  --ht-radius-lg: 12px;
  --ht-radius-xl: 18px;
  --ht-shadow:    0 2px 12px rgba(0,0,0,.08);
  --ht-shadow-lg: 0 8px 32px rgba(13,27,62,.14);

  /* Transitions */
  --ht-transition: all 0.22s ease;
}

/* ============================================================
   GLOBAL RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ht-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ht-dark);
  background-color: var(--ht-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ht-font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ht-navy);
}

a {
  color: var(--ht-blue);
  text-decoration: none;
  transition: var(--ht-transition);
}

a:hover { color: var(--ht-blue-dark); }

img { max-width: 100%; height: auto; display: block; }

p { margin-bottom: 1rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.ht-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ht-section {
  padding: 72px 0;
}

.ht-section--sm {
  padding: 40px 0;
}

.ht-section--gray {
  background-color: var(--ht-gray-light);
}

.ht-section--navy {
  background: linear-gradient(135deg, var(--ht-navy) 0%, var(--ht-navy-mid) 100%);
  color: var(--ht-white);
}

/* ============================================================
   HEADER & NAVIGATION
   Works with Hello Elementor AND classic header.php
   ============================================================ */

/* Sticky bar */
.site-header,
#ht-site-header {
  position: sticky;
  top: 0;
  z-index: 9999 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,.09);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  width: 100%;
}

/* Inner flex row */
.site-header .header-inner,
#ht-site-header .header-inner,
.ht-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 68px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.site-logo,
.ht-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img,
.ht-logo img,
.custom-logo {
  height: 40px !important;
  width: auto !important;
  display: block;
}

/* Nav container */
.site-nav,
.ht-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Nav UL — reset ALL WordPress default list styles */
.site-nav ul,
.ht-nav ul,
.ht-nav > ul {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 32px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Nav LI */
.site-nav ul li,
.ht-nav ul li {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: relative;
}

/* Nav links */
.site-nav ul li a,
.ht-nav ul li a {
  font-family: var(--ht-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ht-dark) !important;
  text-decoration: none !important;
  padding: 6px 0 !important;
  display: block;
  border-bottom: 2px solid transparent;
  transition: var(--ht-transition);
  background: none !important;
  line-height: 1.4 !important;
  white-space: nowrap;
}

.site-nav ul li a:hover,
.ht-nav ul li a:hover,
.site-nav .current-menu-item > a,
.ht-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--ht-blue) !important;
  border-bottom-color: var(--ht-blue);
}

/* Hide sub-menus */
.site-nav ul ul,
.ht-nav ul ul {
  display: none !important;
}

/* Hello Elementor: disable its own header location */
.elementor-location-header {
  display: none;
}

/* Header CTA area */
.header-cta,
.ht-header-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile hamburger */
.nav-toggle,
.ht-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ht-dark);
}

@media (max-width: 900px) {
  .nav-toggle,
  .ht-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav,
  .ht-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 16px 24px;
    z-index: 9998;
  }

  .site-nav.is-open,
  .ht-nav.is-open {
    display: block !important;
  }

  .site-nav ul,
  .ht-nav ul {
    flex-direction: column !important;
    gap: 4px !important;
  }

  .site-nav ul li a,
  .ht-nav ul li a {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
    font-size: 15px !important;
  }

  .site-header .header-inner,
  .ht-header-inner {
    position: relative;
  }

  .header-cta .ht-btn--outline {
    display: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ht-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--ht-radius);
  font-family: var(--ht-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ht-transition);
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.ht-btn--primary {
  background: var(--ht-blue);
  color: var(--ht-white);
  border-color: var(--ht-blue);
}
.ht-btn--primary:hover {
  background: var(--ht-blue-dark);
  border-color: var(--ht-blue-dark);
  color: var(--ht-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,111,196,.35);
}

.ht-btn--gold {
  background: var(--ht-gold);
  color: var(--ht-white);
  border-color: var(--ht-gold);
}
.ht-btn--gold:hover {
  background: #c8880e;
  color: var(--ht-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,160,32,.4);
}

.ht-btn--outline {
  background: transparent;
  color: var(--ht-blue);
  border-color: var(--ht-blue);
}
.ht-btn--outline:hover {
  background: var(--ht-blue);
  color: var(--ht-white);
}

.ht-btn--white {
  background: var(--ht-white);
  color: var(--ht-blue);
  border-color: var(--ht-white);
}
.ht-btn--white:hover {
  background: transparent;
  color: var(--ht-white);
  border-color: var(--ht-white);
}

.ht-btn--lg {
  padding: 14px 30px;
  font-size: 15px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--ht-navy) 0%, var(--ht-navy-mid) 70%, #1a4a8e 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

/* Animated circuit pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,111,196,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,160,32,.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid dot overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,160,32,.15);
  color: var(--ht-gold);
  border: 1px solid rgba(232,160,32,.3);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--ht-font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ht-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title span { color: var(--ht-gold); }

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stat-number {
  font-family: var(--ht-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--ht-white);
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* Hero Video Panel */
.hero-video-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--ht-radius-xl);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.hero-video-thumb {
  position: relative;
  background: rgba(0,0,0,.4);
  border-radius: var(--ht-radius-lg);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  cursor: pointer;
  overflow: hidden;
}

.hero-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  background: var(--ht-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ht-transition);
  box-shadow: 0 0 0 8px rgba(26,111,196,.25);
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--ht-blue-dark);
}

.play-btn svg { margin-left: 3px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: #f0f5fc;
  border-top: 1px solid rgba(26,111,196,.1);
  border-bottom: 1px solid rgba(26,111,196,.1);
  padding: 12px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ht-dark);
}

.trust-item .trust-icon {
  color: var(--ht-success);
  font-size: 14px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ht-blue);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ht-navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--ht-gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   COURSE CARDS (Tutor LMS override)
   ============================================================ */
.tutor-course-loop,
.ht-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.tutor-course-loop-header,
.ht-course-card {
  background: var(--ht-white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--ht-radius-xl);
  overflow: hidden;
  transition: var(--ht-transition);
  display: flex;
  flex-direction: column;
}

.ht-course-card:hover,
.tutor-course-loop-header:hover {
  transform: translateY(-4px);
  box-shadow: var(--ht-shadow-lg);
  border-color: rgba(26,111,196,.2);
}

.ht-course-thumbnail {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ht-course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ht-course-card:hover .ht-course-thumbnail img {
  transform: scale(1.05);
}

.ht-course-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ht-gold);
  color: var(--ht-white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .05em;
}

.ht-course-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ht-course-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ht-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--ht-blue-light);
  color: var(--ht-blue);
}

.ht-course-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ht-navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.ht-course-desc {
  font-size: 13px;
  color: var(--ht-gray);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.ht-course-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ht-gray);
  margin-bottom: 14px;
}

.ht-course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ht-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.ht-price {
  font-family: var(--ht-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--ht-blue);
}

.ht-price-original {
  font-size: 13px;
  color: var(--ht-gray);
  text-decoration: line-through;
  margin-left: 6px;
}

/* Tutor LMS Override Styles */
.tutor-course-loop .tutor-course-loop-header { border-radius: var(--ht-radius-xl) !important; }
.tutor-btn-primary,
.tutor-course-loop .tutor-btn { background: var(--ht-blue) !important; border-color: var(--ht-blue) !important; border-radius: var(--ht-radius) !important; font-family: var(--ht-font-body) !important; }
.tutor-btn-primary:hover,
.tutor-course-loop .tutor-btn:hover { background: var(--ht-blue-dark) !important; }
.tutor-course-loop .tutor-rating .tutor-rating-star { color: var(--ht-gold) !important; }

/* ============================================================
   VALUE PROPS / FEATURES
   ============================================================ */
.ht-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ht-feature-card {
  background: var(--ht-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--ht-radius-xl);
  padding: 28px 24px;
  transition: var(--ht-transition);
}

.ht-feature-card:hover {
  box-shadow: var(--ht-shadow-lg);
  border-color: rgba(26,111,196,.15);
}

.ht-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--ht-blue-light);
  border-radius: var(--ht-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ht-blue);
}

.ht-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ht-navy);
  margin-bottom: 8px;
}

.ht-feature-text {
  font-size: 14px;
  color: var(--ht-gray);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.ht-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ht-testimonial-card {
  background: var(--ht-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--ht-radius-xl);
  padding: 24px;
  position: relative;
}

.ht-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 64px;
  font-family: Georgia, serif;
  color: var(--ht-blue-light);
  line-height: 1;
}

.ht-stars {
  color: var(--ht-gold);
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.ht-testimonial-text {
  font-size: 14px;
  color: var(--ht-dark);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
}

.ht-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ht-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ht-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-blue);
  flex-shrink: 0;
}

.ht-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ht-navy);
}

.ht-author-role {
  font-size: 12px;
  color: var(--ht-gray);
}

/* ============================================================
   INSTRUCTOR / ABOUT
   ============================================================ */
.ht-instructor-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.ht-instructor-photo {
  border-radius: var(--ht-radius-xl);
  overflow: hidden;
  box-shadow: var(--ht-shadow-lg);
}

.ht-instructor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ht-stat-box {
  background: var(--ht-blue-light);
  border-radius: var(--ht-radius-lg);
  padding: 16px;
  text-align: center;
}

.ht-stat-number {
  font-family: var(--ht-font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ht-blue);
}

.ht-stat-label {
  font-size: 12px;
  color: var(--ht-gray);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.ht-cta-banner {
  background: linear-gradient(135deg, var(--ht-navy) 0%, var(--ht-navy-mid) 60%, #1e4a90 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ht-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ht-cta-eyebrow {
  display: inline-block;
  background: rgba(232,160,32,.18);
  color: var(--ht-gold);
  border: 1px solid rgba(232,160,32,.3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.ht-cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--ht-white);
  margin-bottom: 12px;
}

.ht-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}

.ht-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ht-cta-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   BLOG / POSTS
   ============================================================ */
.ht-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ht-post-card {
  background: var(--ht-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--ht-radius-xl);
  overflow: hidden;
  transition: var(--ht-transition);
}

.ht-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ht-shadow-lg);
}

.ht-post-thumb { height: 180px; overflow: hidden; }
.ht-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ht-post-card:hover .ht-post-thumb img { transform: scale(1.04); }

.ht-post-body { padding: 18px 20px; }

.ht-post-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ht-blue);
  margin-bottom: 8px;
}

.ht-post-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ht-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.ht-post-excerpt {
  font-size: 13px;
  color: var(--ht-gray);
  line-height: 1.6;
  margin-bottom: 14px;
}

.ht-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--ht-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ht-navy);
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--ht-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--ht-transition);
}

.footer-social a:hover {
  background: var(--ht-blue);
  border-color: var(--ht-blue);
  color: var(--ht-white);
}

.footer-heading {
  font-family: var(--ht-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--ht-white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--ht-blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 12px; margin: 0; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--ht-blue) !important;
  color: var(--ht-white) !important;
  border-radius: var(--ht-radius) !important;
  font-family: var(--ht-font-body) !important;
  font-weight: 600 !important;
  border: none !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--ht-blue-dark) !important;
}

.woocommerce-message {
  border-top-color: var(--ht-blue) !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ht-blue) !important;
  color: var(--ht-white) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-video-panel { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ht-features-grid { grid-template-columns: 1fr 1fr; }
  .ht-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .ht-instructor-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .ht-section { padding: 48px 0; }
  .ht-course-grid,
  .tutor-course-loop { grid-template-columns: 1fr; }
  .ht-features-grid { grid-template-columns: 1fr; }
  .ht-testimonials-grid { grid-template-columns: 1fr; }
  .ht-blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-bar-inner { gap: 14px; justify-content: flex-start; overflow-x: auto; padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .ht-instructor-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .ht-container { padding: 0 16px; }
  .hero-title { font-size: 24px; }
  .section-title { font-size: 20px; }
  .ht-instructor-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ht-animate {
  animation: fadeInUp 0.5s ease forwards;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .ht-cta-banner { display: none; }
}
