/* Data-Visualization Design Studio Template - Main CSS */

/* CSS Variables - Pastel High-Contrast Color Palette */
:root {
  --primary-color: #546be5;
  --primary-light: #bbcbfb;
  --primary-dark: #432fbe;
  --secondary-color: #ff8919;
  --secondary-light: #ffda1e;
  --secondary-dark: #e2650e;
  --accent-color: #03b571;
  --accent-light: #72d6bf;
  --accent-dark: #14a16b;
  --neutral-color: #596a78;
  --neutral-light: #eaedf1;
  --neutral-dark: #32404e;
  --success-color: #33de88;
  --success-light: #7df3af;
  --success-dark: #1ab960;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e5eef4;
  --gray-300: #dbdcdf;
  --gray-800: #202d49;
  --gray-900: #162841;
  
  /* Conservative Typography */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-max-width: 1200px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  font-size: var(--font-size-base);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

/* Header Styles */
.navbar {
  background: var(--white);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-800);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-content {
  z-index: 2;
    padding-top: 100px;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.71rem;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: var(--white);
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: var(--font-size-3xl);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-subtitle {
  font-size: var(--font-size-xl);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-desc {
  font-size: var(--font-size-base);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-700);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 17px;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.card-text {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--success-color);
  margin-top: 1rem;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem auto;
  border: 4px solid var(--primary-light);
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.66rem;
}

.team-role {
  font-size: var(--font-size-base);
  color: var(--primary-color);
}

/* Price Plan Cards */
.price-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: scale(1.05);
}

.price-amount {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--success-color);
  margin: 1rem 0;
}

.price-card.featured .price-amount {
  color: var(--white);
}

/* FAQ Section */
.faq-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
}

.faq-question {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.faq-answer {
  font-size: var(--font-size-base);
  color: var(--gray-700);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(130, 118, 255, 0.25);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-base);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem 0;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--gray-300);
  margin-bottom: 0.75rem;
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 7px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--primary-light);
}

.timeline-item:last-child::after {
  display: none;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

/* Utilities */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-success {
  color: var(--success-color);
}

.bg-light {
  background-color: var(--gray-50);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  width: 200px;
  height: 200px;
  background: var(--primary-color);
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  bottom: 10%;
  left: 10%;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  font-size: var(--font-size-sm);
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

/* Animation Base Classes for Sal.js */
.sal-animate {
  transition: all 0.6s ease;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blog Grid */
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.blog-excerpt {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
} 


/* 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;
    }
}
