/* Online Tutoring Platform - Main CSS */
/* Bootstrap 5 + Custom Variables & Enhancements */

/* Color Palette - 5 Primary Colors + Shades */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-color: #6c63ff;     /* Modern Purple */
  --secondary-color: #4ecdc4;   /* Mint Green */
  --accent-color: #ff6b6b;      /* Coral Red */
  --warning-color: #feca57;     /* Warm Yellow */
  --success-color: #48cae4;     /* Sky Blue */
  
  /* Light Shades */
  --primary-light: #a29bfe;
  --secondary-light: #81ecec;
  --accent-light: #ff7675;
  --warning-light: #fdcb6e;
  --success-light: #74c0fc;
  
  /* Dark Shades */
  --primary-dark: #5a52d5;
  --secondary-dark: #00b894;
  --accent-dark: #e17055;
  --warning-dark: #e17055;
  --success-dark: #0984e3;
  
  /* Neutral Colors */
  --dark-color: #2d3436;
  --light-color: #f8f9fa;
  --border-color: #e9ecef;
  --text-muted: #6c757d;
  
  /* Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  
  /* Spacing */
  --section-padding: 80px 0;
  --element-spacing: 2rem;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p { 
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

/* Conservative Navbar Brand Size */
.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700;
  color: var(--primary-color);
}

/* Section Spacing */
.section {
  padding: var(--section-padding);
}

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

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

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  top: 10%;
  right: 10%;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--warning-color);
  bottom: 20%;
  left: 5%;
}

/* Cards & Components */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

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

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

/* Pricing Cards */
.pricing-card {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-card.featured .price-amount {
  color: white;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.feature-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success-color);
}

/* Review Cards */
.review-card {
  background: var(--light-color);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  margin-bottom: 2rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
}

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

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

/* Timeline */
.timeline-item {
  border-left: 3px solid var(--primary-color);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* Contact Form */
.contact-form {
  background: var(--light-color);
  border-radius: 15px;
  padding: 3rem;
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--border-color);
  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(108, 99, 255, 0.25);
}

/* Buttons */
.btn {
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

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

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

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

/* FAQ Cards */
.faq-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 10px;
  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);
}

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

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

.footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Utilities */
.text-primary-custom { color: var(--primary-color); }
.text-secondary-custom { color: var(--secondary-color); }
.text-accent-custom { color: var(--accent-color); }
.bg-primary-custom { background-color: var(--primary-color); }
.bg-secondary-custom { background-color: var(--secondary-color); }
.bg-light-custom { background-color: var(--light-color); }

/* Spacing Utilities */
.section-spacing { margin: var(--element-spacing) 0; }
.mb-section { margin-bottom: var(--element-spacing); }
.mt-section { margin-top: var(--element-spacing); }


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

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

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

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

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
