@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* 
 * Learnpro Company Limited - Main Stylesheet
 * Color Scheme: Red (#DC2626), White (#FFFFFF), Blue (#1E40AF)
 */

/* Custom Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
}

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

/* Selection Color */
::selection {
  background-color: #dc2626;
  color: white;
}

::-moz-selection {
  background-color: #dc2626;
  color: white;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

/* Utility Classes */
.container {
  max-width: 1200px;
}

/* Header Sticky Effect */
header {
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Course Card Styles */
.course-card {
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Radio Button Styling */
input[type="radio"]:checked {
  accent-color: #dc2626;
}

/* Table Styles */
table {
  border-collapse: collapse;
}

table thead {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

table tbody tr:hover {
  background-color: #f9fafb;
}

/* Mobile Menu Styles */
#mobile-menu {
  transition: all 0.3s ease;
}

#mobile-menu.show {
  display: block;
}

/* Chat Widget */
#chat-widget {
  z-index: 9999;
}

#chat-box {
  transition: all 0.3s ease;
}

#chat-box.show {
  display: block;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #dc2626;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  animation: fade-in 0.5s ease-out;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.badge-primary {
  background-color: #fee2e2;
  color: #dc2626;
}

.badge-secondary {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-success {
  background-color: #d1fae5;
  color: #059669;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Print Styles */
@media print {
  header,
  footer,
  #chat-widget,
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles if needed */
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #dc2626;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Responsive Utilities */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
}

@media (min-width: 768px) {
  .desktop-hide {
    display: none;
  }
}

/* Typography */
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* Link Styles */
a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* List Styles */
ul,
ol {
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}

/* Section Spacing */
section {
  position: relative;
}

/* Hero Section Specific */
.hero-pattern {
  background-image:
    linear-gradient(
      135deg,
      rgba(30, 64, 175, 0.9) 0%,
      rgba(220, 38, 38, 0.9) 100%
    ),
    url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Testimonial Styles */
blockquote {
  border-left: 4px solid #dc2626;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4b5563;
}

/* Alert/Notice Boxes */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.alert-info {
  background-color: #dbeafe;
  border-left: 4px solid #1e40af;
  color: #1e40af;
}

.alert-success {
  background-color: #d1fae5;
  border-left: 4px solid #059669;
  color: #059669;
}

.alert-warning {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  color: #d97706;
}

.alert-error {
  background-color: #fee2e2;
  border-left: 4px solid #dc2626;
  color: #dc2626;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
  transition: width 0.3s ease;
}

/* Logo Grayscale Effect */
img.logo-partner {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

img.logo-partner:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Custom Shadows */
.shadow-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-custom-hover:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #dc2626 50%,
    transparent 100%
  );
  margin: 2rem 0;
}

/* Stats Counter Animation */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Overlay Effects */
.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay:hover::before {
  opacity: 1;
}

/* Tabs */
.tabs {
  border-bottom: 2px solid #e5e7eb;
}

.tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab:hover {
  color: #dc2626;
}

.tab.active {
  color: #dc2626;
  border-bottom-color: #dc2626;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.modal-backdrop.show {
  display: block;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  z-index: 9999;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: none;
}

.modal.show {
  display: block;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: #1e40af;
}

.breadcrumbs a:hover {
  color: #dc2626;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: #1f2937;
  color: white;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--gray-color);
  font-weight: 600;
  margin: 0;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-content {
  padding: 1.5rem;
}

.course-content h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.course-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

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

/* Level Badges */
.level-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.level-badge {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid;
}

.level-badge.beginner {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
  border-color: var(--success);
}

.level-badge.intermediate {
  background: rgba(255, 193, 7, 0.1);
  color: var(--warning);
  border-color: var(--warning);
}

.level-badge.advanced {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon i {
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ===================================
   LEARNPRO WEBSITE - MODERN STYLESHEET
   =================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0066cc;
  --secondary-color: #004999;
  --accent-color: #00a3e0;
  --dark-color: #1a1a1a;
  --gray-color: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --transition: all 0.3s ease;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-color);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.btn-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-link:hover {
  color: var(--secondary-color);
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

/* Page Hero (for other pages) */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

/* Search & Filter Section */
.search-filter-section {
  padding: 40px 0;
  background: var(--light-gray);
}

.courses-section {
  padding: 60px 0;
}

/* Training Types */
.training-types {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.training-types span {
  background: var(--light-gray);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--dark-color);
}

.training-types i {
  color: var(--primary-color);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Introduction Section */
.intro {
  background: var(--light-gray);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--gray-color);
  font-weight: 600;
  margin: 0;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-content {
  padding: 1.5rem;
}

.course-content h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.course-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

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

/* Level Badges */
.level-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.level-badge {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid;
}

.level-badge.beginner {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
  border-color: var(--success);
}

.level-badge.intermediate {
  background: rgba(255, 193, 7, 0.1);
  color: var(--warning);
  border-color: var(--warning);
}

.level-badge.advanced {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon i {
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.testimonial-rating {
  color: var(--warning);
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.testimonial-author strong {
  display: block;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.contact-info li {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
}

.chat-button {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.chat-button:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.chat-button i {
  color: var(--white);
  font-size: 1.5rem;
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.chat-box.active {
  display: block;
}

.chat-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 1rem;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-body {
  padding: 1.5rem;
}

.chat-body p {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.4s;
}

/* Search Bar */
.search-container {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.search-bar {
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.search-bar button:hover {
  background: var(--secondary-color);
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--light-gray);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.product-specs {
  margin: 1rem 0;
}

.product-specs h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.product-specs ul {
  list-style: none;
  padding-left: 0;
}

.product-specs li {
  padding: 0.25rem 0;
  color: var(--gray-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

/* Image Carousel */
.image-carousel {
  position: relative;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-images img {
  width: 100%;
  flex-shrink: 0;
}

.carousel-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* Contact Page Styles */
.contact-section {
  padding: 60px 0;
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-box,
.contact-form-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-info-box h2,
.contact-form-box h2 {
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--white);
}

.contact-text h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.contact-text p {
  margin: 0;
  line-height: 1.6;
}

.contact-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.required {
  color: var(--danger);
}

/* Map Section */
.map-section {
  padding: 60px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}

.map-note {
  text-align: center;
  color: var(--gray-color);
  font-size: 0.95rem;
}

.map-note i {
  color: var(--primary-color);
  margin-right: 5px;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: var(--light-gray);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--light-gray);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark-color);
}

.accordion-header i {
  color: var(--primary-color);
  transition: var(--transition);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.accordion-content a {
  color: var(--primary-color);
}

/* Products Section */
.products-section {
  padding: 60px 0;
}

/* Course Card Base */
.course-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Course image consistency */
.course-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Card Base */
.product-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* Carousel container consistency */
.image-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f9fafb;
  overflow: hidden;
}

.carousel-images {
  height: 100%;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: white;
}

/* Carousel dots */
.carousel-controls {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
}

.carousel-dot.active {
  background: #ef4444;
}

/* =========================
   Responsive Design
   ========================= */
/* Tablet and Mobile Optimization */
@media (max-width: 1023px) {
  /* Adjust logo size for tablets */
  header img {
    height: 40px;
  }
  /* Mobile menu styling - TIGHTER SPACING */
  #mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* Reduced from 0.5rem */
    padding-top: 0.75rem; /* Reduced from 1rem */
    padding-bottom: 0.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
  }
  #mobile-menu.hidden {
    display: none;
  }
  /* Ensure mobile menu items are vertically stacked - TIGHTER */
  #mobile-menu a {
    display: block;
    padding: 0.5rem 1rem; /* Reduced from 0.75rem */
    border-radius: 0.5rem;
    transition: background-color 0.2s;
  }
  #mobile-menu a:hover {
    background-color: #f3f4f6;
  }

  .course-card h3 {
    font-size: 1.4rem;
  }

  .course-card .p-6 {
    padding: 1.25rem;
  }

  .course-card p {
    font-size: 0.95rem;
  }

  .course-card ul {
    font-size: 0.9rem;
  }

  .product-card h3 {
    font-size: 1.4rem;
  }

  .product-card .p-2 {
    padding: 0.75rem 1rem;
  }

  .product-content {
    padding: 0 1rem 1rem;
  }

  .product-summary {
    font-size: 0.95rem;
  }

  .product-specs ul {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Logo - Mobile Size */
  header img {
    height: 35px;
  }
  /* Mobile menu button - ensure visibility */
  #mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }
  /* EVEN TIGHTER for mobile */
  #mobile-menu {
    gap: 0.125rem; /* Very tight */
    padding-top: 0.5rem;
  }
  #mobile-menu a {
    padding: 0.4rem 0.75rem; /* Smaller padding */
    font-size: 0.95rem; /* Slightly smaller text */
  }
  /* Hero Section */
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-buttons a,
  .hero-buttons button {
    width: 100%;
  }
  /* All Grid Layouts - Single Column */
  .courses-grid,
  .products-grid,
  .contact-grid,
  .stats-grid,
  .features-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* Section Headers */
  .section-header h2 {
    font-size: 1.8rem;
  }
  /* Footer adjustments */
  .footer-grid {
    gap: 2rem;
    text-align: center;
  }
  /* Chat Widget positioning */
  .chat-widget {
    bottom: 80px;
    right: 20px;
  }
  .chat-button {
    width: 50px;
    height: 50px;
  }
  /* Back to top button */
  #back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  /* Cards and content spacing */
  .card,
  .course-card,
  .product-card {
    margin-bottom: 1rem;
  }
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .course-card {
    border-radius: 0.75rem;
  }

  /* Reduce image height visually */
  .course-image {
    aspect-ratio: 3 / 2;
  }

  .course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .course-card .p-6 {
    padding: 1rem;
  }

  /* Compress text blocks */
  .course-card p,
  .course-card li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* Reduce vertical stacking fatigue */
  .course-card .mb-4 {
    margin-bottom: 0.75rem;
  }

  /* Buttons feel tappable but not huge */
  .course-card a {
    padding: 0.65rem;
    font-size: 0.95rem;
  }

  .product-card {
    border-radius: 0.75rem;
  }

  /* Shorter carousel */
  .image-carousel {
    aspect-ratio: 3 / 2;
  }

  .product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .product-summary {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .product-specs h4 {
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .product-specs ul {
    font-size: 0.85rem;
    padding-left: 1rem;
  }

  .product-specs li {
    line-height: 1.35;
  }

  .product-card .btn {
    font-size: 0.95rem;
    padding: 0.65rem;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  /* Typography scaling */
  h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  /* Tighter container */
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  /* Section padding */
  section {
    padding: 40px 0;
  }
  /* Logo even smaller */
  header img {
    height: 30px;
  }
  /* Mobile menu full width items - TIGHT */
  #mobile-menu a {
    padding: 0.4rem 0.75rem; /* Reduced */
    font-size: 0.9rem; /* Smaller */
  }
  /* Button text sizing */
  button,
  .btn {
    font-size: 0.9rem;
    padding: 0.625rem 1rem;
  }

  .course-image {
    aspect-ratio: 4 / 3;
  }

  .course-card h3 {
    font-size: 1.15rem;
  }

  .course-card p,
  .course-card li {
    font-size: 0.85rem;
  }

  .course-card ul {
    padding-left: 0.75rem;
  }

  .image-carousel {
    aspect-ratio: 4 / 3;
  }

  .product-card h3 {
    font-size: 1.15rem;
  }

  .product-summary {
    font-size: 0.85rem;
  }

  .product-specs ul {
    font-size: 0.8rem;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
  }
}

/* Landscape orientation optimization for phones */
@media (max-width: 768px) and (orientation: landscape) {
  header {
    padding: 0.5rem 0;
  }
  header img {
    height: 30px;
  }
  section {
    padding: 30px 0;
  }
}
