/* Responsive Styles - Mobile First Approach */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section h1 {
    font-size: 3.60rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.56rem;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2.59rem;
  }
  
  .hero-section .subtitle {
    font-size: 1.11rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.18rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  /* Team cards responsive */
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  /* Service cards */
  .service-card img {
    height: 180px;
  }
  
  /* Process steps */
  .process-step {
    margin-left: 1rem;
  }
  
  .timeline-item {
    margin-left: 1rem;
  }
  
  .timeline-item::before {
    left: -15px;
  }
  
  .timeline-item::after {
    left: -8px;
  }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .subtitle {
    font-size: 1rem;
    margin-bottom: 1.72rem;
  }
  
  .hero-section .description {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.92rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Cards spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card {
    margin-bottom: 1.59rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem;
  }
  
  .contact-form .form-control {
    padding: 0.8rem;
  }
  
  .contact-form button {
    padding: 0.8rem 1.5rem;
  }
  
  /* Team images */
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  /* Service images */
  .service-card img {
    height: 160px;
  }
  
  /* Blog images */
  .blog-card img {
    height: 180px;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  /* Process and timeline adjustments */
  .process-step,
  .timeline-item {
    margin-left: 0;
    position: relative;
  }
  
  .process-step::before {
    top: -10px;
    left: 15px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .timeline-item::before,
  .timeline-item::after {
    display: none;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .copyright {
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1.39rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.4rem 0.8rem !important;
  }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 1.89rem;
  }
  
  .hero-section .subtitle {
    font-size: 0.97rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.67rem;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
  }
  
  /* Cards padding */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card {
    padding: 1.5rem;
  }
  
  .blog-card-body {
    padding: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .contact-info p {
    font-size: 1rem;
  }
  
  /* Team images */
  .team-card img {
    width: 80px;
    height: 80px;
  }
  
  /* Service features */
  .service-features li {
    padding: 0.4rem 0;
    font-size: 1.01rem;
  }
  
  /* Price display */
  .service-price,
  .price-card .price {
    font-size: 1.81rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  /* FAQ */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  /* Icons */
  .feature-card i,
  .coreinfo-card i {
    font-size: 2.58rem;
  }
  
  /* Process steps */
  .process-step::before {
    width: 25px;
    height: 25px;
    font-size: 0.98rem;
  }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1.29rem !important;
  }
  
  .navbar-toggler {
    padding: 0.2rem 0.5rem;
  }
  
  /* Footer */
  .footer h5 {
    font-size: 1.12rem;
  }
  
  .footer p {
    font-size: 0.92rem;
  }
  
  /* Space page */
  #space {
    font-size: 1.57rem;
    padding: 2rem;
  }
}

/* Print Styles */
@media print {
  .hero-section,
  .navbar,
  .footer,
  .contact-form,
  .btn-gradient,
  button {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .section-title {
    font-size: 18pt;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    font-size: 14pt;
  }
  
  .section-desc {
    font-size: 12pt;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card {
    border: 1px solid #bbb9b9;
    page-break-inside: avoid;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: none;
  }
  
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0138a6;
    --primary-green: #209344;
    --primary-purple: #815ad2;
    --primary-orange: #e96a00;
    --primary-pink: #d2316f;
    --gray: #34373e;
    --dark-gray: #2c3037;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--dark-gray);
  }
  
  .hero-section,
  .services-section,
  .priceplan-section,
  .reviews-section,
  .process-section,
  .career-section,
  .contact-section {
    background: var(--dark-gray) !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .coreinfo-card:hover,
  .case-card:hover,
  .btn-gradient:hover,
  .contact-form button:hover,
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .hero-image img,
  .service-card img,
  .blog-card img,
  .gallery-item img {
    transition: none !important;
  }
} 