/* Virtual Co-authoring Platform - Main Styles */

:root {
  --primary-color: #6366f1;
  --primary-light: #a5b4fc;
  --primary-dark: #4338ca;
  --secondary-color: #f1f5f9;
  --secondary-light: #f8fafc;
  --secondary-dark: #e2e8f0;
  --accent-color: #10b981;
  --accent-light: #6ee7b7;
  --accent-dark: #059669;
  --warning-color: #f59e0b;
  --warning-light: #fbbf24;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
}

/* Custom Properties */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.bg-secondary-light {
  background-color: var(--secondary-light);
}

.text-primary-custom {
  color: var(--primary-color);
}

/* Hero Section Enhancements */
#hero {
  background: linear-gradient(135deg, var(--secondary-light) 0%, #ffffff 50%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.05;
  transform: rotate(15deg);
}

/* Card Enhancements */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Team Section */
.team-member img {
  border: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
}

/* Gallery Grid */
#gallery img {
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 8px;
}

#gallery img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* FAQ Cards */
.faq-card {
  border-left: 4px solid var(--primary-color);
}

/* Blog Grid */
#blog_grid .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Footer Enhancements - Maximum Contrast */
#footer {
  background: #1a1a1a !important;
  color: #ffffff !important;
  position: relative;
}

/* Ensure maximum contrast for all footer text elements */
#footer,
#footer *,
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6,
#footer p, #footer span, #footer div, #footer li {
  color: #ffffff !important;
  background: transparent !important;
}

#footer .text-light,
#footer .text-muted {
  color: #f0f0f0 !important;
}

/* Footer headings */
#footer h5,
#footer h6 {
  color: #ffffff !important;
  font-weight: bold !important;
}

/* Footer paragraphs */
#footer p {
  color: #f0f0f0 !important;
}

/* Footer small text */
#footer small {
  color: #e0e0e0 !important;
}

/* Footer links */
#footer a {
  color: #93c5fd !important;
  text-decoration: underline !important;
  transition: color 0.3s ease !important;
}

#footer a:hover {
  color: #dbeafe !important;
  text-decoration: underline !important;
}

/* Footer lists */
#footer ul li {
  margin-bottom: 0.75rem !important;
  color: #f0f0f0 !important;
}

/* Footer icons */
#footer i {
  color: #93c5fd !important;
}

/* Focus styles for accessibility */
#footer a:focus {
  outline: 2px solid #93c5fd !important;
  outline-offset: 2px !important;
  background: rgba(147, 197, 253, 0.1) !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  #footer {
    background: #000000 !important;
    border-top: 3px solid #ffffff !important;
  }
  
  #footer * {
    color: #ffffff !important;
  }
  
  #footer a {
    color: #00ffff !important;
  }
}

/* Forced visibility styles */
#footer .contact-info,
#footer .contact-info * {
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
  color: #ffffff !important;
}

/* Copyright and disclaimer text */
#footer .disclaimer-text {
  color: #e0e0e0 !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
}

/* Button Enhancements */
.btn {
  font-weight: 500;
  text-transform: none;
  border-radius: 6px;
  padding: 0.5rem 1.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Process Section */
.process-step {
  position: relative;
}

/* Timeline Cards */
.timeline-card {
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
}

/* Contact Form */
.form-control {
  border: 1px solid var(--secondary-dark);
  border-radius: 6px;
  padding: 0.75rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Pricing Tables */
.pricing-popular {
  position: relative;
  z-index: 1;
}

.pricing-popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  opacity: 0.1;
  border-radius: inherit;
  z-index: -1;
}

/* Icon Circles */
.icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-circle i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(40px);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.25rem;
  }
  
  .hero .lead {
    font-size: 1rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .card:hover {
    transform: none;
  }
  
  .team-member img:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
}

/* Performance Optimizations */
.img-fluid {
  height: auto;
  max-width: 100%;
}

/* Typography Enhancements */
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-primary);
}

.lead {
  color: var(--text-secondary);
  font-weight: 400;
}

.text-muted {
  color: var(--text-light) !important;
}

/* Shadow Utilities */
.shadow-custom {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-custom-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
} 

body {
    overflow-x: hidden;
}


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
