/* Responsive Styles */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199.98px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Small screens (576px to 767px) */
@media (max-width: 767.98px) {
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 0;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  /* Typography adjustments */
  :root {
    --h1-size: 1.8rem;
    --h2-size: 1.5rem;
    --h3-size: 1.3rem;
    --h4-size: 1.1rem;
    --navbar-brand-size: 1.2rem;
  }
  
  /* Header */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: var(--navbar-brand-size) !important;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--h1-size);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: var(--font-size-base);
    margin-bottom: 1.5rem;
  }
  
  /* Decorative blobs - smaller on mobile */
  .blob-1 {
    width: 150px;
    height: 150px;
    top: 5%;
    right: 5%;
  }
  
  .blob-2 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 5%;
  }
  
  /* Sections */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: var(--h2-size);
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: var(--h4-size);
    margin-bottom: 0.8rem;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  /* Services */
  .service-price {
    font-size: var(--h4-size);
  }
  
  .service-features li {
    padding: 0.2rem 0;
  }
  
  /* Team */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem;
  }
  
  .form-control {
    padding: 0.7rem;
    font-size: var(--font-size-small);
  }
  
  .btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: var(--font-size-small);
    width: 100%;
  }
  
  /* Gallery */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card img {
    height: 180px;
  }
  
  .blog-card-body {
    overflow-x: hidden;
    padding: 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Process/Timeline items */
  .process-step,
  .timeline-item,
  .casestudy-item,
  .career-item,
  .coreinfo-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Extra small screens (less than 576px) */
@media (max-width: 575.98px) {
  /* Even more conservative sizing */
  :root {
    --h1-size: 1.6rem;
    --h2-size: 1.4rem;
    --h3-size: 1.2rem;
    --h4-size: 1rem;
    --navbar-brand-size: 1.1rem;
    --font-size-base: 14px;
    --font-size-small: 13px;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: var(--h1-size);
  }
  
  /* Cards padding */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Feature icon */
  .feature-icon {
    font-size: 2rem;
  }
  
  /* Team photo */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid adjustments */
  .gallery-item img {
    height: 180px;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 160px;
  }
  
  /* Accordion */
  .accordion-button {
    font-size: var(--font-size-small);
    padding: 0.8rem;
  }
  
  /* Footer */
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1rem;
  }
  
  /* Hide decorative blobs on very small screens */
  .decorative-blob {
    display: none;
  }
  
  /* Process items */
  .process-step,
  .timeline-item,
  .casestudy-item,
  .career-item,
  .coreinfo-item {
    padding: 1rem;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

/* Landscape phone adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh;
    padding: 1.5rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  .navbar-brand,
  .hero-title,
  .section-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper,
  .decorative-blob {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .feature-card,
  .service-card,
  .price-card {
    border: 1px solid #ccc;
    background: white !important;
    color: black !important;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  /* Keep the existing color scheme for brand consistency */
  /* This business benefits from the professional blue/gold theme */
} 