/* Data Visualization Studio Template - Main CSS */
/* Bootstrap 5 Integration - No Overrides */

:root {
  /* Primary Color Palette - Data Visualization Theme */
  --primary-blue: #2563eb;
  --primary-green: #059669;
  --primary-purple: #7c3aed;
  --primary-orange: #ea580c;
  --primary-gray: #374151;
  
  /* Light Shades */
  --light-blue: #dbeafe;
  --light-green: #d1fae5;
  --light-purple: #ede9fe;
  --light-orange: #fed7aa;
  --light-gray: #f3f4f6;
  
  /* Dark Shades */
  --dark-blue: #1e40af;
  --dark-green: #047857;
  --dark-purple: #5b21b6;
  --dark-orange: #c2410c;
  --dark-gray: #1f2937;
  
  /* Additional Variables */
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --black: #000000;
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 16px;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--primary-blue);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, var(--light-green) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}

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

.section-alt {
  background-color: var(--light-gray);
}

/* Cards */
.card {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

/* Services Cards */
.service-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

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

/* Team Cards */
.team-card {
  text-align: center;
  padding: 1.5rem;
}

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

/* Review Cards */
.review-card {
  padding: 2rem;
  background-color: var(--white);
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-blue);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* FAQ Cards */
.faq-card {
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-secondary);
}

/* Price Plan Cards */
.price-card {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

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

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

.price-currency {
  font-size: 1.5rem;
  vertical-align: top;
}

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

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

/* Timeline */
.timeline-item {
  padding: 2rem;
  border-left: 3px solid var(--primary-blue);
  margin-left: 1rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  position: absolute;
  left: -7px;
  top: 2.5rem;
}

/* Contact Form */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

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

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Utilities */
.text-primary-custom {
  color: var(--primary-blue);
}

.bg-primary-custom {
  background-color: var(--primary-blue);
}

.border-primary-custom {
  border-color: var(--primary-blue);
}

/* Animation Respect */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Core Info Grid */
.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.coreinfo-item {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: center;
}

/* Career Items */
.career-item {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.career-role {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Case Study Cards */
.casestudy-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* Blog Grid */
.blog-item {
  margin-bottom: 2rem;
}

.blog-card {
  height: 100%;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

.hero-content {
    padding-top: 150px;
}


/* 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);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.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;
    }
}
