/* Online Tutoring Platform - Main Styles */

/* Color Palette Variables */
:root {
  --primary-color: #637ded;
  --secondary-color: #5f3a8c;
  --accent-color: #e990ff;
  --success-color: #56dacd;
  --warning-color: #ffba27;
  
  /* Light variations */
  --primary-light: #a6b5ff;
  --secondary-light: #9471d0;
  --accent-light: #eba3ff;
  --success-light: #5de5e6;
  --warning-light: #ebd760;
  
  /* Dark variations */
  --primary-dark: #496cd6;
  --secondary-dark: #4b3979;
  --accent-dark: #ea6cff;
  --success-dark: #28ab9d;
  --warning-dark: #ddd330;
  
  /* Neutral colors */
  --text-primary: #384a59;
  --text-secondary: #61666d;
  --text-light: #a6b4c7;
  --bg-light: #f8f9fa;
  --bg-dark: #2c363d;
}

/* Conservative Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

.navbar-brand {
  font-size: 1.17rem;
  font-weight: 600;
}

h1 {
  font-size: 2.28rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.92rem;
  font-weight: 600;
  margin-bottom: 1.01rem;
}

h3 {
  font-size: 1.47rem;
  font-weight: 600;
  margin-bottom: 0.71rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(13px);
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 150px;
}

.hero-title {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.23rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.service-card {
  background: white;
  border-radius: 19px;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-name {
  font-size: 1.44rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-secondary);
  margin-bottom: 1.68rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.69rem;
}

.service-features li {
  padding: 0.3rem 0;
  color: var(--text-secondary);
}

.service-features li i {
  color: var(--success-color);
  margin-right: 0.5rem;
}

.service-price {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-name {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-secondary);
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.about-feature {
  padding: 1.5rem;
  text-align: center;
}

.about-feature-icon {
  font-size: 2.54rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.about-feature-name {
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 0.95rem;
}

.about-feature-desc {
  color: var(--text-secondary);
  font-size: 0.91rem;
}

/* Price Plan Section */
.price-card {
  background: white;
  border-radius: 110px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  height: 100%;
}

.price-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
}

.price-plan-name {
  font-size: 1.49rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price-plan-price {
  font-size: 2.57rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-plan-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.price-plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-plan-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.price-plan-features li i {
  color: var(--success-color);
  margin-right: 0.5rem;
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-light);
}

.team-member-name {
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 0.57rem;
}

.team-member-role {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Reviews Section */
.review-card {
  background: white;
  border-radius: 17px;
  padding: 2rem;
  box-shadow: 0 6px 17px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.71rem;
}

.review-author {
  font-weight: 600;
  color: var(--text-primary);
}

.review-stars {
  color: var(--warning-color);
  font-size: 1.34rem;
  margin-bottom: 1rem;
}

/* Case Study Section */
.casestudy-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.casestudy-title {
  font-size: 1.34rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.casestudy-desc {
  color: var(--text-secondary);
}

/* Process Section */
.process-section {
  background: var(--bg-light);
}

.process-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.54rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-desc {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

/* Timeline Section */
.timeline-item {
  padding: 2rem;
  border-left: 3px solid var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2rem;
  width: 13px;
  height: 13px;
  background: var(--primary-color);
  border-radius: 50%;
}

.timeline-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.timeline-desc {
  color: var(--text-secondary);
}

/* Career Section */
.career-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.career-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.career-role {
  color: var(--text-secondary);
  font-size: 1.03rem;
  margin-bottom: 1rem;
}

.career-desc {
  color: var(--text-secondary);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--bg-light);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem;
}

.coreinfo-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.coreinfo-title {
  font-size: 1.34rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.coreinfo-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.contact-form {
  background:#4674a5;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 0.8rem;
  border: 2px solid #dbe7f4;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(124, 149, 244, 0.25);
}

.contact-info {
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.72rem;
}

.contact-info-icon {
  font-size: 1.59rem;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 30px;
}

.contact-info-text {
  color: white;
  font-size: 1rem;
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.blog-card-body {
  padding: 2rem;
}

.blog-title {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.70rem;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-dark);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
}

.faq-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.68rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--primary-light);
  margin-bottom: 1rem;
  font-size: 1.14rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.03rem;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #424547;
  padding-top: 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.84rem;
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: var(--primary-color);
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-light);
  padding: 1rem 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
  border-radius: 15px;
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Additional Page Styles */
.page-section {
  padding: 3rem 0;
}

.page-section:nth-child(even) {
  background: var(--bg-light);
}

.page-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.page-section-subtitle {
  font-size: 1.26rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.page-section-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.page-element {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  height: 100%;
}

.page-element-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.page-element-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Space Page */
#space {
  min-height: 60vh;
  background: var(--bg-light);
  border-radius: 15px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.57rem;
  color: var(--text-secondary);
} 


/* 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);
}

.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;
    }
}
