/* Digital Whiteboard Templates Marketplace - Main CSS */

/* Color Palette - 5 primary colors + light/dark shades */
:root {
  --primary-color: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  
  --secondary-color: #06b6d4;
  --secondary-light: #67e8f9;
  --secondary-dark: #0891b2;
  
  --accent-color: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  
  --success-color: #10b981;
  --success-light: #34d399;
  --success-dark: #059669;
  
  --neutral-color: #6b7280;
  --neutral-light: #9ca3af;
  --neutral-dark: #4b5563;
  
  --background-light: #f8fafc;
  --background-dark: #1e293b;
  --text-light: #64748b;
  --text-dark: #0f172a;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

/* Conservative font sizes */
.navbar-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

p {
  font-size: 1rem;
  color: var(--text-light);
}

/* Respect prefers-reduced-motion */
@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-light), var(--secondary-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: rotate(45deg);
}

/* Decorative Shapes */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  top: 20%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--success-color);
  bottom: 30%;
  left: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 15px;
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Price Plan Cards */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  position: relative;
  height: 100%;
}

.price-card.featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
}

.price-card .price span {
  font-size: 1rem;
  color: var(--text-light);
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Review Cards */
.review-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  height: 100%;
}

.review-stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Case Study Cards */
.case-study-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  height: 100%;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
  padding: 30px 20px;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.process-step:nth-child(1)::before { content: '1'; }
.process-step:nth-child(2)::before { content: '2'; }
.process-step:nth-child(3)::before { content: '3'; }
.process-step:nth-child(4)::before { content: '4'; }
.process-step:nth-child(5)::before { content: '5'; }

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 20px;
  width: 2px;
  height: 100%;
  background: var(--primary-light);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Cards */
.career-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  height: 100%;
}

/* Core Info Cards */
.core-info-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  height: 100%;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-form .form-control {
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
}

.contact-form .form-control.is-valid {
  border-color: var(--success-color);
}

.contact-form .form-control.is-invalid {
  border-color: #dc3545;
}

.contact-form .btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-form .btn-primary:disabled {
  background: #6c757d;
  border-color: #6c757d;
  transform: none;
  cursor: not-allowed;
}

/* Form validation styling */
#form-errors,
#form-success {
  margin-bottom: 20px;
}

.alert {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid transparent;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-card .btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-card .btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 20px;
}

.footer a {
  color: var(--neutral-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

/* Navbar scroll effects */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.3s ease;
  border-radius: 4px;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 6px;
  color: white;
}

/* Loading states for buttons */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  color: white;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Focus indicators for accessibility */
.focused {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color);
}

.bg-primary-custom {
  background-color: var(--primary-color);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
}

.section-description {
  font-size: 1rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
} 

.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
