/* ==========================================================================
   Remote Sales-Team Enablement Platform - Main Styles
   Built on Bootstrap 5 - No overrides or custom grid systems
   ========================================================================== */

/* CSS Variables - Pastel High-Contrast Color Palette */
:root {
  /* Primary Colors */
  --color-primary: #6366f1;     /* Indigo */
  --color-secondary: #10b981;   /* Emerald */
  --color-accent: #f59e0b;      /* Amber */
  --color-neutral: #6b7280;     /* Gray */
  --color-success: #059669;     /* Green */
  
  /* Light Shades */
  --color-primary-light: #a5b4fc;
  --color-secondary-light: #6ee7b7;
  --color-accent-light: #fcd34d;
  --color-neutral-light: #d1d5db;
  --color-success-light: #34d399;
  
  /* Dark Shades */
  --color-primary-dark: #4338ca;
  --color-secondary-dark: #047857;
  --color-accent-dark: #d97706;
  --color-neutral-dark: #374151;
  --color-success-dark: #065f46;
  
  /* Additional Variables */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  overflow-x: hidden;
}

/* Typography - Conservative Font Sizes */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-neutral-dark);
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
}

p {
  font-size: 1rem;
  color: var(--color-neutral);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-neutral);
}

/* Navigation */
.navbar .navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--color-neutral-dark);
  transition: var(--transition);
}

.navbar .nav-link:hover {
  color: var(--color-primary);
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  position: relative;
    padding-top: 100px;
}

.hero-image {
  z-index: 1;
  position: relative;
}

/* Decorative Shapes */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 40%;
  height: 150%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

/* Section Spacing */
.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.price-tag {
  background: var(--gradient-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  border-left: 4px solid var(--color-primary);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-neutral);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--color-secondary);
}

.faq-question {
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.faq-answer {
  color: var(--color-neutral);
  line-height: 1.6;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
}

/* Timeline */
.timeline-item {
  border-left: 3px solid var(--color-primary);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 13px;
  height: 13px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.form-control {
  border: 2px solid var(--color-neutral-light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Footer */
.footer {
  background: var(--color-neutral-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--color-neutral-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--color-primary-light);
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--color-neutral-light);
}

.breadcrumb-img {
  width: 24px;
  height: 24px;
}

/* Background Sections */
.bg-light-gradient {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
}

.bg-primary-gradient {
  background: var(--gradient-primary);
  color: white;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--color-primary);
}

.text-secondary-custom {
  color: var(--color-secondary);
}

.border-primary-custom {
  border-color: var(--color-primary);
}

/* Animations - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  
  .animate-on-scroll.sal-animate {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    animation-delay: 0ms;
    transition-delay: 0ms;
  }
}

/* Responsive Image Handling */
img {
  max-width: 100%;
  height: auto;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
