/* Responsive Design - Mobile First Approach */

/* Extra Large Devices (1200px and up) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Large Devices (992px and up) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-nav {
    gap: 1.5rem;
  }
  
  .services-grid,
  .features-grid,
  .priceplan-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* Medium Devices (768px and up) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
    padding: 0 20px;
  }
  
  /* Header */
  header {
    padding: 0.75rem 0;
  }
  
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Hero Section */
  .hero {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  /* Sections */
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  /* Grids */
  .about-features,
  .services-grid,
  .features-grid,
  .team-grid,
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .priceplan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .priceplan-card:nth-child(2) {
    transform: none;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  /* Cards */
  .service-card,
  .priceplan-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  /* Service Selection */
  .service-select {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  /* Swiper */
  .swiper {
    padding: 1rem 0;
  }
  
  .review-item {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }
  
  /* Disable animations on mobile for better performance */
  .service-card:hover,
  .about-feature:hover,
  .team-member:hover,
  .coreinfo-item:hover,
  .feature-item:hover,
  .priceplan-card:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  /* Breadcrumb */
  .breadcrumb {
    margin-top: 120px;
    text-align: center;
  }
}

/* Small Devices (576px and up) */
@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Typography */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-nav {
    font-size: 0.9rem;
  }
  
  /* Hero */
  .hero {
    min-height: 70vh;
    padding: 1.5rem 0;
  }
  
  /* Sections */
  section {
    padding: 40px 0;
  }
  
  /* Cards */
  .service-card,
  .about-feature,
  .feature-item,
  .team-member,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .priceplan-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Prices */
  .service-price,
  .priceplan-price {
    font-size: 1.5rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog */
  .blog-item img {
    height: 150px;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer.active {
    padding: 1rem;
  }
  
  /* Review */
  .review-item {
    padding: 1.5rem 1rem;
  }
  
  .review-item::before {
    font-size: 3rem;
    top: 0.5rem;
    left: 1rem;
  }
  
  /* Team images */
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  /* Icons */
  .about-feature i,
  .coreinfo-item i {
    font-size: 2.5rem;
  }
  
  .feature-item i {
    font-size: 2rem;
  }
  
  /* Space page */
  #space {
    min-height: 50vh;
  }
  
  /* Breadcrumb */
  .breadcrumb {
    margin-top: 140px;
  }
}

/* Extra Small Devices (480px and down) */
@media (max-width: 479.98px) {
  .container {
    padding: 0 10px;
  }
  
  /* Header */
  .navbar {
    padding: 0 10px;
  }
  
  .navbar-nav {
    gap: 0.75rem;
    font-size: 0.85rem;
  }
  
  /* Hero */
  .hero {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 0.9rem;
  }
  
  /* Sections */
  section {
    padding: 30px 0;
  }
  
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  /* Cards */
  .service-card,
  .about-feature,
  .feature-item,
  .team-member,
  .coreinfo-item,
  .priceplan-card {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  /* Form */
  .form-control {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .btn-submit {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Prices */
  .service-price,
  .priceplan-price {
    font-size: 1.3rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .faq-answer.active {
    padding: 0.75rem;
  }
  
  /* Review */
  .review-item {
    padding: 1.25rem 0.75rem;
  }
  
  .review-text {
    font-size: 1rem;
  }
  
  /* Team */
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Icons */
  .about-feature i,
  .coreinfo-item i {
    font-size: 2rem;
  }
  
  .feature-item i {
    font-size: 1.75rem;
  }
  
  /* Blog */
  .blog-content {
    padding: 1.25rem;
  }
  
  .blog-item img {
    height: 120px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 150px;
  }
  
  /* Footer */
  .footer-content {
    gap: 1rem;
  }
  
  footer {
    padding: 2rem 0 1rem;
  }
  
  /* Space */
  #space {
    min-height: 40vh;
  }
  
  /* Breadcrumb */
  .breadcrumb {
    margin-top: 160px;
    padding: 0.75rem 0;
  }
  
  .breadcrumb img {
    height: 16px;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  
  #space {
    min-height: 80vh;
  }
  
  section {
    padding: 40px 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before,
  .service-card::before {
    transform: scale(0.5);
    transform-origin: top left;
  }
}

/* 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;
    scroll-behavior: auto !important;
  }
  
  .fade-in-up {
    animation: none;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .team-member:hover,
  .coreinfo-item:hover,
  .feature-item:hover,
  .priceplan-card:hover,
  .blog-item:hover,
  .gallery-item:hover,
  .btn-submit:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .breadcrumb {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .hero,
  section {
    page-break-inside: avoid;
    padding: 20pt 0;
  }
  
  .service-card,
  .about-feature,
  .team-member,
  .priceplan-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1pt solid #ccc;
  }
} 