/* Responsive Design - Mobile and Tablet Optimizations */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding: 0 2rem;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative-shape {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 5%;
  }
  
  .hero-decorative-blob {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 3%;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .priceplan-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .about-feature {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative-shape,
  .hero-decorative-blob {
    display: none;
  }
  
  .services-card,
  .priceplan-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .about-feature i {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .process-item,
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .coreinfo-item {
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 15px;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .services-card,
  .priceplan-card,
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .priceplan-card {
    padding: 2rem 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .about-feature {
    padding: 1rem;
  }
  
  .about-feature i {
    font-size: 1.75rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.5rem;
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
  }
  
  .gallery-item img {
    height: 120px;
  }
  
  .blog-card img {
    height: 120px;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
  
  .process-item,
  .timeline-item {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-left-width: 3px;
  }
  
  .career-item {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .faq-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 1rem;
  }
  
  #space {
    min-height: 50vh;
    margin: 1rem 0;
  }
}

/* Navigation responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Form responsive adjustments */
@media (max-width: 767.98px) {
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-check {
    margin-bottom: 1rem;
  }
  
  .contact-info > div {
    margin-bottom: 1rem;
    text-align: center;
  }
}

/* Card responsive stacking */
@media (max-width: 575.98px) {
  .card-columns {
    column-count: 1;
  }
  
  .services-price {
    font-size: 1.5rem;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-subtitle,
  .section-desc {
    text-align: center;
  }
}

/* Form validation styles */
.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Image placeholder responsive */
@media (max-width: 767.98px) {
  .image-placeholder {
    min-height: 150px;
    padding: 1.5rem;
  }
  
  .image-placeholder i {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .image-placeholder {
    min-height: 120px;
    padding: 1rem;
  }
  
  .image-placeholder i {
    font-size: 1.5rem;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}