/* Responsive Design - Mobile First */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.64rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Large Devices (Desktops) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .timeline-item {
    width: 45%;
  }
  
  .timeline-item:nth-child(even) {
    left: 55%;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.24rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .gallery-layout {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0;
    text-align: left;
    margin-left: 50px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: -25px;
  }
  
  .timeline-item:nth-child(odd)::after {
    left: -25px;
  }
  
  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767px) {
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.22rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.52rem;
  }
  
  h3 {
    font-size: 1.44rem;
  }
  
  .navbar-brand {
    font-size: 1.39rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .casestudy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .career-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  #blog_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  .price-card {
    padding: 1.5rem;
  }
  
  .price-value {
    font-size: 2.60rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .row {
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 1.84rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 1.68rem;
  }
  
  h1 {
    font-size: 1.91rem;
  }
  
  h2 {
    font-size: 1.53rem;
  }
  
  h3 {
    font-size: 1.22rem;
  }
  
  .navbar-brand {
    font-size: 1.22rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.3rem 0.8rem;
    font-size: 0.91rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.8rem;
    font-size: 0.96rem;
  }
  
  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-icon {
    font-size: 2.63rem;
  }
  
  .service-price {
    font-size: 1.53rem;
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  .price-card {
    padding: 1rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1.03rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.04rem;
  }
  
  .footer {
    padding: 1.5rem 0 0.5rem;
  }
  
  .footer h5 {
    font-size: 1.18rem;
  }
  
  .footer p {
    font-size: 0.95rem;
  }
  
  .footer-bottom {
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
  .timeline-item {
    margin-left: 30px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item::after {
    left: -15px;
  }
  
  .timeline-item:nth-child(odd)::after {
    left: -15px;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .process-step::before {
    width: 30px;
    height: 30px;
    font-size: 0.81rem;
  }
  
  .ar-feature {
    padding: 1.5rem;
  }
  
  .coreinfo-icon {
    font-size: 2rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .heritage-icon {
    font-size: 1.65rem;
  }
  
  #space {
    min-height: 60vh;
    font-size: 1.24rem;
  }
}

/* Utility Classes for Responsive Design */
.d-mobile-none {
  display: block;
}

.d-mobile-block {
  display: none;
}

@media (max-width: 767px) {
  .d-mobile-none {
    display: none;
  }
  
  .d-mobile-block {
    display: block;
  }
}

/* Responsive Text Classes */
.text-mobile-center {
  text-align: left;
}

@media (max-width: 767px) {
  .text-mobile-center {
    text-align: center;
  }
}

/* Responsive Spacing */
.py-mobile-2 {
  padding: 3rem 0;
}

@media (max-width: 767px) {
  .py-mobile-2 {
    padding: 2rem 0;
  }
}

.mb-mobile-2 {
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .mb-mobile-2 {
    margin-bottom: 2rem;
  }
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
  .col-lg-6 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .col-md-6 {
    margin-bottom: 1.55rem;
  }
  
  .col-md-4 {
    margin-bottom: 1.75rem;
  }
}

/* Responsive Images */
.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Responsive Tables */
@media (max-width: 767px) {
  .table-responsive {
    font-size: 0.83rem;
  }
}

/* Responsive Navigation */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(27, 49, 59, 0.95);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
}

/* Responsive Hero Background */
@media (max-width: 767px) {
  .hero::before {
    background-size: cover;
    background-position: center;
  }
} 

.hero-content {
    padding-top: 225px;
}