/* ================================================
   RESPONSIVE STYLES FOR ETHICAL WORKPLACE TRAINING
   ================================================ */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Medium screens (992px and up) */
@media (min-width: 992px) {
  .hero-content {
    padding-right: 2rem;
    padding-top: 225px;
}
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1.05);
  }
}

/* Small screens (768px and up) */
@media (min-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .contact-form,
  .contact-info {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Mobile devices (767px and below) */
@media (max-width: 767.98px) {
  /* Disable animations on mobile for performance */
  @media (prefers-reduced-motion: no-preference) {
    .feature-item:hover,
    .service-card:hover,
    .features-item:hover,
    .pricing-card:hover,
    .team-member:hover,
    .case-study-card:hover,
    .career-item:hover,
    .coreinfo-item:hover,
    .blog-card:hover,
    .gallery-item:hover {
      transform: none;
    }
  }
  
  /* Typography adjustments */
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  /* Spacing adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 225px;
}
  
  /* Card adjustments */
  .feature-item,
  .service-card,
  .features-item,
  .pricing-card,
  .team-member,
  .review-card,
  .case-study-card,
  .career-item,
  .coreinfo-item,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .service-card,
  .pricing-card {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Remove featured card scaling on mobile */
  .pricing-card.featured {
    transform: none;
  }
  
  /* Adjust team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid adjustments */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  /* Process steps stacking */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* FAQ adjustments */
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .faq-question {
    font-size: 1.125rem;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.75rem 0.875rem;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Navbar brand size */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero decorative element adjustment */
  #hero::before {
    display: none;
  }
}

/* Extra small devices (575px and below) */
@media (max-width: 575.98px) {
  /* Further typography reductions */
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
  
  /* Tighter spacing */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Card padding reductions */
  .feature-item,
  .service-card,
  .features-item,
  .pricing-card,
  .team-member,
  .review-card,
  .case-study-card,
  .career-item,
  .coreinfo-item {
    padding: 1.25rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem 1rem;
  }
  
  /* Icon size adjustments */
  .feature-icon,
  .features-icon,
  .coreinfo-icon {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Team photo further reduction */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Service image height reduction */
  .service-image {
    height: 150px;
  }
  
  /* Gallery image height reduction */
  .gallery-image {
    height: 180px;
  }
  
  /* Button width on extra small screens */
  .btn-primary,
  .btn-outline-primary {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Form adjustments */
  .form-control {
    font-size: 0.95rem;
  }
  
  /* Review text size */
  .review-text {
    font-size: 1rem;
  }
  
  /* FAQ question size */
  .faq-question {
    font-size: 1rem;
  }
  
  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for high DPI screens */
  .feature-icon,
  .features-icon,
  .coreinfo-icon,
  .process-number {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  /* Hide non-essential elements */
  #header,
  #footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  /* Optimize colors for print */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  /* Ensure good contrast */
  .section-title,
  .hero-title,
  .service-name,
  .pricing-name,
  .team-name,
  .blog-title,
  .faq-question {
    color: #000 !important;
  }
  
  /* Page breaks */
  .section-padding {
    page-break-inside: avoid;
  }
  
  /* Remove animations */
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Dark mode support (respects system preference) */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Remove all transforms and transitions */
  .feature-item:hover,
  .service-card:hover,
  .features-item:hover,
  .pricing-card:hover,
  .team-member:hover,
  .case-study-card:hover,
  .career-item:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
    transition: none;
  }
  
  /* Keep only essential color changes */
  .navbar-nav .nav-link:hover,
  .blog-link:hover,
  .footer-link:hover {
    transition: color 0.1s ease;
  }
  
  /* Remove decorative elements that might cause motion */
  #hero::before {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --primary-light: #333333;
    --primary-dark: #000000;
    
    --secondary-color: #ffffff;
    --secondary-light: #ffffff;
    --secondary-dark: #f0f0f0;
    
    --accent-color: #0066cc;
    --accent-light: #3399ff;
    --accent-dark: #003366;
    
    --text-color: #000000;
    --text-light: #333333;
    --text-dark: #000000;
    
    --background-color: #ffffff;
    --background-light: #ffffff;
    --background-dark: #f0f0f0;
    
    --border-color: #000000;
    --shadow-color: rgba(0, 0, 0, 0.5);
  }
  
  /* Ensure strong borders */
  .feature-item,
  .service-card,
  .pricing-card,
  .team-member,
  .review-card,
  .case-study-card,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-card {
    border: 2px solid var(--border-color);
  }
  
  /* Ensure button contrast */
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-color);
  }
  
  .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
  }
} 

body {
    overflow-x: hidden;
}