:root {
  /* Academic peer-review platform color palette - pastel high-contrast */
  --primary-blue: #57a0e9;
  --primary-teal: #58d1dc;
  --primary-purple: #8f64af;
  --primary-green: #95d523;
  --primary-orange: #ff9616;
  
  /* Light shades */
  --light-blue: #f9fcff;
  --light-teal: #d7eceb;
  --light-purple: #e4e4e4;
  --light-green: #d4e8c2;
  --light-orange: #f2e4c2;
  
  /* Dark shades */
  --dark-blue: #256db9;
  --dark-teal: #1f8b88;
  --dark-purple: #4f3473;
  --dark-green: #3e9612;
  --dark-orange: #b9861b;
  
  /* Neutral colors */
  --text-primary: #354858;
  --text-secondary: #8c9091;
  --background-light: #FAFBFC;
  --border-light: #cddbe3;
}

/* Global font settings - conservative sizes */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--background-light);
}

/* Typography - minimal and conservative */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.875rem;
}

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

h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

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

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

.section-padding-small {
  padding: 3rem 0;
}

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

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

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 30%;
  height: 150%;
  background: var(--primary-teal);
  border-radius: 50%;
  opacity: 0.08;
  z-index: 1;
}

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

/* Button styles */
.btn-primary-custom {
  background-color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

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

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

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

/* Card styles */
.card-custom {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
  background: white;
}

.card-custom:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* Service items */
.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 0.5rem 1rem rgba(84, 143, 220, 0.15);
  transform: translateY(-5px);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.service-icon.blue { background-color: var(--light-blue); color: var(--primary-blue); }
.service-icon.teal { background-color: var(--light-teal); color: var(--primary-teal); }
.service-icon.purple { background-color: var(--light-purple); color: var(--primary-purple); }
.service-icon.green { background-color: var(--light-green); color: var(--primary-green); }
.service-icon.orange { background-color: var(--light-orange); color: var(--primary-orange); }

/* Team member cards */
.team-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

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

/* FAQ cards */
.faq-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 0.25rem 0.5rem rgba(47, 97, 206, 0.10);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

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

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

.form-control-custom:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(92, 159, 217, 0.25);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 2rem;
}

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

.footer a {
  color: #d7d7d7;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Price cards */
.price-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

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

.price-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 0.5rem 1rem rgba(77, 167, 220, 0.15);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

/* Process steps */
.process-step {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

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

/* Timeline items */
.timeline-item {
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary-blue);
  margin-bottom: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Responsive adjustments for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .card-custom:hover,
  .service-card:hover,
  .team-card:hover,
  .btn-primary-custom:hover,
  .btn-outline-custom:hover {
    transform: none;
  }
}

/* Utility classes */
.text-primary-custom { color: var(--primary-blue); }
.text-teal { color: var(--primary-teal); }
.text-purple { color: var(--primary-purple); }
.text-green { color: var(--primary-green); }
.text-orange { color: var(--primary-orange); }

.bg-light-custom { background-color: var(--background-light); }
.bg-light-blue { background-color: var(--light-blue); }
.bg-light-teal { background-color: var(--light-teal); }
.bg-light-purple { background-color: var(--light-purple); }
.bg-light-green { background-color: var(--light-green); }
.bg-light-orange { background-color: var(--light-orange); } 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
