/* App Styles for Merhaba.io */

/* CSS Variables */
:root {
  --primary-yellow: #FCF259;
  --primary-red: #C5172E;
  --secondary-red: #85193C;
  --dark-red: #4A102A;
  --text-light: #ffffff;
  --text-dark: #222222;
  --text-muted: #777777;
  --border-radius-lg: 20px;
  --border-radius-md: 10px;
  --border-radius-sm: 5px;
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-accent: 0 8px 30px rgba(197, 23, 46, 0.3);
  --gradient-warm: linear-gradient(135deg, #FCF259 0%, #C5172E 100%);
  --gradient-red: linear-gradient(135deg, #C5172E 0%, #4A102A 100%);
  --footer-bg: #f8f9fa;
  --footer-border: rgba(0,0,0,0.05);
  /* Authentication Variables */
  --auth-primary: var(--primary-red);
  --auth-error: #FF3B30;
  --auth-success: #34C759;
  --auth-text: var(--text-dark);
  --auth-text-light: var(--text-muted);
  --auth-bg: #FFFFFF;
  --auth-bg-secondary: #F8FAFC;
  --auth-border: #E2E8F0;
  --auth-shadow: var(--shadow-md);
  --auth-google: #DB4437;
  --auth-facebook: #4267B2;
  --auth-apple: #000000;
}

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

@keyframes fadeIn {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Common Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark-red);
  position: relative;
}

.gradient-text {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.title-separator {
  width: 80px;
  text-align: center;
  position: relative;
  margin: 1.5rem auto;
}

.title-separator span {
  display: inline-block;
  height: 4px;
  width: 100%;
  background: var(--gradient-warm);
  position: relative;
  border-radius: 4px;
}

.title-separator span::before,
.title-separator span::after {
  content: '';
  position: absolute;
  height: 4px;
  width: 4px;
  border-radius: 50%;
  top: 0;
  background: var(--primary-red);
}

.title-separator span::before {
  left: -10px;
}

.title-separator span::after {
  right: -10px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--secondary-red);
  max-width: 700px;
  margin: 0 auto;
}

.page-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 800px;
}

/* Breadcrumb Styles */
.breadcrumb-section {
  background-color: #f8f9fa;
  padding: 30px 0;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.breadcrumb-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('../images/patterns/pattern-1.svg');
  background-size: 200px;
  opacity: 0.03;
  z-index: 0;
}

.breadcrumb-wrapper {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  padding: 0;
  margin-bottom: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\f105";
  font-family: "Font Awesome 5 Pro";
  color: var(--text-muted);
  padding: 0 10px;
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--primary-red);
}

.breadcrumb-item.active {
  color: var(--dark-red);
  font-weight: 500;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-red);
  margin: 15px 0 0;
}

/* Teachers Page Styles */
.teachers-section {
  padding: 50px 0;
  background-color: #fff;
  min-height: 70vh;
}

/* Filter Styles */
.filter-container {
  background: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px;
  margin-bottom: 40px;
}

.filter-form {
  width: 100%;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.filter-group {
  position: relative;
}

.input-group-text {
  background-color: #f8f9fa;
  border-color: #eaeaea;
  color: var(--text-muted);
}

.form-control,
.form-select {
  border-color: #eaeaea;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(197, 23, 46, 0.1);
}

.filter-button-group {
  display: flex;
  align-items: stretch;
}

.btn-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-warm);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);
}

.btn-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(197, 23, 46, 0.4);
}

.btn-filter i {
  font-size: 1rem;
}

/* Teachers Grid Styles */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Teacher Card Styles */
.teacher-card {
  position: relative;
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.teacher-card-header {
  position: relative;
}

.teacher-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.teacher-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.online-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #38c172;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
}

.teacher-rating {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}

.teacher-rating i {
  color: var(--primary-yellow);
  font-size: 14px;
}

.rating-count {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 500;
  margin-left: 5px;
}

.teacher-card-body {
  padding: 20px;
  flex: 1;
}

.teacher-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-red);
  margin-bottom: 10px;
}

.teacher-specialty {
  margin-bottom: 15px;
}

.specialty-badge {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(197, 23, 46, 0.1);
  color: var(--primary-red);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.teacher-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
  height: 65px;
  overflow: hidden;
}

.teacher-card-footer {
  padding: 15px 20px 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.btn-view-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  background: var(--gradient-warm);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);
}

.btn-view-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 23, 46, 0.4);
}

.btn-view-profile i {
  transition: transform 0.3s;
}

.btn-view-profile:hover i {
  transform: translateX(3px);
}

/* No Results Styles */
.no-results {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.no-results-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-results i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 1.5rem;
  color: var(--dark-red);
  margin-bottom: 10px;
}

.no-results p {
  color: var(--text-muted);
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-item {
  margin: 0 2px;
}

.page-item form {
  display: block;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: none;
  background-color: #f8f9fa;
  color: var(--text-dark);
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: all 0.2s;
}

.page-item:not(.disabled) .page-link:hover {
  background-color: rgba(197, 23, 46, 0.1);
  color: var(--primary-red);
}

.page-item.active .page-link {
  background: var(--gradient-warm);
  color: var(--text-light);
  box-shadow: var(--shadow-accent);
}

.page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 991.98px) {
  .page-title {
    font-size: 2rem;
  }
  
  .filter-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .teachers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .breadcrumb-section {
    padding: 20px 0;
  }
}

@media (max-width: 575.98px) {
  .teachers-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-row {
    grid-template-columns: 1fr;
  }
  
  .page-link {
    min-width: 35px;
    height: 35px;
  }
}

/* FAQ Section Styles */
.faq-section {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: white;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-lg);
}

.accordion-button {
  padding: 1.25rem 1.5rem;
  background-color: white;
  color: var(--dark-red);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
}

.accordion-button i {
  font-size: 1.2rem;
  color: var(--primary-red);
  margin-right: 1rem;
  flex-shrink: 0;
}

.accordion-button span {
  flex: 1;
}

.accordion-button:not(.collapsed) {
  color: var(--dark-red);
  background-color: white;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C5172E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C5172E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(197, 23, 46, 0.25);
}

.accordion-collapse {
  border: 0;
}

.accordion-body {
  padding: 0.75rem 1.5rem 1.5rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  background-color: white;
}

.accordion-body p {
  margin: 0;
}

/* Stats Section Styles */
.stats-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  height: 100%;
  z-index: 2;
  border: 1px solid rgba(0,0,0,0.05);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-red);
}

.stat-card-featured {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-accent);
}

.stat-card-featured::after {
  background: var(--gradient-warm);
  height: 7px;
}

.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(197, 23, 46, 0.2);
}

.stat-card-featured:hover {
  transform: translateY(-15px) scale(1.03);
}

.stat-card-inner {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--gradient-red);
  color: white;
  font-size: 28px;
  box-shadow: 0 10px 20px rgba(133, 25, 60, 0.2);
  position: relative;
}

.stat-icon::after {
  content: '';
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px dashed rgba(197, 23, 46, 0.3);
  animation: spin 15s linear infinite;
}

.stat-card-featured .stat-icon {
  background: var(--gradient-warm);
  box-shadow: 0 10px 25px rgba(252, 242, 89, 0.3);
}

.counter-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark-red);
}

.counter-prefix {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-left: 5px;
}

.stat-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 0.75rem;
}

.stat-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.stat-progress {
  margin-top: auto;
}

.progress {
  height: 6px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-red);
  border-radius: 10px;
}

.stat-card-featured .progress-bar {
  background: var(--gradient-warm);
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.progress-value {
  font-weight: 700;
  color: var(--primary-red);
}

.progress-label {
  color: #888;
}

/* Lessons Section Styles */
.lessons-section {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.lessons-grid {
  position: relative;
  z-index: 1;
}

.lesson-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.lesson-image {
  position: relative;
  overflow: hidden;
  padding-top: 60%;
}

.lesson-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.lesson-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;

}


.play-button {
  width: 60px;
  height: 60px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(197, 23, 46, 0.4);
}

.lesson-card:hover .play-button {
  transform: scale(1);
}

.lesson-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.lesson-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.lesson-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.lesson-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.lesson-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.author-name {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

.lesson-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-all-lessons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--gradient-red);
  color: white;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.btn-all-lessons span {
  margin-right: 0.75rem;
}

.btn-all-lessons i {
  transition: transform 0.3s ease;
}

.btn-all-lessons:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-all-lessons:hover i {
  transform: translateX(5px);
}

/* Media Queries */
@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }
  
  .accordion-button {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }
  
  .accordion-body {
    padding: 0.75rem 1.25rem 1.25rem;
  }
  
  .counter-number {
    font-size: 2.5rem;
  }
  
  .counter-prefix {
    font-size: 1.5rem;
  }
  
  .stat-title {
    font-size: 1.1rem;
  }
  
  .stat-card-inner {
    padding: 1.5rem;
  }
  
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .stat-icon::after {
    width: 72px;
    height: 72px;
  }
  
  .lesson-title {
    font-size: 1.1rem;
  }
  
  .hero-text {
    padding: 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    text-align: center;
    align-items: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .stat-card-featured {
    transform: none;
  }
  
  .stat-card-featured:hover {
    transform: translateY(-15px) scale(1.03);
  }
  
  .lessons-container .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .lessons-container [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .lesson-body {
    padding: 1.25rem;
  }
  
  .lesson-footer {
    padding: 1rem 1.25rem;
  }
  
  .hero-content {
    min-height: 400px;
  }
  
  .hero-text {
    padding: 2rem;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .top-bar {
    display: none;
  }
  
  .site-logo {
    max-width: 150px;
  }
  
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .credits {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .footer-desc {
    font-size: 0.9rem;
  }
  
  .footer-menu a, 
  .footer-contact a {
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-top {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-nav-section {
    text-align: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact a {
    justify-content: center;
  }
  
  .footer-menu a:hover {
    transform: none;
  }
  
  .footer-menu li,
  .footer-contact li {
    display: flex;
    justify-content: center;
  }
  
  .footer-menu a {
    padding: 6px 0;
  }
  
  .footer-contact i {
    margin-right: 8px;
  }
  
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  
  .inline-form {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Header & Menu Styles */
.site-header {
  position: relative;
  z-index: 100;
}

/* Üst Bilgi Çubuğu */
.top-bar {
  background-color: #f8f9fa;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: 16px;
  font-size: 0.9rem;
}

.contact-link i {
  margin-right: 8px;
  color: var(--primary-red);
  font-size: 1.1rem;
}

.contact-link:hover {
  color: var(--primary-red);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--primary-red);
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
  background: var(--dark-red);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ana Menü */
.main-nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: block;
  max-width: 180px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--dark-red);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-warm);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-red);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: white;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.profile-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-accent);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  border: 2px solid white;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.btn-auth {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: var(--gradient-red);
  color: white;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.btn-auth span {
  margin-right: 0.5rem;
}

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
  color: white;
}

.menu-toggle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-accent);
}

/* Footer Styles */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--text-dark);
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--footer-border);
}

.footer-top {
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 1.25rem;
  max-width: 160px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
  
.footer-social a{
  text-decoration: none!important;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: #ffffff;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
  background: var(--dark-red);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-title {
  position: relative;
  color: var(--dark-red);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-warm);
}


.footer-menu,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-contact li {
  margin-bottom: 0.6rem;
}

.footer-menu a,
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

.footer-contact a {
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: var(--primary-red);
  margin-right: 0.75rem;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-contact a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 1.5rem 0;
}

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

.copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.credits {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.designer-link {
  color: var(--primary-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.designer-link:hover {
  text-decoration: underline;
}

.inline-form {
  display: inline;
}

.inline-form a {
  cursor: pointer;
  display: inline-block;
  width: 100%;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn-icon {
  font-size: 1.75rem;
}

/* Hero/Slider Styles */
.hero-section {
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 500px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  padding: 4rem;
  max-width: 650px;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-warm);
  color: var(--text-dark);
}

.btn-secondary {
  background: var(--gradient-red);
  color: white;
}

.btn-primary span, .btn-secondary span {
  margin-right: 0.75rem;
}

.btn-primary i, .btn-secondary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover i, .btn-secondary:hover i {
  transform: translateX(5px);
}

/* Menu Styles */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Top Bar */
.top-bar {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
    text-decoration: none;
}

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

.contact-link i {
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none!important;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Navigation */
.main-nav {
    padding: 15px 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: block;
    height: 50px;
}

.site-logo img {
    height: 100%;
    width: auto;
}

/* Nav Menu */
.nav-menu {
    display: flex;
}

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.menu-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: var(--border-radius-sm);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 80%;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

/* Auth Buttons */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-warm);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    box-shadow: var(--shadow-accent);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.profile-button {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-warm);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-accent);
}

.profile-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--dark-red);
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Mobile Menu */
.menu-toggle {
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--secondary-red);
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-logo {
    height: 40px;
}

.mobile-logo img {
    height: 100%;
    width: auto;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: transparent;
        transition: all 0.3s ease;
        visibility: hidden;
    }
    
    .menu-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .menu-container {
        position: absolute;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100%;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
    }
    
    .nav-menu.active .menu-backdrop {
        opacity: 1;
    }
    
    .nav-menu.active .menu-container {
        right: 0;
    }
    
    .menu-items {
        flex-direction: column;
        padding: 20px;
    }
    
    .menu-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-link:after {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-header {
        display: none;
    }
}

/* Teacher Profile Detail Styles */
.teacher-profile-detail {
  padding: 50px 0;
  background-color: #fff;
}

.teacher-profile {
  position: relative;
}

.t-profile-left {
  position: relative;
}

.teacher-contact {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.teacher-contact .homepage_lessons_box_image {
  height: 250px;
  width: 100%;
  border-radius: var(--border-radius-md);
  margin-bottom: 25px;
  box-shadow: var(--shadow-md);
}

.teacher-contact h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.teacher-contact p {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.teacher-contact p span:first-child {
  font-weight: 600;
  color: var(--text-dark);
}

.t-profile-right {
  position: relative;
}

.all-courses {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.all-courses h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-bottom: 20px;
}

.profile__courses__inner {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.profile__courses__list,
.profile__courses__right {
  flex: 1;
}

.profile__courses__list li,
.profile__courses__right li {
  padding: 8px 0;
  font-size: 0.95rem;
}

.profile__courses__list li {
  font-weight: 600;
  color: var(--text-dark);
}

.profile__courses__list li i {
  color: var(--primary-red);
  width: 20px;
  margin-right: 10px;
}

.profile__courses__right li {
  color: var(--text-muted);
}

.profile-content_mini_title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-bottom: 25px;
  position: relative;
  text-align: center;
}

.profile-content_mini_title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: 3px;
}

/* Calendar Styles */
#teacherProfileCalendar {
  background: #fff;
  border-radius: var(--border-radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

/* Appointment Form Styles */
.teacher_shedule_list {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.courses-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-bottom: 15px;
}

.teacher_shedule_list select,
.teacher_shedule_list input {
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  padding: 12px 15px;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.teacher_shedule_list select:focus,
.teacher_shedule_list input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(197, 23, 46, 0.1);
}

.customPrimaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  box-shadow: var(--shadow-accent);
  transition: all 0.3s;
}

.customPrimaryButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(197, 23, 46, 0.4);
}

.customSecondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #f0f0f0;
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all 0.3s;
}

.customSecondaryButton:hover {
  background: #e0e0e0;
}

/* Group Classes Styles */
.courses-instuctor {
  margin-top: 30px;
}

.instractor-courses-single {
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: all 0.3s;
}

.instractor-courses-single:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-accent);
}

.instractor-courses-text {
  padding: 20px;
}

.text-bottom h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-red);
  margin-bottom: 10px;
}

.text-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.instractor-parson {
  margin-top: 20px;
}

.instractor-parson-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 15px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  box-shadow: var(--shadow-accent);
  transition: all 0.3s;
  text-decoration: none;
}

.instractor-parson-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(197, 23, 46, 0.4);
  color: var(--text-dark);
}

.price {
  background: #f8f9fa;
  padding: 10px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.price ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.price ul li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.price ul li i {
  color: var(--primary-red);
  margin-right: 5px;
}

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius-md);
  border: none;
}

.modal-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 15px 20px;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-red);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 15px 20px;
}

.credit-box {
  background: #f8f9fa;
  border-radius: var(--border-radius-md);
  padding: 15px;
  text-align: center;
}

.credit-box h6 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.credit-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
}

@media (max-width: 991.98px) {
  .profile__courses__inner {
    flex-direction: column;
    gap: 0;
  }
  
  .instractor-courses-single {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .t-profile-left {
    margin-bottom: 30px;
  }
  
  .teacher-contact .homepage_lessons_box_image {
    height: 200px;
  }
  
  .profile-content_mini_title {
    font-size: 1.5rem;
  }
}

/* Events and Tests Page Styles */
.events-section {
  padding: 50px 0;
  background-color: #fff;
  min-height: 70vh;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.event-card {
  display: flex;
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  height: 100%;
}

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

.event-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  font-size: 1.8rem;
}

.event-card-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.event-source {
  font-weight: 500;
}

.event-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-red);
  margin-bottom: 10px;
}

.event-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex: 1;
}

.event-action {
  margin-top: auto;
}

.btn-event-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-event-open:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

/* Contact Page Styles */
.contact-section {
  padding: 50px 0;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map {
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.contact-form {
  padding: 30px;
}

.contact-form-header {
  margin-bottom: 30px;
}

.contact-form-header h5 {
  font-size: 1rem;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-red);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group.half {
  width: 50%;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(197, 23, 46, 0.1);
  outline: none;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
}

.btn-contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197, 23, 46, 0.3);
}

.contact-info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-accent);
}

.contact-info-header {
  background: var(--gradient-warm);
  padding: 20px;
  text-align: center;
}

.contact-info-header h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.contact-info-body {
  padding: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item i {
  color: var(--primary-red);
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-info-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Content Page Styles */
.content-section {
  padding: 50px 0;
}

.content-container {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
}

.content-text {
  line-height: 1.8;
  color: var(--text-dark);
}

.content-text h1, 
.content-text h2, 
.content-text h3, 
.content-text h4 {
  color: var(--dark-red);
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.content-text p {
  margin-bottom: 1.5em;
}

.content-text ul, 
.content-text ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.content-text li {
  margin-bottom: 0.5em;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .contact-form-container {
    grid-template-columns: 1fr;
  }
  
  .contact-map {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group.half {
    width: 100%;
  }
  
  .contact-info-container {
    grid-template-columns: 1fr;
  }
}

/* Authentication Pages Styles */
.auth-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.auth-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
}

.auth-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
}

.auth-card-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.auth-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-red);
  margin: 0;
}

.auth-card-body {
  padding: 30px;
}

.auth-card-footer {
  padding: 20px 0;
  background-color: transparent;
  text-align: center;
}

.auth-card-footer p {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 0;
  width: 100%;
}

.auth-tabs .nav-item {
  margin: 0;
}

.auth-tab-btn {
  width: 100%;
  padding: 15px;
  background: #f0f0f0;
  border: none;
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
}

.auth-tab-btn:hover {
  background: #e0e0e0;
}

.auth-tab-btn.active {
  background: var(--gradient-warm);
  color: var(--text-dark);
}

.auth-tab-btn i {
  font-size: 1.1rem;
}

.auth-tab-content {
  display: none;
  width: 100%;
  padding: 20px 0;
}

.auth-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.tab-content {
  width: 100%;
}

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

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.forgot-password {
  color: var(--primary-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.forgot-password:hover {
  color: var(--dark-red);
  text-decoration: underline;
}

.form-action {
  margin-top: 25px;
}

/* Auth Forms */
.auth-form {
  width: 100%;
}

.form-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group label i {
  color: var(--primary-red);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  background-color: #fff;
  transition: all 0.3s;
  height: auto;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(197, 23, 46, 0.1);
  outline: none;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.form-group.half {
  width: 50%;
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: var(--primary-red);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.forgot-password {
  color: var(--primary-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.forgot-password:hover {
  color: var(--dark-red);
  text-decoration: underline;
}

.form-action {
  margin-top: 25px;
}

.btn-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
}

.btn-auth-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197, 23, 46, 0.3);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(0,0,0,0.1);
}

.auth-divider span {
  padding: 0 15px;
}

.btn-auth-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: #f5f5f5;
  color: var(--text-dark);
  border-radius: var(--border-radius-md);
  border: none;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
  margin-top: 10px;
}

.btn-auth-link:hover {
  background: #e8e8e8;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-auth-link i {
  font-size: 1rem;
  color: var(--primary-red);
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-option label,
.checkbox-option label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: normal;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background-color: #f0f0f0;
  border: 1px dashed #ccc;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.file-upload-label:hover {
  background-color: #e0e0e0;
  border-color: var(--primary-red);
}

.file-upload-label i {
  color: var(--primary-red);
}

/* Responsive */
@media (max-width: 767.98px) {
  .auth-container {
    padding: 0 15px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group.half {
    width: 100%;
  }
  
  .radio-group,
  .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .auth-card-header {
    padding: 20px;
  }
  
  .auth-card-body {
    padding: 20px;
  }
}

/* Authentication Styles */
.auth-container {
  max-width: 720px;
  margin: 0 auto;

}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--auth-text);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--auth-text-light);
}

/* Form Styles */
.auth-form-container {
  margin-bottom: 1.5rem;
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.auth-form .form-label,
.auth-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--auth-text);
}

.auth-form .form-input,
.auth-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  background-color: var(--auth-bg);
  transition: border-color 0.2s ease;
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auth-text-light);
  z-index: 10;
}

.auth-form .input-group .form-control {
  padding-left: 2.5rem;
}

.auth-form .form-input:focus,
.auth-form .form-control:focus {
  outline: none;
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.1);
}

.auth-form .form-input.is-invalid,
.auth-form .form-control.is-invalid {
  border-color: var(--auth-error);
}

.auth-form .form-input-icon {
  position: absolute;
  left: 0.75rem;
  top: 2.45rem;
  color: var(--auth-text-light);
}

.auth-form .form-error,
.auth-form .invalid-feedback {
  font-size: 0.75rem;
  color: var(--auth-error);
  margin-top: 0.25rem;
  display: block;
}

.auth-form .password-toggle-btn,
.auth-form .password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--auth-text-light);
  cursor: pointer;
  z-index: 10;
}

.auth-form .password-toggle-btn:focus,
.auth-form .password-toggle:focus {
  outline: none;
}

/* Checkbox */
.auth-form .form-checkbox,
.auth-form .form-check {
  display: flex;
  align-items: center;
}

.auth-form .form-checkbox input,
.auth-form .form-check-input {
  margin-right: 0.5rem;
}

.auth-form .form-checkbox label,
.auth-form .form-check-label {
  font-size: 0.875rem;
  color: var(--auth-text);
  margin-bottom: 0;
}

/* Button */
.auth-btn,
.btn-primary {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--auth-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.auth-btn:hover,
.btn-primary:hover {
  background-color: var(--secondary-red);
}

.auth-btn:focus,
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.3);
}

.btn-block {
  width: 100%;
  display: block;
}

/* Links */
.auth-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.auth-link {
  color: var(--auth-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: var(--secondary-red);
  text-decoration: underline;
}

/* Social Login */
.social-login-container {
  margin-top: 1.5rem;
}

.social-login-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.social-login-divider:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--auth-border);
  z-index: 1;
}

.social-login-divider span {
  position: relative;
  background-color: var(--auth-bg);
  padding: 0 1rem;
  color: var(--auth-text-light);
  font-size: 0.875rem;
  z-index: 2;
}

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.social-btn:hover {
  opacity: 0.9;
}

.social-btn i {
  margin-right: 0.75rem;
  font-size: 1rem;
}

.google-btn {
  background-color: white;
  color: var(--auth-text);
  border: 1px solid var(--auth-border);
}

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

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

/* Auth Tabs Styles */
.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--auth-border);
  padding-bottom: 0.5rem;
}

.auth-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  color: var(--auth-text-light);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.auth-tab-btn:hover {
  background-color: rgba(197, 23, 46, 0.05);
}

.auth-tab-btn.active {
  color: var(--auth-primary);
  background-color: rgba(197, 23, 46, 0.1);
}

.auth-tab-content > div {
  display: none;
}

.auth-tab-content > div.active {
  display: block;
}

/* Responsive */
@media (max-width: 640px) {
  .auth-container {
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  .auth-links {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

/* Profile Component Styles */
.profile-container {
  padding: 2rem 0;
  background-color: #f8f9fa;
}

.profile-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Profile Sidebar */
.profile-sidebar {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 30px;
}

.profile-sidebar-header {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  border: 4px solid rgba(197, 23, 46, 0.1);
  box-shadow: var(--shadow-md);
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-red);
  margin-bottom: 5px;
}

.profile-email {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.profile-credit {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.profile-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: #f8f9fa;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.profile-credit-badge i {
  color: var(--primary-red);
}

.profile-credit-badge span {
  color: var(--dark-red);
  font-weight: 600;
}

/* Profile Menu */
.profile-menu {
  padding: 20px;
}

.profile-menu-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: var(--border-radius-md);
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.profile-menu-item:hover {
  background-color: rgba(197, 23, 46, 0.05);
  color: var(--primary-red);
}

.profile-menu-item.active {
  background-color: rgba(197, 23, 46, 0.1);
  color: var(--primary-red);
  font-weight: 500;
}

.profile-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  margin-right: 10px;
  font-size: 1rem;
}

.profile-menu-text {
  flex: 1;
  font-size: 0.95rem;
}

.profile-notification-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  background: var(--primary-red);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.profile-logout {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.profile-logout .profile-menu-item {
  color: var(--text-muted);
}

.profile-logout .profile-menu-item:hover {
  color: var(--primary-red);
}

/* Profile Content */


.profile-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.profile-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Profile Forms */
.profile-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-form-group {
  flex: 1 1 calc(50% - 20px);
  min-width: 250px;
  margin-bottom: 20px;
}

.profile-form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.profile-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.profile-form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.1);
  outline: none;
}

.profile-form-control::placeholder {
  color: #aaa;
}

.profile-form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  background-color: #fff;
  transition: all 0.3s;
  height: auto;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.profile-form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.1);
  outline: none;
}

.profile-form-file {
  position: relative;
  display: block;
}

.profile-form-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.profile-form-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background-color: #f5f5f5;
  border: 1px dashed #ccc;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.profile-form-file-label:hover {
  background-color: #e8e8e8;
  border-color: var(--primary-red);
}

.profile-form-file-label i {
  color: var(--primary-red);
  font-size: 1.1rem;
}

.profile-form-file-label span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 25px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
}

.profile-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.profile-btn i {
  font-size: 1rem;
}

/* Messages Component */
.messages-container {
  display: flex;
  height: 600px;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 30px;
}

.messages-sidebar {
  flex: 0 0 300px;
  border-right: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.messages-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.messages-sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-red);
  margin: 0;
}

.messages-search {
  position: relative;
  padding: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.messages-search-input {
  width: 100%;
  padding: 10px 15px;
  padding-right: 40px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
}

.messages-search-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.1);
  outline: none;
}

.messages-search-btn {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.messages-conversations {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.messages-conversation-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.3s;
}

.messages-conversation-item:hover {
  background-color: rgba(197, 23, 46, 0.05);
}

.messages-conversation-item.active {
  background-color: rgba(197, 23, 46, 0.1);
}

.messages-conversation-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.messages-conversation-info {
  flex: 1;
  min-width: 0;
}

.messages-conversation-name {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.messages-conversation-name i {
  font-size: 8px;
  margin-right: 5px;
  color: #38c172;
}

.messages-conversation-preview {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messages-conversation-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s;
}

.messages-conversation-actions:hover {
  background-color: rgba(0,0,0,0.05);
  color: var(--primary-red);
}

.messages-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.messages-content-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-red);
}

.messages-chat {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.message {
  display: flex;
  margin-bottom: 20px;
  max-width: 80%;
}

.message.outgoing {
  margin-left: auto;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 15px;
}

.message.outgoing .message-avatar {
  margin-right: 0;
  margin-left: 15px;
}

.message-bubble {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  padding: 15px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.message.outgoing .message-bubble {
  background: rgba(197, 23, 46, 0.1);
}

.message-text {
  margin-bottom: 5px;
  color: var(--text-dark);
  word-wrap: break-word;
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
}

.message-image {
  max-width: 100%;
  border-radius: var(--border-radius-sm);
  margin-bottom: 5px;
}

.message-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: var(--border-radius-sm);
  margin-bottom: 5px;
}

.message-file i {
  color: var(--primary-red);
}

.message-file a {
  color: var(--dark-red);
  text-decoration: none;
}

.message-file a:hover {
  text-decoration: underline;
}

.messages-composer {
  padding: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.messages-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
}

.messages-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.1);
  outline: none;
}

.messages-attach-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.messages-attach-btn:hover {
  background: #e0e0e0;
  color: var(--primary-red);
}

.messages-submit-btn {
  padding: 10px 20px;
  background: var(--gradient-warm);
  color: var(--text-dark);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.messages-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .profile-wrapper {
    flex-direction: column;
  }
  
  .profile-sidebar {
    flex: 0 0 100%;
  }
  
  .messages-container {
    flex-direction: column;
    height: auto;
  }
  
  .messages-sidebar {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .messages-chat {
    height: 400px;
  }
}

@media (max-width: 767.98px) {
  .profile-form-group {
    flex: 1 1 100%;
  }
}

.loginBtn1{
  color: #333!important;
}
.content-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
}

.profile-header {
  padding: 25px 15px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: linear-gradient(to bottom, rgba(197, 23, 46, 0.03), rgba(255, 255, 255, 0));
  position: relative;
}

.teacher-badge {
  display: inline-block;
  background: #C5172E;
  color: white;
  font-size: 12px;
  padding: 5px 15px;
  border-radius: 50px;
  margin-top: 5px;
  font-weight: 600;
}

.custom_profile_sidebar {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.custom_profile_sidebar_image {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom_profile_sidebar h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.custom_profile_sidebar h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.custom_profile_sidebar_group {
  padding: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.custom_profile_sidebar_group h4 {
  font-size: 12px;
  font-weight: 700;
  color: #999;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.menu_iconbox_line, 
.custom_profile_sidebar_group a,
.custom_profile_sidebar_group button {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: all 0.2s;
  color: #444;
  text-decoration: none;
}

.menu_iconbox_line:hover, 
.custom_profile_sidebar_group a:hover,
.custom_profile_sidebar_group button:hover {
  background-color: rgba(197, 23, 46, 0.05);
  color: #C5172E;
}

.menu_iconbox_line_selected {
  background-color: rgba(197, 23, 46, 0.08);
  color: #C5172E;
  font-weight: 600;
}

.menu_iconbox_icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.menu_iconbox_line_selected .menu_iconbox_icon {
  background-color: #C5172E;
  color: white;
}

.menu_iconbox_notification_count {
  background: #C5172E;
  color: white;
  border-radius: 50px;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 5px;
  font-weight: 700;
}

.sidebar-footer {
  margin-top: auto;
  padding: 15px;
}

.logout-button {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  background-color: rgba(220, 53, 69, 0.05);
  color: #dc3545;
  transition: all 0.2s;
  text-decoration: none;
}

.logout-button:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .custom_profile_sidebar {
      margin-bottom: 24px;
  }
  
  .custom_profile_sidebar_group:not(:first-of-type) {
      display: none;
  }
  
  .custom_profile_sidebar_group {
      border-bottom: none;
      padding-bottom: 0;
  }
  
  .mobile-menu-toggle {
      display: block;
      text-align: center;
      padding: 10px;
      background: rgba(0,0,0,0.02);
      border-radius: 8px;
      cursor: pointer;
      margin-top: 15px;
  }
  
  .show-mobile-menu .custom_profile_sidebar_group {
      display: block;
  }
}