/* =======================
   Bootstrap 5 + SaaS KPI Dashboard Theme
   ======================= */

/* Color Palette - Exactly 5 Primary Colors */
:root {
  /* Primary Colors */
  --primary-blue: #2c4bd7;
  --primary-purple: #8634e0;
  --primary-teal: #177b7d;
  --primary-orange: #f63400;
  --primary-pink: #e32380;
  
  /* Light Shades */
  --light-blue: #e5eaf0;
  --light-purple: #eeecfe;
  --light-teal: #c5ffee;
  --light-orange: #e8d8b1;
  --light-pink: #ffddeb;
  
  /* Dark Shades */
  --dark-blue: #244aa2;
  --dark-purple: #602ea0;
  --dark-teal: #104a4b;
  --dark-orange: #a7371e;
  --dark-pink: #b1074d;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #d0d2d7;
  --gray-300: #aabed3;
  --gray-400: #9daac7;
  --gray-500: #5d6781;
  --gray-600: #3e4c64;
  --gray-700: #465666;
  --gray-800: #233754;
  --gray-900: #101c31;
}

/* Animation fallback to ensure content visibility */
[data-sal] {
  transition: 0.3s ease-out;
  opacity: 1 !important;
  visibility: visible !important;
}

.lozad {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lozad[data-loaded="true"], 
.lozad.loaded {
  opacity: 1;
}

/* Conservative Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  font-size: 16px;
}

/* Conservative Heading Sizes */
h1 { font-size: 2rem; font-weight: 700; color: var(--gray-900); }
h2 { font-size: 1.75rem; font-weight: 600; color: var(--gray-800); }
h3 { font-size: 1.5rem; font-weight: 600; color: var(--gray-800); }
h4 { font-size: 1.25rem; font-weight: 500; color: var(--gray-700); }
h5 { font-size: 1.125rem; font-weight: 500; color: var(--gray-700); }
h6 { font-size: 1rem; font-weight: 500; color: var(--gray-700); }

/* Conservative Navbar Brand */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: var(--light-teal);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Services Cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* Price Plan Cards */
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  height: 100%;
}

.price-card.featured {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-blue);
}

/* Review Cards */
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  position: relative;
}

.review-stars {
  color: var(--primary-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Case Study Cards */
.case-study-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-3px);
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--primary-teal);
  border-radius: 50%;
}

/* Career Cards */
.career-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.career-card:hover {
  border-color: var(--primary-blue);
}

/* Core Info Grid */
.core-info-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.core-info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-pink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(43, 131, 254, 0.10);
}

.btn-primary {
  background: var(--primary-blue);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background: var(--dark-blue);
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Cards */
.faq-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Gallery */
.gallery img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer - No Gradients, High Contrast Colors */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

/* Улучшенная читаемость текста в футере */
.footer .text-muted {
  color: var(--gray-200) !important; /* Светлее для лучшей читаемости */
  font-weight: 400;
}

.footer #site_disclaimer p {
  color: var(--gray-200) !important;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer small {
  color: var(--gray-300) !important;
  font-weight: 400;
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* Utilities */
.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--primary-purple); }
.bg-light-primary { background: var(--light-blue); }
.bg-light-secondary { background: var(--light-purple); }

/* Breadcrumbs */
.breadcrumb-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
} 

.hero-section h1 {
    padding-top: 275px;
}


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
