/* ===== ONLINE MENTORING TEMPLATE - MAIN CSS ===== */

/* Color Palette Variables */
:root {
  --primary-sage: #a7cb9f;
  --primary-lavender: #af95c4;
  --primary-peach: #f9cfa6;
  --primary-mint: #b5f5de;
  --primary-cream: #e7e1d4;
  
  --light-sage: #c2e5b7;
  --dark-sage: #7d9379;
  --light-lavender: #f0ebf1;
  --dark-lavender: #a78bba;
  --light-peach: #f1e3d0;
  --dark-peach: #cda47d;
  --light-mint: #dafff6;
  --dark-mint: #97d1c1;
  --light-cream: #faf8f3;
  --dark-cream: #e8e8e8;
  
  --text-dark: #344351;
  --text-muted: #707579;
  --white: #ffffff;
}

/* Respect Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
  loading: lazy;
}

/* Performance improvements */
* {
  box-sizing: border-box;
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Conservative Typography */
.navbar-brand {
    font-size: 10px !important;
  font-size: 1.11rem;
  font-weight: 600;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.80rem; }
h3 { font-size: 1.52rem; }
h4 { font-size: 1.26rem; }
h5 { font-size: 1.13rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-sage), var(--primary-lavender));
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-brand, .navbar-nav .nav-link {
    font-size: 10px !important;
  color: var(--white);
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: var(--light-cream);
}

.navbar-toggler {
  border: none;
  padding: 4px 9px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.5em;
  height: 1.5em;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-sage), var(--light-mint));
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.17rem;
  margin-bottom: 2rem;
}

.btn-primary-custom {
  background: linear-gradient(45deg, var(--primary-sage), var(--primary-mint));
  border: none;
  padding: 12px 30px;
  border-radius: 29px;
  font-weight: 600;
  color: var(--white);
  transition: transform 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  color: var(--white);
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.60rem;
}

.section-title h3 {
  color: var(--primary-sage);
  font-weight: 600;
}

/* About Section */
.about-section {
  background-color: var(--light-cream);
}

.feature-card {
  background: var(--white);
  border-radius: 19px;
  padding: 2rem;
  box-shadow: 0 7px 113px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-9px);
}

.feature-icon {
  color: var(--primary-lavender);
  font-size: 2.64rem;
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-peach), var(--light-cream));
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  background: linear-gradient(45deg, var(--primary-mint), var(--primary-sage));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-price {
  color: var(--primary-sage);
  font-size: 1.53rem;
  font-weight: 700;
  margin-top: auto;
}

/* Team Section */
.team-section {
  background-color: var(--light-lavender);
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-peach), var(--primary-lavender));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--light-mint);
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.review-stars {
  color: #ffd700;
  margin-bottom: 1rem;
}

/* Process Section */
.process-section {
  background-color: var(--light-cream);
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-sage), var(--primary-mint));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.56rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-peach);
}

.faq-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.faq-question {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.56rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-sage), var(--primary-mint));
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-form .form-control {
  border-radius: 10px;
  border: 2px solid var(--light-sage);
  padding: 12px 15px;
}

.contact-form .form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(189, 209, 185, 0.25);
}

.contact-form .form-label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.63rem;
}

.contact-form .form-check-label {
  color: var(--text-muted);
  font-size: 1.03rem;
}

.error-message {
  display: block;
  width: 100%;
  margin-top: 0.31rem;
  font-size: 0.92rem;
}

.is-invalid {
  border-color: #f03662;
}

.alert {
  border-radius: 10px;
  border: none;
  padding: 1rem 1.5rem;
}

.alert-success {
  background-color: var(--light-mint);
  color: var(--dark-mint);
}

.alert-danger {
  background-color: var(--light-peach);
  color: #5b1b25;
}

.btn.loading {
  position: relative;
  pointer-events: none;
}

.btn.loading .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text-dark), var(--text-dark));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-mint);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-mint);
}

/* Blog Section */
.blog-section {
  background-color: var(--light-cream);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.blog-content {
  padding: 1.5rem;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--light-mint), var(--light-sage));
}

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
}

.price-card.featured {
  border: 3px solid var(--primary-sage);
}

.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-sage);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 15px;
  font-size: 0.94rem;
  font-weight: 600;
}

.price-card-price {
  margin: 1.5rem 0;
}

.price-card-price span {
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--primary-sage);
}

/* Space Page */
#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--light-sage), var(--light-mint));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utilities */
.text-primary-sage { color: var(--primary-sage); }
.text-primary-lavender { color: var(--primary-lavender); }
.text-primary-peach { color: var(--primary-peach); }
.text-primary-mint { color: var(--primary-mint); }

.bg-primary-sage { background-color: var(--primary-sage); }
.bg-primary-lavender { background-color: var(--primary-lavender); }
.bg-primary-peach { background-color: var(--primary-peach); }
.bg-primary-mint { background-color: var(--primary-mint); } 


/* 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;
    }
}
