/* ===== GAMIFIED LANGUAGE EXCHANGE PLATFORM - MAIN STYLES ===== */

/* Color Palette - Pastel High-Contrast */
:root {
  --primary-color: #4c7c9b;
  --secondary-color: #f39c73;
  --accent-color: #9b7eac;
  --success-color: #7fb069;
  --warning-color: #ffd23f;
  
  --primary-light: #6b97b8;
  --primary-dark: #3a6178;
  --secondary-light: #f7b190;
  --secondary-dark: #e8804f;
  --accent-light: #b299c4;
  --accent-dark: #7d6388;
  --success-light: #9bc982;
  --success-dark: #64944f;
  --warning-light: #ffe066;
  --warning-dark: #e6bd1f;
  
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
}

/* Typography - Conservative Sizes */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Disable horizontal scroll on desktop */
@media (min-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
}

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

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.1;
  transform: rotate(15deg);
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

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

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--accent-color);
  margin-bottom: 2rem;
}

/* Card Styles */
.custom-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-light);
}

.icon-primary { background-color: var(--primary-color); }
.icon-secondary { background-color: var(--secondary-color); }
.icon-accent { background-color: var(--accent-color); }
.icon-success { background-color: var(--success-color); }
.icon-warning { background-color: var(--warning-color); }

/* Services Grid */
.service-card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

/* Team Cards */
.team-card {
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

/* Reviews Section */
.review-card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  border-left: 4px solid var(--accent-color);
}

/* FAQ Section */
.faq-card {
  border: none;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1.5rem;
  margin: 0;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
}

.faq-answer {
  padding: 1.5rem;
  background-color: var(--bg-white);
  border-radius: 0 0 10px 10px;
  margin: 0;
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(76, 124, 155, 0.25);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

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

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Breadcrumbs */
.breadcrumb {
  background: none;
  padding: 1rem 0;
}

.breadcrumb-image {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Animations - COMPLETELY DISABLED */
/* All SAL animations disabled */
[data-sal],
[data-sal-delay],
[data-sal-duration],
[data-sal-easing],
.sal-animate {
  transition: none !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Respect prefers-reduced-motion for other animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* MOBILE ANIMATION DISABLE */
@media (max-width: 767.98px) {
  /* Global animation disable for mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    scroll-behavior: auto !important;
  }
  
  /* Override all hover effects */
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
  }
  
  /* Disable gallery animations */
  .gallery-item img {
    transform: none !important;
  }
  
  /* Disable all social link effects */
  .social-link:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  }
  
  .social-link::before {
    display: none !important;
  }
}

/* Utility Classes */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}

.text-primary-custom {
  color: var(--primary-color);
}

.text-secondary-custom {
  color: var(--secondary-color);
}

.border-radius-custom {
  border-radius: 15px;
}


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.instagram-link {
    background: linear-gradient(135deg, #e4405f, #f77737, #fcaf45);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #d62976, #e4405f, #f77737);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
