:root {
  /* Primary Color Palette - Pastel High-Contrast Colors */
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --success-color: #4ecdc4;
  --warning-color: #ffecd2;
  
  /* Light/Dark Shades */
  --primary-light: #e3e8ff;
  --primary-dark: #3d5af1;
  --secondary-light: #f3f0ff;
  --secondary-dark: #553c9a;
  --accent-light: #fdeef7;
  --accent-dark: #e056c5;
  --success-light: #e6fffe;
  --success-dark: #26d0ce;
  --warning-light: #fffbf5;
  --warning-dark: #ffd89b;
  
  /* Typography */
  --body-font: 'system-ui', -apple-system, sans-serif;
  --heading-font: 'system-ui', -apple-system, sans-serif;
  
  /* Conservative Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1.5rem;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

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

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

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

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

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

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  border-radius: 30% 70% 70% 30%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 125px;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

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

.section-subtitle {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Card Styles */
.service-card,
.feature-card,
.team-card,
.review-card,
.case-study-card,
.process-card,
.timeline-card,
.career-card,
.core-info-card,
.price-card,
.blog-card,
.faq-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.service-card:hover,
.feature-card:hover,
.team-card:hover,
.review-card:hover,
.case-study-card:hover,
.process-card:hover,
.timeline-card:hover,
.career-card:hover,
.core-info-card:hover,
.price-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 2rem;
}

.card-img-top {
  border-radius: 12px 12px 0 0;
  height: 200px;
  object-fit: cover;
}

/* Price Styling */
.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-unit {
  font-size: 0.875rem;
  color: #666;
}

/* Team Cards */
.team-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

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

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

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

/* Form Styles */
.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Footer Styles - High Contrast Colors Only */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: #cccccc;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer {
  color: #666;
  margin-bottom: 0;
}

/* Blog Grid */
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Contact Info Styling */
.contact-info {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item i {
  color: var(--primary-color);
  margin-right: 1rem;
  width: 20px;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color);
}

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

.bg-light-secondary {
  background-color: var(--secondary-light);
}

.bg-light-accent {
  background-color: var(--accent-light);
}

/* Animation Base Classes (for selected library) */
.animate-on-scroll {
  transition: all 0.6s ease;
}

/* Features List Styling */
.features-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.features-list li {
  padding: 0.25rem 0;
  color: #666;
}

.features-list li:before {
  content: "✓";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Timeline Styling */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

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

.timeline-item:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.5rem;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--primary-light);
}

.timeline-item:last-child:after {
  display: none;
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

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


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

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

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
