/* Mobile First Responsive Design */
/* Base styles are mobile-first (320px+) */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.375rem;
  }
  
  .hero-desc {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2.75rem;
  }
  
  .section-subtitle {
    font-size: 1.375rem;
  }
  
  .section-desc {
    font-size: 1.25rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-desc {
    font-size: 1.375rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
  }
  
  .section-desc {
    font-size: 1.375rem;
  }
  
  .navbar-brand {
    font-size: 1.75rem !important;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .process-step::before {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
  }
  
  .process-step h4 {
    margin-top: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .gallery-item img {
    height: 280px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.625rem;
  }
  
  .hero-desc {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .section-subtitle {
    font-size: 1.625rem;
  }
  
  .section-desc {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 2rem !important;
  }
  
  .services-card {
    margin-bottom: 0;
  }
  
  .team-member img {
    width: 160px;
    height: 160px;
  }
  
  .process-step::before {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  
  .process-step h4 {
    margin-top: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
  
  .gallery-item img {
    height: 320px;
  }
  
  .hero-decorative {
    display: block;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
  
  .hero-desc {
    font-size: 1.625rem;
  }
  
  .section-title {
    font-size: 4rem;
  }
  
  .section-subtitle {
    font-size: 1.75rem;
  }
  
  .section-desc {
    font-size: 1.625rem;
  }
  
  .navbar-brand {
    font-size: 2.25rem !important;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  }
  
  .gallery-item img {
    height: 350px;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 4.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  }
}

/* Mobile-specific adjustments */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .services-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .process-step::before {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .process-step h4 {
    margin-top: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .priceplan-card,
  .casestudy-card,
  .career-card {
    margin-bottom: 1.5rem;
  }
  
  .timeline-item {
    margin-bottom: 1.5rem;
  }
  
  .review-card {
    margin: 0.5rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .faq-card {
    margin-bottom: 0.75rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .priceplan-card,
  .casestudy-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  .timeline-item {
    margin-bottom: 1.5rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Landscape phone adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-decorative,
  .btn,
  .contact-form,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section-title,
  .section-subtitle,
  .section-desc {
    color: #000;
  }
  
  .services-card,
  .team-member,
  .priceplan-card,
  .casestudy-card,
  .career-card,
  .timeline-item,
  .review-card,
  .blog-card,
  .faq-card {
    border: 1px solid #000;
    box-shadow: none;
  }
  
  .gallery-item {
    break-inside: avoid;
  }
}

/* High contrast mode responsive adjustments */
@media (prefers-contrast: high) {
  .services-card,
  .team-member,
  .priceplan-card,
  .casestudy-card,
  .career-card,
  .timeline-item,
  .review-card,
  .blog-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .hero-decorative {
    display: none;
  }
}

/* Reduced motion responsive adjustments */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative {
    display: none;
  }
  
  .services-card:hover,
  .team-member:hover,
  .priceplan-card:hover,
  .casestudy-card:hover,
  .career-card:hover,
  .timeline-item:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Focus management for mobile */
@media (hover: none) and (pointer: coarse) {
  .services-card:hover,
  .team-member:hover,
  .priceplan-card:hover,
  .casestudy-card:hover,
  .career-card:hover,
  .timeline-item:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .feature-item:hover,
  .review-card:hover,
  .coreinfo-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Dark mode adjustments (if user prefers dark) */

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1800px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .section-title {
    font-size: 5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  }
} 