:root {
  --primary-color: #8c7aff;
  --primary-light: #9ba7ed;
  --primary-dark: #5647bf;
  --secondary-color: #0ba078;
  --secondary-light: #8efbca;
  --secondary-dark: #007b44;
  --accent-color: #ff971b;
  --accent-light: #efc63c;
  --accent-dark: #e46007;
  --neutral-color: #8d9098;
  --neutral-light: #e6e6e6;
  --neutral-dark: #2a3748;
  --success-color: #038464;
  --success-light: #9bffcd;
  --success-dark: #117568;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conservative typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
}

.navbar-brand {
  font-size: 1.38rem;
  font-weight: 600;
}

h1 {
  font-size: 2.38rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 1.92rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.60rem;
  font-weight: 600;
}

h4 {
  font-size: 1.35rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 100px;
}

/* Services cards */
.service-card {
  background: white;
  border-radius: 17px;
  box-shadow: 0 5px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 25px -3px rgba(0, 0, 0, 0.1);
}

.service-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Feature cards */
.feature-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 7px 9px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Team member cards */
.team-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Review cards */
.review-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* FAQ cards */
.faq-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 7px 4px rgba(0, 0, 0, 0.1);
}

/* Price plan cards */
.price-card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Process cards */
.process-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Timeline cards */
.timeline-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* Career cards */
.career-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Core info cards */
.coreinfo-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Case study cards */
.casestudy-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Blog cards */
.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-2px);
}

/* Contact form */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: var(--neutral-dark);
  color: var(--neutral-light);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--neutral-light);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-light);
}

/* Section spacing */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: #f8fafc;
}

/* Utilities */
.text-primary-custom {
  color: var(--primary-color);
}

.bg-primary-custom {
  background-color: var(--primary-color);
}

.text-secondary-custom {
  color: var(--secondary-color);
}

.bg-secondary-custom {
  background-color: var(--secondary-color);
}

.text-accent-color {
  color: var(--accent-color);
}

.bg-accent-color {
  background-color: var(--accent-color);
}

.text-success-color {
  color: var(--success-color);
}

.bg-success-color {
  background-color: var(--success-color);
}

.text-neutral-color {
  color: var(--neutral-color);
}

.bg-neutral-color {
  background-color: var(--neutral-color);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Breadcrumb */
.breadcrumb-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* JavaScript state classes */
.lozad {
  transition: opacity 0.3s ease;
}

.lozad.loaded {
  opacity: 1;
}

/* Nanobar styling */
#nanobar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
}

/* Fallback for no-webp support */
.no-webp .lozad[data-src$=".webp"] {
  display: none;
}

/* Fallback for no-flexbox support */
.no-flexbox .gallery-grid {
  display: block;
}

.no-flexbox .gallery-grid img {
  display: inline-block;
  width: 300px;
  margin: 0.5rem;
}

/* Accessibility improvements */
.btn:focus,
.form-control:focus,
.form-check-input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to main content for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* Loading states */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form validation styles */
.just-validate-error-label {
  color: #ca4248;
  font-size: 0.93rem;
  margin-top: 0.40rem;
}

.just-validate-success-field {
  border-color: #32af4b;
}

.just-validate-error-field {
  border-color: #f04d4b;
}

/* Smooth scrolling for older browsers */
html {
  scroll-behavior: smooth;
}

/* Print optimizations */
@media print {
  .btn,
  .navbar,
  .footer,
  #nanobar {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
} 


/* 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;
}

.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;
    }
}
