/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.81rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    padding: 2rem 0;
    min-height: auto;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .service-item {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .navbar-brand {
    font-size: 1.30rem !important;
  }
  
  .price-amount {
    font-size: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.62rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-item {
    margin-bottom: 1.57rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Container adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navigation responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    border-radius: 15px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Hero section responsive layout */
@media (max-width: 991.98px) {
  .hero-section .row {
    text-align: center;
  }
  
  .hero-section .col-md-6:last-child {
    margin-top: 2rem;
  }
}

/* Cards responsive grid */
@media (max-width: 768px) {
  .row [class*="col-"] {
    margin-bottom: 2rem;
  }
}

/* Form responsive adjustments */
@media (max-width: 576px) {
  .form-control {
    padding: 0.5rem 0.75rem;
  }
  
  .btn {
    padding: 0.5rem 1.5rem;
  }
}

/* Footer responsive adjustments */
@media (max-width: 768px) {
  .footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Timeline responsive */
@media (max-width: 768px) {
  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* Process responsive */
@media (max-width: 768px) {
  .process-item {
    margin-bottom: 2rem;
  }
}

/* Price plans responsive */
@media (max-width: 991.98px) {
  .price-item:nth-child(2) {
    transform: none;
    margin-top: 2rem;
  }
}

/* FAQ responsive */
@media (max-width: 576px) {
  .faq-question {
    padding: 1rem;
    font-size: 1.07rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
  }
}

/* Reviews responsive */
@media (max-width: 768px) {
  .review-item {
    padding: 1.5rem;
  }
}

/* Team responsive grid */
@media (max-width: 576px) {
  .team-member {
    margin-bottom: 3rem;
  }
}

/* Services responsive grid */
@media (max-width: 768px) {
  .service-item {
    margin-bottom: 2rem;
  }
}

/* Blog responsive */
@media (max-width: 576px) {
  .blog-item {
    margin-bottom: 2rem;
  }
  
  .blog-title {
    font-size: 1.20rem;
  }
}

/* Career responsive */
@media (max-width: 768px) {
  .career-item {
    padding: 1.5rem;
  }
}

/* Case studies responsive */
@media (max-width: 768px) {
  .casestudy-item {
    padding: 1.5rem;
  }
}

/* Features responsive */
@media (max-width: 576px) {
  .feature-item {
    margin-bottom: 2rem;
  }
}

/* Core info responsive */
@media (max-width: 576px) {
  .coreinfo-item {
    margin-bottom: 2rem;
  }
} 