/* ==========================================
   ProofNet - Main CSS
   Professional Proofreading Network Template
   ========================================== */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors - Pastel High Contrast */
  --primary-color: #4F46E5;      /* Indigo - trust & professionalism */
  --secondary-color: #059669;    /* Emerald - success & quality */
  --accent-color: #DC2626;       /* Red - attention & urgency */
  --neutral-color: #6B7280;      /* Gray - balance & sophistication */
  --warning-color: #F59E0B;      /* Amber - caution & highlights */
  
  /* Light Shades */
  --primary-light: #E0E7FF;      /* Indigo light */
  --secondary-light: #D1FAE5;    /* Emerald light */
  --accent-light: #FEE2E2;       /* Red light */
  --neutral-light: #F9FAFB;      /* Gray light */
  --warning-light: #FEF3C7;      /* Amber light */
  
  /* Dark Shades */
  --primary-dark: #312E81;       /* Indigo dark */
  --secondary-dark: #065F46;     /* Emerald dark */
  --accent-dark: #991B1B;        /* Red dark */
  --neutral-dark: #374151;       /* Gray dark */
  --warning-dark: #B45309;       /* Amber dark */
  
  /* Bootstrap Integration */
  --bs-primary: var(--primary-color);
  --bs-success: var(--secondary-color);
  --bs-danger: var(--accent-color);
  --bs-warning: var(--warning-color);
  --bs-secondary: var(--neutral-color);
  
  /* Typography Variables */
  --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing & Layout */
  --section-padding: 5rem 0;
  --container-max-width: 1200px;
  --border-radius: 0.5rem;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Conservative Font Sizes */
h1, .display-1, .display-2, .display-3, .display-4 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p, .lead {
  margin-bottom: 1rem;
  color: var(--neutral-color);
}

.lead {
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Buttons */
.btn {
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

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

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
  color: var(--neutral-dark);
}

.card-text {
  color: var(--neutral-color);
  margin-bottom: 1rem;
}

/* Header & Navigation */
.navbar {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.navbar-nav .nav-link {
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 1rem;
  color: var(--neutral-dark);
  transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

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

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

/* Text Colors */
.text-primary {
  color: var(--primary-color);
}

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

.text-warning {
  color: var(--warning-color);
}

.text-muted {
  color: var(--neutral-color);
}

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

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
  outline: none;
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--neutral-dark);
  margin-bottom: 0.5rem;
}

/* Lists */
.list-unstyled li {
  margin-bottom: 0.5rem;
}

/* Icons */
.fa, .fas, .far, .fab {
  transition: all 0.3s ease;
}

.text-primary i,
.text-success i,
.text-warning i {
  margin-right: 0.5rem;
}

/* Pricing Cards */
.border-primary {
  border-color: var(--primary-color);
  border-width: 2px;
}

.border-success {
  border-color: var(--secondary-color);
  border-width: 2px;
}

.border-warning {
  border-color: var(--warning-color);
  border-width: 2px;
}

/* Team Section */
.rounded-circle {
  border: 4px solid var(--primary-light);
  transition: all 0.3s ease;
}

.rounded-circle:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Footer - High Contrast Colors Only */
#footer {
  background-color: var(--neutral-dark);
  color: white;
  border-top: 4px solid var(--primary-color);
}

#footer h5 {
  color: white;
  font-weight: var(--font-weight-semibold);
}

#footer p,
#footer li {
  color: rgba(255, 255, 255, 0.8);
}

#footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

#footer a:hover {
  color: white;
}

#footer .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

#footer .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

#footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* Gallery */
#gallery img {
  transition: all 0.3s ease;
  cursor: pointer;
}

#gallery img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

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

.breadcrumb-item {
  color: var(--neutral-color);
}

.breadcrumb-item.active {
  color: var(--neutral-dark);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
  
  .card:hover,
  .btn:hover,
  .rounded-circle:hover,
  #gallery img:hover {
    transform: none;
  }
}

/* Utility Classes */
.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-medium {
  box-shadow: var(--shadow-medium);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

/* Animation Support */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print Styles */
@media print {
  .navbar,
  #footer,
  .btn,
  [data-sal] {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    break-after: avoid;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


.hero-section h1 {
    padding-top: 125px;
}


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