/* Mobile First Responsive Styles */

/* Extra Large devices (1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 0;
  }
  
  .hero-blob-1 {
    width: 400px;
    height: 400px;
  }
  
  .hero-blob-2 {
    width: 300px;
    height: 300px;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .section-padding {
    padding: 6rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  h1 {
    font-size: 2.29rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Extra Small devices (below 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.87rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.51rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.32rem;
  }
  
  h4 {
    font-size: 1.22rem;
  }
  
  .navbar-brand {
    font-size: 1.23rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  /* Section Spacing */
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-padding-sm {
    padding: 2rem 0;
  }
  
  /* Cards */
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Service Images */
  .service-image {
    height: 180px;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 200px;
  }
  
  /* Blog Images */
  .blog-image {
    height: 180px;
  }
  
  /* Price Amount */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Service Price */
  .service-price {
    font-size: 1.37rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Form Controls */
  .form-control {
    padding: 0.625rem 0.875rem;
  }
  
  /* Buttons */
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.97rem;
  }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Navigation adjustments */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  /* Hero content stacking */
  .hero-section .row {
    align-items: center;
  }
  
  /* Grid adjustments */
  .col-md-6 {
    margin-bottom: 2rem;
  }
  
  .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Remove last child margin */
  .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
  
  /* Services grid */
  .services-section .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Features grid */
  .features-section .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Price plan grid */
  .priceplan-section .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Team grid */
  .team-section .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  /* Reviews grid */
  .reviews-section .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Blog grid */
  .blog-section .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* FAQ grid */
  .faq-section .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Ultra small screens (below 480px) */
@media (max-width: 479.98px) {
  h1 {
    font-size: 1.51rem;
  }
  
  h2 {
    font-size: 1.49rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .service-image,
  .gallery-image,
  .blog-image {
    height: 150px;
  }
  
  .price-amount {
    font-size: 1.79rem;
  }
  
  .service-price {
    font-size: 1.24rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .card {
    border: 1px solid #000;
    page-break-inside: avoid;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}