/* Gamified Language Learning App - Main CSS */

/* Color Palette - High Contrast Pastel Colors */
:root {
  --primary-purple: #8B5CF6;
  --primary-purple-light: #C4B5FD;
  --primary-purple-dark: #6D28D9;
  
  --secondary-teal: #14B8A6;
  --secondary-teal-light: #5EEAD4;
  --secondary-teal-dark: #0F766E;
  
  --accent-pink: #EC4899;
  --accent-pink-light: #F9A8D4;
  --accent-pink-dark: #BE185D;
  
  --success-green: #10B981;
  --success-green-light: #6EE7B7;
  --success-green-dark: #047857;
  
  --warning-orange: #F59E0B;
  --warning-orange-light: #FCD34D;
  --warning-orange-dark: #D97706;
  
  --light-bg: #F8FAFC;
  --dark-text: #0F172A;
  --medium-text: #475569;
  --light-text: #94A3B8;
  
  --gradient-1: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-teal) 100%);
  --gradient-2: linear-gradient(135deg, var(--accent-pink) 0%, var(--warning-orange) 100%);
  --gradient-3: linear-gradient(135deg, var(--success-green) 0%, var(--secondary-teal) 100%);
  --gradient-4: linear-gradient(135deg, var(--warning-orange) 0%, var(--primary-purple) 100%);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
  font-size: 16px;
  overflow-x: hidden;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--medium-text);
  font-size: 1rem;
}

/* Header */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--dark-text);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-purple);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 1.5em;
  height: 1.5em;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-1);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: white;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-pink);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--warning-orange);
  bottom: 20%;
  left: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--medium-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.card-text {
  color: var(--medium-text);
  margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

/* Feature Items */
.feature-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.feature-item .feature-icon {
  margin: 0;
  flex-shrink: 0;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  color: var(--medium-text);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Process Steps */
.process-step {
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--gradient-1);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 2rem 3rem;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background: var(--gradient-1);
  border: 4px solid white;
  top: 2.5rem;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -12px;
}

.timeline-item {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(139, 92, 246, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.timeline-date {
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* Job Cards */
.job-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.job-card h5 {
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.job-card p:first-of-type {
  color: var(--primary-purple);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Info Cards */
.info-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple);
}

.info-card h5 {
  color: var(--dark-text);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--gradient-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.btn-outline-primary:hover {
  background: var(--primary-purple);
  color: white;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--primary-purple-light);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--medium-text);
  font-style: italic;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-purple);
}

.testimonial-text {
  font-style: italic;
  color: var(--medium-text);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-text);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  background: var(--primary-purple-light);
  color: var(--dark-text);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  border: none;
  width: 100%;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-purple);
  color: white;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--medium-text);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-control.is-invalid {
  border-color: var(--accent-pink);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

/* Contact Info */
.contact-info {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-info h5 {
  color: var(--dark-text);
  margin-bottom: 1.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--medium-text);
}

.contact-info p i {
  color: var(--primary-purple);
  margin-right: 0.75rem;
  width: 20px;
}

/* Footer */
.footer {
  background: var(--dark-text);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-purple-light);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-purple-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }
.bg-gradient-4 { background: var(--gradient-4); }

/* Space page */
#space {
  min-height: 80vh;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blog Grid */
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Loading and Interactive States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.interactive:hover {
  cursor: pointer;
}

/* Print Styles */
@media print {
  .navbar, .footer, .btn {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
