/* Responsive Design - Mobile First Approach */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.01rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .hero-title {
    font-size: 2.63rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) and (min-width: 768px) {
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.32rem !important;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper-container {
    --swiper-navigation-size: 20px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.87rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.16rem !important;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
  
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1.68rem;
  }
  
  .feature-item i {
    font-size: 2.63rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.68rem;
  }
  
  .service-price {
    font-size: 1.60rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-member {
    margin-bottom: 1.68rem;
  }
  
  .review-item {
    padding: 1.5rem;
    margin-bottom: 1.68rem;
  }
  
  .blog-item img {
    height: 150px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .process-item,
  .timeline-item,
  .casestudy-item {
    padding: 1.5rem;
    margin-bottom: 1.68rem;
  }
  
  .priceplan-item {
    padding: 1.5rem;
    margin-bottom: 1.68rem;
  }
  
  .priceplan-price {
    font-size: 2.06rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --base-font: 14px;
    --h1-size: 1.6rem;
    --h2-size: 1.4rem;
    --h3-size: 1.2rem;
    --brand-size: 1rem;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.60rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2.11rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 0.91rem !important;
  }
  
  .feature-item {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .feature-item i {
    font-size: 2.06rem;
  }
  
  .service-card {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .service-price {
    font-size: 1.43rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .review-item {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .blog-item img {
    height: 120px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.6rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .process-item,
  .timeline-item,
  .casestudy-item {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .priceplan-item {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .priceplan-price {
    font-size: 1.60rem;
  }
  
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .career-item {
    padding: 1rem;
    margin-bottom: 1.08rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 0.8rem;
  }
}

/* Specific mobile fixes for text readability */
@media (max-width: 767.98px) {
  p {
    font-size: var(--small-font);
    line-height: 1.5;
  }
  
  .service-features li {
    font-size: var(--small-font);
    padding: 0.3rem 0;
  }
  
  .review-author {
    font-size: var(--small-font);
  }
  
  .blog-content h3 {
    font-size: 1.16rem;
  }
  
  .blog-content p {
    font-size: var(--small-font);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
} 