/* ==========================================================================
   ResumeAI Pro - Main CSS
   AI-Powered Resume Optimization SaaS Template
   ========================================================================== */

/* Color Variables - Pastel High-Contrast Palette */
:root {
  /* Primary Colors */
  --primary-color: #5b65e2;
  --secondary-color: #00b4ec;
  --accent-color: #fea90d;
  --success-color: #00b066;
  --warning-color: #fb7100;

  /* Light Shades */
  --primary-light: #cad8ff;
  --secondary-light: #ccfffc;
  --accent-light: #ffe5b6;
  --success-light: #e1fff4;
  --warning-light: #e6b695;

  /* Dark Shades */
  --primary-dark: #2b287a;
  --secondary-dark: #096395;
  --accent-dark: #832c13;
  --success-dark: #018e79;
  --warning-dark: #ba391d;

  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #f1f7ff;
  --gray-300: #bdc9dc;
  --gray-400: #abb1c4;
  --gray-500: #80838c;
  --gray-600: #455168;
  --gray-700: #313841;
  --gray-800: #151a25;
  --gray-900: #0f131d;

  /* Typography */
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -6px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Base Typography */
body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-800);
  scroll-behavior: auto; /* Disabled smooth scroll */
}

/* Disable ALL animations and transitions */
*,
*::before,
*::after {
  animation-duration: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0s !important;
  transition: none !important;
  transform: none !important;
}

/* 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;
  }
}

/* Conservative Typography Sizes */
.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
}

h1, .h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h2, .h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

h3, .h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-800);
}

h4, .h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-800);
}

h5, .h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray-800);
}

h6, .h6 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray-700);
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--gray-600);
}

/* 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: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="1" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Feature Cards */
.feature-card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  background: white;
}

/* .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
} */

/* Service Cards */
.service-card {
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: white;
}

/* .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
} */

.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* .service-card:hover .card-img-top {
  transform: scale(1.05);
} */

/* Price Cards */
.price-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-xl);
  background: white;
}

/* .price-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
} */

.price-card.border-primary {
  border-color: var(--primary-color);
  position: relative;
}

/* Team Section */
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid var(--primary-light);
}

/* .team-member:hover img {
  border-color: var(--primary-color);
} */

/* Review Cards */
.review-card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  background: white;
}

/* .review-card:hover {
  box-shadow: var(--shadow-md);
} */

.stars .fas.fa-star {
  color: var(--accent-color);
}

/* Case Study Cards */
.case-study-card {
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius-md);
  background: white;
}

/* .case-study-card:hover {
  border-left-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
} */

/* Process Steps */
.process-step {
  position: relative;
}

.step-number .badge {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border: none;
}

/* Timeline */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: var(--spacing-xl);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: var(--spacing-xl);
}

.timeline-date {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* Career Cards */
.career-card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  background: white;
}

/* .career-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
} */

/* Info Cards */
.info-card {
  border-radius: var(--border-radius-lg);
  background: white;
  border: 1px solid var(--gray-200);
}

/* .info-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
} */

/* Contact Form */
.contact-form .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  font-size: var(--font-size-base);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(75, 61, 211, 0.10);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--spacing-sm);
}

/* Blog Cards */
.blog-card {
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
}

/* .blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
} */

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* FAQ Cards */
.faq-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-md);
  background: white;
}

/* .faq-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
} */

/* Gallery */
#gallery img {
  border-radius: var(--border-radius-md);
}

/* #gallery img:hover {
  transform: scale(1.05);
} */

/* Footer */
.footer {
  background: var(--gray-900);
  color: #ffffff; /* Improved contrast - pure white text */
}

.footer h5 {
  color: #ffffff; /* Pure white for headings */
  font-weight: 600;
}

.footer p {
  color: #f3f4f6; /* Very light gray for better readability */
}

.footer a {
  color: #e5e7eb; /* Light gray for links */
}

/* .footer a:hover {
  color: var(--primary-color);
} */

.footer .text-muted {
  color: #d1d5db !important; /* Override muted text for better visibility */
}

/* Breadcrumb */
.breadcrumb-nav {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Space Section */
.space-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  min-height: calc(100vh - 120px);
}

/* Additional Page Specific Styles */
.nlp-feature,
.industry-expertise,
.metric-item,
.security-step {
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

/* .nlp-feature:hover,
.industry-expertise:hover,
.metric-item:hover,
.security-step:hover {
  box-shadow: var(--shadow-md);
} */

.ml-model-card,
.market-card,
.innovation-card,
.solution-card,
.support-card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  background: white;
}

/* .ml-model-card:hover,
.market-card:hover,
.innovation-card:hover,
.solution-card:hover,
.support-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
} */

/* Security Timeline */
.security-timeline .row {
  align-items: center;
}

/* Metrics Dashboard */
.metrics-dashboard .row {
  align-items: stretch;
}

/* Button Styles */
.btn {
  border-radius: var(--border-radius-md);
  font-weight: 600;
  padding: var(--spacing-md) var(--spacing-xl);
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
} */

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* .btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
} */

/* Utility Classes */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

/* Animation Classes for Sal.js - DISABLED */
[data-sal] {
  /* transition-duration: 0.5s; */
  /* transition-timing-function: ease-out; */
}

/* Image Loading Fixes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure images are visible even if lazy loading fails */
img:not([src]):not([data-src]) {
  background-color: var(--gray-200);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

img:not([src]):not([data-src])::before {
  content: "Image loading...";
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

/* Lazy loading transition - DISABLED */
img.lozad {
  opacity: 1; /* Always visible */
}

img.lozad.loaded {
  opacity: 1;
}

/* Fallback for images without src */
img[data-src]:not([src]) {
  background-color: var(--gray-100);
  min-height: 150px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .breadcrumb-nav {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
} 

.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

/* .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
} */

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

/* .facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
} */

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

/* .linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
} */

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

/* .x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
} */

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
