/* Personal Knowledge-Base Setup Consulting Template - Responsive CSS */

/* Mobile First Approach - Base styles for mobile */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .price-card {
    padding: 2.5rem 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
    min-height: 80vh;
  }
  
  .hero-section::before {
    opacity: 0.2;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .about-feature {
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 15px;
    height: 15px;
  }
  
  .timeline-item::after {
    left: 7px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .about-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-item i {
    font-size: 2rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  .team-member {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .case-study {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-step::before {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }
  
  .process-content {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .timeline-content {
    padding: 1.25rem;
  }
  
  .career-position {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .core-info-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .core-info-item i {
    font-size: 1.75rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1.25rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
  }
  
  .gallery img {
    height: 200px;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  h4 {
    font-size: 1rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
  
  .about-feature {
    padding: 1.25rem 0.75rem;
  }
  
  .about-feature i {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-card img {
    width: 50px;
    height: 50px;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .feature-item {
    padding: 1.25rem;
  }
  
  .feature-item i {
    font-size: 1.75rem;
  }
  
  .price-card {
    padding: 1.5rem 1rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .team-member {
    padding: 1.25rem;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .review-card {
    padding: 1.5rem 1rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  .case-study {
    padding: 1.5rem 1rem;
  }
  
  .process-step::before {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-content {
    padding: 2rem 1rem 1rem;
  }
  
  .timeline-item {
    padding-left: 1.25rem;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
  }
  
  .timeline-item::after {
    left: 5px;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  .career-position {
    padding: 1.25rem;
  }
  
  .core-info-item {
    padding: 1.25rem;
  }
  
  .core-info-item i {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .contact-info {
    padding: 1.25rem;
  }
  
  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .contact-info-item i {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  
  .blog-content {
    padding: 1.25rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery img {
    height: 180px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Disable animations on mobile for better performance */
@media (max-width: 767.98px) {
  .about-feature:hover,
  .service-card:hover,
  .feature-item:hover,
  .team-member:hover,
  .blog-post:hover,
  .core-info-item:hover,
  .gallery img:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .navbar {
    border-bottom: 2px solid var(--primary-blue);
  }
  
  .service-card,
  .price-card,
  .team-member,
  .review-card,
  .case-study,
  .feature-item,
  .core-info-item,
  .blog-post,
  .faq-item {
    border: 2px solid var(--primary-blue);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .gallery {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  h1, h2, h3, h4 {
    break-after: avoid;
  }
  
  .service-card,
  .price-card,
  .team-member,
  .review-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
} 

.hero-content {
    padding-top: 150px;
}