/* ===================================================================
   Home Page Specific Styles
   Custom styles for the homepage layout and components
   =================================================================== */

/* ===== COURSE CARD STYLES ===== */
.course-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
  height: 100%;
}


.course-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--bg-light);
}

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

/* Course Type Placeholders */
.course-placeholder[data-course-type="1"] {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.course-placeholder[data-course-type="2"] {
  background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

.course-placeholder[data-course-type="3"] {
  background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
}

.course-placeholder[data-course-type="4"] {
  background: linear-gradient(135deg, #F59E0B 0%, #EAB308 100%);
}

.course-placeholder[data-course-type="5"] {
  background: linear-gradient(135deg, #EF4444 0%, #F97316 100%);
}

.course-placeholder[data-course-type="6"] {
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

.course-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(255, 122, 89, 0.15);
  backdrop-filter: blur(10px);
  color: var(--primary-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border: 1px solid rgba(255, 122, 89, 0.25);
  box-shadow: var(--shadow-sm);
}

.course-badge.free {
  background: rgba(40, 167, 69, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.course-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
  background: #ffffff;
}

.course-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-color);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.course-description {
  color: var(--text-subtitle);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: white;
  padding: var(--section-padding) 0;
  margin: var(--section-spacing) 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.contact-form-container {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.contact-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.simple-contact-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: var(--space-xl);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-lg);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-normal);
  background: var(--bg-white);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.1);
  background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: var(--line-height-relaxed);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-lg) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-3xl);
  appearance: none;
}

.error-message {
  color: var(--error-color);
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
  display: block;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  text-transform: none;
  letter-spacing: 0;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Alert Messages */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  border: 1px solid transparent;
  font-size: var(--font-size-base);
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #059669;
}

.alert-error,
.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #d97706;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #2563eb;
}

/* reCAPTCHA Styling */
.form-group .g-recaptcha {
  margin: var(--space-md) 0;
  display: flex;
  justify-content: center;
}

/* ===== RESPONSIVE CONTACT STYLES ===== */
@media (max-width: 768px) {
  .contact-section {
    padding: var(--space-3xl) 0;
    margin: var(--space-2xl) 0;
  }
  
  .contact-form-container {
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
  }
  
  .contact-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  .contact-description {
    font-size: var(--font-size-base);
  }
  
  .form-group {
    margin-bottom: var(--space-lg);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--space-md);
    font-size: var(--font-size-base);
  }
  
  .submit-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: var(--space-xl);
    margin: 0 var(--space-sm);
  }
  
  .contact-header {
    margin-bottom: var(--space-xl);
  }
  
  .contact-header h2 {
    font-size: var(--font-size-xl);
  }
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.course-price {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
}

.course-price.free {
  color: var(--success-color);
}

/* ===== FEATURED COURSE SECTION ===== */
.featured-course-section {
  background: linear-gradient(135deg, var(--bg-color) 0%, #ffffff 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.featured-course-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 122, 89, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 143, 115, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.featured-course-card {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.featured-course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3xl);
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.9);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--bg-light);
  padding: var(--space-3xl) 0;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
}

.testimonial-info h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-color);
  margin: 0;
}

.testimonial-info small {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="white" opacity="0.05"/><circle cx="40" cy="80" r="2" fill="white" opacity="0.08"/></svg>');
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.cta-description {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .course-content {
    padding: var(--space-lg);
  }
  
  .course-title {
    font-size: var(--font-size-lg);
  }
  
  .featured-course-section {
    padding: var(--space-2xl) 0;
  }
  
  .stats-section {
    padding: var(--space-2xl) 0;
  }
  
  .stat-number {
    font-size: var(--font-size-3xl);
  }
  
  .stat-label {
    font-size: var(--font-size-base);
  }
  
  .testimonials-section {
    padding: var(--space-2xl) 0;
  }
  
  .testimonial-card {
    padding: var(--space-lg);
  }
  
  .testimonial-quote {
    font-size: var(--font-size-base);
  }
  
  .cta-section {
    padding: var(--space-2xl) 0;
  }
  
  .cta-title {
    font-size: var(--font-size-3xl);
  }
  
  .cta-description {
    font-size: var(--font-size-lg);
  }
}

/* ===== COURSE BUTTON ===== */
.course-button {
  background: #ff7a59;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 122, 89, 0.3);
  margin-top: var(--space-lg);
  width: auto;
  min-width: 120px;
}

.course-button:hover {
  background: #ff8f73;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 89, 0.4);
  text-decoration: none;
}

.course-button.enrolled {
  background: #28a745;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  cursor: default;
}

.course-button.enrolled:hover {
  background: #28a745;
  transform: none;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.course-button.pending {
  background: #ffc107;
  color: #212529;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  cursor: default;
}

.course-button.pending:hover {
  background: #ffc107;
  color: #212529;
  transform: none;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background: var(--bg-color);
  border-radius: var(--radius-xl);
  margin: var(--space-2xl) 0;
}

.empty-state h3 {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.empty-state p {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
}

/* ===== HERO BADGE ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 122, 89, 0.1);
  color: var(--primary-color);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(255, 122, 89, 0.2);
}

.hero-badge i {
  font-size: var(--font-size-lg);
}

/* ===== HERO BUTTONS ===== */
.btn-primary-hero, 
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 8px 25px rgba(255, 122, 89, 0.3);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 122, 89, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary-hero {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-secondary-hero:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 89, 0.3);
  text-decoration: none;
}

/* ===== HERO FEATURES ===== */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

/* ===== MOBILE HERO BUTTON STYLING ===== */
@media (max-width: 768px) {
  .btn-primary-hero, 
  .btn-secondary-hero {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }
  
  .hero-cta {
    max-width: 400px;
    margin: 0 auto var(--space-2xl) auto;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.feature-item i {
  color: var(--success-color);
  font-size: var(--font-size-lg);
}

/* ===== LESSON COUNT ===== */
.lesson-count {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
}

.lesson-count i {
  margin-right: var(--space-xs);
  color: var(--primary-color);
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
  background: var(--bg-color);
}

.article-card {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

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

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

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

.article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  color: white;
}

.article-placeholder[data-category="1"] {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* ===== SEO CONSULT SECTION ===== */
.seo-consult-container {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.seo-consult-btn {
  background: var(--primary-color);
  color: white;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  transition: all var(--transition-normal);
  border: none;
  letter-spacing: 0.5px;
  display: inline-block;
  white-space: nowrap;
}

.seo-consult-btn:hover {
  background: #e5654a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 122, 89, 0.25);
  text-decoration: none;
  color: white;
}

.online-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.online-dot {
  width: 8px;
  height: 8px;
  background: var(--success-color);
  border-radius: var(--radius-full);
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== HOME CHART CONTAINER ===== */
.home-chart-container-full {
  height: 320px;
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(135deg, var(--bg-color) 0%, #ffffff 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1.5" fill="%23ff7a59" opacity="0.08"/><circle cx="10" cy="40" r="0.8" fill="%23ff8f73" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
  pointer-events: none;
}

.contact-form-container {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contact-header h2 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin: 0 0 var(--space-md) 0;
  line-height: var(--line-height-tight);
}

.contact-description {
  color: var(--text-secondary);
  font-size: var(--font-size-xl);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

.simple-contact-form .form-group {
  margin-bottom: var(--space-lg);
}

.simple-contact-form .form-control {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-normal);
  background: white;
  box-sizing: border-box;
}

.simple-contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: none;
}

.simple-contact-form .form-control::placeholder {
  color: var(--text-secondary);
}

.simple-contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.simple-contact-form select.form-control {
  cursor: pointer;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  width: 100%;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 89, 0.3);
}

.error-message {
  color: var(--danger-color);
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
}

.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  border: none;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

/* ===== TEAM CAROUSEL ===== */
.team-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -var(--space-md);
}

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

.team-card-wrapper {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  padding: 0 var(--space-md);
}

.team-carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.team-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 0;
}

.team-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.team-dot:hover {
  background: var(--secondary-color);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .courses-carousel-item {
    width: calc(50% - var(--space-lg));
    min-width: 250px;
  }
  
  .articles-carousel-item {
    width: calc(50% - var(--space-lg));
    min-width: 240px;
  }
  
  .founder-info {
    text-align: center;
    margin-top: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .courses-section {
    padding: var(--space-3xl) 0;
    margin: var(--space-2xl) 0;
  }
  
  .courses-section .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .courses-carousel-item,
  .articles-carousel-item {
    width: 100%;
    min-width: auto;
  }
  
  .team-section {
    padding: var(--space-2xl) 0;
  }
  
  .team-section .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .founder-img {
    width: 180px;
    height: 180px;
    border-width: 4px;
  }
  
  .founder-img-wrapper::before {
    width: 210px;
    height: 210px;
    top: -10px;
  }
  
  .team-section {
    padding: var(--space-3xl) 0;
    margin: var(--space-2xl) 0;
  }
  
  .founder-description {
    padding: var(--space-lg);
    font-size: var(--font-size-base);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--space-xl);
    width: 100%;
    max-width: 100%;
  }
  
  .founder-name {
    font-size: var(--font-size-2xl);
  }
  
  .articles-section {
    padding: var(--space-3xl) 0;
    margin: var(--space-2xl) 0;
  }
  
  .articles-section .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .seo-consult-container {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .seo-consult-btn {
    display: inline-block;
    min-width: auto;
    width: auto;
  }
  
  .online-status {
    justify-content: center;
  }
  
  .home-chart-container-full {
    height: 280px;
    padding: var(--space-sm);
    margin: var(--space-md) 0;
  }
  
  .contact-section {
    padding: var(--space-3xl) 0;
  }
  
  .contact-form-container {
    padding: var(--space-xl) var(--space-lg);
    margin: 0 var(--space-md);
  }
  
  .contact-header h2 {
    font-size: var(--font-size-3xl);
  }
  
  .contact-description {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 576px) {
  .team-card-wrapper {
    flex: 0 0 100%;
  }
}

@media (max-width: 992px) {
  .team-card-wrapper {
    flex: 0 0 calc(100% / 2);
  }
}

/* ===== SEO SECTION ===== */
.seo-section {
  background: var(--bg-light);
  padding: var(--section-padding) 0;
  margin: var(--section-spacing) 0;
}

.seo-section .section-title {
  font-family: var(--font-primary);
}

.seo-section .section-title .highlight {
  color: var(--primary-color);
}

.seo-section .section-subtitle {
  margin-bottom: var(--space-xl);
}

.chart-title-ads {
  color: var(--danger-color);
  margin-bottom: var(--space-xl);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-xl);
}

.chart-title-seo {
  color: var(--success-color);
  margin-bottom: var(--space-xl);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-xl);
}

.chart-description {
  font-size: var(--font-size-base);
  margin-top: var(--space-md);
}

/* ===== COURSE PLACEHOLDER CONTENT ===== */
.course-placeholder-icon {
  font-size: 3rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.course-placeholder-title {
  color: white;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

/* ===== EMPTY STATE ICONS ===== */
.empty-state-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

/* ===== COURSES SECTION ===== */
.courses-section {
  background: #f8fafc;
  padding: 5rem 0;
  margin: var(--section-spacing) 0;
}

.courses-section .section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin-bottom: var(--space-lg);
  text-align: center;
  font-family: var(--font-primary);
}

.courses-section .section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-subtitle);
  font-weight: var(--font-weight-normal);
  text-align: center;
  margin-bottom: var(--space-3xl);
  line-height: var(--line-height-relaxed);
}

.courses-carousel-wrapper {
  position: relative;
  margin: 0 -var(--space-md);
  padding: var(--space-lg) 0;
}

.courses-carousel-container {
  overflow: hidden;
  padding: 0 var(--space-md);
}

.courses-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: var(--space-lg);
}

.courses-carousel-item {
  flex: 0 0 auto;
  width: calc(33.333% - var(--space-lg));
  min-width: 300px;
}

.courses-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.courses-carousel-arrow:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  transform: translateY(-50%);
  box-shadow: var(--shadow-sm);
}

.courses-carousel-prev {
  left: var(--space-md);
}

.courses-carousel-next {
  right: var(--space-md);
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: white;
  padding: var(--section-padding) 0;
  margin: var(--section-spacing) 0;
  position: relative;
}

.team-section .section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin-bottom: var(--space-lg);
  text-align: center;
  font-family: var(--font-primary);
}

.team-section .section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  font-weight: var(--font-weight-normal);
  text-align: center;
  margin-bottom: var(--space-2xl);
  line-height: var(--line-height-relaxed);
}

.founder-img-wrapper {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.founder-img-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 270px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.08;
  z-index: 0;
}

.founder-img {
  width: 240px;
  height: 240px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 6px solid var(--primary-color);
  box-shadow: 0 10px 40px rgba(255, 122, 89, 0.25), 0 4px 20px rgba(255, 122, 89, 0.15);
  transition: all var(--transition-normal);
  background: white;
  padding: 4px;
  position: relative;
  z-index: 1;
}

.founder-img:hover {
  transform: scale(1.08);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 60px rgba(255, 122, 89, 0.35), 0 8px 30px rgba(255, 122, 89, 0.25);
}

.founder-info {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.founder-name {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin-bottom: var(--space-sm);
  position: relative;
}

.founder-name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-sm);
}

.founder-website {
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.founder-website:hover {
  color: var(--secondary-color);
}

.founder-position {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.founder-description {
  font-size: var(--font-size-lg);
  color: var(--text-subtitle);
  line-height: var(--line-height-relaxed);
  text-align: left;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  margin-top: var(--space-2xl);
  margin-left: var(--space-xl);
}

.founder-description::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: var(--space-lg);
  font-size: 24px;
  color: var(--text-muted);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
  background: var(--bg-warm);
  padding: var(--section-padding) 0;
  margin: var(--section-spacing) 0;
}

.articles-section .section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin-bottom: var(--space-lg);
  text-align: center;
  font-family: var(--font-primary);
}

.articles-section .section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-subtitle);
  font-weight: var(--font-weight-normal);
  text-align: center;
  margin-bottom: var(--space-3xl);
  line-height: var(--line-height-relaxed);
}

.articles-carousel-wrapper {
  position: relative;
  margin: 0 -var(--space-md);
  padding: var(--space-lg) 0;
}

.articles-carousel-container {
  overflow: hidden;
  padding: 0 var(--space-md);
}

.articles-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: var(--space-lg);
}

.articles-carousel-item {
  flex: 0 0 auto;
  width: calc(33.333% - var(--space-lg));
  min-width: 280px;
}

.articles-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.articles-carousel-arrow:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  transform: translateY(-50%);
  box-shadow: var(--shadow-sm);
}

.articles-carousel-prev {
  left: var(--space-md);
}

.articles-carousel-next {
  right: var(--space-md);
}

.articles-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.articles-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.articles-indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.articles-indicator:hover {
  background: var(--secondary-color);
}