/* Responsive Design - Mobile First Approach */

/* Extra Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative::before,
  .hero-decorative::after {
    width: 200px;
    height: 200px;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .case-study-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (phones, 576px and up) */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero-decorative::before {
    top: -30%;
    right: -30%;
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative::after {
    bottom: -20%;
    left: -20%;
    width: 120px;
    height: 120px;
  }
  
  .contact-form,
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .feature-item,
  .case-study-card,
  .process-step,
  .career-card,
  .core-info-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .price-value {
    font-size: 1.75rem;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  .timeline-item {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .faq-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  /* Disable scroll animations on mobile */
  * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 1.5rem 0;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .hero-section {
    min-height: 50vh;
    padding: 1.5rem 0;
  }
  
  .contact-form,
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .feature-item,
  .case-study-card,
  .process-step,
  .career-card,
  .core-info-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .price-value {
    font-size: 1.5rem;
  }
  
  .service-price {
    font-size: 1.2rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 2rem 0 1rem 0;
  }
  
  .timeline-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .faq-card {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  /* Disable scroll animations on mobile */
  * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Team section responsive fixes */
@media (max-width: 991.98px) {
  .team-card .card-body {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .row.justify-content-center .col-lg-2 {
    max-width: 300px;
    flex: 0 0 auto;
  }
}

/* Gallery responsive improvements */
@media (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

/* Blog section responsive fixes */
@media (max-width: 991.98px) {
  .blog-card {
    max-width: 400px;
    margin: 0 auto 2rem auto;
  }
}

/* Process steps responsive layout */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 1.5rem;
  }
  
  .step-number {
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem;
  }
}

/* Contact form responsive improvements */
@media (max-width: 575.98px) {
  .contact-form .row {
    margin: 0;
  }
  
  .contact-form .col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Navbar responsive fixes */
@media (max-width: 991.98px) {
  .navbar-nav {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hero section responsive improvements */
@media (max-width: 767.98px) {
  .hero-section .col-lg-6:first-child {
    order: 2;
    text-align: center;
    margin-top: 2rem;
  }
  
  .hero-section .col-lg-6:last-child {
    order: 1;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-decorative::before,
  .hero-decorative::after {
    transform: scale(0.8);
  }
}

/* Print styles */
@media print {
  .hero-decorative::before,
  .hero-decorative::after {
    display: none;
  }
  
  .navbar,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .case-study-card,
  .career-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
} 

.hero-section h1 {
    padding-top: 125px;
}