/* Responsive Design - Mobile First Approach */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .blog-image {
    height: 150px;
  }
  
  /* Mobile: No animations on scroll */
  .feature-card:hover {
    transform: none;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .price-card:hover {
    transform: none;
  }
  
  .blog-card:hover {
    transform: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .service-image {
    height: 120px;
  }
  
  .gallery-image {
    height: 150px;
  }
  
  .blog-image {
    height: 120px;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .case-card {
    padding: 1.5rem;
  }
  
  .job-card {
    padding: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
}

/* Container adjustments for mobile */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navbar mobile adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-cream);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Form responsive */
@media (max-width: 575.98px) {
  .btn-submit {
    width: 100%;
    padding: 1rem;
  }
}

/* Timeline responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Gallery responsive */
@media (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

/* Table responsive */
@media (max-width: 767.98px) {
  .table-responsive {
    font-size: 0.875rem;
  }
}

/* Breadcrumb responsive */
@media (max-width: 767.98px) {
  .breadcrumb-section {
    padding: 1rem 0;
  }
  
  .breadcrumb-image {
    height: 100px;
  }
}

/* Text alignment mobile */
@media (max-width: 767.98px) {
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
}

/* Hide decorative elements on mobile */
@media (max-width: 767.98px) {
  .hero-section::before,
  .hero-section::after {
    display: none !important;
  }
}

/* Ensure proper spacing on mobile */
@media (max-width: 575.98px) {
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
} 

.hero-content {
    padding-top: 100px;
}