:root {
  --primary-orange: #ff6b35;
  --dark-navy: #1e3a5f;
  --teal: #26c6da;
  --light-gray-bg: #f5f7fa;
  --text-gray: #6c757d;
  --dark-footer: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-navy);
  background: var(--light-gray-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-orange) !important;
}

.navbar-nav .nav-link {
  color: var(--dark-navy);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

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

.lang-selector {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--primary-orange);
  border-radius: 20px;
  color: var(--primary-orange);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

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

/* Profile Header */
.profile-header {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #2c4a6f 100%);
  color: white;
  padding: 80px 0 60px;
}

.instructor-profile-card {
  display: flex;
  gap: 40px;
  align-items: center;
}

.instructor-avatar-large {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  flex-shrink: 0;
  border: 5px solid rgba(255, 255, 255, 0.2);
}

.instructor-header-info h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.instructor-title {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 25px;
}

.instructor-stats-header {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Content Sections */
.instructor-content {
  padding: 60px 0;
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
  color: var(--dark-navy);
  margin-bottom: 25px;
  font-size: 1.75rem;
}

.content-card p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.expertise-item {
  background: var(--light-gray-bg);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: var(--dark-navy);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.expertise-item:hover {
  border-color: var(--primary-orange);
  background: white;
}

/* Experience Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-orange);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -46px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-orange);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--light-gray-bg);
}

.timeline-year {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.timeline-title {
  color: var(--dark-navy);
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-description {
  color: var(--text-gray);
}

/* Course Cards */
.instructor-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.course-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.course-content {
  padding: 25px;
}

.course-category {
  color: var(--primary-orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.course-title {
  font-size: 1.15rem;
  color: var(--dark-navy);
  margin-bottom: 15px;
}

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

.course-meta i {
  color: var(--primary-orange);
  margin-right: 5px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.course-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.course-rating {
  color: #ffc107;
}

.view-course-btn {
  background: var(--primary-orange);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.view-course-btn:hover {
  background: #e55a2a;
  color: white;
}

/* Sidebar */
.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  position: sticky;
  top: 100px;
}

.sidebar-card h4 {
  margin-bottom: 20px;
  color: var(--dark-navy);
}

.contact-item {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--light-gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  flex-shrink: 0;
}

.achievement-item {
  background: var(--light-gray-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-orange);
}

.achievement-item h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--dark-navy);
}

.achievement-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0;
}

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

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@media (max-width: 768px) {
  .instructor-profile-card {
    flex-direction: column;
    text-align: center;
  }

  .instructor-header-info h1 {
    font-size: 1.75rem;
  }

  .instructor-stats-header {
    justify-content: center;
  }

  .sidebar-card {
    position: relative;
    top: 0;
  }
}
