/* Modern Tutor Pages CSS - Inspired by flykids.html */

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

body {
  font-family: 'Heebo', 'Alef', Arial, sans-serif;
  direction: rtl;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section - Different colors for each page */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2) 0%, transparent 50%);
  animation: backgroundShift 15s ease infinite;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

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

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  margin: 0 auto 30px;
  display: block;
  object-fit: cover;
  animation: fadeInUp 0.8s ease;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease;
}

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

/* Main Content */
.main-content {
  background: white;
  margin-top: -50px;
  border-radius: 50px 50px 0 0;
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* Content Section */
.content-section {
  margin-bottom: 50px;
}

.content-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-section h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 30px 0 15px;
  color: #444;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-section ul li {
  padding: 12px 0;
  padding-right: 35px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.content-section ul li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #4ECDC4;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Cards */
.card {
  background: white;
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

/* Feature Cards */
.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card-1 {
  background: linear-gradient(135deg, #FFE5E5 0%, #FFFFFF 100%);
  border-top: 4px solid #FF6B6B;
}

.feature-card-2 {
  background: linear-gradient(135deg, #E5F3FF 0%, #FFFFFF 100%);
  border-top: 4px solid #4ECDC4;
}

.feature-card-3 {
  background: linear-gradient(135deg, #FFF4E5 0%, #FFFFFF 100%);
  border-top: 4px solid #FFD93D;
}

.feature-card-4 {
  background: linear-gradient(135deg, #E5FFE5 0%, #FFFFFF 100%);
  border-top: 4px solid #6BCB77;
}

.feature-card-5 {
  background: linear-gradient(135deg, #F0E5FF 0%, #FFFFFF 100%);
  border-top: 4px solid #9B59B6;
}

.feature-card-6 {
  background: linear-gradient(135deg, #FFE5F0 0%, #FFFFFF 100%);
  border-top: 4px solid #FF6B9D;
}

.feature-card-7 {
  background: linear-gradient(135deg, #E5F5FF 0%, #FFFFFF 100%);
  border-top: 4px solid #45B7D1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.feature-icon-1 {
  background: linear-gradient(135deg, #FF6B6B, #FF8787);
  color: white;
}

.feature-icon-2 {
  background: linear-gradient(135deg, #4ECDC4, #6EDDD6);
  color: white;
}

.feature-icon-3 {
  background: linear-gradient(135deg, #FFD93D, #FFE66D);
  color: white;
}

.feature-icon-4 {
  background: linear-gradient(135deg, #6BCB77, #8DD896);
  color: white;
}

.feature-icon-5 {
  background: linear-gradient(135deg, #9B59B6, #BB7BC8);
  color: white;
}

.feature-icon-6 {
  background: linear-gradient(135deg, #FF6B9D, #FF8FB3);
  color: white;
}

.feature-icon-7 {
  background: linear-gradient(135deg, #45B7D1, #6BC5D9);
  color: white;
}

/* Project Example */
.project-example {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 20px;
  margin: 25px 0;
  border-right: 5px solid #4ECDC4;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.project-example:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.project-example h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.project-example ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.project-example ul li {
  padding: 8px 0;
  padding-right: 25px;
  position: relative;
  color: #555;
}

.project-example ul li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: #4ECDC4;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 30px;
  text-align: center;
  margin: 60px 0;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: white;
  position: relative;
  z-index: 1;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px 0;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.contact-item i {
  font-size: 1.5rem;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-item span {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.contact-btn i {
  font-size: 1.5rem;
}

.contact-btn:first-child {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
}

.contact-btn:first-child:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 20px 20px;
  text-align: center;
  margin-top: 50px;
}

footer h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

footer a {
  color: #667eea;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #764ba2;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .content-section h2 {
    font-size: 1.8rem;
  }
  
  .contact-section {
    padding: 40px 20px;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
  
  .project-example > div[style*="display: flex"] {
    flex-direction: column !important;
  }
  
  .project-example > div[style*="display: flex"] > div[style*="flex: 0 0 150px"] {
    flex: 0 0 auto !important;
    max-width: 150px;
    margin: 0 auto 20px;
  }
}

/* Page-specific hero colors */
/* Page 1: Private App Development Tutor - Purple/Blue */
.page-1 .hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Page 2: Flutter Tutor - Blue/Cyan */
.page-2 .hero-section {
  background: linear-gradient(135deg, #4ECDC4 0%, #45B7D1 50%, #667eea 100%);
}

/* Page 3: Android Kotlin Tutor - Green/Teal */
.page-3 .hero-section {
  background: linear-gradient(135deg, #6BCB77 0%, #4ECDC4 50%, #45B7D1 100%);
}

/* Page 4: Kotlin Tutor - Orange/Red */
.page-4 .hero-section {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FF6B9D 100%);
}

/* Page 5: iOS Swift Tutor - Blue/Purple */
.page-5 .hero-section {
  background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 50%, #9370DB 100%);
}

/* Page 6: React Tutor - Cyan/Blue */
.page-6 .hero-section {
  background: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 50%, #667eea 100%);
}

/* Page 7: Full-Stack Course - Purple/Pink */
.page-7 .hero-section {
  background: linear-gradient(135deg, #9B59B6 0%, #E91E63 50%, #FF6B9D 100%);
}

/* Page 8: IoT BLE Development - Teal/Green */
.page-8 .hero-section {
  background: linear-gradient(135deg, #26A69A 0%, #4ECDC4 50%, #6BCB77 100%);
}

/* Page 9: How to Choose Tutor - Indigo/Purple */
.page-9 .hero-section {
  background: linear-gradient(135deg, #5C6BC0 0%, #7E57C2 50%, #9575CD 100%);
}

/* Page 10: Business App Development - Gold/Orange */
.page-10 .hero-section {
  background: linear-gradient(135deg, #FFA726 0%, #FF7043 50%, #FF6B6B 100%);
}

