/*
 * Main CSS for Remote Language Exchange Groups Template
 * Bootstrap 5 Integration with Conservative Styling
 * Theme: Language Exchange, Global Communication, Cultural Connection
 */

/* ===============================================
   CSS VARIABLES - Color Palette (5 Primary + Shades)
   =============================================== */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-blue: #4A90E2;      /* Communication */
  --primary-green: #7ED321;     /* Growth & Learning */
  --primary-coral: #F5A623;     /* Warmth & Connection */
  --primary-purple: #BD10E0;    /* Creativity & Culture */
  --primary-teal: #50E3C2;      /* Global & Fresh */
  
  /* Light Shades */
  --light-blue: #E8F4FD;
  --light-green: #F0FBE8;
  --light-coral: #FEF4E8;
  --light-purple: #F9E8FE;
  --light-teal: #E8FCFA;
  
  /* Dark Shades */
  --dark-blue: #2C5482;
  --dark-green: #4A7C14;
  --dark-coral: #B8780C;
  --dark-purple: #7A0A8B;
  --dark-teal: #30A085;
  
  /* Neutral Colors */
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --border-color: #E5E8EB;
}

/* ===============================================
   GLOBAL RESET & TYPOGRAPHY
   =============================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  font-size: 16px;
  overflow-x: hidden;
}

/* Conservative Typography */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */
.navbar-brand {
  font-size: 1.4rem !important; /* Conservative brand size */
  font-weight: 700;
  color: var(--primary-blue);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

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

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-decorative {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  background: var(--primary-purple);
  top: 10%;
  right: -100px;
}

.hero-decorative:nth-child(2) {
  background: var(--primary-coral);
  bottom: 20%;
  left: -150px;
}

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

/* ===============================================
   SECTIONS STYLING
   =============================================== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.about-section {
  background-color: var(--bg-light);
}

.feature-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 24px;
}

/* ===============================================
   SERVICES SECTION
   =============================================== */
.services-section {
  background-color: var(--bg-white);
}

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
}

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

.service-image {
  width: 100%;
  height: 200px;
  background: var(--light-green);
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 48px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin-top: 15px;
}

/* ===============================================
   FEATURES SECTION
   =============================================== */
.features-section {
  background-color: var(--light-blue);
}

/* ===============================================
   PRICE PLAN SECTION
   =============================================== */
.priceplan-section {
  background-color: var(--bg-white);
}

.price-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.price-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 20px 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.price-features li:last-child {
  border-bottom: none;
}

/* ===============================================
   TEAM SECTION
   =============================================== */
.team-section {
  background-color: var(--light-teal);
}

.team-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--light-purple);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
  font-size: 36px;
}

/* ===============================================
   REVIEWS SECTION
   =============================================== */
.reviews-section {
  background-color: var(--bg-white);
}

.review-card {
  background: var(--light-coral);
  border-radius: 12px;
  padding: 30px 25px;
  border: none;
  height: 100%;
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

/* ===============================================
   CASE STUDY SECTION
   =============================================== */
.casestudy-section {
  background-color: var(--light-purple);
}

.case-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 25px;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

/* ===============================================
   PROCESS SECTION
   =============================================== */
.process-section {
  background-color: var(--bg-white);
}

.process-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

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

/* ===============================================
   TIMELINE SECTION
   =============================================== */
.timeline-section {
  background-color: var(--light-green);
}

.timeline-item {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 25px;
  border-left: 4px solid var(--primary-green);
  margin-bottom: 20px;
}

/* ===============================================
   CAREER SECTION
   =============================================== */
.career-section {
  background-color: var(--bg-white);
}

.career-card {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 30px 25px;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

/* ===============================================
   CORE INFO SECTION
   =============================================== */
.coreinfo-section {
  background-color: var(--light-coral);
}

.info-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--light-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary-coral);
  font-size: 20px;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact-section {
  background-color: var(--bg-white);
}

.contact-form {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 40px 30px;
}

.form-control {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
}

/* ===============================================
   BLOG SECTION
   =============================================== */
.blog-section {
  background-color: var(--light-teal);
}

.blog-card {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: var(--light-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  font-size: 36px;
}

.blog-content {
  padding: 25px 20px;
}

/* ===============================================
   FAQ SECTION
   =============================================== */
.faq-section {
  background-color: var(--bg-white);
}

.faq-card {
  background: var(--light-purple);
  border-radius: 12px;
  padding: 25px 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--text-secondary);
  margin: 0;
}

/* ===============================================
   GALLERY SECTION
   =============================================== */
.gallery-section {
  background-color: var(--light-green);
  padding: 60px 0;
}

.gallery-item {
  margin-bottom: 30px;
}

.gallery-image {
  width: 100%;
  height: 250px;
  background: var(--primary-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  transition: transform 0.3s ease;
}

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

/* ===============================================
   FOOTER
   =============================================== */
footer {
  background-color: var(--text-primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 15px;
}

.footer-desc {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.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-teal);
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

/* ===============================================
   REDUCED MOTION PREFERENCES
   =============================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-decorative {
    display: none;
  }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.text-primary-blue {
  color: var(--primary-blue);
}

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

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

.bg-light-section {
  background-color: var(--bg-light);
}

.border-top-accent {
  border-top: 3px solid var(--primary-blue);
}



/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

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

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

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

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

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

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