/* Lightning-talk Virtual Conference Series - Responsive Styles */

/* Mobile First Responsive Design - Bootstrap 5 Compatible */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.78rem;
  }
  
  .hero-section p {
    font-size: 0.98rem;
  }
  
  .service-item {
    padding: 1.5rem 1rem;
  }
  
  .service-item .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.56rem;
  }
  
  .team-member-photo {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .price-plan-item {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.28rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .blog-item-content {
    padding: 1rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-section h1 {
    font-size: 1.91rem;
  }
  
  .service-item {
    padding: 1.75rem 1.25rem;
  }
  
  .service-item .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.89rem;
  }
  
  .team-member-photo {
    width: 135px;
    height: 135px;
  }
  
  .contact-form {
    padding: 2.5rem 2rem;
  }
  
  .price-plan-item {
    padding: 2.25rem 2rem;
  }
  
  .price-amount {
    font-size: 2.36rem;
  }
  
  .process-number {
    width: 55px;
    height: 55px;
    font-size: 1.41rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-item .service-icon {
    width: 75px;
    height: 75px;
    font-size: 2.02rem;
  }
  
  .team-member-photo {
    width: 140px;
    height: 140px;
  }
  
  .price-plan-featured {
    transform: scale(1.02);
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  section {
    padding: 3.5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-item .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.63rem;
  }
  
  .hero-section p {
    font-size: 0.93rem;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .btn,
  .navbar,
  .footer {
    display: none;
  }
  
  .custom-card {
    box-shadow: none;
    border: 1px solid #decfd0;
  }
  
  .hero-section {
    min-height: auto;
    background: none;
    color: #000;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 13pt; }
  h5 { font-size: 12pt; }
  h6 { font-size: 11pt; }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-item .service-icon,
  .process-number,
  .team-member-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support (respects user preference) */

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .custom-card:hover,
  .price-plan-item:hover,
  .gallery-item:hover img,
  .btn-custom-primary:hover,
  .btn-custom-secondary:hover {
    transform: none;
  }
  
  .timeline-item::before,
  .timeline-item::after {
    animation: none;
  }
}

/* Focus Management for Keyboard Navigation */
@media (hover: none) and (pointer: coarse) {
  .custom-card:hover,
  .price-plan-item:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  
  .btn-custom-primary:hover,
  .btn-custom-secondary:hover {
    transform: none;
  }
}

/* Ultra-wide Screen Adjustments */
@media (min-width: 1400px) {
  .hero-section::before {
    width: 35%;
  }
  
  .hero-section::after {
    width: 25%;
  }
}

/* Compact Height Devices */
@media (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .team-member-photo {
    width: 100px;
    height: 100px;
  }
  
  .service-item .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.39rem;
  }
} 

.hero-content {
    padding-top: 125px;
}

/* Ensure header font size remains 10px on all screen sizes */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    font-size: 10px !important;
  }
  .navbar-brand {
    font-size: 10px !important;
  }
}