/* Responsive Styles */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content {
    padding-right: 2rem;
    padding-top: 275px;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .service-image {
    width: 70px;
    height: 70px;
  }
  
  .service-img {
    border-radius: 10px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  #hero {
    min-height: 80vh;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
  }
  
  .service-img {
    border-radius: 8px;
  }
  
  .feature-icon {
    width: 45px;
    height: 45px;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-step,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .service-image {
    width: 50px;
    height: 50px;
  }
  
  .service-img {
    border-radius: 6px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  .price-amount {
    font-size: 1.75rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-primary {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .timeline-item {
    margin-left: 1rem;
  }
  
  .timeline-item::before {
    left: -15px;
    width: 15px;
    height: 15px;
  }
  
  .blog-image {
    height: 150px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  #footer {
    padding: 40px 0 20px;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

/* Accessibility for reduced motion on mobile */
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* No animations on mobile for better performance */
@media (max-width: 767.98px) {
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .process-step {
    transition: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .service-card:hover .service-img {
    transform: none;
  }
  
  .service-img {
    transition: none;
  }
}

/* Container adjustments for better mobile experience */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navigation adjustments for mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form improvements for mobile */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form-label {
    font-size: 0.9rem;
  }
}

/* Grid adjustments */
@media (max-width: 767.98px) {
  .col-md-6,
  .col-md-4,
  .col-lg-4,
  .col-lg-3 {
    margin-bottom: 2rem;
  }
}

/* Typography improvements for readability */
@media (max-width: 575.98px) {
  .text-center {
    text-align: center;
  }
  
  .review-text {
    font-size: 0.9rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
} 

body {
    overflow-x: hidden;
}