/* SaaS E-commerce KPI Dashboard Template - Main Styles */

/* CSS Variables - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Color Palette - Pastel High-Contrast */
  --primary-color: #645efc;
  --primary-light: #b5bcfa;
  --primary-dark: #4d31b5;
  
  --secondary-color: #0ea1d4;
  --secondary-light: #54eeff;
  --secondary-dark: #00869b;
  
  --accent-color: #fb9620;
  --accent-light: #fabd59;
  --accent-dark: #ea751d;
  
  --success-color: #0da98d;
  --success-light: #76d6ae;
  --success-dark: #0c7365;
  
  --danger-color: #da3e57;
  --danger-light: #e79790;
  --danger-dark: #cf1c19;
  
  /* Neutral Colors */
  --text-primary: #2c3650;
  --text-secondary: #8e9098;
  --text-muted: #b7bbc0;
  --bg-light: #f9fafb;
  --bg-medium: #f3f4f6;
  --border-color: #dbdbdc;
  
  /* Typography */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1.5rem;
  
  /* Borders & Shadows */
  --border-radius: 0.5rem;
  --box-shadow: 0 7px 6px -1px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Typography - Conservative Sizes */
h1, .h1 {
  font-size: 2.28rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h2, .h2 {
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h3, .h3 {
  font-size: 1.59rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

h4, .h4 {
  font-size: 1.29rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

h5, .h5 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

h6, .h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Navbar Styles - Conservative Brand Size */
.navbar-brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.68rem;
}

.section-description {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  position: relative;
    padding-top: 250px;
}

.hero-decorative-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-shape-1 {
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Price Plan Cards */
.price-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
}

.price-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--primary-light);
}

/* Testimonial Cards - Static Bootstrap Cards Only */
.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--border-color);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.65rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ Cards - Static Only, No JS */
.faq-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.66rem;
}

.faq-answer {
  color: var(--text-secondary);
  margin: 0;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.form-control {
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 120, 251, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 0.75rem 2rem;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 0.75rem 2rem;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Gallery Section */
.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Breadcrumb */
.breadcrumb-item img {
  width: 16px;
  height: 16px;
}

/* Animations - Prefers Reduced Motion */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility Classes */
.text-primary-color {
  color: var(--primary-color);
}

.bg-light-custom {
  background-color: var(--bg-light);
}

.bg-medium-custom {
  background-color: var(--bg-medium);
}

.border-radius-custom {
  border-radius: var(--border-radius);
}

/* Loading States */
.loading-placeholder {
  background: linear-gradient(90deg, var(--bg-medium) 25%, var(--bg-light) 50%, var(--bg-medium) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom 5-column grid for team/process/timeline sections */
.col-lg-5cols {
  flex: 0 0 auto;
  width: 20%;
}

/* Mobile-first responsive overrides */
@media (max-width: 1199.98px) {
  .col-lg-5cols {
    width: 33.333333%;
  }
}

@media (max-width: 991.98px) {
  .col-lg-5cols {
    width: 50%;
  }
}

@media (max-width: 767.98px) {
  .col-lg-5cols {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .col-lg-5cols {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Focus Styles */
.btn:focus, .form-control:focus, .nav-link:focus {
  outline: 2px solid var(--primary-color);
  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;
    }
}
